; LLVM IR from ShahjalalShohag/code-library :: Data Structures (Sparse Table 2D)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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" }

@a = external dso_local global [505 x [505 x i32]], align 16
@_Z1sB5cxx11 = external dso_local global [505 x %"class.std::__cxx11::basic_string"], align 16
@l = external dso_local global [505 x [505 x i32]], align 16
@u = external dso_local global [505 x [505 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z2yoiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5buildii(i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca 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
  store i32 0, ptr %1, align 4
  %27 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %28 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %30
  %32 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %31, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  %33 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %34 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(4) %3)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 0, ptr %4, align 4, !tbaa !8
  br label %35

35:                                               ; preds = %45, %0
  %36 = load i32, ptr %4, align 4, !tbaa !8
  %37 = load i32, ptr %2, align 4, !tbaa !8
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %48

40:                                               ; preds = %35
  %41 = load i32, ptr %4, align 4, !tbaa !8
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %42
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %43)
  br label %45

45:                                               ; preds = %40
  %46 = load i32, ptr %4, align 4, !tbaa !8
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %4, align 4, !tbaa !8
  br label %35, !llvm.loop !11

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

49:                                               ; preds = %113, %48
  %50 = load i32, ptr %5, align 4, !tbaa !8
  %51 = load i32, ptr %2, align 4, !tbaa !8
  %52 = icmp slt i32 %50, %51
  br i1 %52, label %54, label %53

53:                                               ; preds = %49
  store i32 5, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %116

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

55:                                               ; preds = %109, %54
  %56 = load i32, ptr %7, align 4, !tbaa !8
  %57 = load i32, ptr %3, align 4, !tbaa !8
  %58 = icmp slt i32 %56, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %55
  store i32 8, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  br label %112

60:                                               ; preds = %55
  %61 = load i32, ptr %7, align 4, !tbaa !8
  %62 = icmp ne i32 %61, 0
  br i1 %62, label %70, label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %5, align 4, !tbaa !8
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %65
  %67 = load i32, ptr %7, align 4, !tbaa !8
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [505 x i32], ptr %66, i64 0, i64 %68
  store i32 1, ptr %69, align 4, !tbaa !8
  br label %108

70:                                               ; preds = %60
  %71 = load i32, ptr %5, align 4, !tbaa !8
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %72
  %74 = load i32, ptr %7, align 4, !tbaa !8
  %75 = sub nsw i32 %74, 1
  %76 = sext i32 %75 to i64
  %77 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %73, i64 noundef %76)
  %78 = load i8, ptr %77, align 1, !tbaa !13
  %79 = sext i8 %78 to i32
  %80 = load i32, ptr %5, align 4, !tbaa !8
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %81
  %83 = load i32, ptr %7, align 4, !tbaa !8
  %84 = sext i32 %83 to i64
  %85 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %82, i64 noundef %84)
  %86 = load i8, ptr %85, align 1, !tbaa !13
  %87 = sext i8 %86 to i32
  %88 = icmp sle i32 %79, %87
  br i1 %88, label %89, label %98

89:                                               ; preds = %70
  %90 = load i32, ptr %5, align 4, !tbaa !8
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %91
  %93 = load i32, ptr %7, align 4, !tbaa !8
  %94 = sub nsw i32 %93, 1
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [505 x i32], ptr %92, i64 0, i64 %95
  %97 = load i32, ptr %96, align 4, !tbaa !8
  br label %99

98:                                               ; preds = %70
  br label %99

99:                                               ; preds = %98, %89
  %100 = phi i32 [ %97, %89 ], [ 0, %98 ]
  %101 = add nsw i32 1, %100
  %102 = load i32, ptr %5, align 4, !tbaa !8
  %103 = sext i32 %102 to i64
  %104 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %103
  %105 = load i32, ptr %7, align 4, !tbaa !8
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [505 x i32], ptr %104, i64 0, i64 %106
  store i32 %101, ptr %107, align 4, !tbaa !8
  br label %108

108:                                              ; preds = %99, %63
  br label %109

109:                                              ; preds = %108
  %110 = load i32, ptr %7, align 4, !tbaa !8
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %7, align 4, !tbaa !8
  br label %55, !llvm.loop !14

112:                                              ; preds = %59
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %5, align 4, !tbaa !8
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %5, align 4, !tbaa !8
  br label %49, !llvm.loop !15

116:                                              ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !8
  br label %117

117:                                              ; preds = %181, %116
  %118 = load i32, ptr %8, align 4, !tbaa !8
  %119 = load i32, ptr %3, align 4, !tbaa !8
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %122, label %121

121:                                              ; preds = %117
  store i32 11, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  br label %184

122:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  store i32 0, ptr %9, align 4, !tbaa !8
  br label %123

123:                                              ; preds = %177, %122
  %124 = load i32, ptr %9, align 4, !tbaa !8
  %125 = load i32, ptr %2, align 4, !tbaa !8
  %126 = icmp slt i32 %124, %125
  br i1 %126, label %128, label %127

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

128:                                              ; preds = %123
  %129 = load i32, ptr %9, align 4, !tbaa !8
  %130 = icmp ne i32 %129, 0
  br i1 %130, label %138, label %131

131:                                              ; preds = %128
  %132 = load i32, ptr %9, align 4, !tbaa !8
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %133
  %135 = load i32, ptr %8, align 4, !tbaa !8
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [505 x i32], ptr %134, i64 0, i64 %136
  store i32 1, ptr %137, align 4, !tbaa !8
  br label %176

138:                                              ; preds = %128
  %139 = load i32, ptr %9, align 4, !tbaa !8
  %140 = sub nsw i32 %139, 1
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %141
  %143 = load i32, ptr %8, align 4, !tbaa !8
  %144 = sext i32 %143 to i64
  %145 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %142, i64 noundef %144)
  %146 = load i8, ptr %145, align 1, !tbaa !13
  %147 = sext i8 %146 to i32
  %148 = load i32, ptr %9, align 4, !tbaa !8
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %149
  %151 = load i32, ptr %8, align 4, !tbaa !8
  %152 = sext i32 %151 to i64
  %153 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %150, i64 noundef %152)
  %154 = load i8, ptr %153, align 1, !tbaa !13
  %155 = sext i8 %154 to i32
  %156 = icmp sle i32 %147, %155
  br i1 %156, label %157, label %166

157:                                              ; preds = %138
  %158 = load i32, ptr %9, align 4, !tbaa !8
  %159 = sub nsw i32 %158, 1
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %160
  %162 = load i32, ptr %8, align 4, !tbaa !8
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [505 x i32], ptr %161, i64 0, i64 %163
  %165 = load i32, ptr %164, align 4, !tbaa !8
  br label %167

166:                                              ; preds = %138
  br label %167

167:                                              ; preds = %166, %157
  %168 = phi i32 [ %165, %157 ], [ 0, %166 ]
  %169 = add nsw i32 1, %168
  %170 = load i32, ptr %9, align 4, !tbaa !8
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %171
  %173 = load i32, ptr %8, align 4, !tbaa !8
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [505 x i32], ptr %172, i64 0, i64 %174
  store i32 %169, ptr %175, align 4, !tbaa !8
  br label %176

176:                                              ; preds = %167, %131
  br label %177

177:                                              ; preds = %176
  %178 = load i32, ptr %9, align 4, !tbaa !8
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %9, align 4, !tbaa !8
  br label %123, !llvm.loop !16

180:                                              ; preds = %127
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %8, align 4, !tbaa !8
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %8, align 4, !tbaa !8
  br label %117, !llvm.loop !17

184:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !8
  br label %185

185:                                              ; preds = %264, %184
  %186 = load i32, ptr %10, align 4, !tbaa !8
  %187 = load i32, ptr %2, align 4, !tbaa !8
  %188 = icmp slt i32 %186, %187
  br i1 %188, label %190, label %189

189:                                              ; preds = %185
  store i32 17, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %267

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !8
  br label %191

191:                                              ; preds = %260, %190
  %192 = load i32, ptr %11, align 4, !tbaa !8
  %193 = load i32, ptr %3, align 4, !tbaa !8
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %196, label %195

195:                                              ; preds = %191
  store i32 20, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %263

196:                                              ; preds = %191
  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
  %197 = load i32, ptr %10, align 4, !tbaa !8
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %198
  %200 = load i32, ptr %11, align 4, !tbaa !8
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [505 x i32], ptr %199, i64 0, i64 %201
  %203 = load i32, ptr %202, align 4, !tbaa !8
  store i32 %203, ptr %13, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %204 = load i32, ptr %10, align 4, !tbaa !8
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %205
  %207 = load i32, ptr %11, align 4, !tbaa !8
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [505 x i32], ptr %206, i64 0, i64 %208
  %210 = load i32, ptr %209, align 4, !tbaa !8
  store i32 %210, ptr %14, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 1, ptr %15, align 4, !tbaa !8
  br label %211

211:                                              ; preds = %248, %196
  %212 = load i32, ptr %15, align 4, !tbaa !8
  %213 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %214 = load i32, ptr %213, align 4, !tbaa !8
  %215 = icmp sle i32 %212, %214
  br i1 %215, label %217, label %216

216:                                              ; preds = %211
  store i32 23, ptr %6, align 4
  br label %251

