; LLVM IR from tangjz/acm-icpc :: codeforces/gym (101412J)

; 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.Point = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"struct.std::pair" = type <{ double, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@tot = external dso_local global i32, align 4
@pos = external dso_local global [960991 x i32], align 16
@sp = external dso_local global %struct.Point, align 4
@tp = external dso_local global %struct.Point, align 4
@dir_tot = external dso_local global i32, align 4
@dir_seq = external dso_local global [1680 x [2 x i32]], align 16
@sysTim = external dso_local global i32, align 4
@str = external dso_local global [3 x [3 x [4 x i8]]], align 16
@dist = external dso_local global [33724 x double], align 16
@vis = external dso_local global [33724 x i8], align 16
@e = external dso_local global [33724 x %"class.std::vector"], align 16
@Q = external dso_local global %"class.std::priority_queue", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %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 %struct.Point, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.Point, align 4
  %18 = alloca %struct.Point, align 4
  %19 = alloca { i64, i32 }, align 8
  %20 = alloca i32, align 4
  %21 = alloca %struct.Point, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.Point, align 4
  %25 = alloca %struct.Point, align 4
  %26 = alloca { i64, i32 }, align 8
  %27 = alloca i32, align 4
  %28 = alloca %struct.Point, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %struct.Point, align 4
  %32 = alloca %struct.Point, align 4
  %33 = alloca { i64, i32 }, align 8
  %34 = alloca i32, align 4
  %35 = alloca %"struct.std::pair", align 8
  %36 = alloca i32, align 4
  %37 = alloca { double, i32 }, align 8
  %38 = alloca i32, align 4
  %39 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %40 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %41 = alloca i32, align 4
  %42 = alloca double, align 8
  %43 = alloca %"struct.std::pair", align 8
  %44 = alloca { double, i32 }, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.memset.p0.i64(ptr align 16 @pos, i8 -1, i64 3843964, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #9
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %106, %0
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = icmp sle i32 %46, 1260
  br i1 %47, label %49, label %48

48:                                               ; preds = %45
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #9
  br label %109

49:                                               ; preds = %45
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %50, i32 noundef 420)
  %52 = mul nsw i32 %51, 7
  %53 = icmp sle i32 420, %52
  br i1 %53, label %54, label %105

54:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #9
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %55

55:                                               ; preds = %101, %54
  %56 = load i32, ptr %4, align 4, !tbaa !5
  %57 = icmp sle i32 %56, 1260
  br i1 %57, label %59, label %58

58:                                               ; preds = %55
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #9
  br label %104

59:                                               ; preds = %55
  %60 = load i32, ptr %4, align 4, !tbaa !5
  %61 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %60, i32 noundef 420)
  %62 = mul nsw i32 %61, 7
  %63 = icmp sle i32 420, %62
  br i1 %63, label %64, label %100

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %96, %64
  %66 = load i32, ptr %5, align 4, !tbaa !5
  %67 = icmp sle i32 %66, 1260
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #9
  br label %99

69:                                               ; preds = %65
  %70 = load i32, ptr %5, align 4, !tbaa !5
  %71 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %70, i32 noundef 420)
  %72 = mul nsw i32 %71, 7
  %73 = icmp sle i32 420, %72
  br i1 %73, label %74, label %95

74:                                               ; preds = %69
  %75 = load i32, ptr %2, align 4, !tbaa !5
  %76 = srem i32 %75, 420
  %77 = icmp eq i32 %76, 0
  br i1 %77, label %86, label %78

78:                                               ; preds = %74
  %79 = load i32, ptr %4, align 4, !tbaa !5
  %80 = srem i32 %79, 420
  %81 = icmp eq i32 %80, 0
  br i1 %81, label %86, label %82

82:                                               ; preds = %78
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = srem i32 %83, 420
  %85 = icmp eq i32 %84, 0
  br i1 %85, label %86, label %94

86:                                               ; preds = %82, %78, %74
  %87 = load i32, ptr %2, align 4, !tbaa !5
  %88 = mul nsw i32 %87, 1261
  %89 = load i32, ptr %4, align 4, !tbaa !5
  %90 = add nsw i32 %88, %89
  %91 = mul nsw i32 %90, 1261
  %92 = load i32, ptr %5, align 4, !tbaa !5
  %93 = add nsw i32 %91, %92
  call void @_Z10HashInserti(i32 noundef %93)
  br label %94

94:                                               ; preds = %86, %82
  br label %95

95:                                               ; preds = %94, %69
  br label %96

96:                                               ; preds = %95
  %97 = load i32, ptr %5, align 4, !tbaa !5
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %5, align 4, !tbaa !5
  br label %65, !llvm.loop !9

99:                                               ; preds = %68
  br label %100

100:                                              ; preds = %99, %59
  br label %101

101:                                              ; preds = %100
  %102 = load i32, ptr %4, align 4, !tbaa !5
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %4, align 4, !tbaa !5
  br label %55, !llvm.loop !11

104:                                              ; preds = %58
  br label %105

105:                                              ; preds = %104, %49
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %2, align 4, !tbaa !5
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %2, align 4, !tbaa !5
  br label %45, !llvm.loop !12

109:                                              ; preds = %48
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #9
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %161, %109
  %111 = load i32, ptr %6, align 4, !tbaa !5
  %112 = icmp sle i32 %111, 420
  br i1 %112, label %114, label %113

113:                                              ; preds = %110
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #9
  br label %164

114:                                              ; preds = %110
  %115 = load i32, ptr %6, align 4, !tbaa !5
  %116 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %115, i32 noundef 420)
  %117 = mul nsw i32 %116, 7
  %118 = icmp sle i32 420, %117
  br i1 %118, label %119, label %160

119:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #9
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %120

120:                                              ; preds = %156, %119
  %121 = load i32, ptr %7, align 4, !tbaa !5
  %122 = icmp sle i32 %121, 420
  br i1 %122, label %124, label %123

123:                                              ; preds = %120
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #9
  br label %159

124:                                              ; preds = %120
  %125 = load i32, ptr %7, align 4, !tbaa !5
  %126 = call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %125, i32 noundef 420)
  %127 = mul nsw i32 %126, 7
  %128 = icmp sle i32 420, %127
  br i1 %128, label %129, label %155

129:                                              ; preds = %124
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %141

132:                                              ; preds = %129
  %133 = load i32, ptr %6, align 4, !tbaa !5
  %134 = icmp eq i32 %133, 420
  br i1 %134, label %141, label %135

135:                                              ; preds = %132
  %136 = load i32, ptr %7, align 4, !tbaa !5
  %137 = icmp ne i32 %136, 0
  br i1 %137, label %138, label %141

138:                                              ; preds = %135
  %139 = load i32, ptr %7, align 4, !tbaa !5
  %140 = icmp eq i32 %139, 420
  br i1 %140, label %141, label %154

141:                                              ; preds = %138, %135, %132, %129
  %142 = load i32, ptr %6, align 4, !tbaa !5
  %143 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %144
  %146 = getelementptr inbounds [2 x i32], ptr %145, i64 0, i64 0
  store i32 %142, ptr %146, align 8, !tbaa !5
  %147 = load i32, ptr %7, align 4, !tbaa !5
  %148 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %149
  %151 = getelementptr inbounds [2 x i32], ptr %150, i64 0, i64 1
  store i32 %147, ptr %151, align 4, !tbaa !5
  %152 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  store i32 %153, ptr @dir_tot, align 4, !tbaa !5
  br label %154

154:                                              ; preds = %141, %138
  br label %155

155:                                              ; preds = %154, %124
  br label %156

156:                                              ; preds = %155
  %157 = load i32, ptr %7, align 4, !tbaa !5
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %7, align 4, !tbaa !5
  br label %120, !llvm.loop !13

159:                                              ; preds = %123
  br label %160

160:                                              ; preds = %159, %114
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %6, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %6, align 4, !tbaa !5
  br label %110, !llvm.loop !14

164:                                              ; preds = %113
  br label %165

165:                                              ; preds = %579, %164
  %166 = call noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  br i1 %166, label %167, label %176

167:                                              ; preds = %165
  %168 = call noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  br i1 %168, label %169, label %176

169:                                              ; preds = %167
  %170 = call noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  br i1 %170, label %171, label %173

171:                                              ; preds = %169
  %172 = call noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  br label %173

173:                                              ; preds = %171, %169
  %174 = phi i1 [ false, %169 ], [ %172, %171 ]
  %175 = xor i1 %174, true
  br label %176

176:                                              ; preds = %173, %167, %165
  %177 = phi i1 [ false, %167 ], [ false, %165 ], [ %175, %173 ]
  br i1 %177, label %178, label %586

178:                                              ; preds = %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %179

