; LLVM IR from kazunetakahashi/atcoder :: 2020/0620_AGC046 (C)

; 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_ostream" = type { ptr, %"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_istream" = type { ptr, i64, %"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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Mint = type { i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::__cxx11::basic_string", align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %class.Mint, align 8
  %9 = alloca %class.Mint, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca %class.Mint, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.Mint, align 8
  %19 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 32, ptr %2) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %20 = 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) %2)
          to label %21 unwind label %50

21:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %22 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  %23 = trunc i64 %22 to i32
  store i32 %23, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %24 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %25 unwind label %54

25:                                               ; preds = %21
  %26 = invoke noundef zeroext i1 @_Z6ch_minIiEbRT_S0_(ptr noundef nonnull align 4 dereferenceable(4) %6, i32 noundef 300)
          to label %27 unwind label %54

27:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 24, ptr %7) #7
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = add nsw i32 %28, 1
  %30 = sext i32 %29 to i64
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = add nsw i32 %31, 1
  %33 = sext i32 %32 to i64
  %34 = load i32, ptr %6, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  %36 = sext i32 %35 to i64
  invoke void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %8, i64 noundef 0)
          to label %37 unwind label %58

37:                                               ; preds = %27
  %38 = getelementptr inbounds %class.Mint, ptr %8, i32 0, i32 0
  %39 = load i64, ptr %38, align 8
  invoke void @_Z12Make3DVectorI4MintILx1000000007EEESt6vectorIS2_IS2_IT_SaIS3_EESaIS5_EESaIS7_EEmmmS3_(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %7, i64 noundef %30, i64 noundef %33, i64 noundef %36, i64 %39)
          to label %40 unwind label %58

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  invoke void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %9, i64 noundef 1)
          to label %41 unwind label %62

41:                                               ; preds = %40
  %42 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef 0) #7
  %43 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %42, i64 noundef 0) #7
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %43, i64 noundef 0) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %44, ptr align 8 %9, i64 8, i1 false), !tbaa.struct !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %237, %41
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = icmp sle i32 %46, %47
  br i1 %48, label %66, label %49

49:                                               ; preds = %45
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %241

50:                                               ; preds = %0
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %3, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %4, align 4
  br label %281

54:                                               ; preds = %25, %21
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %3, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %4, align 4
  br label %280

58:                                               ; preds = %37, %27
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %3, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %4, align 4
  br label %279

62:                                               ; preds = %40
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %3, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  br label %278

66:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %67 = load i32, ptr %10, align 4, !tbaa !5
  %68 = load i32, ptr %5, align 4, !tbaa !5
  %69 = icmp eq i32 %67, %68
  br i1 %69, label %70, label %71

70:                                               ; preds = %66
  br label %79

71:                                               ; preds = %66
  %72 = load i32, ptr %10, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %2, i64 noundef %73)
          to label %75 unwind label %86

75:                                               ; preds = %71
  %76 = load i8, ptr %74, align 1, !tbaa !12
  %77 = sext i8 %76 to i32
  %78 = sub nsw i32 %77, 48
  br label %79

79:                                               ; preds = %75, %70
  %80 = phi i32 [ 0, %70 ], [ %78, %75 ]
  store i32 %80, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  br label %81

81:                                               ; preds = %233, %79
  %82 = load i32, ptr %13, align 4, !tbaa !5
  %83 = load i32, ptr %5, align 4, !tbaa !5
  %84 = icmp sle i32 %82, %83
  br i1 %84, label %90, label %85

85:                                               ; preds = %81
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %236

86:                                               ; preds = %71
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %3, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %4, align 4
  br label %240

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

91:                                               ; preds = %228, %90
  %92 = load i32, ptr %14, align 4, !tbaa !5
  %93 = load i32, ptr %6, align 4, !tbaa !5
  %94 = icmp sle i32 %92, %93
  br i1 %94, label %96, label %95

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

