; LLVM IR from abeaumont/competitive-programming :: cses (2416)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

@x = external dso_local global [200001 x i64], align 16
@p = external dso_local global [200001 x i64], align 16
@ni = external dso_local global [200001 x i64], align 16
@ci = external dso_local global [200001 x i64], align 16
@c = external dso_local global [451 x [200001 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"struct.std::pair", align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %19 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %20 = getelementptr i8, ptr %19, i64 -24
  %21 = load i64, ptr %20, align 8
  %22 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %21
  %23 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %22, ptr noundef null)
  %24 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #7
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %26 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  store i32 1, ptr %6, align 4, !tbaa !8
  br label %27

27:                                               ; preds = %51, %0
  %28 = load i32, ptr %6, align 4, !tbaa !8
  %29 = sext i32 %28 to i64
  %30 = load i64, ptr %2, align 8, !tbaa !11
  %31 = icmp sle i64 %29, %30
  br i1 %31, label %33, label %32

32:                                               ; preds = %27
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %54

33:                                               ; preds = %27
  %34 = load i32, ptr %6, align 4, !tbaa !8
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %35
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %36)
  %38 = load i32, ptr %6, align 4, !tbaa !8
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %39
  %41 = load i64, ptr %40, align 8, !tbaa !11
  %42 = load i32, ptr %6, align 4, !tbaa !8
  %43 = sub nsw i32 %42, 1
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %44
  %46 = load i64, ptr %45, align 8, !tbaa !11
  %47 = add nsw i64 %41, %46
  %48 = load i32, ptr %6, align 4, !tbaa !8
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %49
  store i64 %47, ptr %50, align 8, !tbaa !11
  br label %51

51:                                               ; preds = %33
  %52 = load i32, ptr %6, align 4, !tbaa !8
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %6, align 4, !tbaa !8
  br label %27, !llvm.loop !13

54:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %55 = load i64, ptr %2, align 8, !tbaa !11
  %56 = trunc i64 %55 to i32
  store i32 %56, ptr %8, align 4, !tbaa !8
  br label %57

57:                                               ; preds = %97, %54
  %58 = load i32, ptr %8, align 4, !tbaa !8
  %59 = icmp ne i32 %58, 0
  br i1 %59, label %61, label %60

60:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %104

61:                                               ; preds = %57
  br label %62

62:                                               ; preds = %76, %61
  %63 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br i1 %63, label %74, label %64

64:                                               ; preds = %62
  %65 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %66 = getelementptr inbounds %"struct.std::pair", ptr %65, i32 0, i32 0
  %67 = load i32, ptr %66, align 4, !tbaa !15
  %68 = sext i32 %67 to i64
  %69 = load i32, ptr %8, align 4, !tbaa !8
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %70
  %72 = load i64, ptr %71, align 8, !tbaa !11
  %73 = icmp slt i64 %68, %72
  br label %74

74:                                               ; preds = %64, %62
  %75 = phi i1 [ false, %62 ], [ %73, %64 ]
  br i1 %75, label %76, label %77

76:                                               ; preds = %74
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %62, !llvm.loop !17

77:                                               ; preds = %74
  %78 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br i1 %78, label %79, label %83

79:                                               ; preds = %77
  %80 = load i32, ptr %8, align 4, !tbaa !8
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %81
  store i64 400000, ptr %82, align 8, !tbaa !11
  br label %91

83:                                               ; preds = %77
  %84 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  %85 = getelementptr inbounds %"struct.std::pair", ptr %84, i32 0, i32 1
  %86 = load i32, ptr %85, align 4, !tbaa !18
  %87 = sext i32 %86 to i64
  %88 = load i32, ptr %8, align 4, !tbaa !8
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %89
  store i64 %87, ptr %90, align 8, !tbaa !11
  br label %91

91:                                               ; preds = %83, %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %92 = load i32, ptr %8, align 4, !tbaa !8
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %93
  invoke void @_ZNSt4pairIiiEC2IRxRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %95 unwind label %100

95:                                               ; preds = %91
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(8) %9)
          to label %96 unwind label %100

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %97