179:                                              ; preds = %201, %178
  %180 = load i32, ptr %8, align 4, !tbaa !5
  %181 = icmp slt i32 %180, 3
  br i1 %181, label %183, label %182

182:                                              ; preds = %179
  store i32 19, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %204

183:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %184

184:                                              ; preds = %197, %183
  %185 = load i32, ptr %9, align 4, !tbaa !5
  %186 = icmp slt i32 %185, 3
  br i1 %186, label %188, label %187

187:                                              ; preds = %184
  store i32 22, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  br label %200

188:                                              ; preds = %184
  %189 = load i32, ptr %8, align 4, !tbaa !5
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds [3 x [3 x [4 x i8]]], ptr @str, i64 0, i64 %190
  %192 = load i32, ptr %9, align 4, !tbaa !5
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds [3 x [4 x i8]], ptr %191, i64 0, i64 %193
  %195 = getelementptr inbounds [4 x i8], ptr %194, i64 0, i64 0
  %196 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %195)
  br label %197

197:                                              ; preds = %188
  %198 = load i32, ptr %9, align 4, !tbaa !5
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %9, align 4, !tbaa !5
  br label %184, !llvm.loop !15

200:                                              ; preds = %187
  br label %201

201:                                              ; preds = %200
  %202 = load i32, ptr %8, align 4, !tbaa !5
  %203 = add nsw i32 %202, 1
  store i32 %203, ptr %8, align 4, !tbaa !5
  br label %179, !llvm.loop !16

204:                                              ; preds = %182
  %205 = load i32, ptr @sysTim, align 4, !tbaa !5
  %206 = add nsw i32 %205, 1
  store i32 %206, ptr @sysTim, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %207

207:                                              ; preds = %479, %204
  %208 = load i32, ptr %10, align 4, !tbaa !5
  %209 = icmp sle i32 %208, 3
  br i1 %209, label %211, label %210

210:                                              ; preds = %207
  store i32 25, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  br label %482

211:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %212

212:                                              ; preds = %475, %211
  %213 = load i32, ptr %11, align 4, !tbaa !5
  %214 = icmp sle i32 %213, 3
  br i1 %214, label %216, label %215

215:                                              ; preds = %212
  store i32 28, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  br label %478

216:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %217

217:                                              ; preds = %471, %216
  %218 = load i32, ptr %12, align 4, !tbaa !5
  %219 = icmp sle i32 %218, 3
  br i1 %219, label %221, label %220

220:                                              ; preds = %217
  store i32 31, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %474

221:                                              ; preds = %217
  %222 = load i32, ptr %10, align 4, !tbaa !5
  %223 = sub nsw i32 %222, 1
  %224 = load i32, ptr %11, align 4, !tbaa !5
  %225 = load i32, ptr %12, align 4, !tbaa !5
  %226 = call noundef zeroext i1 @_Z5validiii(i32 noundef %223, i32 noundef %224, i32 noundef %225)
  %227 = zext i1 %226 to i32
  %228 = load i32, ptr %10, align 4, !tbaa !5
  %229 = load i32, ptr %11, align 4, !tbaa !5
  %230 = load i32, ptr %12, align 4, !tbaa !5
  %231 = call noundef zeroext i1 @_Z5validiii(i32 noundef %228, i32 noundef %229, i32 noundef %230)
  %232 = zext i1 %231 to i32
  %233 = icmp ne i32 %227, %232
  br i1 %233, label %234, label %304

234:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %235

235:                                              ; preds = %300, %234
  %236 = load i32, ptr %13, align 4, !tbaa !5
  %237 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %238 = icmp slt i32 %236, %237
  br i1 %238, label %240, label %239

239:                                              ; preds = %235
  store i32 34, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  br label %303

240:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #9
  %241 = getelementptr inbounds %struct.Point, ptr %14, i32 0, i32 0
  %242 = load i32, ptr %10, align 4, !tbaa !5
  %243 = mul nsw i32 %242, 420
  store i32 %243, ptr %241, align 4, !tbaa !17
  %244 = getelementptr inbounds %struct.Point, ptr %14, i32 0, i32 1
  %245 = load i32, ptr %11, align 4, !tbaa !5
  %246 = mul nsw i32 %245, 420
  %247 = load i32, ptr %13, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %248
  %250 = getelementptr inbounds [2 x i32], ptr %249, i64 0, i64 0
  %251 = load i32, ptr %250, align 8, !tbaa !5
  %252 = add nsw i32 %246, %251
  store i32 %252, ptr %244, align 4, !tbaa !19
  %253 = getelementptr inbounds %struct.Point, ptr %14, i32 0, i32 2
  %254 = load i32, ptr %12, align 4, !tbaa !5
  %255 = mul nsw i32 %254, 420
  %256 = load i32, ptr %13, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %257
  %259 = getelementptr inbounds [2 x i32], ptr %258, i64 0, i64 1
  %260 = load i32, ptr %259, align 4, !tbaa !5
  %261 = add nsw i32 %255, %260
  store i32 %261, ptr %253, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %262 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %14)
  store i32 %262, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  %263 = load i32, ptr %13, align 4, !tbaa !5
  %264 = add nsw i32 %263, 1
  store i32 %264, ptr %16, align 4, !tbaa !5
  br label %265

265:                                              ; preds = %296, %240
  %266 = load i32, ptr %16, align 4, !tbaa !5
  %267 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %268 = icmp slt i32 %266, %267
  br i1 %268, label %270, label %269

269:                                              ; preds = %265
  store i32 37, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  br label %299

270:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #9
  %271 = getelementptr inbounds %struct.Point, ptr %17, i32 0, i32 0
  %272 = load i32, ptr %10, align 4, !tbaa !5
  %273 = mul nsw i32 %272, 420
  store i32 %273, ptr %271, align 4, !tbaa !17
  %274 = getelementptr inbounds %struct.Point, ptr %17, i32 0, i32 1
  %275 = load i32, ptr %11, align 4, !tbaa !5
  %276 = mul nsw i32 %275, 420
  %277 = load i32, ptr %16, align 4, !tbaa !5
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %278
  %280 = getelementptr inbounds [2 x i32], ptr %279, i64 0, i64 0
  %281 = load i32, ptr %280, align 8, !tbaa !5
  %282 = add nsw i32 %276, %281
  store i32 %282, ptr %274, align 4, !tbaa !19
  %283 = getelementptr inbounds %struct.Point, ptr %17, i32 0, i32 2
  %284 = load i32, ptr %12, align 4, !tbaa !5
  %285 = mul nsw i32 %284, 420
  %286 = load i32, ptr %16, align 4, !tbaa !5
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %287
  %289 = getelementptr inbounds [2 x i32], ptr %288, i64 0, i64 1
  %290 = load i32, ptr %289, align 4, !tbaa !5
  %291 = add nsw i32 %285, %290
  store i32 %291, ptr %283, align 4, !tbaa !20
  %292 = load i32, ptr %15, align 4, !tbaa !5
  %293 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #9
  %294 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %14, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store { i64, i32 } %294, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  %295 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @_Z7addEdgeiid(i32 noundef %292, i32 noundef %293, double noundef %295)
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #9
  br label %296

296:                                              ; preds = %270
  %297 = load i32, ptr %16, align 4, !tbaa !5
  %298 = add nsw i32 %297, 1
  store i32 %298, ptr %16, align 4, !tbaa !5
  br label %265, !llvm.loop !21

299:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #9
  br label %300

300:                                              ; preds = %299
  %301 = load i32, ptr %13, align 4, !tbaa !5
  %302 = add nsw i32 %301, 1
  store i32 %302, ptr %13, align 4, !tbaa !5
  br label %235, !llvm.loop !22

303:                                              ; preds = %239
  br label %304

304:                                              ; preds = %303, %221
  %305 = load i32, ptr %10, align 4, !tbaa !5
  %306 = load i32, ptr %11, align 4, !tbaa !5
  %307 = sub nsw i32 %306, 1
  %308 = load i32, ptr %12, align 4, !tbaa !5
  %309 = call noundef zeroext i1 @_Z5validiii(i32 noundef %305, i32 noundef %307, i32 noundef %308)
  %310 = zext i1 %309 to i32
  %311 = load i32, ptr %10, align 4, !tbaa !5
  %312 = load i32, ptr %11, align 4, !tbaa !5
  %313 = load i32, ptr %12, align 4, !tbaa !5
  %314 = call noundef zeroext i1 @_Z5validiii(i32 noundef %311, i32 noundef %312, i32 noundef %313)
  %315 = zext i1 %314 to i32
  %316 = icmp ne i32 %310, %315
  br i1 %316, label %317, label %387

317:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %318