96:                                               ; preds = %91
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %98) #7
  %100 = load i32, ptr %13, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %99, i64 noundef %101) #7
  %103 = load i32, ptr %14, align 4, !tbaa !5
  %104 = sext i32 %103 to i64
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %104) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  invoke void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %15, i64 noundef 0)
          to label %106 unwind label %110

106:                                              ; preds = %96
  %107 = invoke noundef zeroext i1 @_ZNK4MintILx1000000007EEeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %108 unwind label %110

108:                                              ; preds = %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br i1 %107, label %109, label %114

109:                                              ; preds = %108
  br label %228

110:                                              ; preds = %106, %96
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %3, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  br label %231

114:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %115 = load i32, ptr %10, align 4, !tbaa !5
  %116 = sext i32 %115 to i64
  %117 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %116) #7
  %118 = load i32, ptr %13, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %117, i64 noundef %119) #7
  %121 = load i32, ptr %14, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %120, i64 noundef %122) #7
  store ptr %123, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %224, %114
  %125 = load i32, ptr %17, align 4, !tbaa !5
  %126 = icmp slt i32 %125, 2
  br i1 %126, label %128, label %127

127:                                              ; preds = %124
  store i32 11, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %227

128:                                              ; preds = %124
  %129 = load i32, ptr %13, align 4, !tbaa !5
  %130 = load i32, ptr %5, align 4, !tbaa !5
  %131 = icmp eq i32 %129, %130
  br i1 %131, label %132, label %136

132:                                              ; preds = %128
  %133 = load i32, ptr %17, align 4, !tbaa !5
  %134 = icmp eq i32 %133, 1
  br i1 %134, label %135, label %136

135:                                              ; preds = %132
  br label %224

136:                                              ; preds = %132, %128
  %137 = load i32, ptr %12, align 4, !tbaa !5
  %138 = load i32, ptr %17, align 4, !tbaa !5
  %139 = icmp eq i32 %137, %138
  br i1 %139, label %140, label %170

140:                                              ; preds = %136
  %141 = load i32, ptr %10, align 4, !tbaa !5
  %142 = add nsw i32 %141, 1
  %143 = load i32, ptr %5, align 4, !tbaa !5
  %144 = icmp sle i32 %142, %143
  br i1 %144, label %145, label %169

145:                                              ; preds = %140
  %146 = load i32, ptr %13, align 4, !tbaa !5
  %147 = add nsw i32 %146, 1
  %148 = load i32, ptr %5, align 4, !tbaa !5
  %149 = icmp sle i32 %147, %148
  br i1 %149, label %150, label %169

150:                                              ; preds = %145
  %151 = load ptr, ptr %16, align 8, !tbaa !13
  %152 = load i32, ptr %10, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %154) #7
  %156 = load i32, ptr %13, align 4, !tbaa !5
  %157 = add nsw i32 %156, 1
  %158 = sext i32 %157 to i64
  %159 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %155, i64 noundef %158) #7
  %160 = load i32, ptr %14, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %159, i64 noundef %161) #7
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %162, ptr noundef nonnull align 8 dereferenceable(8) %151)
          to label %164 unwind label %165

164:                                              ; preds = %150
  br label %169

165:                                              ; preds = %206, %181, %150
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %3, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %231

169:                                              ; preds = %164, %145, %140
  br label %223

170:                                              ; preds = %136
  %171 = load i32, ptr %12, align 4, !tbaa !5
  %172 = icmp eq i32 %171, 1
  br i1 %172, label %173, label %196

173:                                              ; preds = %170
  %174 = load i32, ptr %17, align 4, !tbaa !5
  %175 = icmp eq i32 %174, 0
  br i1 %175, label %176, label %196

176:                                              ; preds = %173
  %177 = load i32, ptr %10, align 4, !tbaa !5
  %178 = add nsw i32 %177, 1
  %179 = load i32, ptr %5, align 4, !tbaa !5
  %180 = icmp sle i32 %178, %179
  br i1 %180, label %181, label %195

