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

; 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 }
%class.anon = type { i8 }

@tot = external dso_local global i32, align 4
@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
@_ZZ3bfsii5PointE3dis = external hidden global [400001 x %struct.Point], align 16

; 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 @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i32, i64 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

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

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

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

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

; 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
define dso_local void @_Z3bfsii5Point(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, i32 noundef %1, i32 noundef %2, i32 %3, i64 %4) #4 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %struct.Point, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %class.anon, align 1
  %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 %struct.Point, align 8
  %17 = alloca i32, align 4
  %18 = alloca i1, align 1
  %19 = alloca i32, align 4
  %20 = alloca %struct.Point, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca %struct.Point, align 8
  %24 = alloca %struct.Point, align 8
  store ptr %0, ptr %6, align 8
  %25 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 0
  store i32 %3, ptr %25, align 8
  %26 = getelementptr inbounds { i32, i64 }, ptr %7, i32 0, i32 1
  store i64 %4, ptr %26, align 8
  store i32 %1, ptr %8, align 4, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !5
  store i32 0, ptr @tot, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #5
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = load i32, ptr %8, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %29
  store i32 %27, ptr %30, align 4, !tbaa !5
  %31 = load i32, ptr %8, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %32
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %33, ptr align 8 %7, i64 16, i1 false), !tbaa.struct !9
  %34 = load i32, ptr %8, align 4, !tbaa !5
  call void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1) %10, i32 noundef %34)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 1, ptr %11, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %112, %5
  %36 = load i32, ptr %11, align 4, !tbaa !5
  %37 = load i32, ptr @tot, align 4, !tbaa !5
  %38 = icmp sle i32 %36, %37
  br i1 %38, label %40, label %39

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

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %41 = load i32, ptr %11, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  store i32 %44, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %45 = load i32, ptr %13, align 4, !tbaa !5
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !5
  store i32 %48, ptr %14, align 4, !tbaa !5
  br label %49

49:                                               ; preds = %105, %40
  %50 = load i32, ptr %14, align 4, !tbaa !5
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %53, label %52

52:                                               ; preds = %49
  store i32 5, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %111

53:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %54 = load i32, ptr %14, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %55
  %57 = getelementptr inbounds %struct.Edge, ptr %56, i32 0, i32 1
  %58 = load i32, ptr %57, align 4, !tbaa !12
  store i32 %58, ptr %15, align 4, !tbaa !5
  %59 = load i32, ptr %15, align 4, !tbaa !5
  %60 = load i32, ptr %13, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %61
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = icmp eq i32 %59, %63
  br i1 %64, label %72, label %65

65:                                               ; preds = %53
  %66 = load i32, ptr %14, align 4, !tbaa !5
  %67 = ashr i32 %66, 1
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %68
  %70 = load i8, ptr %69, align 1, !tbaa !14, !range !16, !noundef !17
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %73

72:                                               ; preds = %65, %53
  store i32 7, ptr %12, align 4
  br label %102

73:                                               ; preds = %65
  %74 = load i32, ptr %13, align 4, !tbaa !5
  %75 = load i32, ptr %15, align 4, !tbaa !5
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %76
  store i32 %74, ptr %77, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #5
  %78 = getelementptr inbounds %struct.Point, ptr %16, i32 0, i32 0
  %79 = load i32, ptr %13, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %80
  %82 = getelementptr inbounds %struct.Point, ptr %81, i32 0, i32 0
  %83 = load i32, ptr %82, align 16, !tbaa !18
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %78, align 8, !tbaa !18
  %85 = getelementptr inbounds %struct.Point, ptr %16, i32 0, i32 1
  %86 = load i32, ptr %13, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %87
  %89 = getelementptr inbounds %struct.Point, ptr %88, i32 0, i32 1
  %90 = load i64, ptr %89, align 8, !tbaa !20
  %91 = load i32, ptr %14, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %92
  %94 = getelementptr inbounds %struct.Edge, ptr %93, i32 0, i32 2
  %95 = load i32, ptr %94, align 4, !tbaa !21
  %96 = sext i32 %95 to i64
  %97 = add nsw i64 %90, %96
  store i64 %97, ptr %85, align 8, !tbaa !20
  %98 = load i32, ptr %15, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %99
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %100, ptr align 8 %16, i64 16, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #5
  %101 = load i32, ptr %15, align 4, !tbaa !5
  call void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1) %10, i32 noundef %101)
  store i32 0, ptr %12, align 4
  br label %102