318:                                              ; preds = %383, %317
  %319 = load i32, ptr %20, align 4, !tbaa !5
  %320 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %321 = icmp slt i32 %319, %320
  br i1 %321, label %323, label %322

322:                                              ; preds = %318
  store i32 40, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  br label %386

323:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #9
  %324 = getelementptr inbounds %struct.Point, ptr %21, i32 0, i32 0
  %325 = load i32, ptr %10, align 4, !tbaa !5
  %326 = mul nsw i32 %325, 420
  %327 = load i32, ptr %20, align 4, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %328
  %330 = getelementptr inbounds [2 x i32], ptr %329, i64 0, i64 0
  %331 = load i32, ptr %330, align 8, !tbaa !5
  %332 = add nsw i32 %326, %331
  store i32 %332, ptr %324, align 4, !tbaa !17
  %333 = getelementptr inbounds %struct.Point, ptr %21, i32 0, i32 1
  %334 = load i32, ptr %11, align 4, !tbaa !5
  %335 = mul nsw i32 %334, 420
  store i32 %335, ptr %333, align 4, !tbaa !19
  %336 = getelementptr inbounds %struct.Point, ptr %21, i32 0, i32 2
  %337 = load i32, ptr %12, align 4, !tbaa !5
  %338 = mul nsw i32 %337, 420
  %339 = load i32, ptr %20, align 4, !tbaa !5
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %340
  %342 = getelementptr inbounds [2 x i32], ptr %341, i64 0, i64 1
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = add nsw i32 %338, %343
  store i32 %344, ptr %336, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %345 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %21)
  store i32 %345, ptr %22, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  %346 = load i32, ptr %20, align 4, !tbaa !5
  %347 = add nsw i32 %346, 1
  store i32 %347, ptr %23, align 4, !tbaa !5
  br label %348

348:                                              ; preds = %379, %323
  %349 = load i32, ptr %23, align 4, !tbaa !5
  %350 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %351 = icmp slt i32 %349, %350
  br i1 %351, label %353, label %352

352:                                              ; preds = %348
  store i32 43, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  br label %382

353:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #9
  %354 = getelementptr inbounds %struct.Point, ptr %24, i32 0, i32 0
  %355 = load i32, ptr %10, align 4, !tbaa !5
  %356 = mul nsw i32 %355, 420
  %357 = load i32, ptr %23, align 4, !tbaa !5
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %358
  %360 = getelementptr inbounds [2 x i32], ptr %359, i64 0, i64 0
  %361 = load i32, ptr %360, align 8, !tbaa !5
  %362 = add nsw i32 %356, %361
  store i32 %362, ptr %354, align 4, !tbaa !17
  %363 = getelementptr inbounds %struct.Point, ptr %24, i32 0, i32 1
  %364 = load i32, ptr %11, align 4, !tbaa !5
  %365 = mul nsw i32 %364, 420
  store i32 %365, ptr %363, align 4, !tbaa !19
  %366 = getelementptr inbounds %struct.Point, ptr %24, i32 0, i32 2
  %367 = load i32, ptr %12, align 4, !tbaa !5
  %368 = mul nsw i32 %367, 420
  %369 = load i32, ptr %23, align 4, !tbaa !5
  %370 = sext i32 %369 to i64
  %371 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %370
  %372 = getelementptr inbounds [2 x i32], ptr %371, i64 0, i64 1
  %373 = load i32, ptr %372, align 4, !tbaa !5
  %374 = add nsw i32 %368, %373
  store i32 %374, ptr %366, align 4, !tbaa !20
  %375 = load i32, ptr %22, align 4, !tbaa !5
  %376 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %24)
  call void @llvm.lifetime.start.p0(i64 12, ptr %25) #9
  %377 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %21, ptr noundef nonnull align 4 dereferenceable(12) %24)
  store { i64, i32 } %377, ptr %26, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %26, i64 12, i1 false)
  %378 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %25)
  call void @_Z7addEdgeiid(i32 noundef %375, i32 noundef %376, double noundef %378)
  call void @llvm.lifetime.end.p0(i64 12, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #9
  br label %379

379:                                              ; preds = %353
  %380 = load i32, ptr %23, align 4, !tbaa !5
  %381 = add nsw i32 %380, 1
  store i32 %381, ptr %23, align 4, !tbaa !5
  br label %348, !llvm.loop !23

382:                                              ; preds = %352
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #9
  br label %383

383:                                              ; preds = %382
  %384 = load i32, ptr %20, align 4, !tbaa !5
  %385 = add nsw i32 %384, 1
  store i32 %385, ptr %20, align 4, !tbaa !5
  br label %318, !llvm.loop !24

386:                                              ; preds = %322
  br label %387

387:                                              ; preds = %386, %304
  %388 = load i32, ptr %10, align 4, !tbaa !5
  %389 = load i32, ptr %11, align 4, !tbaa !5
  %390 = load i32, ptr %12, align 4, !tbaa !5
  %391 = sub nsw i32 %390, 1
  %392 = call noundef zeroext i1 @_Z5validiii(i32 noundef %388, i32 noundef %389, i32 noundef %391)
  %393 = zext i1 %392 to i32
  %394 = load i32, ptr %10, align 4, !tbaa !5
  %395 = load i32, ptr %11, align 4, !tbaa !5
  %396 = load i32, ptr %12, align 4, !tbaa !5
  %397 = call noundef zeroext i1 @_Z5validiii(i32 noundef %394, i32 noundef %395, i32 noundef %396)
  %398 = zext i1 %397 to i32
  %399 = icmp ne i32 %393, %398
  br i1 %399, label %400, label %470

400:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  store i32 0, ptr %27, align 4, !tbaa !5
  br label %401

401:                                              ; preds = %466, %400
  %402 = load i32, ptr %27, align 4, !tbaa !5
  %403 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %404 = icmp slt i32 %402, %403
  br i1 %404, label %406, label %405

405:                                              ; preds = %401
  store i32 46, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  br label %469

406:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 12, ptr %28) #9
  %407 = getelementptr inbounds %struct.Point, ptr %28, i32 0, i32 0
  %408 = load i32, ptr %10, align 4, !tbaa !5
  %409 = mul nsw i32 %408, 420
  %410 = load i32, ptr %27, align 4, !tbaa !5
  %411 = sext i32 %410 to i64
  %412 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %411
  %413 = getelementptr inbounds [2 x i32], ptr %412, i64 0, i64 0
  %414 = load i32, ptr %413, align 8, !tbaa !5
  %415 = add nsw i32 %409, %414
  store i32 %415, ptr %407, align 4, !tbaa !17
  %416 = getelementptr inbounds %struct.Point, ptr %28, i32 0, i32 1
  %417 = load i32, ptr %11, align 4, !tbaa !5
  %418 = mul nsw i32 %417, 420
  %419 = load i32, ptr %27, align 4, !tbaa !5
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %420
  %422 = getelementptr inbounds [2 x i32], ptr %421, i64 0, i64 1
  %423 = load i32, ptr %422, align 4, !tbaa !5
  %424 = add nsw i32 %418, %423
  store i32 %424, ptr %416, align 4, !tbaa !19
  %425 = getelementptr inbounds %struct.Point, ptr %28, i32 0, i32 2
  %426 = load i32, ptr %12, align 4, !tbaa !5
  %427 = mul nsw i32 %426, 420
  store i32 %427, ptr %425, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  %428 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %28)
  store i32 %428, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  %429 = load i32, ptr %27, align 4, !tbaa !5
  %430 = add nsw i32 %429, 1
  store i32 %430, ptr %30, align 4, !tbaa !5
  br label %431

431:                                              ; preds = %462, %406
  %432 = load i32, ptr %30, align 4, !tbaa !5
  %433 = load i32, ptr @dir_tot, align 4, !tbaa !5
  %434 = icmp slt i32 %432, %433
  br i1 %434, label %436, label %435

435:                                              ; preds = %431
  store i32 49, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %465

436:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 12, ptr %31) #9
  %437 = getelementptr inbounds %struct.Point, ptr %31, i32 0, i32 0
  %438 = load i32, ptr %10, align 4, !tbaa !5
  %439 = mul nsw i32 %438, 420
  %440 = load i32, ptr %30, align 4, !tbaa !5
  %441 = sext i32 %440 to i64
  %442 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %441
  %443 = getelementptr inbounds [2 x i32], ptr %442, i64 0, i64 0
  %444 = load i32, ptr %443, align 8, !tbaa !5
  %445 = add nsw i32 %439, %444
  store i32 %445, ptr %437, align 4, !tbaa !17
  %446 = getelementptr inbounds %struct.Point, ptr %31, i32 0, i32 1
  %447 = load i32, ptr %11, align 4, !tbaa !5
  %448 = mul nsw i32 %447, 420
  %449 = load i32, ptr %30, align 4, !tbaa !5
  %450 = sext i32 %449 to i64
  %451 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %450
  %452 = getelementptr inbounds [2 x i32], ptr %451, i64 0, i64 1
  %453 = load i32, ptr %452, align 4, !tbaa !5
  %454 = add nsw i32 %448, %453
  store i32 %454, ptr %446, align 4, !tbaa !19
  %455 = getelementptr inbounds %struct.Point, ptr %31, i32 0, i32 2
  %456 = load i32, ptr %12, align 4, !tbaa !5
  %457 = mul nsw i32 %456, 420
  store i32 %457, ptr %455, align 4, !tbaa !20
  %458 = load i32, ptr %29, align 4, !tbaa !5
  %459 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %31)
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #9
  %460 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(12) %31)
  store { i64, i32 } %460, ptr %33, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %33, i64 12, i1 false)
  %461 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %32)
  call void @_Z7addEdgeiid(i32 noundef %458, i32 noundef %459, double noundef %461)
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %31) #9
  br label %462

462:                                              ; preds = %436
  %463 = load i32, ptr %30, align 4, !tbaa !5
  %464 = add nsw i32 %463, 1
  store i32 %464, ptr %30, align 4, !tbaa !5
  br label %431, !llvm.loop !25

465:                                              ; preds = %435
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 12, ptr %28) #9
  br label %466

466:                                              ; preds = %465
  %467 = load i32, ptr %27, align 4, !tbaa !5
  %468 = add nsw i32 %467, 1
  store i32 %468, ptr %27, align 4, !tbaa !5
  br label %401, !llvm.loop !26

469:                                              ; preds = %405
  br label %470

470:                                              ; preds = %469, %387
  br label %471

471:                                              ; preds = %470
  %472 = load i32, ptr %12, align 4, !tbaa !5
  %473 = add nsw i32 %472, 1
  store i32 %473, ptr %12, align 4, !tbaa !5
  br label %217, !llvm.loop !27

474:                                              ; preds = %220
  br label %475

475:                                              ; preds = %474
  %476 = load i32, ptr %11, align 4, !tbaa !5
  %477 = add nsw i32 %476, 1
  store i32 %477, ptr %11, align 4, !tbaa !5
  br label %212, !llvm.loop !28

478:                                              ; preds = %215
  br label %479

479:                                              ; preds = %478
  %480 = load i32, ptr %10, align 4, !tbaa !5
  %481 = add nsw i32 %480, 1
  store i32 %481, ptr %10, align 4, !tbaa !5
  br label %207, !llvm.loop !29

482:                                              ; preds = %210
  call void @llvm.memset.p0.i64(ptr align 16 @vis, i8 0, i64 33724, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  store i32 0, ptr %34, align 4, !tbaa !5
  br label %483

483:                                              ; preds = %492, %482
  %484 = load i32, ptr %34, align 4, !tbaa !5
  %485 = load i32, ptr @tot, align 4, !tbaa !5
  %486 = icmp slt i32 %484, %485
  br i1 %486, label %488, label %487

487:                                              ; preds = %483
  store i32 52, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %495

488:                                              ; preds = %483
  %489 = load i32, ptr %34, align 4, !tbaa !5
  %490 = sext i32 %489 to i64
  %491 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %490
  store double 1.000000e+10, ptr %491, align 8, !tbaa !30
  br label %492

492:                                              ; preds = %488
  %493 = load i32, ptr %34, align 4, !tbaa !5
  %494 = add nsw i32 %493, 1
  store i32 %494, ptr %34, align 4, !tbaa !5
  br label %483, !llvm.loop !32

495:                                              ; preds = %487
  br label %496

496:                                              ; preds = %499, %495
  %497 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %498 = xor i1 %497, true
  br i1 %498, label %499, label %500

499:                                              ; preds = %496
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  br label %496, !llvm.loop !33

500:                                              ; preds = %496
  %501 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  %502 = sext i32 %501 to i64
  %503 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %502
  store double 0.000000e+00, ptr %503, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #9
  %504 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  %505 = sext i32 %504 to i64
  %506 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %505
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  %507 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  store i32 %507, ptr %36, align 4, !tbaa !5
  %508 = call { double, i32 } @_ZSt9make_pairIRdiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %506, ptr noundef nonnull align 4 dereferenceable(4) %36)
  store { double, i32 } %508, ptr %37, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %35, ptr align 8 %37, i64 12, i1 false)
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) @Q, ptr noundef nonnull align 8 dereferenceable(12) %35)
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #9
  br label %509

509:                                              ; preds = %578, %576, %500
  %510 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %511 = xor i1 %510, true
  br i1 %511, label %512, label %579

512:                                              ; preds = %509
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  %513 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %514 = getelementptr inbounds %"struct.std::pair", ptr %513, i32 0, i32 1
  %515 = load i32, ptr %514, align 8, !tbaa !34
  store i32 %515, ptr %38, align 4, !tbaa !5
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %516 = load i32, ptr %38, align 4, !tbaa !5
  %517 = sext i32 %516 to i64
  %518 = getelementptr inbounds [33724 x i8], ptr @vis, i64 0, i64 %517
  %519 = load i8, ptr %518, align 1, !tbaa !36, !range !38, !noundef !39
  %520 = trunc i8 %519 to i1
  br i1 %520, label %521, label %522

521:                                              ; preds = %512
  store i32 57, ptr %3, align 4
  br label %576, !llvm.loop !40

522:                                              ; preds = %512
  %523 = load i32, ptr %38, align 4, !tbaa !5
  %524 = sext i32 %523 to i64
  %525 = getelementptr inbounds [33724 x i8], ptr @vis, i64 0, i64 %524
  store i8 1, ptr %525, align 1, !tbaa !36
  %526 = load i32, ptr %38, align 4, !tbaa !5
  call void @_Z9flushEdgei(i32 noundef %526)
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %527 = load i32, ptr %38, align 4, !tbaa !5
  %528 = sext i32 %527 to i64
  %529 = getelementptr inbounds [33724 x %"class.std::vector"], ptr @e, i64 0, i64 %528
  %530 = call ptr @_ZNSt6vectorISt4pairIdiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %529) #9
  %531 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %39, i32 0, i32 0
  store ptr %530, ptr %531, align 8
  br label %532

532:                                              ; preds = %573, %522
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %533 = load i32, ptr %38, align 4, !tbaa !5
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds [33724 x %"class.std::vector"], ptr @e, i64 0, i64 %534
  %536 = call ptr @_ZNSt6vectorISt4pairIdiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %535) #9
  %537 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %40, i32 0, i32 0
  store ptr %536, ptr %537, align 8
  %538 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIdiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  br i1 %538, label %540, label %539

539:                                              ; preds = %532
  store i32 59, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  br label %575

540:                                              ; preds = %532
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %541 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  %542 = getelementptr inbounds %"struct.std::pair", ptr %541, i32 0, i32 1
  %543 = load i32, ptr %542, align 8, !tbaa !34
  store i32 %543, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  %544 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  %545 = getelementptr inbounds %"struct.std::pair", ptr %544, i32 0, i32 0
  %546 = load double, ptr %545, align 8, !tbaa !41
  store double %546, ptr %42, align 8, !tbaa !30
  %547 = load i32, ptr %41, align 4, !tbaa !5
  %548 = sext i32 %547 to i64
  %549 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %548
  %550 = load double, ptr %549, align 8, !tbaa !30
  %551 = load i32, ptr %38, align 4, !tbaa !5
  %552 = sext i32 %551 to i64
  %553 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %552
  %554 = load double, ptr %553, align 8, !tbaa !30
  %555 = load double, ptr %42, align 8, !tbaa !30
  %556 = fadd double %554, %555
  %557 = fcmp ogt double %550, %556
  br i1 %557, label %558, label %572

558:                                              ; preds = %540
  %559 = load i32, ptr %38, align 4, !tbaa !5
  %560 = sext i32 %559 to i64
  %561 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %560
  %562 = load double, ptr %561, align 8, !tbaa !30
  %563 = load double, ptr %42, align 8, !tbaa !30
  %564 = fadd double %562, %563
  %565 = load i32, ptr %41, align 4, !tbaa !5
  %566 = sext i32 %565 to i64
  %567 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %566
  store double %564, ptr %567, align 8, !tbaa !30
  call void @llvm.lifetime.start.p0(i64 16, ptr %43) #9
  %568 = load i32, ptr %41, align 4, !tbaa !5
  %569 = sext i32 %568 to i64
  %570 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %569
  %571 = call { double, i32 } @_ZSt9make_pairIRdRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %570, ptr noundef nonnull align 4 dereferenceable(4) %41)
  store { double, i32 } %571, ptr %44, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %43, ptr align 8 %44, i64 12, i1 false)
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) @Q, ptr noundef nonnull align 8 dereferenceable(12) %43)
  call void @llvm.lifetime.end.p0(i64 16, ptr %43) #9
  br label %572

