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

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

%"class.std::basic_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" }

@t = external dso_local global [3 x [3 x i64]], align 16
@dp = external dso_local global [50 x [3 x [3 x i64]]], align 16
@n = external dso_local global i32, align 4
@_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 void @_Z5relaxi(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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %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 i64, align 8
  %10 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %11

11:                                               ; preds = %45, %0
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = icmp slt i32 %12, 3
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %48

15:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %41, %15
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = icmp slt i32 %17, 3
  br i1 %18, label %20, label %19

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

20:                                               ; preds = %16
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %22
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [3 x i64], ptr %23, i64 0, i64 %25
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %26)
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %29
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [3 x i64], ptr %30, i64 0, i64 %32
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = load i32, ptr %2, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [3 x [3 x i64]], ptr getelementptr inbounds ([50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 1), i64 0, i64 %36
  %38 = load i32, ptr %4, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [3 x i64], ptr %37, i64 0, i64 %39
  store i64 %34, ptr %40, align 8, !tbaa !9
  br label %41

41:                                               ; preds = %20
  %42 = load i32, ptr %4, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %4, align 4, !tbaa !5
  br label %16, !llvm.loop !11

44:                                               ; preds = %19
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %2, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %2, align 4, !tbaa !5
  br label %11, !llvm.loop !13

48:                                               ; preds = %14
  %49 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  call void @_Z5relaxi(i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %191, %48
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = icmp sle i32 %51, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %194

55:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %186, %55
  %57 = load i32, ptr %6, align 4, !tbaa !5
  %58 = icmp slt i32 %57, 3
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %189

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

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

64:                                               ; preds = %61
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %185

65:                                               ; preds = %61
  %66 = load i32, ptr %6, align 4, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !5
  %68 = icmp eq i32 %66, %67
  br i1 %68, label %69, label %70

69:                                               ; preds = %65
  br label %182

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

71:                                               ; preds = %178, %70
  %72 = load i32, ptr %8, align 4, !tbaa !5
  %73 = icmp slt i32 %72, 3
  br i1 %73, label %75, label %74

74:                                               ; preds = %71
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %181

75:                                               ; preds = %71
  %76 = load i32, ptr %8, align 4, !tbaa !5
  %77 = load i32, ptr %6, align 4, !tbaa !5
  %78 = icmp eq i32 %76, %77
  br i1 %78, label %83, label %79

79:                                               ; preds = %75
  %80 = load i32, ptr %8, align 4, !tbaa !5
  %81 = load i32, ptr %7, align 4, !tbaa !5
  %82 = icmp eq i32 %80, %81
  br i1 %82, label %83, label %84

83:                                               ; preds = %79, %75
  br label %178

84:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %85 = load i32, ptr %5, align 4, !tbaa !5
  %86 = sub nsw i32 %85, 1
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %87
  %89 = load i32, ptr %6, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [3 x [3 x i64]], ptr %88, i64 0, i64 %90
  %92 = load i32, ptr %8, align 4, !tbaa !5
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds [3 x i64], ptr %91, i64 0, i64 %93
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = load i32, ptr %6, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %97
  %99 = load i32, ptr %7, align 4, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [3 x i64], ptr %98, i64 0, i64 %100
  %102 = load i64, ptr %101, align 8, !tbaa !9
  %103 = add nsw i64 %95, %102
  %104 = load i32, ptr %5, align 4, !tbaa !5
  %105 = sub nsw i32 %104, 1
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %106
  %108 = load i32, ptr %8, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %110 = getelementptr inbounds [3 x [3 x i64]], ptr %107, i64 0, i64 %109
  %111 = load i32, ptr %7, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [3 x i64], ptr %110, i64 0, i64 %112
  %114 = load i64, ptr %113, align 8, !tbaa !9
  %115 = add nsw i64 %103, %114
  store i64 %115, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = sub nsw i32 %116, 1
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %118
  %120 = load i32, ptr %6, align 4, !tbaa !5
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [3 x [3 x i64]], ptr %119, i64 0, i64 %121
  %123 = load i32, ptr %7, align 4, !tbaa !5
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds [3 x i64], ptr %122, i64 0, i64 %124
  %126 = load i64, ptr %125, align 8, !tbaa !9
  %127 = load i32, ptr %6, align 4, !tbaa !5
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %128
  %130 = load i32, ptr %8, align 4, !tbaa !5
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds [3 x i64], ptr %129, i64 0, i64 %131
  %133 = load i64, ptr %132, align 8, !tbaa !9
  %134 = add nsw i64 %126, %133
  %135 = load i32, ptr %5, align 4, !tbaa !5
  %136 = sub nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %137
  %139 = load i32, ptr %7, align 4, !tbaa !5
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds [3 x [3 x i64]], ptr %138, i64 0, i64 %140
  %142 = load i32, ptr %6, align 4, !tbaa !5
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [3 x i64], ptr %141, i64 0, i64 %143
  %145 = load i64, ptr %144, align 8, !tbaa !9
  %146 = add nsw i64 %134, %145
  %147 = load i32, ptr %8, align 4, !tbaa !5
  %148 = sext i32 %147 to i64
  %149 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %148
  %150 = load i32, ptr %7, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [3 x i64], ptr %149, i64 0, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = add nsw i64 %146, %153
  %155 = load i32, ptr %5, align 4, !tbaa !5
  %156 = sub nsw i32 %155, 1
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %157
  %159 = load i32, ptr %6, align 4, !tbaa !5
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds [3 x [3 x i64]], ptr %158, i64 0, i64 %160
  %162 = load i32, ptr %7, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [3 x i64], ptr %161, i64 0, i64 %163
  %165 = load i64, ptr %164, align 8, !tbaa !9
  %166 = add nsw i64 %154, %165
  store i64 %166, ptr %10, align 8, !tbaa !9
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %168 = load i64, ptr %167, align 8, !tbaa !9
  %169 = load i32, ptr %5, align 4, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %170
  %172 = load i32, ptr %6, align 4, !tbaa !5
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds [3 x [3 x i64]], ptr %171, i64 0, i64 %173
  %175 = load i32, ptr %7, align 4, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [3 x i64], ptr %174, i64 0, i64 %176
  store i64 %168, ptr %177, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %178

178:                                              ; preds = %84, %83
  %179 = load i32, ptr %8, align 4, !tbaa !5
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %8, align 4, !tbaa !5
  br label %71, !llvm.loop !14

181:                                              ; preds = %74
  br label %182

182:                                              ; preds = %181, %69
  %183 = load i32, ptr %7, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  store i32 %184, ptr %7, align 4, !tbaa !5
  br label %61, !llvm.loop !15

185:                                              ; preds = %64
  br label %186

186:                                              ; preds = %185
  %187 = load i32, ptr %6, align 4, !tbaa !5
  %188 = add nsw i32 %187, 1
  store i32 %188, ptr %6, align 4, !tbaa !5
  br label %56, !llvm.loop !16

189:                                              ; preds = %59
  %190 = load i32, ptr %5, align 4, !tbaa !5
  call void @_Z5relaxi(i32 noundef %190)
  br label %191

191:                                              ; preds = %189
  %192 = load i32, ptr %5, align 4, !tbaa !5
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %5, align 4, !tbaa !5
  br label %50, !llvm.loop !17

194:                                              ; preds = %54
  %195 = load i32, ptr @n, align 4, !tbaa !5
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %196
  %198 = getelementptr inbounds [3 x [3 x i64]], ptr %197, i64 0, i64 0
  %199 = getelementptr inbounds [3 x i64], ptr %198, i64 0, i64 2
  %200 = load i64, ptr %199, align 8, !tbaa !9
  %201 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %200)
  %202 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %201, i8 noundef signext 10)
  ret i32 0
}

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

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

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 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !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}


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