102:                                              ; preds = %73, %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %103 = load i32, ptr %12, align 4
  switch i32 %103, label %224 [
    i32 0, label %104
    i32 7, label %105
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104, %102
  %106 = load i32, ptr %14, align 4, !tbaa !5
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %107
  %109 = getelementptr inbounds %struct.Edge, ptr %108, i32 0, i32 0
  %110 = load i32, ptr %109, align 4, !tbaa !22
  store i32 %110, ptr %14, align 4, !tbaa !5
  br label %49, !llvm.loop !23

111:                                              ; preds = %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %112

112:                                              ; preds = %111
  %113 = load i32, ptr %11, align 4, !tbaa !5
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %11, align 4, !tbaa !5
  br label %35, !llvm.loop !25

115:                                              ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  store i1 false, ptr %18, align 1
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 1, ptr %19, align 4, !tbaa !5
  br label %116

116:                                              ; preds = %211, %115
  %117 = load i32, ptr %19, align 4, !tbaa !5
  %118 = load i32, ptr @tot, align 4, !tbaa !5
  %119 = icmp sle i32 %117, %118
  br i1 %119, label %121, label %120

120:                                              ; preds = %116
  store i32 8, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %215

121:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #5
  %122 = load i32, ptr %19, align 4, !tbaa !5
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %19, align 4, !tbaa !5
  %124 = sext i32 %122 to i64
  %125 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %124
  %126 = load i32, ptr %125, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 16 %128, i64 16, i1 false), !tbaa.struct !9
  br label %129

129:                                              ; preds = %160, %121
  %130 = load i32, ptr %19, align 4, !tbaa !5
  %131 = load i32, ptr @tot, align 4, !tbaa !5
  %132 = icmp sle i32 %130, %131
  br i1 %132, label %133, label %145

133:                                              ; preds = %129
  %134 = load i32, ptr %19, align 4, !tbaa !5
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %135
  %137 = load i32, ptr %136, align 4, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %138
  %140 = getelementptr inbounds %struct.Point, ptr %139, i32 0, i32 0
  %141 = load i32, ptr %140, align 16, !tbaa !18
  %142 = getelementptr inbounds %struct.Point, ptr %20, i32 0, i32 0
  %143 = load i32, ptr %142, align 8, !tbaa !18
  %144 = icmp eq i32 %141, %143
  br label %145

145:                                              ; preds = %133, %129
  %146 = phi i1 [ false, %129 ], [ %144, %133 ]
  br i1 %146, label %147, label %167

147:                                              ; preds = %145
  %148 = getelementptr inbounds %struct.Point, ptr %20, i32 0, i32 1
  %149 = load i32, ptr %19, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %150
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %153
  %155 = getelementptr inbounds %struct.Point, ptr %154, i32 0, i32 1
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(8) %155)
          to label %157 unwind label %163

157:                                              ; preds = %147
  %158 = load i64, ptr %156, align 8, !tbaa !10
  %159 = getelementptr inbounds %struct.Point, ptr %20, i32 0, i32 1
  store i64 %158, ptr %159, align 8, !tbaa !20
  br label %160

160:                                              ; preds = %157
  %161 = load i32, ptr %19, align 4, !tbaa !5
  %162 = add nsw i32 %161, 1
  store i32 %162, ptr %19, align 4, !tbaa !5
  br label %129, !llvm.loop !26

