; LLVM IR from eyangch/competitive-programming :: USACOcontests/silver/2016.12 (citystate)

; 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_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"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::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::basic_ifstream", align 8
  %3 = alloca %"class.std::basic_ofstream", align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca [26 x [26 x [26 x [26 x i32]]]], align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr %3) #6
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %3, ptr noundef @.str.1, i32 noundef 16)
          to label %18 unwind label %36

18:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1827904, ptr %8) #6
  %19 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %20 unwind label %40

20:                                               ; preds = %18
  %21 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %8, i64 0, i64 0
  %22 = getelementptr inbounds [26 x [26 x [26 x i32]]], ptr %21, i64 0, i64 0
  %23 = getelementptr inbounds [26 x [26 x i32]], ptr %22, i64 0, i64 0
  %24 = getelementptr inbounds [26 x i32], ptr %23, i64 0, i64 0
  %25 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %8, i64 0, i64 25
  %26 = getelementptr inbounds [26 x [26 x [26 x i32]]], ptr %25, i64 0, i64 25
  %27 = getelementptr inbounds [26 x [26 x i32]], ptr %26, i64 0, i64 25
  %28 = getelementptr inbounds [26 x i32], ptr %27, i64 0, i64 0
  %29 = getelementptr inbounds i32, ptr %28, i64 26
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef %24, ptr noundef %29, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %30 unwind label %44

30:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %31

31:                                               ; preds = %83, %30
  %32 = load i32, ptr %10, align 4, !tbaa !5
  %33 = load i32, ptr %6, align 4, !tbaa !5
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %48, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %90

36:                                               ; preds = %0
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %4, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %5, align 4
  br label %173

40:                                               ; preds = %168, %164, %18
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %4, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %5, align 4
  br label %172

44:                                               ; preds = %20
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %4, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %172

48:                                               ; preds = %31
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  %49 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %50 unwind label %86

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %52 unwind label %86

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef 0)
          to label %54 unwind label %86

54:                                               ; preds = %52
  %55 = load i8, ptr %53, align 1, !tbaa !9
  %56 = sext i8 %55 to i32
  %57 = sub nsw i32 %56, 65
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %8, i64 0, i64 %58
  %60 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %11, i64 noundef 1)
          to label %61 unwind label %86

61:                                               ; preds = %54
  %62 = load i8, ptr %60, align 1, !tbaa !9
  %63 = sext i8 %62 to i32
  %64 = sub nsw i32 %63, 65
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds [26 x [26 x [26 x i32]]], ptr %59, i64 0, i64 %65
  %67 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 0)
          to label %68 unwind label %86

68:                                               ; preds = %61
  %69 = load i8, ptr %67, align 1, !tbaa !9
  %70 = sext i8 %69 to i32
  %71 = sub nsw i32 %70, 65
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [26 x [26 x i32]], ptr %66, i64 0, i64 %72
  %74 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %12, i64 noundef 1)
          to label %75 unwind label %86

75:                                               ; preds = %68
  %76 = load i8, ptr %74, align 1, !tbaa !9
  %77 = sext i8 %76 to i32
  %78 = sub nsw i32 %77, 65
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [26 x i32], ptr %73, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !5
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %80, align 4, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  br label %83

83:                                               ; preds = %75
  %84 = load i32, ptr %10, align 4, !tbaa !5
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %10, align 4, !tbaa !5
  br label %31, !llvm.loop !10

86:                                               ; preds = %68, %61, %54, %52, %50, %48
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %4, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %5, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %172

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

91:                                               ; preds = %161, %90
  %92 = load i32, ptr %13, align 4, !tbaa !5
  %93 = icmp slt i32 %92, 26
  br i1 %93, label %95, label %94

94:                                               ; preds = %91
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  br label %164

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

96:                                               ; preds = %157, %95
  %97 = load i32, ptr %15, align 4, !tbaa !5
  %98 = icmp slt i32 %97, 26
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  store i32 8, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %160

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

101:                                              ; preds = %153, %100
  %102 = load i32, ptr %16, align 4, !tbaa !5
  %103 = icmp slt i32 %102, 26
  br i1 %103, label %105, label %104

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

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

106:                                              ; preds = %149, %105
  %107 = load i32, ptr %17, align 4, !tbaa !5
  %108 = icmp slt i32 %107, 26
  br i1 %108, label %110, label %109

109:                                              ; preds = %106
  store i32 14, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %152

110:                                              ; preds = %106
  %111 = load i32, ptr %13, align 4, !tbaa !5
  %112 = load i32, ptr %16, align 4, !tbaa !5
  %113 = icmp ne i32 %111, %112
  br i1 %113, label %118, label %114

114:                                              ; preds = %110
  %115 = load i32, ptr %15, align 4, !tbaa !5
  %116 = load i32, ptr %17, align 4, !tbaa !5
  %117 = icmp ne i32 %115, %116
  br i1 %117, label %118, label %148