217:                                              ; preds = %211
  %218 = load i32, ptr %10, align 4, !tbaa !8
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %219
  %221 = load i32, ptr %11, align 4, !tbaa !8
  %222 = load i32, ptr %15, align 4, !tbaa !8
  %223 = sub nsw i32 %221, %222
  %224 = sext i32 %223 to i64
  %225 = getelementptr inbounds [505 x i32], ptr %220, i64 0, i64 %224
  %226 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %225)
  %227 = load i32, ptr %226, align 4, !tbaa !8
  store i32 %227, ptr %13, align 4, !tbaa !8
  %228 = load i32, ptr %10, align 4, !tbaa !8
  %229 = load i32, ptr %15, align 4, !tbaa !8
  %230 = sub nsw i32 %228, %229
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %231
  %233 = load i32, ptr %11, align 4, !tbaa !8
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds [505 x i32], ptr %232, i64 0, i64 %234
  %236 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(4) %235)
  %237 = load i32, ptr %236, align 4, !tbaa !8
  store i32 %237, ptr %14, align 4, !tbaa !8
  %238 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %239 = load i32, ptr %238, align 4, !tbaa !8
  %240 = load i32, ptr %15, align 4, !tbaa !8
  %241 = add nsw i32 %240, 1
  %242 = icmp sge i32 %239, %241
  br i1 %242, label %243, label %246

243:                                              ; preds = %217
  %244 = load i32, ptr %12, align 4, !tbaa !8
  %245 = add nsw i32 %244, 1
  store i32 %245, ptr %12, align 4, !tbaa !8
  br label %247

246:                                              ; preds = %217
  store i32 23, ptr %6, align 4
  br label %251

247:                                              ; preds = %243
  br label %248

248:                                              ; preds = %247
  %249 = load i32, ptr %15, align 4, !tbaa !8
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %15, align 4, !tbaa !8
  br label %211, !llvm.loop !18

251:                                              ; preds = %246, %216
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %252

252:                                              ; preds = %251
  %253 = load i32, ptr %12, align 4, !tbaa !8
  %254 = load i32, ptr %10, align 4, !tbaa !8
  %255 = sext i32 %254 to i64
  %256 = getelementptr inbounds [505 x [505 x i32]], ptr @a, i64 0, i64 %255
  %257 = load i32, ptr %11, align 4, !tbaa !8
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [505 x i32], ptr %256, i64 0, i64 %258
  store i32 %253, ptr %259, align 4, !tbaa !8
  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 %260

260:                                              ; preds = %252
  %261 = load i32, ptr %11, align 4, !tbaa !8
  %262 = add nsw i32 %261, 1
  store i32 %262, ptr %11, align 4, !tbaa !8
  br label %191, !llvm.loop !19

263:                                              ; preds = %195
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %10, align 4, !tbaa !8
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %10, align 4, !tbaa !8
  br label %185, !llvm.loop !20

267:                                              ; preds = %189
  %268 = load i32, ptr %2, align 4, !tbaa !8
  %269 = load i32, ptr %3, align 4, !tbaa !8
  call void @_Z5buildii(i32 noundef %268, i32 noundef %269)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %270 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
  br label %271

271:                                              ; preds = %328, %267
  %272 = load i32, ptr %16, align 4, !tbaa !8
  %273 = add nsw i32 %272, -1
  store i32 %273, ptr %16, align 4, !tbaa !8
  %274 = icmp ne i32 %272, 0
  br i1 %274, label %275, label %332

275:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %276 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %17)
  %277 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %276, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %278 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %277, ptr noundef nonnull align 4 dereferenceable(4) %19)
  %279 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %278, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %280 = load i32, ptr %17, align 4, !tbaa !8
  %281 = add nsw i32 %280, -1
  store i32 %281, ptr %17, align 4, !tbaa !8
  %282 = load i32, ptr %18, align 4, !tbaa !8
  %283 = add nsw i32 %282, -1
  store i32 %283, ptr %18, align 4, !tbaa !8
  %284 = load i32, ptr %19, align 4, !tbaa !8
  %285 = add nsw i32 %284, -1
  store i32 %285, ptr %19, align 4, !tbaa !8
  %286 = load i32, ptr %20, align 4, !tbaa !8
  %287 = add nsw i32 %286, -1
  store i32 %287, ptr %20, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 1, ptr %21, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %288 = load i32, ptr %19, align 4, !tbaa !8
  %289 = load i32, ptr %17, align 4, !tbaa !8
  %290 = sub nsw i32 %288, %289
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %23, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %292 = load i32, ptr %20, align 4, !tbaa !8
  %293 = load i32, ptr %18, align 4, !tbaa !8
  %294 = sub nsw i32 %292, %293
  %295 = add nsw i32 %294, 1
  store i32 %295, ptr %24, align 4, !tbaa !8
  %296 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %23, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %297 = load i32, ptr %296, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  store i32 %297, ptr %22, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #7
  store i32 0, ptr %25, align 4, !tbaa !8
  br label %298