97:                                               ; preds = %96
  %98 = load i32, ptr %8, align 4, !tbaa !8
  %99 = add nsw i32 %98, -1
  store i32 %99, ptr %8, align 4, !tbaa !8
  br label %57, !llvm.loop !19

100:                                              ; preds = %95, %91
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %10, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %342

104:                                              ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  store i32 1, ptr %12, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 1, ptr %13, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 1, ptr %14, align 4, !tbaa !8
  br label %105

105:                                              ; preds = %178, %104
  %106 = load i32, ptr %12, align 4, !tbaa !8
  %107 = sext i32 %106 to i64
  %108 = load i64, ptr %2, align 8, !tbaa !11
  %109 = icmp sle i64 %107, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %181

111:                                              ; preds = %105
  %112 = load i32, ptr %12, align 4, !tbaa !8
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %113
  %115 = load i64, ptr %114, align 8, !tbaa !11
  %116 = load i32, ptr %13, align 4, !tbaa !8
  %117 = sext i32 %116 to i64
  %118 = icmp sge i64 %115, %117
  br i1 %118, label %119, label %177

119:                                              ; preds = %111
  %120 = load i32, ptr %12, align 4, !tbaa !8
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %121
  %123 = load i64, ptr %122, align 8, !tbaa !11
  %124 = load i64, ptr %2, align 8, !tbaa !11
  %125 = icmp sle i64 %123, %124
  br i1 %125, label %126, label %177

126:                                              ; preds = %119
  %127 = load i32, ptr %13, align 4, !tbaa !8
  %128 = add nsw i32 %127, 450
  store i32 %128, ptr %13, align 4, !tbaa !8
  %129 = load i32, ptr %12, align 4, !tbaa !8
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %130
  %132 = load i64, ptr %131, align 8, !tbaa !11
  store i64 %132, ptr %4, align 8, !tbaa !11
  %133 = load i32, ptr %14, align 4, !tbaa !8
  %134 = sext i32 %133 to i64
  %135 = load i64, ptr %4, align 8, !tbaa !11
  %136 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %135
  store i64 %134, ptr %136, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %137 = load i64, ptr %4, align 8, !tbaa !11
  %138 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %137
  %139 = load i64, ptr %138, align 8, !tbaa !11
  store i64 %139, ptr %15, align 8, !tbaa !11
  br label %140

140:                                              ; preds = %148, %126
  %141 = load i64, ptr %4, align 8, !tbaa !11
  %142 = load i64, ptr %2, align 8, !tbaa !11
  %143 = icmp sle i64 %141, %142
  br i1 %143, label %144, label %174

144:                                              ; preds = %140
  %145 = load i64, ptr %4, align 8, !tbaa !11
  %146 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %145
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %146)
          to label %148 unwind label %170

148:                                              ; preds = %144
  %149 = load i64, ptr %147, align 8, !tbaa !11
  store i64 %149, ptr %15, align 8, !tbaa !11
  %150 = load i32, ptr %14, align 4, !tbaa !8
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %151
  %153 = load i64, ptr %4, align 8, !tbaa !11
  %154 = sub nsw i64 %153, 1
  %155 = getelementptr inbounds [200001 x i64], ptr %152, i64 0, i64 %154
  %156 = load i64, ptr %155, align 8, !tbaa !11
  %157 = load i64, ptr %15, align 8, !tbaa !11
  %158 = add nsw i64 %156, %157
  %159 = load i64, ptr %4, align 8, !tbaa !11
  %160 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %159
  %161 = load i64, ptr %160, align 8, !tbaa !11
  %162 = sub nsw i64 %158, %161
  %163 = load i32, ptr %14, align 4, !tbaa !8
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %164
  %166 = load i64, ptr %4, align 8, !tbaa !11
  %167 = getelementptr inbounds [200001 x i64], ptr %165, i64 0, i64 %166
  store i64 %162, ptr %167, align 8, !tbaa !11
  %168 = load i64, ptr %4, align 8, !tbaa !11
  %169 = add nsw i64 %168, 1
  store i64 %169, ptr %4, align 8, !tbaa !11
  br label %140, !llvm.loop !20

170:                                              ; preds = %144
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %10, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %342

