; LLVM IR from eyangch/competitive-programming :: USACOcontests/gold/2019.12 (cowmbat)

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

@dp = external dso_local global [100000 x [26 x i64]], align 16
@mdp = external dso_local global [100000 x i64], align 16
@sum = external dso_local global [26 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca i64, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca i64, align 8
  %20 = alloca i64, align 8
  %21 = alloca i64, align 8
  %22 = alloca double, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i64, align 8
  store i32 0, ptr %1, align 4
  %28 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %29 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %30 = getelementptr i8, ptr %29, i64 -24
  %31 = load i64, ptr %30, align 8
  %32 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %31
  %33 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %32, ptr noundef null)
  %34 = load ptr, ptr @stdin, align 8, !tbaa !8
  %35 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, ptr noundef %34)
  %36 = load ptr, ptr @stdout, align 8, !tbaa !8
  %37 = call ptr @freopen(ptr noundef @.str.2, ptr noundef @.str.3, ptr noundef %36)
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #8
  %38 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %39 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(8) %3)
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(8) %4)
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  %41 = 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) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %42 unwind label %51

42:                                               ; preds = %0
  %43 = load i64, ptr %2, align 8, !tbaa !11
  %44 = call ptr @llvm.stacksave.p0()
  store ptr %44, ptr %8, align 8
  %45 = alloca i64, i64 %43, align 16
  store i64 %43, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  store i64 0, ptr %10, align 8, !tbaa !11
  br label %46

46:                                               ; preds = %65, %42
  %47 = load i64, ptr %10, align 8, !tbaa !11
  %48 = load i64, ptr %2, align 8, !tbaa !11
  %49 = icmp slt i64 %47, %48
  br i1 %49, label %55, label %50

50:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %72

51:                                               ; preds = %349, %343, %0
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %6, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %7, align 4
  br label %354

55:                                               ; preds = %46
  %56 = load i64, ptr %10, align 8, !tbaa !11
  %57 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %5, i64 noundef %56)
          to label %58 unwind label %68

58:                                               ; preds = %55
  %59 = load i8, ptr %57, align 1, !tbaa !13
  %60 = sext i8 %59 to i32
  %61 = sub nsw i32 %60, 97
  %62 = sext i32 %61 to i64
  %63 = load i64, ptr %10, align 8, !tbaa !11
  %64 = getelementptr inbounds i64, ptr %45, i64 %63
  store i64 %62, ptr %64, align 8, !tbaa !11
  br label %65

65:                                               ; preds = %58
  %66 = load i64, ptr %10, align 8, !tbaa !11
  %67 = add nsw i64 %66, 1
  store i64 %67, ptr %10, align 8, !tbaa !11
  br label %46, !llvm.loop !14

68:                                               ; preds = %55
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %6, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %354

72:                                               ; preds = %50
  %73 = load i64, ptr %3, align 8, !tbaa !11
  %74 = load i64, ptr %3, align 8, !tbaa !11
  %75 = mul nuw i64 %73, %74
  %76 = alloca i64, i64 %75, align 16
  store i64 %73, ptr %11, align 8
  store i64 %74, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  store i64 0, ptr %13, align 8, !tbaa !11
  br label %77

77:                                               ; preds = %104, %72
  %78 = load i64, ptr %13, align 8, !tbaa !11
  %79 = load i64, ptr %3, align 8, !tbaa !11
  %80 = icmp slt i64 %78, %79
  br i1 %80, label %82, label %81

81:                                               ; preds = %77
  store i32 5, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %107

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

83:                                               ; preds = %96, %82
  %84 = load i64, ptr %15, align 8, !tbaa !11
  %85 = load i64, ptr %3, align 8, !tbaa !11
  %86 = icmp slt i64 %84, %85
  br i1 %86, label %88, label %87

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

88:                                               ; preds = %83
  %89 = load i64, ptr %13, align 8, !tbaa !11
  %90 = mul nsw i64 %89, %74
  %91 = getelementptr inbounds i64, ptr %76, i64 %90
  %92 = load i64, ptr %15, align 8, !tbaa !11
  %93 = getelementptr inbounds i64, ptr %91, i64 %92
  %94 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %93)
          to label %95 unwind label %99

95:                                               ; preds = %88
  br label %96

96:                                               ; preds = %95
  %97 = load i64, ptr %15, align 8, !tbaa !11
  %98 = add nsw i64 %97, 1
  store i64 %98, ptr %15, align 8, !tbaa !11
  br label %83, !llvm.loop !16

99:                                               ; preds = %88
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %6, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %354

103:                                              ; preds = %87
  br label %104

104:                                              ; preds = %103
  %105 = load i64, ptr %13, align 8, !tbaa !11
  %106 = add nsw i64 %105, 1
  store i64 %106, ptr %13, align 8, !tbaa !11
  br label %77, !llvm.loop !17

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

108:                                              ; preds = %164, %107
  %109 = load i64, ptr %16, align 8, !tbaa !11
  %110 = load i64, ptr %3, align 8, !tbaa !11
  %111 = icmp slt i64 %109, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %108
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %167

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