181:                                              ; preds = %176
  %182 = load ptr, ptr %16, align 8, !tbaa !13
  %183 = load i32, ptr %10, align 4, !tbaa !5
  %184 = add nsw i32 %183, 1
  %185 = sext i32 %184 to i64
  %186 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %185) #7
  %187 = load i32, ptr %13, align 4, !tbaa !5
  %188 = sext i32 %187 to i64
  %189 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %186, i64 noundef %188) #7
  %190 = load i32, ptr %14, align 4, !tbaa !5
  %191 = sext i32 %190 to i64
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %189, i64 noundef %191) #7
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(8) %182)
          to label %194 unwind label %165

194:                                              ; preds = %181
  br label %195

195:                                              ; preds = %194, %176
  br label %222

196:                                              ; preds = %173, %170
  %197 = load i32, ptr %13, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  %199 = load i32, ptr %5, align 4, !tbaa !5
  %200 = icmp sle i32 %198, %199
  br i1 %200, label %201, label %221

201:                                              ; preds = %196
  %202 = load i32, ptr %14, align 4, !tbaa !5
  %203 = add nsw i32 %202, 1
  %204 = load i32, ptr %6, align 4, !tbaa !5
  %205 = icmp sle i32 %203, %204
  br i1 %205, label %206, label %221

206:                                              ; preds = %201
  %207 = load ptr, ptr %16, align 8, !tbaa !13
  %208 = load i32, ptr %10, align 4, !tbaa !5
  %209 = sext i32 %208 to i64
  %210 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %209) #7
  %211 = load i32, ptr %13, align 4, !tbaa !5
  %212 = add nsw i32 %211, 1
  %213 = sext i32 %212 to i64
  %214 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %210, i64 noundef %213) #7
  %215 = load i32, ptr %14, align 4, !tbaa !5
  %216 = add nsw i32 %215, 1
  %217 = sext i32 %216 to i64
  %218 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %214, i64 noundef %217) #7
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef nonnull align 8 dereferenceable(8) %207)
          to label %220 unwind label %165

220:                                              ; preds = %206
  br label %221

221:                                              ; preds = %220, %201, %196
  br label %222

222:                                              ; preds = %221, %195
  br label %223

223:                                              ; preds = %222, %169
  br label %224

224:                                              ; preds = %223, %135
  %225 = load i32, ptr %17, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  store i32 %226, ptr %17, align 4, !tbaa !5
  br label %124, !llvm.loop !15

227:                                              ; preds = %127
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %228

228:                                              ; preds = %227, %109
  %229 = load i32, ptr %14, align 4, !tbaa !5
  %230 = add nsw i32 %229, 1
  store i32 %230, ptr %14, align 4, !tbaa !5
  br label %91, !llvm.loop !17

231:                                              ; preds = %165, %110
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %240

232:                                              ; preds = %95
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %13, align 4, !tbaa !5
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %13, align 4, !tbaa !5
  br label %81, !llvm.loop !18

236:                                              ; preds = %85
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  br label %237

237:                                              ; preds = %236
  %238 = load i32, ptr %10, align 4, !tbaa !5
  %239 = add nsw i32 %238, 1
  store i32 %239, ptr %10, align 4, !tbaa !5
  br label %45, !llvm.loop !19

240:                                              ; preds = %231, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %278

241:                                              ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  invoke void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %18, i64 noundef 0)
          to label %242 unwind label %248

242:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  store i32 0, ptr %19, align 4, !tbaa !5
  br label %243

243:                                              ; preds = %264, %242
  %244 = load i32, ptr %19, align 4, !tbaa !5
  %245 = load i32, ptr %6, align 4, !tbaa !5
  %246 = icmp sle i32 %244, %245
  br i1 %246, label %252, label %247

247:                                              ; preds = %243
  store i32 14, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %271

248:                                              ; preds = %273, %271, %241
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %3, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %4, align 4
  br label %277

