; LLVM IR from VastoLorde95/Competitive-Programming :: Codeforces/289 Division 2/Problem B (B)

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

%"class.std::basic_ostream" = type { ptr, %"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 }
%"struct.std::pair" = type { i32, i32 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 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 [100 x i32], align 16
  %5 = alloca [100 x [101 x i32]], align 16
  %6 = alloca [100 x [101 x i32]], align 16
  %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 [100 x %"struct.std::pair"], align 16
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::pair", align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.start.p0(i64 400, ptr %4) #7
  call void @llvm.lifetime.start.p0(i64 40400, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 40400, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 800, ptr %13) #7
  %28 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %13, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.std::pair", ptr %28, i64 100
  br label %30

30:                                               ; preds = %30, %0
  %31 = phi ptr [ %28, %0 ], [ %32, %30 ]
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %31)
  %32 = getelementptr inbounds %"struct.std::pair", ptr %31, i64 1
  %33 = icmp eq ptr %32, %29
  br i1 %33, label %34, label %30

34:                                               ; preds = %30
  %35 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %35, i8 0, i64 40400, i1 false)
  %36 = getelementptr inbounds [100 x [101 x i32]], ptr %6, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %36, i8 0, i64 40400, i1 false)
  %37 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %62, %34
  %39 = load i32, ptr %14, align 4, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = icmp slt i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %65

43:                                               ; preds = %38
  %44 = load i32, ptr %14, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %45
  %47 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.1, ptr noundef %46)
  %48 = load i32, ptr %14, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = load i32, ptr %10, align 4, !tbaa !5
  %53 = add nsw i32 %52, %51
  store i32 %53, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %54 = load i32, ptr %14, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %55
  %57 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %14)
  store i64 %57, ptr %15, align 4
  %58 = load i32, ptr %14, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %13, i64 0, i64 %59
  %61 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %60, ptr noundef nonnull align 4 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %62

62:                                               ; preds = %43
  %63 = load i32, ptr %14, align 4, !tbaa !5
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %14, align 4, !tbaa !5
  br label %38, !llvm.loop !9

65:                                               ; preds = %42
  %66 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 0
  %67 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 0
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds i32, ptr %67, i64 %69
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef %66, ptr noundef %70)
  %71 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %13, i64 0, i64 0
  %72 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %13, i64 0, i64 0
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds %"struct.std::pair", ptr %72, i64 %74
  call void @_ZSt4sortIPSt4pairIiiEEvT_S3_(ptr noundef %71, ptr noundef %75)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  store i32 0, ptr %16, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %272, %65
  %77 = load i32, ptr %16, align 4, !tbaa !5
  %78 = load i32, ptr %2, align 4, !tbaa !5
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  store i32 5, ptr %17, align 4
  br label %275

81:                                               ; preds = %76
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  %82 = load i32, ptr %16, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = load i32, ptr %3, align 4, !tbaa !5
  %87 = sdiv i32 %85, %86
  store i32 %87, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %88 = load i32, ptr %16, align 4, !tbaa !5
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [100 x i32], ptr %4, i64 0, i64 %89
  %91 = load i32, ptr %90, align 4, !tbaa !5
  %92 = load i32, ptr %3, align 4, !tbaa !5
  %93 = srem i32 %91, %92
  store i32 %93, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 1, ptr %20, align 4, !tbaa !5
  br label %94

94:                                               ; preds = %175, %81
  %95 = load i32, ptr %20, align 4, !tbaa !5
  %96 = load i32, ptr %19, align 4, !tbaa !5
  %97 = icmp sle i32 %95, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %94
  store i32 8, ptr %17, align 4
  br label %178

99:                                               ; preds = %94
  %100 = load i32, ptr %18, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  %102 = load i32, ptr %16, align 4, !tbaa !5
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %103
  %105 = load i32, ptr %20, align 4, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [101 x i32], ptr %104, i64 0, i64 %106
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = add nsw i32 %108, %101
  store i32 %109, ptr %107, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %169, %99
  %111 = load i32, ptr %21, align 4, !tbaa !5
  %112 = load i32, ptr %16, align 4, !tbaa !5
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  store i32 11, ptr %17, align 4
  br label %172

115:                                              ; preds = %110
  %116 = load i32, ptr %21, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %117
  %119 = load i32, ptr %20, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [101 x i32], ptr %118, i64 0, i64 %120
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = load i32, ptr %16, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %124
  %126 = load i32, ptr %20, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds [101 x i32], ptr %125, i64 0, i64 %127
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = icmp eq i32 %122, %129
  br i1 %130, label %165, label %131

131:                                              ; preds = %115
  %132 = load i32, ptr %21, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %133
  %135 = load i32, ptr %20, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [101 x i32], ptr %134, i64 0, i64 %136
  %138 = load i32, ptr %137, align 4, !tbaa !5
  %139 = load i32, ptr %16, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %140
  %142 = load i32, ptr %20, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [101 x i32], ptr %141, i64 0, i64 %143
  %145 = load i32, ptr %144, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  %147 = icmp eq i32 %138, %146
  br i1 %147, label %165, label %148