163:                                              ; preds = %210, %147
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %21, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %22, align 4
  br label %214

167:                                              ; preds = %145
  br label %168

168:                                              ; preds = %198, %167
  %169 = load i32, ptr %17, align 4, !tbaa !5
  %170 = icmp sgt i32 %169, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #5
  br i1 %170, label %171, label %196

171:                                              ; preds = %168
  %172 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %173 = load i32, ptr %17, align 4, !tbaa !5
  %174 = sub nsw i32 %173, 2
  %175 = sext i32 %174 to i64
  %176 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %175) #5
  %177 = invoke { i32, i64 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %172, ptr noundef nonnull align 8 dereferenceable(16) %176)
          to label %178 unwind label %201

178:                                              ; preds = %171
  %179 = getelementptr inbounds { i32, i64 }, ptr %23, i32 0, i32 0
  %180 = extractvalue { i32, i64 } %177, 0
  store i32 %180, ptr %179, align 8
  %181 = getelementptr inbounds { i32, i64 }, ptr %23, i32 0, i32 1
  %182 = extractvalue { i32, i64 } %177, 1
  store i64 %182, ptr %181, align 8
  %183 = load i32, ptr %17, align 4, !tbaa !5
  %184 = sub nsw i32 %183, 2
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %185) #5
  %187 = invoke { i32, i64 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %186)
          to label %188 unwind label %205

188:                                              ; preds = %178
  %189 = getelementptr inbounds { i32, i64 }, ptr %24, i32 0, i32 0
  %190 = extractvalue { i32, i64 } %187, 0
  store i32 %190, ptr %189, align 8
  %191 = getelementptr inbounds { i32, i64 }, ptr %24, i32 0, i32 1
  %192 = extractvalue { i32, i64 } %187, 1
  store i64 %192, ptr %191, align 8
  %193 = invoke noundef i64 @_ZNK5Point3detERKS_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %194 unwind label %205

194:                                              ; preds = %188
  %195 = icmp sge i64 %193, 0
  br label %196

196:                                              ; preds = %194, %168
  %197 = phi i1 [ false, %168 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  br i1 %197, label %198, label %210

198:                                              ; preds = %196
  call void @_ZNSt6vectorI5PointSaIS0_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %199 = load i32, ptr %17, align 4, !tbaa !5
  %200 = add nsw i32 %199, -1
  store i32 %200, ptr %17, align 4, !tbaa !5
  br label %168, !llvm.loop !27

201:                                              ; preds = %171
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %21, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %22, align 4
  br label %209

205:                                              ; preds = %188, %178
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %21, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #5
  br label %209

209:                                              ; preds = %205, %201
  call void @llvm.lifetime.end.p0(i64 16, ptr %23) #5
  br label %214

210:                                              ; preds = %196
  invoke void @_ZNSt6vectorI5PointSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %20)
          to label %211 unwind label %163

211:                                              ; preds = %210
  %212 = load i32, ptr %17, align 4, !tbaa !5
  %213 = add nsw i32 %212, 1
  store i32 %213, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  br label %116, !llvm.loop !28

214:                                              ; preds = %209, %163
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  br label %219

215:                                              ; preds = %120
  store i1 true, ptr %18, align 1
  store i32 1, ptr %12, align 4
  %216 = load i1, ptr %18, align 1
  br i1 %216, label %218, label %217

217:                                              ; preds = %215
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  br label %218

218:                                              ; preds = %217, %215
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #5
  ret void

219:                                              ; preds = %214
  %220 = load ptr, ptr %21, align 8
  %221 = load i32, ptr %22, align 4
  %222 = insertvalue { ptr, i32 } poison, ptr %220, 0
  %223 = insertvalue { ptr, i32 } %222, i32 %221, 1
  resume { ptr, i32 } %223