118:                                              ; preds = %114, %110
  %119 = load i32, ptr %13, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %8, i64 0, i64 %120
  %122 = load i32, ptr %15, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [26 x [26 x [26 x i32]]], ptr %121, i64 0, i64 %123
  %125 = load i32, ptr %16, align 4, !tbaa !5
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds [26 x [26 x i32]], ptr %124, i64 0, i64 %126
  %128 = load i32, ptr %17, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds [26 x i32], ptr %127, i64 0, i64 %129
  %131 = load i32, ptr %130, align 4, !tbaa !5
  %132 = load i32, ptr %16, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %8, i64 0, i64 %133
  %135 = load i32, ptr %17, align 4, !tbaa !5
  %136 = sext i32 %135 to i64
  %137 = getelementptr inbounds [26 x [26 x [26 x i32]]], ptr %134, i64 0, i64 %136
  %138 = load i32, ptr %13, align 4, !tbaa !5
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds [26 x [26 x i32]], ptr %137, i64 0, i64 %139
  %141 = load i32, ptr %15, align 4, !tbaa !5
  %142 = sext i32 %141 to i64
  %143 = getelementptr inbounds [26 x i32], ptr %140, i64 0, i64 %142
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = mul nsw i32 %131, %144
  %146 = load i32, ptr %7, align 4, !tbaa !5
  %147 = add nsw i32 %146, %145
  store i32 %147, ptr %7, align 4, !tbaa !5
  br label %148

148:                                              ; preds = %118, %114
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr %17, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %17, align 4, !tbaa !5
  br label %106, !llvm.loop !12

152:                                              ; preds = %109
  br label %153

153:                                              ; preds = %152
  %154 = load i32, ptr %16, align 4, !tbaa !5
  %155 = add nsw i32 %154, 1
  store i32 %155, ptr %16, align 4, !tbaa !5
  br label %101, !llvm.loop !13

156:                                              ; preds = %104
  br label %157

157:                                              ; preds = %156
  %158 = load i32, ptr %15, align 4, !tbaa !5
  %159 = add nsw i32 %158, 1
  store i32 %159, ptr %15, align 4, !tbaa !5
  br label %96, !llvm.loop !14

160:                                              ; preds = %99
  br label %161

161:                                              ; preds = %160
  %162 = load i32, ptr %13, align 4, !tbaa !5
  %163 = add nsw i32 %162, 1
  store i32 %163, ptr %13, align 4, !tbaa !5
  br label %91, !llvm.loop !15

164:                                              ; preds = %94
  %165 = load i32, ptr %7, align 4, !tbaa !5
  %166 = sdiv i32 %165, 2
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef %166)
          to label %168 unwind label %40

168:                                              ; preds = %164
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %170 unwind label %40

170:                                              ; preds = %168
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1827904, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #6
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #6
  %171 = load i32, ptr %1, align 4
  ret i32 %171

172:                                              ; preds = %86, %44, %40
  call void @llvm.lifetime.end.p0(i64 1827904, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #6
  br label %173

173:                                              ; preds = %172, %36
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #6
  br label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %4, align 8
  %176 = load i32, ptr %5, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #5 align 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}
!15 = distinct !{!15, !11}


; 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_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"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::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.0 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.0 = type { i64, [8 x i8] }

@.str = external hidden unnamed_addr constant [13 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::basic_ofstream", align 8
  %3 = alloca i32, align 4
  %4 = alloca [26 x [26 x [26 x [26 x i32]]]], align 16
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %1) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #6
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %2, ptr noundef nonnull @.str.1, i32 noundef 16)
          to label %8 unwind label %15

8:                                                ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1827904, ptr nonnull %4) #6
  %9 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %10 unwind label %17

10:                                               ; preds = %8
  %11 = getelementptr inbounds i8, ptr %4, i64 1827904
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  invoke void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull %4, ptr noundef nonnull %11, ptr noundef nonnull align 4 dereferenceable(4) %5)
          to label %12 unwind label %19

12:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  %13 = load i32, ptr %3, align 4, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph, label %.preheader39.preheader

.preheader39.preheader:                           ; preds = %24, %12
  br label %.preheader39

15:                                               ; preds = %0
  %16 = landingpad { ptr, i32 }
          cleanup
  br label %364

17:                                               ; preds = %360, %49, %8
  %18 = landingpad { ptr, i32 }
          cleanup
  br label %363

19:                                               ; preds = %10
  %20 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %363