114:                                              ; preds = %160, %113
  %115 = load i64, ptr %17, align 8, !tbaa !11
  %116 = load i64, ptr %3, align 8, !tbaa !11
  %117 = icmp slt i64 %115, %116
  br i1 %117, label %119, label %118

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

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

120:                                              ; preds = %152, %119
  %121 = load i64, ptr %18, align 8, !tbaa !11
  %122 = load i64, ptr %3, align 8, !tbaa !11
  %123 = icmp slt i64 %121, %122
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 17, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %159

125:                                              ; preds = %120
  %126 = load i64, ptr %17, align 8, !tbaa !11
  %127 = mul nsw i64 %126, %74
  %128 = getelementptr inbounds i64, ptr %76, i64 %127
  %129 = load i64, ptr %18, align 8, !tbaa !11
  %130 = getelementptr inbounds i64, ptr %128, i64 %129
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %131 = load i64, ptr %17, align 8, !tbaa !11
  %132 = mul nsw i64 %131, %74
  %133 = getelementptr inbounds i64, ptr %76, i64 %132
  %134 = load i64, ptr %16, align 8, !tbaa !11
  %135 = getelementptr inbounds i64, ptr %133, i64 %134
  %136 = load i64, ptr %135, align 8, !tbaa !11
  %137 = load i64, ptr %16, align 8, !tbaa !11
  %138 = mul nsw i64 %137, %74
  %139 = getelementptr inbounds i64, ptr %76, i64 %138
  %140 = load i64, ptr %18, align 8, !tbaa !11
  %141 = getelementptr inbounds i64, ptr %139, i64 %140
  %142 = load i64, ptr %141, align 8, !tbaa !11
  %143 = add nsw i64 %136, %142
  store i64 %143, ptr %19, align 8, !tbaa !11
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %145 unwind label %155

145:                                              ; preds = %125
  %146 = load i64, ptr %144, align 8, !tbaa !11
  %147 = load i64, ptr %17, align 8, !tbaa !11
  %148 = mul nsw i64 %147, %74
  %149 = getelementptr inbounds i64, ptr %76, i64 %148
  %150 = load i64, ptr %18, align 8, !tbaa !11
  %151 = getelementptr inbounds i64, ptr %149, i64 %150
  store i64 %146, ptr %151, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %152

152:                                              ; preds = %145
  %153 = load i64, ptr %18, align 8, !tbaa !11
  %154 = add nsw i64 %153, 1
  store i64 %154, ptr %18, align 8, !tbaa !11
  br label %120, !llvm.loop !18

155:                                              ; preds = %125
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %6, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %354

159:                                              ; preds = %124
  br label %160

160:                                              ; preds = %159
  %161 = load i64, ptr %17, align 8, !tbaa !11
  %162 = add nsw i64 %161, 1
  store i64 %162, ptr %17, align 8, !tbaa !11
  br label %114, !llvm.loop !19

163:                                              ; preds = %118
  br label %164

164:                                              ; preds = %163
  %165 = load i64, ptr %16, align 8, !tbaa !11
  %166 = add nsw i64 %165, 1
  store i64 %166, ptr %16, align 8, !tbaa !11
  br label %108, !llvm.loop !20

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

168:                                              ; preds = %202, %167
  %169 = load i64, ptr %20, align 8, !tbaa !11
  %170 = load i64, ptr %3, align 8, !tbaa !11
  %171 = icmp slt i64 %169, %170
  br i1 %171, label %173, label %172

172:                                              ; preds = %168
  store i32 20, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %205

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

174:                                              ; preds = %198, %173
  %175 = load i64, ptr %21, align 8, !tbaa !11
  %176 = load i64, ptr %4, align 8, !tbaa !11
  %177 = icmp slt i64 %175, %176
  br i1 %177, label %179, label %178

178:                                              ; preds = %174
  store i32 23, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  br label %201

179:                                              ; preds = %174
  %180 = load i64, ptr %21, align 8, !tbaa !11
  %181 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %180
  %182 = load i64, ptr %20, align 8, !tbaa !11
  %183 = getelementptr inbounds [26 x i64], ptr %181, i64 0, i64 %182
  store i64 1000000000, ptr %183, align 8, !tbaa !11
  %184 = load i64, ptr %21, align 8, !tbaa !11
  %185 = getelementptr inbounds i64, ptr %45, i64 %184
  %186 = load i64, ptr %185, align 8, !tbaa !11
  %187 = mul nsw i64 %186, %74
  %188 = getelementptr inbounds i64, ptr %76, i64 %187
  %189 = load i64, ptr %20, align 8, !tbaa !11
  %190 = getelementptr inbounds i64, ptr %188, i64 %189
  %191 = load i64, ptr %190, align 8, !tbaa !11
  %192 = load i64, ptr %20, align 8, !tbaa !11
  %193 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %192
  %194 = load i64, ptr %193, align 8, !tbaa !11
  %195 = add nsw i64 %194, %191
  store i64 %195, ptr %193, align 8, !tbaa !11
  %196 = load i64, ptr %21, align 8, !tbaa !11
  %197 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %196
  store i64 1000000000, ptr %197, align 8, !tbaa !11
  br label %198