174:                                              ; preds = %140
  %175 = load i32, ptr %14, align 4, !tbaa !8
  %176 = add nsw i32 %175, 1
  store i32 %176, ptr %14, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %177

177:                                              ; preds = %174, %119, %111
  br label %178

178:                                              ; preds = %177
  %179 = load i32, ptr %12, align 4, !tbaa !8
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %12, align 4, !tbaa !8
  br label %105, !llvm.loop !21

181:                                              ; preds = %110
  br label %182

182:                                              ; preds = %339, %181
  %183 = load i64, ptr %3, align 8, !tbaa !11
  %184 = add nsw i64 %183, -1
  store i64 %184, ptr %3, align 8, !tbaa !11
  %185 = icmp ne i64 %183, 0
  br i1 %185, label %186, label %340

186:                                              ; preds = %182
  %187 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %188 unwind label %236

188:                                              ; preds = %186
  %189 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %187, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %190 unwind label %236

190:                                              ; preds = %188
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %191 = load i64, ptr %4, align 8, !tbaa !11
  %192 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %191
  %193 = load i64, ptr %192, align 8, !tbaa !11
  store i64 %193, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  store i64 0, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %194 = load i64, ptr %4, align 8, !tbaa !11
  store i64 %194, ptr %18, align 8, !tbaa !11
  br label %195

195:                                              ; preds = %266, %190
  %196 = load i64, ptr %18, align 8, !tbaa !11
  %197 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %196
  %198 = load i64, ptr %197, align 8, !tbaa !11
  %199 = icmp ne i64 %198, 0
  br i1 %199, label %206, label %200

200:                                              ; preds = %195
  %201 = load i64, ptr %18, align 8, !tbaa !11
  %202 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %201
  %203 = load i64, ptr %202, align 8, !tbaa !11
  %204 = load i64, ptr %5, align 8, !tbaa !11
  %205 = icmp sle i64 %203, %204
  br label %206

206:                                              ; preds = %200, %195
  %207 = phi i1 [ false, %195 ], [ %205, %200 ]
  br i1 %207, label %208, label %273

208:                                              ; preds = %206
  br label %209

209:                                              ; preds = %232, %208
  %210 = load i64, ptr %18, align 8, !tbaa !11
  %211 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %210
  %212 = load i64, ptr %211, align 8, !tbaa !11
  %213 = load i64, ptr %5, align 8, !tbaa !11
  %214 = icmp sle i64 %212, %213
  br i1 %214, label %215, label %230

215:                                              ; preds = %209
  %216 = load i64, ptr %18, align 8, !tbaa !11
  %217 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %216
  %218 = load i64, ptr %217, align 8, !tbaa !11
  %219 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %218
  %220 = load i64, ptr %219, align 8, !tbaa !11
  %221 = icmp ne i64 %220, 0
  br i1 %221, label %230, label %222

222:                                              ; preds = %215
  %223 = load i64, ptr %18, align 8, !tbaa !11
  %224 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %223
  %225 = load i64, ptr %224, align 8, !tbaa !11
  %226 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %225
  %227 = load i64, ptr %226, align 8, !tbaa !11
  %228 = load i64, ptr %16, align 8, !tbaa !11
  %229 = icmp sle i64 %227, %228
  br label %230

230:                                              ; preds = %222, %215, %209
  %231 = phi i1 [ false, %215 ], [ false, %209 ], [ %229, %222 ]
  br i1 %231, label %232, label %240

232:                                              ; preds = %230
  %233 = load i64, ptr %18, align 8, !tbaa !11
  %234 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %233
  %235 = load i64, ptr %234, align 8, !tbaa !11
  store i64 %235, ptr %18, align 8, !tbaa !11
  br label %209, !llvm.loop !22

236:                                              ; preds = %188, %186
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %10, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %11, align 4
  br label %342

240:                                              ; preds = %230
  %241 = load i64, ptr %18, align 8, !tbaa !11
  %242 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %241
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %242)
          to label %244 unwind label %269