298:                                              ; preds = %327, %275
  %299 = load i32, ptr %21, align 4, !tbaa !8
  %300 = load i32, ptr %22, align 4, !tbaa !8
  %301 = icmp sle i32 %299, %300
  br i1 %301, label %302, label %328

302:                                              ; preds = %298
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  %303 = load i32, ptr %21, align 4, !tbaa !8
  %304 = load i32, ptr %22, align 4, !tbaa !8
  %305 = add nsw i32 %303, %304
  %306 = ashr i32 %305, 1
  store i32 %306, ptr %26, align 4, !tbaa !8
  %307 = load i32, ptr %17, align 4, !tbaa !8
  %308 = load i32, ptr %26, align 4, !tbaa !8
  %309 = add nsw i32 %307, %308
  %310 = sub nsw i32 %309, 1
  %311 = load i32, ptr %18, align 4, !tbaa !8
  %312 = load i32, ptr %26, align 4, !tbaa !8
  %313 = add nsw i32 %311, %312
  %314 = sub nsw i32 %313, 1
  %315 = load i32, ptr %19, align 4, !tbaa !8
  %316 = load i32, ptr %20, align 4, !tbaa !8
  %317 = call noundef i32 @_Z2yoiiii(i32 noundef %310, i32 noundef %314, i32 noundef %315, i32 noundef %316)
  %318 = load i32, ptr %26, align 4, !tbaa !8
  %319 = icmp sge i32 %317, %318
  br i1 %319, label %320, label %324

320:                                              ; preds = %302
  %321 = load i32, ptr %26, align 4, !tbaa !8
  store i32 %321, ptr %25, align 4, !tbaa !8
  %322 = load i32, ptr %26, align 4, !tbaa !8
  %323 = add nsw i32 %322, 1
  store i32 %323, ptr %21, align 4, !tbaa !8
  br label %327

324:                                              ; preds = %302
  %325 = load i32, ptr %26, align 4, !tbaa !8
  %326 = sub nsw i32 %325, 1
  store i32 %326, ptr %22, align 4, !tbaa !8
  br label %327

327:                                              ; preds = %324, %320
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  br label %298, !llvm.loop !21

328:                                              ; preds = %298
  %329 = load i32, ptr %25, align 4, !tbaa !8
  %330 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %329)
  %331 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %330, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %271, !llvm.loop !22

332:                                              ; preds = %271
  store i32 0, ptr %1, align 4
  store i32 1, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  %333 = load i32, ptr %1, align 4
  ret i32 %333
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3

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


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"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" }

@a = external dso_local local_unnamed_addr global [505 x [505 x i32]], align 16
@_Z1sB5cxx11 = external dso_local global [505 x %"class.std::__cxx11::basic_string"], align 16
@l = external dso_local global [505 x [505 x i32]], align 16
@u = external dso_local global [505 x [505 x i32]], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z2yoiiii(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z5buildii(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %15 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %16 = getelementptr i8, ptr %15, i64 -24
  %17 = load i64, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %17
  %19 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %18, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %1)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %22 = load i32, ptr %1, align 4, !tbaa !8
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %.preheader78.thread

.preheader78.thread:                              ; preds = %0
  %.pre140150 = load i32, ptr %2, align 4, !tbaa !8
  br label %.preheader76

.preheader78:                                     ; preds = %.lr.ph
  %24 = icmp sgt i32 %28, 0
  %.pre140 = load i32, ptr %2, align 4, !tbaa !8
  br i1 %24, label %.preheader77.lr.ph, label %.preheader76

.preheader77.lr.ph:                               ; preds = %.preheader78
  %25 = icmp sgt i32 %.pre140, 0
  br i1 %25, label %.preheader77, label %.lr.ph101.thread

.lr.ph101.thread:                                 ; preds = %.preheader77.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 0, ptr %3, align 4, !tbaa !8
  br label %._crit_edge102

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 0, %0 ]
  %26 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %indvars.iv
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %26)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %28 = load i32, ptr %1, align 4, !tbaa !8
  %29 = sext i32 %28 to i64
  %30 = icmp slt i64 %indvars.iv.next, %29
  br i1 %30, label %.lr.ph, label %.preheader78, !llvm.loop !11