224:                                              ; preds = %102
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) #3 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 = { 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 = { 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 #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 = !{i64 0, i64 4, !5, i64 8, i64 8, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"long long", !7, i64 0}
!12 = !{!13, !6, i64 4}
!13 = !{!"_ZTS4Edge", !6, i64 0, !6, i64 4, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!19, !6, i64 0}
!19 = !{!"_ZTS5Point", !6, i64 0, !11, i64 8}
!20 = !{!19, !11, i64 8}
!21 = !{!13, !6, i64 8}
!22 = !{!13, !6, i64 0}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = distinct !{!26, !24}
!27 = distinct !{!27, !24}
!28 = distinct !{!28, !24}


; 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 }
%class.anon = type { i8 }

@tot = external dso_local local_unnamed_addr global i32, align 4
@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
@_ZZ3bfsii5PointE3dis = external hidden global [400001 x %struct.Point], align 16

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

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

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

; Function Attrs: mustprogress 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

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

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

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

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

; 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
define dso_local void @_Z3bfsii5Point(ptr dead_on_unwind noalias writable sret(%"class.std::vector.0") align 8 %0, i32 noundef %1, i32 noundef %2, i32 %3, i64 %4) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %6 = alloca %class.anon, align 1
  %7 = alloca %struct.Point, align 8
  %8 = alloca %struct.Point, align 8
  %9 = alloca %struct.Point, align 8
  store i32 0, ptr @tot, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #5
  %10 = sext i32 %1 to i64
  %11 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %10
  store i32 %2, ptr %11, align 4, !tbaa !5
  %12 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %10
  store i32 %3, ptr %12, align 16, !tbaa !5
  %.sroa.238.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  store i64 %4, ptr %.sroa.238.0..sroa_idx, align 8, !tbaa !9
  call void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1) %6, i32 noundef %1)
  %13 = load i32, ptr @tot, align 4, !tbaa !5
  %.not52 = icmp slt i32 %13, 1
  br i1 %.not52, label %._crit_edge56, label %.lr.ph55

._crit_edge56:                                    ; preds = %._crit_edge, %5
  call void @_ZNSt6vectorI5PointSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %14 = load i32, ptr @tot, align 4, !tbaa !5
  %.not4467 = icmp slt i32 %14, 1
  br i1 %.not4467, label %._crit_edge72, label %.lr.ph71

.lr.ph71:                                         ; preds = %._crit_edge56
  %15 = getelementptr inbounds i8, ptr %7, i64 8
  %16 = getelementptr inbounds i8, ptr %8, i64 8
  %17 = getelementptr inbounds i8, ptr %9, i64 8
  br label %53

.lr.ph55:                                         ; preds = %5, %._crit_edge
  %18 = phi i32 [ %26, %._crit_edge ], [ %13, %5 ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %._crit_edge ], [ 1, %5 ]
  %19 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %indvars.iv
  %20 = load i32, ptr %19, align 4, !tbaa !5
  %21 = sext i32 %20 to i64
  %22 = getelementptr inbounds [400001 x i32], ptr @lnk1, i64 0, i64 %21
  %.04249 = load i32, ptr %22, align 4, !tbaa !5
  %.not4650 = icmp eq i32 %.04249, 0
  br i1 %.not4650, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph55
  %23 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %21
  %24 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %21
  %25 = getelementptr inbounds i8, ptr %24, i64 8
  br label %28

._crit_edge.loopexit:                             ; preds = %52
  %.pre = load i32, ptr @tot, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph55
  %26 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %18, %.lr.ph55 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %27 = sext i32 %26 to i64
  %.not.not = icmp slt i64 %indvars.iv, %27
  br i1 %.not.not, label %.lr.ph55, label %._crit_edge56, !llvm.loop !11