244:                                              ; preds = %240
  %245 = load i64, ptr %243, align 8, !tbaa !11
  store i64 %245, ptr %18, align 8, !tbaa !11
  %246 = load i64, ptr %16, align 8, !tbaa !11
  %247 = load i64, ptr %18, align 8, !tbaa !11
  %248 = load i64, ptr %4, align 8, !tbaa !11
  %249 = sub nsw i64 %247, %248
  %250 = sub nsw i64 %249, 1
  %251 = mul nsw i64 %246, %250
  %252 = load i64, ptr %18, align 8, !tbaa !11
  %253 = sub nsw i64 %252, 1
  %254 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %253
  %255 = load i64, ptr %254, align 8, !tbaa !11
  %256 = load i64, ptr %4, align 8, !tbaa !11
  %257 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %256
  %258 = load i64, ptr %257, align 8, !tbaa !11
  %259 = sub nsw i64 %255, %258
  %260 = sub nsw i64 %251, %259
  %261 = load i64, ptr %17, align 8, !tbaa !11
  %262 = add nsw i64 %261, %260
  store i64 %262, ptr %17, align 8, !tbaa !11
  %263 = load i64, ptr %18, align 8, !tbaa !11
  %264 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %263
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %264)
          to label %266 unwind label %269

266:                                              ; preds = %244
  %267 = load i64, ptr %265, align 8, !tbaa !11
  store i64 %267, ptr %16, align 8, !tbaa !11
  %268 = load i64, ptr %18, align 8, !tbaa !11
  store i64 %268, ptr %4, align 8, !tbaa !11
  br label %195, !llvm.loop !23

269:                                              ; preds = %337, %334, %244, %240
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %10, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %342

273:                                              ; preds = %206
  %274 = load i64, ptr %4, align 8, !tbaa !11
  %275 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %274
  %276 = load i64, ptr %275, align 8, !tbaa !11
  %277 = icmp ne i64 %276, 0
  br i1 %277, label %278, label %316

278:                                              ; preds = %273
  %279 = load i64, ptr %4, align 8, !tbaa !11
  %280 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %279
  %281 = load i64, ptr %280, align 8, !tbaa !11
  %282 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %281
  %283 = load i64, ptr %5, align 8, !tbaa !11
  %284 = getelementptr inbounds [200001 x i64], ptr %282, i64 0, i64 %283
  %285 = load i64, ptr %284, align 8, !tbaa !11
  %286 = load i64, ptr %4, align 8, !tbaa !11
  %287 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %286
  %288 = load i64, ptr %287, align 8, !tbaa !11
  %289 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %288
  %290 = load i64, ptr %4, align 8, !tbaa !11
  %291 = sub nsw i64 %290, 1
  %292 = getelementptr inbounds [200001 x i64], ptr %289, i64 0, i64 %291
  %293 = load i64, ptr %292, align 8, !tbaa !11
  %294 = sub nsw i64 %285, %293
  %295 = load i64, ptr %17, align 8, !tbaa !11
  %296 = add nsw i64 %295, %294
  store i64 %296, ptr %17, align 8, !tbaa !11
  %297 = load i64, ptr %16, align 8, !tbaa !11
  %298 = load i64, ptr %4, align 8, !tbaa !11
  %299 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %298
  %300 = load i64, ptr %299, align 8, !tbaa !11
  %301 = icmp sgt i64 %297, %300
  br i1 %301, label %302, label %315

302:                                              ; preds = %278
  %303 = load i64, ptr %5, align 8, !tbaa !11
  %304 = load i64, ptr %4, align 8, !tbaa !11
  %305 = sub nsw i64 %303, %304
  %306 = add nsw i64 %305, 1
  %307 = load i64, ptr %16, align 8, !tbaa !11
  %308 = load i64, ptr %4, align 8, !tbaa !11
  %309 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %308
  %310 = load i64, ptr %309, align 8, !tbaa !11
  %311 = sub nsw i64 %307, %310
  %312 = mul nsw i64 %306, %311
  %313 = load i64, ptr %17, align 8, !tbaa !11
  %314 = add nsw i64 %313, %312
  store i64 %314, ptr %17, align 8, !tbaa !11
  br label %315

315:                                              ; preds = %302, %278
  br label %334