572:                                              ; preds = %558, %540
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %573

573:                                              ; preds = %572
  %574 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #9
  br label %532, !llvm.loop !42

575:                                              ; preds = %539
  store i32 0, ptr %3, align 4
  br label %576

576:                                              ; preds = %575, %521
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  %577 = load i32, ptr %3, align 4
  switch i32 %577, label %587 [
    i32 0, label %578
    i32 57, label %509
  ]

578:                                              ; preds = %576
  br label %509, !llvm.loop !40

579:                                              ; preds = %509
  %580 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  %581 = sext i32 %580 to i64
  %582 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %581
  %583 = load double, ptr %582, align 8, !tbaa !30
  %584 = fdiv double %583, 4.200000e+02
  %585 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %584)
  br label %165, !llvm.loop !43

586:                                              ; preds = %176
  ret i32 0

587:                                              ; preds = %576
  unreachable
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef, i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10HashInserti(i32 noundef) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

declare i32 @__isoc99_scanf(ptr noundef, ...) #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z5validiii(i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z7addEdgeiid(i32 noundef, i32 noundef, double noundef) #5

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, i32 } @_ZSt9make_pairIRdiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9flushEdgei(i32 noundef) #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, i32 } @_ZSt9make_pairIRdRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) #8

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

declare i32 @printf(ptr noundef, ...) #6

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}
!16 = distinct !{!16, !10}
!17 = !{!18, !6, i64 0}
!18 = !{!"_ZTS5Point", !6, i64 0, !6, i64 4, !6, i64 8}
!19 = !{!18, !6, i64 4}
!20 = !{!18, !6, i64 8}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10}
!24 = distinct !{!24, !10}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}
!29 = distinct !{!29, !10}
!30 = !{!31, !31, i64 0}
!31 = !{!"double", !7, i64 0}
!32 = distinct !{!32, !10}
!33 = distinct !{!33, !10}
!34 = !{!35, !6, i64 8}
!35 = !{!"_ZTSSt4pairIdiE", !31, i64 0, !6, i64 8}
!36 = !{!37, !37, i64 0}
!37 = !{!"bool", !7, i64 0}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = distinct !{!40, !10}
!41 = !{!35, !31, i64 0}
!42 = distinct !{!42, !10}
!43 = distinct !{!43, !10}


; 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.Point = type { i32, i32, i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<double, int>, std::allocator<std::pair<double, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::priority_queue" = type <{ %"class.std::vector", [8 x i8] }>
%"struct.std::pair" = type <{ double, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@tot = external dso_local local_unnamed_addr global i32, align 4
@pos = external dso_local local_unnamed_addr global [960991 x i32], align 16
@sp = external dso_local global %struct.Point, align 4
@tp = external dso_local global %struct.Point, align 4
@dir_tot = external dso_local local_unnamed_addr global i32, align 4
@dir_seq = external dso_local local_unnamed_addr global [1680 x [2 x i32]], align 16
@sysTim = external dso_local local_unnamed_addr global i32, align 4
@str = external dso_local global [3 x [3 x [4 x i8]]], align 16
@dist = external dso_local global [33724 x double], align 16
@vis = external dso_local local_unnamed_addr global [33724 x i8], align 16
@e = external dso_local global [33724 x %"class.std::vector"], align 16
@Q = external dso_local global %"class.std::priority_queue", align 8
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.Point, align 4
  %2 = alloca %struct.Point, align 4
  %3 = alloca %struct.Point, align 8
  %4 = alloca %struct.Point, align 4
  %5 = alloca %struct.Point, align 4
  %6 = alloca %struct.Point, align 8
  %7 = alloca %struct.Point, align 4
  %8 = alloca %struct.Point, align 4
  %9 = alloca %struct.Point, align 8
  %10 = alloca %"struct.std::pair", align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 8
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(3843964) @pos, i8 -1, i64 3843964, i1 false)
  br label %16

16:                                               ; preds = %0, %.loopexit180
  %.0183 = phi i32 [ 0, %0 ], [ %44, %.loopexit180 ]
  %17 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0183, i32 noundef 420)
  %18 = icmp sgt i32 %17, 59
  br i1 %18, label %.preheader179, label %.loopexit180

.preheader179:                                    ; preds = %16
  %19 = urem i32 %.0183, 420
  %20 = icmp eq i32 %19, 0
  %21 = mul nuw nsw i32 %.0183, 1261
  br label %22

22:                                               ; preds = %.preheader179, %.loopexit178
  %.0137182 = phi i32 [ 0, %.preheader179 ], [ %43, %.loopexit178 ]
  %23 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0137182, i32 noundef 420)
  %24 = icmp sgt i32 %23, 59
  br i1 %24, label %.preheader177, label %.loopexit178

.preheader177:                                    ; preds = %22
  %25 = urem i32 %.0137182, 420
  %26 = icmp eq i32 %25, 0
  %or.cond = or i1 %20, %26
  %27 = add nuw nsw i32 %.0137182, %21
  %28 = mul nuw nsw i32 %27, 1261
  br i1 %or.cond, label %.preheader177.split.us, label %.preheader177.split

.preheader177.split.us:                           ; preds = %.preheader177, %33
  %.0138181.us = phi i32 [ %34, %33 ], [ 0, %.preheader177 ]
  %29 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0138181.us, i32 noundef 420)
  %30 = icmp sgt i32 %29, 59
  br i1 %30, label %31, label %33

31:                                               ; preds = %.preheader177.split.us
  %32 = add nuw nsw i32 %.0138181.us, %28
  tail call void @_Z10HashInserti(i32 noundef %32)
  br label %33

33:                                               ; preds = %31, %.preheader177.split.us
  %34 = add nuw nsw i32 %.0138181.us, 1
  %exitcond232.not = icmp eq i32 %34, 1261
  br i1 %exitcond232.not, label %.loopexit178, label %.preheader177.split.us, !llvm.loop !5

.preheader177.split:                              ; preds = %.preheader177, %41
  %.0138181 = phi i32 [ %42, %41 ], [ 0, %.preheader177 ]
  %35 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0138181, i32 noundef 420)
  %36 = icmp sgt i32 %35, 59
  %.lhs.trunc = trunc nuw i32 %.0138181 to i16
  %37 = urem i16 %.lhs.trunc, 420
  %38 = icmp eq i16 %37, 0
  %or.cond223 = select i1 %36, i1 %38, i1 false
  br i1 %or.cond223, label %39, label %41

39:                                               ; preds = %.preheader177.split
  %40 = add nuw nsw i32 %.0138181, %28
  tail call void @_Z10HashInserti(i32 noundef %40)
  br label %41

41:                                               ; preds = %.preheader177.split, %39
  %42 = add nuw nsw i32 %.0138181, 1
  %exitcond.not = icmp eq i32 %42, 1261
  br i1 %exitcond.not, label %.loopexit178, label %.preheader177.split, !llvm.loop !5

.loopexit178:                                     ; preds = %41, %33, %22
  %43 = add nuw nsw i32 %.0137182, 1
  %exitcond233.not = icmp eq i32 %43, 1261
  br i1 %exitcond233.not, label %.loopexit180, label %22, !llvm.loop !7

.loopexit180:                                     ; preds = %.loopexit178, %16
  %44 = add nuw nsw i32 %.0183, 1
  %exitcond234.not = icmp eq i32 %44, 1261
  br i1 %exitcond234.not, label %.preheader176, label %16, !llvm.loop !8

.preheader173:                                    ; preds = %.loopexit175
  %45 = tail call noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  br i1 %45, label %.lr.ph219, label %.critedge

.lr.ph219:                                        ; preds = %.preheader173
  %46 = getelementptr inbounds i8, ptr %1, i64 4
  %47 = getelementptr inbounds i8, ptr %1, i64 8
  %48 = getelementptr inbounds i8, ptr %2, i64 4
  %49 = getelementptr inbounds i8, ptr %2, i64 8
  %.sroa.251.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  %50 = getelementptr inbounds i8, ptr %4, i64 4
  %51 = getelementptr inbounds i8, ptr %4, i64 8
  %52 = getelementptr inbounds i8, ptr %5, i64 4
  %53 = getelementptr inbounds i8, ptr %5, i64 8
  %.sroa.237.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %54 = getelementptr inbounds i8, ptr %7, i64 4
  %55 = getelementptr inbounds i8, ptr %7, i64 8
  %56 = getelementptr inbounds i8, ptr %8, i64 4
  %57 = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.223.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  %.sroa.216.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %15, i64 8
  br label %82