.lr.ph:                                           ; preds = %12, %24
  %.02941 = phi i32 [ %44, %24 ], [ 0, %12 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  %21 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %22 unwind label %47

22:                                               ; preds = %.lr.ph
  %23 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %24 unwind label %47

24:                                               ; preds = %22
  %25 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 0)
  %26 = load i8, ptr %25, align 1, !tbaa !9
  %27 = sext i8 %26 to i64
  %28 = add nsw i64 %27, -65
  %29 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %6, i64 noundef 1)
  %30 = load i8, ptr %29, align 1, !tbaa !9
  %31 = sext i8 %30 to i64
  %32 = add nsw i64 %31, -65
  %33 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 0)
  %34 = load i8, ptr %33, align 1, !tbaa !9
  %35 = sext i8 %34 to i64
  %36 = add nsw i64 %35, -65
  %37 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 1)
  %38 = load i8, ptr %37, align 1, !tbaa !9
  %39 = sext i8 %38 to i64
  %40 = add nsw i64 %39, -65
  %41 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %28, i64 %32, i64 %36, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %41, align 4, !tbaa !5
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  %44 = add nuw nsw i32 %.02941, 1
  %45 = load i32, ptr %3, align 4, !tbaa !5
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %.lr.ph, label %.preheader39.preheader, !llvm.loop !10

47:                                               ; preds = %22, %.lr.ph
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #6
  br label %363

.preheader39:                                     ; preds = %.preheader39.preheader, %52
  %indvars.iv58 = phi i64 [ %indvars.iv.next59, %52 ], [ 0, %.preheader39.preheader ]
  %.03048 = phi i32 [ %.us-phi, %52 ], [ 0, %.preheader39.preheader ]
  br label %.preheader38

49:                                               ; preds = %52
  %50 = sdiv i32 %.us-phi, 2
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef %50)
          to label %360 unwind label %17

.preheader38:                                     ; preds = %.preheader39, %203
  %indvars.iv54 = phi i64 [ 0, %.preheader39 ], [ %indvars.iv.next55, %203 ]
  %.146 = phi i32 [ %.03048, %.preheader39 ], [ %.us-phi, %203 ]
  %.not35 = icmp eq i64 %indvars.iv54, 0
  %.not35.1 = icmp eq i64 %indvars.iv54, 1
  %.not35.2 = icmp eq i64 %indvars.iv54, 2
  %.not35.3 = icmp eq i64 %indvars.iv54, 3
  %.not35.4 = icmp eq i64 %indvars.iv54, 4
  %.not35.5 = icmp eq i64 %indvars.iv54, 5
  %.not35.6 = icmp eq i64 %indvars.iv54, 6
  %.not35.7 = icmp eq i64 %indvars.iv54, 7
  %.not35.8 = icmp eq i64 %indvars.iv54, 8
  %.not35.9 = icmp eq i64 %indvars.iv54, 9
  %.not35.10 = icmp eq i64 %indvars.iv54, 10
  %.not35.11 = icmp eq i64 %indvars.iv54, 11
  %.not35.12 = icmp eq i64 %indvars.iv54, 12
  %.not35.13 = icmp eq i64 %indvars.iv54, 13
  %.not35.14 = icmp eq i64 %indvars.iv54, 14
  %.not35.15 = icmp eq i64 %indvars.iv54, 15
  %.not35.16 = icmp eq i64 %indvars.iv54, 16
  %.not35.17 = icmp eq i64 %indvars.iv54, 17
  %.not35.18 = icmp eq i64 %indvars.iv54, 18
  %.not35.19 = icmp eq i64 %indvars.iv54, 19
  %.not35.20 = icmp eq i64 %indvars.iv54, 20
  %.not35.21 = icmp eq i64 %indvars.iv54, 21
  %.not35.22 = icmp eq i64 %indvars.iv54, 22
  %.not35.23 = icmp eq i64 %indvars.iv54, 23
  %.not35.24 = icmp eq i64 %indvars.iv54, 24
  %.not35.25 = icmp eq i64 %indvars.iv54, 25
  br label %.preheader

52:                                               ; preds = %203
  %indvars.iv.next59 = add nuw nsw i64 %indvars.iv58, 1
  %exitcond61.not = icmp eq i64 %indvars.iv.next59, 26
  br i1 %exitcond61.not, label %49, label %.preheader39, !llvm.loop !12

.preheader:                                       ; preds = %.preheader38, %.split.us
  %indvars.iv = phi i64 [ 0, %.preheader38 ], [ %indvars.iv.next, %.split.us ]
  %.244 = phi i32 [ %.146, %.preheader38 ], [ %.us-phi, %.split.us ]
  %.not = icmp eq i64 %indvars.iv58, %indvars.iv
  %.not.fr = freeze i1 %.not
  br i1 %.not.fr, label %.preheader.split.preheader, label %.preheader.split.us.preheader