316:                                              ; preds = %273
  %317 = load i64, ptr %16, align 8, !tbaa !11
  %318 = load i64, ptr %5, align 8, !tbaa !11
  %319 = load i64, ptr %4, align 8, !tbaa !11
  %320 = sub nsw i64 %318, %319
  %321 = add nsw i64 %320, 1
  %322 = mul nsw i64 %317, %321
  %323 = load i64, ptr %5, align 8, !tbaa !11
  %324 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %323
  %325 = load i64, ptr %324, align 8, !tbaa !11
  %326 = load i64, ptr %4, align 8, !tbaa !11
  %327 = sub nsw i64 %326, 1
  %328 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %327
  %329 = load i64, ptr %328, align 8, !tbaa !11
  %330 = sub nsw i64 %325, %329
  %331 = sub nsw i64 %322, %330
  %332 = load i64, ptr %17, align 8, !tbaa !11
  %333 = add nsw i64 %332, %331
  store i64 %333, ptr %17, align 8, !tbaa !11
  br label %334

334:                                              ; preds = %316, %315
  %335 = load i64, ptr %17, align 8, !tbaa !11
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %335)
          to label %337 unwind label %269

337:                                              ; preds = %334
  %338 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %336, i8 noundef signext 10)
          to label %339 unwind label %269

339:                                              ; preds = %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %182, !llvm.loop !24

340:                                              ; preds = %182
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  %341 = load i32, ptr %1, align 4
  ret i32 %341

342:                                              ; preds = %269, %236, %170, %100
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #7
  br label %343

343:                                              ; preds = %342
  %344 = load ptr, ptr %10, align 8
  %345 = load i32, ptr %11, align 4
  %346 = insertvalue { ptr, i32 } poison, ptr %344, 0
  %347 = insertvalue { ptr, i32 } %346, i32 %345, 1
  resume { ptr, i32 } %347
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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


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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<int, int>, std::allocator<std::pair<int, int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { i32, i32 }

@x = external dso_local global [200001 x i64], align 16
@p = external dso_local local_unnamed_addr global [200001 x i64], align 16
@ni = external dso_local global [200001 x i64], align 16
@ci = external dso_local local_unnamed_addr global [200001 x i64], align 16
@c = external dso_local local_unnamed_addr global [451 x [200001 x i64]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::pair", align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %12
  %14 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef null)
  %15 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %16 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %18 = load i64, ptr %1, align 8, !tbaa !8
  %.not78 = icmp slt i64 %18, 1
  br i1 %.not78, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %0
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %19 = load i64, ptr %1, align 8, !tbaa !8
  %20 = trunc i64 %19 to i32
  store i32 %20, ptr %6, align 4, !tbaa !11
  %.not5882 = icmp eq i32 %20, 0
  br i1 %.not5882, label %._crit_edge83, label %.preheader77

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %21 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %indvars.iv
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %21)
  %23 = load i64, ptr %21, align 8, !tbaa !8
  %24 = add nsw i64 %indvars.iv, -1
  %25 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %24
  %26 = load i64, ptr %25, align 8, !tbaa !8
  %27 = add nsw i64 %26, %23
  %28 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %indvars.iv
  store i64 %27, ptr %28, align 8, !tbaa !8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %29 = load i64, ptr %1, align 8, !tbaa !8
  %.not.not = icmp sgt i64 %29, %indvars.iv
  br i1 %.not.not, label %.lr.ph, label %._crit_edge, !llvm.loop !13

.preheader77:                                     ; preds = %._crit_edge, %52
  %30 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br i1 %30, label %.critedge, label %.lr.ph80

._crit_edge83.loopexit:                           ; preds = %52
  %.pre = load i64, ptr %1, align 8, !tbaa !8
  br label %._crit_edge83