28:                                               ; preds = %.lr.ph, %52
  %.04251 = phi i32 [ %.04249, %.lr.ph ], [ %.042, %52 ]
  %29 = sext i32 %.04251 to i64
  %30 = getelementptr inbounds [800003 x %struct.Edge], ptr @e, i64 0, i64 %29
  %31 = getelementptr inbounds i8, ptr %30, i64 4
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = load i32, ptr %23, align 4, !tbaa !5
  %34 = icmp eq i32 %32, %33
  br i1 %34, label %52, label %35

35:                                               ; preds = %28
  %36 = ashr i32 %.04251, 1
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [400001 x i8], ptr @ban, i64 0, i64 %37
  %39 = load i8, ptr %38, align 1, !tbaa !15, !range !17, !noundef !18
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %52, label %41

41:                                               ; preds = %35
  %42 = sext i32 %32 to i64
  %43 = getelementptr inbounds [400001 x i32], ptr @fa, i64 0, i64 %42
  store i32 %20, ptr %43, align 4, !tbaa !5
  %44 = load i32, ptr %24, align 16, !tbaa !19
  %45 = add nsw i32 %44, 1
  %46 = load i64, ptr %25, align 8, !tbaa !21
  %47 = getelementptr inbounds i8, ptr %30, i64 8
  %48 = load i32, ptr %47, align 4, !tbaa !22
  %49 = sext i32 %48 to i64
  %50 = add nsw i64 %46, %49
  %51 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %42
  store i32 %45, ptr %51, align 16, !tbaa !5
  %.sroa.415.0..sroa_idx = getelementptr inbounds i8, ptr %51, i64 8
  store i64 %50, ptr %.sroa.415.0..sroa_idx, align 8, !tbaa !9
  call void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1) %6, i32 noundef %32)
  br label %52

52:                                               ; preds = %28, %35, %41
  %.042 = load i32, ptr %30, align 4, !tbaa !5
  %.not46 = icmp eq i32 %.042, 0
  br i1 %.not46, label %._crit_edge.loopexit, label %28, !llvm.loop !23

53:                                               ; preds = %.lr.ph71, %93
  %54 = phi i32 [ %14, %.lr.ph71 ], [ %95, %93 ]
  %.03969 = phi i32 [ 1, %.lr.ph71 ], [ %.1.lcssa, %93 ]
  %.04068 = phi i32 [ 0, %.lr.ph71 ], [ %94, %93 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %55 = sext i32 %.03969 to i64
  %56 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %55
  %57 = load i32, ptr %56, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %58
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 16 dereferenceable(16) %59, i64 16, i1 false), !tbaa.struct !24
  %.157 = add nsw i32 %.03969, 1
  %.not45.not58 = icmp slt i32 %.03969, %54
  br i1 %.not45.not58, label %.lr.ph61.preheader, label %.critedge

.lr.ph61.preheader:                               ; preds = %53
  %60 = add nsw i64 %55, 1
  br label %.lr.ph61

.lr.ph61:                                         ; preds = %.lr.ph61.preheader, %68
  %indvars.iv75 = phi i64 [ %60, %.lr.ph61.preheader ], [ %indvars.iv.next76, %68 ]
  %61 = getelementptr inbounds [400001 x i32], ptr @ord, i64 0, i64 %indvars.iv75
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [400001 x %struct.Point], ptr @_ZZ3bfsii5PointE3dis, i64 0, i64 %63
  %65 = load i32, ptr %64, align 16, !tbaa !19
  %66 = load i32, ptr %7, align 8, !tbaa !19
  %67 = icmp eq i32 %65, %66
  br i1 %67, label %68, label %.critedge.loopexit

68:                                               ; preds = %.lr.ph61
  %69 = getelementptr inbounds i8, ptr %64, i64 8
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %69)
  %71 = load i64, ptr %70, align 8, !tbaa !9
  store i64 %71, ptr %15, align 8, !tbaa !21
  %indvars.iv.next76 = add nsw i64 %indvars.iv75, 1
  %72 = load i32, ptr @tot, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %.not45.not = icmp slt i64 %indvars.iv75, %73
  br i1 %.not45.not, label %.lr.ph61, label %.critedge.loopexit, !llvm.loop !25

