; LLVM IR from kazunetakahashi/atcoder :: 2018/0211_rco-contest-2018-qual (B)

; 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::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl" }
%"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl" = type { %"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %struct.point }
%struct.point = type { i32, i32 }
%"struct.std::_Head_base.1" = type { %struct.point }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = 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::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::tuple.17" = type { %"struct.std::_Tuple_impl.18" }
%"struct.std::_Tuple_impl.18" = type { %"struct.std::_Tuple_impl.19", %"struct.std::_Head_base.21" }
%"struct.std::_Tuple_impl.19" = type { %"struct.std::_Head_base.20" }
%"struct.std::_Head_base.20" = type { i32 }
%"struct.std::_Head_base.21" = type { i32 }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }
%"class.std::vector.23" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.27" = type { i8 }
%"class.std::allocator.4" = type { i8 }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.30" = type { ptr }

@H = external dso_local global i32, align 4
@W = external dso_local global i32, align 4
@D = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@V = external dso_local global %"class.std::vector.2", align 8
@field = external dso_local global [200 x [200 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z4dist5pointS_(i64, i64) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5flushSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE(ptr noundef) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9make_swap5pointS_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 4, i64, i64) #1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %struct.point, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.std::tuple", align 4
  %9 = alloca %struct.point, align 4
  %10 = alloca %struct.point, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.std::tuple", align 4
  %14 = alloca %struct.point, align 4
  %15 = alloca %struct.point, align 4
  %16 = alloca %"class.std::vector.7", align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.point, align 4
  %20 = alloca %struct.point, align 4
  %21 = alloca %"class.std::vector.12", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::tuple.17", align 4
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %26 = alloca %"class.std::vector.23", align 8
  %27 = alloca i8, align 1
  %28 = alloca %"class.std::allocator.27", align 1
  %29 = alloca %"class.std::vector.2", align 8
  %30 = alloca %struct.point, align 4
  %31 = alloca %"class.std::allocator.4", align 1
  %32 = alloca %"class.std::vector.7", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %36 = alloca %"class.std::tuple.17", align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"struct.std::_Bit_reference", align 8
  %41 = alloca %"struct.std::_Bit_reference", align 8
  %42 = alloca %"struct.std::_Bit_reference", align 8
  %43 = alloca ptr, align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %"struct.std::_Bit_reference", align 8
  %49 = alloca %struct.point, align 4
  %50 = alloca %struct.point, align 4
  %51 = alloca %struct.point, align 4
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca %struct.point, align 4
  %66 = alloca i32, align 4
  %67 = alloca i32, align 4
  %68 = alloca i32, align 4
  %69 = alloca %struct.point, align 4
  %70 = alloca i32, align 4
  %71 = alloca %struct.point, align 4
  %72 = alloca %struct.point, align 4
  %73 = alloca %struct.point, align 4
  %74 = alloca %struct.point, align 4
  %75 = alloca %struct.point, align 4
  %76 = alloca %struct.point, align 4
  %77 = alloca %struct.point, align 4
  %78 = alloca %struct.point, align 4
  %79 = alloca i32, align 4
  %80 = alloca %"struct.std::_Bit_reference", align 8
  %81 = alloca %struct.point, align 4
  %82 = alloca %struct.point, align 4
  %83 = alloca %struct.point, align 4
  %84 = alloca %struct.point, align 4
  %85 = alloca %struct.point, align 4
  %86 = alloca %struct.point, align 4
  %87 = alloca %struct.point, align 4
  %88 = alloca %struct.point, align 4
  %89 = alloca %struct.point, align 4
  %90 = alloca %struct.point, align 4
  %91 = alloca %"class.std::tuple", align 4
  %92 = alloca %struct.point, align 4
  %93 = alloca %struct.point, align 4
  %94 = alloca %"struct.std::_Bit_reference", align 8
  %95 = alloca %"struct.std::_Bit_reference", align 8
  %96 = alloca %"class.std::vector", align 8
  store i32 0, ptr %1, align 4
  %97 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @H)
  %98 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %97, ptr noundef nonnull align 4 dereferenceable(4) @W)
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %98, ptr noundef nonnull align 4 dereferenceable(4) @D)
  %100 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef nonnull align 4 dereferenceable(4) @K)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #8
  store i32 -1, ptr %2, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @field, ptr noundef getelementptr inbounds (i32, ptr @field, i64 40000), ptr noundef nonnull align 4 dereferenceable(4) %2)
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %101

101:                                              ; preds = %120, %0
  %102 = load i32, ptr %3, align 4, !tbaa !5
  %103 = load i32, ptr @D, align 4, !tbaa !5
  %104 = icmp slt i32 %102, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %123

106:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %107 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %108 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %107, ptr noundef nonnull align 4 dereferenceable(4) %5)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %109 = getelementptr inbounds %struct.point, ptr %6, i32 0, i32 0
  %110 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %110, ptr %109, align 4, !tbaa !9
  %111 = getelementptr inbounds %struct.point, ptr %6, i32 0, i32 1
  %112 = load i32, ptr %5, align 4, !tbaa !5
  store i32 %112, ptr %111, align 4, !tbaa !11
  call void @_ZNSt6vectorI5pointSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) @V, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %113 = load i32, ptr %3, align 4, !tbaa !5
  %114 = load i32, ptr %4, align 4, !tbaa !5
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [200 x [200 x i32]], ptr @field, i64 0, i64 %115
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [200 x i32], ptr %116, i64 0, i64 %118
  store i32 %113, ptr %119, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %120

120:                                              ; preds = %106
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = add nsw i32 %121, 1
  store i32 %122, ptr %3, align 4, !tbaa !5
  br label %101, !llvm.loop !12

123:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #8
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %8) #8
  %124 = getelementptr inbounds %struct.point, ptr %9, i32 0, i32 0
  store i32 0, ptr %124, align 4, !tbaa !9
  %125 = getelementptr inbounds %struct.point, ptr %9, i32 0, i32 1
  store i32 0, ptr %125, align 4, !tbaa !11
  %126 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef 0) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %10, ptr align 4 %126, i64 8, i1 false), !tbaa.struct !14
  %127 = load i64, ptr %9, align 4
  %128 = load i64, ptr %10, align 4
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 4 %8, i64 %127, i64 %128)
          to label %129 unwind label %151

129:                                              ; preds = %123
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(16) %8)
          to label %130 unwind label %151

130:                                              ; preds = %129
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #8
  %131 = getelementptr inbounds %struct.point, ptr %14, i32 0, i32 0
  %132 = load i32, ptr @H, align 4, !tbaa !5
  %133 = sub nsw i32 %132, 1
  store i32 %133, ptr %131, align 4, !tbaa !9
  %134 = getelementptr inbounds %struct.point, ptr %14, i32 0, i32 1
  %135 = load i32, ptr @W, align 4, !tbaa !5
  %136 = sub nsw i32 %135, 1
  store i32 %136, ptr %134, align 4, !tbaa !11
  %137 = load i32, ptr @D, align 4, !tbaa !5
  %138 = sub nsw i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %139) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %140, i64 8, i1 false), !tbaa.struct !14
  %141 = load i64, ptr %14, align 4
  %142 = load i64, ptr %15, align 4
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 4 %13, i64 %141, i64 %142)
          to label %143 unwind label %155

143:                                              ; preds = %130
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %144 unwind label %155

144:                                              ; preds = %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %145

145:                                              ; preds = %171, %144
  %146 = load i32, ptr %17, align 4, !tbaa !5
  %147 = load i32, ptr @D, align 4, !tbaa !5
  %148 = sub nsw i32 %147, 2
  %149 = icmp slt i32 %146, %148
  br i1 %149, label %159, label %150

150:                                              ; preds = %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %178

151:                                              ; preds = %129, %123
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %11, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %8) #8
  br label %591

155:                                              ; preds = %143, %130
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %11, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #8
  br label %591

159:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %160 = load i32, ptr %17, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %161) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %162, i64 8, i1 false), !tbaa.struct !14
  %163 = load i32, ptr %17, align 4, !tbaa !5
  %164 = add nsw i32 %163, 2
  %165 = sext i32 %164 to i64
  %166 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %165) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %166, i64 8, i1 false), !tbaa.struct !14
  %167 = load i64, ptr %19, align 4
  %168 = load i64, ptr %20, align 4
  %169 = call noundef i32 @_Z4dist5pointS_(i64 %167, i64 %168)
  store i32 %169, ptr %18, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %170 unwind label %174

170:                                              ; preds = %159
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %171

171:                                              ; preds = %170
  %172 = load i32, ptr %17, align 4, !tbaa !5
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %17, align 4, !tbaa !5
  br label %145, !llvm.loop !15

174:                                              ; preds = %159
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %11, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %590

178:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %191, %178
  %180 = load i32, ptr %22, align 4, !tbaa !5
  %181 = load i32, ptr @D, align 4, !tbaa !5
  %182 = sub nsw i32 %181, 2
  %183 = icmp slt i32 %180, %182
  br i1 %183, label %185, label %184

184:                                              ; preds = %179
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %198

185:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %186 = load i32, ptr %22, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %187) #8
  invoke void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind writable sret(%"class.std::tuple.17") align 4 %23, ptr noundef nonnull align 4 dereferenceable(4) %188, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %189 unwind label %194

189:                                              ; preds = %185
  invoke void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %21, ptr noundef nonnull align 4 dereferenceable(8) %23)
          to label %190 unwind label %194

190:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %191

191:                                              ; preds = %190
  %192 = load i32, ptr %22, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %22, align 4, !tbaa !5
  br label %179, !llvm.loop !16

194:                                              ; preds = %189, %185
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %11, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  br label %589

198:                                              ; preds = %184
  %199 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %200 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %24, i32 0, i32 0
  store ptr %199, ptr %200, align 8
  %201 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %25, i32 0, i32 0
  store ptr %201, ptr %202, align 8
  %203 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %24, i32 0, i32 0
  %204 = load ptr, ptr %203, align 8
  %205 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %25, i32 0, i32 0
  %206 = load ptr, ptr %205, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %204, ptr %206)
          to label %207 unwind label %225

207:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #8
  %208 = load i32, ptr @D, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  store i8 0, ptr %27, align 1, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %209, ptr noundef nonnull align 1 dereferenceable(1) %27, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %210 unwind label %229

210:                                              ; preds = %207
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #8
  %211 = load i32, ptr @D, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %213 = getelementptr inbounds %struct.point, ptr %30, i32 0, i32 0
  store i32 -1, ptr %213, align 4, !tbaa !9
  %214 = getelementptr inbounds %struct.point, ptr %30, i32 0, i32 1
  store i32 -1, ptr %214, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  call void @_ZNSaI5pointEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  invoke void @_ZNSt6vectorI5pointSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %212, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %215 unwind label %233

215:                                              ; preds = %210
  call void @_ZNSt15__new_allocatorI5pointED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store ptr %21, ptr %33, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %216 = load ptr, ptr %33, align 8, !tbaa !19
  %217 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %216) #8
  %218 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %34, i32 0, i32 0
  store ptr %217, ptr %218, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #8
  %219 = load ptr, ptr %33, align 8, !tbaa !19
  %220 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %219) #8
  %221 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.22", ptr %35, i32 0, i32 0
  store ptr %220, ptr %221, align 8
  br label %222

222:                                              ; preds = %311, %215
  %223 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br i1 %223, label %237, label %224

224:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %314

225:                                              ; preds = %198
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %11, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %12, align 4
  br label %589

229:                                              ; preds = %207
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %11, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  br label %588

233:                                              ; preds = %210
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %11, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %12, align 4
  call void @_ZNSt15__new_allocatorI5pointED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %587

237:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %238 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %238, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %36) #8
  %240 = load i32, ptr %239, align 4, !tbaa !5
  %241 = add nsw i32 %240, 1
  store i32 %241, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  %242 = load i32, ptr %37, align 4, !tbaa !5
  %243 = sub nsw i32 %242, 1
  store i32 %243, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %244 = load i32, ptr %37, align 4, !tbaa !5
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %39, align 4, !tbaa !5
  %246 = load i32, ptr %38, align 4, !tbaa !5
  %247 = icmp sge i32 %246, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #8
  br i1 %247, label %248, label %273

248:                                              ; preds = %237
  %249 = load i32, ptr %38, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %250)
          to label %252 unwind label %293

252:                                              ; preds = %248
  %253 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 0
  %254 = extractvalue { ptr, i64 } %251, 0
  store ptr %254, ptr %253, align 8
  %255 = getelementptr inbounds { ptr, i64 }, ptr %40, i32 0, i32 1
  %256 = extractvalue { ptr, i64 } %251, 1
  store i64 %256, ptr %255, align 8
  %257 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %40) #8
  br i1 %257, label %273, label %258

258:                                              ; preds = %252
  %259 = load i32, ptr %39, align 4, !tbaa !5
  %260 = load i32, ptr @D, align 4, !tbaa !5
  %261 = icmp slt i32 %259, %260
  br i1 %261, label %262, label %273

262:                                              ; preds = %258
  %263 = load i32, ptr %39, align 4, !tbaa !5
  %264 = sext i32 %263 to i64
  %265 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %264)
          to label %266 unwind label %297

266:                                              ; preds = %262
  %267 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 0
  %268 = extractvalue { ptr, i64 } %265, 0
  store ptr %268, ptr %267, align 8
  %269 = getelementptr inbounds { ptr, i64 }, ptr %41, i32 0, i32 1
  %270 = extractvalue { ptr, i64 } %265, 1
  store i64 %270, ptr %269, align 8
  %271 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %41) #8
  %272 = xor i1 %271, true
  br label %273

273:                                              ; preds = %266, %258, %252, %237
  %274 = phi i1 [ false, %258 ], [ false, %252 ], [ false, %237 ], [ %272, %266 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  br i1 %274, label %275, label %310

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 16, ptr %42) #8
  %276 = load i32, ptr %37, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %277)
          to label %279 unwind label %302

279:                                              ; preds = %275
  %280 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 0
  %281 = extractvalue { ptr, i64 } %278, 0
  store ptr %281, ptr %280, align 8
  %282 = getelementptr inbounds { ptr, i64 }, ptr %42, i32 0, i32 1
  %283 = extractvalue { ptr, i64 } %278, 1
  store i64 %283, ptr %282, align 8
  %284 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %42, i1 noundef zeroext true) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  %285 = load i32, ptr %37, align 4, !tbaa !5
  %286 = sub nsw i32 %285, 1
  %287 = sext i32 %286 to i64
  %288 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %287) #8
  %289 = load i32, ptr %37, align 4, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef %290) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %291, ptr align 4 %288, i64 8, i1 false), !tbaa.struct !14
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %292 unwind label %306

292:                                              ; preds = %279
  br label %310

293:                                              ; preds = %248
  %294 = landingpad { ptr, i32 }
          cleanup
  %295 = extractvalue { ptr, i32 } %294, 0
  store ptr %295, ptr %11, align 8
  %296 = extractvalue { ptr, i32 } %294, 1
  store i32 %296, ptr %12, align 4
  br label %301

297:                                              ; preds = %262
  %298 = landingpad { ptr, i32 }
          cleanup
  %299 = extractvalue { ptr, i32 } %298, 0
  store ptr %299, ptr %11, align 8
  %300 = extractvalue { ptr, i32 } %298, 1
  store i32 %300, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  br label %301

301:                                              ; preds = %297, %293
  call void @llvm.lifetime.end.p0(i64 16, ptr %40) #8
  br label %313

302:                                              ; preds = %275
  %303 = landingpad { ptr, i32 }
          cleanup
  %304 = extractvalue { ptr, i32 } %303, 0
  store ptr %304, ptr %11, align 8
  %305 = extractvalue { ptr, i32 } %303, 1
  store i32 %305, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %42) #8
  br label %313

306:                                              ; preds = %279
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %11, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %12, align 4
  br label %313

310:                                              ; preds = %292, %273
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %311

311:                                              ; preds = %310
  %312 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br label %222

313:                                              ; preds = %306, %302, %301
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %586

314:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  store ptr %32, ptr %43, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %315 = load ptr, ptr %43, align 8, !tbaa !19
  %316 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %315) #8
  %317 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.30", ptr %44, i32 0, i32 0
  store ptr %316, ptr %317, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %318 = load ptr, ptr %43, align 8, !tbaa !19
  %319 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %318) #8
  %320 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.30", ptr %45, i32 0, i32 0
  store ptr %319, ptr %320, align 8
  br label %321

321:                                              ; preds = %570, %314
  %322 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  br i1 %322, label %324, label %323

323:                                              ; preds = %321
  store i32 13, ptr %46, align 4
  br label %573

324:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #8
  %325 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %326 = load i32, ptr %325, align 4, !tbaa !5
  store i32 %326, ptr %47, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %48) #8
  %327 = load i32, ptr %47, align 4, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %328)
          to label %330 unwind label %397

330:                                              ; preds = %324
  %331 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 0
  %332 = extractvalue { ptr, i64 } %329, 0
  store ptr %332, ptr %331, align 8
  %333 = getelementptr inbounds { ptr, i64 }, ptr %48, i32 0, i32 1
  %334 = extractvalue { ptr, i64 } %329, 1
  store i64 %334, ptr %333, align 8
  %335 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %48) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  br i1 %335, label %336, label %566

336:                                              ; preds = %330
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %337 = load i32, ptr %47, align 4, !tbaa !5
  %338 = sext i32 %337 to i64
  %339 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %338) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 4 %339, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %340 = load i32, ptr %47, align 4, !tbaa !5
  %341 = sub nsw i32 %340, 1
  %342 = sext i32 %341 to i64
  %343 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %342) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 4 %343, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %344 = load i32, ptr %47, align 4, !tbaa !5
  %345 = add nsw i32 %344, 1
  %346 = sext i32 %345 to i64
  %347 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %346) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %51, ptr align 4 %347, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #8
  store i32 0, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #8
  %348 = getelementptr inbounds %struct.point, ptr %50, i32 0, i32 0
  %349 = getelementptr inbounds %struct.point, ptr %51, i32 0, i32 0
  %350 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %348, ptr noundef nonnull align 4 dereferenceable(4) %349)
          to label %351 unwind label %401

351:                                              ; preds = %336
  %352 = load i32, ptr %350, align 4, !tbaa !5
  %353 = sub nsw i32 %352, 10
  store i32 %353, ptr %54, align 4, !tbaa !5
  %354 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %53, ptr noundef nonnull align 4 dereferenceable(4) %54)
          to label %355 unwind label %401

355:                                              ; preds = %351
  %356 = load i32, ptr %354, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  store i32 %356, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #8
  %357 = load i32, ptr @H, align 4, !tbaa !5
  %358 = sub nsw i32 %357, 1
  store i32 %358, ptr %56, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #8
  %359 = getelementptr inbounds %struct.point, ptr %50, i32 0, i32 0
  %360 = getelementptr inbounds %struct.point, ptr %51, i32 0, i32 0
  %361 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %359, ptr noundef nonnull align 4 dereferenceable(4) %360)
          to label %362 unwind label %405

362:                                              ; preds = %355
  %363 = load i32, ptr %361, align 4, !tbaa !5
  %364 = add nsw i32 %363, 10
  store i32 %364, ptr %57, align 4, !tbaa !5
  %365 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %57)
          to label %366 unwind label %405

366:                                              ; preds = %362
  %367 = load i32, ptr %365, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  store i32 %367, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #8
  store i32 0, ptr %59, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  %368 = getelementptr inbounds %struct.point, ptr %50, i32 0, i32 1
  %369 = getelementptr inbounds %struct.point, ptr %51, i32 0, i32 1
  %370 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %368, ptr noundef nonnull align 4 dereferenceable(4) %369)
          to label %371 unwind label %409

371:                                              ; preds = %366
  %372 = load i32, ptr %370, align 4, !tbaa !5
  %373 = sub nsw i32 %372, 10
  store i32 %373, ptr %60, align 4, !tbaa !5
  %374 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %375 unwind label %409

375:                                              ; preds = %371
  %376 = load i32, ptr %374, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #8
  store i32 %376, ptr %58, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #8
  %377 = load i32, ptr @W, align 4, !tbaa !5
  %378 = sub nsw i32 %377, 1
  store i32 %378, ptr %62, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #8
  %379 = getelementptr inbounds %struct.point, ptr %50, i32 0, i32 1
  %380 = getelementptr inbounds %struct.point, ptr %51, i32 0, i32 1
  %381 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %379, ptr noundef nonnull align 4 dereferenceable(4) %380)
          to label %382 unwind label %413

382:                                              ; preds = %375
  %383 = load i32, ptr %381, align 4, !tbaa !5
  %384 = add nsw i32 %383, 10
  store i32 %384, ptr %63, align 4, !tbaa !5
  %385 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %62, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %386 unwind label %413

386:                                              ; preds = %382
  %387 = load i32, ptr %385, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  store i32 %387, ptr %61, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #8
  store i32 -1, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  %388 = load i32, ptr %47, align 4, !tbaa !5
  %389 = sext i32 %388 to i64
  %390 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %389) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %390, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #8
  store i32 -1, ptr %66, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  %391 = load i32, ptr %52, align 4, !tbaa !5
  store i32 %391, ptr %67, align 4, !tbaa !5
  br label %392

392:                                              ; preds = %507, %386
  %393 = load i32, ptr %67, align 4, !tbaa !5
  %394 = load i32, ptr %55, align 4, !tbaa !5
  %395 = icmp slt i32 %393, %394
  br i1 %395, label %417, label %396

396:                                              ; preds = %392
  store i32 15, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %510

397:                                              ; preds = %324
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %11, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %48) #8
  br label %572

401:                                              ; preds = %351, %336
  %402 = landingpad { ptr, i32 }
          cleanup
  %403 = extractvalue { ptr, i32 } %402, 0
  store ptr %403, ptr %11, align 8
  %404 = extractvalue { ptr, i32 } %402, 1
  store i32 %404, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #8
  br label %565

405:                                              ; preds = %362, %355
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %11, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #8
  br label %564

409:                                              ; preds = %371, %366
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %11, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #8
  br label %563

413:                                              ; preds = %382, %375
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %11, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #8
  br label %562

417:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #8
  %418 = load i32, ptr %58, align 4, !tbaa !5
  store i32 %418, ptr %68, align 4, !tbaa !5
  br label %419

419:                                              ; preds = %503, %417
  %420 = load i32, ptr %68, align 4, !tbaa !5
  %421 = load i32, ptr %61, align 4, !tbaa !5
  %422 = icmp slt i32 %420, %421
  br i1 %422, label %424, label %423

423:                                              ; preds = %419
  store i32 18, ptr %46, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  br label %506

424:                                              ; preds = %419
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #8
  %425 = getelementptr inbounds %struct.point, ptr %69, i32 0, i32 0
  %426 = load i32, ptr %67, align 4, !tbaa !5
  store i32 %426, ptr %425, align 4, !tbaa !9
  %427 = getelementptr inbounds %struct.point, ptr %69, i32 0, i32 1
  %428 = load i32, ptr %68, align 4, !tbaa !5
  store i32 %428, ptr %427, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %71, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %72, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !14
  %429 = load i64, ptr %71, align 4
  %430 = load i64, ptr %72, align 4
  %431 = call noundef i32 @_Z4dist5pointS_(i64 %429, i64 %430)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %73, ptr align 4 %49, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %74, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !14
  %432 = load i64, ptr %73, align 4
  %433 = load i64, ptr %74, align 4
  %434 = call noundef i32 @_Z4dist5pointS_(i64 %432, i64 %433)
  %435 = add nsw i32 %431, %434
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %75, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %76, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !14
  %436 = load i64, ptr %75, align 4
  %437 = load i64, ptr %76, align 4
  %438 = call noundef i32 @_Z4dist5pointS_(i64 %436, i64 %437)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %77, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %51, i64 8, i1 false), !tbaa.struct !14
  %439 = load i64, ptr %77, align 4
  %440 = load i64, ptr %78, align 4
  %441 = call noundef i32 @_Z4dist5pointS_(i64 %439, i64 %440)
  %442 = add nsw i32 %438, %441
  %443 = sub nsw i32 %435, %442
  store i32 %443, ptr %70, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #8
  %444 = load i32, ptr %67, align 4, !tbaa !5
  %445 = sext i32 %444 to i64
  %446 = getelementptr inbounds [200 x [200 x i32]], ptr @field, i64 0, i64 %445
  %447 = load i32, ptr %68, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds [200 x i32], ptr %446, i64 0, i64 %448
  %450 = load i32, ptr %449, align 4, !tbaa !5
  store i32 %450, ptr %79, align 4, !tbaa !5
  %451 = load i32, ptr %79, align 4, !tbaa !5
  %452 = icmp sge i32 %451, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %80) #8
  br i1 %452, label %453, label %463