@t = external dso_local global [3 x [3 x i64]], align 16
@dp = external dso_local local_unnamed_addr global [50 x [3 x [3 x i64]]], align 16
@n = external dso_local global i32, align 4
@_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 void @_Z5relaxi(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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
.preheader57:
  %0 = alloca i64, align 8
  %1 = alloca i64, align 8
  %2 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) @t)
  %3 = load i64, ptr @t, align 16, !tbaa !5
  store i64 %3, ptr getelementptr inbounds (i8, ptr @dp, i64 72), align 8, !tbaa !5
  %4 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 8))
  %5 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 8), align 8, !tbaa !5
  store i64 %5, ptr getelementptr inbounds (i8, ptr @dp, i64 80), align 16, !tbaa !5
  %6 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 16))
  %7 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 16), align 16, !tbaa !5
  store i64 %7, ptr getelementptr inbounds (i8, ptr @dp, i64 88), align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 24))
  %9 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 24), align 8, !tbaa !5
  store i64 %9, ptr getelementptr inbounds (i8, ptr @dp, i64 96), align 16, !tbaa !5
  %10 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 32))
  %11 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 32), align 16, !tbaa !5
  store i64 %11, ptr getelementptr inbounds (i8, ptr @dp, i64 104), align 8, !tbaa !5
  %12 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 40))
  %13 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 40), align 8, !tbaa !5
  store i64 %13, ptr getelementptr inbounds (i8, ptr @dp, i64 112), align 16, !tbaa !5
  %14 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 48))
  %15 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 48), align 16, !tbaa !5
  store i64 %15, ptr getelementptr inbounds (i8, ptr @dp, i64 120), align 8, !tbaa !5
  %16 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 56))
  %17 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 56), align 8, !tbaa !5
  store i64 %17, ptr getelementptr inbounds (i8, ptr @dp, i64 128), align 16, !tbaa !5
  %18 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) getelementptr inbounds (i8, ptr @t, i64 64))
  %19 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 64), align 16, !tbaa !5
  store i64 %19, ptr getelementptr inbounds (i8, ptr @dp, i64 136), align 8, !tbaa !5
  %20 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  tail call void @_Z5relaxi(i32 noundef 1)
  %21 = load i32, ptr @n, align 4, !tbaa !9
  %.not63 = icmp slt i32 %21, 1
  br i1 %.not63, label %.preheader57.._crit_edge_crit_edge, label %.preheader56