252:                                              ; preds = %243
  %253 = load i32, ptr %5, align 4, !tbaa !5
  %254 = sext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %254) #7
  %256 = load i32, ptr %5, align 4, !tbaa !5
  %257 = sext i32 %256 to i64
  %258 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %255, i64 noundef %257) #7
  %259 = load i32, ptr %19, align 4, !tbaa !5
  %260 = sext i32 %259 to i64
  %261 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %258, i64 noundef %260) #7
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %261)
          to label %263 unwind label %267

263:                                              ; preds = %252
  br label %264

264:                                              ; preds = %263
  %265 = load i32, ptr %19, align 4, !tbaa !5
  %266 = add nsw i32 %265, 1
  store i32 %266, ptr %19, align 4, !tbaa !5
  br label %243, !llvm.loop !20

267:                                              ; preds = %252
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %3, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %277

271:                                              ; preds = %247
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsILx1000000007EERSoS0_RK4MintIXT_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %18)
          to label %273 unwind label %248

273:                                              ; preds = %271
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %275 unwind label %248

275:                                              ; preds = %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  %276 = load i32, ptr %1, align 4
  ret i32 %276

277:                                              ; preds = %267, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  br label %278

278:                                              ; preds = %277, %240, %62
  call void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #7
  br label %279

279:                                              ; preds = %278, %58
  call void @llvm.lifetime.end.p0(i64 24, ptr %7) #7
  br label %280

280:                                              ; preds = %279, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %281

281:                                              ; preds = %280, %50
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %2) #7
  br label %282

282:                                              ; preds = %281
  %283 = load ptr, ptr %3, align 8
  %284 = load i32, ptr %4, align 4
  %285 = insertvalue { ptr, i32 } poison, ptr %283, 0
  %286 = insertvalue { ptr, i32 } %285, i32 %284, 1
  resume { ptr, i32 } %286
}

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z6ch_minIiEbRT_S0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12Make3DVectorI4MintILx1000000007EEESt6vectorIS2_IS2_IT_SaIS3_EESaIS5_EESaIS7_EEmmmS3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i64 noundef, i64 noundef, i64 noundef, i64) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #4 align 2

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #6

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4MintILx1000000007EEeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsILx1000000007EERSoS0_RK4MintIXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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


; 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_ostream" = type { ptr, %"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_istream" = type { ptr, i64, %"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] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<Mint<>>>, std::allocator<std::vector<std::vector<Mint<>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Mint = type { i64 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt3cin = external global %"class.std::basic_istream", align 8

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

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

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::__cxx11::basic_string", align 8
  %2 = alloca i32, align 4
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %class.Mint, align 8
  %5 = alloca %class.Mint, align 8
  %6 = alloca %class.Mint, align 8
  %7 = alloca %class.Mint, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %1) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %8 = 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) %1)
          to label %9 unwind label %31

9:                                                ; preds = %0
  %10 = call noundef i64 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  %11 = trunc i64 %10 to i32
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  %12 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
          to label %13 unwind label %33

13:                                               ; preds = %9
  %14 = call noundef zeroext i1 @_Z6ch_minIiEbRT_S0_(ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 300)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %15 = shl i64 %10, 32
  %sext = add i64 %15, 4294967296
  %16 = ashr exact i64 %sext, 32
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = add nsw i32 %17, 1
  %19 = sext i32 %18 to i64
  call void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %4, i64 noundef 0)
  %20 = load i64, ptr %4, align 8
  invoke void @_Z12Make3DVectorI4MintILx1000000007EEESt6vectorIS2_IS2_IT_SaIS3_EESaIS5_EESaIS7_EEmmmS3_(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %3, i64 noundef %16, i64 noundef %16, i64 noundef %19, i64 %20)
          to label %21 unwind label %35

21:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  call void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %5, i64 noundef 1)
  %22 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef 0) #6
  %23 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #6
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef 0) #6
  %25 = load i64, ptr %5, align 8, !tbaa !9
  store i64 %25, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  %.not101 = icmp slt i32 %11, 0
  br i1 %.not101, label %._crit_edge105, label %.lr.ph104.split.preheader