._crit_edge83:                                    ; preds = %._crit_edge83.loopexit, %._crit_edge
  %31 = phi i64 [ %.pre, %._crit_edge83.loopexit ], [ %19, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  %.not5988 = icmp slt i64 %31, 1
  br i1 %.not5988, label %.preheader76, label %.lr.ph93

.lr.ph80:                                         ; preds = %.preheader77, %40
  %32 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %33 = load i32, ptr %32, align 4, !tbaa !15
  %34 = sext i32 %33 to i64
  %35 = load i32, ptr %6, align 4, !tbaa !11
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %36
  %38 = load i64, ptr %37, align 8, !tbaa !8
  %39 = icmp sgt i64 %38, %34
  br i1 %39, label %40, label %.critedge

40:                                               ; preds = %.lr.ph80
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %41 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br i1 %41, label %.critedge, label %.lr.ph80, !llvm.loop !17

.critedge:                                        ; preds = %.lr.ph80, %40, %.preheader77
  %42 = call noundef zeroext i1 @_ZNKSt6vectorISt4pairIiiESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br i1 %42, label %48, label %43

43:                                               ; preds = %.critedge
  %44 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt6vectorISt4pairIiiESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  %45 = getelementptr inbounds i8, ptr %44, i64 4
  %46 = load i32, ptr %45, align 4, !tbaa !18
  %47 = sext i32 %46 to i64
  br label %48

48:                                               ; preds = %.critedge, %43
  %.sink = phi i64 [ %47, %43 ], [ 400000, %.critedge ]
  %.sink128 = load i32, ptr %6, align 4, !tbaa !11
  %49 = sext i32 %.sink128 to i64
  %50 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %49
  store i64 %.sink, ptr %50, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  %51 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %49
  call void @_ZNSt4pairIiiEC2IRxRiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS5_S6_EEEbE4typeELb1EEEOS5_OS6_(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 4 dereferenceable(4) %6)
  invoke void @_ZNSt6vectorISt4pairIiiESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(8) %7)
          to label %52 unwind label %55

52:                                               ; preds = %48
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  %53 = load i32, ptr %6, align 4, !tbaa !11
  %54 = add nsw i32 %53, -1
  store i32 %54, ptr %6, align 4, !tbaa !11
  %.not58 = icmp eq i32 %54, 0
  br i1 %.not58, label %._crit_edge83.loopexit, label %.preheader77, !llvm.loop !19

55:                                               ; preds = %48
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  br label %162

.preheader76:                                     ; preds = %82, %._crit_edge83
  %57 = load i64, ptr %2, align 8, !tbaa !8
  %58 = add nsw i64 %57, -1
  store i64 %58, ptr %2, align 8, !tbaa !8
  %.not60101 = icmp eq i64 %57, 0
  br i1 %.not60101, label %._crit_edge103, label %.lr.ph102

.lr.ph93:                                         ; preds = %._crit_edge83, %82
  %59 = phi i64 [ %83, %82 ], [ %31, %._crit_edge83 ]
  %indvars.iv106 = phi i64 [ %indvars.iv.next107, %82 ], [ 1, %._crit_edge83 ]
  %.04191 = phi i32 [ %.142, %82 ], [ 1, %._crit_edge83 ]
  %.04390 = phi i32 [ %.144, %82 ], [ 1, %._crit_edge83 ]
  %60 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %indvars.iv106
  %61 = load i64, ptr %60, align 8, !tbaa !8
  %62 = sext i32 %.04390 to i64
  %.not68 = icmp slt i64 %61, %62
  %.not69 = icmp sgt i64 %61, %59
  %or.cond = or i1 %.not68, %.not69
  br i1 %or.cond, label %82, label %.lr.ph86.preheader

.lr.ph86.preheader:                               ; preds = %.lr.ph93
  %63 = add nsw i32 %.04390, 450
  %64 = sext i32 %.04191 to i64
  %65 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %61
  store i64 %64, ptr %65, align 8, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %66 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %61
  %67 = load i64, ptr %66, align 8, !tbaa !8
  store i64 %67, ptr %8, align 8, !tbaa !8
  br label %.lr.ph86