198:                                              ; preds = %179
  %199 = load i64, ptr %21, align 8, !tbaa !11
  %200 = add nsw i64 %199, 1
  store i64 %200, ptr %21, align 8, !tbaa !11
  br label %174, !llvm.loop !21

201:                                              ; preds = %178
  br label %202

202:                                              ; preds = %201
  %203 = load i64, ptr %20, align 8, !tbaa !11
  %204 = add nsw i64 %203, 1
  store i64 %204, ptr %20, align 8, !tbaa !11
  br label %168, !llvm.loop !22

205:                                              ; preds = %172
  %206 = load i64, ptr %2, align 8, !tbaa !11
  %207 = getelementptr inbounds i64, ptr @mdp, i64 %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store double 1.000000e+09, ptr %22, align 8, !tbaa !23
  invoke void @_ZSt4fillIPxdEvT_S1_RKT0_(ptr noundef @mdp, ptr noundef %207, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %208 unwind label %214

208:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store i64 0, ptr %23, align 8, !tbaa !11
  br label %209

209:                                              ; preds = %241, %208
  %210 = load i64, ptr %23, align 8, !tbaa !11
  %211 = load i64, ptr %3, align 8, !tbaa !11
  %212 = icmp slt i64 %210, %211
  br i1 %212, label %218, label %213

213:                                              ; preds = %209
  store i32 26, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %248

214:                                              ; preds = %205
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %6, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %354

218:                                              ; preds = %209
  %219 = load i64, ptr %23, align 8, !tbaa !11
  %220 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %219
  %221 = load i64, ptr %220, align 8, !tbaa !11
  %222 = load i64, ptr %4, align 8, !tbaa !11
  %223 = sub nsw i64 %222, 1
  %224 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %223
  %225 = load i64, ptr %23, align 8, !tbaa !11
  %226 = getelementptr inbounds [26 x i64], ptr %224, i64 0, i64 %225
  store i64 %221, ptr %226, align 8, !tbaa !11
  %227 = load i64, ptr %4, align 8, !tbaa !11
  %228 = sub nsw i64 %227, 1
  %229 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %228
  %230 = load i64, ptr %23, align 8, !tbaa !11
  %231 = getelementptr inbounds [26 x i64], ptr %229, i64 0, i64 %230
  %232 = load i64, ptr %4, align 8, !tbaa !11
  %233 = sub nsw i64 %232, 1
  %234 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %233
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull align 8 dereferenceable(8) %234)
          to label %236 unwind label %244

236:                                              ; preds = %218
  %237 = load i64, ptr %235, align 8, !tbaa !11
  %238 = load i64, ptr %4, align 8, !tbaa !11
  %239 = sub nsw i64 %238, 1
  %240 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %239
  store i64 %237, ptr %240, align 8, !tbaa !11
  br label %241

241:                                              ; preds = %236
  %242 = load i64, ptr %23, align 8, !tbaa !11
  %243 = add nsw i64 %242, 1
  store i64 %243, ptr %23, align 8, !tbaa !11
  br label %209, !llvm.loop !25

244:                                              ; preds = %218
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %6, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %354

248:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %249 = load i64, ptr %4, align 8, !tbaa !11
  store i64 %249, ptr %24, align 8, !tbaa !11
  br label %250

250:                                              ; preds = %340, %248
  %251 = load i64, ptr %24, align 8, !tbaa !11
  %252 = load i64, ptr %2, align 8, !tbaa !11
  %253 = icmp slt i64 %251, %252
  br i1 %253, label %255, label %254

254:                                              ; preds = %250
  store i32 29, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %343

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

256:                                              ; preds = %327, %255
  %257 = load i64, ptr %25, align 8, !tbaa !11
  %258 = load i64, ptr %3, align 8, !tbaa !11
  %259 = icmp slt i64 %257, %258
  br i1 %259, label %261, label %260

260:                                              ; preds = %256
  store i32 32, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %339