148:                                              ; preds = %131
  %149 = load i32, ptr %21, align 4, !tbaa !5
  %150 = sext i32 %149 to i64
  %151 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %150
  %152 = load i32, ptr %20, align 4, !tbaa !5
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [101 x i32], ptr %151, i64 0, i64 %153
  %155 = load i32, ptr %154, align 4, !tbaa !5
  %156 = load i32, ptr %16, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %157
  %159 = load i32, ptr %20, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [101 x i32], ptr %158, i64 0, i64 %160
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = sub nsw i32 %162, 1
  %164 = icmp eq i32 %155, %163
  br i1 %164, label %165, label %166

165:                                              ; preds = %148, %131, %115
  br label %169

166:                                              ; preds = %148
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  br label %172

169:                                              ; preds = %165
  %170 = load i32, ptr %21, align 4, !tbaa !5
  %171 = add nsw i32 %170, 1
  store i32 %171, ptr %21, align 4, !tbaa !5
  br label %110, !llvm.loop !11

172:                                              ; preds = %166, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  %173 = load i32, ptr %17, align 4
  switch i32 %173, label %178 [
    i32 11, label %174
  ]

174:                                              ; preds = %172
  br label %175

175:                                              ; preds = %174
  %176 = load i32, ptr %20, align 4, !tbaa !5
  %177 = add nsw i32 %176, 1
  store i32 %177, ptr %20, align 4, !tbaa !5
  br label %94, !llvm.loop !12

178:                                              ; preds = %172, %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  %179 = load i32, ptr %17, align 4
  switch i32 %179, label %269 [
    i32 8, label %180
  ]

180:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %181 = load i32, ptr %19, align 4, !tbaa !5
  %182 = add nsw i32 %181, 1
  store i32 %182, ptr %22, align 4, !tbaa !5
  br label %183

183:                                              ; preds = %263, %180
  %184 = load i32, ptr %22, align 4, !tbaa !5
  %185 = load i32, ptr %3, align 4, !tbaa !5
  %186 = icmp sle i32 %184, %185
  br i1 %186, label %188, label %187

187:                                              ; preds = %183
  store i32 14, ptr %17, align 4
  br label %266

188:                                              ; preds = %183
  %189 = load i32, ptr %18, align 4, !tbaa !5
  %190 = load i32, ptr %16, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %191
  %193 = load i32, ptr %22, align 4, !tbaa !5
  %194 = sext i32 %193 to i64
  %195 = getelementptr inbounds [101 x i32], ptr %192, i64 0, i64 %194
  %196 = load i32, ptr %195, align 4, !tbaa !5
  %197 = add nsw i32 %196, %189
  store i32 %197, ptr %195, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %198

198:                                              ; preds = %257, %188
  %199 = load i32, ptr %23, align 4, !tbaa !5
  %200 = load i32, ptr %16, align 4, !tbaa !5
  %201 = icmp slt i32 %199, %200
  br i1 %201, label %203, label %202

202:                                              ; preds = %198
  store i32 17, ptr %17, align 4
  br label %260

203:                                              ; preds = %198
  %204 = load i32, ptr %23, align 4, !tbaa !5
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %205
  %207 = load i32, ptr %22, align 4, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [101 x i32], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !5
  %211 = load i32, ptr %16, align 4, !tbaa !5
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %212
  %214 = load i32, ptr %22, align 4, !tbaa !5
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds [101 x i32], ptr %213, i64 0, i64 %215
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = icmp eq i32 %210, %217
  br i1 %218, label %253, label %219

219:                                              ; preds = %203
  %220 = load i32, ptr %23, align 4, !tbaa !5
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %221
  %223 = load i32, ptr %22, align 4, !tbaa !5
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [101 x i32], ptr %222, i64 0, i64 %224
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = load i32, ptr %16, align 4, !tbaa !5
  %228 = sext i32 %227 to i64
  %229 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %228
  %230 = load i32, ptr %22, align 4, !tbaa !5
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [101 x i32], ptr %229, i64 0, i64 %231
  %233 = load i32, ptr %232, align 4, !tbaa !5
  %234 = add nsw i32 %233, 1
  %235 = icmp eq i32 %226, %234
  br i1 %235, label %253, label %236