453:                                              ; preds = %424
  %454 = load i32, ptr %79, align 4, !tbaa !5
  %455 = sext i32 %454 to i64
  %456 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %455)
          to label %457 unwind label %491

457:                                              ; preds = %453
  %458 = getelementptr inbounds { ptr, i64 }, ptr %80, i32 0, i32 0
  %459 = extractvalue { ptr, i64 } %456, 0
  store ptr %459, ptr %458, align 8
  %460 = getelementptr inbounds { ptr, i64 }, ptr %80, i32 0, i32 1
  %461 = extractvalue { ptr, i64 } %456, 1
  store i64 %461, ptr %460, align 8
  %462 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %80) #8
  br label %463

463:                                              ; preds = %457, %424
  %464 = phi i1 [ false, %424 ], [ %462, %457 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #8
  br i1 %464, label %465, label %495

465:                                              ; preds = %463
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #8
  %466 = load i32, ptr %79, align 4, !tbaa !5
  %467 = sub nsw i32 %466, 1
  %468 = sext i32 %467 to i64
  %469 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %468) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %81, ptr align 4 %469, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #8
  %470 = load i32, ptr %79, align 4, !tbaa !5
  %471 = add nsw i32 %470, 1
  %472 = sext i32 %471 to i64
  %473 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %472) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %82, ptr align 4 %473, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %83, ptr align 4 %81, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !14
  %474 = load i64, ptr %83, align 4
  %475 = load i64, ptr %84, align 4
  %476 = call noundef i32 @_Z4dist5pointS_(i64 %474, i64 %475)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %85, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %86, ptr align 4 %82, i64 8, i1 false), !tbaa.struct !14
  %477 = load i64, ptr %85, align 4
  %478 = load i64, ptr %86, align 4
  %479 = call noundef i32 @_Z4dist5pointS_(i64 %477, i64 %478)
  %480 = add nsw i32 %476, %479
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %81, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %88, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !14
  %481 = load i64, ptr %87, align 4
  %482 = load i64, ptr %88, align 4
  %483 = call noundef i32 @_Z4dist5pointS_(i64 %481, i64 %482)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %50, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %82, i64 8, i1 false), !tbaa.struct !14
  %484 = load i64, ptr %89, align 4
  %485 = load i64, ptr %90, align 4
  %486 = call noundef i32 @_Z4dist5pointS_(i64 %484, i64 %485)
  %487 = add nsw i32 %483, %486
  %488 = sub nsw i32 %480, %487
  %489 = load i32, ptr %70, align 4, !tbaa !5
  %490 = add nsw i32 %489, %488
  store i32 %490, ptr %70, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #8
  br label %495

491:                                              ; preds = %453
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %11, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %80) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %561

495:                                              ; preds = %465, %463
  %496 = load i32, ptr %64, align 4, !tbaa !5
  %497 = load i32, ptr %70, align 4, !tbaa !5
  %498 = icmp slt i32 %496, %497
  br i1 %498, label %499, label %502

499:                                              ; preds = %495
  %500 = load i32, ptr %70, align 4, !tbaa !5
  store i32 %500, ptr %64, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %69, i64 8, i1 false), !tbaa.struct !14
  %501 = load i32, ptr %79, align 4, !tbaa !5
  store i32 %501, ptr %66, align 4, !tbaa !5
  br label %502

502:                                              ; preds = %499, %495
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #8
  br label %503

503:                                              ; preds = %502
  %504 = load i32, ptr %68, align 4, !tbaa !5
  %505 = add nsw i32 %504, 1
  store i32 %505, ptr %68, align 4, !tbaa !5
  br label %419, !llvm.loop !21

506:                                              ; preds = %423
  br label %507

507:                                              ; preds = %506
  %508 = load i32, ptr %67, align 4, !tbaa !5
  %509 = add nsw i32 %508, 1
  store i32 %509, ptr %67, align 4, !tbaa !5
  br label %392, !llvm.loop !22

510:                                              ; preds = %396
  call void @llvm.lifetime.start.p0(i64 16, ptr %91) #8
  %511 = load i32, ptr %47, align 4, !tbaa !5
  %512 = sext i32 %511 to i64
  %513 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %512) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %513, i64 8, i1 false), !tbaa.struct !14
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %93, ptr align 4 %65, i64 8, i1 false), !tbaa.struct !14
  %514 = load i64, ptr %92, align 4
  %515 = load i64, ptr %93, align 4
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind writable sret(%"class.std::tuple") align 4 %91, i64 %514, i64 %515)
          to label %516 unwind label %539

516:                                              ; preds = %510
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(16) %91)
          to label %517 unwind label %539

517:                                              ; preds = %516
  call void @llvm.lifetime.end.p0(i64 16, ptr %91) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %94) #8
  %518 = load i32, ptr %47, align 4, !tbaa !5
  %519 = sext i32 %518 to i64
  %520 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %519)
          to label %521 unwind label %543

521:                                              ; preds = %517
  %522 = getelementptr inbounds { ptr, i64 }, ptr %94, i32 0, i32 0
  %523 = extractvalue { ptr, i64 } %520, 0
  store ptr %523, ptr %522, align 8
  %524 = getelementptr inbounds { ptr, i64 }, ptr %94, i32 0, i32 1
  %525 = extractvalue { ptr, i64 } %520, 1
  store i64 %525, ptr %524, align 8
  %526 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %94, i1 noundef zeroext false) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %94) #8
  %527 = load i32, ptr %66, align 4, !tbaa !5
  %528 = icmp sge i32 %527, 0
  br i1 %528, label %529, label %551

529:                                              ; preds = %521
  call void @llvm.lifetime.start.p0(i64 16, ptr %95) #8
  %530 = load i32, ptr %66, align 4, !tbaa !5
  %531 = sext i32 %530 to i64
  %532 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %531)
          to label %533 unwind label %547

533:                                              ; preds = %529
  %534 = getelementptr inbounds { ptr, i64 }, ptr %95, i32 0, i32 0
  %535 = extractvalue { ptr, i64 } %532, 0
  store ptr %535, ptr %534, align 8
  %536 = getelementptr inbounds { ptr, i64 }, ptr %95, i32 0, i32 1
  %537 = extractvalue { ptr, i64 } %532, 1
  store i64 %537, ptr %536, align 8
  %538 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %95, i1 noundef zeroext false) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %95) #8
  br label %551

539:                                              ; preds = %516, %510
  %540 = landingpad { ptr, i32 }
          cleanup
  %541 = extractvalue { ptr, i32 } %540, 0
  store ptr %541, ptr %11, align 8
  %542 = extractvalue { ptr, i32 } %540, 1
  store i32 %542, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %91) #8
  br label %561

543:                                              ; preds = %517
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %11, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %94) #8
  br label %561

547:                                              ; preds = %529
  %548 = landingpad { ptr, i32 }
          cleanup
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %11, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %95) #8
  br label %561

551:                                              ; preds = %533, %521
  %552 = call noundef i64 @_ZNKSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  %553 = trunc i64 %552 to i32
  %554 = load i32, ptr @K, align 4, !tbaa !5
  %555 = icmp sge i32 %553, %554
  br i1 %555, label %556, label %557

556:                                              ; preds = %551
  store i32 13, ptr %46, align 4
  br label %558

557:                                              ; preds = %551
  store i32 0, ptr %46, align 4
  br label %558

558:                                              ; preds = %557, %556
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  %559 = load i32, ptr %46, align 4
  switch i32 %559, label %567 [
    i32 0, label %560
  ]