261:                                              ; preds = %256
  %262 = load i64, ptr %24, align 8, !tbaa !11
  %263 = getelementptr inbounds i64, ptr %45, i64 %262
  %264 = load i64, ptr %263, align 8, !tbaa !11
  %265 = mul nsw i64 %264, %74
  %266 = getelementptr inbounds i64, ptr %76, i64 %265
  %267 = load i64, ptr %25, align 8, !tbaa !11
  %268 = getelementptr inbounds i64, ptr %266, i64 %267
  %269 = load i64, ptr %268, align 8, !tbaa !11
  %270 = load i64, ptr %24, align 8, !tbaa !11
  %271 = load i64, ptr %4, align 8, !tbaa !11
  %272 = sub nsw i64 %270, %271
  %273 = getelementptr inbounds i64, ptr %45, i64 %272
  %274 = load i64, ptr %273, align 8, !tbaa !11
  %275 = mul nsw i64 %274, %74
  %276 = getelementptr inbounds i64, ptr %76, i64 %275
  %277 = load i64, ptr %25, align 8, !tbaa !11
  %278 = getelementptr inbounds i64, ptr %276, i64 %277
  %279 = load i64, ptr %278, align 8, !tbaa !11
  %280 = sub nsw i64 %269, %279
  %281 = load i64, ptr %25, align 8, !tbaa !11
  %282 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %281
  %283 = load i64, ptr %282, align 8, !tbaa !11
  %284 = add nsw i64 %283, %280
  store i64 %284, ptr %282, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %285 = load i64, ptr %24, align 8, !tbaa !11
  %286 = sub nsw i64 %285, 1
  %287 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %286
  %288 = load i64, ptr %25, align 8, !tbaa !11
  %289 = getelementptr inbounds [26 x i64], ptr %287, i64 0, i64 %288
  %290 = load i64, ptr %289, align 8, !tbaa !11
  %291 = load i64, ptr %24, align 8, !tbaa !11
  %292 = getelementptr inbounds i64, ptr %45, i64 %291
  %293 = load i64, ptr %292, align 8, !tbaa !11
  %294 = mul nsw i64 %293, %74
  %295 = getelementptr inbounds i64, ptr %76, i64 %294
  %296 = load i64, ptr %25, align 8, !tbaa !11
  %297 = getelementptr inbounds i64, ptr %295, i64 %296
  %298 = load i64, ptr %297, align 8, !tbaa !11
  %299 = add nsw i64 %290, %298
  store i64 %299, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %300 = load i64, ptr %24, align 8, !tbaa !11
  %301 = load i64, ptr %4, align 8, !tbaa !11
  %302 = sub nsw i64 %300, %301
  %303 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %302
  %304 = load i64, ptr %303, align 8, !tbaa !11
  %305 = load i64, ptr %25, align 8, !tbaa !11
  %306 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %305
  %307 = load i64, ptr %306, align 8, !tbaa !11
  %308 = add nsw i64 %304, %307
  store i64 %308, ptr %27, align 8, !tbaa !11
  %309 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27)
          to label %310 unwind label %330

310:                                              ; preds = %261
  %311 = load i64, ptr %309, align 8, !tbaa !11
  %312 = load i64, ptr %24, align 8, !tbaa !11
  %313 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %312
  %314 = load i64, ptr %25, align 8, !tbaa !11
  %315 = getelementptr inbounds [26 x i64], ptr %313, i64 0, i64 %314
  store i64 %311, ptr %315, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %316 = load i64, ptr %24, align 8, !tbaa !11
  %317 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %316
  %318 = load i64, ptr %24, align 8, !tbaa !11
  %319 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %318
  %320 = load i64, ptr %25, align 8, !tbaa !11
  %321 = getelementptr inbounds [26 x i64], ptr %319, i64 0, i64 %320
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %317, ptr noundef nonnull align 8 dereferenceable(8) %321)
          to label %323 unwind label %334

323:                                              ; preds = %310
  %324 = load i64, ptr %322, align 8, !tbaa !11
  %325 = load i64, ptr %24, align 8, !tbaa !11
  %326 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %325
  store i64 %324, ptr %326, align 8, !tbaa !11
  br label %327

327:                                              ; preds = %323
  %328 = load i64, ptr %25, align 8, !tbaa !11
  %329 = add nsw i64 %328, 1
  store i64 %329, ptr %25, align 8, !tbaa !11
  br label %256, !llvm.loop !26

330:                                              ; preds = %261
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %6, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %338

334:                                              ; preds = %310
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %6, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %7, align 4
  br label %338

338:                                              ; preds = %334, %330
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %354

339:                                              ; preds = %260
  br label %340

340:                                              ; preds = %339
  %341 = load i64, ptr %24, align 8, !tbaa !11
  %342 = add nsw i64 %341, 1
  store i64 %342, ptr %24, align 8, !tbaa !11
  br label %250, !llvm.loop !27

343:                                              ; preds = %254
  %344 = load i64, ptr %2, align 8, !tbaa !11
  %345 = sub nsw i64 %344, 1
  %346 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %345
  %347 = load i64, ptr %346, align 8, !tbaa !11
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %347)
          to label %349 unwind label %51

349:                                              ; preds = %343
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %348, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %351 unwind label %51

351:                                              ; preds = %349
  store i32 0, ptr %1, align 4
  store i32 1, ptr %14, align 4
  %352 = load ptr, ptr %8, align 8
  call void @llvm.stackrestore.p0(ptr %352)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  %353 = load i32, ptr %1, align 4
  ret i32 %353

354:                                              ; preds = %338, %244, %214, %155, %99, %68, %51
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #8
  br label %355

355:                                              ; preds = %354
  %356 = load ptr, ptr %6, align 8
  %357 = load i32, ptr %7, align 4
  %358 = insertvalue { ptr, i32 } poison, ptr %356, 0
  %359 = insertvalue { ptr, i32 } %358, i32 %357, 1
  resume { ptr, i32 } %359
}

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #6

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

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

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

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

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

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

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


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

