; LLVM IR from abeaumont/competitive-programming :: kattis (narrowartgallery)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }

@a = external dso_local global [201 x [2 x i32]], align 16
@dp = external dso_local global [201 x [201 x [3 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 norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %13 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %14 = getelementptr i8, ptr %13, i64 -24
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %15
  %17 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %16, ptr noundef null)
  %18 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  br label %19

19:                                               ; preds = %254, %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !8
  %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) %2)
  %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) %3)
  %22 = load i32, ptr %2, align 4, !tbaa !8
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %25, label %24

24:                                               ; preds = %19
  store i32 3, ptr %5, align 4
  br label %252

25:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !8
  br label %26

26:                                               ; preds = %57, %25
  %27 = load i32, ptr %6, align 4, !tbaa !8
  %28 = load i32, ptr %2, align 4, !tbaa !8
  %29 = icmp slt i32 %27, %28
  br i1 %29, label %31, label %30

30:                                               ; preds = %26
  store i32 4, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %60

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

32:                                               ; preds = %53, %31
  %33 = load i32, ptr %7, align 4, !tbaa !8
  %34 = icmp slt i32 %33, 2
  br i1 %34, label %36, label %35

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

36:                                               ; preds = %32
  %37 = load i32, ptr %6, align 4, !tbaa !8
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %38
  %40 = load i32, ptr %7, align 4, !tbaa !8
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [2 x i32], ptr %39, i64 0, i64 %41
  %43 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %42)
  %44 = load i32, ptr %6, align 4, !tbaa !8
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %45
  %47 = load i32, ptr %7, align 4, !tbaa !8
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [2 x i32], ptr %46, i64 0, i64 %48
  %50 = load i32, ptr %49, align 4, !tbaa !8
  %51 = load i32, ptr %4, align 4, !tbaa !8
  %52 = add nsw i32 %51, %50
  store i32 %52, ptr %4, align 4, !tbaa !8
  br label %53

53:                                               ; preds = %36
  %54 = load i32, ptr %7, align 4, !tbaa !8
  %55 = add nsw i32 %54, 1
  store i32 %55, ptr %7, align 4, !tbaa !8
  br label %32, !llvm.loop !11

56:                                               ; preds = %35
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %6, align 4, !tbaa !8
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %6, align 4, !tbaa !8
  br label %26, !llvm.loop !13

60:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !8
  br label %61

61:                                               ; preds = %69, %60
  %62 = load i32, ptr %8, align 4, !tbaa !8
  %63 = icmp slt i32 %62, 3
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 10, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %72

65:                                               ; preds = %61
  %66 = load i32, ptr %8, align 4, !tbaa !8
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [3 x i32], ptr @dp, i64 0, i64 %67
  store i32 0, ptr %68, align 4, !tbaa !8
  br label %69

69:                                               ; preds = %65
  %70 = load i32, ptr %8, align 4, !tbaa !8
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %8, align 4, !tbaa !8
  br label %61, !llvm.loop !14

72:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 1, ptr %9, align 4, !tbaa !8
  br label %73

73:                                               ; preds = %94, %72
  %74 = load i32, ptr %9, align 4, !tbaa !8
  %75 = load i32, ptr %3, align 4, !tbaa !8
  %76 = icmp sle i32 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  store i32 13, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %97

78:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !8
  br label %79

79:                                               ; preds = %90, %78
  %80 = load i32, ptr %10, align 4, !tbaa !8
  %81 = icmp slt i32 %80, 3
  br i1 %81, label %83, label %82

82:                                               ; preds = %79
  store i32 16, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %93

83:                                               ; preds = %79
  %84 = load i32, ptr %9, align 4, !tbaa !8
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %85
  %87 = load i32, ptr %10, align 4, !tbaa !8
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds [3 x i32], ptr %86, i64 0, i64 %88
  store i32 2000000000, ptr %89, align 4, !tbaa !8
  br label %90

90:                                               ; preds = %83
  %91 = load i32, ptr %10, align 4, !tbaa !8
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %10, align 4, !tbaa !8
  br label %79, !llvm.loop !15

93:                                               ; preds = %82
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %9, align 4, !tbaa !8
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %9, align 4, !tbaa !8
  br label %73, !llvm.loop !16

97:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 1, ptr %11, align 4, !tbaa !8
  br label %98

98:                                               ; preds = %220, %97
  %99 = load i32, ptr %11, align 4, !tbaa !8
  %100 = load i32, ptr %2, align 4, !tbaa !8
  %101 = icmp sle i32 %99, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %98
  store i32 19, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %223

103:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !8
  br label %104

104:                                              ; preds = %216, %103
  %105 = load i32, ptr %12, align 4, !tbaa !8
  %106 = load i32, ptr %3, align 4, !tbaa !8
  %107 = icmp sle i32 %105, %106
  br i1 %107, label %109, label %108

108:                                              ; preds = %104
  store i32 22, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %219

109:                                              ; preds = %104
  %110 = load i32, ptr %11, align 4, !tbaa !8
  %111 = sub nsw i32 %110, 1
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %112
  %114 = load i32, ptr %12, align 4, !tbaa !8
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [201 x [3 x i32]], ptr %113, i64 0, i64 %115
  %117 = getelementptr inbounds [3 x i32], ptr %116, i64 0, i64 0
  %118 = load i32, ptr %11, align 4, !tbaa !8
  %119 = sub nsw i32 %118, 1
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %120
  %122 = load i32, ptr %12, align 4, !tbaa !8
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [201 x [3 x i32]], ptr %121, i64 0, i64 %123
  %125 = getelementptr inbounds [3 x i32], ptr %124, i64 0, i64 1
  %126 = load i32, ptr %11, align 4, !tbaa !8
  %127 = sub nsw i32 %126, 1
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %128
  %130 = load i32, ptr %12, align 4, !tbaa !8
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [201 x [3 x i32]], ptr %129, i64 0, i64 %131
  %133 = getelementptr inbounds [3 x i32], ptr %132, i64 0, i64 2
  %134 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %125, ptr noundef nonnull align 4 dereferenceable(4) %133)
  %135 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %117, ptr noundef nonnull align 4 dereferenceable(4) %134)
  %136 = load i32, ptr %135, align 4, !tbaa !8
  %137 = load i32, ptr %11, align 4, !tbaa !8
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %138
  %140 = load i32, ptr %12, align 4, !tbaa !8
  %141 = sext i32 %140 to i64
  %142 = getelementptr inbounds [201 x [3 x i32]], ptr %139, i64 0, i64 %141
  %143 = getelementptr inbounds [3 x i32], ptr %142, i64 0, i64 0
  store i32 %136, ptr %143, align 4, !tbaa !8
  %144 = load i32, ptr %12, align 4, !tbaa !8
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %215

146:                                              ; preds = %109
  %147 = load i32, ptr %11, align 4, !tbaa !8
  %148 = sub nsw i32 %147, 1
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %149
  %151 = load i32, ptr %12, align 4, !tbaa !8
  %152 = sub nsw i32 %151, 1
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds [201 x [3 x i32]], ptr %150, i64 0, i64 %153
  %155 = getelementptr inbounds [3 x i32], ptr %154, i64 0, i64 0
  %156 = load i32, ptr %11, align 4, !tbaa !8
  %157 = sub nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %158
  %160 = load i32, ptr %12, align 4, !tbaa !8
  %161 = sub nsw i32 %160, 1
  %162 = sext i32 %161 to i64
  %163 = getelementptr inbounds [201 x [3 x i32]], ptr %159, i64 0, i64 %162
  %164 = getelementptr inbounds [3 x i32], ptr %163, i64 0, i64 1
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %155, ptr noundef nonnull align 4 dereferenceable(4) %164)
  %166 = load i32, ptr %165, align 4, !tbaa !8
  %167 = load i32, ptr %11, align 4, !tbaa !8
  %168 = sub nsw i32 %167, 1
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %169
  %171 = getelementptr inbounds [2 x i32], ptr %170, i64 0, i64 0
  %172 = load i32, ptr %171, align 8, !tbaa !8
  %173 = add nsw i32 %166, %172
  %174 = load i32, ptr %11, align 4, !tbaa !8
  %175 = sext i32 %174 to i64
  %176 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %175
  %177 = load i32, ptr %12, align 4, !tbaa !8
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [201 x [3 x i32]], ptr %176, i64 0, i64 %178
  %180 = getelementptr inbounds [3 x i32], ptr %179, i64 0, i64 1
  store i32 %173, ptr %180, align 4, !tbaa !8
  %181 = load i32, ptr %11, align 4, !tbaa !8
  %182 = sub nsw i32 %181, 1
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %183
  %185 = load i32, ptr %12, align 4, !tbaa !8
  %186 = sub nsw i32 %185, 1
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [201 x [3 x i32]], ptr %184, i64 0, i64 %187
  %189 = getelementptr inbounds [3 x i32], ptr %188, i64 0, i64 0
  %190 = load i32, ptr %11, align 4, !tbaa !8
  %191 = sub nsw i32 %190, 1
  %192 = sext i32 %191 to i64
  %193 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %192
  %194 = load i32, ptr %12, align 4, !tbaa !8
  %195 = sub nsw i32 %194, 1
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [201 x [3 x i32]], ptr %193, i64 0, i64 %196
  %198 = getelementptr inbounds [3 x i32], ptr %197, i64 0, i64 2
  %199 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %189, ptr noundef nonnull align 4 dereferenceable(4) %198)
  %200 = load i32, ptr %199, align 4, !tbaa !8
  %201 = load i32, ptr %11, align 4, !tbaa !8
  %202 = sub nsw i32 %201, 1
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %203
  %205 = getelementptr inbounds [2 x i32], ptr %204, i64 0, i64 1
  %206 = load i32, ptr %205, align 4, !tbaa !8
  %207 = add nsw i32 %200, %206
  %208 = load i32, ptr %11, align 4, !tbaa !8
  %209 = sext i32 %208 to i64
  %210 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %209
  %211 = load i32, ptr %12, align 4, !tbaa !8
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds [201 x [3 x i32]], ptr %210, i64 0, i64 %212
  %214 = getelementptr inbounds [3 x i32], ptr %213, i64 0, i64 2
  store i32 %207, ptr %214, align 4, !tbaa !8
  br label %215

215:                                              ; preds = %146, %109
  br label %216

216:                                              ; preds = %215
  %217 = load i32, ptr %12, align 4, !tbaa !8
  %218 = add nsw i32 %217, 1
  store i32 %218, ptr %12, align 4, !tbaa !8
  br label %104, !llvm.loop !17

219:                                              ; preds = %108
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %11, align 4, !tbaa !8
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %11, align 4, !tbaa !8
  br label %98, !llvm.loop !18

223:                                              ; preds = %102
  %224 = load i32, ptr %4, align 4, !tbaa !8
  %225 = load i32, ptr %2, align 4, !tbaa !8
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %226
  %228 = load i32, ptr %3, align 4, !tbaa !8
  %229 = sext i32 %228 to i64
  %230 = getelementptr inbounds [201 x [3 x i32]], ptr %227, i64 0, i64 %229
  %231 = getelementptr inbounds [3 x i32], ptr %230, i64 0, i64 0
  %232 = load i32, ptr %2, align 4, !tbaa !8
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %233
  %235 = load i32, ptr %3, align 4, !tbaa !8
  %236 = sext i32 %235 to i64
  %237 = getelementptr inbounds [201 x [3 x i32]], ptr %234, i64 0, i64 %236
  %238 = getelementptr inbounds [3 x i32], ptr %237, i64 0, i64 1
  %239 = load i32, ptr %2, align 4, !tbaa !8
  %240 = sext i32 %239 to i64
  %241 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %240
  %242 = load i32, ptr %3, align 4, !tbaa !8
  %243 = sext i32 %242 to i64
  %244 = getelementptr inbounds [201 x [3 x i32]], ptr %241, i64 0, i64 %243
  %245 = getelementptr inbounds [3 x i32], ptr %244, i64 0, i64 2
  %246 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %238, ptr noundef nonnull align 4 dereferenceable(4) %245)
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %231, ptr noundef nonnull align 4 dereferenceable(4) %246)
  %248 = load i32, ptr %247, align 4, !tbaa !8
  %249 = sub nsw i32 %224, %248
  %250 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %249)
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %250, i8 noundef signext 10)
  store i32 0, ptr %5, align 4
  br label %252

252:                                              ; preds = %223, %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %253 = load i32, ptr %5, align 4
  switch i32 %253, label %257 [
    i32 0, label %254
    i32 3, label %255
  ]

254:                                              ; preds = %252
  br label %19, !llvm.loop !19

255:                                              ; preds = %252
  %256 = load i32, ptr %1, align 4
  ret i32 %256

257:                                              ; preds = %252
  unreachable
}

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

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

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

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

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

; 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)) #4

; 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) #5

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !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::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 [201 x [2 x i32]], align 16
@dp = external dso_local global [201 x [201 x [3 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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %9 = 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)
  %10 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %11 = load i32, ptr %1, align 4, !tbaa !8
  %.not83 = icmp eq i32 %11, 0
  br i1 %.not83, label %._crit_edge84, label %.preheader68

.preheader68:                                     ; preds = %0, %._crit_edge81
  %12 = phi i32 [ %95, %._crit_edge81 ], [ %11, %0 ]
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.preheader64, label %.preheader67

.preheader67:                                     ; preds = %.preheader64, %.preheader68
  %14 = phi i32 [ %12, %.preheader68 ], [ %24, %.preheader64 ]
  %.055.lcssa = phi i32 [ 0, %.preheader68 ], [ %23, %.preheader64 ]
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(12) @dp, i8 0, i64 12, i1 false), !tbaa !8
  %15 = load i32, ptr %2, align 4, !tbaa !8
  %.not5775 = icmp slt i32 %15, 1
  br i1 %.not5775, label %.preheader65, label %.preheader63.preheader

.preheader64:                                     ; preds = %.preheader68, %.preheader64
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader64 ], [ 0, %.preheader68 ]
  %.05571 = phi i32 [ %23, %.preheader64 ], [ 0, %.preheader68 ]
  %16 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %indvars.iv, i64 0
  %17 = 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)
  %18 = load i32, ptr %16, align 8, !tbaa !8
  %19 = add nsw i32 %18, %.05571
  %20 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %indvars.iv, i64 1
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %22 = load i32, ptr %20, align 4, !tbaa !8
  %23 = add nsw i32 %22, %19
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %24 = load i32, ptr %1, align 4, !tbaa !8
  %25 = sext i32 %24 to i64
  %26 = icmp slt i64 %indvars.iv.next, %25
  br i1 %26, label %.preheader64, label %.preheader67, !llvm.loop !11

.preheader63.preheader:                           ; preds = %.preheader67
  %27 = zext nneg i32 %15 to i64
  %xtraiter = and i64 %27, 1
  %28 = icmp eq i32 %15, 1
  br i1 %28, label %.preheader65.loopexit.unr-lcssa, label %.preheader63.preheader.new

.preheader63.preheader.new:                       ; preds = %.preheader63.preheader
  %unroll_iter = and i64 %27, 2147483646
  br label %.preheader63

.preheader65.loopexit.unr-lcssa:                  ; preds = %.preheader63, %.preheader63.preheader
  %indvars.iv96.unr = phi i64 [ 1, %.preheader63.preheader ], [ %indvars.iv.next97.1, %.preheader63 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader65, label %.preheader63.epil

.preheader63.epil:                                ; preds = %.preheader65.loopexit.unr-lcssa
  %29 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96.unr, i64 0
  store i32 2000000000, ptr %29, align 4, !tbaa !8
  %30 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96.unr, i64 1
  store i32 2000000000, ptr %30, align 4, !tbaa !8
  %31 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96.unr, i64 2
  store i32 2000000000, ptr %31, align 4, !tbaa !8
  br label %.preheader65

.preheader65:                                     ; preds = %.preheader63.epil, %.preheader65.loopexit.unr-lcssa, %.preheader67
  %.not5879 = icmp slt i32 %14, 1
  %32 = icmp slt i32 %15, 0
  %or.cond = or i1 %.not5879, %32
  br i1 %or.cond, label %._crit_edge81, label %.preheader

.preheader63:                                     ; preds = %.preheader63, %.preheader63.preheader.new
  %indvars.iv96 = phi i64 [ 1, %.preheader63.preheader.new ], [ %indvars.iv.next97.1, %.preheader63 ]
  %niter = phi i64 [ 0, %.preheader63.preheader.new ], [ %niter.next.1, %.preheader63 ]
  %33 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96, i64 0
  store i32 2000000000, ptr %33, align 4, !tbaa !8
  %34 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96, i64 1
  store i32 2000000000, ptr %34, align 4, !tbaa !8
  %35 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv96, i64 2
  store i32 2000000000, ptr %35, align 4, !tbaa !8
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %36 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv.next97, i64 0
  store i32 2000000000, ptr %36, align 4, !tbaa !8
  %37 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv.next97, i64 1
  store i32 2000000000, ptr %37, align 4, !tbaa !8
  %38 = getelementptr inbounds [201 x [3 x i32]], ptr @dp, i64 0, i64 %indvars.iv.next97, i64 2
  store i32 2000000000, ptr %38, align 4, !tbaa !8
  %indvars.iv.next97.1 = add nuw nsw i64 %indvars.iv96, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.preheader65.loopexit.unr-lcssa, label %.preheader63, !llvm.loop !13

.preheader:                                       ; preds = %.preheader65, %._crit_edge
  %39 = phi i32 [ %54, %._crit_edge ], [ %15, %.preheader65 ]
  %40 = phi i32 [ %55, %._crit_edge ], [ %14, %.preheader65 ]
  %41 = phi i32 [ %56, %._crit_edge ], [ %15, %.preheader65 ]
  %indvars.iv103 = phi i64 [ %indvars.iv.next104, %._crit_edge ], [ 1, %.preheader65 ]
  %.not5977 = icmp slt i32 %41, 0
  br i1 %.not5977, label %._crit_edge, label %42

42:                                               ; preds = %.preheader
  %43 = add nsw i64 %indvars.iv103, -1
  %44 = getelementptr inbounds [201 x [2 x i32]], ptr @a, i64 0, i64 %43
  %45 = getelementptr inbounds i8, ptr %44, i64 4
  %46 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %43, i64 0
  %47 = getelementptr inbounds i8, ptr %46, i64 4
  %48 = getelementptr inbounds i8, ptr %46, i64 8
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %47, ptr noundef nonnull align 4 dereferenceable(4) %48)
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %46, ptr noundef nonnull align 4 dereferenceable(4) %49)
  %51 = load i32, ptr %50, align 4, !tbaa !8
  %52 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %indvars.iv103, i64 0
  store i32 %51, ptr %52, align 4, !tbaa !8
  %.pre = load i32, ptr %2, align 4, !tbaa !8
  %.not59.not.peel = icmp sgt i32 %.pre, 0
  br i1 %.not59.not.peel, label %.peel.next, label %._crit_edge.loopexit

._crit_edge.loopexit:                             ; preds = %.peel.next, %42
  %53 = phi i32 [ %.pre, %42 ], [ %79, %.peel.next ]
  %.pre107 = load i32, ptr %1, align 4, !tbaa !8
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %54 = phi i32 [ %53, %._crit_edge.loopexit ], [ %39, %.preheader ]
  %55 = phi i32 [ %.pre107, %._crit_edge.loopexit ], [ %40, %.preheader ]
  %56 = phi i32 [ %53, %._crit_edge.loopexit ], [ %41, %.preheader ]
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %57 = sext i32 %55 to i64
  %.not58.not = icmp slt i64 %indvars.iv103, %57
  br i1 %.not58.not, label %.preheader, label %._crit_edge81, !llvm.loop !14

.peel.next:                                       ; preds = %42, %.peel.next
  %indvars.iv99 = phi i64 [ %indvars.iv.next100, %.peel.next ], [ 1, %42 ]
  %58 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %43, i64 %indvars.iv99
  %59 = getelementptr inbounds i8, ptr %58, i64 4
  %60 = getelementptr inbounds i8, ptr %58, i64 8
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %60)
  %62 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %58, ptr noundef nonnull align 4 dereferenceable(4) %61)
  %63 = load i32, ptr %62, align 4, !tbaa !8
  %64 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %indvars.iv103, i64 %indvars.iv99
  store i32 %63, ptr %64, align 4, !tbaa !8
  %65 = add nsw i64 %indvars.iv99, -1
  %66 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %43, i64 %65
  %67 = getelementptr inbounds i8, ptr %66, i64 4
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %67)
  %69 = load i32, ptr %68, align 4, !tbaa !8
  %70 = load i32, ptr %44, align 8, !tbaa !8
  %71 = add nsw i32 %70, %69
  %72 = getelementptr inbounds i8, ptr %64, i64 4
  store i32 %71, ptr %72, align 4, !tbaa !8
  %73 = getelementptr inbounds i8, ptr %66, i64 8
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %66, ptr noundef nonnull align 4 dereferenceable(4) %73)
  %75 = load i32, ptr %74, align 4, !tbaa !8
  %76 = load i32, ptr %45, align 4, !tbaa !8
  %77 = add nsw i32 %76, %75
  %78 = getelementptr inbounds i8, ptr %64, i64 8
  store i32 %77, ptr %78, align 4, !tbaa !8
  %indvars.iv.next100 = add nuw nsw i64 %indvars.iv99, 1
  %79 = load i32, ptr %2, align 4, !tbaa !8
  %80 = sext i32 %79 to i64
  %.not59.not = icmp slt i64 %indvars.iv99, %80
  br i1 %.not59.not, label %.peel.next, label %._crit_edge.loopexit, !llvm.loop !16

._crit_edge81:                                    ; preds = %._crit_edge, %.preheader65
  %81 = phi i32 [ %15, %.preheader65 ], [ %54, %._crit_edge ]
  %.lcssa = phi i32 [ %14, %.preheader65 ], [ %55, %._crit_edge ]
  %82 = sext i32 %.lcssa to i64
  %83 = sext i32 %81 to i64
  %84 = getelementptr inbounds [201 x [201 x [3 x i32]]], ptr @dp, i64 0, i64 %82, i64 %83
  %85 = getelementptr inbounds i8, ptr %84, i64 4
  %86 = getelementptr inbounds i8, ptr %84, i64 8
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %85, ptr noundef nonnull align 4 dereferenceable(4) %86)
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %84, ptr noundef nonnull align 4 dereferenceable(4) %87)
  %89 = load i32, ptr %88, align 4, !tbaa !8
  %90 = sub nsw i32 %.055.lcssa, %89
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i32 noundef %90)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %91, i8 noundef signext 10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #7
  %93 = 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)
  %94 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %93, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %95 = load i32, ptr %1, align 4, !tbaa !8
  %.not = icmp eq i32 %95, 0
  br i1 %.not, label %._crit_edge84, label %.preheader68

._crit_edge84:                                    ; preds = %._crit_edge81, %0
  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
}

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

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

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

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 #2

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

; Function Attrs: 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 #4

; 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 #5

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

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

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


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