.lr.ph86:                                         ; preds = %.lr.ph86.preheader, %.lr.ph86
  %68 = phi i64 [ %79, %.lr.ph86 ], [ %61, %.lr.ph86.preheader ]
  %69 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %68
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %69)
  %71 = load i64, ptr %70, align 8, !tbaa !8
  store i64 %71, ptr %8, align 8, !tbaa !8
  %72 = add nsw i64 %68, -1
  %73 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %64, i64 %72
  %74 = load i64, ptr %73, align 8, !tbaa !8
  %75 = add nsw i64 %74, %71
  %76 = load i64, ptr %69, align 8, !tbaa !8
  %77 = sub i64 %75, %76
  %78 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %64, i64 %68
  store i64 %77, ptr %78, align 8, !tbaa !8
  %79 = add nsw i64 %68, 1
  store i64 %79, ptr %3, align 8, !tbaa !8
  %80 = load i64, ptr %1, align 8, !tbaa !8
  %.not70.not = icmp slt i64 %68, %80
  br i1 %.not70.not, label %.lr.ph86, label %._crit_edge87, !llvm.loop !20

._crit_edge87:                                    ; preds = %.lr.ph86
  %81 = add nsw i32 %.04191, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %82

82:                                               ; preds = %.lr.ph93, %._crit_edge87
  %83 = phi i64 [ %80, %._crit_edge87 ], [ %59, %.lr.ph93 ]
  %.144 = phi i32 [ %63, %._crit_edge87 ], [ %.04390, %.lr.ph93 ]
  %.142 = phi i32 [ %81, %._crit_edge87 ], [ %.04191, %.lr.ph93 ]
  %indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
  %.not59.not = icmp sgt i64 %83, %indvars.iv106
  br i1 %.not59.not, label %.lr.ph93, label %.preheader76, !llvm.loop !21

.lr.ph102:                                        ; preds = %.preheader76, %159
  %84 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %85 unwind label %105

85:                                               ; preds = %.lr.ph102
  %86 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %87 unwind label %105

87:                                               ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %88 = load i64, ptr %3, align 8, !tbaa !8
  %89 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %88
  %90 = load i64, ptr %89, align 8, !tbaa !8
  store i64 %90, ptr %9, align 8, !tbaa !8
  %91 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %88
  %92 = load i64, ptr %91, align 8, !tbaa !8
  %.not6194 = icmp eq i64 %92, 0
  br i1 %.not6194, label %.lr.ph98, label %.loopexit

.lr.ph98:                                         ; preds = %87, %.critedge4
  %93 = phi i64 [ %124, %.critedge4 ], [ %90, %87 ]
  %.096 = phi i64 [ %109, %.critedge4 ], [ %88, %87 ]
  %.03995 = phi i64 [ %121, %.critedge4 ], [ 0, %87 ]
  %94 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %.096
  %95 = load i64, ptr %94, align 8, !tbaa !8
  %96 = load i64, ptr %4, align 8, !tbaa !8
  %.not62 = icmp sgt i64 %95, %96
  br i1 %.not62, label %.critedge2, label %.preheader

.preheader:                                       ; preds = %.lr.ph98, %102
  %.1 = phi i64 [ %98, %102 ], [ %.096, %.lr.ph98 ]
  %97 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %.1
  %98 = load i64, ptr %97, align 8, !tbaa !8
  %.not63 = icmp sgt i64 %98, %96
  br i1 %.not63, label %.critedge4, label %99

99:                                               ; preds = %.preheader
  %100 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %98
  %101 = load i64, ptr %100, align 8, !tbaa !8
  %.not64 = icmp eq i64 %101, 0
  br i1 %.not64, label %102, label %.critedge4

102:                                              ; preds = %99
  %103 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %98
  %104 = load i64, ptr %103, align 8, !tbaa !8
  %.not65 = icmp sgt i64 %104, %93
  br i1 %.not65, label %.critedge4, label %.preheader, !llvm.loop !22

105:                                              ; preds = %85, %.lr.ph102
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %162