236:                                              ; preds = %219
  %237 = load i32, ptr %23, align 4, !tbaa !5
  %238 = sext i32 %237 to i64
  %239 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %238
  %240 = load i32, ptr %22, align 4, !tbaa !5
  %241 = sext i32 %240 to i64
  %242 = getelementptr inbounds [101 x i32], ptr %239, i64 0, i64 %241
  %243 = load i32, ptr %242, align 4, !tbaa !5
  %244 = load i32, ptr %16, align 4, !tbaa !5
  %245 = sext i32 %244 to i64
  %246 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %245
  %247 = load i32, ptr %22, align 4, !tbaa !5
  %248 = sext i32 %247 to i64
  %249 = getelementptr inbounds [101 x i32], ptr %246, i64 0, i64 %248
  %250 = load i32, ptr %249, align 4, !tbaa !5
  %251 = sub nsw i32 %250, 1
  %252 = icmp eq i32 %243, %251
  br i1 %252, label %253, label %254

253:                                              ; preds = %236, %219, %203
  br label %257

254:                                              ; preds = %236
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  br label %260

257:                                              ; preds = %253
  %258 = load i32, ptr %23, align 4, !tbaa !5
  %259 = add nsw i32 %258, 1
  store i32 %259, ptr %23, align 4, !tbaa !5
  br label %198, !llvm.loop !13

260:                                              ; preds = %254, %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  %261 = load i32, ptr %17, align 4
  switch i32 %261, label %266 [
    i32 17, label %262
  ]

262:                                              ; preds = %260
  br label %263

263:                                              ; preds = %262
  %264 = load i32, ptr %22, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %22, align 4, !tbaa !5
  br label %183, !llvm.loop !14

266:                                              ; preds = %260, %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  %267 = load i32, ptr %17, align 4
  switch i32 %267, label %269 [
    i32 14, label %268
  ]

268:                                              ; preds = %266
  store i32 0, ptr %17, align 4
  br label %269

269:                                              ; preds = %268, %266, %178
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  %270 = load i32, ptr %17, align 4
  switch i32 %270, label %275 [
    i32 0, label %271
  ]

271:                                              ; preds = %269
  br label %272

272:                                              ; preds = %271
  %273 = load i32, ptr %16, align 4, !tbaa !5
  %274 = add nsw i32 %273, 1
  store i32 %274, ptr %16, align 4, !tbaa !5
  br label %76, !llvm.loop !15

275:                                              ; preds = %269, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  %276 = load i32, ptr %17, align 4
  switch i32 %276, label %373 [
    i32 5, label %277
  ]

277:                                              ; preds = %275
  %278 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %279 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %280

280:                                              ; preds = %327, %277
  %281 = load i32, ptr %24, align 4, !tbaa !5
  %282 = load i32, ptr %2, align 4, !tbaa !5
  %283 = icmp slt i32 %281, %282
  br i1 %283, label %285, label %284

284:                                              ; preds = %280
  store i32 20, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %330

285:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 1, ptr %25, align 4, !tbaa !5
  br label %286

286:                                              ; preds = %323, %285
  %287 = load i32, ptr %25, align 4, !tbaa !5
  %288 = load i32, ptr %3, align 4, !tbaa !5
  %289 = icmp sle i32 %287, %288
  br i1 %289, label %291, label %290

290:                                              ; preds = %286
  store i32 23, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  br label %326

291:                                              ; preds = %286
  br label %292

292:                                              ; preds = %301, %291
  %293 = load i32, ptr %24, align 4, !tbaa !5
  %294 = sext i32 %293 to i64
  %295 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %294
  %296 = load i32, ptr %25, align 4, !tbaa !5
  %297 = sext i32 %296 to i64
  %298 = getelementptr inbounds [101 x i32], ptr %295, i64 0, i64 %297
  %299 = load i32, ptr %298, align 4, !tbaa !5
  %300 = icmp sgt i32 %299, 0
  br i1 %300, label %301, label %322

301:                                              ; preds = %292
  %302 = load i32, ptr %24, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %303
  %305 = load i32, ptr %25, align 4, !tbaa !5
  %306 = sext i32 %305 to i64
  %307 = getelementptr inbounds [101 x i32], ptr %304, i64 0, i64 %306
  %308 = load i32, ptr %307, align 4, !tbaa !5
  %309 = add nsw i32 %308, -1
  store i32 %309, ptr %307, align 4, !tbaa !5
  %310 = load i32, ptr %24, align 4, !tbaa !5
  %311 = sext i32 %310 to i64
  %312 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %13, i64 0, i64 %311
  %313 = getelementptr inbounds %"struct.std::pair", ptr %312, i32 0, i32 1
  %314 = load i32, ptr %313, align 4, !tbaa !16
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds [100 x [101 x i32]], ptr %6, i64 0, i64 %315
  %317 = load i32, ptr %25, align 4, !tbaa !5
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds [101 x i32], ptr %316, i64 0, i64 %318
  %320 = load i32, ptr %319, align 4, !tbaa !5
  %321 = add nsw i32 %320, 1
  store i32 %321, ptr %319, align 4, !tbaa !5
  br label %292, !llvm.loop !18

322:                                              ; preds = %292
  br label %323