560:                                              ; preds = %558
  br label %566

561:                                              ; preds = %547, %543, %539, %491
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #8
  br label %562

562:                                              ; preds = %561, %413
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #8
  br label %563

563:                                              ; preds = %562, %409
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #8
  br label %564

564:                                              ; preds = %563, %405
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #8
  br label %565

565:                                              ; preds = %564, %401
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  br label %572

566:                                              ; preds = %560, %330
  store i32 0, ptr %46, align 4
  br label %567

567:                                              ; preds = %566, %558
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  %568 = load i32, ptr %46, align 4
  switch i32 %568, label %573 [
    i32 0, label %569
  ]

569:                                              ; preds = %567
  br label %570

570:                                              ; preds = %569
  %571 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  br label %321

572:                                              ; preds = %565, %397
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %586

573:                                              ; preds = %567, %323
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %574

574:                                              ; preds = %573
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %575 unwind label %578

575:                                              ; preds = %574
  invoke void @_Z5flushSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE(ptr noundef %96)
          to label %576 unwind label %582

576:                                              ; preds = %575
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorI5pointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #8
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  %577 = load i32, ptr %1, align 4
  ret i32 %577

578:                                              ; preds = %574
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %11, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %12, align 4
  br label %586

582:                                              ; preds = %575
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %11, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %12, align 4
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  br label %586

586:                                              ; preds = %582, %578, %572, %313
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #8
  call void @_ZNSt6vectorI5pointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #8
  br label %587

587:                                              ; preds = %586, %233
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #8
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #8
  br label %588

588:                                              ; preds = %587, %229
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #8
  br label %589

589:                                              ; preds = %588, %225, %194
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %21) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #8
  br label %590

590:                                              ; preds = %589, %174
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  br label %591

591:                                              ; preds = %590, %155, %151
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #8
  br label %592

592:                                              ; preds = %591
  %593 = load ptr, ptr %11, align 8
  %594 = load i32, ptr %12, align 4
  %595 = insertvalue { ptr, i32 } poison, ptr %593, 0
  %596 = insertvalue { ptr, i32 } %595, i32 %594, 1
  resume { ptr, i32 } %596
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #6

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.17") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #6

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8)) #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #7

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #0 align 2

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

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS5point", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = !{i64 0, i64 4, !5, i64 4, i64 4, !5}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!20, !20, i64 0}
!20 = !{!"any pointer", !7, i64 0}
!21 = distinct !{!21, !13}
!22 = distinct !{!22, !13}


; 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::vector.2" = type { %"struct.std::_Vector_base.3" }
%"struct.std::_Vector_base.3" = type { %"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl" }
%"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl" = type { %"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl_data" }
%"struct.std::_Vector_base<point, std::allocator<point>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"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::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Tuple_impl.0", %"struct.std::_Head_base.1" }
%"struct.std::_Tuple_impl.0" = type { %"struct.std::_Head_base" }
%"struct.std::_Head_base" = type { %struct.point }
%struct.point = type { i32, i32 }
%"struct.std::_Head_base.1" = type { %struct.point }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<point, point>, std::allocator<std::tuple<point, point>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = 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::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::tuple<int, int>, std::allocator<std::tuple<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::tuple.17" = type { %"struct.std::_Tuple_impl.18" }
%"struct.std::_Tuple_impl.18" = type { %"struct.std::_Tuple_impl.19", %"struct.std::_Head_base.21" }
%"struct.std::_Tuple_impl.19" = type { %"struct.std::_Head_base.20" }
%"struct.std::_Head_base.20" = type { i32 }
%"struct.std::_Head_base.21" = type { i32 }
%"class.std::vector.23" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::allocator.27" = type { i8 }
%"class.std::allocator.4" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.22" = type { ptr }
%"struct.std::_Bit_reference" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.30" = type { ptr }

@H = external dso_local global i32, align 4
@W = external dso_local global i32, align 4
@D = external dso_local global i32, align 4
@K = external dso_local global i32, align 4
@V = external dso_local global %"class.std::vector.2", align 8
@field = external dso_local global [200 x [200 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z4dist5pointS_(i64, i64) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5flushSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE(ptr noundef) local_unnamed_addr #1

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9make_swap5pointS_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple") align 4, i64, i64) local_unnamed_addr #1

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca %struct.point, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca %"class.std::tuple", align 4
  %7 = alloca %"class.std::tuple", align 4
  %8 = alloca %"class.std::vector.7", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::vector.12", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::tuple.17", align 4
  %13 = alloca %"class.std::vector.23", align 8
  %14 = alloca i8, align 1
  %15 = alloca %"class.std::allocator.27", align 1
  %16 = alloca %"class.std::vector.2", align 8
  %17 = alloca %struct.point, align 4
  %18 = alloca %"class.std::allocator.4", align 1
  %19 = alloca %"class.std::vector.7", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.22", align 8
  %22 = alloca %"class.std::tuple.17", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"struct.std::_Bit_reference", align 8
  %25 = alloca %"struct.std::_Bit_reference", align 8
  %26 = alloca %"struct.std::_Bit_reference", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.30", align 8
  %29 = alloca %"struct.std::_Bit_reference", align 8
  %30 = alloca %struct.point, align 8
  %31 = alloca %struct.point, align 8
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %"struct.std::_Bit_reference", align 8
  %41 = alloca %"class.std::tuple", align 4
  %42 = alloca %"struct.std::_Bit_reference", align 8
  %43 = alloca %"struct.std::_Bit_reference", align 8
  %44 = alloca %"class.std::vector", align 8
  %45 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @H)
  %46 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %45, ptr noundef nonnull align 4 dereferenceable(4) @W)
  %47 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(4) @D)
  %48 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 4 dereferenceable(4) @K)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  store i32 -1, ptr %1, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @field, ptr noundef nonnull getelementptr inbounds (i8, ptr @field, i64 160000), ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  %49 = load i32, ptr @D, align 4, !tbaa !5
  %50 = icmp sgt i32 %49, 0
  br i1 %50, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %0
  %51 = getelementptr inbounds i8, ptr %4, i64 4
  br label %53

._crit_edge:                                      ; preds = %53, %0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #7
  %52 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef 0) #7
  %.sroa.0100.0.copyload = load i64, ptr %52, align 4
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 4 %6, i64 0, i64 %.sroa.0100.0.copyload)
          to label %66 unwind label %82

53:                                               ; preds = %.lr.ph, %53
  %.0164 = phi i32 [ 0, %.lr.ph ], [ %63, %53 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %54 = 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)
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %56 = load i32, ptr %2, align 4, !tbaa !5
  store i32 %56, ptr %4, align 4, !tbaa !9
  %57 = load i32, ptr %3, align 4, !tbaa !5
  store i32 %57, ptr %51, align 4, !tbaa !11
  call void @_ZNSt6vectorI5pointSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) @V, ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %58 = load i32, ptr %2, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = load i32, ptr %3, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [200 x [200 x i32]], ptr @field, i64 0, i64 %59, i64 %61
  store i32 %.0164, ptr %62, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  %63 = add nuw nsw i32 %.0164, 1
  %64 = load i32, ptr @D, align 4, !tbaa !5
  %65 = icmp slt i32 %63, %64
  br i1 %65, label %53, label %._crit_edge, !llvm.loop !12

66:                                               ; preds = %._crit_edge
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(16) %6)
          to label %67 unwind label %82

67:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #7
  %68 = load i32, ptr @H, align 4, !tbaa !5
  %69 = add nsw i32 %68, -1
  %70 = load i32, ptr @W, align 4, !tbaa !5
  %71 = add nsw i32 %70, -1
  %72 = load i32, ptr @D, align 4, !tbaa !5
  %73 = add nsw i32 %72, -1
  %74 = sext i32 %73 to i64
  %75 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %74) #7
  %.sroa.096.0.copyload = load i64, ptr %75, align 4
  %.sroa.2.0.insert.ext = zext i32 %71 to i64
  %.sroa.2.0.insert.shift = shl nuw i64 %.sroa.2.0.insert.ext, 32
  %.sroa.097.0.insert.ext = zext i32 %69 to i64
  %.sroa.097.0.insert.insert = or disjoint i64 %.sroa.2.0.insert.shift, %.sroa.097.0.insert.ext
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 4 %7, i64 %.sroa.097.0.insert.insert, i64 %.sroa.096.0.copyload)
          to label %76 unwind label %84

