; LLVM IR from tangjz/acm-icpc :: codeforces/gym/101955D.ll (Z5solvei)

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

%struct.Edge = type { i32, i32, i32 }
%struct.Point = type { i32, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

@tot = external dso_local global i32, align 4
@lnk0 = external dso_local global [400001 x i32], align 16
@lnk1 = external dso_local global [400001 x i32], align 16
@ord = external dso_local global [400001 x i32], align 16
@fa = external dso_local global [400001 x i32], align 16
@e = external dso_local global [800003 x %struct.Edge], align 16
@ban = external dso_local global [400001 x i8], align 16
@_ZZ5solveiE5depth = external hidden global i32, align 4
@_ZZ5solveiE2sz = external hidden global [400001 x i32], align 16
@__const._Z5solvei.adt = external hidden unnamed_addr constant %struct.Point, align 8

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3bfsii(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13minkowski_sumRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3bfsii5Point(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, i32 noundef, i32 noundef, i32, i64) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvei(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, i32 noundef %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i1, align 1
  %6 = alloca %struct.Point, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %struct.Point, align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.Point, align 8
  %24 = alloca i32, align 4
  %25 = alloca %struct.Point, align 8
  %26 = alloca %"class.std::vector.0", align 8
  %27 = alloca %"class.std::vector.0", align 8
  %28 = alloca %"class.std::vector.0", align 8
  %29 = alloca %"class.std::vector.0", align 8
  %30 = alloca %struct.Point, align 8
  %31 = alloca %"class.std::vector.0", align 8
  %32 = alloca %struct.Point, align 8
  %33 = alloca %"class.std::vector.0", align 8
  %34 = alloca %"class.std::vector.0", align 8
  %35 = alloca %"class.std::vector.0", align 8
  %36 = alloca %"class.std::vector.0", align 8
  store ptr %0, ptr %3, align 8
  store i32 %1, ptr %4, align 4, !tbaa !5
  %37 = load i32, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  %38 = add nsw i32 %37, 1
  store i32 %38, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  %39 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z3bfsii(i32 noundef %39, i32 noundef -1)
  %40 = load i32, ptr @tot, align 4, !tbaa !5
  %41 = icmp eq i32 %40, 1
  br i1 %41, label %42, label %53

42:                                               ; preds = %2
  store i1 false, ptr %5, align 1
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #5
  %43 = getelementptr inbounds %struct.Point, ptr %6, i32 0, i32 0
  store i32 0, ptr %43, align 8, !tbaa !9
  %44 = getelementptr inbounds %struct.Point, ptr %6, i32 0, i32 1
  store i64 0, ptr %44, align 8, !tbaa !12
  invoke void @_ZNSt6vectorI5PointSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %6)
          to label %45 unwind label %47

45:                                               ; preds = %42
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  store i1 true, ptr %5, align 1
  %46 = load i1, ptr %5, align 1
  br i1 %46, label %52, label %51

47:                                               ; preds = %42
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %7, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %336

51:                                               ; preds = %45
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %52

52:                                               ; preds = %51, %45
  br label %335

53:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %54 = load i32, ptr @tot, align 4, !tbaa !5
  store i32 %54, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %55 = load i32, ptr @tot, align 4, !tbaa !5
  store i32 %55, ptr %10, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %182, %53
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = icmp sgt i32 %57, 1
  br i1 %58, label %60, label %59

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

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %61 = load i32, ptr %10, align 4, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !5
  store i32 %64, ptr %12, align 4, !tbaa !5
  %65 = load i32, ptr %12, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %66
  store i32 1, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %68 = load i32, ptr %12, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [400001 x i32], ptr @lnk0, i64 0, i64 %69
  %71 = load i32, ptr %70, align 4, !tbaa !5
  store i32 %71, ptr %13, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %109, %60
  %73 = load i32, ptr %13, align 4, !tbaa !5
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %76, label %75

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

76:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %77 = load i32, ptr %13, align 4, !tbaa !5
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %78
  %80 = getelementptr inbounds %struct.Edge, ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !13
  store i32 %81, ptr %14, align 4, !tbaa !5
  %82 = load i32, ptr %14, align 4, !tbaa !5
  %83 = load i32, ptr %12, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = icmp eq i32 %82, %86
  br i1 %87, label %95, label %88

88:                                               ; preds = %76
  %89 = load i32, ptr %13, align 4, !tbaa !5
  %90 = ashr i32 %89, 1
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %91
  %93 = load i8, ptr %92, align 1, !tbaa !15, !range !17, !noundef !18
  %94 = trunc i8 %93 to i1
  br i1 %94, label %95, label %96

95:                                               ; preds = %88, %76
  store i32 7, ptr %11, align 4
  br label %106

96:                                               ; preds = %88
  %97 = load i32, ptr %14, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %98
  %100 = load i32, ptr %99, align 4, !tbaa !5
  %101 = load i32, ptr %12, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %102
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = add nsw i32 %104, %100
  store i32 %105, ptr %103, align 4, !tbaa !5
  store i32 0, ptr %11, align 4
  br label %106

106:                                              ; preds = %96, %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  %107 = load i32, ptr %11, align 4
  switch i32 %107, label %341 [
    i32 0, label %108
    i32 7, label %109
  ]

108:                                              ; preds = %106
  br label %109

109:                                              ; preds = %108, %106
  %110 = load i32, ptr %13, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %111
  %113 = getelementptr inbounds %struct.Edge, ptr %112, i32 0, i32 0
  %114 = load i32, ptr %113, align 4, !tbaa !19
  store i32 %114, ptr %13, align 4, !tbaa !5
  br label %72, !llvm.loop !20

115:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %116 = load i32, ptr %12, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %117
  %119 = load i32, ptr %118, align 4, !tbaa !5
  store i32 %119, ptr %15, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %157, %115
  %121 = load i32, ptr %15, align 4, !tbaa !5
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  store i32 8, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %163

124:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %125 = load i32, ptr %15, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %126
  %128 = getelementptr inbounds %struct.Edge, ptr %127, i32 0, i32 1
  %129 = load i32, ptr %128, align 4, !tbaa !13
  store i32 %129, ptr %16, align 4, !tbaa !5
  %130 = load i32, ptr %16, align 4, !tbaa !5
  %131 = load i32, ptr %12, align 4, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %132
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = icmp eq i32 %130, %134
  br i1 %135, label %143, label %136

136:                                              ; preds = %124
  %137 = load i32, ptr %15, align 4, !tbaa !5
  %138 = ashr i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %139
  %141 = load i8, ptr %140, align 1, !tbaa !15, !range !17, !noundef !18
  %142 = trunc i8 %141 to i1
  br i1 %142, label %143, label %144

143:                                              ; preds = %136, %124
  store i32 10, ptr %11, align 4
  br label %154

144:                                              ; preds = %136
  %145 = load i32, ptr %16, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %146
  %148 = load i32, ptr %147, align 4, !tbaa !5
  %149 = load i32, ptr %12, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = add nsw i32 %152, %148
  store i32 %153, ptr %151, align 4, !tbaa !5
  store i32 0, ptr %11, align 4
  br label %154

154:                                              ; preds = %144, %143
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %155 = load i32, ptr %11, align 4
  switch i32 %155, label %341 [
    i32 0, label %156
    i32 10, label %157
  ]

156:                                              ; preds = %154
  br label %157

157:                                              ; preds = %156, %154
  %158 = load i32, ptr %15, align 4, !tbaa !5
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %159
  %161 = getelementptr inbounds %struct.Edge, ptr %160, i32 0, i32 0
  %162 = load i32, ptr %161, align 4, !tbaa !19
  store i32 %162, ptr %15, align 4, !tbaa !5
  br label %120, !llvm.loop !22

163:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %164 = load i32, ptr %12, align 4, !tbaa !5
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %165
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %167 = load i32, ptr @tot, align 4, !tbaa !5
  %168 = load i32, ptr %12, align 4, !tbaa !5
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %169
  %171 = load i32, ptr %170, align 4, !tbaa !5
  %172 = sub nsw i32 %167, %171
  store i32 %172, ptr %18, align 4, !tbaa !5
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %166, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %174 = load i32, ptr %173, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  store i32 %174, ptr %17, align 4, !tbaa !5
  %175 = load i32, ptr %17, align 4, !tbaa !5
  %176 = load i32, ptr %9, align 4, !tbaa !5
  %177 = icmp slt i32 %175, %176
  br i1 %177, label %178, label %181

178:                                              ; preds = %163
  %179 = load i32, ptr %17, align 4, !tbaa !5
  store i32 %179, ptr %9, align 4, !tbaa !5
  %180 = load i32, ptr %12, align 4, !tbaa !5
  store i32 %180, ptr %4, align 4, !tbaa !5
  br label %181

181:                                              ; preds = %178, %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %182

182:                                              ; preds = %181
  %183 = load i32, ptr %10, align 4, !tbaa !5
  %184 = add nsw i32 %183, -1
  store i32 %184, ptr %10, align 4, !tbaa !5
  br label %56, !llvm.loop !23

185:                                              ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %186 = load i32, ptr %4, align 4, !tbaa !5
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %187
  %189 = load i32, ptr %188, align 4, !tbaa !5
  store i32 %189, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %190 = load i32, ptr %4, align 4, !tbaa !5
  store i32 %190, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 @__const._Z5solvei.adt, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  %191 = load i32, ptr %19, align 4, !tbaa !5
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [400001 x i32], ptr @lnk0, i64 0, i64 %192
  %194 = load i32, ptr %193, align 4, !tbaa !5
  store i32 %194, ptr %22, align 4, !tbaa !5
  br label %195

195:                                              ; preds = %227, %185
  %196 = getelementptr inbounds %struct.Point, ptr %21, i32 0, i32 0
  %197 = load i32, ptr %196, align 8, !tbaa !9
  %198 = icmp eq i32 %197, -1
  br i1 %198, label %199, label %202

199:                                              ; preds = %195
  %200 = load i32, ptr %22, align 4, !tbaa !5
  %201 = icmp ne i32 %200, 0
  br label %202

202:                                              ; preds = %199, %195
  %203 = phi i1 [ false, %195 ], [ %201, %199 ]
  br i1 %203, label %205, label %204

204:                                              ; preds = %202
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %233

205:                                              ; preds = %202
  %206 = load i32, ptr %22, align 4, !tbaa !5
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %207
  %209 = getelementptr inbounds %struct.Edge, ptr %208, i32 0, i32 1
  %210 = load i32, ptr %209, align 4, !tbaa !13
  %211 = load i32, ptr %20, align 4, !tbaa !5
  %212 = icmp eq i32 %210, %211
  br i1 %212, label %213, label %226

213:                                              ; preds = %205
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  %214 = getelementptr inbounds %struct.Point, ptr %23, i32 0, i32 0
  store i32 0, ptr %214, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.Point, ptr %23, i32 0, i32 1
  %216 = load i32, ptr %22, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %217
  %219 = getelementptr inbounds %struct.Edge, ptr %218, i32 0, i32 2
  %220 = load i32, ptr %219, align 4, !tbaa !24
  %221 = sext i32 %220 to i64
  store i64 %221, ptr %215, align 8, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %23, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  %222 = load i32, ptr %22, align 4, !tbaa !5
  %223 = ashr i32 %222, 1
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %224
  store i8 1, ptr %225, align 1, !tbaa !15
  br label %226

226:                                              ; preds = %213, %205
  br label %227

227:                                              ; preds = %226
  %228 = load i32, ptr %22, align 4, !tbaa !5
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %229
  %231 = getelementptr inbounds %struct.Edge, ptr %230, i32 0, i32 0
  %232 = load i32, ptr %231, align 4, !tbaa !19
  store i32 %232, ptr %22, align 4, !tbaa !5
  br label %195, !llvm.loop !27

233:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %234 = load i32, ptr %19, align 4, !tbaa !5
  %235 = sext i32 %234 to i64
  %236 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %235
  %237 = load i32, ptr %236, align 4, !tbaa !5
  store i32 %237, ptr %24, align 4, !tbaa !5
  br label %238

238:                                              ; preds = %270, %233
  %239 = getelementptr inbounds %struct.Point, ptr %21, i32 0, i32 0
  %240 = load i32, ptr %239, align 8, !tbaa !9
  %241 = icmp eq i32 %240, -1
  br i1 %241, label %242, label %245

242:                                              ; preds = %238
  %243 = load i32, ptr %24, align 4, !tbaa !5
  %244 = icmp ne i32 %243, 0
  br label %245

245:                                              ; preds = %242, %238
  %246 = phi i1 [ false, %238 ], [ %244, %242 ]
  br i1 %246, label %248, label %247

247:                                              ; preds = %245
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  br label %276

248:                                              ; preds = %245
  %249 = load i32, ptr %24, align 4, !tbaa !5
  %250 = sext i32 %249 to i64
  %251 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %250
  %252 = getelementptr inbounds %struct.Edge, ptr %251, i32 0, i32 1
  %253 = load i32, ptr %252, align 4, !tbaa !13
  %254 = load i32, ptr %20, align 4, !tbaa !5
  %255 = icmp eq i32 %253, %254
  br i1 %255, label %256, label %269

256:                                              ; preds = %248
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #5
  %257 = getelementptr inbounds %struct.Point, ptr %25, i32 0, i32 0
  store i32 1, ptr %257, align 8, !tbaa !9
  %258 = getelementptr inbounds %struct.Point, ptr %25, i32 0, i32 1
  %259 = load i32, ptr %24, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %260
  %262 = getelementptr inbounds %struct.Edge, ptr %261, i32 0, i32 2
  %263 = load i32, ptr %262, align 4, !tbaa !24
  %264 = sext i32 %263 to i64
  store i64 %264, ptr %258, align 8, !tbaa !12
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %25, i64 16, i1 false), !tbaa.struct !25
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #5
  %265 = load i32, ptr %24, align 4, !tbaa !5
  %266 = ashr i32 %265, 1
  %267 = sext i32 %266 to i64
  %268 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %267
  store i8 1, ptr %268, align 1, !tbaa !15
  br label %269

269:                                              ; preds = %256, %248
  br label %270

270:                                              ; preds = %269
  %271 = load i32, ptr %24, align 4, !tbaa !5
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %272
  %274 = getelementptr inbounds %struct.Edge, ptr %273, i32 0, i32 0
  %275 = load i32, ptr %274, align 4, !tbaa !19
  store i32 %275, ptr %24, align 4, !tbaa !5
  br label %238, !llvm.loop !28

276:                                              ; preds = %247
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #5
  %277 = load i32, ptr %19, align 4, !tbaa !5
  %278 = getelementptr inbounds %struct.Point, ptr %30, i32 0, i32 0
  store i32 0, ptr %278, align 8, !tbaa !9
  %279 = getelementptr inbounds %struct.Point, ptr %30, i32 0, i32 1
  store i64 0, ptr %279, align 8, !tbaa !12
  %280 = getelementptr inbounds { i32, i64 }, ptr %30, i32 0, i32 0
  %281 = load i32, ptr %280, align 8
  %282 = getelementptr inbounds { i32, i64 }, ptr %30, i32 0, i32 1
  %283 = load i64, ptr %282, align 8
  invoke void @_Z3bfsii5Point(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %29, i32 noundef %277, i32 noundef -1, i32 %281, i64 %283)
          to label %284 unwind label %306

284:                                              ; preds = %276
  %285 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #5
  %286 = load i32, ptr %20, align 4, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %32, ptr align 8 %21, i64 16, i1 false), !tbaa.struct !25
  %287 = getelementptr inbounds { i32, i64 }, ptr %32, i32 0, i32 0
  %288 = load i32, ptr %287, align 8
  %289 = getelementptr inbounds { i32, i64 }, ptr %32, i32 0, i32 1
  %290 = load i64, ptr %289, align 8
  invoke void @_Z3bfsii5Point(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %31, i32 noundef %286, i32 noundef -1, i32 %288, i64 %290)
          to label %291 unwind label %310