.preheader57.._crit_edge_crit_edge:               ; preds = %.preheader57
  %.pre = sext i32 %21 to i64
  br label %._crit_edge

.preheader56:                                     ; preds = %.preheader57, %38
  %indvars.iv75 = phi i64 [ %indvars.iv.next76, %38 ], [ 1, %.preheader57 ]
  %22 = add nsw i64 %indvars.iv75, -1
  %23 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 1, i64 0
  %24 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 2, i64 0
  %25 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 0, i64 1
  %26 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 2, i64 1
  %27 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 0, i64 2
  %28 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 1, i64 2
  br label %.preheader55

._crit_edge:                                      ; preds = %38, %.preheader57.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader57.._crit_edge_crit_edge ], [ %41, %38 ]
  %29 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %.pre-phi, i64 0, i64 2
  %30 = load i64, ptr %29, align 8, !tbaa !5
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %30)
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %31, i8 noundef signext 10)
  ret i32 0

.preheader55:                                     ; preds = %.loopexit.2, %.preheader56
  %indvars.iv = phi i64 [ 0, %.preheader56 ], [ %indvars.iv.next, %.loopexit.2 ]
  %33 = icmp eq i64 %indvars.iv, 0
  br i1 %33, label %.thread79, label %42

.thread79:                                        ; preds = %.preheader55
  %34 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 1
  %35 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 1
  %36 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 1, i64 %indvars.iv
  %37 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv, i64 1
  br label %.preheader.2

38:                                               ; preds = %.preheader.1.thread
  %39 = trunc nuw nsw i64 %indvars.iv75 to i32
  call void @_Z5relaxi(i32 noundef %39)
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %40 = load i32, ptr @n, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %.not.not = icmp slt i64 %indvars.iv75, %41
  br i1 %.not.not, label %.preheader56, label %._crit_edge, !llvm.loop !11

42:                                               ; preds = %.preheader55
  %43 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 0
  %44 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 0
  %45 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 0, i64 %indvars.iv
  %46 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv, i64 0
  %47 = icmp eq i64 %indvars.iv, 1
  br i1 %47, label %.loopexit, label %48

48:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %49 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 1
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = load i64, ptr %43, align 8, !tbaa !5
  %52 = add nsw i64 %51, %50
  %53 = load i64, ptr %23, align 8, !tbaa !5
  %54 = add nsw i64 %52, %53
  store i64 %54, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %55 = load i64, ptr %44, align 8, !tbaa !5
  %56 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 1
  %57 = load i64, ptr %56, align 8, !tbaa !5
  %58 = load i64, ptr %45, align 8, !tbaa !5
  %59 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 24), align 8, !tbaa !5
  %factor.1 = shl i64 %55, 1
  %60 = add i64 %factor.1, %57
  %61 = add i64 %60, %58
  %62 = add i64 %61, %59
  store i64 %62, ptr %1, align 8, !tbaa !5
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %64 = load i64, ptr %63, align 8, !tbaa !5
  store i64 %64, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  %65 = icmp eq i64 %indvars.iv, 2
  br i1 %65, label %.preheader.1.thread, label %.loopexit

.loopexit:                                        ; preds = %42, %48
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %66 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 2
  %67 = load i64, ptr %66, align 8, !tbaa !5
  %68 = load i64, ptr %43, align 8, !tbaa !5
  %69 = add nsw i64 %68, %67
  %70 = load i64, ptr %24, align 8, !tbaa !5
  %71 = add nsw i64 %69, %70
  store i64 %71, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %72 = load i64, ptr %44, align 8, !tbaa !5
  %73 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 2
  %74 = load i64, ptr %73, align 8, !tbaa !5
  %75 = load i64, ptr %45, align 8, !tbaa !5
  %76 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 48), align 16, !tbaa !5
  %factor.2 = shl i64 %72, 1
  %77 = add i64 %factor.2, %74
  %78 = add i64 %77, %75
  %79 = add i64 %78, %76
  store i64 %79, ptr %1, align 8, !tbaa !5
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %81 = load i64, ptr %80, align 8, !tbaa !5
  store i64 %81, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  %82 = icmp eq i64 %indvars.iv, 1
  br i1 %82, label %.preheader.2.thread, label %.preheader.1.thread

.preheader.2.thread:                              ; preds = %.loopexit
  %83 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 2
  %84 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 2
  %85 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 2, i64 %indvars.iv
  %86 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv, i64 2
  br label %132

.preheader.1.thread:                              ; preds = %48, %.loopexit
  %87 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 1
  %88 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 1
  %89 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 1, i64 %indvars.iv
  %90 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv, i64 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %91 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 0
  %92 = load i64, ptr %91, align 8, !tbaa !5
  %93 = load i64, ptr %87, align 8, !tbaa !5
  %94 = add nsw i64 %93, %92
  %95 = load i64, ptr %25, align 8, !tbaa !5
  %96 = add nsw i64 %94, %95
  store i64 %96, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %97 = load i64, ptr %88, align 8, !tbaa !5
  %98 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 0
  %99 = load i64, ptr %98, align 8, !tbaa !5
  %100 = load i64, ptr %89, align 8, !tbaa !5
  %101 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 8), align 8, !tbaa !5
  %factor.171 = shl i64 %97, 1
  %102 = add i64 %factor.171, %99
  %103 = add i64 %102, %100
  %104 = add i64 %103, %101
  store i64 %104, ptr %1, align 8, !tbaa !5
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %106 = load i64, ptr %105, align 8, !tbaa !5
  store i64 %106, ptr %90, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  %107 = icmp eq i64 %indvars.iv, 2
  br i1 %107, label %38, label %.preheader.2

.preheader.2:                                     ; preds = %.preheader.1.thread, %.thread79
  %108 = phi ptr [ %34, %.thread79 ], [ %87, %.preheader.1.thread ]
  %109 = phi ptr [ %35, %.thread79 ], [ %88, %.preheader.1.thread ]
  %110 = phi ptr [ %36, %.thread79 ], [ %89, %.preheader.1.thread ]
  %111 = phi ptr [ %37, %.thread79 ], [ %90, %.preheader.1.thread ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %112 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 2
  %113 = load i64, ptr %112, align 8, !tbaa !5
  %114 = load i64, ptr %108, align 8, !tbaa !5
  %115 = add nsw i64 %114, %113
  %116 = load i64, ptr %26, align 8, !tbaa !5
  %117 = add nsw i64 %115, %116
  store i64 %117, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %118 = load i64, ptr %109, align 8, !tbaa !5
  %119 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 2
  %120 = load i64, ptr %119, align 8, !tbaa !5
  %121 = load i64, ptr %110, align 8, !tbaa !5
  %122 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 56), align 8, !tbaa !5
  %factor.2.1 = shl i64 %118, 1
  %123 = add i64 %factor.2.1, %120
  %124 = add i64 %123, %121
  %125 = add i64 %124, %122
  store i64 %125, ptr %1, align 8, !tbaa !5
  %126 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %127 = load i64, ptr %126, align 8, !tbaa !5
  store i64 %127, ptr %111, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  %128 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 2
  %129 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 2
  %130 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 2, i64 %indvars.iv
  %131 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %indvars.iv75, i64 %indvars.iv, i64 2
  br i1 %33, label %153, label %132

132:                                              ; preds = %.preheader.2.thread, %.preheader.2
  %133 = phi ptr [ %86, %.preheader.2.thread ], [ %131, %.preheader.2 ]
  %134 = phi ptr [ %85, %.preheader.2.thread ], [ %130, %.preheader.2 ]
  %135 = phi ptr [ %84, %.preheader.2.thread ], [ %129, %.preheader.2 ]
  %136 = phi ptr [ %83, %.preheader.2.thread ], [ %128, %.preheader.2 ]
  %.ph81 = phi i1 [ true, %.preheader.2.thread ], [ false, %.preheader.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %137 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 0
  %138 = load i64, ptr %137, align 8, !tbaa !5
  %139 = load i64, ptr %136, align 8, !tbaa !5
  %140 = add nsw i64 %139, %138
  %141 = load i64, ptr %27, align 8, !tbaa !5
  %142 = add nsw i64 %140, %141
  store i64 %142, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %143 = load i64, ptr %135, align 8, !tbaa !5
  %144 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 0
  %145 = load i64, ptr %144, align 8, !tbaa !5
  %146 = load i64, ptr %134, align 8, !tbaa !5
  %147 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 16), align 16, !tbaa !5
  %factor.273 = shl i64 %143, 1
  %148 = add i64 %factor.273, %145
  %149 = add i64 %148, %146
  %150 = add i64 %149, %147
  store i64 %150, ptr %1, align 8, !tbaa !5
  %151 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %152 = load i64, ptr %151, align 8, !tbaa !5
  store i64 %152, ptr %133, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  br i1 %.ph81, label %.loopexit.2, label %153

153:                                              ; preds = %.preheader.2, %132
  %154 = phi ptr [ %136, %132 ], [ %128, %.preheader.2 ]
  %155 = phi ptr [ %135, %132 ], [ %129, %.preheader.2 ]
  %156 = phi ptr [ %134, %132 ], [ %130, %.preheader.2 ]
  %157 = phi ptr [ %133, %132 ], [ %131, %.preheader.2 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %0) #6
  %158 = getelementptr inbounds [50 x [3 x [3 x i64]]], ptr @dp, i64 0, i64 %22, i64 %indvars.iv, i64 1
  %159 = load i64, ptr %158, align 8, !tbaa !5
  %160 = load i64, ptr %154, align 8, !tbaa !5
  %161 = add nsw i64 %160, %159
  %162 = load i64, ptr %28, align 8, !tbaa !5
  %163 = add nsw i64 %161, %162
  store i64 %163, ptr %0, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #6
  %164 = load i64, ptr %155, align 8, !tbaa !5
  %165 = getelementptr inbounds [3 x [3 x i64]], ptr @t, i64 0, i64 %indvars.iv, i64 1
  %166 = load i64, ptr %165, align 8, !tbaa !5
  %167 = load i64, ptr %156, align 8, !tbaa !5
  %168 = load i64, ptr getelementptr inbounds (i8, ptr @t, i64 40), align 8, !tbaa !5
  %factor.1.2 = shl i64 %164, 1
  %169 = add i64 %factor.1.2, %166
  %170 = add i64 %169, %167
  %171 = add i64 %170, %168
  store i64 %171, ptr %1, align 8, !tbaa !5
  %172 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %173 = load i64, ptr %172, align 8, !tbaa !5
  store i64 %173, ptr %157, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %0) #6
  br label %.loopexit.2

.loopexit.2:                                      ; preds = %132, %153
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  br label %.preheader55
}

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

; 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 #0 align 2

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 = { 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 #3 = { 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 #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"long long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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