.lr.ph104.split.preheader:                        ; preds = %21
  %26 = and i64 %10, 2147483647
  %27 = and i64 %10, 2147483647
  %28 = add nuw nsw i64 %10, 1
  %wide.trip.count = and i64 %28, 4294967295
  br label %.lr.ph104.split

._crit_edge105:                                   ; preds = %._crit_edge100, %21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef 0)
  %29 = load i32, ptr %2, align 4, !tbaa !5
  %.not74106 = icmp slt i32 %29, 0
  br i1 %.not74106, label %._crit_edge110, label %.lr.ph109

.lr.ph109:                                        ; preds = %._crit_edge105
  %30 = ashr exact i64 %15, 32
  br label %103

31:                                               ; preds = %0
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %115

33:                                               ; preds = %9
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %114

35:                                               ; preds = %13
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %113

.lr.ph104.split:                                  ; preds = %.lr.ph104.split.preheader, %._crit_edge100
  %indvars.iv120 = phi i64 [ 0, %.lr.ph104.split.preheader ], [ %indvars.iv.next121, %._crit_edge100 ]
  %37 = icmp eq i64 %indvars.iv120, %27
  br i1 %37, label %.preheader.lr.ph, label %38

38:                                               ; preds = %.lr.ph104.split
  %39 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEixEm(ptr noundef nonnull align 8 dereferenceable(32) %1, i64 noundef %indvars.iv120)
  %40 = load i8, ptr %39, align 1, !tbaa !11
  %41 = sext i8 %40 to i32
  %42 = add nsw i32 %41, -48
  br label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %.lr.ph104.split, %38
  %43 = phi i32 [ %42, %38 ], [ 0, %.lr.ph104.split ]
  %.fr112 = freeze i32 %43
  %44 = icmp eq i32 %.fr112, 1
  %.not83.not.not = icmp ult i64 %indvars.iv120, %26
  %indvars.iv.next121 = add nuw nsw i64 %indvars.iv120, 1
  %.not84.not = icmp ult i64 %indvars.iv120, %26
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = icmp slt i32 %45, 0
  br i1 %46, label %._crit_edge100, label %.preheader.preheader

.preheader.preheader:                             ; preds = %.preheader.lr.ph
  %47 = icmp eq i32 %.fr112, 0
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %._crit_edge
  %48 = phi i32 [ %71, %._crit_edge ], [ %45, %.preheader.preheader ]
  %.06299 = phi i32 [ %.pre-phi, %._crit_edge ], [ 0, %.preheader.preheader ]
  %.not8089 = icmp slt i32 %48, 0
  br i1 %.not8089, label %.preheader.._crit_edge_crit_edge, label %.lr.ph

.preheader.._crit_edge_crit_edge:                 ; preds = %.preheader
  %.pre = add i32 %.06299, 1
  br label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %49 = zext nneg i32 %.06299 to i64
  %50 = icmp eq i32 %.06299, %11
  %.not81.not = icmp slt i32 %.06299, %11
  %51 = add i32 %.06299, 1
  %52 = zext nneg i32 %51 to i64
  %or.cond86 = and i1 %.not84.not, %.not81.not
  br i1 %44, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.loopexit.split.us96
  %indvars.iv117 = phi i64 [ %indvars.iv.next118.pre-phi, %.loopexit.split.us96 ], [ 0, %.lr.ph ]
  %53 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv120) #6
  %54 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %49) #6
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %54, i64 noundef %indvars.iv117) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
  %56 = call noundef zeroext i1 @_ZNK4MintILx1000000007EEeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br i1 %56, label %.loopexit.split.us96, label %.split.us97

.split.us97:                                      ; preds = %.lr.ph.split.us
  %57 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv120) #6
  %58 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %57, i64 noundef %49) #6
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %58, i64 noundef %indvars.iv117) #6
  br i1 %.not81.not, label %.split.us97.split.preheader, label %.split.us97.split.us.preheader