@dp = external dso_local global [100000 x [26 x i64]], align 16
@mdp = external dso_local global [100000 x i64], align 16
@sum = external dso_local local_unnamed_addr global [26 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i64, align 8
  %2 = alloca i64, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca i64, align 8
  %6 = alloca double, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %10 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %11 = getelementptr i8, ptr %10, i64 -24
  %12 = load i64, ptr %11, align 8
  %13 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %12
  %14 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %13, ptr noundef null)
  %15 = load ptr, ptr @stdin, align 8, !tbaa !8
  %16 = tail call ptr @freopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, ptr noundef %15)
  %17 = load ptr, ptr @stdout, align 8, !tbaa !8
  %18 = tail call ptr @freopen(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, ptr noundef %17)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %1) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #8
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %1)
  %20 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef nonnull align 8 dereferenceable(8) %2)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(8) %3)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  %22 = 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) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %23 unwind label %33

23:                                               ; preds = %0
  %24 = load i64, ptr %1, align 8, !tbaa !11
  %25 = call ptr @llvm.stacksave.p0()
  %26 = alloca i64, i64 %24, align 16
  %27 = load i64, ptr %1, align 8, !tbaa !11
  %28 = icmp sgt i64 %27, 0
  br i1 %28, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %23
  %29 = load i64, ptr %2, align 8, !tbaa !11
  %30 = mul nuw i64 %29, %29
  %31 = alloca i64, i64 %30, align 16
  %32 = icmp sgt i64 %29, 0
  br i1 %32, label %.preheader82, label %._crit_edge101

33:                                               ; preds = %190, %._crit_edge110, %0
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %193

.lr.ph:                                           ; preds = %23, %.lr.ph
  %.07384 = phi i64 [ %40, %.lr.ph ], [ 0, %23 ]
  %35 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef %.07384)
  %36 = load i8, ptr %35, align 1, !tbaa !13
  %37 = sext i8 %36 to i64
  %38 = add nsw i64 %37, -97
  %39 = getelementptr inbounds i64, ptr %26, i64 %.07384
  store i64 %38, ptr %39, align 8, !tbaa !11
  %40 = add nuw nsw i64 %.07384, 1
  %41 = load i64, ptr %1, align 8, !tbaa !11
  %42 = icmp slt i64 %40, %41
  br i1 %42, label %.lr.ph, label %._crit_edge, !llvm.loop !14

.preheader82:                                     ; preds = %._crit_edge, %._crit_edge87
  %43 = phi i64 [ %48, %._crit_edge87 ], [ %29, %._crit_edge ]
  %.07188 = phi i64 [ %49, %._crit_edge87 ], [ 0, %._crit_edge ]
  %44 = icmp sgt i64 %43, 0
  br i1 %44, label %.lr.ph86, label %._crit_edge87

.lr.ph86:                                         ; preds = %.preheader82
  %45 = mul nuw nsw i64 %.07188, %29
  %46 = getelementptr inbounds i64, ptr %31, i64 %45
  br label %51

.preheader81:                                     ; preds = %._crit_edge87
  %47 = icmp sgt i64 %48, 0
  br i1 %47, label %.preheader80, label %._crit_edge101

._crit_edge87:                                    ; preds = %54, %.preheader82
  %48 = phi i64 [ %43, %.preheader82 ], [ %56, %54 ]
  %49 = add nuw nsw i64 %.07188, 1
  %50 = icmp slt i64 %49, %48
  br i1 %50, label %.preheader82, label %.preheader81, !llvm.loop !16

51:                                               ; preds = %.lr.ph86, %54
  %.07085 = phi i64 [ 0, %.lr.ph86 ], [ %55, %54 ]
  %52 = getelementptr inbounds i64, ptr %46, i64 %.07085
  %53 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %52)
          to label %54 unwind label %58

54:                                               ; preds = %51
  %55 = add nuw nsw i64 %.07085, 1
  %56 = load i64, ptr %2, align 8, !tbaa !11
  %57 = icmp slt i64 %55, %56
  br i1 %57, label %51, label %._crit_edge87, !llvm.loop !18

58:                                               ; preds = %51
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %193

.preheader80:                                     ; preds = %.preheader81, %._crit_edge93
  %60 = phi i64 [ %100, %._crit_edge93 ], [ %48, %.preheader81 ]
  %.06994 = phi i64 [ %101, %._crit_edge93 ], [ 0, %.preheader81 ]
  %61 = icmp sgt i64 %60, 0
  br i1 %61, label %.preheader79.preheader, label %._crit_edge93

.preheader79.preheader:                           ; preds = %.preheader80
  %62 = mul nuw nsw i64 %.06994, %29
  %63 = getelementptr inbounds i64, ptr %31, i64 %62
  br label %.preheader79

.preheader78:                                     ; preds = %._crit_edge93
  %64 = icmp sgt i64 %100, 0
  br i1 %64, label %.preheader77.lr.ph, label %._crit_edge101