291:                                              ; preds = %284
  %292 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #5
  invoke void @_Z13minkowski_sumRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %33, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %293 unwind label %314

293:                                              ; preds = %291
  %294 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #5
  %295 = load i32, ptr %19, align 4, !tbaa !5
  invoke void @_Z5solvei(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %34, i32 noundef %295)
          to label %296 unwind label %318

296:                                              ; preds = %293
  %297 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #5
  %298 = load i32, ptr %20, align 4, !tbaa !5
  invoke void @_Z5solvei(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %35, i32 noundef %298)
          to label %299 unwind label %322

299:                                              ; preds = %296
  %300 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #5
  invoke void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %36, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %28)
          to label %301 unwind label %326

301:                                              ; preds = %299
  %302 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #5
  %303 = load i32, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  %304 = add nsw i32 %303, -1
  store i32 %304, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  invoke void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %305 unwind label %330

305:                                              ; preds = %301
  store i32 1, ptr %11, align 4
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %335

306:                                              ; preds = %276
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %7, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #5
  br label %334

310:                                              ; preds = %284
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %7, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #5
  br label %334

314:                                              ; preds = %291
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %7, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  br label %334

318:                                              ; preds = %293
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %7, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #5
  br label %334

322:                                              ; preds = %296
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %7, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  br label %334