.critedge4:                                       ; preds = %99, %.preheader, %102
  %107 = getelementptr inbounds [200001 x i64], ptr @ni, i64 0, i64 %.1
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %107)
  %109 = load i64, ptr %108, align 8, !tbaa !8
  %110 = load i64, ptr %9, align 8, !tbaa !8
  %111 = load i64, ptr %3, align 8, !tbaa !8
  %112 = xor i64 %111, -1
  %113 = add i64 %109, %112
  %114 = mul nsw i64 %113, %110
  %115 = add nsw i64 %109, -1
  %116 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %115
  %117 = load i64, ptr %116, align 8, !tbaa !8
  %118 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %111
  %119 = load i64, ptr %118, align 8, !tbaa !8
  %.neg = sub i64 %.03995, %117
  %120 = add i64 %.neg, %119
  %121 = add i64 %120, %114
  %122 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %109
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %122)
  %124 = load i64, ptr %123, align 8, !tbaa !8
  store i64 %124, ptr %9, align 8, !tbaa !8
  store i64 %109, ptr %3, align 8, !tbaa !8
  %125 = getelementptr inbounds [200001 x i64], ptr @ci, i64 0, i64 %109
  %126 = load i64, ptr %125, align 8, !tbaa !8
  %.not61 = icmp eq i64 %126, 0
  br i1 %.not61, label %.lr.ph98, label %.loopexit, !llvm.loop !23

127:                                              ; preds = %157, %155
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  br label %162

.loopexit:                                        ; preds = %.critedge4, %87
  %.ph = phi i64 [ %90, %87 ], [ %124, %.critedge4 ]
  %.ph112 = phi i64 [ %92, %87 ], [ %126, %.critedge4 ]
  %.ph113 = phi i64 [ %88, %87 ], [ %109, %.critedge4 ]
  %.039.lcssa.ph = phi i64 [ 0, %87 ], [ %121, %.critedge4 ]
  %129 = load i64, ptr %4, align 8, !tbaa !8
  %130 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %.ph112, i64 %129
  %131 = load i64, ptr %130, align 8, !tbaa !8
  %132 = add nsw i64 %.ph113, -1
  %133 = getelementptr inbounds [451 x [200001 x i64]], ptr @c, i64 0, i64 %.ph112, i64 %132
  %134 = load i64, ptr %133, align 8, !tbaa !8
  %135 = sub nsw i64 %131, %134
  %136 = add nsw i64 %135, %.039.lcssa.ph
  %137 = getelementptr inbounds [200001 x i64], ptr @x, i64 0, i64 %.ph113
  %138 = load i64, ptr %137, align 8, !tbaa !8
  %139 = icmp sgt i64 %.ph, %138
  br i1 %139, label %140, label %155

140:                                              ; preds = %.loopexit
  %reass.sub = sub i64 %129, %.ph113
  %141 = add i64 %reass.sub, 1
  %142 = sub nsw i64 %.ph, %138
  %143 = mul nsw i64 %142, %141
  %144 = add nsw i64 %143, %136
  br label %155

.critedge2:                                       ; preds = %.lr.ph98
  %145 = load i64, ptr %4, align 8, !tbaa !8
  %reass.sub104 = sub i64 %145, %.096
  %146 = add i64 %reass.sub104, 1
  %147 = mul nsw i64 %146, %93
  %148 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %145
  %149 = load i64, ptr %148, align 8, !tbaa !8
  %150 = add nsw i64 %.096, -1
  %151 = getelementptr inbounds [200001 x i64], ptr @p, i64 0, i64 %150
  %152 = load i64, ptr %151, align 8, !tbaa !8
  %.neg67 = sub i64 %.03995, %149
  %153 = add i64 %.neg67, %152
  %154 = add i64 %153, %147
  br label %155

155:                                              ; preds = %.loopexit, %140, %.critedge2
  %.140 = phi i64 [ %144, %140 ], [ %136, %.loopexit ], [ %154, %.critedge2 ]
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %.140)
          to label %157 unwind label %127

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %156, i8 noundef signext 10)
          to label %159 unwind label %127

159:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  %160 = load i64, ptr %2, align 8, !tbaa !8
  %161 = add nsw i64 %160, -1
  store i64 %161, ptr %2, align 8, !tbaa !8
  %.not60 = icmp eq i64 %160, 0
  br i1 %.not60, label %._crit_edge103, label %.lr.ph102, !llvm.loop !24

._crit_edge103:                                   ; preds = %159, %.preheader76
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  ret i32 0

162:                                              ; preds = %127, %105, %55
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %128, %127 ], [ %106, %105 ]
  call void @_ZNSt6vectorISt4pairIiiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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


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