323:                                              ; preds = %322
  %324 = load i32, ptr %25, align 4, !tbaa !5
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %25, align 4, !tbaa !5
  br label %286, !llvm.loop !19

326:                                              ; preds = %290
  br label %327

327:                                              ; preds = %326
  %328 = load i32, ptr %24, align 4, !tbaa !5
  %329 = add nsw i32 %328, 1
  store i32 %329, ptr %24, align 4, !tbaa !5
  br label %280, !llvm.loop !20

330:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !5
  br label %331

331:                                              ; preds = %369, %330
  %332 = load i32, ptr %26, align 4, !tbaa !5
  %333 = load i32, ptr %2, align 4, !tbaa !5
  %334 = icmp slt i32 %332, %333
  br i1 %334, label %336, label %335

335:                                              ; preds = %331
  store i32 28, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %372

336:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store i32 1, ptr %27, align 4, !tbaa !5
  br label %337

337:                                              ; preds = %364, %336
  %338 = load i32, ptr %27, align 4, !tbaa !5
  %339 = load i32, ptr %3, align 4, !tbaa !5
  %340 = icmp sle i32 %338, %339
  br i1 %340, label %342, label %341

341:                                              ; preds = %337
  store i32 31, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %367

342:                                              ; preds = %337
  br label %343

343:                                              ; preds = %352, %342
  %344 = load i32, ptr %26, align 4, !tbaa !5
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds [100 x [101 x i32]], ptr %6, i64 0, i64 %345
  %347 = load i32, ptr %27, align 4, !tbaa !5
  %348 = sext i32 %347 to i64
  %349 = getelementptr inbounds [101 x i32], ptr %346, i64 0, i64 %348
  %350 = load i32, ptr %349, align 4, !tbaa !5
  %351 = icmp sgt i32 %350, 0
  br i1 %351, label %352, label %363

352:                                              ; preds = %343
  %353 = load i32, ptr %27, align 4, !tbaa !5
  %354 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %353)
  %355 = load i32, ptr %26, align 4, !tbaa !5
  %356 = sext i32 %355 to i64
  %357 = getelementptr inbounds [100 x [101 x i32]], ptr %6, i64 0, i64 %356
  %358 = load i32, ptr %27, align 4, !tbaa !5
  %359 = sext i32 %358 to i64
  %360 = getelementptr inbounds [101 x i32], ptr %357, i64 0, i64 %359
  %361 = load i32, ptr %360, align 4, !tbaa !5
  %362 = add nsw i32 %361, -1
  store i32 %362, ptr %360, align 4, !tbaa !5
  br label %343, !llvm.loop !21

363:                                              ; preds = %343
  br label %364

364:                                              ; preds = %363
  %365 = load i32, ptr %27, align 4, !tbaa !5
  %366 = add nsw i32 %365, 1
  store i32 %366, ptr %27, align 4, !tbaa !5
  br label %337, !llvm.loop !22

367:                                              ; preds = %341
  %368 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  br label %369

369:                                              ; preds = %367
  %370 = load i32, ptr %26, align 4, !tbaa !5
  %371 = add nsw i32 %370, 1
  store i32 %371, ptr %26, align 4, !tbaa !5
  br label %331, !llvm.loop !23

372:                                              ; preds = %335
  store i32 0, ptr %1, align 4
  store i32 1, ptr %17, align 4
  br label %373