76:                                               ; preds = %67
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(16) %7)
          to label %77 unwind label %84

77:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  %78 = load i32, ptr @D, align 4, !tbaa !5
  %79 = icmp sgt i32 %78, 2
  br i1 %79, label %.lr.ph167, label %._crit_edge168

._crit_edge168:                                   ; preds = %90, %77
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  %80 = load i32, ptr @D, align 4, !tbaa !5
  %81 = icmp sgt i32 %80, 2
  br i1 %81, label %.lr.ph171, label %._crit_edge172

82:                                               ; preds = %66, %._crit_edge
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #7
  br label %320

84:                                               ; preds = %76, %67
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #7
  br label %320

.lr.ph167:                                        ; preds = %77, %90
  %indvars.iv = phi i64 [ %indvars.iv.next, %90 ], [ 0, %77 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %86 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %indvars.iv) #7
  %.sroa.091.0.copyload = load i64, ptr %86, align 4
  %87 = add nuw nsw i64 %indvars.iv, 2
  %88 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %87) #7
  %.sroa.090.0.copyload = load i64, ptr %88, align 4
  %89 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.091.0.copyload, i64 %.sroa.090.0.copyload)
  store i32 %89, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %8, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %90 unwind label %95

90:                                               ; preds = %.lr.ph167
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %91 = load i32, ptr @D, align 4, !tbaa !5
  %92 = add nsw i32 %91, -2
  %93 = sext i32 %92 to i64
  %94 = icmp slt i64 %indvars.iv.next, %93
  br i1 %94, label %.lr.ph167, label %._crit_edge168, !llvm.loop !14

95:                                               ; preds = %.lr.ph167
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %319

._crit_edge172:                                   ; preds = %101, %._crit_edge168
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  %97 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  %98 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %97, ptr %98)
          to label %109 unwind label %132

.lr.ph171:                                        ; preds = %._crit_edge168, %101
  %storemerge169 = phi i32 [ %103, %101 ], [ 0, %._crit_edge168 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  %99 = sext i32 %storemerge169 to i64
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %99) #7
  call void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple.17") align 4 %12, ptr noundef nonnull align 4 dereferenceable(4) %100, ptr noundef nonnull align 4 dereferenceable(4) %11)
  invoke void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
          to label %101 unwind label %107

101:                                              ; preds = %.lr.ph171
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  %102 = load i32, ptr %11, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %11, align 4, !tbaa !5
  %104 = load i32, ptr @D, align 4, !tbaa !5
  %105 = add nsw i32 %104, -2
  %106 = icmp slt i32 %103, %105
  br i1 %106, label %.lr.ph171, label %._crit_edge172, !llvm.loop !15

107:                                              ; preds = %.lr.ph171
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  br label %318

109:                                              ; preds = %._crit_edge172
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #7
  %110 = load i32, ptr @D, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #7
  store i8 0, ptr %14, align 1, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #7
  call void @_ZNSaIbEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  invoke void @_ZNSt6vectorIbSaIbEEC2EmRKbRKS0_(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %111, ptr noundef nonnull align 1 dereferenceable(1) %14, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %112 unwind label %134

112:                                              ; preds = %109
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  %113 = load i32, ptr @D, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  store i32 -1, ptr %17, align 4, !tbaa !9
  %115 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 -1, ptr %115, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #7
  call void @_ZNSaI5pointEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  invoke void @_ZNSt6vectorI5pointSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %114, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %116 unwind label %136

116:                                              ; preds = %112
  call void @_ZNSt15__new_allocatorI5pointED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #7
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  %117 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  store ptr %117, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #7
  %118 = call ptr @_ZNSt6vectorISt5tupleIJiiEESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  store ptr %118, ptr %21, align 8
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br i1 %119, label %.lr.ph174, label %._crit_edge175

.lr.ph174:                                        ; preds = %116
  %120 = getelementptr inbounds i8, ptr %24, i64 8
  %121 = getelementptr inbounds i8, ptr %25, i64 8
  %122 = getelementptr inbounds i8, ptr %26, i64 8
  br label %138

._crit_edge175:                                   ; preds = %187, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  %123 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  store ptr %123, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #7
  %124 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  store ptr %124, ptr %28, align 8
  %125 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %125, label %.lr.ph199, label %._crit_edge200

.lr.ph199:                                        ; preds = %._crit_edge175
  %126 = getelementptr inbounds i8, ptr %29, i64 8
  %127 = getelementptr inbounds i8, ptr %30, i64 4
  %128 = getelementptr inbounds i8, ptr %31, i64 4
  %129 = getelementptr inbounds i8, ptr %40, i64 8
  %130 = getelementptr inbounds i8, ptr %42, i64 8
  %131 = getelementptr inbounds i8, ptr %43, i64 8
  br label %191

132:                                              ; preds = %._crit_edge172
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %318

134:                                              ; preds = %109
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIbED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  br label %317

136:                                              ; preds = %112
  %137 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI5pointED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %316

138:                                              ; preds = %.lr.ph174, %187
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #7
  %139 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %140 = load i64, ptr %139, align 4
  store i64 %140, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #7
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8) %22) #7
  %142 = load i32, ptr %141, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %23, align 4, !tbaa !5
  %144 = add nsw i32 %142, 2
  %145 = icmp sgt i32 %142, -1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %25) #7
  br i1 %145, label %146, label %.critedge

146:                                              ; preds = %138
  %147 = zext nneg i32 %142 to i64
  %148 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %147)
          to label %149 unwind label %178

149:                                              ; preds = %146
  %150 = extractvalue { ptr, i64 } %148, 0
  store ptr %150, ptr %24, align 8
  %151 = extractvalue { ptr, i64 } %148, 1
  store i64 %151, ptr %120, align 8
  %152 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %24) #7
  %153 = load i32, ptr @D, align 4
  %154 = icmp sge i32 %144, %153
  %or.cond.not = select i1 %152, i1 true, i1 %154
  br i1 %or.cond.not, label %.critedge, label %155

155:                                              ; preds = %149
  %156 = zext nneg i32 %144 to i64
  %157 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %156)
          to label %158 unwind label %180

158:                                              ; preds = %155
  %159 = extractvalue { ptr, i64 } %157, 0
  store ptr %159, ptr %25, align 8
  %160 = extractvalue { ptr, i64 } %157, 1
  store i64 %160, ptr %121, align 8
  %161 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  br i1 %161, label %187, label %162

162:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %26) #7
  %163 = load i32, ptr %23, align 4, !tbaa !5
  %164 = sext i32 %163 to i64
  %165 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %164)
          to label %166 unwind label %183

166:                                              ; preds = %162
  %167 = extractvalue { ptr, i64 } %165, 0
  store ptr %167, ptr %26, align 8
  %168 = extractvalue { ptr, i64 } %165, 1
  store i64 %168, ptr %122, align 8
  %169 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %26, i1 noundef zeroext true) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  %170 = load i32, ptr %23, align 4, !tbaa !5
  %171 = add nsw i32 %170, -1
  %172 = sext i32 %171 to i64
  %173 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %172) #7
  %174 = load i32, ptr %23, align 4, !tbaa !5
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %175) #7
  %177 = load i64, ptr %173, align 4
  store i64 %177, ptr %176, align 4
  invoke void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %187 unwind label %185

178:                                              ; preds = %146
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %182

180:                                              ; preds = %155
  %181 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  br label %182

182:                                              ; preds = %180, %178
  %.pn135 = phi { ptr, i32 } [ %181, %180 ], [ %179, %178 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  br label %190

183:                                              ; preds = %162
  %184 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %26) #7
  br label %190

185:                                              ; preds = %166
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %190

.critedge:                                        ; preds = %138, %149
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %24) #7
  br label %187

187:                                              ; preds = %166, %.critedge, %158
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  %188 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  %189 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #7
  br i1 %189, label %138, label %._crit_edge175