326:                                              ; preds = %299
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %7, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #5
  br label %334

330:                                              ; preds = %301
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %7, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %8, align 4
  br label %334

334:                                              ; preds = %330, %326, %322, %318, %314, %310, %306
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %336

335:                                              ; preds = %305, %52
  ret void

336:                                              ; preds = %334, %47
  %337 = load ptr, ptr %7, align 8
  %338 = load i32, ptr %8, align 4
  %339 = insertvalue { ptr, i32 } poison, ptr %337, 0
  %340 = insertvalue { ptr, i32 } %339, i32 %338, 1
  resume { ptr, i32 } %340

341:                                              ; preds = %154, %106
  unreachable
}

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

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

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


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

%struct.Edge = type { i32, i32, i32 }
%struct.Point = type { i32, i64 }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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 }

@tot = external dso_local local_unnamed_addr global i32, align 4
@lnk0 = external dso_local local_unnamed_addr global [400001 x i32], align 16
@lnk1 = external dso_local local_unnamed_addr global [400001 x i32], align 16
@ord = external dso_local local_unnamed_addr global [400001 x i32], align 16
@fa = external dso_local local_unnamed_addr global [400001 x i32], align 16
@e = external dso_local local_unnamed_addr global [800003 x %struct.Edge], align 16
@ban = external dso_local local_unnamed_addr global [400001 x i8], align 16
@_ZZ5solveiE5depth = external hidden local_unnamed_addr global i32, align 4
@_ZZ5solveiE2sz = external hidden global [400001 x i32], align 16
@__const._Z5solvei.adt = external hidden unnamed_addr constant %struct.Point, align 8

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3bfsii(i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z13minkowski_sumRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3bfsii5Point(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8, i32 noundef, i32 noundef, i32, i64) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvei(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, i32 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.Point, align 8
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector.0", align 8
  %6 = alloca %"class.std::vector.0", align 8
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca %"class.std::vector.0", align 8
  %9 = alloca %"class.std::vector.0", align 8
  %10 = alloca %"class.std::vector.0", align 8
  %11 = alloca %"class.std::vector.0", align 8
  %12 = alloca %"class.std::vector.0", align 8
  %13 = alloca %"class.std::vector.0", align 8
  %14 = load i32, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  tail call void @_Z3bfsii(i32 noundef %1, i32 noundef -1)
  %16 = load i32, ptr @tot, align 4, !tbaa !5
  %17 = icmp eq i32 %16, 1
  br i1 %17, label %20, label %.preheader

.preheader:                                       ; preds = %2
  %18 = icmp sgt i32 %16, 1
  br i1 %18, label %.lr.ph93.preheader, label %._crit_edge94

.lr.ph93.preheader:                               ; preds = %.preheader
  %19 = zext nneg i32 %16 to i64
  br label %.lr.ph93

20:                                               ; preds = %2
  tail call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  store i32 0, ptr %3, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 0, ptr %21, align 8, !tbaa !12
  invoke void @_ZNSt6vectorI5PointSaIS0_EE9push_backEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %3)
          to label %22 unwind label %23

22:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  br label %142

23:                                               ; preds = %20
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %143

._crit_edge94:                                    ; preds = %._crit_edge89, %.preheader
  %.0.lcssa = phi i32 [ %1, %.preheader ], [ %spec.select80, %._crit_edge89 ]
  %25 = sext i32 %.0.lcssa to i64
  %26 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %.sroa.018.0.copyload = load i32, ptr @__const._Z5solvei.adt, align 8
  %.sroa.12.0.copyload = load i64, ptr getelementptr inbounds (i8, ptr @__const._Z5solvei.adt, i64 8), align 8
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [400001 x i32], ptr @lnk0, i64 0, i64 %28
  %.07195 = load i32, ptr %29, align 4, !tbaa !5
  %30 = icmp eq i32 %.sroa.018.0.copyload, -1
  %31 = icmp ne i32 %.07195, 0
  %32 = select i1 %30, i1 %31, i1 false
  br i1 %32, label %.lr.ph99, label %._crit_edge100

.lr.ph93:                                         ; preds = %.lr.ph93.preheader, %._crit_edge89
  %indvars.iv = phi i64 [ %19, %.lr.ph93.preheader ], [ %indvars.iv.next, %._crit_edge89 ]
  %.092 = phi i32 [ %1, %.lr.ph93.preheader ], [ %spec.select80, %._crit_edge89 ]
  %.06591 = phi i32 [ %16, %.lr.ph93.preheader ], [ %spec.select, %._crit_edge89 ]
  %33 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %indvars.iv
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %35
  store i32 1, ptr %36, align 4, !tbaa !5
  %37 = getelementptr inbounds [400001 x i32], ptr @lnk0, i64 0, i64 %35
  %.06881 = load i32, ptr %37, align 4, !tbaa !5
  %.not82 = icmp eq i32 %.06881, 0
  br i1 %.not82, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph93
  %38 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %35
  %39 = load i32, ptr %38, align 4, !tbaa !5
  br label %44

._crit_edge:                                      ; preds = %62, %.lr.ph93
  %40 = phi i32 [ 1, %.lr.ph93 ], [ %63, %62 ]
  %41 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %35
  %.07084 = load i32, ptr %41, align 4, !tbaa !5
  %.not7785 = icmp eq i32 %.07084, 0
  br i1 %.not7785, label %._crit_edge89, label %.lr.ph88

.lr.ph88:                                         ; preds = %._crit_edge
  %42 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %35
  %43 = load i32, ptr %42, align 4, !tbaa !5
  br label %71

44:                                               ; preds = %.lr.ph, %62
  %45 = phi i32 [ 1, %.lr.ph ], [ %63, %62 ]
  %.06883 = phi i32 [ %.06881, %.lr.ph ], [ %.068, %62 ]
  %46 = sext i32 %.06883 to i64
  %47 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %46
  %48 = getelementptr inbounds i8, ptr %47, i64 4
  %49 = load i32, ptr %48, align 4, !tbaa !13
  %50 = icmp eq i32 %49, %39
  br i1 %50, label %62, label %51

51:                                               ; preds = %44
  %52 = ashr i32 %.06883, 1
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !15, !range !17, !noundef !18
  %56 = trunc nuw i8 %55 to i1
  br i1 %56, label %62, label %57

57:                                               ; preds = %51
  %58 = sext i32 %49 to i64
  %59 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = add nsw i32 %45, %60
  store i32 %61, ptr %36, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %44, %51, %57
  %63 = phi i32 [ %45, %44 ], [ %45, %51 ], [ %61, %57 ]
  %.068 = load i32, ptr %47, align 4, !tbaa !5
  %.not = icmp eq i32 %.068, 0
  br i1 %.not, label %._crit_edge, label %44, !llvm.loop !19

._crit_edge89:                                    ; preds = %89, %._crit_edge
  %64 = phi i32 [ %40, %._crit_edge ], [ %90, %89 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %65 = load i32, ptr @tot, align 4, !tbaa !5
  %66 = sub nsw i32 %65, %64
  store i32 %66, ptr %4, align 4, !tbaa !5
  %67 = 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) %4)
  %68 = load i32, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  %69 = icmp slt i32 %68, %.06591
  %spec.select = call i32 @llvm.smin.i32(i32 %68, i32 %.06591)
  %spec.select80 = select i1 %69, i32 %34, i32 %.092
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %70 = icmp sgt i64 %indvars.iv, 2
  br i1 %70, label %.lr.ph93, label %._crit_edge94, !llvm.loop !21