.split.us97.split.preheader:                      ; preds = %.split.us97
  br i1 %.not83.not.not, label %60, label %.split.us97.split.1

60:                                               ; preds = %.split.us97.split.preheader
  %61 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next121) #6
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %49) #6
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %indvars.iv117) #6
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %59)
  br label %.split.us97.split.1

.split.us97.split.1:                              ; preds = %60, %.split.us97.split.preheader
  br i1 %or.cond86, label %.loopexit.split.us96.sink.split, label %.loopexit.split.us96

.loopexit.split.us96.sink.split:                  ; preds = %.split.us97.split.1, %.split.us97.split.us.preheader
  %.sink134 = phi i64 [ %49, %.split.us97.split.us.preheader ], [ %52, %.split.us97.split.1 ]
  %65 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next121) #6
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %.sink134) #6
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %indvars.iv117) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %59)
  br label %.loopexit.split.us96

.loopexit.split.us96:                             ; preds = %.loopexit.split.us96.sink.split, %.split.us97.split.us.preheader, %.split.us97.split.1, %.lr.ph.split.us
  %indvars.iv.next118.pre-phi = add nuw nsw i64 %indvars.iv117, 1
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %.not80.us.not = icmp slt i64 %indvars.iv117, %70
  br i1 %.not80.us.not, label %.lr.ph.split.us, label %._crit_edge, !llvm.loop !12

.split.us97.split.us.preheader:                   ; preds = %.split.us97
  br i1 %.not83.not.not, label %.loopexit.split.us96.sink.split, label %.loopexit.split.us96

._crit_edge100:                                   ; preds = %._crit_edge, %.preheader.lr.ph
  %exitcond.not = icmp eq i64 %indvars.iv.next121, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge105, label %.lr.ph104.split, !llvm.loop !14

._crit_edge:                                      ; preds = %.loopexit.split.us, %.loopexit.split.us96, %.preheader.._crit_edge_crit_edge
  %.pre-phi = phi i32 [ %.pre, %.preheader.._crit_edge_crit_edge ], [ %51, %.loopexit.split.us96 ], [ %51, %.loopexit.split.us ]
  %71 = phi i32 [ %48, %.preheader.._crit_edge_crit_edge ], [ %69, %.loopexit.split.us96 ], [ %98, %.loopexit.split.us ]
  %.not79 = icmp sgt i32 %.pre-phi, %11
  br i1 %.not79, label %._crit_edge100, label %.preheader, !llvm.loop !15

.lr.ph.split:                                     ; preds = %.lr.ph, %.loopexit.split.us
  %indvars.iv = phi i64 [ %indvars.iv.next.pre-phi, %.loopexit.split.us ], [ 0, %.lr.ph ]
  %72 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv120) #6
  %73 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %49) #6
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %indvars.iv) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8) %6, i64 noundef 0)
  %75 = call noundef zeroext i1 @_ZNK4MintILx1000000007EEeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br i1 %75, label %.lr.ph.split..loopexit.split.us_crit_edge, label %76

.lr.ph.split..loopexit.split.us_crit_edge:        ; preds = %.lr.ph.split
  %.pre129 = add nuw nsw i64 %indvars.iv, 1
  br label %.loopexit.split.us

76:                                               ; preds = %.lr.ph.split
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv120) #6
  %78 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %77, i64 noundef %49) #6
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %indvars.iv) #6
  %80 = add nuw nsw i64 %indvars.iv, 1
  br i1 %47, label %84, label %81

81:                                               ; preds = %76
  %82 = load i32, ptr %2, align 4
  %83 = sext i32 %82 to i64
  %.not82.not.us = icmp slt i64 %indvars.iv, %83
  %or.cond87.us = select i1 %.not81.not, i1 %.not82.not.us, i1 false
  br i1 %or.cond87.us, label %.sink.split, label %89