190:                                              ; preds = %185, %183, %182
  %.pn137 = phi { ptr, i32 } [ %186, %185 ], [ %184, %183 ], [ %.pn135, %182 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %315

191:                                              ; preds = %.lr.ph199, %.thread
  %192 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %193 = load i32, ptr %192, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %29) #7
  %194 = sext i32 %193 to i64
  %195 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %194)
          to label %196 unwind label %278

196:                                              ; preds = %191
  %197 = extractvalue { ptr, i64 } %195, 0
  store ptr %197, ptr %29, align 8
  %198 = extractvalue { ptr, i64 } %195, 1
  store i64 %198, ptr %126, align 8
  %199 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %29) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br i1 %199, label %200, label %.thread

200:                                              ; preds = %196
  %201 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %194) #7
  %.sroa.070.0.copyload = load i64, ptr %201, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #7
  %202 = add nsw i32 %193, -1
  %203 = sext i32 %202 to i64
  %204 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %203) #7
  %205 = load i64, ptr %204, align 4
  store i64 %205, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #7
  %206 = add nsw i32 %193, 1
  %207 = sext i32 %206 to i64
  %208 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %207) #7
  %209 = load i64, ptr %208, align 4
  store i64 %209, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %32) #7
  store i32 0, ptr %32, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #7
  %210 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %211 = load i32, ptr %210, align 4, !tbaa !5
  %212 = add nsw i32 %211, -10
  store i32 %212, ptr %33, align 4, !tbaa !5
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %32, ptr noundef nonnull align 4 dereferenceable(4) %33)
  %214 = load i32, ptr %213, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %34) #7
  %215 = load i32, ptr @H, align 4, !tbaa !5
  %216 = add nsw i32 %215, -1
  store i32 %216, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #7
  %217 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %30, ptr noundef nonnull align 4 dereferenceable(4) %31)
  %218 = load i32, ptr %217, align 4, !tbaa !5
  %219 = add nsw i32 %218, 10
  store i32 %219, ptr %35, align 4, !tbaa !5
  %220 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %35)
  %221 = load i32, ptr %220, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %34) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %36) #7
  store i32 0, ptr %36, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %37) #7
  %222 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %127, ptr noundef nonnull align 4 dereferenceable(4) %128)
  %223 = load i32, ptr %222, align 4, !tbaa !5
  %224 = add nsw i32 %223, -10
  store i32 %224, ptr %37, align 4, !tbaa !5
  %225 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %36, ptr noundef nonnull align 4 dereferenceable(4) %37)
  %226 = load i32, ptr %225, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %37) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %36) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %38) #7
  %227 = load i32, ptr @W, align 4, !tbaa !5
  %228 = add nsw i32 %227, -1
  store i32 %228, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %39) #7
  %229 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %127, ptr noundef nonnull align 4 dereferenceable(4) %128)
  %230 = load i32, ptr %229, align 4, !tbaa !5
  %231 = add nsw i32 %230, 10
  store i32 %231, ptr %39, align 4, !tbaa !5
  %232 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %39)
  %233 = load i32, ptr %232, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %39) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %38) #7
  %234 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %194) #7
  %.sroa.064.0.copyload = load i32, ptr %234, align 4, !tbaa !5
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %234, i64 4
  %.sroa.6.0.copyload = load i32, ptr %.sroa.6.0..sroa_idx, align 4, !tbaa !5
  %235 = icmp slt i32 %214, %221
  %236 = icmp slt i32 %226, %233
  %or.cond = select i1 %235, i1 %236, i1 false
  br i1 %or.cond, label %.preheader.us.preheader, label %._crit_edge191

.preheader.us.preheader:                          ; preds = %200
  %237 = sext i32 %226 to i64
  %238 = sext i32 %214 to i64
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge182.us
  %indvars.iv207 = phi i64 [ %238, %.preheader.us.preheader ], [ %indvars.iv.next208, %._crit_edge182.us ]
  %.0121190.us = phi i32 [ -1, %.preheader.us.preheader ], [ %.2123.us, %._crit_edge182.us ]
  %.sroa.6.0189.us = phi i32 [ %.sroa.6.0.copyload, %.preheader.us.preheader ], [ %.sroa.6.2.us, %._crit_edge182.us ]
  %.sroa.064.0188.us = phi i32 [ %.sroa.064.0.copyload, %.preheader.us.preheader ], [ %.sroa.064.2.us, %._crit_edge182.us ]
  %.0124187.us = phi i32 [ -1, %.preheader.us.preheader ], [ %.2126.us, %._crit_edge182.us ]
  %239 = trunc nsw i64 %indvars.iv207 to i32
  %.sroa.032.0.insert.ext39.us = and i64 %indvars.iv207, 4294967295
  br label %240

240:                                              ; preds = %.preheader.us, %275
  %indvars.iv204 = phi i64 [ %237, %.preheader.us ], [ %indvars.iv.next205, %275 ]
  %.1122180.us = phi i32 [ %.0121190.us, %.preheader.us ], [ %.2123.us, %275 ]
  %.sroa.6.1179.us = phi i32 [ %.sroa.6.0189.us, %.preheader.us ], [ %.sroa.6.2.us, %275 ]
  %.sroa.064.1178.us = phi i32 [ %.sroa.064.0188.us, %.preheader.us ], [ %.sroa.064.2.us, %275 ]
  %.1125177.us = phi i32 [ %.0124187.us, %.preheader.us ], [ %.2126.us, %275 ]
  %.sroa.028.0.copyload.us = load i64, ptr %30, align 8
  %241 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.028.0.copyload.us, i64 %.sroa.070.0.copyload)
  %.sroa.025.0.copyload.us = load i64, ptr %31, align 8
  %242 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.070.0.copyload, i64 %.sroa.025.0.copyload.us)
  %.sroa.024.0.copyload.us = load i64, ptr %30, align 8
  %243 = trunc nsw i64 %indvars.iv204 to i32
  %.sroa.9.0.insert.ext50.us = shl i64 %indvars.iv204, 32
  %.sroa.032.0.insert.insert41.us = or disjoint i64 %.sroa.9.0.insert.ext50.us, %.sroa.032.0.insert.ext39.us
  %244 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.024.0.copyload.us, i64 %.sroa.032.0.insert.insert41.us)
  %.sroa.021.0.copyload.us = load i64, ptr %31, align 8
  %245 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.032.0.insert.insert41.us, i64 %.sroa.021.0.copyload.us)
  %.neg153.us = add i32 %242, %241
  %246 = add i32 %244, %245
  %247 = sub i32 %.neg153.us, %246
  %248 = getelementptr inbounds [200 x [200 x i32]], ptr @field, i64 0, i64 %indvars.iv207, i64 %indvars.iv204
  %249 = load i32, ptr %248, align 4, !tbaa !5
  %250 = icmp sgt i32 %249, -1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %40) #7
  br i1 %250, label %251, label %.critedge3.us

.critedge3.us:                                    ; preds = %240
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  br label %272

251:                                              ; preds = %240
  %252 = zext nneg i32 %249 to i64
  %253 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %252)
          to label %254 unwind label %.split.us

254:                                              ; preds = %251
  %255 = extractvalue { ptr, i64 } %253, 0
  store ptr %255, ptr %40, align 8
  %256 = extractvalue { ptr, i64 } %253, 1
  store i64 %256, ptr %129, align 8
  %257 = call noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %40) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  br i1 %257, label %258, label %272

258:                                              ; preds = %254
  %259 = add nsw i32 %249, -1
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %260) #7
  %.sroa.015.0.copyload.us = load i64, ptr %261, align 4
  %262 = add nuw nsw i32 %249, 1
  %263 = zext nneg i32 %262 to i64
  %264 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %263) #7
  %.sroa.013.0.copyload.us = load i64, ptr %264, align 4
  %265 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.015.0.copyload.us, i64 %.sroa.032.0.insert.insert41.us)
  %266 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.032.0.insert.insert41.us, i64 %.sroa.013.0.copyload.us)
  %.sroa.07.0.copyload.us = load i64, ptr %30, align 8
  %267 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.015.0.copyload.us, i64 %.sroa.07.0.copyload.us)
  %.sroa.06.0.copyload.us = load i64, ptr %30, align 8
  %268 = call noundef i32 @_Z4dist5pointS_(i64 %.sroa.06.0.copyload.us, i64 %.sroa.013.0.copyload.us)
  %.neg156.us = add i32 %265, %247
  %269 = add i32 %.neg156.us, %266
  %270 = add i32 %267, %268
  %271 = sub i32 %269, %270
  br label %272