71:                                               ; preds = %.lr.ph88, %89
  %72 = phi i32 [ %40, %.lr.ph88 ], [ %90, %89 ]
  %.07086 = phi i32 [ %.07084, %.lr.ph88 ], [ %.070, %89 ]
  %73 = sext i32 %.07086 to i64
  %74 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %73
  %75 = getelementptr inbounds i8, ptr %74, i64 4
  %76 = load i32, ptr %75, align 4, !tbaa !13
  %77 = icmp eq i32 %76, %43
  br i1 %77, label %89, label %78

78:                                               ; preds = %71
  %79 = ashr i32 %.07086, 1
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %80
  %82 = load i8, ptr %81, align 1, !tbaa !15, !range !17, !noundef !18
  %83 = trunc nuw i8 %82 to i1
  br i1 %83, label %89, label %84

84:                                               ; preds = %78
  %85 = sext i32 %76 to i64
  %86 = getelementptr inbounds [400001 x i32], ptr @_ZZ5solveiE2sz, i64 0, i64 %85
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = add nsw i32 %72, %87
  store i32 %88, ptr %36, align 4, !tbaa !5
  br label %89

89:                                               ; preds = %71, %78, %84
  %90 = phi i32 [ %72, %71 ], [ %72, %78 ], [ %88, %84 ]
  %.070 = load i32, ptr %74, align 4, !tbaa !5
  %.not77 = icmp eq i32 %.070, 0
  br i1 %.not77, label %._crit_edge89, label %71, !llvm.loop !22