.preheader77.lr.ph:                               ; preds = %.preheader78
  %65 = load i64, ptr %3, align 8, !tbaa !11
  %66 = icmp sgt i64 %65, 0
  br i1 %66, label %.preheader77.us.preheader, label %._crit_edge101

.preheader77.us.preheader:                        ; preds = %.preheader77.lr.ph
  %xtraiter = and i64 %65, 1
  %67 = icmp eq i64 %65, 1
  %unroll_iter = and i64 %65, 9223372036854775806
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br label %.preheader77.us

.preheader77.us:                                  ; preds = %.preheader77.us.preheader, %._crit_edge98.us
  %.066100.us = phi i64 [ %93, %._crit_edge98.us ], [ 0, %.preheader77.us.preheader ]
  %invariant.gep.us = getelementptr i64, ptr %31, i64 %.066100.us
  %68 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %.066100.us
  %.promoted.us = load i64, ptr %68, align 8, !tbaa !11
  br i1 %67, label %._crit_edge98.us.unr-lcssa, label %.preheader77.us.new

.preheader77.us.new:                              ; preds = %.preheader77.us, %.preheader77.us.new
  %69 = phi i64 [ %83, %.preheader77.us.new ], [ %.promoted.us, %.preheader77.us ]
  %.06596.us = phi i64 [ %85, %.preheader77.us.new ], [ 0, %.preheader77.us ]
  %niter = phi i64 [ %niter.next.1, %.preheader77.us.new ], [ 0, %.preheader77.us ]
  %70 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %.06596.us, i64 %.066100.us
  store i64 1000000000, ptr %70, align 8, !tbaa !11
  %71 = getelementptr inbounds i64, ptr %26, i64 %.06596.us
  %72 = load i64, ptr %71, align 16, !tbaa !11
  %73 = mul nsw i64 %72, %29
  %gep.us = getelementptr i64, ptr %invariant.gep.us, i64 %73
  %74 = load i64, ptr %gep.us, align 8, !tbaa !11
  %75 = add nsw i64 %69, %74
  %76 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %.06596.us
  store i64 1000000000, ptr %76, align 16, !tbaa !11
  %77 = or disjoint i64 %.06596.us, 1
  %78 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %77, i64 %.066100.us
  store i64 1000000000, ptr %78, align 8, !tbaa !11
  %79 = getelementptr inbounds i64, ptr %26, i64 %77
  %80 = load i64, ptr %79, align 8, !tbaa !11
  %81 = mul nsw i64 %80, %29
  %gep.us.1 = getelementptr i64, ptr %invariant.gep.us, i64 %81
  %82 = load i64, ptr %gep.us.1, align 8, !tbaa !11
  %83 = add nsw i64 %75, %82
  %84 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %77
  store i64 1000000000, ptr %84, align 8, !tbaa !11
  %85 = add nuw nsw i64 %.06596.us, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge98.us.unr-lcssa, label %.preheader77.us.new, !llvm.loop !19

._crit_edge98.us.unr-lcssa:                       ; preds = %.preheader77.us.new, %.preheader77.us
  %.lcssa148.ph = phi i64 [ poison, %.preheader77.us ], [ %83, %.preheader77.us.new ]
  %.unr = phi i64 [ %.promoted.us, %.preheader77.us ], [ %83, %.preheader77.us.new ]
  %.06596.us.unr = phi i64 [ 0, %.preheader77.us ], [ %85, %.preheader77.us.new ]
  br i1 %lcmp.mod.not, label %._crit_edge98.us, label %._crit_edge98.us.epilog-lcssa

._crit_edge98.us.epilog-lcssa:                    ; preds = %._crit_edge98.us.unr-lcssa
  %86 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %.06596.us.unr, i64 %.066100.us
  store i64 1000000000, ptr %86, align 8, !tbaa !11
  %87 = getelementptr inbounds i64, ptr %26, i64 %.06596.us.unr
  %88 = load i64, ptr %87, align 8, !tbaa !11
  %89 = mul nsw i64 %88, %29
  %gep.us.epil = getelementptr i64, ptr %invariant.gep.us, i64 %89
  %90 = load i64, ptr %gep.us.epil, align 8, !tbaa !11
  %91 = add nsw i64 %.unr, %90
  %92 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %.06596.us.unr
  store i64 1000000000, ptr %92, align 8, !tbaa !11
  br label %._crit_edge98.us

._crit_edge98.us:                                 ; preds = %._crit_edge98.us.unr-lcssa, %._crit_edge98.us.epilog-lcssa
  %.lcssa148 = phi i64 [ %.lcssa148.ph, %._crit_edge98.us.unr-lcssa ], [ %91, %._crit_edge98.us.epilog-lcssa ]
  store i64 %.lcssa148, ptr %68, align 8, !tbaa !11
  %93 = add nuw nsw i64 %.066100.us, 1
  %exitcond121.not = icmp eq i64 %93, %100
  br i1 %exitcond121.not, label %._crit_edge101, label %.preheader77.us, !llvm.loop !20