.preheader176:                                    ; preds = %.loopexit180, %.loopexit175
  %.0139185 = phi i32 [ %81, %.loopexit175 ], [ 0, %.loopexit180 ]
  %58 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0139185, i32 noundef 420)
  %59 = icmp sgt i32 %58, 59
  br i1 %59, label %.preheader174, label %.loopexit175

.preheader174:                                    ; preds = %.preheader176
  switch i32 %.0139185, label %.preheader174.split [
    i32 420, label %.preheader174.split.us.preheader
    i32 0, label %.preheader174.split.us.preheader
  ]

.preheader174.split.us.preheader:                 ; preds = %.preheader174, %.preheader174
  br label %.preheader174.split.us

.preheader174.split.us:                           ; preds = %.preheader174.split.us.preheader, %68
  %.0140184.us = phi i32 [ %69, %68 ], [ 0, %.preheader174.split.us.preheader ]
  %60 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0140184.us, i32 noundef 420)
  %61 = icmp sgt i32 %60, 59
  br i1 %61, label %62, label %68

62:                                               ; preds = %.preheader174.split.us
  %63 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %64
  store i32 %.0139185, ptr %65, align 8, !tbaa !9
  %66 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %64, i64 1
  store i32 %.0140184.us, ptr %66, align 4, !tbaa !9
  %67 = add nsw i32 %63, 1
  store i32 %67, ptr @dir_tot, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %62, %.preheader174.split.us
  %69 = add nuw nsw i32 %.0140184.us, 1
  %exitcond236.not = icmp eq i32 %69, 421
  br i1 %exitcond236.not, label %.loopexit175, label %.preheader174.split.us, !llvm.loop !13

.preheader174.split:                              ; preds = %.preheader174, %79
  %.0140184 = phi i32 [ %80, %79 ], [ 0, %.preheader174 ]
  %70 = tail call noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef %.0140184, i32 noundef 420)
  %71 = icmp sgt i32 %70, 59
  br i1 %71, label %72, label %79

72:                                               ; preds = %.preheader174.split
  switch i32 %.0140184, label %79 [
    i32 420, label %73
    i32 0, label %73
  ]

73:                                               ; preds = %72, %72
  %74 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %75
  store i32 %.0139185, ptr %76, align 8, !tbaa !9
  %77 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %75, i64 1
  store i32 %.0140184, ptr %77, align 4, !tbaa !9
  %78 = add nsw i32 %74, 1
  store i32 %78, ptr @dir_tot, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %72, %.preheader174.split, %73
  %80 = add nuw nsw i32 %.0140184, 1
  %exitcond235.not = icmp eq i32 %80, 421
  br i1 %exitcond235.not, label %.loopexit175, label %.preheader174.split, !llvm.loop !13

.loopexit175:                                     ; preds = %68, %79, %.preheader176
  %81 = add nuw nsw i32 %.0139185, 1
  %exitcond237.not = icmp eq i32 %81, 421
  br i1 %exitcond237.not, label %.preheader173, label %.preheader176, !llvm.loop !14

82:                                               ; preds = %.lr.ph219, %._crit_edge218
  %83 = call noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  br i1 %83, label %84, label %.critedge

84:                                               ; preds = %82
  %85 = call noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  br i1 %85, label %86, label %.critedge164

86:                                               ; preds = %84
  %87 = call noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  br i1 %87, label %.critedge, label %.critedge164

.critedge164:                                     ; preds = %84, %86
  %88 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @str)
  %89 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 4))
  %90 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 8))
  %91 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 12))
  %92 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 16))
  %93 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 20))
  %94 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 24))
  %95 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 28))
  %96 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull getelementptr inbounds (i8, ptr @str, i64 32))
  %97 = load i32, ptr @sysTim, align 4, !tbaa !9
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr @sysTim, align 4, !tbaa !9
  br label %.preheader170

.preheader170:                                    ; preds = %.critedge164, %109
  %.0145207 = phi i32 [ 0, %.critedge164 ], [ %110, %109 ]
  %99 = add nsw i32 %.0145207, -1
  %100 = mul nuw nsw i32 %.0145207, 420
  br label %.preheader169

101:                                              ; preds = %109
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(33724) @vis, i8 0, i64 33724, i1 false)
  %102 = load i32, ptr @tot, align 4, !tbaa !9
  %103 = icmp sgt i32 %102, 0
  br i1 %103, label %.lr.ph210.preheader, label %.preheader172

.lr.ph210.preheader:                              ; preds = %101
  %wide.trip.count = zext nneg i32 %102 to i64
  %min.iters.check = icmp ult i32 %102, 4
  br i1 %min.iters.check, label %.lr.ph210.preheader283, label %vector.ph

.lr.ph210.preheader283:                           ; preds = %middle.block, %.lr.ph210.preheader
  %indvars.iv267.ph = phi i64 [ 0, %.lr.ph210.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph210

vector.ph:                                        ; preds = %.lr.ph210.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %104 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %index
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  store <2 x double> <double 1.000000e+10, double 1.000000e+10>, ptr %104, align 16, !tbaa !15
  store <2 x double> <double 1.000000e+10, double 1.000000e+10>, ptr %105, align 16, !tbaa !15
  %index.next = add nuw i64 %index, 4
  %106 = icmp eq i64 %index.next, %n.vec
  br i1 %106, label %middle.block, label %vector.body, !llvm.loop !17

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader172, label %.lr.ph210.preheader283

.preheader169:                                    ; preds = %.preheader170, %111
  %.0147206 = phi i32 [ 0, %.preheader170 ], [ %112, %111 ]
  %107 = mul nuw nsw i32 %.0147206, 420
  %108 = add nsw i32 %.0147206, -1
  br label %113

109:                                              ; preds = %111
  %110 = add nuw nsw i32 %.0145207, 1
  %exitcond266.not = icmp eq i32 %110, 4
  br i1 %exitcond266.not, label %101, label %.preheader170, !llvm.loop !20

111:                                              ; preds = %.loopexit
  %112 = add nuw nsw i32 %.0147206, 1
  %exitcond265.not = icmp eq i32 %112, 4
  br i1 %exitcond265.not, label %109, label %.preheader169, !llvm.loop !21

113:                                              ; preds = %.preheader169, %.loopexit
  %.0148204 = phi i32 [ 0, %.preheader169 ], [ %205, %.loopexit ]
  %114 = call noundef zeroext i1 @_Z5validiii(i32 noundef %99, i32 noundef %.0147206, i32 noundef %.0148204)
  %115 = call noundef zeroext i1 @_Z5validiii(i32 noundef %.0145207, i32 noundef %.0147206, i32 noundef %.0148204)
  %116 = xor i1 %114, %115
  %117 = load i32, ptr @dir_tot, align 4
  %118 = icmp sgt i32 %117, 0
  %or.cond225 = select i1 %116, i1 %118, i1 false
  br i1 %or.cond225, label %.lr.ph191, label %.loopexit168

.lr.ph191:                                        ; preds = %113
  %119 = mul nuw nsw i32 %.0148204, 420
  br label %120

120:                                              ; preds = %.lr.ph191, %._crit_edge
  %indvars.iv245 = phi i64 [ 0, %.lr.ph191 ], [ %indvars.iv.next246, %._crit_edge ]
  %indvars.iv = phi i64 [ 1, %.lr.ph191 ], [ %indvars.iv.next, %._crit_edge ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %1) #8
  store i32 %100, ptr %1, align 4, !tbaa !22
  %121 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv245
  %122 = load i32, ptr %121, align 8, !tbaa !9
  %123 = add nsw i32 %122, %107
  store i32 %123, ptr %46, align 4, !tbaa !24
  %124 = getelementptr inbounds i8, ptr %121, i64 4
  %125 = load i32, ptr %124, align 4, !tbaa !9
  %126 = add nsw i32 %125, %119
  store i32 %126, ptr %47, align 4, !tbaa !25
  %127 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %1)
  %indvars.iv.next246 = add nuw nsw i64 %indvars.iv245, 1
  %128 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %129 = sext i32 %128 to i64
  %130 = icmp slt i64 %indvars.iv.next246, %129
  br i1 %130, label %.lr.ph, label %._crit_edge

._crit_edge.loopexit:                             ; preds = %.lr.ph
  %.pre = sext i32 %141 to i64
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %120
  %.pre-phi = phi i64 [ %.pre, %._crit_edge.loopexit ], [ %129, %120 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %1) #8
  %131 = icmp slt i64 %indvars.iv.next246, %.pre-phi
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br i1 %131, label %120, label %.loopexit168, !llvm.loop !26

.lr.ph:                                           ; preds = %120, %.lr.ph
  %indvars.iv242 = phi i64 [ %indvars.iv.next243, %.lr.ph ], [ %indvars.iv, %120 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #8
  store i32 %100, ptr %2, align 4, !tbaa !22
  %132 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv242
  %133 = load i32, ptr %132, align 8, !tbaa !9
  %134 = add nsw i32 %133, %107
  store i32 %134, ptr %48, align 4, !tbaa !24
  %135 = getelementptr inbounds i8, ptr %132, i64 4
  %136 = load i32, ptr %135, align 4, !tbaa !9
  %137 = add nsw i32 %136, %119
  store i32 %137, ptr %49, align 4, !tbaa !25
  %138 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %2)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #8
  %139 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %1, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract48 = extractvalue { i64, i32 } %139, 0
  %.fca.1.extract49 = extractvalue { i64, i32 } %139, 1
  store i64 %.fca.0.extract48, ptr %3, align 8
  store i32 %.fca.1.extract49, ptr %.sroa.251.0..sroa_idx, align 8
  %140 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @_Z7addEdgeiid(i32 noundef %127, i32 noundef %138, double noundef %140)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #8
  %indvars.iv.next243 = add nuw nsw i64 %indvars.iv242, 1
  %141 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %142 = trunc nuw i64 %indvars.iv.next243 to i32
  %143 = icmp sgt i32 %141, %142
  br i1 %143, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !27

.loopexit168:                                     ; preds = %._crit_edge, %113
  %144 = call noundef zeroext i1 @_Z5validiii(i32 noundef %.0145207, i32 noundef %108, i32 noundef %.0148204)
  %145 = call noundef zeroext i1 @_Z5validiii(i32 noundef %.0145207, i32 noundef %.0147206, i32 noundef %.0148204)
  %146 = xor i1 %144, %145
  %147 = load i32, ptr @dir_tot, align 4
  %148 = icmp sgt i32 %147, 0
  %or.cond227 = select i1 %146, i1 %148, i1 false
  br i1 %or.cond227, label %.lr.ph197, label %.loopexit166

.lr.ph197:                                        ; preds = %.loopexit168
  %149 = mul nuw nsw i32 %.0148204, 420
  br label %150

150:                                              ; preds = %.lr.ph197, %._crit_edge195
  %indvars.iv253 = phi i64 [ 0, %.lr.ph197 ], [ %indvars.iv.next254, %._crit_edge195 ]
  %indvars.iv248 = phi i64 [ 1, %.lr.ph197 ], [ %indvars.iv.next249, %._crit_edge195 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #8
  %151 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv253
  %152 = load i32, ptr %151, align 8, !tbaa !9
  %153 = add nsw i32 %152, %100
  store i32 %153, ptr %4, align 4, !tbaa !22
  store i32 %107, ptr %50, align 4, !tbaa !24
  %154 = getelementptr inbounds i8, ptr %151, i64 4
  %155 = load i32, ptr %154, align 4, !tbaa !9
  %156 = add nsw i32 %155, %149
  store i32 %156, ptr %51, align 4, !tbaa !25
  %157 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %indvars.iv.next254 = add nuw nsw i64 %indvars.iv253, 1
  %158 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = icmp slt i64 %indvars.iv.next254, %159
  br i1 %160, label %.lr.ph194, label %._crit_edge195

._crit_edge195.loopexit:                          ; preds = %.lr.ph194
  %.pre271 = sext i32 %171 to i64
  br label %._crit_edge195

._crit_edge195:                                   ; preds = %._crit_edge195.loopexit, %150
  %.pre-phi272 = phi i64 [ %.pre271, %._crit_edge195.loopexit ], [ %159, %150 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #8
  %161 = icmp slt i64 %indvars.iv.next254, %.pre-phi272
  %indvars.iv.next249 = add nuw nsw i64 %indvars.iv248, 1
  br i1 %161, label %150, label %.loopexit166, !llvm.loop !28

.lr.ph194:                                        ; preds = %150, %.lr.ph194
  %indvars.iv250 = phi i64 [ %indvars.iv.next251, %.lr.ph194 ], [ %indvars.iv248, %150 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #8
  %162 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv250
  %163 = load i32, ptr %162, align 8, !tbaa !9
  %164 = add nsw i32 %163, %100
  store i32 %164, ptr %5, align 4, !tbaa !22
  store i32 %107, ptr %52, align 4, !tbaa !24
  %165 = getelementptr inbounds i8, ptr %162, i64 4
  %166 = load i32, ptr %165, align 4, !tbaa !9
  %167 = add nsw i32 %166, %149
  store i32 %167, ptr %53, align 4, !tbaa !25
  %168 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %5)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #8
  %169 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %4, ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.fca.0.extract34 = extractvalue { i64, i32 } %169, 0
  %.fca.1.extract35 = extractvalue { i64, i32 } %169, 1
  store i64 %.fca.0.extract34, ptr %6, align 8
  store i32 %.fca.1.extract35, ptr %.sroa.237.0..sroa_idx, align 8
  %170 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @_Z7addEdgeiid(i32 noundef %157, i32 noundef %168, double noundef %170)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #8
  %indvars.iv.next251 = add nuw nsw i64 %indvars.iv250, 1
  %171 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %172 = trunc nuw i64 %indvars.iv.next251 to i32
  %173 = icmp sgt i32 %171, %172
  br i1 %173, label %.lr.ph194, label %._crit_edge195.loopexit, !llvm.loop !29

.loopexit166:                                     ; preds = %._crit_edge195, %.loopexit168
  %174 = add nsw i32 %.0148204, -1
  %175 = call noundef zeroext i1 @_Z5validiii(i32 noundef %.0145207, i32 noundef %.0147206, i32 noundef %174)
  %176 = call noundef zeroext i1 @_Z5validiii(i32 noundef %.0145207, i32 noundef %.0147206, i32 noundef %.0148204)
  %177 = xor i1 %175, %176
  %178 = load i32, ptr @dir_tot, align 4
  %179 = icmp sgt i32 %178, 0
  %or.cond229 = select i1 %177, i1 %179, i1 false
  br i1 %or.cond229, label %.lr.ph203, label %.loopexit

.lr.ph203:                                        ; preds = %.loopexit166
  %180 = mul nuw nsw i32 %.0148204, 420
  br label %181

181:                                              ; preds = %.lr.ph203, %._crit_edge201
  %indvars.iv261 = phi i64 [ 0, %.lr.ph203 ], [ %indvars.iv.next262, %._crit_edge201 ]
  %indvars.iv256 = phi i64 [ 1, %.lr.ph203 ], [ %indvars.iv.next257, %._crit_edge201 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #8
  %182 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv261
  %183 = load i32, ptr %182, align 8, !tbaa !9
  %184 = add nsw i32 %183, %100
  store i32 %184, ptr %7, align 4, !tbaa !22
  %185 = getelementptr inbounds i8, ptr %182, i64 4
  %186 = load i32, ptr %185, align 4, !tbaa !9
  %187 = add nsw i32 %186, %107
  store i32 %187, ptr %54, align 4, !tbaa !24
  store i32 %180, ptr %55, align 4, !tbaa !25
  %188 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %7)
  %indvars.iv.next262 = add nuw nsw i64 %indvars.iv261, 1
  %189 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %190 = sext i32 %189 to i64
  %191 = icmp slt i64 %indvars.iv.next262, %190
  br i1 %191, label %.lr.ph200, label %._crit_edge201

._crit_edge201.loopexit:                          ; preds = %.lr.ph200
  %.pre273 = sext i32 %202 to i64
  br label %._crit_edge201

._crit_edge201:                                   ; preds = %._crit_edge201.loopexit, %181
  %.pre-phi274 = phi i64 [ %.pre273, %._crit_edge201.loopexit ], [ %190, %181 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #8
  %192 = icmp slt i64 %indvars.iv.next262, %.pre-phi274
  %indvars.iv.next257 = add nuw nsw i64 %indvars.iv256, 1
  br i1 %192, label %181, label %.loopexit, !llvm.loop !30

.lr.ph200:                                        ; preds = %181, %.lr.ph200
  %indvars.iv258 = phi i64 [ %indvars.iv.next259, %.lr.ph200 ], [ %indvars.iv256, %181 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #8
  %193 = getelementptr inbounds [1680 x [2 x i32]], ptr @dir_seq, i64 0, i64 %indvars.iv258
  %194 = load i32, ptr %193, align 8, !tbaa !9
  %195 = add nsw i32 %194, %100
  store i32 %195, ptr %8, align 4, !tbaa !22
  %196 = getelementptr inbounds i8, ptr %193, i64 4
  %197 = load i32, ptr %196, align 4, !tbaa !9
  %198 = add nsw i32 %197, %107
  store i32 %198, ptr %56, align 4, !tbaa !24
  store i32 %180, ptr %57, align 4, !tbaa !25
  %199 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) %8)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #8
  %200 = call { i64, i32 } @_ZNK5PointmiERKS_(ptr noundef nonnull align 4 dereferenceable(12) %7, ptr noundef nonnull align 4 dereferenceable(12) %8)
  %.fca.0.extract20 = extractvalue { i64, i32 } %200, 0
  %.fca.1.extract21 = extractvalue { i64, i32 } %200, 1
  store i64 %.fca.0.extract20, ptr %9, align 8
  store i32 %.fca.1.extract21, ptr %.sroa.223.0..sroa_idx, align 8
  %201 = call noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12) %9)
  call void @_Z7addEdgeiid(i32 noundef %188, i32 noundef %199, double noundef %201)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #8
  %indvars.iv.next259 = add nuw nsw i64 %indvars.iv258, 1
  %202 = load i32, ptr @dir_tot, align 4, !tbaa !9
  %203 = trunc nuw i64 %indvars.iv.next259 to i32
  %204 = icmp sgt i32 %202, %203
  br i1 %204, label %.lr.ph200, label %._crit_edge201.loopexit, !llvm.loop !31