84:                                               ; preds = %76
  br i1 %or.cond86, label %.sink.split, label %89

.sink.split:                                      ; preds = %84, %81
  %indvars.iv.next121.sink = phi i64 [ %indvars.iv120, %81 ], [ %indvars.iv.next121, %84 ]
  %indvars.iv.sink = phi i64 [ %80, %81 ], [ %indvars.iv, %84 ]
  %85 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv.next121.sink) #6
  %86 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %85, i64 noundef %52) #6
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %indvars.iv.sink) #6
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 8 dereferenceable(8) %79)
  br label %89

89:                                               ; preds = %.sink.split, %84, %81
  br i1 %50, label %.loopexit.split.us, label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %2, align 4
  %92 = sext i32 %91 to i64
  %.not82.not.us.1 = icmp slt i64 %indvars.iv, %92
  %or.cond87.us.1 = select i1 %.not81.not, i1 %.not82.not.us.1, i1 false
  br i1 %or.cond87.us.1, label %93, label %.loopexit.split.us

93:                                               ; preds = %90
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %indvars.iv120) #6
  %95 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %94, i64 noundef %52) #6
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %95, i64 noundef %80) #6
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %96, ptr noundef nonnull align 8 dereferenceable(8) %79)
  br label %.loopexit.split.us

.loopexit.split.us:                               ; preds = %89, %90, %93, %.lr.ph.split..loopexit.split.us_crit_edge
  %indvars.iv.next.pre-phi = phi i64 [ %.pre129, %.lr.ph.split..loopexit.split.us_crit_edge ], [ %80, %93 ], [ %80, %90 ], [ %80, %89 ]
  %98 = load i32, ptr %2, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %.not80.not = icmp slt i64 %indvars.iv, %99
  br i1 %.not80.not, label %.lr.ph.split, label %._crit_edge, !llvm.loop !12

._crit_edge110:                                   ; preds = %103, %._crit_edge105
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsILx1000000007EERSoS0_RK4MintIXT_EE(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %110 unwind label %101

101:                                              ; preds = %110, %._crit_edge110
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  br label %113

103:                                              ; preds = %.lr.ph109, %103
  %indvars.iv123 = phi i64 [ 0, %.lr.ph109 ], [ %indvars.iv.next124, %103 ]
  %104 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %30) #6
  %105 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_I4MintILx1000000007EESaIS1_EESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %104, i64 noundef %30) #6
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorI4MintILx1000000007EESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %105, i64 noundef %indvars.iv123) #6
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4MintILx1000000007EEpLERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %106)
  %indvars.iv.next124 = add nuw nsw i64 %indvars.iv123, 1
  %108 = load i32, ptr %2, align 4, !tbaa !5
  %109 = sext i32 %108 to i64
  %.not74.not = icmp slt i64 %indvars.iv123, %109
  br i1 %.not74.not, label %103, label %._crit_edge110, !llvm.loop !17

110:                                              ; preds = %._crit_edge110
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %112 unwind label %101

112:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  ret i32 0

113:                                              ; preds = %101, %35
  %.pn = phi { ptr, i32 } [ %102, %101 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %114

114:                                              ; preds = %113, %33
  %.pn.pn = phi { ptr, i32 } [ %.pn, %113 ], [ %34, %33 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  br label %115

115:                                              ; preds = %114, %31
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %114 ], [ %32, %31 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %1) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z6ch_minIiEbRT_S0_(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z12Make3DVectorI4MintILx1000000007EEESt6vectorIS2_IS2_IT_SaIS3_EESaIS5_EESaIS7_EEmmmS3_(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i64 noundef, i64 noundef, i64 noundef, i64) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4MintILx1000000007EEC2Ex(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4MintILx1000000007EEeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZlsILx1000000007EERSoS0_RK4MintIXT_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IS_I4MintILx1000000007EESaIS1_EESaIS3_EESaIS5_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

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


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