.preheader79:                                     ; preds = %.preheader79.preheader, %._crit_edge91
  %94 = phi i64 [ %103, %._crit_edge91 ], [ %60, %.preheader79.preheader ]
  %95 = phi i64 [ %104, %._crit_edge91 ], [ %60, %.preheader79.preheader ]
  %.06892 = phi i64 [ %105, %._crit_edge91 ], [ 0, %.preheader79.preheader ]
  %96 = icmp sgt i64 %95, 0
  br i1 %96, label %.lr.ph90, label %._crit_edge91

.lr.ph90:                                         ; preds = %.preheader79
  %97 = mul nuw nsw i64 %.06892, %29
  %98 = getelementptr inbounds i64, ptr %31, i64 %97
  %99 = getelementptr inbounds i64, ptr %98, i64 %.06994
  br label %107

._crit_edge93:                                    ; preds = %._crit_edge91, %.preheader80
  %100 = phi i64 [ %60, %.preheader80 ], [ %103, %._crit_edge91 ]
  %101 = add nuw nsw i64 %.06994, 1
  %102 = icmp slt i64 %101, %100
  br i1 %102, label %.preheader80, label %.preheader78, !llvm.loop !21

._crit_edge91:                                    ; preds = %107, %.preheader79
  %103 = phi i64 [ %94, %.preheader79 ], [ %116, %107 ]
  %104 = phi i64 [ %95, %.preheader79 ], [ %116, %107 ]
  %105 = add nuw nsw i64 %.06892, 1
  %106 = icmp slt i64 %105, %104
  br i1 %106, label %.preheader79, label %._crit_edge93, !llvm.loop !22

107:                                              ; preds = %.lr.ph90, %107
  %.06789 = phi i64 [ 0, %.lr.ph90 ], [ %115, %107 ]
  %108 = getelementptr inbounds i64, ptr %98, i64 %.06789
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %109 = load i64, ptr %99, align 8, !tbaa !11
  %110 = getelementptr inbounds i64, ptr %63, i64 %.06789
  %111 = load i64, ptr %110, align 8, !tbaa !11
  %112 = add nsw i64 %111, %109
  store i64 %112, ptr %5, align 8, !tbaa !11
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(8) %5)
  %114 = load i64, ptr %113, align 8, !tbaa !11
  store i64 %114, ptr %108, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  %115 = add nuw nsw i64 %.06789, 1
  %116 = load i64, ptr %2, align 8, !tbaa !11
  %117 = icmp slt i64 %115, %116
  br i1 %117, label %107, label %._crit_edge91, !llvm.loop !23

._crit_edge101:                                   ; preds = %._crit_edge98.us, %._crit_edge, %.preheader81, %.preheader77.lr.ph, %.preheader78
  %118 = load i64, ptr %1, align 8, !tbaa !11
  %119 = getelementptr inbounds i64, ptr @mdp, i64 %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store double 1.000000e+09, ptr %6, align 8, !tbaa !24
  invoke void @_ZSt4fillIPxdEvT_S1_RKT0_(ptr noundef nonnull @mdp, ptr noundef nonnull %119, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %120 unwind label %128

120:                                              ; preds = %._crit_edge101
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %121 = load i64, ptr %2, align 8, !tbaa !11
  %122 = icmp sgt i64 %121, 0
  %.pre122 = load i64, ptr %3, align 8, !tbaa !11
  br i1 %122, label %.lr.ph104, label %._crit_edge105

._crit_edge105:                                   ; preds = %.lr.ph104, %120
  %123 = phi i64 [ %121, %120 ], [ %142, %.lr.ph104 ]
  %124 = phi i64 [ %.pre122, %120 ], [ %138, %.lr.ph104 ]
  %125 = load i64, ptr %1, align 8, !tbaa !11
  %126 = icmp slt i64 %124, %125
  %127 = icmp sgt i64 %123, 0
  %or.cond = and i1 %126, %127
  br i1 %or.cond, label %.preheader, label %._crit_edge110

128:                                              ; preds = %._crit_edge101
  %129 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %193

.lr.ph104:                                        ; preds = %120, %.lr.ph104
  %130 = phi i64 [ %138, %.lr.ph104 ], [ %.pre122, %120 ]
  %.064102 = phi i64 [ %141, %.lr.ph104 ], [ 0, %120 ]
  %131 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %.064102
  %132 = load i64, ptr %131, align 8, !tbaa !11
  %133 = add nsw i64 %130, -1
  %134 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %133, i64 %.064102
  store i64 %132, ptr %134, align 8, !tbaa !11
  %135 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %133
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %134, ptr noundef nonnull align 8 dereferenceable(8) %135)
  %137 = load i64, ptr %136, align 8, !tbaa !11
  %138 = load i64, ptr %3, align 8, !tbaa !11
  %139 = add nsw i64 %138, -1
  %140 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %139
  store i64 %137, ptr %140, align 8, !tbaa !11
  %141 = add nuw nsw i64 %.064102, 1
  %142 = load i64, ptr %2, align 8, !tbaa !11
  %143 = icmp slt i64 %141, %142
  br i1 %143, label %.lr.ph104, label %._crit_edge105, !llvm.loop !26

.preheader:                                       ; preds = %._crit_edge105, %._crit_edge108
  %144 = phi i64 [ %157, %._crit_edge108 ], [ %125, %._crit_edge105 ]
  %145 = phi i64 [ %158, %._crit_edge108 ], [ %123, %._crit_edge105 ]
  %.063109 = phi i64 [ %159, %._crit_edge108 ], [ %124, %._crit_edge105 ]
  %146 = icmp sgt i64 %145, 0
  br i1 %146, label %.lr.ph107, label %._crit_edge108

.lr.ph107:                                        ; preds = %.preheader
  %147 = getelementptr inbounds i64, ptr %26, i64 %.063109
  %148 = load i64, ptr %147, align 8, !tbaa !11
  %149 = mul nsw i64 %148, %29
  %150 = getelementptr inbounds i64, ptr %31, i64 %149
  %151 = add nsw i64 %.063109, -1
  %152 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %.063109
  br label %161

._crit_edge110:                                   ; preds = %._crit_edge108, %._crit_edge105
  %.lcssa = phi i64 [ %125, %._crit_edge105 ], [ %157, %._crit_edge108 ]
  %153 = add nsw i64 %.lcssa, -1
  %154 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %153
  %155 = load i64, ptr %154, align 8, !tbaa !11
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %155)
          to label %190 unwind label %33

._crit_edge108.loopexit:                          ; preds = %161
  %.pre = load i64, ptr %1, align 8, !tbaa !11
  br label %._crit_edge108

._crit_edge108:                                   ; preds = %._crit_edge108.loopexit, %.preheader
  %157 = phi i64 [ %.pre, %._crit_edge108.loopexit ], [ %144, %.preheader ]
  %158 = phi i64 [ %188, %._crit_edge108.loopexit ], [ %145, %.preheader ]
  %159 = add nsw i64 %.063109, 1
  %160 = icmp slt i64 %159, %157
  br i1 %160, label %.preheader, label %._crit_edge110, !llvm.loop !27

161:                                              ; preds = %.lr.ph107, %161
  %.0106 = phi i64 [ 0, %.lr.ph107 ], [ %187, %161 ]
  %162 = getelementptr inbounds i64, ptr %150, i64 %.0106
  %163 = load i64, ptr %162, align 8, !tbaa !11
  %164 = load i64, ptr %3, align 8, !tbaa !11
  %165 = sub nsw i64 %.063109, %164
  %166 = getelementptr inbounds i64, ptr %26, i64 %165
  %167 = load i64, ptr %166, align 8, !tbaa !11
  %168 = mul nsw i64 %167, %29
  %169 = getelementptr inbounds i64, ptr %31, i64 %168
  %170 = getelementptr inbounds i64, ptr %169, i64 %.0106
  %171 = load i64, ptr %170, align 8, !tbaa !11
  %172 = sub nsw i64 %163, %171
  %173 = getelementptr inbounds [26 x i64], ptr @sum, i64 0, i64 %.0106
  %174 = load i64, ptr %173, align 8, !tbaa !11
  %175 = add nsw i64 %174, %172
  store i64 %175, ptr %173, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %176 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %151, i64 %.0106
  %177 = load i64, ptr %176, align 8, !tbaa !11
  %178 = add nsw i64 %177, %163
  store i64 %178, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  %179 = getelementptr inbounds [100000 x i64], ptr @mdp, i64 0, i64 %165
  %180 = load i64, ptr %179, align 8, !tbaa !11
  %181 = add nsw i64 %180, %175
  store i64 %181, ptr %8, align 8, !tbaa !11
  %182 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  %183 = load i64, ptr %182, align 8, !tbaa !11
  %184 = getelementptr inbounds [100000 x [26 x i64]], ptr @dp, i64 0, i64 %.063109, i64 %.0106
  store i64 %183, ptr %184, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %185 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef nonnull align 8 dereferenceable(8) %184)
  %186 = load i64, ptr %185, align 8, !tbaa !11
  store i64 %186, ptr %152, align 8, !tbaa !11
  %187 = add nuw nsw i64 %.0106, 1
  %188 = load i64, ptr %2, align 8, !tbaa !11
  %189 = icmp slt i64 %187, %188
  br i1 %189, label %161, label %._crit_edge108.loopexit, !llvm.loop !28

190:                                              ; preds = %._crit_edge110
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %192 unwind label %33

192:                                              ; preds = %190
  call void @llvm.stackrestore.p0(ptr %25)
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  ret i32 0

193:                                              ; preds = %128, %58, %33
  %.pn = phi { ptr, i32 } [ %59, %58 ], [ %34, %33 ], [ %129, %128 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %1) #8
  resume { ptr, i32 } %.pn
}

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZSt3minIxERKT_S2_S2_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #4 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)) #7

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

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

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

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


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