.preheader77:                                     ; preds = %.preheader77.lr.ph, %._crit_edge
  %.pre139144 = phi i32 [ %.pre139145, %._crit_edge ], [ %28, %.preheader77.lr.ph ]
  %31 = phi i32 [ %44, %._crit_edge ], [ %28, %.preheader77.lr.ph ]
  %32 = phi i32 [ %45, %._crit_edge ], [ %.pre140, %.preheader77.lr.ph ]
  %33 = phi i32 [ %46, %._crit_edge ], [ %.pre140, %.preheader77.lr.ph ]
  %34 = phi i32 [ %47, %._crit_edge ], [ %.pre140, %.preheader77.lr.ph ]
  %indvars.iv127 = phi i64 [ %indvars.iv.next128, %._crit_edge ], [ 0, %.preheader77.lr.ph ]
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %36, label %._crit_edge

36:                                               ; preds = %.preheader77
  %37 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %indvars.iv127
  %38 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %indvars.iv127
  store i32 1, ptr %38, align 4, !tbaa !8
  %39 = icmp sgt i32 %33, 1
  br i1 %39, label %.peel.next, label %._crit_edge

.preheader76:                                     ; preds = %._crit_edge, %.preheader78.thread, %.preheader78
  %40 = phi i32 [ %28, %.preheader78 ], [ %22, %.preheader78.thread ], [ %44, %._crit_edge ]
  %41 = phi i32 [ %.pre140, %.preheader78 ], [ %.pre140150, %.preheader78.thread ], [ %45, %._crit_edge ]
  %42 = icmp sgt i32 %41, 0
  br i1 %42, label %.preheader.lr.ph, label %._crit_edge87

.preheader.lr.ph:                                 ; preds = %.preheader76
  %43 = icmp sgt i32 %40, 0
  br i1 %43, label %.preheader, label %._crit_edge87.thread151

._crit_edge87.thread151:                          ; preds = %.preheader.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  br label %._crit_edge102

._crit_edge.loopexit.loopexit:                    ; preds = %58
  %.pre139.pre = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %36, %._crit_edge.loopexit.loopexit, %.preheader77
  %.pre139145 = phi i32 [ %.pre139144, %.preheader77 ], [ %.pre139.pre, %._crit_edge.loopexit.loopexit ], [ %.pre139144, %36 ]
  %44 = phi i32 [ %31, %.preheader77 ], [ %.pre139.pre, %._crit_edge.loopexit.loopexit ], [ %.pre139144, %36 ]
  %45 = phi i32 [ %32, %.preheader77 ], [ %.pre, %._crit_edge.loopexit.loopexit ], [ %32, %36 ]
  %46 = phi i32 [ %33, %.preheader77 ], [ %.pre, %._crit_edge.loopexit.loopexit ], [ %33, %36 ]
  %47 = phi i32 [ %34, %.preheader77 ], [ %.pre, %._crit_edge.loopexit.loopexit ], [ %33, %36 ]
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %48 = sext i32 %44 to i64
  %49 = icmp slt i64 %indvars.iv.next128, %48
  br i1 %49, label %.preheader77, label %.preheader76, !llvm.loop !13

.peel.next:                                       ; preds = %36, %58
  %indvars.iv123 = phi i64 [ %indvars.iv.next124, %58 ], [ 1, %36 ]
  %50 = add nsw i64 %indvars.iv123, -1
  %51 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %37, i64 noundef %50)
  %52 = load i8, ptr %51, align 1, !tbaa !15
  %53 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %37, i64 noundef %indvars.iv123)
  %54 = load i8, ptr %53, align 1, !tbaa !15
  %.not74 = icmp sgt i8 %52, %54
  br i1 %.not74, label %58, label %55

55:                                               ; preds = %.peel.next
  %56 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %indvars.iv127, i64 %50
  %57 = load i32, ptr %56, align 4, !tbaa !8
  br label %58

58:                                               ; preds = %55, %.peel.next
  %59 = phi i32 [ %57, %55 ], [ 0, %.peel.next ]
  %60 = add nsw i32 %59, 1
  %61 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %indvars.iv127, i64 %indvars.iv123
  store i32 %60, ptr %61, align 4, !tbaa !8
  %.pre = load i32, ptr %2, align 4, !tbaa !8
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %62 = sext i32 %.pre to i64
  %63 = icmp slt i64 %indvars.iv.next124, %62
  br i1 %63, label %.peel.next, label %._crit_edge.loopexit.loopexit, !llvm.loop !16

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge85
  %.pre142147 = phi i32 [ %.pre142148, %._crit_edge85 ], [ %41, %.preheader.lr.ph ]
  %64 = phi i32 [ %76, %._crit_edge85 ], [ %41, %.preheader.lr.ph ]
  %65 = phi i32 [ %77, %._crit_edge85 ], [ %40, %.preheader.lr.ph ]
  %66 = phi i32 [ %78, %._crit_edge85 ], [ %40, %.preheader.lr.ph ]
  %67 = phi i32 [ %79, %._crit_edge85 ], [ %40, %.preheader.lr.ph ]
  %indvars.iv136 = phi i64 [ %indvars.iv.next137, %._crit_edge85 ], [ 0, %.preheader.lr.ph ]
  %68 = icmp sgt i32 %67, 0
  br i1 %68, label %69, label %._crit_edge85