272:                                              ; preds = %258, %254, %.critedge3.us
  %.0129.us = phi i32 [ %271, %258 ], [ %247, %254 ], [ %247, %.critedge3.us ]
  %273 = icmp slt i32 %.1122180.us, %.0129.us
  br i1 %273, label %274, label %275

274:                                              ; preds = %272
  br label %275

275:                                              ; preds = %274, %272
  %.2126.us = phi i32 [ %249, %274 ], [ %.1125177.us, %272 ]
  %.sroa.064.2.us = phi i32 [ %239, %274 ], [ %.sroa.064.1178.us, %272 ]
  %.sroa.6.2.us = phi i32 [ %243, %274 ], [ %.sroa.6.1179.us, %272 ]
  %.2123.us = phi i32 [ %.0129.us, %274 ], [ %.1122180.us, %272 ]
  %indvars.iv.next205 = add nsw i64 %indvars.iv204, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next205 to i32
  %exitcond.not = icmp eq i32 %233, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge182.us, label %240, !llvm.loop !18

._crit_edge182.us:                                ; preds = %275
  %indvars.iv.next208 = add nsw i64 %indvars.iv207, 1
  %lftr.wideiv210 = trunc i64 %indvars.iv.next208 to i32
  %exitcond211.not = icmp eq i32 %221, %lftr.wideiv210
  br i1 %exitcond211.not, label %._crit_edge191, label %.preheader.us, !llvm.loop !19

.split.us:                                        ; preds = %251
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %40) #7
  br label %305

._crit_edge191:                                   ; preds = %._crit_edge182.us, %200
  %.0124.lcssa = phi i32 [ -1, %200 ], [ %.2126.us, %._crit_edge182.us ]
  %.sroa.064.0.lcssa = phi i32 [ %.sroa.064.0.copyload, %200 ], [ %.sroa.064.2.us, %._crit_edge182.us ]
  %.sroa.6.0.lcssa = phi i32 [ %.sroa.6.0.copyload, %200 ], [ %.sroa.6.2.us, %._crit_edge182.us ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %41) #7
  %277 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorI5pointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) @V, i64 noundef %194) #7
  %.sroa.04.0.copyload = load i64, ptr %277, align 4
  %.sroa.6.0.insert.ext = zext i32 %.sroa.6.0.lcssa to i64
  %.sroa.6.0.insert.shift = shl nuw i64 %.sroa.6.0.insert.ext, 32
  %.sroa.064.0.insert.ext = zext i32 %.sroa.064.0.lcssa to i64
  %.sroa.064.0.insert.insert = or disjoint i64 %.sroa.6.0.insert.shift, %.sroa.064.0.insert.ext
  invoke void @_Z9make_swap5pointS_(ptr dead_on_unwind nonnull writable sret(%"class.std::tuple") align 4 %41, i64 %.sroa.04.0.copyload, i64 %.sroa.064.0.insert.insert)
          to label %280 unwind label %295

278:                                              ; preds = %191
  %279 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %29) #7
  br label %308

280:                                              ; preds = %._crit_edge191
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE9push_backEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(16) %41)
          to label %281 unwind label %295

281:                                              ; preds = %280
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %42) #7
  %282 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %194)
          to label %283 unwind label %297

283:                                              ; preds = %281
  %284 = extractvalue { ptr, i64 } %282, 0
  store ptr %284, ptr %42, align 8
  %285 = extractvalue { ptr, i64 } %282, 1
  store i64 %285, ptr %130, align 8
  %286 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %42, i1 noundef zeroext false) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #7
  %287 = icmp sgt i32 %.0124.lcssa, -1
  br i1 %287, label %288, label %301

288:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #7
  %289 = zext nneg i32 %.0124.lcssa to i64
  %290 = invoke { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40) %13, i64 noundef %289)
          to label %291 unwind label %299

291:                                              ; preds = %288
  %292 = extractvalue { ptr, i64 } %290, 0
  store ptr %292, ptr %43, align 8
  %293 = extractvalue { ptr, i64 } %290, 1
  store i64 %293, ptr %131, align 8
  %294 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %43, i1 noundef zeroext false) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  br label %301

295:                                              ; preds = %280, %._crit_edge191
  %296 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %41) #7
  br label %305

297:                                              ; preds = %281
  %298 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %42) #7
  br label %305

299:                                              ; preds = %288
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  br label %305

301:                                              ; preds = %291, %283
  %302 = call noundef i64 @_ZNKSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %303 = trunc i64 %302 to i32
  %304 = load i32, ptr @K, align 4, !tbaa !5
  %.not = icmp sgt i32 %304, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br i1 %.not, label %.thread, label %._crit_edge200

305:                                              ; preds = %299, %297, %295, %.split.us
  %.pn = phi { ptr, i32 } [ %276, %.split.us ], [ %300, %299 ], [ %298, %297 ], [ %296, %295 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #7
  br label %308

.thread:                                          ; preds = %301, %196
  %306 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  %307 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br i1 %307, label %191, label %._crit_edge200

308:                                              ; preds = %305, %278
  %.pn.pn = phi { ptr, i32 } [ %.pn, %305 ], [ %279, %278 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  br label %315

._crit_edge200:                                   ; preds = %.thread, %301, %._crit_edge175
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  invoke void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %309 unwind label %311

309:                                              ; preds = %._crit_edge200
  invoke void @_Z5flushSt6vectorISt5tupleIJ5pointS1_EESaIS2_EE(ptr noundef nonnull %44)
          to label %310 unwind label %313

310:                                              ; preds = %309
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @_ZNSt6vectorI5pointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #7
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  ret i32 0

311:                                              ; preds = %._crit_edge200
  %312 = landingpad { ptr, i32 }
          cleanup
  br label %315

313:                                              ; preds = %309
  %314 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  br label %315

315:                                              ; preds = %313, %311, %308, %190
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %190 ], [ %.pn.pn, %308 ], [ %314, %313 ], [ %312, %311 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #7
  call void @_ZNSt6vectorI5pointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %316

316:                                              ; preds = %315, %136
  %.pn137.pn.pn = phi { ptr, i32 } [ %.pn137.pn, %315 ], [ %137, %136 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  call void @_ZNSt13_Bvector_baseISaIbEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  br label %317

317:                                              ; preds = %316, %134
  %.pn137.pn.pn.pn = phi { ptr, i32 } [ %.pn137.pn.pn, %316 ], [ %135, %134 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #7
  br label %318

318:                                              ; preds = %317, %132, %107
  %.pn142 = phi { ptr, i32 } [ %108, %107 ], [ %.pn137.pn.pn.pn, %317 ], [ %133, %132 ]
  call void @_ZNSt6vectorISt5tupleIJiiEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  br label %319

319:                                              ; preds = %318, %95
  %.pn144 = phi { ptr, i32 } [ %96, %95 ], [ %.pn142, %318 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #7
  br label %320

320:                                              ; preds = %319, %84, %82
  %.pn144.pn = phi { ptr, i32 } [ %.pn144, %319 ], [ %85, %84 ], [ %83, %82 ]
  call void @_ZNSt6vectorISt5tupleIJ5pointS1_EESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn144.pn
}

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 #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZSt10make_tupleIJRiS0_EESt5tupleIJDpNSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeEEEDpOS4_(ptr dead_on_unwind noalias writable sret(%"class.std::tuple.17") align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #5

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3getILm1EJiiEERNSt13tuple_elementIXT_ESt5tupleIJDpT0_EEE4typeERS4_(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i64 } @_ZNSt6vectorIbSaIbEEixEm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14_Bit_referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt14_Bit_referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt5tupleIJiiEESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

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

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

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

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

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"_ZTS5point", !6, i64 0, !6, i64 4}
!11 = !{!10, !6, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = !{!17, !17, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = distinct !{!18, !13}
!19 = distinct !{!19, !13}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass