; LLVM IR from JanaSabuj/cppdump :: Old/DP/2D (2DKadane)

; 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" }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@stderr = external global ptr, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i64, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %15 = load ptr, ptr @stdin, align 8, !tbaa !5
  %16 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %15)
  %17 = load ptr, ptr @stdout, align 8, !tbaa !5
  %18 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %17)
  %19 = load ptr, ptr @stderr, align 8, !tbaa !5
  %20 = call ptr @freopen(ptr noundef @.str.4, ptr noundef @.str.3, ptr noundef %19)
  %21 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %22 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !9
  %23 = getelementptr i8, ptr %22, i64 -24
  %24 = load i64, ptr %23, align 8
  %25 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %24
  %26 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %25, ptr noundef null)
  %27 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !9
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %29
  %31 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %30, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #8
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %33 = load i64, ptr %2, align 8, !tbaa !11
  %34 = load i64, ptr %2, align 8, !tbaa !11
  %35 = call ptr @llvm.stacksave.p0()
  store ptr %35, ptr %3, align 8
  %36 = mul nuw i64 %33, %34
  %37 = alloca i64, i64 %36, align 16
  store i64 %33, ptr %4, align 8
  store i64 %34, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  store i64 0, ptr %6, align 8, !tbaa !11
  br label %38

38:                                               ; preds = %118, %0
  %39 = load i64, ptr %6, align 8, !tbaa !11
  %40 = load i64, ptr %2, align 8, !tbaa !11
  %41 = icmp slt i64 %39, %40
  br i1 %41, label %43, label %42

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

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store i64 0, ptr %8, align 8, !tbaa !11
  br label %44

44:                                               ; preds = %114, %43
  %45 = load i64, ptr %8, align 8, !tbaa !11
  %46 = load i64, ptr %2, align 8, !tbaa !11
  %47 = icmp slt i64 %45, %46
  br i1 %47, label %49, label %48

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

49:                                               ; preds = %44
  %50 = load i64, ptr %6, align 8, !tbaa !11
  %51 = mul nsw i64 %50, %34
  %52 = getelementptr inbounds i64, ptr %37, i64 %51
  %53 = load i64, ptr %8, align 8, !tbaa !11
  %54 = getelementptr inbounds i64, ptr %52, i64 %53
  %55 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %54)
  %56 = load i64, ptr %6, align 8, !tbaa !11
  %57 = icmp sgt i64 %56, 0
  br i1 %57, label %58, label %73

58:                                               ; preds = %49
  %59 = load i64, ptr %6, align 8, !tbaa !11
  %60 = sub nsw i64 %59, 1
  %61 = mul nsw i64 %60, %34
  %62 = getelementptr inbounds i64, ptr %37, i64 %61
  %63 = load i64, ptr %8, align 8, !tbaa !11
  %64 = getelementptr inbounds i64, ptr %62, i64 %63
  %65 = load i64, ptr %64, align 8, !tbaa !11
  %66 = load i64, ptr %6, align 8, !tbaa !11
  %67 = mul nsw i64 %66, %34
  %68 = getelementptr inbounds i64, ptr %37, i64 %67
  %69 = load i64, ptr %8, align 8, !tbaa !11
  %70 = getelementptr inbounds i64, ptr %68, i64 %69
  %71 = load i64, ptr %70, align 8, !tbaa !11
  %72 = add nsw i64 %71, %65
  store i64 %72, ptr %70, align 8, !tbaa !11
  br label %73

73:                                               ; preds = %58, %49
  %74 = load i64, ptr %8, align 8, !tbaa !11
  %75 = icmp sgt i64 %74, 0
  br i1 %75, label %76, label %91

76:                                               ; preds = %73
  %77 = load i64, ptr %6, align 8, !tbaa !11
  %78 = mul nsw i64 %77, %34
  %79 = getelementptr inbounds i64, ptr %37, i64 %78
  %80 = load i64, ptr %8, align 8, !tbaa !11
  %81 = sub nsw i64 %80, 1
  %82 = getelementptr inbounds i64, ptr %79, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !11
  %84 = load i64, ptr %6, align 8, !tbaa !11
  %85 = mul nsw i64 %84, %34
  %86 = getelementptr inbounds i64, ptr %37, i64 %85
  %87 = load i64, ptr %8, align 8, !tbaa !11
  %88 = getelementptr inbounds i64, ptr %86, i64 %87
  %89 = load i64, ptr %88, align 8, !tbaa !11
  %90 = add nsw i64 %89, %83
  store i64 %90, ptr %88, align 8, !tbaa !11
  br label %91

91:                                               ; preds = %76, %73
  %92 = load i64, ptr %6, align 8, !tbaa !11
  %93 = icmp sgt i64 %92, 0
  br i1 %93, label %94, label %113

94:                                               ; preds = %91
  %95 = load i64, ptr %8, align 8, !tbaa !11
  %96 = icmp sgt i64 %95, 0
  br i1 %96, label %97, label %113

97:                                               ; preds = %94
  %98 = load i64, ptr %6, align 8, !tbaa !11
  %99 = sub nsw i64 %98, 1
  %100 = mul nsw i64 %99, %34
  %101 = getelementptr inbounds i64, ptr %37, i64 %100
  %102 = load i64, ptr %8, align 8, !tbaa !11
  %103 = sub nsw i64 %102, 1
  %104 = getelementptr inbounds i64, ptr %101, i64 %103
  %105 = load i64, ptr %104, align 8, !tbaa !11
  %106 = load i64, ptr %6, align 8, !tbaa !11
  %107 = mul nsw i64 %106, %34
  %108 = getelementptr inbounds i64, ptr %37, i64 %107
  %109 = load i64, ptr %8, align 8, !tbaa !11
  %110 = getelementptr inbounds i64, ptr %108, i64 %109
  %111 = load i64, ptr %110, align 8, !tbaa !11
  %112 = sub nsw i64 %111, %105
  store i64 %112, ptr %110, align 8, !tbaa !11
  br label %113

113:                                              ; preds = %97, %94, %91
  br label %114

114:                                              ; preds = %113
  %115 = load i64, ptr %8, align 8, !tbaa !11
  %116 = add nsw i64 %115, 1
  store i64 %116, ptr %8, align 8, !tbaa !11
  br label %44, !llvm.loop !13

117:                                              ; preds = %48
  br label %118

118:                                              ; preds = %117
  %119 = load i64, ptr %6, align 8, !tbaa !11
  %120 = add nsw i64 %119, 1
  store i64 %120, ptr %6, align 8, !tbaa !11
  br label %38, !llvm.loop !15

121:                                              ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  store i64 -9223372036854775808, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store i64 0, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store i64 0, ptr %11, align 8, !tbaa !11
  br label %122

122:                                              ; preds = %211, %121
  %123 = load i64, ptr %11, align 8, !tbaa !11
  %124 = load i64, ptr %2, align 8, !tbaa !11
  %125 = icmp slt i64 %123, %124
  br i1 %125, label %127, label %126

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

127:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  store i64 0, ptr %12, align 8, !tbaa !11
  br label %128

128:                                              ; preds = %207, %127
  %129 = load i64, ptr %12, align 8, !tbaa !11
  %130 = load i64, ptr %2, align 8, !tbaa !11
  %131 = icmp slt i64 %129, %130
  br i1 %131, label %133, label %132

132:                                              ; preds = %128
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %210

133:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %134 = load i64, ptr %11, align 8, !tbaa !11
  store i64 %134, ptr %13, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %203, %133
  %136 = load i64, ptr %13, align 8, !tbaa !11
  %137 = load i64, ptr %2, align 8, !tbaa !11
  %138 = icmp slt i64 %136, %137
  br i1 %138, label %140, label %139

139:                                              ; preds = %135
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %206

140:                                              ; preds = %135
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %141 = load i64, ptr %12, align 8, !tbaa !11
  store i64 %141, ptr %14, align 8, !tbaa !11
  br label %142

142:                                              ; preds = %199, %140
  %143 = load i64, ptr %14, align 8, !tbaa !11
  %144 = load i64, ptr %2, align 8, !tbaa !11
  %145 = icmp slt i64 %143, %144
  br i1 %145, label %147, label %146

146:                                              ; preds = %142
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br label %202

147:                                              ; preds = %142
  %148 = load i64, ptr %13, align 8, !tbaa !11
  %149 = mul nsw i64 %148, %34
  %150 = getelementptr inbounds i64, ptr %37, i64 %149
  %151 = load i64, ptr %14, align 8, !tbaa !11
  %152 = getelementptr inbounds i64, ptr %150, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !11
  store i64 %153, ptr %10, align 8, !tbaa !11
  %154 = load i64, ptr %11, align 8, !tbaa !11
  %155 = icmp sgt i64 %154, 0
  br i1 %155, label %156, label %166

156:                                              ; preds = %147
  %157 = load i64, ptr %11, align 8, !tbaa !11
  %158 = sub nsw i64 %157, 1
  %159 = mul nsw i64 %158, %34
  %160 = getelementptr inbounds i64, ptr %37, i64 %159
  %161 = load i64, ptr %14, align 8, !tbaa !11
  %162 = getelementptr inbounds i64, ptr %160, i64 %161
  %163 = load i64, ptr %162, align 8, !tbaa !11
  %164 = load i64, ptr %10, align 8, !tbaa !11
  %165 = sub nsw i64 %164, %163
  store i64 %165, ptr %10, align 8, !tbaa !11
  br label %166

166:                                              ; preds = %156, %147
  %167 = load i64, ptr %12, align 8, !tbaa !11
  %168 = icmp sgt i64 %167, 0
  br i1 %168, label %169, label %179

169:                                              ; preds = %166
  %170 = load i64, ptr %13, align 8, !tbaa !11
  %171 = mul nsw i64 %170, %34
  %172 = getelementptr inbounds i64, ptr %37, i64 %171
  %173 = load i64, ptr %12, align 8, !tbaa !11
  %174 = sub nsw i64 %173, 1
  %175 = getelementptr inbounds i64, ptr %172, i64 %174
  %176 = load i64, ptr %175, align 8, !tbaa !11
  %177 = load i64, ptr %10, align 8, !tbaa !11
  %178 = sub nsw i64 %177, %176
  store i64 %178, ptr %10, align 8, !tbaa !11
  br label %179

179:                                              ; preds = %169, %166
  %180 = load i64, ptr %11, align 8, !tbaa !11
  %181 = icmp sgt i64 %180, 0
  br i1 %181, label %182, label %196

182:                                              ; preds = %179
  %183 = load i64, ptr %12, align 8, !tbaa !11
  %184 = icmp sgt i64 %183, 0
  br i1 %184, label %185, label %196

185:                                              ; preds = %182
  %186 = load i64, ptr %11, align 8, !tbaa !11
  %187 = sub nsw i64 %186, 1
  %188 = mul nsw i64 %187, %34
  %189 = getelementptr inbounds i64, ptr %37, i64 %188
  %190 = load i64, ptr %12, align 8, !tbaa !11
  %191 = sub nsw i64 %190, 1
  %192 = getelementptr inbounds i64, ptr %189, i64 %191
  %193 = load i64, ptr %192, align 8, !tbaa !11
  %194 = load i64, ptr %10, align 8, !tbaa !11
  %195 = add nsw i64 %194, %193
  store i64 %195, ptr %10, align 8, !tbaa !11
  br label %196

196:                                              ; preds = %185, %182, %179
  %197 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %198 = load i64, ptr %197, align 8, !tbaa !11
  store i64 %198, ptr %9, align 8, !tbaa !11
  br label %199

199:                                              ; preds = %196
  %200 = load i64, ptr %14, align 8, !tbaa !11
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %14, align 8, !tbaa !11
  br label %142, !llvm.loop !16

202:                                              ; preds = %146
  br label %203

203:                                              ; preds = %202
  %204 = load i64, ptr %13, align 8, !tbaa !11
  %205 = add nsw i64 %204, 1
  store i64 %205, ptr %13, align 8, !tbaa !11
  br label %135, !llvm.loop !17

206:                                              ; preds = %139
  br label %207

207:                                              ; preds = %206
  %208 = load i64, ptr %12, align 8, !tbaa !11
  %209 = add nsw i64 %208, 1
  store i64 %209, ptr %12, align 8, !tbaa !11
  br label %128, !llvm.loop !18

210:                                              ; preds = %132
  br label %211

211:                                              ; preds = %210
  %212 = load i64, ptr %11, align 8, !tbaa !11
  %213 = add nsw i64 %212, 1
  store i64 %213, ptr %11, align 8, !tbaa !11
  br label %122, !llvm.loop !19

214:                                              ; preds = %126
  %215 = load i64, ptr %9, align 8, !tbaa !11
  %216 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %215)
  %217 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef @.str.5)
  store i32 0, ptr %1, align 4
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %218 = load ptr, ptr %3, align 8
  call void @llvm.stackrestore.p0(ptr %218)
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  %219 = load i32, ptr %1, align 4
  ret i32 %219
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #1

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

; 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 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

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

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

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


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

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

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@stderr = external local_unnamed_addr global ptr, align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = load ptr, ptr @stdin, align 8, !tbaa !5
  %5 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %4)
  %6 = load ptr, ptr @stdout, align 8, !tbaa !5
  %7 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %6)
  %8 = load ptr, ptr @stderr, align 8, !tbaa !5
  %9 = tail call ptr @freopen(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.3, ptr noundef %8)
  %10 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %11 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !9
  %12 = getelementptr i8, ptr %11, i64 -24
  %13 = load i64, ptr %12, align 8
  %14 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %13
  %15 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %14, ptr noundef null)
  %16 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !9
  %17 = getelementptr i8, ptr %16, i64 -24
  %18 = load i64, ptr %17, align 8
  %19 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %18
  %20 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %19, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %22 = load i64, ptr %1, align 8, !tbaa !11
  %23 = call ptr @llvm.stacksave.p0()
  %24 = mul nuw i64 %22, %22
  %25 = alloca i64, i64 %24, align 16
  %invariant.gep60 = getelementptr i8, ptr %25, i64 -8
  %26 = load i64, ptr %1, align 8, !tbaa !11
  %27 = icmp sgt i64 %26, 0
  br i1 %27, label %.preheader58, label %._crit_edge62.thread

._crit_edge62.thread:                             ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store i64 -9223372036854775808, ptr %2, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 0, ptr %3, align 8, !tbaa !11
  br label %._crit_edge81

.preheader58:                                     ; preds = %0, %._crit_edge
  %28 = phi i64 [ %58, %._crit_edge ], [ %26, %0 ]
  %.05261 = phi i64 [ %59, %._crit_edge ], [ 0, %0 ]
  %29 = icmp sgt i64 %28, 0
  br i1 %29, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader58
  %30 = mul nsw i64 %.05261, %22
  %31 = getelementptr inbounds i64, ptr %25, i64 %30
  %.not = icmp eq i64 %.05261, 0
  %32 = add nsw i64 %.05261, -1
  %33 = mul nsw i64 %32, %22
  %34 = getelementptr inbounds i64, ptr %25, i64 %33
  %gep = getelementptr i64, ptr %invariant.gep60, i64 %33
  %35 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  br i1 %.not, label %.thread.peel, label %.thread.us.peel

.thread.us.peel:                                  ; preds = %.lr.ph
  %36 = load i64, ptr %34, align 8, !tbaa !11
  %37 = load i64, ptr %31, align 8, !tbaa !11
  %38 = add nsw i64 %37, %36
  store i64 %38, ptr %31, align 8, !tbaa !11
  %39 = load i64, ptr %1, align 8, !tbaa !11
  %40 = icmp sgt i64 %39, 1
  br i1 %40, label %.thread.us, label %._crit_edge

.thread.peel:                                     ; preds = %.lr.ph
  %41 = load i64, ptr %1, align 8, !tbaa !11
  %42 = icmp sgt i64 %41, 1
  br i1 %42, label %.thread, label %._crit_edge

.thread.us:                                       ; preds = %.thread.us.peel, %.thread.us
  %.05159.us = phi i64 [ %54, %.thread.us ], [ 1, %.thread.us.peel ]
  %43 = getelementptr inbounds i64, ptr %31, i64 %.05159.us
  %44 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %43)
  %45 = getelementptr inbounds i64, ptr %34, i64 %.05159.us
  %46 = load i64, ptr %45, align 8, !tbaa !11
  %47 = load i64, ptr %43, align 8, !tbaa !11
  %48 = add nsw i64 %47, %46
  %49 = getelementptr i8, ptr %43, i64 -8
  %50 = load i64, ptr %49, align 8, !tbaa !11
  %51 = add nsw i64 %48, %50
  store i64 %51, ptr %43, align 8, !tbaa !11
  %gep.us = getelementptr i64, ptr %gep, i64 %.05159.us
  %52 = load i64, ptr %gep.us, align 8, !tbaa !11
  %53 = sub nsw i64 %51, %52
  store i64 %53, ptr %43, align 8, !tbaa !11
  %54 = add nuw nsw i64 %.05159.us, 1
  %55 = load i64, ptr %1, align 8, !tbaa !11
  %56 = icmp slt i64 %54, %55
  br i1 %56, label %.thread.us, label %._crit_edge, !llvm.loop !13

._crit_edge62:                                    ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  store i64 -9223372036854775808, ptr %2, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  store i64 0, ptr %3, align 8, !tbaa !11
  %57 = icmp sgt i64 %58, 0
  br i1 %57, label %.preheader57, label %._crit_edge81

._crit_edge:                                      ; preds = %.thread.us, %.thread, %.thread.us.peel, %.thread.peel, %.preheader58
  %58 = phi i64 [ %28, %.preheader58 ], [ %41, %.thread.peel ], [ %39, %.thread.us.peel ], [ %68, %.thread ], [ %55, %.thread.us ]
  %59 = add nuw nsw i64 %.05261, 1
  %60 = icmp slt i64 %59, %58
  br i1 %60, label %.preheader58, label %._crit_edge62, !llvm.loop !16

.thread:                                          ; preds = %.thread.peel, %.thread
  %.05159 = phi i64 [ %67, %.thread ], [ 1, %.thread.peel ]
  %61 = getelementptr inbounds i64, ptr %31, i64 %.05159
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %61)
  %63 = getelementptr i8, ptr %61, i64 -8
  %64 = load i64, ptr %63, align 8, !tbaa !11
  %65 = load i64, ptr %61, align 8, !tbaa !11
  %66 = add nsw i64 %65, %64
  store i64 %66, ptr %61, align 8, !tbaa !11
  %67 = add nuw nsw i64 %.05159, 1
  %68 = load i64, ptr %1, align 8, !tbaa !11
  %69 = icmp slt i64 %67, %68
  br i1 %69, label %.thread, label %._crit_edge, !llvm.loop !18

.preheader57:                                     ; preds = %._crit_edge62, %._crit_edge77
  %70 = phi i64 [ %85, %._crit_edge77 ], [ -9223372036854775808, %._crit_edge62 ]
  %71 = phi i64 [ %86, %._crit_edge77 ], [ %58, %._crit_edge62 ]
  %.05079 = phi i64 [ %87, %._crit_edge77 ], [ 0, %._crit_edge62 ]
  %72 = icmp sgt i64 %71, 0
  br i1 %72, label %.preheader56.lr.ph, label %._crit_edge77

.preheader56.lr.ph:                               ; preds = %.preheader57
  %.not84 = icmp eq i64 %.05079, 0
  %73 = add nsw i64 %.05079, -1
  %74 = mul nsw i64 %73, %22
  %75 = getelementptr inbounds i64, ptr %25, i64 %74
  %invariant.gep = getelementptr i64, ptr %invariant.gep60, i64 %74
  %76 = icmp slt i64 %.05079, %71
  br i1 %76, label %.preheader56, label %._crit_edge77

._crit_edge81:                                    ; preds = %._crit_edge77, %._crit_edge62.thread, %._crit_edge62
  %77 = phi i64 [ -9223372036854775808, %._crit_edge62 ], [ -9223372036854775808, %._crit_edge62.thread ], [ %85, %._crit_edge77 ]
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %77)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @.str.5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.stackrestore.p0(ptr %23)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret i32 0

.preheader56:                                     ; preds = %.preheader56.lr.ph, %._crit_edge72
  %80 = phi i64 [ %125, %._crit_edge72 ], [ %70, %.preheader56.lr.ph ]
  %81 = phi i64 [ %126, %._crit_edge72 ], [ %71, %.preheader56.lr.ph ]
  %82 = phi i64 [ %127, %._crit_edge72 ], [ %71, %.preheader56.lr.ph ]
  %.04975 = phi i64 [ %128, %._crit_edge72 ], [ 0, %.preheader56.lr.ph ]
  %83 = icmp slt i64 %.05079, %82
  br i1 %83, label %.preheader.lr.ph, label %._crit_edge72

.preheader.lr.ph:                                 ; preds = %.preheader56
  %.not85 = icmp eq i64 %.04975, 0
  %gep78 = getelementptr i64, ptr %invariant.gep, i64 %.04975
  %84 = icmp slt i64 %.04975, %82
  br i1 %84, label %.preheader, label %._crit_edge72

._crit_edge77:                                    ; preds = %._crit_edge72, %.preheader56.lr.ph, %.preheader57
  %85 = phi i64 [ %70, %.preheader57 ], [ %70, %.preheader56.lr.ph ], [ %125, %._crit_edge72 ]
  %86 = phi i64 [ %71, %.preheader57 ], [ %71, %.preheader56.lr.ph ], [ %126, %._crit_edge72 ]
  %87 = add nuw nsw i64 %.05079, 1
  %88 = icmp slt i64 %87, %86
  br i1 %88, label %.preheader57, label %._crit_edge81, !llvm.loop !19

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge68
  %89 = phi i64 [ %130, %._crit_edge68 ], [ %80, %.preheader.lr.ph ]
  %90 = phi i64 [ %131, %._crit_edge68 ], [ %81, %.preheader.lr.ph ]
  %91 = phi i64 [ %132, %._crit_edge68 ], [ %82, %.preheader.lr.ph ]
  %92 = phi i64 [ %133, %._crit_edge68 ], [ %82, %.preheader.lr.ph ]
  %.04871 = phi i64 [ %134, %._crit_edge68 ], [ %.05079, %.preheader.lr.ph ]
  %93 = icmp slt i64 %.04975, %92
  br i1 %93, label %.lr.ph67, label %._crit_edge68

.lr.ph67:                                         ; preds = %.preheader
  %94 = mul nsw i64 %.04871, %22
  %95 = getelementptr inbounds i64, ptr %25, i64 %94
  %96 = getelementptr i64, ptr %95, i64 %.04975
  %97 = getelementptr i8, ptr %96, i64 -8
  br i1 %.not85, label %.lr.ph67.split, label %.lr.ph67.split.us

.lr.ph67.split.us:                                ; preds = %.lr.ph67, %.thread54.us
  %.066.us = phi i64 [ %112, %.thread54.us ], [ %.04975, %.lr.ph67 ]
  %98 = getelementptr inbounds i64, ptr %95, i64 %.066.us
  %99 = load i64, ptr %98, align 8, !tbaa !11
  br i1 %.not84, label %.thread54.us.critedge, label %100

100:                                              ; preds = %.lr.ph67.split.us
  %101 = getelementptr inbounds i64, ptr %75, i64 %.066.us
  %102 = load i64, ptr %101, align 8, !tbaa !11
  %103 = load i64, ptr %97, align 8, !tbaa !11
  %104 = add i64 %102, %103
  %105 = sub i64 %99, %104
  %106 = load i64, ptr %gep78, align 8, !tbaa !11
  %107 = add nsw i64 %105, %106
  br label %.thread54.us

.thread54.us.critedge:                            ; preds = %.lr.ph67.split.us
  %108 = load i64, ptr %97, align 8, !tbaa !11
  %109 = sub nsw i64 %99, %108
  br label %.thread54.us

.thread54.us:                                     ; preds = %.thread54.us.critedge, %100
  %storemerge = phi i64 [ %109, %.thread54.us.critedge ], [ %107, %100 ]
  store i64 %storemerge, ptr %3, align 8, !tbaa !11
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %111 = load i64, ptr %110, align 8, !tbaa !11
  store i64 %111, ptr %2, align 8, !tbaa !11
  %112 = add nuw nsw i64 %.066.us, 1
  %113 = load i64, ptr %1, align 8, !tbaa !11
  %114 = icmp slt i64 %112, %113
  br i1 %114, label %.lr.ph67.split.us, label %._crit_edge68, !llvm.loop !20

.lr.ph67.split:                                   ; preds = %.lr.ph67
  br i1 %.not84, label %.thread54, label %.thread54.us70

.thread54.us70:                                   ; preds = %.lr.ph67.split, %.thread54.us70
  %.066.us69 = phi i64 [ %122, %.thread54.us70 ], [ 0, %.lr.ph67.split ]
  %115 = getelementptr inbounds i64, ptr %95, i64 %.066.us69
  %116 = load i64, ptr %115, align 8, !tbaa !11
  %117 = getelementptr inbounds i64, ptr %75, i64 %.066.us69
  %118 = load i64, ptr %117, align 8, !tbaa !11
  %119 = sub nsw i64 %116, %118
  store i64 %119, ptr %3, align 8, !tbaa !11
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %121 = load i64, ptr %120, align 8, !tbaa !11
  store i64 %121, ptr %2, align 8, !tbaa !11
  %122 = add nuw nsw i64 %.066.us69, 1
  %123 = load i64, ptr %1, align 8, !tbaa !11
  %124 = icmp slt i64 %122, %123
  br i1 %124, label %.thread54.us70, label %._crit_edge68, !llvm.loop !20

._crit_edge72:                                    ; preds = %._crit_edge68, %.preheader.lr.ph, %.preheader56
  %125 = phi i64 [ %80, %.preheader56 ], [ %80, %.preheader.lr.ph ], [ %130, %._crit_edge68 ]
  %126 = phi i64 [ %81, %.preheader56 ], [ %81, %.preheader.lr.ph ], [ %131, %._crit_edge68 ]
  %127 = phi i64 [ %82, %.preheader56 ], [ %82, %.preheader.lr.ph ], [ %132, %._crit_edge68 ]
  %128 = add nuw nsw i64 %.04975, 1
  %129 = icmp slt i64 %128, %127
  br i1 %129, label %.preheader56, label %._crit_edge77, !llvm.loop !21

._crit_edge68:                                    ; preds = %.thread54.us, %.thread54.us70, %.thread54, %.preheader
  %130 = phi i64 [ %89, %.preheader ], [ %139, %.thread54 ], [ %121, %.thread54.us70 ], [ %111, %.thread54.us ]
  %131 = phi i64 [ %90, %.preheader ], [ %141, %.thread54 ], [ %123, %.thread54.us70 ], [ %113, %.thread54.us ]
  %132 = phi i64 [ %91, %.preheader ], [ %141, %.thread54 ], [ %123, %.thread54.us70 ], [ %113, %.thread54.us ]
  %133 = phi i64 [ %92, %.preheader ], [ %141, %.thread54 ], [ %123, %.thread54.us70 ], [ %113, %.thread54.us ]
  %134 = add nuw nsw i64 %.04871, 1
  %135 = icmp slt i64 %134, %133
  br i1 %135, label %.preheader, label %._crit_edge72, !llvm.loop !22

.thread54:                                        ; preds = %.lr.ph67.split, %.thread54
  %.066 = phi i64 [ %140, %.thread54 ], [ 0, %.lr.ph67.split ]
  %136 = getelementptr inbounds i64, ptr %95, i64 %.066
  %137 = load i64, ptr %136, align 8, !tbaa !11
  store i64 %137, ptr %3, align 8, !tbaa !11
  %138 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %139 = load i64, ptr %138, align 8, !tbaa !11
  store i64 %139, ptr %2, align 8, !tbaa !11
  %140 = add nuw nsw i64 %.066, 1
  %141 = load i64, ptr %1, align 8, !tbaa !11
  %142 = icmp slt i64 %140, %141
  br i1 %142, label %.thread54, label %._crit_edge68, !llvm.loop !20
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #5

; 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 8 dereferenceable(8) ptr @_ZSt3maxIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #5

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

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

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


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