69:                                               ; preds = %.preheader
  %70 = getelementptr inbounds [505 x i32], ptr @u, i64 0, i64 %indvars.iv136
  store i32 1, ptr %70, align 4, !tbaa !8
  %71 = icmp sgt i32 %66, 1
  br i1 %71, label %.peel.next134, label %._crit_edge85

._crit_edge87:                                    ; preds = %._crit_edge85, %.preheader76
  %72 = phi i32 [ %41, %.preheader76 ], [ %76, %._crit_edge85 ]
  %73 = phi i32 [ %40, %.preheader76 ], [ %77, %._crit_edge85 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  store i32 0, ptr %3, align 4, !tbaa !8
  %74 = icmp sgt i32 %73, 0
  %75 = icmp sgt i32 %72, 0
  %or.cond = and i1 %74, %75
  br i1 %or.cond, label %.lr.ph101.split, label %._crit_edge102

._crit_edge85.loopexit.loopexit:                  ; preds = %92
  %.pre142.pre = load i32, ptr %2, align 4, !tbaa !8
  br label %._crit_edge85

._crit_edge85:                                    ; preds = %69, %._crit_edge85.loopexit.loopexit, %.preheader
  %.pre142148 = phi i32 [ %.pre142147, %.preheader ], [ %.pre142.pre, %._crit_edge85.loopexit.loopexit ], [ %.pre142147, %69 ]
  %76 = phi i32 [ %64, %.preheader ], [ %.pre142.pre, %._crit_edge85.loopexit.loopexit ], [ %.pre142147, %69 ]
  %77 = phi i32 [ %65, %.preheader ], [ %.pre141, %._crit_edge85.loopexit.loopexit ], [ %65, %69 ]
  %78 = phi i32 [ %66, %.preheader ], [ %.pre141, %._crit_edge85.loopexit.loopexit ], [ %66, %69 ]
  %79 = phi i32 [ %67, %.preheader ], [ %.pre141, %._crit_edge85.loopexit.loopexit ], [ %66, %69 ]
  %indvars.iv.next137 = add nuw nsw i64 %indvars.iv136, 1
  %80 = sext i32 %76 to i64
  %81 = icmp slt i64 %indvars.iv.next137, %80
  br i1 %81, label %.preheader, label %._crit_edge87, !llvm.loop !18

.peel.next134:                                    ; preds = %69, %92
  %indvars.iv130 = phi i64 [ %indvars.iv.next131, %92 ], [ 1, %69 ]
  %82 = add nsw i64 %indvars.iv130, -1
  %83 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %82
  %84 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %83, i64 noundef %indvars.iv136)
  %85 = load i8, ptr %84, align 1, !tbaa !15
  %86 = getelementptr inbounds [505 x %"class.std::__cxx11::basic_string"], ptr @_Z1sB5cxx11, i64 0, i64 %indvars.iv130
  %87 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %86, i64 noundef %indvars.iv136)
  %88 = load i8, ptr %87, align 1, !tbaa !15
  %.not72 = icmp sgt i8 %85, %88
  br i1 %.not72, label %92, label %89

89:                                               ; preds = %.peel.next134
  %90 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %82, i64 %indvars.iv136
  %91 = load i32, ptr %90, align 4, !tbaa !8
  br label %92

92:                                               ; preds = %89, %.peel.next134
  %93 = phi i32 [ %91, %89 ], [ 0, %.peel.next134 ]
  %94 = add nsw i32 %93, 1
  %95 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %indvars.iv130, i64 %indvars.iv136
  store i32 %94, ptr %95, align 4, !tbaa !8
  %.pre141 = load i32, ptr %1, align 4, !tbaa !8
  %indvars.iv.next131 = add nuw nsw i64 %indvars.iv130, 1
  %96 = sext i32 %.pre141 to i64
  %97 = icmp slt i64 %indvars.iv.next131, %96
  br i1 %97, label %.peel.next134, label %._crit_edge85.loopexit.loopexit, !llvm.loop !19

._crit_edge102:                                   ; preds = %._crit_edge99, %.lr.ph101.thread, %._crit_edge87.thread151, %._crit_edge87
  %98 = phi i32 [ %72, %._crit_edge87 ], [ %41, %._crit_edge87.thread151 ], [ %.pre140, %.lr.ph101.thread ], [ %108, %._crit_edge99 ]
  %.lcssa = phi i32 [ %73, %._crit_edge87 ], [ %40, %._crit_edge87.thread151 ], [ %28, %.lr.ph101.thread ], [ %106, %._crit_edge99 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @_Z5buildii(i32 noundef %.lcssa, i32 noundef %98)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %99 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %100 = load i32, ptr %7, align 4, !tbaa !8
  %101 = add nsw i32 %100, -1
  store i32 %101, ptr %7, align 4, !tbaa !8
  %.not113 = icmp eq i32 %100, 0
  br i1 %.not113, label %._crit_edge116, label %.lr.ph115

.lr.ph101.split:                                  ; preds = %._crit_edge87, %._crit_edge99
  %102 = phi i32 [ %106, %._crit_edge99 ], [ %73, %._crit_edge87 ]
  %103 = phi i32 [ %109, %._crit_edge99 ], [ 0, %._crit_edge87 ]
  %104 = phi i32 [ %108, %._crit_edge99 ], [ %72, %._crit_edge87 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 0, ptr %4, align 4, !tbaa !8
  %105 = icmp sgt i32 %104, 0
  br i1 %105, label %.lr.ph98, label %._crit_edge99

._crit_edge99.loopexit:                           ; preds = %._crit_edge93
  %.pre143 = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge99

._crit_edge99:                                    ; preds = %._crit_edge99.loopexit, %.lr.ph101.split
  %106 = phi i32 [ %.pre143, %._crit_edge99.loopexit ], [ %102, %.lr.ph101.split ]
  %107 = phi i32 [ %142, %._crit_edge99.loopexit ], [ %103, %.lr.ph101.split ]
  %108 = phi i32 [ %148, %._crit_edge99.loopexit ], [ %104, %.lr.ph101.split ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %109 = add nsw i32 %107, 1
  store i32 %109, ptr %3, align 4, !tbaa !8
  %110 = icmp slt i32 %109, %106
  br i1 %110, label %.lr.ph101.split, label %._crit_edge102, !llvm.loop !20

.lr.ph98:                                         ; preds = %.lr.ph101.split, %._crit_edge93
  %111 = phi i32 [ %142, %._crit_edge93 ], [ %103, %.lr.ph101.split ]
  %storemerge6896 = phi i32 [ %147, %._crit_edge93 ], [ 0, %.lr.ph101.split ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #7
  %112 = sext i32 %111 to i64
  %113 = sext i32 %storemerge6896 to i64
  %114 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %112, i64 %113
  %115 = load i32, ptr %114, align 4, !tbaa !8
  store i32 %115, ptr %5, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  %116 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %112, i64 %113
  %117 = load i32, ptr %116, align 4, !tbaa !8
  store i32 %117, ptr %6, align 4, !tbaa !8
  %118 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %119 = load i32, ptr %118, align 4, !tbaa !8
  %.not6988 = icmp slt i32 %119, 1
  br i1 %.not6988, label %._crit_edge93, label %.lr.ph92

.lr.ph92:                                         ; preds = %.lr.ph98, %138
  %.05690 = phi i32 [ %139, %138 ], [ 1, %.lr.ph98 ]
  %120 = load i32, ptr %3, align 4, !tbaa !8
  %121 = sext i32 %120 to i64
  %122 = load i32, ptr %4, align 4, !tbaa !8
  %123 = sub nsw i32 %122, %.05690
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [505 x [505 x i32]], ptr @u, i64 0, i64 %121, i64 %124
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %125)
  %127 = load i32, ptr %126, align 4, !tbaa !8
  store i32 %127, ptr %5, align 4, !tbaa !8
  %128 = load i32, ptr %3, align 4, !tbaa !8
  %129 = sub nsw i32 %128, %.05690
  %130 = sext i32 %129 to i64
  %131 = load i32, ptr %4, align 4, !tbaa !8
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [505 x [505 x i32]], ptr @l, i64 0, i64 %130, i64 %132
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %133)
  %135 = load i32, ptr %134, align 4, !tbaa !8
  store i32 %135, ptr %6, align 4, !tbaa !8
  %136 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %137 = load i32, ptr %136, align 4, !tbaa !8
  %.not70.not = icmp sgt i32 %137, %.05690
  br i1 %.not70.not, label %138, label %._crit_edge93

138:                                              ; preds = %.lr.ph92
  %139 = add nuw nsw i32 %.05690, 1
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %141 = load i32, ptr %140, align 4, !tbaa !8
  %.not69.not = icmp slt i32 %.05690, %141
  br i1 %.not69.not, label %.lr.ph92, label %._crit_edge93, !llvm.loop !21

._crit_edge93:                                    ; preds = %138, %.lr.ph92, %.lr.ph98
  %.057.lcssa = phi i32 [ 1, %.lr.ph98 ], [ %.05690, %.lr.ph92 ], [ %139, %138 ]
  %142 = load i32, ptr %3, align 4, !tbaa !8
  %143 = sext i32 %142 to i64
  %144 = load i32, ptr %4, align 4, !tbaa !8
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds [505 x [505 x i32]], ptr @a, i64 0, i64 %143, i64 %145
  store i32 %.057.lcssa, ptr %146, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #7
  %147 = add nsw i32 %144, 1
  store i32 %147, ptr %4, align 4, !tbaa !8
  %148 = load i32, ptr %2, align 4, !tbaa !8
  %149 = icmp slt i32 %147, %148
  br i1 %149, label %.lr.ph98, label %._crit_edge99.loopexit, !llvm.loop !22

.lr.ph115:                                        ; preds = %._crit_edge102, %._crit_edge111
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %150 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %151 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %150, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %152 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %151, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %153 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %152, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %154 = load i32, ptr %8, align 4, !tbaa !8
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %8, align 4, !tbaa !8
  %156 = load i32, ptr %9, align 4, !tbaa !8
  %157 = add nsw i32 %156, -1
  store i32 %157, ptr %9, align 4, !tbaa !8
  %158 = load i32, ptr %10, align 4, !tbaa !8
  %159 = add nsw i32 %158, -1
  store i32 %159, ptr %10, align 4, !tbaa !8
  %160 = load i32, ptr %11, align 4, !tbaa !8
  %161 = add nsw i32 %160, -1
  store i32 %161, ptr %11, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #7
  %reass.sub = sub i32 %158, %154
  %162 = add i32 %reass.sub, 1
  store i32 %162, ptr %12, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  %reass.sub117 = sub i32 %160, %156
  %163 = add i32 %reass.sub117, 1
  store i32 %163, ptr %13, align 4, !tbaa !8
  %164 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %13)
  %165 = load i32, ptr %164, align 4, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  %.not66105 = icmp slt i32 %165, 1
  br i1 %.not66105, label %._crit_edge111, label %.lr.ph110

.lr.ph110:                                        ; preds = %.lr.ph115, %.lr.ph110
  %.0108 = phi i32 [ %.1, %.lr.ph110 ], [ 0, %.lr.ph115 ]
  %.052107 = phi i32 [ %.153, %.lr.ph110 ], [ %165, %.lr.ph115 ]
  %.054106 = phi i32 [ %.155, %.lr.ph110 ], [ 1, %.lr.ph115 ]
  %166 = add nuw nsw i32 %.052107, %.054106
  %167 = lshr i32 %166, 1
  %168 = load i32, ptr %8, align 4, !tbaa !8
  %169 = add nsw i32 %167, -1
  %170 = add i32 %169, %168
  %171 = load i32, ptr %9, align 4, !tbaa !8
  %172 = add i32 %169, %171
  %173 = load i32, ptr %10, align 4, !tbaa !8
  %174 = load i32, ptr %11, align 4, !tbaa !8
  %175 = call noundef i32 @_Z2yoiiii(i32 noundef %170, i32 noundef %172, i32 noundef %173, i32 noundef %174)
  %.not67 = icmp slt i32 %175, %167
  %176 = add nuw nsw i32 %167, 1
  %.155 = select i1 %.not67, i32 %.054106, i32 %176
  %.153 = select i1 %.not67, i32 %169, i32 %.052107
  %.1 = select i1 %.not67, i32 %.0108, i32 %167
  %.not66 = icmp sgt i32 %.155, %.153
  br i1 %.not66, label %._crit_edge111, label %.lr.ph110, !llvm.loop !23

._crit_edge111:                                   ; preds = %.lr.ph110, %.lr.ph115
  %.0.lcssa = phi i32 [ 0, %.lr.ph115 ], [ %.1, %.lr.ph110 ]
  %177 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %.0.lcssa)
  %178 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %177, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  %179 = load i32, ptr %7, align 4, !tbaa !8
  %180 = add nsw i32 %179, -1
  store i32 %180, ptr %7, align 4, !tbaa !8
  %.not = icmp eq i32 %179, 0
  br i1 %.not, label %._crit_edge116, label %.lr.ph115, !llvm.loop !24

._crit_edge116:                                   ; preds = %._crit_edge111, %._crit_edge102
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  ret i32 0
}

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

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) 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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #3

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


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