.loopexit:                                        ; preds = %._crit_edge201, %.loopexit166
  %205 = add nuw nsw i32 %.0148204, 1
  %exitcond264.not = icmp eq i32 %205, 4
  br i1 %exitcond264.not, label %111, label %113, !llvm.loop !32

.preheader172:                                    ; preds = %.lr.ph210, %middle.block, %101
  %206 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  br i1 %206, label %._crit_edge212, label %.lr.ph211

.lr.ph210:                                        ; preds = %.lr.ph210.preheader283, %.lr.ph210
  %indvars.iv267 = phi i64 [ %indvars.iv.next268, %.lr.ph210 ], [ %indvars.iv267.ph, %.lr.ph210.preheader283 ]
  %207 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %indvars.iv267
  store double 1.000000e+10, ptr %207, align 8, !tbaa !15
  %indvars.iv.next268 = add nuw nsw i64 %indvars.iv267, 1
  %exitcond270.not = icmp eq i64 %indvars.iv.next268, %wide.trip.count
  br i1 %exitcond270.not, label %.preheader172, label %.lr.ph210, !llvm.loop !33

.lr.ph211:                                        ; preds = %.preheader172, %.lr.ph211
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %208 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  br i1 %208, label %._crit_edge212, label %.lr.ph211, !llvm.loop !34

._crit_edge212:                                   ; preds = %.lr.ph211, %.preheader172
  %209 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %210
  store double 0.000000e+00, ptr %211, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  %212 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  %213 = sext i32 %212 to i64
  %214 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %213
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  %215 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  store i32 %215, ptr %11, align 4, !tbaa !9
  %216 = call { double, i32 } @_ZSt9make_pairIRdiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %.fca.0.extract13 = extractvalue { double, i32 } %216, 0
  %.fca.1.extract14 = extractvalue { double, i32 } %216, 1
  store double %.fca.0.extract13, ptr %10, align 8
  store i32 %.fca.1.extract14, ptr %.sroa.216.0..sroa_idx, align 8
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) @Q, ptr noundef nonnull align 8 dereferenceable(12) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  %217 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  br i1 %217, label %._crit_edge218, label %.lr.ph217

.lr.ph217:                                        ; preds = %._crit_edge212, %250
  %218 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %219 = getelementptr inbounds i8, ptr %218, i64 8
  %220 = load i32, ptr %219, align 8, !tbaa !35
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3popEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [33724 x i8], ptr @vis, i64 0, i64 %221
  %223 = load i8, ptr %222, align 1, !tbaa !37, !range !39, !noundef !40
  %224 = trunc nuw i8 %223 to i1
  br i1 %224, label %250, label %225, !llvm.loop !41

225:                                              ; preds = %.lr.ph217
  store i8 1, ptr %222, align 1, !tbaa !37
  call void @_Z9flushEdgei(i32 noundef %220)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %226 = getelementptr inbounds [33724 x %"class.std::vector"], ptr @e, i64 0, i64 %221
  %227 = call ptr @_ZNSt6vectorISt4pairIdiESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %226) #8
  store ptr %227, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %228 = call ptr @_ZNSt6vectorISt4pairIdiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %226) #8
  store ptr %228, ptr %13, align 8
  %229 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIdiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br i1 %229, label %.lr.ph214, label %._crit_edge215

.lr.ph214:                                        ; preds = %225
  %230 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %221
  br label %231

._crit_edge215:                                   ; preds = %246, %225
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  br label %250

231:                                              ; preds = %.lr.ph214, %246
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #8
  %232 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %233 = getelementptr inbounds i8, ptr %232, i64 8
  %234 = load i32, ptr %233, align 8, !tbaa !35
  store i32 %234, ptr %14, align 4, !tbaa !9
  %235 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %236 = load double, ptr %235, align 8, !tbaa !42
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %238
  %240 = load double, ptr %239, align 8, !tbaa !15
  %241 = load double, ptr %230, align 8, !tbaa !15
  %242 = fadd double %236, %241
  %243 = fcmp ogt double %240, %242
  br i1 %243, label %244, label %246

244:                                              ; preds = %231
  store double %242, ptr %239, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %245 = call { double, i32 } @_ZSt9make_pairIRdRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %.fca.0.extract = extractvalue { double, i32 } %245, 0
  %.fca.1.extract = extractvalue { double, i32 } %245, 1
  store double %.fca.0.extract, ptr %15, align 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25) @Q, ptr noundef nonnull align 8 dereferenceable(12) %15)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %246

246:                                              ; preds = %244, %231
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #8
  %247 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPSt4pairIdiESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %248 = call ptr @_ZNSt6vectorISt4pairIdiESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %226) #8
  store ptr %248, ptr %13, align 8
  %249 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPSt4pairIdiESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br i1 %249, label %231, label %._crit_edge215, !llvm.loop !43

250:                                              ; preds = %.lr.ph217, %._crit_edge215
  %251 = call noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25) @Q)
  br i1 %251, label %._crit_edge218, label %.lr.ph217

._crit_edge218:                                   ; preds = %250, %._crit_edge212
  %252 = call noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12) @tp)
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [33724 x double], ptr @dist, i64 0, i64 %253
  %255 = load double, ptr %254, align 8, !tbaa !15
  %256 = fdiv double %255, 4.200000e+02
  %257 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, double noundef %256)
  %258 = call noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12) @sp)
  br i1 %258, label %82, label %.critedge, !llvm.loop !44

.critedge:                                        ; preds = %86, %._crit_edge218, %82, %.preheader173
  ret i32 0
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZSt5__gcdIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10HashInserti(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5Point4readEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN5Point6isZeroEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_ZNK5Point5getIDEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z7addEdgeiid(i32 noundef, i32 noundef, double noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef double @_ZNK5Point4modeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE4pushEOS1_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(12)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, i32 } @_ZSt9make_pairIRdiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNKSt14priority_queueISt4pairIdiESt6vectorIS1_SaIS1_EESt7greaterIS1_EE3topEv(ptr noundef nonnull align 8 dereferenceable(25)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9flushEdgei(i32 noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { double, i32 } @_ZSt9make_pairIRdRiESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS3_INS4_IT0_E4typeEE6__typeEEOS5_OSA_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #7

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #6

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = distinct !{!13, !6}
!14 = distinct !{!14, !6}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !11, i64 0}
!17 = distinct !{!17, !6, !18, !19}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !6}
!21 = distinct !{!21, !6}
!22 = !{!23, !10, i64 0}
!23 = !{!"_ZTS5Point", !10, i64 0, !10, i64 4, !10, i64 8}
!24 = !{!23, !10, i64 4}
!25 = !{!23, !10, i64 8}
!26 = distinct !{!26, !6}
!27 = distinct !{!27, !6}
!28 = distinct !{!28, !6}
!29 = distinct !{!29, !6}
!30 = distinct !{!30, !6}
!31 = distinct !{!31, !6}
!32 = distinct !{!32, !6}
!33 = distinct !{!33, !6, !19, !18}
!34 = distinct !{!34, !6}
!35 = !{!36, !10, i64 8}
!36 = !{!"_ZTSSt4pairIdiE", !16, i64 0, !10, i64 8}
!37 = !{!38, !38, i64 0}
!38 = !{!"bool", !11, i64 0}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = distinct !{!41, !6}
!42 = !{!36, !16, i64 0}
!43 = distinct !{!43, !6}
!44 = distinct !{!44, !6}


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