._crit_edge100:                                   ; preds = %99, %._crit_edge94
  %.sroa.018.0.lcssa = phi i32 [ %.sroa.018.0.copyload, %._crit_edge94 ], [ -1, %99 ]
  %91 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %28
  %.069103 = load i32, ptr %91, align 4, !tbaa !5
  %92 = icmp eq i32 %.sroa.018.0.lcssa, -1
  %93 = icmp ne i32 %.069103, 0
  %94 = select i1 %92, i1 %93, i1 false
  br i1 %94, label %.lr.ph107, label %._crit_edge108

.lr.ph99:                                         ; preds = %._crit_edge94, %99
  %.07197 = phi i32 [ %.071, %99 ], [ %.07195, %._crit_edge94 ]
  %95 = sext i32 %.07197 to i64
  %96 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %95
  %97 = getelementptr inbounds i8, ptr %96, i64 4
  %98 = load i32, ptr %97, align 4, !tbaa !13
  %.not131 = icmp eq i32 %98, %.0.lcssa
  br i1 %.not131, label %._crit_edge108.sink.split, label %99

99:                                               ; preds = %.lr.ph99
  %.071 = load i32, ptr %96, align 4, !tbaa !5
  %.not132 = icmp eq i32 %.071, 0
  br i1 %.not132, label %._crit_edge100, label %.lr.ph99, !llvm.loop !23