.preheader.split.us.preheader:                    ; preds = %.preheader
  %53 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 0
  %54 = load i32, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 0, i64 %indvars.iv58, i64 %indvars.iv54
  %56 = load i32, ptr %55, align 4, !tbaa !5
  %57 = mul nsw i32 %56, %54
  %58 = add nsw i32 %57, %.244
  %59 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 1
  %60 = load i32, ptr %59, align 4, !tbaa !5
  %61 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 1, i64 %indvars.iv58, i64 %indvars.iv54
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = mul nsw i32 %62, %60
  %64 = add nsw i32 %63, %58
  %65 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 2
  %66 = load i32, ptr %65, align 8, !tbaa !5
  %67 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 2, i64 %indvars.iv58, i64 %indvars.iv54
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = mul nsw i32 %68, %66
  %70 = add nsw i32 %69, %64
  %71 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 3
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 3, i64 %indvars.iv58, i64 %indvars.iv54
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = mul nsw i32 %74, %72
  %76 = add nsw i32 %75, %70
  %77 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 4
  %78 = load i32, ptr %77, align 8, !tbaa !5
  %79 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 4, i64 %indvars.iv58, i64 %indvars.iv54
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = mul nsw i32 %80, %78
  %82 = add nsw i32 %81, %76
  %83 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 5
  %84 = load i32, ptr %83, align 4, !tbaa !5
  %85 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 5, i64 %indvars.iv58, i64 %indvars.iv54
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = mul nsw i32 %86, %84
  %88 = add nsw i32 %87, %82
  %89 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 6
  %90 = load i32, ptr %89, align 8, !tbaa !5
  %91 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 6, i64 %indvars.iv58, i64 %indvars.iv54
  %92 = load i32, ptr %91, align 4, !tbaa !5
  %93 = mul nsw i32 %92, %90
  %94 = add nsw i32 %93, %88
  %95 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 7
  %96 = load i32, ptr %95, align 4, !tbaa !5
  %97 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 7, i64 %indvars.iv58, i64 %indvars.iv54
  %98 = load i32, ptr %97, align 4, !tbaa !5
  %99 = mul nsw i32 %98, %96
  %100 = add nsw i32 %99, %94
  %101 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 8
  %102 = load i32, ptr %101, align 8, !tbaa !5
  %103 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 8, i64 %indvars.iv58, i64 %indvars.iv54
  %104 = load i32, ptr %103, align 4, !tbaa !5
  %105 = mul nsw i32 %104, %102
  %106 = add nsw i32 %105, %100
  %107 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 9
  %108 = load i32, ptr %107, align 4, !tbaa !5
  %109 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 9, i64 %indvars.iv58, i64 %indvars.iv54
  %110 = load i32, ptr %109, align 4, !tbaa !5
  %111 = mul nsw i32 %110, %108
  %112 = add nsw i32 %111, %106
  %113 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 10
  %114 = load i32, ptr %113, align 8, !tbaa !5
  %115 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 10, i64 %indvars.iv58, i64 %indvars.iv54
  %116 = load i32, ptr %115, align 4, !tbaa !5
  %117 = mul nsw i32 %116, %114
  %118 = add nsw i32 %117, %112
  %119 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 11
  %120 = load i32, ptr %119, align 4, !tbaa !5
  %121 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 11, i64 %indvars.iv58, i64 %indvars.iv54
  %122 = load i32, ptr %121, align 4, !tbaa !5
  %123 = mul nsw i32 %122, %120
  %124 = add nsw i32 %123, %118
  %125 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 12
  %126 = load i32, ptr %125, align 8, !tbaa !5
  %127 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 12, i64 %indvars.iv58, i64 %indvars.iv54
  %128 = load i32, ptr %127, align 4, !tbaa !5
  %129 = mul nsw i32 %128, %126
  %130 = add nsw i32 %129, %124
  %131 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 13
  %132 = load i32, ptr %131, align 4, !tbaa !5
  %133 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 13, i64 %indvars.iv58, i64 %indvars.iv54
  %134 = load i32, ptr %133, align 4, !tbaa !5
  %135 = mul nsw i32 %134, %132
  %136 = add nsw i32 %135, %130
  %137 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 14
  %138 = load i32, ptr %137, align 8, !tbaa !5
  %139 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 14, i64 %indvars.iv58, i64 %indvars.iv54
  %140 = load i32, ptr %139, align 4, !tbaa !5
  %141 = mul nsw i32 %140, %138
  %142 = add nsw i32 %141, %136
  %143 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 15
  %144 = load i32, ptr %143, align 4, !tbaa !5
  %145 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 15, i64 %indvars.iv58, i64 %indvars.iv54
  %146 = load i32, ptr %145, align 4, !tbaa !5
  %147 = mul nsw i32 %146, %144
  %148 = add nsw i32 %147, %142
  %149 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 16
  %150 = load i32, ptr %149, align 8, !tbaa !5
  %151 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 16, i64 %indvars.iv58, i64 %indvars.iv54
  %152 = load i32, ptr %151, align 4, !tbaa !5
  %153 = mul nsw i32 %152, %150
  %154 = add nsw i32 %153, %148
  %155 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 17
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 17, i64 %indvars.iv58, i64 %indvars.iv54
  %158 = load i32, ptr %157, align 4, !tbaa !5
  %159 = mul nsw i32 %158, %156
  %160 = add nsw i32 %159, %154
  %161 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 18
  %162 = load i32, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 18, i64 %indvars.iv58, i64 %indvars.iv54
  %164 = load i32, ptr %163, align 4, !tbaa !5
  %165 = mul nsw i32 %164, %162
  %166 = add nsw i32 %165, %160
  %167 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 19
  %168 = load i32, ptr %167, align 4, !tbaa !5
  %169 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 19, i64 %indvars.iv58, i64 %indvars.iv54
  %170 = load i32, ptr %169, align 4, !tbaa !5
  %171 = mul nsw i32 %170, %168
  %172 = add nsw i32 %171, %166
  %173 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 20
  %174 = load i32, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 20, i64 %indvars.iv58, i64 %indvars.iv54
  %176 = load i32, ptr %175, align 4, !tbaa !5
  %177 = mul nsw i32 %176, %174
  %178 = add nsw i32 %177, %172
  %179 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 21
  %180 = load i32, ptr %179, align 4, !tbaa !5
  %181 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 21, i64 %indvars.iv58, i64 %indvars.iv54
  %182 = load i32, ptr %181, align 4, !tbaa !5
  %183 = mul nsw i32 %182, %180
  %184 = add nsw i32 %183, %178
  %185 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 22
  %186 = load i32, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 22, i64 %indvars.iv58, i64 %indvars.iv54
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = mul nsw i32 %188, %186
  %190 = add nsw i32 %189, %184
  %191 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 23
  %192 = load i32, ptr %191, align 4, !tbaa !5
  %193 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 23, i64 %indvars.iv58, i64 %indvars.iv54
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = mul nsw i32 %194, %192
  %196 = add nsw i32 %195, %190
  %197 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 24
  %198 = load i32, ptr %197, align 8, !tbaa !5
  %199 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 24, i64 %indvars.iv58, i64 %indvars.iv54
  %200 = load i32, ptr %199, align 4, !tbaa !5
  %201 = mul nsw i32 %200, %198
  %202 = add nsw i32 %201, %196
  br label %.split.us.sink.split

.preheader.split.preheader:                       ; preds = %.preheader
  br i1 %.not35, label %.preheader.split.2, label %.preheader.split.1

203:                                              ; preds = %.split.us
  %indvars.iv.next55 = add nuw nsw i64 %indvars.iv54, 1
  %exitcond57.not = icmp eq i64 %indvars.iv.next55, 26
  br i1 %exitcond57.not, label %52, label %.preheader38, !llvm.loop !13

.split.us.sink.split:                             ; preds = %.preheader.split.25, %.preheader.split.24, %.preheader.split.us.preheader
  %.4.24136.sink = phi i32 [ %202, %.preheader.split.us.preheader ], [ %359, %.preheader.split.25 ], [ %353, %.preheader.split.24 ]
  %204 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 25
  %205 = load i32, ptr %204, align 4, !tbaa !5
  %206 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 25, i64 %indvars.iv58, i64 %indvars.iv54
  %207 = load i32, ptr %206, align 4, !tbaa !5
  %208 = mul nsw i32 %207, %205
  %209 = add nsw i32 %208, %.4.24136.sink
  br label %.split.us

.split.us:                                        ; preds = %.split.us.sink.split, %.preheader.split.25
  %.us-phi = phi i32 [ %359, %.preheader.split.25 ], [ %209, %.split.us.sink.split ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 26
  br i1 %exitcond.not, label %203, label %.preheader, !llvm.loop !14

.preheader.split.1:                               ; preds = %.preheader.split.preheader
  %210 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 0
  %211 = load i32, ptr %210, align 8, !tbaa !5
  %212 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 0, i64 %indvars.iv58, i64 %indvars.iv54
  %213 = load i32, ptr %212, align 4, !tbaa !5
  %214 = mul nsw i32 %213, %211
  %215 = add nsw i32 %214, %.244
  br i1 %.not35.1, label %.preheader.split.3, label %.preheader.split.2

.preheader.split.2:                               ; preds = %.preheader.split.preheader, %.preheader.split.1
  %.464 = phi i32 [ %215, %.preheader.split.1 ], [ %.244, %.preheader.split.preheader ]
  %216 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 1
  %217 = load i32, ptr %216, align 4, !tbaa !5
  %218 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 1, i64 %indvars.iv58, i64 %indvars.iv54
  %219 = load i32, ptr %218, align 4, !tbaa !5
  %220 = mul nsw i32 %219, %217
  %221 = add nsw i32 %220, %.464
  br i1 %.not35.2, label %.preheader.split.4, label %.preheader.split.3

.preheader.split.3:                               ; preds = %.preheader.split.1, %.preheader.split.2
  %.4.167 = phi i32 [ %221, %.preheader.split.2 ], [ %215, %.preheader.split.1 ]
  %222 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 2
  %223 = load i32, ptr %222, align 8, !tbaa !5
  %224 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 2, i64 %indvars.iv58, i64 %indvars.iv54
  %225 = load i32, ptr %224, align 4, !tbaa !5
  %226 = mul nsw i32 %225, %223
  %227 = add nsw i32 %226, %.4.167
  br i1 %.not35.3, label %.preheader.split.5, label %.preheader.split.4

.preheader.split.4:                               ; preds = %.preheader.split.2, %.preheader.split.3
  %.4.270 = phi i32 [ %227, %.preheader.split.3 ], [ %221, %.preheader.split.2 ]
  %228 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 3
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 3, i64 %indvars.iv58, i64 %indvars.iv54
  %231 = load i32, ptr %230, align 4, !tbaa !5
  %232 = mul nsw i32 %231, %229
  %233 = add nsw i32 %232, %.4.270
  br i1 %.not35.4, label %.preheader.split.6, label %.preheader.split.5

.preheader.split.5:                               ; preds = %.preheader.split.3, %.preheader.split.4
  %.4.373 = phi i32 [ %233, %.preheader.split.4 ], [ %227, %.preheader.split.3 ]
  %234 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 4
  %235 = load i32, ptr %234, align 8, !tbaa !5
  %236 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 4, i64 %indvars.iv58, i64 %indvars.iv54
  %237 = load i32, ptr %236, align 4, !tbaa !5
  %238 = mul nsw i32 %237, %235
  %239 = add nsw i32 %238, %.4.373
  br i1 %.not35.5, label %.preheader.split.7, label %.preheader.split.6

.preheader.split.6:                               ; preds = %.preheader.split.4, %.preheader.split.5
  %.4.476 = phi i32 [ %239, %.preheader.split.5 ], [ %233, %.preheader.split.4 ]
  %240 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 5
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 5, i64 %indvars.iv58, i64 %indvars.iv54
  %243 = load i32, ptr %242, align 4, !tbaa !5
  %244 = mul nsw i32 %243, %241
  %245 = add nsw i32 %244, %.4.476
  br i1 %.not35.6, label %.preheader.split.8, label %.preheader.split.7

.preheader.split.7:                               ; preds = %.preheader.split.5, %.preheader.split.6
  %.4.579 = phi i32 [ %245, %.preheader.split.6 ], [ %239, %.preheader.split.5 ]
  %246 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 6
  %247 = load i32, ptr %246, align 8, !tbaa !5
  %248 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 6, i64 %indvars.iv58, i64 %indvars.iv54
  %249 = load i32, ptr %248, align 4, !tbaa !5
  %250 = mul nsw i32 %249, %247
  %251 = add nsw i32 %250, %.4.579
  br i1 %.not35.7, label %.preheader.split.9, label %.preheader.split.8

.preheader.split.8:                               ; preds = %.preheader.split.6, %.preheader.split.7
  %.4.682 = phi i32 [ %251, %.preheader.split.7 ], [ %245, %.preheader.split.6 ]
  %252 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 7
  %253 = load i32, ptr %252, align 4, !tbaa !5
  %254 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 7, i64 %indvars.iv58, i64 %indvars.iv54
  %255 = load i32, ptr %254, align 4, !tbaa !5
  %256 = mul nsw i32 %255, %253
  %257 = add nsw i32 %256, %.4.682
  br i1 %.not35.8, label %.preheader.split.10, label %.preheader.split.9

.preheader.split.9:                               ; preds = %.preheader.split.7, %.preheader.split.8
  %.4.785 = phi i32 [ %257, %.preheader.split.8 ], [ %251, %.preheader.split.7 ]
  %258 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 8
  %259 = load i32, ptr %258, align 8, !tbaa !5
  %260 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 8, i64 %indvars.iv58, i64 %indvars.iv54
  %261 = load i32, ptr %260, align 4, !tbaa !5
  %262 = mul nsw i32 %261, %259
  %263 = add nsw i32 %262, %.4.785
  br i1 %.not35.9, label %.preheader.split.11, label %.preheader.split.10

.preheader.split.10:                              ; preds = %.preheader.split.8, %.preheader.split.9
  %.4.888 = phi i32 [ %263, %.preheader.split.9 ], [ %257, %.preheader.split.8 ]
  %264 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 9
  %265 = load i32, ptr %264, align 4, !tbaa !5
  %266 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 9, i64 %indvars.iv58, i64 %indvars.iv54
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = mul nsw i32 %267, %265
  %269 = add nsw i32 %268, %.4.888
  br i1 %.not35.10, label %.preheader.split.12, label %.preheader.split.11

.preheader.split.11:                              ; preds = %.preheader.split.9, %.preheader.split.10
  %.4.991 = phi i32 [ %269, %.preheader.split.10 ], [ %263, %.preheader.split.9 ]
  %270 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 10
  %271 = load i32, ptr %270, align 8, !tbaa !5
  %272 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 10, i64 %indvars.iv58, i64 %indvars.iv54
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = mul nsw i32 %273, %271
  %275 = add nsw i32 %274, %.4.991
  br i1 %.not35.11, label %.preheader.split.13, label %.preheader.split.12

.preheader.split.12:                              ; preds = %.preheader.split.10, %.preheader.split.11
  %.4.1094 = phi i32 [ %275, %.preheader.split.11 ], [ %269, %.preheader.split.10 ]
  %276 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 11
  %277 = load i32, ptr %276, align 4, !tbaa !5
  %278 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 11, i64 %indvars.iv58, i64 %indvars.iv54
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = mul nsw i32 %279, %277
  %281 = add nsw i32 %280, %.4.1094
  br i1 %.not35.12, label %.preheader.split.14, label %.preheader.split.13

.preheader.split.13:                              ; preds = %.preheader.split.11, %.preheader.split.12
  %.4.1197 = phi i32 [ %281, %.preheader.split.12 ], [ %275, %.preheader.split.11 ]
  %282 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 12
  %283 = load i32, ptr %282, align 8, !tbaa !5
  %284 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 12, i64 %indvars.iv58, i64 %indvars.iv54
  %285 = load i32, ptr %284, align 4, !tbaa !5
  %286 = mul nsw i32 %285, %283
  %287 = add nsw i32 %286, %.4.1197
  br i1 %.not35.13, label %.preheader.split.15, label %.preheader.split.14

.preheader.split.14:                              ; preds = %.preheader.split.12, %.preheader.split.13
  %.4.12100 = phi i32 [ %287, %.preheader.split.13 ], [ %281, %.preheader.split.12 ]
  %288 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 13
  %289 = load i32, ptr %288, align 4, !tbaa !5
  %290 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 13, i64 %indvars.iv58, i64 %indvars.iv54
  %291 = load i32, ptr %290, align 4, !tbaa !5
  %292 = mul nsw i32 %291, %289
  %293 = add nsw i32 %292, %.4.12100
  br i1 %.not35.14, label %.preheader.split.16, label %.preheader.split.15

.preheader.split.15:                              ; preds = %.preheader.split.13, %.preheader.split.14
  %.4.13103 = phi i32 [ %293, %.preheader.split.14 ], [ %287, %.preheader.split.13 ]
  %294 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 14
  %295 = load i32, ptr %294, align 8, !tbaa !5
  %296 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 14, i64 %indvars.iv58, i64 %indvars.iv54
  %297 = load i32, ptr %296, align 4, !tbaa !5
  %298 = mul nsw i32 %297, %295
  %299 = add nsw i32 %298, %.4.13103
  br i1 %.not35.15, label %.preheader.split.17, label %.preheader.split.16

.preheader.split.16:                              ; preds = %.preheader.split.14, %.preheader.split.15
  %.4.14106 = phi i32 [ %299, %.preheader.split.15 ], [ %293, %.preheader.split.14 ]
  %300 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 15
  %301 = load i32, ptr %300, align 4, !tbaa !5
  %302 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 15, i64 %indvars.iv58, i64 %indvars.iv54
  %303 = load i32, ptr %302, align 4, !tbaa !5
  %304 = mul nsw i32 %303, %301
  %305 = add nsw i32 %304, %.4.14106
  br i1 %.not35.16, label %.preheader.split.18, label %.preheader.split.17

.preheader.split.17:                              ; preds = %.preheader.split.15, %.preheader.split.16
  %.4.15109 = phi i32 [ %305, %.preheader.split.16 ], [ %299, %.preheader.split.15 ]
  %306 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 16
  %307 = load i32, ptr %306, align 8, !tbaa !5
  %308 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 16, i64 %indvars.iv58, i64 %indvars.iv54
  %309 = load i32, ptr %308, align 4, !tbaa !5
  %310 = mul nsw i32 %309, %307
  %311 = add nsw i32 %310, %.4.15109
  br i1 %.not35.17, label %.preheader.split.19, label %.preheader.split.18

.preheader.split.18:                              ; preds = %.preheader.split.16, %.preheader.split.17
  %.4.16112 = phi i32 [ %311, %.preheader.split.17 ], [ %305, %.preheader.split.16 ]
  %312 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 17
  %313 = load i32, ptr %312, align 4, !tbaa !5
  %314 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 17, i64 %indvars.iv58, i64 %indvars.iv54
  %315 = load i32, ptr %314, align 4, !tbaa !5
  %316 = mul nsw i32 %315, %313
  %317 = add nsw i32 %316, %.4.16112
  br i1 %.not35.18, label %.preheader.split.20, label %.preheader.split.19

.preheader.split.19:                              ; preds = %.preheader.split.17, %.preheader.split.18
  %.4.17115 = phi i32 [ %317, %.preheader.split.18 ], [ %311, %.preheader.split.17 ]
  %318 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 18
  %319 = load i32, ptr %318, align 8, !tbaa !5
  %320 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 18, i64 %indvars.iv58, i64 %indvars.iv54
  %321 = load i32, ptr %320, align 4, !tbaa !5
  %322 = mul nsw i32 %321, %319
  %323 = add nsw i32 %322, %.4.17115
  br i1 %.not35.19, label %.preheader.split.21, label %.preheader.split.20

.preheader.split.20:                              ; preds = %.preheader.split.18, %.preheader.split.19
  %.4.18118 = phi i32 [ %323, %.preheader.split.19 ], [ %317, %.preheader.split.18 ]
  %324 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 19
  %325 = load i32, ptr %324, align 4, !tbaa !5
  %326 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 19, i64 %indvars.iv58, i64 %indvars.iv54
  %327 = load i32, ptr %326, align 4, !tbaa !5
  %328 = mul nsw i32 %327, %325
  %329 = add nsw i32 %328, %.4.18118
  br i1 %.not35.20, label %.preheader.split.22, label %.preheader.split.21

.preheader.split.21:                              ; preds = %.preheader.split.19, %.preheader.split.20
  %.4.19121 = phi i32 [ %329, %.preheader.split.20 ], [ %323, %.preheader.split.19 ]
  %330 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 20
  %331 = load i32, ptr %330, align 8, !tbaa !5
  %332 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 20, i64 %indvars.iv58, i64 %indvars.iv54
  %333 = load i32, ptr %332, align 4, !tbaa !5
  %334 = mul nsw i32 %333, %331
  %335 = add nsw i32 %334, %.4.19121
  br i1 %.not35.21, label %.preheader.split.23, label %.preheader.split.22

.preheader.split.22:                              ; preds = %.preheader.split.20, %.preheader.split.21
  %.4.20124 = phi i32 [ %335, %.preheader.split.21 ], [ %329, %.preheader.split.20 ]
  %336 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 21
  %337 = load i32, ptr %336, align 4, !tbaa !5
  %338 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 21, i64 %indvars.iv58, i64 %indvars.iv54
  %339 = load i32, ptr %338, align 4, !tbaa !5
  %340 = mul nsw i32 %339, %337
  %341 = add nsw i32 %340, %.4.20124
  br i1 %.not35.22, label %.preheader.split.24, label %.preheader.split.23

.preheader.split.23:                              ; preds = %.preheader.split.21, %.preheader.split.22
  %.4.21127 = phi i32 [ %341, %.preheader.split.22 ], [ %335, %.preheader.split.21 ]
  %342 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 22
  %343 = load i32, ptr %342, align 8, !tbaa !5
  %344 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 22, i64 %indvars.iv58, i64 %indvars.iv54
  %345 = load i32, ptr %344, align 4, !tbaa !5
  %346 = mul nsw i32 %345, %343
  %347 = add nsw i32 %346, %.4.21127
  br i1 %.not35.23, label %.preheader.split.25, label %.preheader.split.24

.preheader.split.24:                              ; preds = %.preheader.split.22, %.preheader.split.23
  %.4.22130 = phi i32 [ %347, %.preheader.split.23 ], [ %341, %.preheader.split.22 ]
  %348 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 23
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 23, i64 %indvars.iv58, i64 %indvars.iv54
  %351 = load i32, ptr %350, align 4, !tbaa !5
  %352 = mul nsw i32 %351, %349
  %353 = add nsw i32 %352, %.4.22130
  br i1 %.not35.24, label %.split.us.sink.split, label %.preheader.split.25

.preheader.split.25:                              ; preds = %.preheader.split.23, %.preheader.split.24
  %.4.23133 = phi i32 [ %353, %.preheader.split.24 ], [ %347, %.preheader.split.23 ]
  %354 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv58, i64 %indvars.iv54, i64 %indvars.iv, i64 24
  %355 = load i32, ptr %354, align 8, !tbaa !5
  %356 = getelementptr inbounds [26 x [26 x [26 x [26 x i32]]]], ptr %4, i64 0, i64 %indvars.iv, i64 24, i64 %indvars.iv58, i64 %indvars.iv54
  %357 = load i32, ptr %356, align 4, !tbaa !5
  %358 = mul nsw i32 %357, %355
  %359 = add nsw i32 %358, %.4.23133
  br i1 %.not35.25, label %.split.us, label %.split.us.sink.split

360:                                              ; preds = %49
  %361 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %362 unwind label %17

362:                                              ; preds = %360
  call void @llvm.lifetime.end.p0(i64 1827904, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #6
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #6
  ret i32 0

363:                                              ; preds = %47, %19, %17
  %.pn = phi { ptr, i32 } [ %48, %47 ], [ %18, %17 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 1827904, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #6
  br label %364

364:                                              ; preds = %363, %15
  %.pn.pn = phi { ptr, i32 } [ %.pn, %363 ], [ %16, %15 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #6
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #6
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; 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 nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #5 align 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!7, !7, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !11}


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