74:                                               ; preds = %.loopexit
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @_ZNSt6vectorI5PointSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  resume { ptr, i32 } %75

.critedge.loopexit:                               ; preds = %68, %.lr.ph61
  %.1.lcssa.ph.in = phi i64 [ %indvars.iv75, %.lr.ph61 ], [ %indvars.iv.next76, %68 ]
  %.1.lcssa.ph = trunc i64 %.1.lcssa.ph.in to i32
  br label %.critedge

.critedge:                                        ; preds = %.critedge.loopexit, %53
  %.1.lcssa = phi i32 [ %.157, %53 ], [ %.1.lcssa.ph, %.critedge.loopexit ]
  %76 = icmp sgt i32 %.04068, 1
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  br i1 %76, label %.lr.ph65.preheader, label %.critedge2

.lr.ph65.preheader:                               ; preds = %.critedge
  %77 = zext nneg i32 %.04068 to i64
  br label %.lr.ph65

.lr.ph65:                                         ; preds = %.lr.ph65.preheader, %90
  %indvars.iv78 = phi i64 [ %77, %.lr.ph65.preheader ], [ %indvars.iv.next79, %90 ]
  %78 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %79 = add nsw i64 %indvars.iv78, -2
  %80 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %79) #5
  %81 = call { i32, i64 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %78, ptr noundef nonnull align 8 dereferenceable(16) %80)
  %82 = extractvalue { i32, i64 } %81, 0
  store i32 %82, ptr %8, align 8
  %83 = extractvalue { i32, i64 } %81, 1
  store i64 %83, ptr %16, align 8
  %84 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorI5PointSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %79) #5
  %85 = call { i32, i64 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %84)
  %86 = extractvalue { i32, i64 } %85, 0
  store i32 %86, ptr %9, align 8
  %87 = extractvalue { i32, i64 } %85, 1
  store i64 %87, ptr %17, align 8
  %88 = call noundef i64 @_ZNK5Point3detERKS_(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef nonnull align 8 dereferenceable(16) %9)
  %89 = icmp sgt i64 %88, -1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br i1 %89, label %90, label %.loopexit.loopexit

90:                                               ; preds = %.lr.ph65
  call void @_ZNSt6vectorI5PointSaIS0_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %indvars.iv.next79 = add nsw i64 %indvars.iv78, -1
  %91 = icmp ugt i64 %indvars.iv78, 2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #5
  br i1 %91, label %.lr.ph65, label %.critedge2, !llvm.loop !26

.critedge2:                                       ; preds = %90, %.critedge
  %.141.lcssa = phi i32 [ %.04068, %.critedge ], [ 1, %90 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #5
  br label %.loopexit

.loopexit.loopexit:                               ; preds = %.lr.ph65
  %92 = trunc nuw nsw i64 %indvars.iv78 to i32
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit, %.critedge2
  %.14148 = phi i32 [ %.141.lcssa, %.critedge2 ], [ %92, %.loopexit.loopexit ]
  invoke void @_ZNSt6vectorI5PointSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %93 unwind label %74

93:                                               ; preds = %.loopexit
  %94 = add nsw i32 %.14148, 1
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  %95 = load i32, ptr @tot, align 4, !tbaa !5
  %.not44 = icmp sgt i32 %.1.lcssa, %95
  br i1 %.not44, label %._crit_edge72, label %53, !llvm.loop !27

._crit_edge72:                                    ; preds = %93, %._crit_edge56
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden void @"_ZZ3bfsii5PointENK3$_0clEi"(ptr noundef nonnull align 1 dereferenceable(1), i32 noundef) local_unnamed_addr #3 align 2

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


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