._crit_edge108.sink.split:                        ; preds = %.lr.ph99, %.lr.ph107
  %100 = phi i64 [ %107, %.lr.ph107 ], [ %95, %.lr.ph99 ]
  %.07197.lcssa.sink = phi i32 [ %.069105, %.lr.ph107 ], [ %.07197, %.lr.ph99 ]
  %.sroa.018.2.lcssa.ph = phi i32 [ 1, %.lr.ph107 ], [ 0, %.lr.ph99 ]
  %101 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %100, i32 2
  %102 = load i32, ptr %101, align 4, !tbaa !24
  %103 = sext i32 %102 to i64
  %104 = ashr i32 %.07197.lcssa.sink, 1
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %105
  store i8 1, ptr %106, align 1, !tbaa !15
  br label %._crit_edge108

._crit_edge108:                                   ; preds = %111, %._crit_edge108.sink.split, %._crit_edge100
  %.sroa.018.2.lcssa = phi i32 [ %.sroa.018.0.lcssa, %._crit_edge100 ], [ %.sroa.018.2.lcssa.ph, %._crit_edge108.sink.split ], [ -1, %111 ]
  %.sroa.12.2.lcssa = phi i64 [ %.sroa.12.0.copyload, %._crit_edge100 ], [ %103, %._crit_edge108.sink.split ], [ %.sroa.12.0.copyload, %111 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  invoke void @_Z3bfsii5Point(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %8, i32 noundef %27, i32 noundef -1, i32 0, i64 0)
          to label %112 unwind label %127

.lr.ph107:                                        ; preds = %._crit_edge100, %111
  %.069105 = phi i32 [ %.069, %111 ], [ %.069103, %._crit_edge100 ]
  %107 = sext i32 %.069105 to i64
  %108 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %107
  %109 = getelementptr inbounds i8, ptr %108, i64 4
  %110 = load i32, ptr %109, align 4, !tbaa !13
  %.not133 = icmp eq i32 %110, %.0.lcssa
  br i1 %.not133, label %._crit_edge108.sink.split, label %111

111:                                              ; preds = %.lr.ph107
  %.069 = load i32, ptr %108, align 4, !tbaa !5
  %.not134 = icmp eq i32 %.069, 0
  br i1 %.not134, label %._crit_edge108, label %.lr.ph107, !llvm.loop !25

112:                                              ; preds = %._crit_edge108
  %113 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #5
  invoke void @_Z3bfsii5Point(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %9, i32 noundef %.0.lcssa, i32 noundef -1, i32 %.sroa.018.2.lcssa, i64 %.sroa.12.2.lcssa)
          to label %114 unwind label %129

114:                                              ; preds = %112
  %115 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #5
  invoke void @_Z13minkowski_sumRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %10, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %116 unwind label %131

116:                                              ; preds = %114
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  invoke void @_Z5solvei(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %11, i32 noundef %27)
          to label %118 unwind label %133

118:                                              ; preds = %116
  %119 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  invoke void @_Z5solvei(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %12, i32 noundef %.0.lcssa)
          to label %120 unwind label %135

120:                                              ; preds = %118
  %121 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #5
  invoke void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.0") align 8 %13, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %122 unwind label %137

122:                                              ; preds = %120
  %123 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI5PointSaIS0_EEaSEOS2_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  %124 = load i32, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  %125 = add nsw i32 %124, -1
  store i32 %125, ptr @_ZZ5solveiE5depth, align 4, !tbaa !5
  invoke void @_Z12convex_mergeRSt6vectorI5PointSaIS0_EES3_(ptr dead_on_unwind writable sret(%"class.std::vector.0") align 8 %0, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %126 unwind label %139

126:                                              ; preds = %122
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %142

127:                                              ; preds = %._crit_edge108
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  br label %141

129:                                              ; preds = %112
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #5
  br label %141

131:                                              ; preds = %114
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #5
  br label %141

133:                                              ; preds = %116
  %134 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  br label %141

135:                                              ; preds = %118
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  br label %141

137:                                              ; preds = %120
  %138 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  br label %141

139:                                              ; preds = %122
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %141

141:                                              ; preds = %139, %137, %135, %133, %131, %129, %127
  %.pn = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ], [ %136, %135 ], [ %134, %133 ], [ %132, %131 ], [ %130, %129 ], [ %128, %127 ]
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %143

142:                                              ; preds = %22, %126
  ret void

143:                                              ; preds = %141, %23
  %.pn78 = phi { ptr, i32 } [ %24, %23 ], [ %.pn, %141 ]
  resume { ptr, i32 } %.pn78
}

; 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 #3

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #4

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

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

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


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