373:                                              ; preds = %372, %275
  call void @llvm.lifetime.end.p0(i64 800, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 40400, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 40400, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 400, ptr %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %374 = load i32, ptr %1, align 4
  ret i32 %374
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = 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 = !{!17, !6, i64 4}
!17 = !{!"_ZTSSt4pairIiiE", !6, i64 0, !6, i64 4}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !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"

%"class.std::basic_ostream" = type { ptr, %"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 }
%"struct.std::pair" = type { i32, i32 }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [100 x i32], align 16
  %4 = alloca [100 x [101 x i32]], align 16
  %5 = alloca [100 x [101 x i32]], align 16
  %6 = alloca [100 x %"struct.std::pair"], align 16
  %7 = alloca i32, align 4
  %8 = alloca %"struct.std::pair", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 40400, ptr nonnull %4) #8
  call void @llvm.lifetime.start.p0(i64 40400, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 800, ptr nonnull %6) #8
  br label %9

9:                                                ; preds = %9, %0
  %.idx = phi i64 [ 0, %0 ], [ %.add, %9 ]
  %.ptr = getelementptr inbounds i8, ptr %6, i64 %.idx
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXsr6__and_ISt37__is_implicitly_default_constructibleIT_ES3_IT0_EEE5valueEbE4typeELb1EEEv(ptr noundef nonnull align 4 dereferenceable(8) %.ptr)
  %.add = add nuw nsw i64 %.idx, 8
  %10 = icmp eq i64 %.add, 800
  br i1 %10, label %11, label %9

11:                                               ; preds = %9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40400) %4, i8 0, i64 40400, i1 false)
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40400) %5, i8 0, i64 40400, i1 false)
  %12 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  store i32 0, ptr %7, align 4, !tbaa !5
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %11
  %.lcssa = phi i32 [ %13, %11 ], [ %36, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  %15 = sext i32 %.lcssa to i64
  %16 = getelementptr inbounds i32, ptr %3, i64 %15
  call void @_ZSt4sortIPiEvT_S1_(ptr noundef nonnull %3, ptr noundef nonnull %16)
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds %"struct.std::pair", ptr %6, i64 %18
  call void @_ZSt4sortIPSt4pairIiiEEvT_S3_(ptr noundef nonnull %6, ptr noundef nonnull %19)
  %20 = load i32, ptr %1, align 4, !tbaa !5
  %.not104145 = icmp sgt i32 %20, 0
  br i1 %.not104145, label %.lr.ph149, label %.critedge122

.lr.ph149:                                        ; preds = %._crit_edge
  %21 = load i32, ptr %2, align 4
  %22 = sext i32 %21 to i64
  %wide.trip.count201 = zext nneg i32 %20 to i64
  %.not102.not.not141 = icmp sgt i32 %21, -1
  br label %38

.lr.ph:                                           ; preds = %11, %.lr.ph
  %storemerge127 = phi i32 [ %35, %.lr.ph ], [ 0, %11 ]
  %23 = sext i32 %storemerge127 to i64
  %24 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %23
  %25 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.1, ptr noundef nonnull %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %26 = load i32, ptr %7, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %27
  %29 = call i64 @_ZSt9make_pairIRiS0_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS2_INS3_IT0_E4typeEE6__typeEEOS4_OS9_(ptr noundef nonnull align 4 dereferenceable(4) %28, ptr noundef nonnull align 4 dereferenceable(4) %7)
  store i64 %29, ptr %8, align 8
  %30 = load i32, ptr %7, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %6, i64 0, i64 %31
  %33 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNSt4pairIiiEaSEOS0_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %34 = load i32, ptr %7, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %7, align 4, !tbaa !5
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %.lr.ph, label %._crit_edge, !llvm.loop !9

38:                                               ; preds = %.lr.ph149, %.critedge121
  %indvars.iv198 = phi i64 [ 0, %.lr.ph149 ], [ %indvars.iv.next199, %.critedge121 ]
  %39 = getelementptr inbounds [100 x i32], ptr %3, i64 0, i64 %indvars.iv198
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = sdiv i32 %40, %21
  %42 = srem i32 %40, %21
  %.not132 = icmp slt i32 %42, 1
  br i1 %.not132, label %.critedge111.preheader, label %.lr.ph135

.lr.ph135:                                        ; preds = %38
  %43 = add nsw i32 %41, 1
  %.not101128.not = icmp eq i64 %indvars.iv198, 0
  %44 = add nuw i32 %42, 1
  %wide.trip.count185 = zext i32 %44 to i64
  br i1 %.not101128.not, label %.critedge.preheader, label %.lr.ph131.us

.critedge.preheader:                              ; preds = %.lr.ph135
  %45 = zext nneg i32 %42 to i64
  %min.iters.check229 = icmp ult i32 %42, 8
  br i1 %min.iters.check229, label %.critedge.preheader247, label %vector.ph230

.critedge.preheader247:                           ; preds = %middle.block227, %.critedge.preheader
  %indvars.iv182.ph = phi i64 [ 1, %.critedge.preheader ], [ %ind.end233, %middle.block227 ]
  br label %.critedge

vector.ph230:                                     ; preds = %.critedge.preheader
  %n.vec232 = and i64 %45, 2147483640
  %ind.end233 = or disjoint i64 %n.vec232, 1
  %broadcast.splatinsert240 = insertelement <4 x i32> poison, i32 %43, i64 0
  %broadcast.splat241 = shufflevector <4 x i32> %broadcast.splatinsert240, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body235

vector.body235:                                   ; preds = %vector.body235, %vector.ph230
  %index236 = phi i64 [ 0, %vector.ph230 ], [ %index.next242, %vector.body235 ]
  %offset.idx237 = or disjoint i64 %index236, 1
  %46 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 0, i64 %offset.idx237
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %wide.load238 = load <4 x i32>, ptr %46, align 4, !tbaa !5
  %wide.load239 = load <4 x i32>, ptr %47, align 4, !tbaa !5
  %48 = add nsw <4 x i32> %broadcast.splat241, %wide.load238
  %49 = add nsw <4 x i32> %broadcast.splat241, %wide.load239
  store <4 x i32> %48, ptr %46, align 4, !tbaa !5
  store <4 x i32> %49, ptr %47, align 4, !tbaa !5
  %index.next242 = add nuw i64 %index236, 8
  %50 = icmp eq i64 %index.next242, %n.vec232
  br i1 %50, label %middle.block227, label %vector.body235, !llvm.loop !11

middle.block227:                                  ; preds = %vector.body235
  %cmp.n243 = icmp eq i64 %n.vec232, %45
  br i1 %cmp.n243, label %.critedge111.preheader, label %.critedge.preheader247

.lr.ph131.us:                                     ; preds = %.lr.ph135, %..critedge_crit_edge.us
  %indvars.iv177 = phi i64 [ %indvars.iv.next178, %..critedge_crit_edge.us ], [ 1, %.lr.ph135 ]
  %51 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 %indvars.iv198, i64 %indvars.iv177
  %52 = load i32, ptr %51, align 4, !tbaa !5
  %53 = add nsw i32 %43, %52
  store i32 %53, ptr %51, align 4, !tbaa !5
  %54 = add nsw i32 %53, 1
  %55 = add i32 %52, %41
  br label %57

56:                                               ; preds = %57
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %indvars.iv198
  br i1 %exitcond.not, label %..critedge_crit_edge.us, label %57, !llvm.loop !14

57:                                               ; preds = %.lr.ph131.us, %56
  %indvars.iv = phi i64 [ 0, %.lr.ph131.us ], [ %indvars.iv.next, %56 ]
  %58 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 %indvars.iv, i64 %indvars.iv177
  %59 = load i32, ptr %58, align 4, !tbaa !5
  %60 = icmp eq i32 %59, %53
  %61 = icmp eq i32 %59, %54
  %or.cond.us = select i1 %60, i1 true, i1 %61
  %62 = icmp eq i32 %59, %55
  %or.cond109.us = or i1 %or.cond.us, %62
  br i1 %or.cond109.us, label %56, label %.critedge119.sink.split

..critedge_crit_edge.us:                          ; preds = %56
  %indvars.iv.next178 = add nuw nsw i64 %indvars.iv177, 1
  %exitcond181.not = icmp eq i64 %indvars.iv.next178, %wide.trip.count185
  br i1 %exitcond181.not, label %.critedge111.preheader, label %.lr.ph131.us, !llvm.loop !15

.critedge111.preheader:                           ; preds = %..critedge_crit_edge.us, %.critedge, %middle.block227, %38
  br i1 %.not102.not.not141, label %.lr.ph143, label %.critedge121

.lr.ph143:                                        ; preds = %.critedge111.preheader
  %.082140 = add i32 %42, 1
  %.not103136.not = icmp eq i64 %indvars.iv198, 0
  %63 = sext i32 %.082140 to i64
  br i1 %.not103136.not, label %.critedge111.loopexit.preheader, label %.lr.ph139.us

.critedge111.loopexit.preheader:                  ; preds = %.lr.ph143
  %smax = call i64 @llvm.smax.i64(i64 %22, i64 %63)
  %64 = add nuw i64 %smax, 1
  %65 = sub i64 %64, %63
  %min.iters.check = icmp ult i64 %65, 8
  br i1 %min.iters.check, label %.critedge111.loopexit.preheader245, label %vector.ph

.critedge111.loopexit.preheader245:               ; preds = %middle.block, %.critedge111.loopexit.preheader
  %indvars.iv195.ph = phi i64 [ %63, %.critedge111.loopexit.preheader ], [ %ind.end, %middle.block ]
  br label %.critedge111.loopexit

vector.ph:                                        ; preds = %.critedge111.loopexit.preheader
  %n.vec = and i64 %65, -8
  %ind.end = add i64 %n.vec, %63
  %broadcast.splatinsert = insertelement <4 x i32> poison, i32 %41, i64 0
  %broadcast.splat = shufflevector <4 x i32> %broadcast.splatinsert, <4 x i32> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %63
  %66 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 0, i64 %offset.idx
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  %wide.load = load <4 x i32>, ptr %66, align 4, !tbaa !5
  %wide.load226 = load <4 x i32>, ptr %67, align 4, !tbaa !5
  %68 = add nsw <4 x i32> %wide.load, %broadcast.splat
  %69 = add nsw <4 x i32> %wide.load226, %broadcast.splat
  store <4 x i32> %68, ptr %66, align 4, !tbaa !5
  store <4 x i32> %69, ptr %67, align 4, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %70 = icmp eq i64 %index.next, %n.vec
  br i1 %70, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %65, %n.vec
  br i1 %cmp.n, label %.critedge121, label %.critedge111.loopexit.preheader245

.lr.ph139.us:                                     ; preds = %.lr.ph143, %..critedge111.loopexit_crit_edge.us
  %indvars.iv192 = phi i64 [ %indvars.iv.next193, %..critedge111.loopexit_crit_edge.us ], [ %63, %.lr.ph143 ]
  %71 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 %indvars.iv198, i64 %indvars.iv192
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = add nsw i32 %72, %41
  store i32 %73, ptr %71, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  %75 = add nsw i32 %73, -1
  br label %77

76:                                               ; preds = %77
  %indvars.iv.next188 = add nuw nsw i64 %indvars.iv187, 1
  %exitcond191.not = icmp eq i64 %indvars.iv.next188, %indvars.iv198
  br i1 %exitcond191.not, label %..critedge111.loopexit_crit_edge.us, label %77, !llvm.loop !17

77:                                               ; preds = %.lr.ph139.us, %76
  %indvars.iv187 = phi i64 [ 0, %.lr.ph139.us ], [ %indvars.iv.next188, %76 ]
  %78 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 %indvars.iv187, i64 %indvars.iv192
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp eq i32 %79, %73
  %81 = icmp eq i32 %79, %74
  %or.cond113.us = select i1 %80, i1 true, i1 %81
  %82 = icmp eq i32 %79, %75
  %or.cond115.us = select i1 %or.cond113.us, i1 true, i1 %82
  br i1 %or.cond115.us, label %76, label %.critedge119.sink.split

..critedge111.loopexit_crit_edge.us:              ; preds = %76
  %indvars.iv.next193 = add nsw i64 %indvars.iv192, 1
  %.not102.not.not.us = icmp slt i64 %indvars.iv192, %22
  br i1 %.not102.not.not.us, label %.lr.ph139.us, label %.critedge121, !llvm.loop !18

.critedge:                                        ; preds = %.critedge.preheader247, %.critedge
  %indvars.iv182 = phi i64 [ %indvars.iv.next183, %.critedge ], [ %indvars.iv182.ph, %.critedge.preheader247 ]
  %83 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 0, i64 %indvars.iv182
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = add nsw i32 %43, %84
  store i32 %85, ptr %83, align 4, !tbaa !5
  %indvars.iv.next183 = add nuw nsw i64 %indvars.iv182, 1
  %exitcond186.not = icmp eq i64 %indvars.iv.next183, %wide.trip.count185
  br i1 %exitcond186.not, label %.critedge111.preheader, label %.critedge, !llvm.loop !19

.critedge111.loopexit:                            ; preds = %.critedge111.loopexit.preheader245, %.critedge111.loopexit
  %indvars.iv195 = phi i64 [ %indvars.iv.next196, %.critedge111.loopexit ], [ %indvars.iv195.ph, %.critedge111.loopexit.preheader245 ]
  %86 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 0, i64 %indvars.iv195
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = add nsw i32 %87, %41
  store i32 %88, ptr %86, align 4, !tbaa !5
  %indvars.iv.next196 = add nsw i64 %indvars.iv195, 1
  %.not102.not.not = icmp slt i64 %indvars.iv195, %22
  br i1 %.not102.not.not, label %.critedge111.loopexit, label %.critedge121, !llvm.loop !20

.critedge121:                                     ; preds = %..critedge111.loopexit_crit_edge.us, %.critedge111.loopexit, %middle.block, %.critedge111.preheader
  %indvars.iv.next199 = add nuw nsw i64 %indvars.iv198, 1
  %exitcond202.not = icmp eq i64 %indvars.iv.next199, %wide.trip.count201
  br i1 %exitcond202.not, label %.critedge122, label %38, !llvm.loop !21

.critedge122:                                     ; preds = %.critedge121, %._crit_edge
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %91 = load i32, ptr %1, align 4, !tbaa !5
  %92 = icmp sgt i32 %91, 0
  br i1 %92, label %.preheader126.lr.ph, label %.critedge119

.preheader126.lr.ph:                              ; preds = %.critedge122
  %93 = load i32, ptr %2, align 4, !tbaa !5
  %.not106156 = icmp slt i32 %93, 1
  br i1 %.not106156, label %.preheader123.preheader, label %.preheader126.preheader

.preheader126.preheader:                          ; preds = %.preheader126.lr.ph
  %94 = add nuw i32 %93, 1
  %wide.trip.count210 = zext nneg i32 %91 to i64
  %wide.trip.count = zext i32 %94 to i64
  br label %.preheader126

.preheader126:                                    ; preds = %.preheader126.preheader, %._crit_edge158
  %indvars.iv207 = phi i64 [ 0, %.preheader126.preheader ], [ %indvars.iv.next208, %._crit_edge158 ]
  %95 = getelementptr inbounds [100 x %"struct.std::pair"], ptr %6, i64 0, i64 %indvars.iv207, i32 1
  br label %.preheader125

.preheader124:                                    ; preds = %._crit_edge158
  br i1 %92, label %.preheader123.preheader, label %.critedge119

.preheader123.preheader:                          ; preds = %.preheader126.lr.ph, %.preheader124
  br label %.preheader123

.preheader125:                                    ; preds = %.preheader126, %102
  %indvars.iv203 = phi i64 [ 1, %.preheader126 ], [ %indvars.iv.next204, %102 ]
  %96 = getelementptr inbounds [100 x [101 x i32]], ptr %4, i64 0, i64 %indvars.iv207, i64 %indvars.iv203
  %.promoted = load i32, ptr %96, align 4, !tbaa !5
  %97 = icmp sgt i32 %.promoted, 0
  br i1 %97, label %.lr.ph151, label %102

.lr.ph151:                                        ; preds = %.preheader125
  %98 = load i32, ptr %95, align 4, !tbaa !22
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %99, i64 %indvars.iv203
  %.promoted154 = load i32, ptr %100, align 4, !tbaa !5
  %101 = add i32 %.promoted, %.promoted154
  store i32 %101, ptr %100, align 4, !tbaa !5
  br label %102

._crit_edge158:                                   ; preds = %102
  %indvars.iv.next208 = add nuw nsw i64 %indvars.iv207, 1
  %exitcond211.not = icmp eq i64 %indvars.iv.next208, %wide.trip.count210
  br i1 %exitcond211.not, label %.preheader124, label %.preheader126, !llvm.loop !24

102:                                              ; preds = %.lr.ph151, %.preheader125
  %.lcssa150 = phi i32 [ 0, %.lr.ph151 ], [ %.promoted, %.preheader125 ]
  store i32 %.lcssa150, ptr %96, align 4, !tbaa !5
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %exitcond206.not = icmp eq i64 %indvars.iv.next204, %wide.trip.count
  br i1 %exitcond206.not, label %._crit_edge158, label %.preheader125, !llvm.loop !25

.preheader123:                                    ; preds = %.preheader123.preheader, %._crit_edge167
  %indvars.iv215 = phi i64 [ %indvars.iv.next216, %._crit_edge167 ], [ 0, %.preheader123.preheader ]
  %103 = load i32, ptr %2, align 4, !tbaa !5
  %.not105165 = icmp slt i32 %103, 1
  br i1 %.not105165, label %._crit_edge167, label %.preheader

.preheader:                                       ; preds = %.preheader123, %._crit_edge163
  %104 = phi i32 [ %116, %._crit_edge163 ], [ %103, %.preheader123 ]
  %indvars.iv212 = phi i64 [ %indvars.iv.next213, %._crit_edge163 ], [ 1, %.preheader123 ]
  %105 = getelementptr inbounds [100 x [101 x i32]], ptr %5, i64 0, i64 %indvars.iv215, i64 %indvars.iv212
  %.promoted160 = load i32, ptr %105, align 4, !tbaa !5
  %106 = icmp sgt i32 %.promoted160, 0
  br i1 %106, label %.lr.ph162.preheader, label %._crit_edge163

.lr.ph162.preheader:                              ; preds = %.preheader
  %107 = trunc nuw nsw i64 %indvars.iv212 to i32
  br label %.lr.ph162

._crit_edge167:                                   ; preds = %._crit_edge163, %.preheader123
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %indvars.iv.next216 = add nuw nsw i64 %indvars.iv215, 1
  %109 = load i32, ptr %1, align 4, !tbaa !5
  %110 = sext i32 %109 to i64
  %111 = icmp slt i64 %indvars.iv.next216, %110
  br i1 %111, label %.preheader123, label %.critedge119, !llvm.loop !26

.lr.ph162:                                        ; preds = %.lr.ph162.preheader, %.lr.ph162
  %112 = phi i32 [ %114, %.lr.ph162 ], [ %.promoted160, %.lr.ph162.preheader ]
  %113 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %107)
  %114 = add nsw i32 %112, -1
  %115 = icmp ugt i32 %112, 1
  br i1 %115, label %.lr.ph162, label %._crit_edge163.loopexit, !llvm.loop !27

._crit_edge163.loopexit:                          ; preds = %.lr.ph162
  %.pre = load i32, ptr %2, align 4, !tbaa !5
  br label %._crit_edge163

._crit_edge163:                                   ; preds = %._crit_edge163.loopexit, %.preheader
  %116 = phi i32 [ %104, %.preheader ], [ %.pre, %._crit_edge163.loopexit ]
  %.lcssa161 = phi i32 [ %.promoted160, %.preheader ], [ 0, %._crit_edge163.loopexit ]
  store i32 %.lcssa161, ptr %105, align 4, !tbaa !5
  %indvars.iv.next213 = add nuw nsw i64 %indvars.iv212, 1
  %117 = sext i32 %116 to i64
  %.not105.not = icmp slt i64 %indvars.iv212, %117
  br i1 %.not105.not, label %.preheader, label %._crit_edge167, !llvm.loop !28

.critedge119.sink.split:                          ; preds = %57, %77
  %118 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  %119 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %.critedge119

.critedge119:                                     ; preds = %._crit_edge167, %.critedge119.sink.split, %.critedge122, %.preheader124
  call void @llvm.lifetime.end.p0(i64 800, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 40400, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 40400, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #8
  ret i32 0
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #6

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #7

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

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

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


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