; LLVM IR from chennachaos/PFEMFort :: src (genTetranovtk)

; 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_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca double, align 8
  %39 = alloca double, align 8
  %40 = alloca double, align 8
  %41 = alloca double, align 8
  %42 = alloca double, align 8
  %43 = alloca double, align 8
  %44 = alloca double, align 8
  %45 = alloca %"class.std::basic_ofstream", align 8
  %46 = alloca ptr, align 8
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::basic_ofstream", align 8
  %49 = alloca i32, align 4
  %50 = alloca [20 x i32], align 16
  %51 = alloca %"class.std::vector", align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca i32, align 4
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca i32, align 4
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca %"class.std::basic_ofstream", align 8
  %66 = alloca [3 x double], align 16
  %67 = alloca double, align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %69 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %71 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %72 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %73 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %74 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %75 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %76 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store double -1.600000e+00, ptr %8, align 8, !tbaa !11
  store double 1.600000e+00, ptr %9, align 8, !tbaa !11
  store i32 5, ptr %14, align 4, !tbaa !5
  store double -1.600000e+00, ptr %10, align 8, !tbaa !11
  store double 1.600000e+00, ptr %11, align 8, !tbaa !11
  store i32 5, ptr %15, align 4, !tbaa !5
  store double -1.600000e+00, ptr %12, align 8, !tbaa !11
  store double 1.600000e+00, ptr %13, align 8, !tbaa !11
  store i32 5, ptr %16, align 4, !tbaa !5
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = icmp eq i32 %77, 0
  br i1 %78, label %79, label %82

79:                                               ; preds = %2
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %119

82:                                               ; preds = %2
  %83 = load ptr, ptr %5, align 8, !tbaa !9
  %84 = getelementptr inbounds ptr, ptr %83, i64 1
  %85 = load ptr, ptr %84, align 8, !tbaa !9
  %86 = call double @atof(ptr noundef %85) #10
  store double %86, ptr %8, align 8, !tbaa !11
  %87 = load ptr, ptr %5, align 8, !tbaa !9
  %88 = getelementptr inbounds ptr, ptr %87, i64 2
  %89 = load ptr, ptr %88, align 8, !tbaa !9
  %90 = call double @atof(ptr noundef %89) #10
  store double %90, ptr %9, align 8, !tbaa !11
  %91 = load ptr, ptr %5, align 8, !tbaa !9
  %92 = getelementptr inbounds ptr, ptr %91, i64 3
  %93 = load ptr, ptr %92, align 8, !tbaa !9
  %94 = call i32 @atoi(ptr noundef %93) #10
  store i32 %94, ptr %14, align 4, !tbaa !5
  %95 = load ptr, ptr %5, align 8, !tbaa !9
  %96 = getelementptr inbounds ptr, ptr %95, i64 4
  %97 = load ptr, ptr %96, align 8, !tbaa !9
  %98 = call double @atof(ptr noundef %97) #10
  store double %98, ptr %10, align 8, !tbaa !11
  %99 = load ptr, ptr %5, align 8, !tbaa !9
  %100 = getelementptr inbounds ptr, ptr %99, i64 5
  %101 = load ptr, ptr %100, align 8, !tbaa !9
  %102 = call double @atof(ptr noundef %101) #10
  store double %102, ptr %11, align 8, !tbaa !11
  %103 = load ptr, ptr %5, align 8, !tbaa !9
  %104 = getelementptr inbounds ptr, ptr %103, i64 6
  %105 = load ptr, ptr %104, align 8, !tbaa !9
  %106 = call i32 @atoi(ptr noundef %105) #10
  store i32 %106, ptr %15, align 4, !tbaa !5
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  %108 = getelementptr inbounds ptr, ptr %107, i64 7
  %109 = load ptr, ptr %108, align 8, !tbaa !9
  %110 = call double @atof(ptr noundef %109) #10
  store double %110, ptr %12, align 8, !tbaa !11
  %111 = load ptr, ptr %5, align 8, !tbaa !9
  %112 = getelementptr inbounds ptr, ptr %111, i64 8
  %113 = load ptr, ptr %112, align 8, !tbaa !9
  %114 = call double @atof(ptr noundef %113) #10
  store double %114, ptr %13, align 8, !tbaa !11
  %115 = load ptr, ptr %5, align 8, !tbaa !9
  %116 = getelementptr inbounds ptr, ptr %115, i64 9
  %117 = load ptr, ptr %116, align 8, !tbaa !9
  %118 = call i32 @atoi(ptr noundef %117) #10
  store i32 %118, ptr %16, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %82, %79
  %120 = load i32, ptr %14, align 4, !tbaa !5
  %121 = load i32, ptr %15, align 4, !tbaa !5
  %122 = mul nsw i32 %120, %121
  %123 = load i32, ptr %16, align 4, !tbaa !5
  %124 = mul nsw i32 %122, %123
  store i32 %124, ptr %21, align 4, !tbaa !5
  %125 = load i32, ptr %14, align 4, !tbaa !5
  %126 = add nsw i32 %125, 1
  store i32 %126, ptr %17, align 4, !tbaa !5
  %127 = load i32, ptr %15, align 4, !tbaa !5
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %18, align 4, !tbaa !5
  %129 = load i32, ptr %16, align 4, !tbaa !5
  %130 = add nsw i32 %129, 1
  store i32 %130, ptr %19, align 4, !tbaa !5
  %131 = load i32, ptr %17, align 4, !tbaa !5
  %132 = load i32, ptr %18, align 4, !tbaa !5
  %133 = mul nsw i32 %131, %132
  %134 = load i32, ptr %19, align 4, !tbaa !5
  %135 = mul nsw i32 %133, %134
  store i32 %135, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #9
  %136 = load double, ptr %9, align 8, !tbaa !11
  %137 = load double, ptr %8, align 8, !tbaa !11
  %138 = fsub double %136, %137
  %139 = load i32, ptr %14, align 4, !tbaa !5
  %140 = sitofp i32 %139 to double
  %141 = fdiv double %138, %140
  store double %141, ptr %38, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #9
  %142 = load double, ptr %11, align 8, !tbaa !11
  %143 = load double, ptr %10, align 8, !tbaa !11
  %144 = fsub double %142, %143
  %145 = load i32, ptr %15, align 4, !tbaa !5
  %146 = sitofp i32 %145 to double
  %147 = fdiv double %144, %146
  store double %147, ptr %39, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #9
  %148 = load double, ptr %13, align 8, !tbaa !11
  %149 = load double, ptr %12, align 8, !tbaa !11
  %150 = fsub double %148, %149
  %151 = load i32, ptr %16, align 4, !tbaa !5
  %152 = sitofp i32 %151 to double
  %153 = fdiv double %150, %152
  store double %153, ptr %40, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #9
  %154 = load double, ptr %8, align 8, !tbaa !11
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %154)
  %156 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %155, i8 noundef signext 9)
  %157 = load double, ptr %9, align 8, !tbaa !11
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %156, double noundef %157)
  %159 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %160 = load double, ptr %10, align 8, !tbaa !11
  %161 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %160)
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %161, i8 noundef signext 9)
  %163 = load double, ptr %11, align 8, !tbaa !11
  %164 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %162, double noundef %163)
  %165 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %166 = load double, ptr %12, align 8, !tbaa !11
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %166)
  %168 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %167, i8 noundef signext 9)
  %169 = load double, ptr %13, align 8, !tbaa !11
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %168, double noundef %169)
  %171 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 512, ptr %45) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %45, ptr noundef @.str.1, i32 noundef 16)
  %172 = load ptr, ptr %45, align 8, !tbaa !13
  %173 = getelementptr i8, ptr %172, i64 -24
  %174 = load i64, ptr %173, align 8
  %175 = getelementptr inbounds i8, ptr %45, i64 %174
  %176 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %175)
          to label %177 unwind label %183

177:                                              ; preds = %119
  br i1 %176, label %178, label %187

178:                                              ; preds = %177
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %180 unwind label %183

180:                                              ; preds = %178
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %182 unwind label %183

182:                                              ; preds = %180
  call void @exit(i32 noundef 1) #11
  unreachable

183:                                              ; preds = %269, %267, %266, %241, %238, %236, %233, %231, %228, %226, %223, %199, %193, %187, %180, %178, %119
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %46, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %47, align 4
  br label %1048

187:                                              ; preds = %177
  %188 = load ptr, ptr %45, align 8, !tbaa !13
  %189 = getelementptr i8, ptr %188, i64 -24
  %190 = load i64, ptr %189, align 8
  %191 = getelementptr inbounds i8, ptr %45, i64 %190
  %192 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %191, i32 noundef 4)
          to label %193 unwind label %183

193:                                              ; preds = %187
  %194 = load ptr, ptr %45, align 8, !tbaa !13
  %195 = getelementptr i8, ptr %194, i64 -24
  %196 = load i64, ptr %195, align 8
  %197 = getelementptr inbounds i8, ptr %45, i64 %196
  %198 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %197, i32 noundef 1024)
          to label %199 unwind label %183

199:                                              ; preds = %193
  %200 = load ptr, ptr %45, align 8, !tbaa !13
  %201 = getelementptr i8, ptr %200, i64 -24
  %202 = load i64, ptr %201, align 8
  %203 = getelementptr inbounds i8, ptr %45, i64 %202
  %204 = invoke noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %203, i64 noundef 8)
          to label %205 unwind label %183

205:                                              ; preds = %199
  store i32 1, ptr %31, align 4, !tbaa !5
  %206 = load double, ptr %12, align 8, !tbaa !11
  store double %206, ptr %43, align 8, !tbaa !11
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %207

207:                                              ; preds = %263, %205
  %208 = load i32, ptr %24, align 4, !tbaa !5
  %209 = load i32, ptr %19, align 4, !tbaa !5
  %210 = icmp slt i32 %208, %209
  br i1 %210, label %211, label %266

211:                                              ; preds = %207
  %212 = load double, ptr %10, align 8, !tbaa !11
  store double %212, ptr %42, align 8, !tbaa !11
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %213

213:                                              ; preds = %256, %211
  %214 = load i32, ptr %23, align 4, !tbaa !5
  %215 = load i32, ptr %18, align 4, !tbaa !5
  %216 = icmp slt i32 %214, %215
  br i1 %216, label %217, label %259

217:                                              ; preds = %213
  %218 = load double, ptr %8, align 8, !tbaa !11
  store double %218, ptr %41, align 8, !tbaa !11
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %219

219:                                              ; preds = %249, %217
  %220 = load i32, ptr %22, align 4, !tbaa !5
  %221 = load i32, ptr %17, align 4, !tbaa !5
  %222 = icmp slt i32 %220, %221
  br i1 %222, label %223, label %252

223:                                              ; preds = %219
  %224 = load i32, ptr %31, align 4, !tbaa !5
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %45, i32 noundef %224)
          to label %226 unwind label %183

226:                                              ; preds = %223
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %225, i8 noundef signext 9)
          to label %228 unwind label %183

228:                                              ; preds = %226
  %229 = load double, ptr %41, align 8, !tbaa !11
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %227, double noundef %229)
          to label %231 unwind label %183

231:                                              ; preds = %228
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %230, i8 noundef signext 9)
          to label %233 unwind label %183

233:                                              ; preds = %231
  %234 = load double, ptr %42, align 8, !tbaa !11
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %232, double noundef %234)
          to label %236 unwind label %183

236:                                              ; preds = %233
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %235, i8 noundef signext 9)
          to label %238 unwind label %183

238:                                              ; preds = %236
  %239 = load double, ptr %43, align 8, !tbaa !11
  %240 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %237, double noundef %239)
          to label %241 unwind label %183

241:                                              ; preds = %238
  %242 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %240, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %243 unwind label %183

243:                                              ; preds = %241
  %244 = load double, ptr %38, align 8, !tbaa !11
  %245 = load double, ptr %41, align 8, !tbaa !11
  %246 = fadd double %245, %244
  store double %246, ptr %41, align 8, !tbaa !11
  %247 = load i32, ptr %31, align 4, !tbaa !5
  %248 = add nsw i32 %247, 1
  store i32 %248, ptr %31, align 4, !tbaa !5
  br label %249

249:                                              ; preds = %243
  %250 = load i32, ptr %22, align 4, !tbaa !5
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %22, align 4, !tbaa !5
  br label %219, !llvm.loop !15

252:                                              ; preds = %219
  %253 = load double, ptr %39, align 8, !tbaa !11
  %254 = load double, ptr %42, align 8, !tbaa !11
  %255 = fadd double %254, %253
  store double %255, ptr %42, align 8, !tbaa !11
  br label %256

256:                                              ; preds = %252
  %257 = load i32, ptr %23, align 4, !tbaa !5
  %258 = add nsw i32 %257, 1
  store i32 %258, ptr %23, align 4, !tbaa !5
  br label %213, !llvm.loop !17

259:                                              ; preds = %213
  %260 = load double, ptr %40, align 8, !tbaa !11
  %261 = load double, ptr %43, align 8, !tbaa !11
  %262 = fadd double %261, %260
  store double %262, ptr %43, align 8, !tbaa !11
  br label %263

263:                                              ; preds = %259
  %264 = load i32, ptr %24, align 4, !tbaa !5
  %265 = add nsw i32 %264, 1
  store i32 %265, ptr %24, align 4, !tbaa !5
  br label %207, !llvm.loop !18

266:                                              ; preds = %207
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %45)
          to label %267 unwind label %183

267:                                              ; preds = %266
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
          to label %269 unwind label %183

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %271 unwind label %183

271:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 512, ptr %48) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %48, ptr noundef @.str.4, i32 noundef 16)
          to label %272 unwind label %284

272:                                              ; preds = %271
  %273 = load ptr, ptr %48, align 8, !tbaa !13
  %274 = getelementptr i8, ptr %273, i64 -24
  %275 = load i64, ptr %274, align 8
  %276 = getelementptr inbounds i8, ptr %48, i64 %275
  %277 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %276)
          to label %278 unwind label %288

278:                                              ; preds = %272
  br i1 %277, label %279, label %292

279:                                              ; preds = %278
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %281 unwind label %288

281:                                              ; preds = %279
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %283 unwind label %288

283:                                              ; preds = %281
  call void @exit(i32 noundef 1) #11
  unreachable

284:                                              ; preds = %271
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %46, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %47, align 4
  br label %1047

288:                                              ; preds = %304, %298, %292, %281, %279, %272
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %46, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %47, align 4
  br label %1046

292:                                              ; preds = %278
  %293 = load ptr, ptr %48, align 8, !tbaa !13
  %294 = getelementptr i8, ptr %293, i64 -24
  %295 = load i64, ptr %294, align 8
  %296 = getelementptr inbounds i8, ptr %48, i64 %295
  %297 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %296, i32 noundef 4)
          to label %298 unwind label %288

298:                                              ; preds = %292
  %299 = load ptr, ptr %48, align 8, !tbaa !13
  %300 = getelementptr i8, ptr %299, i64 -24
  %301 = load i64, ptr %300, align 8
  %302 = getelementptr inbounds i8, ptr %48, i64 %301
  %303 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %302, i32 noundef 1024)
          to label %304 unwind label %288

304:                                              ; preds = %298
  %305 = load ptr, ptr %48, align 8, !tbaa !13
  %306 = getelementptr i8, ptr %305, i64 -24
  %307 = load i64, ptr %306, align 8
  %308 = getelementptr inbounds i8, ptr %48, i64 %307
  %309 = invoke noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %308, i64 noundef 8)
          to label %310 unwind label %288

310:                                              ; preds = %304
  %311 = load i32, ptr %17, align 4, !tbaa !5
  %312 = load i32, ptr %18, align 4, !tbaa !5
  %313 = mul nsw i32 %311, %312
  store i32 %313, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  store i32 1, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 80, ptr %50) #9
  store i32 0, ptr %31, align 4, !tbaa !5
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %595, %310
  %315 = load i32, ptr %24, align 4, !tbaa !5
  %316 = load i32, ptr %16, align 4, !tbaa !5
  %317 = icmp slt i32 %315, %316
  br i1 %317, label %318, label %598

318:                                              ; preds = %314
  %319 = load i32, ptr %30, align 4, !tbaa !5
  %320 = load i32, ptr %24, align 4, !tbaa !5
  %321 = mul nsw i32 %319, %320
  store i32 %321, ptr %36, align 4, !tbaa !5
  %322 = load i32, ptr %30, align 4, !tbaa !5
  %323 = load i32, ptr %24, align 4, !tbaa !5
  %324 = add nsw i32 %323, 1
  %325 = mul nsw i32 %322, %324
  store i32 %325, ptr %37, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %326

326:                                              ; preds = %591, %318
  %327 = load i32, ptr %23, align 4, !tbaa !5
  %328 = load i32, ptr %15, align 4, !tbaa !5
  %329 = icmp slt i32 %327, %328
  br i1 %329, label %330, label %594

330:                                              ; preds = %326
  %331 = load i32, ptr %36, align 4, !tbaa !5
  %332 = load i32, ptr %17, align 4, !tbaa !5
  %333 = load i32, ptr %23, align 4, !tbaa !5
  %334 = mul nsw i32 %332, %333
  %335 = add nsw i32 %331, %334
  store i32 %335, ptr %32, align 4, !tbaa !5
  %336 = load i32, ptr %36, align 4, !tbaa !5
  %337 = load i32, ptr %17, align 4, !tbaa !5
  %338 = load i32, ptr %23, align 4, !tbaa !5
  %339 = add nsw i32 %338, 1
  %340 = mul nsw i32 %337, %339
  %341 = add nsw i32 %336, %340
  store i32 %341, ptr %33, align 4, !tbaa !5
  %342 = load i32, ptr %37, align 4, !tbaa !5
  %343 = load i32, ptr %17, align 4, !tbaa !5
  %344 = load i32, ptr %23, align 4, !tbaa !5
  %345 = mul nsw i32 %343, %344
  %346 = add nsw i32 %342, %345
  store i32 %346, ptr %34, align 4, !tbaa !5
  %347 = load i32, ptr %37, align 4, !tbaa !5
  %348 = load i32, ptr %17, align 4, !tbaa !5
  %349 = load i32, ptr %23, align 4, !tbaa !5
  %350 = add nsw i32 %349, 1
  %351 = mul nsw i32 %348, %350
  %352 = add nsw i32 %347, %351
  store i32 %352, ptr %35, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %353

353:                                              ; preds = %583, %330
  %354 = load i32, ptr %22, align 4, !tbaa !5
  %355 = load i32, ptr %14, align 4, !tbaa !5
  %356 = icmp slt i32 %354, %355
  br i1 %356, label %357, label %590

357:                                              ; preds = %353
  %358 = load i32, ptr %32, align 4, !tbaa !5
  %359 = load i32, ptr %22, align 4, !tbaa !5
  %360 = add nsw i32 %358, %359
  %361 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 0
  store i32 %360, ptr %361, align 16, !tbaa !5
  %362 = load i32, ptr %34, align 4, !tbaa !5
  %363 = load i32, ptr %22, align 4, !tbaa !5
  %364 = add nsw i32 %362, %363
  %365 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 4
  store i32 %364, ptr %365, align 16, !tbaa !5
  %366 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 0
  %367 = load i32, ptr %366, align 16, !tbaa !5
  %368 = add nsw i32 %367, 1
  %369 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 1
  store i32 %368, ptr %369, align 4, !tbaa !5
  %370 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 4
  %371 = load i32, ptr %370, align 16, !tbaa !5
  %372 = add nsw i32 %371, 1
  %373 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  store i32 %372, ptr %373, align 4, !tbaa !5
  %374 = load i32, ptr %33, align 4, !tbaa !5
  %375 = load i32, ptr %22, align 4, !tbaa !5
  %376 = add nsw i32 %374, %375
  %377 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  store i32 %376, ptr %377, align 8, !tbaa !5
  %378 = load i32, ptr %35, align 4, !tbaa !5
  %379 = load i32, ptr %22, align 4, !tbaa !5
  %380 = add nsw i32 %378, %379
  %381 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 6
  store i32 %380, ptr %381, align 8, !tbaa !5
  %382 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %383 = load i32, ptr %382, align 8, !tbaa !5
  %384 = add nsw i32 %383, 1
  %385 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 3
  store i32 %384, ptr %385, align 4, !tbaa !5
  %386 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 6
  %387 = load i32, ptr %386, align 8, !tbaa !5
  %388 = add nsw i32 %387, 1
  %389 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 7
  store i32 %388, ptr %389, align 4, !tbaa !5
  store i32 0, ptr %25, align 4, !tbaa !5
  br label %390

390:                                              ; preds = %399, %357
  %391 = load i32, ptr %25, align 4, !tbaa !5
  %392 = icmp slt i32 %391, 8
  br i1 %392, label %393, label %402

393:                                              ; preds = %390
  %394 = load i32, ptr %25, align 4, !tbaa !5
  %395 = sext i32 %394 to i64
  %396 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 %395
  %397 = load i32, ptr %396, align 4, !tbaa !5
  %398 = add nsw i32 %397, 1
  store i32 %398, ptr %396, align 4, !tbaa !5
  br label %399

399:                                              ; preds = %393
  %400 = load i32, ptr %25, align 4, !tbaa !5
  %401 = add nsw i32 %400, 1
  store i32 %401, ptr %25, align 4, !tbaa !5
  br label %390, !llvm.loop !19

402:                                              ; preds = %390
  %403 = load i32, ptr %49, align 4, !tbaa !5
  %404 = add nsw i32 %403, 1
  store i32 %404, ptr %49, align 4, !tbaa !5
  %405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %403)
          to label %406 unwind label %586

406:                                              ; preds = %402
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %405, i8 noundef signext 9)
          to label %408 unwind label %586

408:                                              ; preds = %406
  %409 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 0
  %410 = load i32, ptr %409, align 16, !tbaa !5
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %407, i32 noundef %410)
          to label %412 unwind label %586

412:                                              ; preds = %408
  %413 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %411, i8 noundef signext 9)
          to label %414 unwind label %586

414:                                              ; preds = %412
  %415 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 1
  %416 = load i32, ptr %415, align 4, !tbaa !5
  %417 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %413, i32 noundef %416)
          to label %418 unwind label %586

418:                                              ; preds = %414
  %419 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %417, i8 noundef signext 9)
          to label %420 unwind label %586

420:                                              ; preds = %418
  %421 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 3
  %422 = load i32, ptr %421, align 4, !tbaa !5
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %419, i32 noundef %422)
          to label %424 unwind label %586

424:                                              ; preds = %420
  %425 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %423, i8 noundef signext 9)
          to label %426 unwind label %586

426:                                              ; preds = %424
  %427 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  %428 = load i32, ptr %427, align 4, !tbaa !5
  %429 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %425, i32 noundef %428)
          to label %430 unwind label %586

430:                                              ; preds = %426
  %431 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %429, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %432 unwind label %586

432:                                              ; preds = %430
  %433 = load i32, ptr %49, align 4, !tbaa !5
  %434 = add nsw i32 %433, 1
  store i32 %434, ptr %49, align 4, !tbaa !5
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %433)
          to label %436 unwind label %586

436:                                              ; preds = %432
  %437 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %435, i8 noundef signext 9)
          to label %438 unwind label %586

438:                                              ; preds = %436
  %439 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 0
  %440 = load i32, ptr %439, align 16, !tbaa !5
  %441 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %437, i32 noundef %440)
          to label %442 unwind label %586

442:                                              ; preds = %438
  %443 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %441, i8 noundef signext 9)
          to label %444 unwind label %586

444:                                              ; preds = %442
  %445 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 3
  %446 = load i32, ptr %445, align 4, !tbaa !5
  %447 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %443, i32 noundef %446)
          to label %448 unwind label %586

448:                                              ; preds = %444
  %449 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %447, i8 noundef signext 9)
          to label %450 unwind label %586

450:                                              ; preds = %448
  %451 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %452 = load i32, ptr %451, align 8, !tbaa !5
  %453 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %449, i32 noundef %452)
          to label %454 unwind label %586

454:                                              ; preds = %450
  %455 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %453, i8 noundef signext 9)
          to label %456 unwind label %586

456:                                              ; preds = %454
  %457 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  %458 = load i32, ptr %457, align 4, !tbaa !5
  %459 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %455, i32 noundef %458)
          to label %460 unwind label %586

460:                                              ; preds = %456
  %461 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %459, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %462 unwind label %586

462:                                              ; preds = %460
  %463 = load i32, ptr %49, align 4, !tbaa !5
  %464 = add nsw i32 %463, 1
  store i32 %464, ptr %49, align 4, !tbaa !5
  %465 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %463)
          to label %466 unwind label %586

466:                                              ; preds = %462
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %465, i8 noundef signext 9)
          to label %468 unwind label %586

468:                                              ; preds = %466
  %469 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %470 = load i32, ptr %469, align 8, !tbaa !5
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %467, i32 noundef %470)
          to label %472 unwind label %586

472:                                              ; preds = %468
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %471, i8 noundef signext 9)
          to label %474 unwind label %586

474:                                              ; preds = %472
  %475 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 3
  %476 = load i32, ptr %475, align 4, !tbaa !5
  %477 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %473, i32 noundef %476)
          to label %478 unwind label %586

478:                                              ; preds = %474
  %479 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %477, i8 noundef signext 9)
          to label %480 unwind label %586

480:                                              ; preds = %478
  %481 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 7
  %482 = load i32, ptr %481, align 4, !tbaa !5
  %483 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %479, i32 noundef %482)
          to label %484 unwind label %586

484:                                              ; preds = %480
  %485 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %483, i8 noundef signext 9)
          to label %486 unwind label %586

486:                                              ; preds = %484
  %487 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  %488 = load i32, ptr %487, align 4, !tbaa !5
  %489 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %485, i32 noundef %488)
          to label %490 unwind label %586

490:                                              ; preds = %486
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %489, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %492 unwind label %586

492:                                              ; preds = %490
  %493 = load i32, ptr %49, align 4, !tbaa !5
  %494 = add nsw i32 %493, 1
  store i32 %494, ptr %49, align 4, !tbaa !5
  %495 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %493)
          to label %496 unwind label %586

496:                                              ; preds = %492
  %497 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %495, i8 noundef signext 9)
          to label %498 unwind label %586

498:                                              ; preds = %496
  %499 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 4
  %500 = load i32, ptr %499, align 16, !tbaa !5
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %497, i32 noundef %500)
          to label %502 unwind label %586

502:                                              ; preds = %498
  %503 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %501, i8 noundef signext 9)
          to label %504 unwind label %586

504:                                              ; preds = %502
  %505 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 6
  %506 = load i32, ptr %505, align 8, !tbaa !5
  %507 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %503, i32 noundef %506)
          to label %508 unwind label %586

508:                                              ; preds = %504
  %509 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %507, i8 noundef signext 9)
          to label %510 unwind label %586

510:                                              ; preds = %508
  %511 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 7
  %512 = load i32, ptr %511, align 4, !tbaa !5
  %513 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %509, i32 noundef %512)
          to label %514 unwind label %586

514:                                              ; preds = %510
  %515 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %513, i8 noundef signext 9)
          to label %516 unwind label %586

516:                                              ; preds = %514
  %517 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %518 = load i32, ptr %517, align 8, !tbaa !5
  %519 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %515, i32 noundef %518)
          to label %520 unwind label %586

520:                                              ; preds = %516
  %521 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %519, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %522 unwind label %586

522:                                              ; preds = %520
  %523 = load i32, ptr %49, align 4, !tbaa !5
  %524 = add nsw i32 %523, 1
  store i32 %524, ptr %49, align 4, !tbaa !5
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %523)
          to label %526 unwind label %586

526:                                              ; preds = %522
  %527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %525, i8 noundef signext 9)
          to label %528 unwind label %586

528:                                              ; preds = %526
  %529 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 4
  %530 = load i32, ptr %529, align 16, !tbaa !5
  %531 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %527, i32 noundef %530)
          to label %532 unwind label %586

532:                                              ; preds = %528
  %533 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %531, i8 noundef signext 9)
          to label %534 unwind label %586

534:                                              ; preds = %532
  %535 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 7
  %536 = load i32, ptr %535, align 4, !tbaa !5
  %537 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %533, i32 noundef %536)
          to label %538 unwind label %586

538:                                              ; preds = %534
  %539 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %537, i8 noundef signext 9)
          to label %540 unwind label %586

540:                                              ; preds = %538
  %541 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  %542 = load i32, ptr %541, align 4, !tbaa !5
  %543 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %539, i32 noundef %542)
          to label %544 unwind label %586

544:                                              ; preds = %540
  %545 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %543, i8 noundef signext 9)
          to label %546 unwind label %586

546:                                              ; preds = %544
  %547 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %548 = load i32, ptr %547, align 8, !tbaa !5
  %549 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %545, i32 noundef %548)
          to label %550 unwind label %586

550:                                              ; preds = %546
  %551 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %549, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %552 unwind label %586

552:                                              ; preds = %550
  %553 = load i32, ptr %49, align 4, !tbaa !5
  %554 = add nsw i32 %553, 1
  store i32 %554, ptr %49, align 4, !tbaa !5
  %555 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %48, i32 noundef %553)
          to label %556 unwind label %586

556:                                              ; preds = %552
  %557 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %555, i8 noundef signext 9)
          to label %558 unwind label %586

558:                                              ; preds = %556
  %559 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 0
  %560 = load i32, ptr %559, align 16, !tbaa !5
  %561 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %557, i32 noundef %560)
          to label %562 unwind label %586

562:                                              ; preds = %558
  %563 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %561, i8 noundef signext 9)
          to label %564 unwind label %586

564:                                              ; preds = %562
  %565 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 4
  %566 = load i32, ptr %565, align 16, !tbaa !5
  %567 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %563, i32 noundef %566)
          to label %568 unwind label %586

568:                                              ; preds = %564
  %569 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %567, i8 noundef signext 9)
          to label %570 unwind label %586

570:                                              ; preds = %568
  %571 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 5
  %572 = load i32, ptr %571, align 4, !tbaa !5
  %573 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %569, i32 noundef %572)
          to label %574 unwind label %586

574:                                              ; preds = %570
  %575 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %573, i8 noundef signext 9)
          to label %576 unwind label %586

576:                                              ; preds = %574
  %577 = getelementptr inbounds [20 x i32], ptr %50, i64 0, i64 2
  %578 = load i32, ptr %577, align 8, !tbaa !5
  %579 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %575, i32 noundef %578)
          to label %580 unwind label %586

580:                                              ; preds = %576
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %579, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %582 unwind label %586

582:                                              ; preds = %580
  br label %583

583:                                              ; preds = %582
  %584 = load i32, ptr %22, align 4, !tbaa !5
  %585 = add nsw i32 %584, 1
  store i32 %585, ptr %22, align 4, !tbaa !5
  br label %353, !llvm.loop !20

586:                                              ; preds = %598, %580, %576, %574, %570, %568, %564, %562, %558, %556, %552, %550, %546, %544, %540, %538, %534, %532, %528, %526, %522, %520, %516, %514, %510, %508, %504, %502, %498, %496, %492, %490, %486, %484, %480, %478, %474, %472, %468, %466, %462, %460, %456, %454, %450, %448, %444, %442, %438, %436, %432, %430, %426, %424, %420, %418, %414, %412, %408, %406, %402
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %46, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %47, align 4
  br label %1045

590:                                              ; preds = %353
  br label %591

591:                                              ; preds = %590
  %592 = load i32, ptr %23, align 4, !tbaa !5
  %593 = add nsw i32 %592, 1
  store i32 %593, ptr %23, align 4, !tbaa !5
  br label %326, !llvm.loop !21

594:                                              ; preds = %326
  br label %595

595:                                              ; preds = %594
  %596 = load i32, ptr %24, align 4, !tbaa !5
  %597 = add nsw i32 %596, 1
  store i32 %597, ptr %24, align 4, !tbaa !5
  br label %314, !llvm.loop !22

598:                                              ; preds = %314
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %48)
          to label %599 unwind label %586

599:                                              ; preds = %598
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %600 = load i32, ptr %17, align 4, !tbaa !5
  %601 = load i32, ptr %18, align 4, !tbaa !5
  %602 = mul nsw i32 %600, %601
  store i32 %602, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  store i32 1, ptr %52, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #9
  store i32 1, ptr %53, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #9
  store i32 1, ptr %54, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #9
  store i32 1, ptr %55, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #9
  store i32 1, ptr %56, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #9
  store i32 1, ptr %57, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #9
  store i32 1, ptr %58, align 4, !tbaa !5
  %603 = load i32, ptr %52, align 4, !tbaa !5
  %604 = icmp eq i32 %603, 1
  br i1 %604, label %605, label %649

605:                                              ; preds = %599
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %606

606:                                              ; preds = %645, %605
  %607 = load i32, ptr %24, align 4, !tbaa !5
  %608 = load i32, ptr %19, align 4, !tbaa !5
  %609 = icmp slt i32 %607, %608
  br i1 %609, label %610, label %648

610:                                              ; preds = %606
  %611 = load i32, ptr %30, align 4, !tbaa !5
  %612 = load i32, ptr %24, align 4, !tbaa !5
  %613 = mul nsw i32 %611, %612
  store i32 %613, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %614

614:                                              ; preds = %641, %610
  %615 = load i32, ptr %23, align 4, !tbaa !5
  %616 = load i32, ptr %17, align 4, !tbaa !5
  %617 = icmp slt i32 %615, %616
  br i1 %617, label %618, label %644

618:                                              ; preds = %614
  %619 = load i32, ptr %36, align 4, !tbaa !5
  %620 = load i32, ptr %17, align 4, !tbaa !5
  %621 = load i32, ptr %23, align 4, !tbaa !5
  %622 = mul nsw i32 %620, %621
  %623 = add nsw i32 %619, %622
  store i32 %623, ptr %32, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %624

624:                                              ; preds = %633, %618
  %625 = load i32, ptr %22, align 4, !tbaa !5
  %626 = icmp slt i32 %625, 1
  br i1 %626, label %627, label %640

627:                                              ; preds = %624
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #9
  %628 = load i32, ptr %32, align 4, !tbaa !5
  %629 = load i32, ptr %22, align 4, !tbaa !5
  %630 = add nsw i32 %628, %629
  %631 = add nsw i32 %630, 1
  store i32 %631, ptr %59, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %59)
          to label %632 unwind label %636

632:                                              ; preds = %627
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %633

633:                                              ; preds = %632
  %634 = load i32, ptr %22, align 4, !tbaa !5
  %635 = add nsw i32 %634, 1
  store i32 %635, ptr %22, align 4, !tbaa !5
  br label %624, !llvm.loop !23

636:                                              ; preds = %627
  %637 = landingpad { ptr, i32 }
          cleanup
  %638 = extractvalue { ptr, i32 } %637, 0
  store ptr %638, ptr %46, align 8
  %639 = extractvalue { ptr, i32 } %637, 1
  store i32 %639, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %1044

640:                                              ; preds = %624
  br label %641

641:                                              ; preds = %640
  %642 = load i32, ptr %23, align 4, !tbaa !5
  %643 = add nsw i32 %642, 1
  store i32 %643, ptr %23, align 4, !tbaa !5
  br label %614, !llvm.loop !24

644:                                              ; preds = %614
  br label %645

645:                                              ; preds = %644
  %646 = load i32, ptr %24, align 4, !tbaa !5
  %647 = add nsw i32 %646, 1
  store i32 %647, ptr %24, align 4, !tbaa !5
  br label %606, !llvm.loop !25

648:                                              ; preds = %606
  br label %649

649:                                              ; preds = %648, %599
  %650 = load i32, ptr %53, align 4, !tbaa !5
  %651 = icmp eq i32 %650, 1
  br i1 %651, label %652, label %699

652:                                              ; preds = %649
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %653

653:                                              ; preds = %695, %652
  %654 = load i32, ptr %24, align 4, !tbaa !5
  %655 = load i32, ptr %19, align 4, !tbaa !5
  %656 = icmp slt i32 %654, %655
  br i1 %656, label %657, label %698

657:                                              ; preds = %653
  %658 = load i32, ptr %30, align 4, !tbaa !5
  %659 = load i32, ptr %24, align 4, !tbaa !5
  %660 = mul nsw i32 %658, %659
  store i32 %660, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %661

661:                                              ; preds = %691, %657
  %662 = load i32, ptr %23, align 4, !tbaa !5
  %663 = load i32, ptr %18, align 4, !tbaa !5
  %664 = icmp slt i32 %662, %663
  br i1 %664, label %665, label %694

665:                                              ; preds = %661
  %666 = load i32, ptr %36, align 4, !tbaa !5
  %667 = load i32, ptr %17, align 4, !tbaa !5
  %668 = load i32, ptr %23, align 4, !tbaa !5
  %669 = mul nsw i32 %667, %668
  %670 = add nsw i32 %666, %669
  store i32 %670, ptr %32, align 4, !tbaa !5
  %671 = load i32, ptr %17, align 4, !tbaa !5
  %672 = sub nsw i32 %671, 1
  store i32 %672, ptr %22, align 4, !tbaa !5
  br label %673

673:                                              ; preds = %683, %665
  %674 = load i32, ptr %22, align 4, !tbaa !5
  %675 = load i32, ptr %17, align 4, !tbaa !5
  %676 = icmp slt i32 %674, %675
  br i1 %676, label %677, label %690

677:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  %678 = load i32, ptr %32, align 4, !tbaa !5
  %679 = load i32, ptr %22, align 4, !tbaa !5
  %680 = add nsw i32 %678, %679
  %681 = add nsw i32 %680, 1
  store i32 %681, ptr %60, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %60)
          to label %682 unwind label %686

682:                                              ; preds = %677
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  br label %683

683:                                              ; preds = %682
  %684 = load i32, ptr %22, align 4, !tbaa !5
  %685 = add nsw i32 %684, 1
  store i32 %685, ptr %22, align 4, !tbaa !5
  br label %673, !llvm.loop !26

686:                                              ; preds = %677
  %687 = landingpad { ptr, i32 }
          cleanup
  %688 = extractvalue { ptr, i32 } %687, 0
  store ptr %688, ptr %46, align 8
  %689 = extractvalue { ptr, i32 } %687, 1
  store i32 %689, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  br label %1044

690:                                              ; preds = %673
  br label %691

691:                                              ; preds = %690
  %692 = load i32, ptr %23, align 4, !tbaa !5
  %693 = add nsw i32 %692, 1
  store i32 %693, ptr %23, align 4, !tbaa !5
  br label %661, !llvm.loop !27

694:                                              ; preds = %661
  br label %695

695:                                              ; preds = %694
  %696 = load i32, ptr %24, align 4, !tbaa !5
  %697 = add nsw i32 %696, 1
  store i32 %697, ptr %24, align 4, !tbaa !5
  br label %653, !llvm.loop !28

698:                                              ; preds = %653
  br label %699

699:                                              ; preds = %698, %649
  %700 = load i32, ptr %54, align 4, !tbaa !5
  %701 = icmp eq i32 %700, 1
  br i1 %701, label %702, label %746

702:                                              ; preds = %699
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %703

703:                                              ; preds = %742, %702
  %704 = load i32, ptr %24, align 4, !tbaa !5
  %705 = load i32, ptr %19, align 4, !tbaa !5
  %706 = icmp slt i32 %704, %705
  br i1 %706, label %707, label %745

707:                                              ; preds = %703
  %708 = load i32, ptr %30, align 4, !tbaa !5
  %709 = load i32, ptr %24, align 4, !tbaa !5
  %710 = mul nsw i32 %708, %709
  store i32 %710, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %711

711:                                              ; preds = %738, %707
  %712 = load i32, ptr %23, align 4, !tbaa !5
  %713 = icmp slt i32 %712, 1
  br i1 %713, label %714, label %741

714:                                              ; preds = %711
  %715 = load i32, ptr %36, align 4, !tbaa !5
  %716 = load i32, ptr %17, align 4, !tbaa !5
  %717 = load i32, ptr %23, align 4, !tbaa !5
  %718 = mul nsw i32 %716, %717
  %719 = add nsw i32 %715, %718
  store i32 %719, ptr %32, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %720

720:                                              ; preds = %730, %714
  %721 = load i32, ptr %22, align 4, !tbaa !5
  %722 = load i32, ptr %17, align 4, !tbaa !5
  %723 = icmp slt i32 %721, %722
  br i1 %723, label %724, label %737

724:                                              ; preds = %720
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #9
  %725 = load i32, ptr %32, align 4, !tbaa !5
  %726 = load i32, ptr %22, align 4, !tbaa !5
  %727 = add nsw i32 %725, %726
  %728 = add nsw i32 %727, 1
  store i32 %728, ptr %61, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %61)
          to label %729 unwind label %733

729:                                              ; preds = %724
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %730

730:                                              ; preds = %729
  %731 = load i32, ptr %22, align 4, !tbaa !5
  %732 = add nsw i32 %731, 1
  store i32 %732, ptr %22, align 4, !tbaa !5
  br label %720, !llvm.loop !29

733:                                              ; preds = %724
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %46, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  br label %1044

737:                                              ; preds = %720
  br label %738

738:                                              ; preds = %737
  %739 = load i32, ptr %23, align 4, !tbaa !5
  %740 = add nsw i32 %739, 1
  store i32 %740, ptr %23, align 4, !tbaa !5
  br label %711, !llvm.loop !30

741:                                              ; preds = %711
  br label %742

742:                                              ; preds = %741
  %743 = load i32, ptr %24, align 4, !tbaa !5
  %744 = add nsw i32 %743, 1
  store i32 %744, ptr %24, align 4, !tbaa !5
  br label %703, !llvm.loop !31

745:                                              ; preds = %703
  br label %746

746:                                              ; preds = %745, %699
  %747 = load i32, ptr %55, align 4, !tbaa !5
  %748 = icmp eq i32 %747, 1
  br i1 %748, label %749, label %800

749:                                              ; preds = %746
  store i32 0, ptr %31, align 4, !tbaa !5
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %750

750:                                              ; preds = %796, %749
  %751 = load i32, ptr %24, align 4, !tbaa !5
  %752 = load i32, ptr %19, align 4, !tbaa !5
  %753 = icmp slt i32 %751, %752
  br i1 %753, label %754, label %799

754:                                              ; preds = %750
  %755 = load i32, ptr %30, align 4, !tbaa !5
  %756 = load i32, ptr %24, align 4, !tbaa !5
  %757 = mul nsw i32 %755, %756
  store i32 %757, ptr %36, align 4, !tbaa !5
  %758 = load i32, ptr %30, align 4, !tbaa !5
  %759 = load i32, ptr %24, align 4, !tbaa !5
  %760 = add nsw i32 %759, 1
  %761 = mul nsw i32 %758, %760
  store i32 %761, ptr %37, align 4, !tbaa !5
  %762 = load i32, ptr %18, align 4, !tbaa !5
  %763 = sub nsw i32 %762, 1
  store i32 %763, ptr %23, align 4, !tbaa !5
  br label %764

764:                                              ; preds = %792, %754
  %765 = load i32, ptr %23, align 4, !tbaa !5
  %766 = load i32, ptr %18, align 4, !tbaa !5
  %767 = icmp slt i32 %765, %766
  br i1 %767, label %768, label %795

768:                                              ; preds = %764
  %769 = load i32, ptr %36, align 4, !tbaa !5
  %770 = load i32, ptr %17, align 4, !tbaa !5
  %771 = load i32, ptr %23, align 4, !tbaa !5
  %772 = mul nsw i32 %770, %771
  %773 = add nsw i32 %769, %772
  store i32 %773, ptr %32, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %774

774:                                              ; preds = %784, %768
  %775 = load i32, ptr %22, align 4, !tbaa !5
  %776 = load i32, ptr %17, align 4, !tbaa !5
  %777 = icmp slt i32 %775, %776
  br i1 %777, label %778, label %791

778:                                              ; preds = %774
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #9
  %779 = load i32, ptr %32, align 4, !tbaa !5
  %780 = load i32, ptr %22, align 4, !tbaa !5
  %781 = add nsw i32 %779, %780
  %782 = add nsw i32 %781, 1
  store i32 %782, ptr %62, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %62)
          to label %783 unwind label %787

783:                                              ; preds = %778
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  br label %784

784:                                              ; preds = %783
  %785 = load i32, ptr %22, align 4, !tbaa !5
  %786 = add nsw i32 %785, 1
  store i32 %786, ptr %22, align 4, !tbaa !5
  br label %774, !llvm.loop !32

787:                                              ; preds = %778
  %788 = landingpad { ptr, i32 }
          cleanup
  %789 = extractvalue { ptr, i32 } %788, 0
  store ptr %789, ptr %46, align 8
  %790 = extractvalue { ptr, i32 } %788, 1
  store i32 %790, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  br label %1044

791:                                              ; preds = %774
  br label %792

792:                                              ; preds = %791
  %793 = load i32, ptr %23, align 4, !tbaa !5
  %794 = add nsw i32 %793, 1
  store i32 %794, ptr %23, align 4, !tbaa !5
  br label %764, !llvm.loop !33

795:                                              ; preds = %764
  br label %796

796:                                              ; preds = %795
  %797 = load i32, ptr %24, align 4, !tbaa !5
  %798 = add nsw i32 %797, 1
  store i32 %798, ptr %24, align 4, !tbaa !5
  br label %750, !llvm.loop !34

799:                                              ; preds = %750
  br label %800

800:                                              ; preds = %799, %746
  %801 = load i32, ptr %56, align 4, !tbaa !5
  %802 = icmp eq i32 %801, 1
  br i1 %802, label %803, label %847

803:                                              ; preds = %800
  store i32 0, ptr %24, align 4, !tbaa !5
  br label %804

804:                                              ; preds = %843, %803
  %805 = load i32, ptr %24, align 4, !tbaa !5
  %806 = icmp slt i32 %805, 1
  br i1 %806, label %807, label %846

807:                                              ; preds = %804
  %808 = load i32, ptr %30, align 4, !tbaa !5
  %809 = load i32, ptr %24, align 4, !tbaa !5
  %810 = mul nsw i32 %808, %809
  store i32 %810, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %811

811:                                              ; preds = %839, %807
  %812 = load i32, ptr %23, align 4, !tbaa !5
  %813 = load i32, ptr %18, align 4, !tbaa !5
  %814 = icmp slt i32 %812, %813
  br i1 %814, label %815, label %842

815:                                              ; preds = %811
  %816 = load i32, ptr %36, align 4, !tbaa !5
  %817 = load i32, ptr %17, align 4, !tbaa !5
  %818 = load i32, ptr %23, align 4, !tbaa !5
  %819 = mul nsw i32 %817, %818
  %820 = add nsw i32 %816, %819
  store i32 %820, ptr %32, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %821

821:                                              ; preds = %831, %815
  %822 = load i32, ptr %22, align 4, !tbaa !5
  %823 = load i32, ptr %17, align 4, !tbaa !5
  %824 = icmp slt i32 %822, %823
  br i1 %824, label %825, label %838

825:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  %826 = load i32, ptr %32, align 4, !tbaa !5
  %827 = load i32, ptr %22, align 4, !tbaa !5
  %828 = add nsw i32 %826, %827
  %829 = add nsw i32 %828, 1
  store i32 %829, ptr %63, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %63)
          to label %830 unwind label %834

830:                                              ; preds = %825
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %831

831:                                              ; preds = %830
  %832 = load i32, ptr %22, align 4, !tbaa !5
  %833 = add nsw i32 %832, 1
  store i32 %833, ptr %22, align 4, !tbaa !5
  br label %821, !llvm.loop !35

834:                                              ; preds = %825
  %835 = landingpad { ptr, i32 }
          cleanup
  %836 = extractvalue { ptr, i32 } %835, 0
  store ptr %836, ptr %46, align 8
  %837 = extractvalue { ptr, i32 } %835, 1
  store i32 %837, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %1044

838:                                              ; preds = %821
  br label %839

839:                                              ; preds = %838
  %840 = load i32, ptr %23, align 4, !tbaa !5
  %841 = add nsw i32 %840, 1
  store i32 %841, ptr %23, align 4, !tbaa !5
  br label %811, !llvm.loop !36

842:                                              ; preds = %811
  br label %843

843:                                              ; preds = %842
  %844 = load i32, ptr %24, align 4, !tbaa !5
  %845 = add nsw i32 %844, 1
  store i32 %845, ptr %24, align 4, !tbaa !5
  br label %804, !llvm.loop !37

846:                                              ; preds = %804
  br label %847

847:                                              ; preds = %846, %800
  %848 = load i32, ptr %57, align 4, !tbaa !5
  %849 = icmp eq i32 %848, 1
  br i1 %849, label %850, label %897

850:                                              ; preds = %847
  %851 = load i32, ptr %19, align 4, !tbaa !5
  %852 = sub nsw i32 %851, 1
  store i32 %852, ptr %24, align 4, !tbaa !5
  br label %853

853:                                              ; preds = %893, %850
  %854 = load i32, ptr %24, align 4, !tbaa !5
  %855 = load i32, ptr %19, align 4, !tbaa !5
  %856 = icmp slt i32 %854, %855
  br i1 %856, label %857, label %896

857:                                              ; preds = %853
  %858 = load i32, ptr %30, align 4, !tbaa !5
  %859 = load i32, ptr %24, align 4, !tbaa !5
  %860 = mul nsw i32 %858, %859
  store i32 %860, ptr %36, align 4, !tbaa !5
  store i32 0, ptr %23, align 4, !tbaa !5
  br label %861

861:                                              ; preds = %889, %857
  %862 = load i32, ptr %23, align 4, !tbaa !5
  %863 = load i32, ptr %18, align 4, !tbaa !5
  %864 = icmp slt i32 %862, %863
  br i1 %864, label %865, label %892

865:                                              ; preds = %861
  %866 = load i32, ptr %36, align 4, !tbaa !5
  %867 = load i32, ptr %17, align 4, !tbaa !5
  %868 = load i32, ptr %23, align 4, !tbaa !5
  %869 = mul nsw i32 %867, %868
  %870 = add nsw i32 %866, %869
  store i32 %870, ptr %32, align 4, !tbaa !5
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %871

871:                                              ; preds = %881, %865
  %872 = load i32, ptr %22, align 4, !tbaa !5
  %873 = load i32, ptr %17, align 4, !tbaa !5
  %874 = icmp slt i32 %872, %873
  br i1 %874, label %875, label %888

875:                                              ; preds = %871
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #9
  %876 = load i32, ptr %32, align 4, !tbaa !5
  %877 = load i32, ptr %22, align 4, !tbaa !5
  %878 = add nsw i32 %876, %877
  %879 = add nsw i32 %878, 1
  store i32 %879, ptr %64, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 4 dereferenceable(4) %64)
          to label %880 unwind label %884

880:                                              ; preds = %875
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %881

881:                                              ; preds = %880
  %882 = load i32, ptr %22, align 4, !tbaa !5
  %883 = add nsw i32 %882, 1
  store i32 %883, ptr %22, align 4, !tbaa !5
  br label %871, !llvm.loop !38

884:                                              ; preds = %875
  %885 = landingpad { ptr, i32 }
          cleanup
  %886 = extractvalue { ptr, i32 } %885, 0
  store ptr %886, ptr %46, align 8
  %887 = extractvalue { ptr, i32 } %885, 1
  store i32 %887, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %1044

888:                                              ; preds = %871
  br label %889

889:                                              ; preds = %888
  %890 = load i32, ptr %23, align 4, !tbaa !5
  %891 = add nsw i32 %890, 1
  store i32 %891, ptr %23, align 4, !tbaa !5
  br label %861, !llvm.loop !39

892:                                              ; preds = %861
  br label %893

893:                                              ; preds = %892
  %894 = load i32, ptr %24, align 4, !tbaa !5
  %895 = add nsw i32 %894, 1
  store i32 %895, ptr %24, align 4, !tbaa !5
  br label %853, !llvm.loop !40

896:                                              ; preds = %853
  br label %897

897:                                              ; preds = %896, %847
  call void @llvm.lifetime.start.p0(i64 512, ptr %65) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %65, ptr noundef @.str.5, i32 noundef 16)
          to label %898 unwind label %910

898:                                              ; preds = %897
  %899 = load ptr, ptr %65, align 8, !tbaa !13
  %900 = getelementptr i8, ptr %899, i64 -24
  %901 = load i64, ptr %900, align 8
  %902 = getelementptr inbounds i8, ptr %65, i64 %901
  %903 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %902)
          to label %904 unwind label %914

904:                                              ; preds = %898
  br i1 %903, label %905, label %918

905:                                              ; preds = %904
  %906 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
          to label %907 unwind label %914

907:                                              ; preds = %905
  %908 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %906, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %909 unwind label %914

909:                                              ; preds = %907
  call void @exit(i32 noundef 1) #11
  unreachable

910:                                              ; preds = %897
  %911 = landingpad { ptr, i32 }
          cleanup
  %912 = extractvalue { ptr, i32 } %911, 0
  store ptr %912, ptr %46, align 8
  %913 = extractvalue { ptr, i32 } %911, 1
  store i32 %913, ptr %47, align 4
  br label %1043

914:                                              ; preds = %930, %924, %918, %907, %905, %898
  %915 = landingpad { ptr, i32 }
          cleanup
  %916 = extractvalue { ptr, i32 } %915, 0
  store ptr %916, ptr %46, align 8
  %917 = extractvalue { ptr, i32 } %915, 1
  store i32 %917, ptr %47, align 4
  br label %1042

918:                                              ; preds = %904
  %919 = load ptr, ptr %65, align 8, !tbaa !13
  %920 = getelementptr i8, ptr %919, i64 -24
  %921 = load i64, ptr %920, align 8
  %922 = getelementptr inbounds i8, ptr %65, i64 %921
  %923 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %922, i32 noundef 4)
          to label %924 unwind label %914

924:                                              ; preds = %918
  %925 = load ptr, ptr %65, align 8, !tbaa !13
  %926 = getelementptr i8, ptr %925, i64 -24
  %927 = load i64, ptr %926, align 8
  %928 = getelementptr inbounds i8, ptr %65, i64 %927
  %929 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %928, i32 noundef 1024)
          to label %930 unwind label %914

930:                                              ; preds = %924
  %931 = load ptr, ptr %65, align 8, !tbaa !13
  %932 = getelementptr i8, ptr %931, i64 -24
  %933 = load i64, ptr %932, align 8
  %934 = getelementptr inbounds i8, ptr %65, i64 %933
  %935 = invoke noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %934, i64 noundef 8)
          to label %936 unwind label %914

936:                                              ; preds = %930
  call void @llvm.lifetime.start.p0(i64 24, ptr %66) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #9
  %937 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %938 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %68, i32 0, i32 0
  store ptr %937, ptr %938, align 8
  %939 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %940 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %69, i32 0, i32 0
  store ptr %939, ptr %940, align 8
  %941 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %68, i32 0, i32 0
  %942 = load ptr, ptr %941, align 8
  %943 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %69, i32 0, i32 0
  %944 = load ptr, ptr %943, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %942, ptr %944)
          to label %945 unwind label %995

945:                                              ; preds = %936
  call void @llvm.lifetime.start.p0(i64 8, ptr %71) #9
  %946 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %947 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %72, i32 0, i32 0
  store ptr %946, ptr %947, align 8
  %948 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %949 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %73, i32 0, i32 0
  store ptr %948, ptr %949, align 8
  %950 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %72, i32 0, i32 0
  %951 = load ptr, ptr %950, align 8
  %952 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %73, i32 0, i32 0
  %953 = load ptr, ptr %952, align 8
  %954 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %951, ptr %953)
          to label %955 unwind label %999

955:                                              ; preds = %945
  %956 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %71, i32 0, i32 0
  store ptr %954, ptr %956, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %71) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #9
  %957 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %958 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %75, i32 0, i32 0
  store ptr %957, ptr %958, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %75) #9
  %959 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %70, i32 0, i32 0
  %960 = load ptr, ptr %959, align 8
  %961 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %74, i32 0, i32 0
  %962 = load ptr, ptr %961, align 8
  %963 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr %960, ptr %962)
          to label %964 unwind label %1003

964:                                              ; preds = %955
  %965 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %76, i32 0, i32 0
  store ptr %963, ptr %965, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %966

966:                                              ; preds = %1035, %964
  %967 = load i32, ptr %22, align 4, !tbaa !5
  %968 = sext i32 %967 to i64
  %969 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  %970 = icmp ult i64 %968, %969
  br i1 %970, label %971, label %1038

971:                                              ; preds = %966
  %972 = load i32, ptr %22, align 4, !tbaa !5
  %973 = sext i32 %972 to i64
  %974 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %973) #9
  %975 = load i32, ptr %974, align 4, !tbaa !5
  %976 = sub nsw i32 %975, 1
  store i32 %976, ptr %26, align 4, !tbaa !5
  %977 = load i32, ptr %58, align 4, !tbaa !5
  %978 = icmp eq i32 %977, 1
  br i1 %978, label %979, label %1008

979:                                              ; preds = %971
  %980 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 0
  %981 = load double, ptr %980, align 16, !tbaa !11
  %982 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 0
  %983 = load double, ptr %982, align 16, !tbaa !11
  %984 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1
  %985 = load double, ptr %984, align 8, !tbaa !11
  %986 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 1
  %987 = load double, ptr %986, align 8, !tbaa !11
  %988 = fmul double %985, %987
  %989 = call double @llvm.fmuladd.f64(double %981, double %983, double %988)
  %990 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 2
  %991 = load double, ptr %990, align 16, !tbaa !11
  %992 = getelementptr inbounds [3 x double], ptr %66, i64 0, i64 2
  %993 = load double, ptr %992, align 16, !tbaa !11
  %994 = call double @llvm.fmuladd.f64(double %991, double %993, double %989)
  store double %994, ptr %67, align 8, !tbaa !11
  br label %1009

995:                                              ; preds = %1038, %1028, %1025, %1023, %1020, %1018, %1014, %936
  %996 = landingpad { ptr, i32 }
          cleanup
  %997 = extractvalue { ptr, i32 } %996, 0
  store ptr %997, ptr %46, align 8
  %998 = extractvalue { ptr, i32 } %996, 1
  store i32 %998, ptr %47, align 4
  br label %1041

999:                                              ; preds = %945
  %1000 = landingpad { ptr, i32 }
          cleanup
  %1001 = extractvalue { ptr, i32 } %1000, 0
  store ptr %1001, ptr %46, align 8
  %1002 = extractvalue { ptr, i32 } %1000, 1
  store i32 %1002, ptr %47, align 4
  br label %1007

1003:                                             ; preds = %955
  %1004 = landingpad { ptr, i32 }
          cleanup
  %1005 = extractvalue { ptr, i32 } %1004, 0
  store ptr %1005, ptr %46, align 8
  %1006 = extractvalue { ptr, i32 } %1004, 1
  store i32 %1006, ptr %47, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #9
  br label %1007

1007:                                             ; preds = %1003, %999
  call void @llvm.lifetime.end.p0(i64 8, ptr %71) #9
  br label %1041

1008:                                             ; preds = %971
  store double 0.000000e+00, ptr %67, align 8, !tbaa !11
  br label %1009

1009:                                             ; preds = %1008, %979
  store i32 1, ptr %23, align 4, !tbaa !5
  br label %1010

1010:                                             ; preds = %1031, %1009
  %1011 = load i32, ptr %23, align 4, !tbaa !5
  %1012 = load i32, ptr %58, align 4, !tbaa !5
  %1013 = icmp sle i32 %1011, %1012
  br i1 %1013, label %1014, label %1034

1014:                                             ; preds = %1010
  %1015 = load i32, ptr %26, align 4, !tbaa !5
  %1016 = add nsw i32 %1015, 1
  %1017 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %65, i32 noundef %1016)
          to label %1018 unwind label %995

1018:                                             ; preds = %1014
  %1019 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1017, i8 noundef signext 9)
          to label %1020 unwind label %995

1020:                                             ; preds = %1018
  %1021 = load i32, ptr %23, align 4, !tbaa !5
  %1022 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %1019, i32 noundef %1021)
          to label %1023 unwind label %995

1023:                                             ; preds = %1020
  %1024 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %1022, i8 noundef signext 9)
          to label %1025 unwind label %995

1025:                                             ; preds = %1023
  %1026 = load double, ptr %67, align 8, !tbaa !11
  %1027 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %1024, double noundef %1026)
          to label %1028 unwind label %995

1028:                                             ; preds = %1025
  %1029 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1027, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1030 unwind label %995

1030:                                             ; preds = %1028
  br label %1031

1031:                                             ; preds = %1030
  %1032 = load i32, ptr %23, align 4, !tbaa !5
  %1033 = add nsw i32 %1032, 1
  store i32 %1033, ptr %23, align 4, !tbaa !5
  br label %1010, !llvm.loop !41

1034:                                             ; preds = %1010
  br label %1035

1035:                                             ; preds = %1034
  %1036 = load i32, ptr %22, align 4, !tbaa !5
  %1037 = add nsw i32 %1036, 1
  store i32 %1037, ptr %22, align 4, !tbaa !5
  br label %966, !llvm.loop !42

1038:                                             ; preds = %966
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %65)
          to label %1039 unwind label %995

1039:                                             ; preds = %1038
  store i32 0, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %65) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %48) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %48) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %45) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  %1040 = load i32, ptr %3, align 4
  ret i32 %1040

1041:                                             ; preds = %1007, %995
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %66) #9
  br label %1042

1042:                                             ; preds = %1041, %914
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %65) #9
  br label %1043

1043:                                             ; preds = %1042, %910
  call void @llvm.lifetime.end.p0(i64 512, ptr %65) #9
  br label %1044

1044:                                             ; preds = %1043, %884, %834, %787, %733, %686, %636
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #9
  br label %1045

1045:                                             ; preds = %1044, %586
  call void @llvm.lifetime.end.p0(i64 80, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #9
  br label %1046

1046:                                             ; preds = %1045, %288
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %48) #9
  br label %1047

1047:                                             ; preds = %1046, %284
  call void @llvm.lifetime.end.p0(i64 512, ptr %48) #9
  br label %1048

1048:                                             ; preds = %1047, %183
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %45) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %1049

1049:                                             ; preds = %1048
  %1050 = load ptr, ptr %46, align 8
  %1051 = load i32, ptr %47, align 4
  %1052 = insertvalue { ptr, i32 } poison, ptr %1050, 0
  %1053 = insertvalue { ptr, i32 } %1052, i32 %1051, 1
  resume { ptr, i32 } %1053
}

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 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: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #4

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #4

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #2

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #6 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr, ptr) #2

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #8

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

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 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 = { inlinehint mustprogress nounwind willreturn memory(read) 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 = { noreturn nounwind "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 = { 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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }
attributes #11 = { noreturn 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, 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}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}
!25 = distinct !{!25, !16}
!26 = distinct !{!26, !16}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !16}
!29 = distinct !{!29, !16}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !16}
!32 = distinct !{!32, !16}
!33 = distinct !{!33, !16}
!34 = distinct !{!34, !16}
!35 = distinct !{!35, !16}
!36 = distinct !{!36, !16}
!37 = distinct !{!37, !16}
!38 = distinct !{!38, !16}
!39 = distinct !{!39, !16}
!40 = distinct !{!40, !16}
!41 = distinct !{!41, !16}
!42 = distinct !{!42, !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_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [13 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::basic_ofstream", align 8
  %4 = alloca %"class.std::basic_ofstream", align 8
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::basic_ofstream", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = icmp eq i32 %0, 0
  br i1 %17, label %18, label %21

18:                                               ; preds = %2
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str)
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %49

21:                                               ; preds = %2
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load ptr, ptr %22, align 8, !tbaa !5
  %24 = tail call double @atof(ptr noundef %23) #8
  %25 = getelementptr inbounds i8, ptr %1, i64 16
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = tail call double @atof(ptr noundef %26) #8
  %28 = getelementptr inbounds i8, ptr %1, i64 24
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  %30 = tail call i32 @atoi(ptr nocapture noundef %29) #8
  %31 = getelementptr inbounds i8, ptr %1, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = tail call double @atof(ptr noundef %32) #8
  %34 = getelementptr inbounds i8, ptr %1, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = tail call double @atof(ptr noundef %35) #8
  %37 = getelementptr inbounds i8, ptr %1, i64 48
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = tail call i32 @atoi(ptr nocapture noundef %38) #8
  %40 = getelementptr inbounds i8, ptr %1, i64 56
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = tail call double @atof(ptr noundef %41) #8
  %43 = getelementptr inbounds i8, ptr %1, i64 64
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = tail call double @atof(ptr noundef %44) #8
  %46 = getelementptr inbounds i8, ptr %1, i64 72
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = tail call i32 @atoi(ptr nocapture noundef %47) #8
  br label %49

49:                                               ; preds = %21, %18
  %.0235 = phi i32 [ 5, %18 ], [ %48, %21 ]
  %.0234 = phi i32 [ 5, %18 ], [ %39, %21 ]
  %.0233 = phi i32 [ 5, %18 ], [ %30, %21 ]
  %.0232 = phi double [ 1.600000e+00, %18 ], [ %45, %21 ]
  %.0231 = phi double [ -1.600000e+00, %18 ], [ %42, %21 ]
  %.0229 = phi double [ 1.600000e+00, %18 ], [ %36, %21 ]
  %.0228 = phi double [ -1.600000e+00, %18 ], [ %33, %21 ]
  %.0227 = phi double [ 1.600000e+00, %18 ], [ %27, %21 ]
  %.0 = phi double [ -1.600000e+00, %18 ], [ %24, %21 ]
  %50 = add i32 %.0233, 1
  %51 = add i32 %.0234, 1
  %52 = mul nsw i32 %50, %51
  %53 = fsub double %.0227, %.0
  %54 = sitofp i32 %.0233 to double
  %55 = fdiv double %53, %54
  %56 = fsub double %.0229, %.0228
  %57 = sitofp i32 %.0234 to double
  %58 = fdiv double %56, %57
  %59 = fsub double %.0232, %.0231
  %60 = sitofp i32 %.0235 to double
  %61 = fdiv double %59, %60
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.0)
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %62, i8 noundef signext 9)
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %63, double noundef %.0227)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.0228)
  %67 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %66, i8 noundef signext 9)
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %67, double noundef %.0229)
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %.0231)
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %70, i8 noundef signext 9)
  %72 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %71, double noundef %.0232)
  %73 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %3) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %3, ptr noundef nonnull @.str.1, i32 noundef 16)
  %74 = load ptr, ptr %3, align 8, !tbaa !9
  %75 = getelementptr i8, ptr %74, i64 -24
  %76 = load i64, ptr %75, align 8
  %77 = getelementptr inbounds i8, ptr %3, i64 %76
  %78 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %77)
          to label %79 unwind label %.loopexit.split-lp336

79:                                               ; preds = %49
  br i1 %78, label %80, label %85

80:                                               ; preds = %79
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %82 unwind label %.loopexit.split-lp336

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %84 unwind label %.loopexit.split-lp336

84:                                               ; preds = %82
  call void @exit(i32 noundef 1) #10
  unreachable

.loopexit335:                                     ; preds = %104, %106, %108, %110, %112, %114, %116, %118
  %lpad.loopexit337 = landingpad { ptr, i32 }
          cleanup
  br label %454

.loopexit.split-lp336:                            ; preds = %49, %80, %82, %85, %91, %._crit_edge359, %127, %129
  %lpad.loopexit.split-lp338 = landingpad { ptr, i32 }
          cleanup
  br label %454

85:                                               ; preds = %79
  %86 = load ptr, ptr %3, align 8, !tbaa !9
  %87 = getelementptr i8, ptr %86, i64 -24
  %88 = load i64, ptr %87, align 8
  %89 = getelementptr inbounds i8, ptr %3, i64 %88
  %90 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %89, i32 noundef 4)
          to label %91 unwind label %.loopexit.split-lp336

91:                                               ; preds = %85
  %92 = load ptr, ptr %3, align 8, !tbaa !9
  %93 = getelementptr i8, ptr %92, i64 -24
  %94 = load i64, ptr %93, align 8
  %95 = getelementptr inbounds i8, ptr %3, i64 %94
  %96 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %95, i32 noundef 1024)
          to label %97 unwind label %.loopexit.split-lp336

97:                                               ; preds = %91
  %98 = load ptr, ptr %3, align 8, !tbaa !9
  %99 = getelementptr i8, ptr %98, i64 -24
  %100 = load i64, ptr %99, align 8
  %101 = getelementptr inbounds i8, ptr %3, i64 %100
  %102 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %101, i64 noundef 8)
  %.not355 = icmp slt i32 %.0235, 0
  %.not313349 = icmp slt i32 %.0234, 0
  %or.cond = select i1 %.not355, i1 true, i1 %.not313349
  %.not314345 = icmp slt i32 %.0233, 0
  %or.cond485 = select i1 %or.cond, i1 true, i1 %.not314345
  br i1 %or.cond485, label %._crit_edge359, label %.preheader340

.preheader340:                                    ; preds = %97, %._crit_edge353.split
  %.0246358 = phi i32 [ %126, %._crit_edge353.split ], [ 0, %97 ]
  %.0276357 = phi i32 [ %103, %._crit_edge353.split ], [ 1, %97 ]
  %.0279356 = phi double [ %125, %._crit_edge353.split ], [ %.0231, %97 ]
  br label %.preheader334

.preheader334:                                    ; preds = %.preheader340, %._crit_edge
  %.0237352 = phi i32 [ 0, %.preheader340 ], [ %124, %._crit_edge ]
  %.1277351 = phi i32 [ %.0276357, %.preheader340 ], [ %103, %._crit_edge ]
  %.0280350 = phi double [ %.0228, %.preheader340 ], [ %123, %._crit_edge ]
  %103 = add i32 %50, %.1277351
  br label %104

104:                                              ; preds = %.preheader334, %120
  %.2278347 = phi i32 [ %.1277351, %.preheader334 ], [ %122, %120 ]
  %.0281346 = phi double [ %.0, %.preheader334 ], [ %121, %120 ]
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef %.2278347)
          to label %106 unwind label %.loopexit335

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %105, i8 noundef signext 9)
          to label %108 unwind label %.loopexit335

108:                                              ; preds = %106
  %109 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %107, double noundef %.0281346)
          to label %110 unwind label %.loopexit335

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %109, i8 noundef signext 9)
          to label %112 unwind label %.loopexit335

112:                                              ; preds = %110
  %113 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %111, double noundef %.0280350)
          to label %114 unwind label %.loopexit335

114:                                              ; preds = %112
  %115 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %113, i8 noundef signext 9)
          to label %116 unwind label %.loopexit335

116:                                              ; preds = %114
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %115, double noundef %.0279356)
          to label %118 unwind label %.loopexit335

118:                                              ; preds = %116
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %120 unwind label %.loopexit335

120:                                              ; preds = %118
  %121 = fadd double %55, %.0281346
  %122 = add i32 %.2278347, 1
  %exitcond.not = icmp eq i32 %122, %103
  br i1 %exitcond.not, label %._crit_edge, label %104, !llvm.loop !11

._crit_edge:                                      ; preds = %120
  %123 = fadd double %58, %.0280350
  %124 = add nuw i32 %.0237352, 1
  %exitcond449.not = icmp eq i32 %.0237352, %.0234
  br i1 %exitcond449.not, label %._crit_edge353.split, label %.preheader334, !llvm.loop !13

._crit_edge353.split:                             ; preds = %._crit_edge
  %125 = fadd double %61, %.0279356
  %126 = add nuw i32 %.0246358, 1
  %exitcond450.not = icmp eq i32 %.0246358, %.0235
  br i1 %exitcond450.not, label %._crit_edge359, label %.preheader340, !llvm.loop !14

._crit_edge359:                                   ; preds = %._crit_edge353.split, %97
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %3)
          to label %127 unwind label %.loopexit.split-lp336

127:                                              ; preds = %._crit_edge359
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
          to label %129 unwind label %.loopexit.split-lp336

129:                                              ; preds = %127
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %131 unwind label %.loopexit.split-lp336

131:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %4) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %4, ptr noundef nonnull @.str.4, i32 noundef 16)
          to label %132 unwind label %144

132:                                              ; preds = %131
  %133 = load ptr, ptr %4, align 8, !tbaa !9
  %134 = getelementptr i8, ptr %133, i64 -24
  %135 = load i64, ptr %134, align 8
  %136 = getelementptr inbounds i8, ptr %4, i64 %135
  %137 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %136)
          to label %138 unwind label %146

138:                                              ; preds = %132
  br i1 %137, label %139, label %148

139:                                              ; preds = %138
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %141 unwind label %146

141:                                              ; preds = %139
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %143 unwind label %146

143:                                              ; preds = %141
  call void @exit(i32 noundef 1) #10
  unreachable

144:                                              ; preds = %131
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %453

146:                                              ; preds = %154, %148, %141, %139, %132
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %452

148:                                              ; preds = %138
  %149 = load ptr, ptr %4, align 8, !tbaa !9
  %150 = getelementptr i8, ptr %149, i64 -24
  %151 = load i64, ptr %150, align 8
  %152 = getelementptr inbounds i8, ptr %4, i64 %151
  %153 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %152, i32 noundef 4)
          to label %154 unwind label %146

154:                                              ; preds = %148
  %155 = load ptr, ptr %4, align 8, !tbaa !9
  %156 = getelementptr i8, ptr %155, i64 -24
  %157 = load i64, ptr %156, align 8
  %158 = getelementptr inbounds i8, ptr %4, i64 %157
  %159 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %158, i32 noundef 1024)
          to label %160 unwind label %146

160:                                              ; preds = %154
  %161 = load ptr, ptr %4, align 8, !tbaa !9
  %162 = getelementptr i8, ptr %161, i64 -24
  %163 = load i64, ptr %162, align 8
  %164 = getelementptr inbounds i8, ptr %4, i64 %163
  %165 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %164, i64 noundef 8)
  %166 = icmp sgt i32 %.0235, 0
  %167 = icmp sgt i32 %.0234, 0
  %or.cond486 = select i1 %166, i1 %167, i1 false
  %168 = icmp sgt i32 %.0233, 0
  %or.cond487 = select i1 %or.cond486, i1 %168, i1 false
  br i1 %or.cond487, label %.lr.ph373.us.us, label %._crit_edge379

.lr.ph373.us.us:                                  ; preds = %160, %..loopexit333_crit_edge.split.us.us.us
  %.1247377.us.us = phi i32 [ %170, %..loopexit333_crit_edge.split.us.us.us ], [ 0, %160 ]
  %.0255376.us.us = phi i32 [ %297, %..loopexit333_crit_edge.split.us.us.us ], [ 1, %160 ]
  %169 = mul nuw nsw i32 %.1247377.us.us, %52
  %170 = add nuw nsw i32 %.1247377.us.us, 1
  %171 = mul nuw nsw i32 %170, %52
  br label %.lr.ph.us.us.us

.lr.ph.us.us.us:                                  ; preds = %..loopexit327_crit_edge.us.us.us, %.lr.ph373.us.us
  %.1238371.us.us.us = phi i32 [ 0, %.lr.ph373.us.us ], [ %174, %..loopexit327_crit_edge.us.us.us ]
  %.1256370.us.us.us = phi i32 [ %.0255376.us.us, %.lr.ph373.us.us ], [ %297, %..loopexit327_crit_edge.us.us.us ]
  %172 = mul nuw nsw i32 %.1238371.us.us.us, %50
  %173 = add nuw nsw i32 %172, %169
  %174 = add nuw nsw i32 %.1238371.us.us.us, 1
  %175 = mul nuw nsw i32 %174, %50
  %176 = add nuw nsw i32 %175, %169
  %177 = add nuw nsw i32 %172, %171
  %178 = add nuw nsw i32 %175, %171
  br label %179

179:                                              ; preds = %317, %.lr.ph.us.us.us
  %.1367.us.us.us = phi i32 [ 0, %.lr.ph.us.us.us ], [ %318, %317 ]
  %.2257366.us.us.us = phi i32 [ %.1256370.us.us.us, %.lr.ph.us.us.us ], [ %297, %317 ]
  %180 = add nuw nsw i32 %173, %.1367.us.us.us
  %181 = add nuw nsw i32 %177, %.1367.us.us.us
  %182 = add nsw i32 %180, 1
  %183 = add nsw i32 %181, 1
  %184 = add nuw nsw i32 %176, %.1367.us.us.us
  %185 = add nuw nsw i32 %178, %.1367.us.us.us
  %186 = add nsw i32 %184, 1
  %187 = add nsw i32 %185, 1
  %188 = add nsw i32 %180, 2
  %189 = add nsw i32 %184, 2
  %190 = add nsw i32 %181, 2
  %191 = add nsw i32 %185, 2
  %192 = add nsw i32 %.2257366.us.us.us, 1
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %.2257366.us.us.us)
          to label %194 unwind label %.loopexit328.split.us.split.us.split.us

194:                                              ; preds = %179
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %193, i8 noundef signext 9)
          to label %196 unwind label %.loopexit328.split.us.split.us.split.us

196:                                              ; preds = %194
  %197 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %195, i32 noundef %182)
          to label %198 unwind label %.loopexit328.split.us.split.us.split.us

198:                                              ; preds = %196
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %197, i8 noundef signext 9)
          to label %200 unwind label %.loopexit328.split.us.split.us.split.us

200:                                              ; preds = %198
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %199, i32 noundef %188)
          to label %202 unwind label %.loopexit328.split.us.split.us.split.us

202:                                              ; preds = %200
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %201, i8 noundef signext 9)
          to label %204 unwind label %.loopexit328.split.us.split.us.split.us

204:                                              ; preds = %202
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %203, i32 noundef %189)
          to label %206 unwind label %.loopexit328.split.us.split.us.split.us

206:                                              ; preds = %204
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %205, i8 noundef signext 9)
          to label %208 unwind label %.loopexit328.split.us.split.us.split.us

208:                                              ; preds = %206
  %209 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %207, i32 noundef %190)
          to label %210 unwind label %.loopexit328.split.us.split.us.split.us

210:                                              ; preds = %208
  %211 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %209, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %212 unwind label %.loopexit328.split.us.split.us.split.us

212:                                              ; preds = %210
  %213 = add nsw i32 %.2257366.us.us.us, 2
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %192)
          to label %215 unwind label %.loopexit328.split.us.split.us.split.us

215:                                              ; preds = %212
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %214, i8 noundef signext 9)
          to label %217 unwind label %.loopexit328.split.us.split.us.split.us

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %216, i32 noundef %182)
          to label %219 unwind label %.loopexit328.split.us.split.us.split.us

219:                                              ; preds = %217
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %218, i8 noundef signext 9)
          to label %221 unwind label %.loopexit328.split.us.split.us.split.us

221:                                              ; preds = %219
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %220, i32 noundef %189)
          to label %223 unwind label %.loopexit328.split.us.split.us.split.us

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %222, i8 noundef signext 9)
          to label %225 unwind label %.loopexit328.split.us.split.us.split.us

225:                                              ; preds = %223
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %224, i32 noundef %186)
          to label %227 unwind label %.loopexit328.split.us.split.us.split.us

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %226, i8 noundef signext 9)
          to label %229 unwind label %.loopexit328.split.us.split.us.split.us

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %228, i32 noundef %190)
          to label %231 unwind label %.loopexit328.split.us.split.us.split.us

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %233 unwind label %.loopexit328.split.us.split.us.split.us

233:                                              ; preds = %231
  %234 = add nsw i32 %.2257366.us.us.us, 3
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %213)
          to label %236 unwind label %.loopexit328.split.us.split.us.split.us

236:                                              ; preds = %233
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %235, i8 noundef signext 9)
          to label %238 unwind label %.loopexit328.split.us.split.us.split.us

238:                                              ; preds = %236
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %237, i32 noundef %186)
          to label %240 unwind label %.loopexit328.split.us.split.us.split.us

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %239, i8 noundef signext 9)
          to label %242 unwind label %.loopexit328.split.us.split.us.split.us

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %241, i32 noundef %189)
          to label %244 unwind label %.loopexit328.split.us.split.us.split.us

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %243, i8 noundef signext 9)
          to label %246 unwind label %.loopexit328.split.us.split.us.split.us

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %245, i32 noundef %191)
          to label %248 unwind label %.loopexit328.split.us.split.us.split.us

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %247, i8 noundef signext 9)
          to label %250 unwind label %.loopexit328.split.us.split.us.split.us

250:                                              ; preds = %248
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %249, i32 noundef %190)
          to label %252 unwind label %.loopexit328.split.us.split.us.split.us

252:                                              ; preds = %250
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %254 unwind label %.loopexit328.split.us.split.us.split.us

254:                                              ; preds = %252
  %255 = add nsw i32 %.2257366.us.us.us, 4
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %234)
          to label %257 unwind label %.loopexit328.split.us.split.us.split.us

257:                                              ; preds = %254
  %258 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %256, i8 noundef signext 9)
          to label %259 unwind label %.loopexit328.split.us.split.us.split.us

259:                                              ; preds = %257
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %258, i32 noundef %183)
          to label %261 unwind label %.loopexit328.split.us.split.us.split.us

261:                                              ; preds = %259
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %260, i8 noundef signext 9)
          to label %263 unwind label %.loopexit328.split.us.split.us.split.us

263:                                              ; preds = %261
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %262, i32 noundef %187)
          to label %265 unwind label %.loopexit328.split.us.split.us.split.us

265:                                              ; preds = %263
  %266 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %264, i8 noundef signext 9)
          to label %267 unwind label %.loopexit328.split.us.split.us.split.us

267:                                              ; preds = %265
  %268 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %266, i32 noundef %191)
          to label %269 unwind label %.loopexit328.split.us.split.us.split.us

269:                                              ; preds = %267
  %270 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %268, i8 noundef signext 9)
          to label %271 unwind label %.loopexit328.split.us.split.us.split.us

271:                                              ; preds = %269
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %270, i32 noundef %186)
          to label %273 unwind label %.loopexit328.split.us.split.us.split.us

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

275:                                              ; preds = %273
  %276 = add nsw i32 %.2257366.us.us.us, 5
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %255)
          to label %278 unwind label %.loopexit328.split.us.split.us.split.us

278:                                              ; preds = %275
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %277, i8 noundef signext 9)
          to label %280 unwind label %.loopexit328.split.us.split.us.split.us

280:                                              ; preds = %278
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %279, i32 noundef %183)
          to label %282 unwind label %.loopexit328.split.us.split.us.split.us

282:                                              ; preds = %280
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %281, i8 noundef signext 9)
          to label %284 unwind label %.loopexit328.split.us.split.us.split.us

284:                                              ; preds = %282
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %283, i32 noundef %191)
          to label %286 unwind label %.loopexit328.split.us.split.us.split.us

286:                                              ; preds = %284
  %287 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %285, i8 noundef signext 9)
          to label %288 unwind label %.loopexit328.split.us.split.us.split.us

288:                                              ; preds = %286
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %287, i32 noundef %190)
          to label %290 unwind label %.loopexit328.split.us.split.us.split.us

290:                                              ; preds = %288
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %289, i8 noundef signext 9)
          to label %292 unwind label %.loopexit328.split.us.split.us.split.us

292:                                              ; preds = %290
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %291, i32 noundef %186)
          to label %294 unwind label %.loopexit328.split.us.split.us.split.us

294:                                              ; preds = %292
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %293, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %296 unwind label %.loopexit328.split.us.split.us.split.us

296:                                              ; preds = %294
  %297 = add nsw i32 %.2257366.us.us.us, 6
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %4, i32 noundef %276)
          to label %299 unwind label %.loopexit328.split.us.split.us.split.us

299:                                              ; preds = %296
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %298, i8 noundef signext 9)
          to label %301 unwind label %.loopexit328.split.us.split.us.split.us

301:                                              ; preds = %299
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %300, i32 noundef %182)
          to label %303 unwind label %.loopexit328.split.us.split.us.split.us

303:                                              ; preds = %301
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %302, i8 noundef signext 9)
          to label %305 unwind label %.loopexit328.split.us.split.us.split.us

305:                                              ; preds = %303
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %304, i32 noundef %183)
          to label %307 unwind label %.loopexit328.split.us.split.us.split.us

307:                                              ; preds = %305
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %306, i8 noundef signext 9)
          to label %309 unwind label %.loopexit328.split.us.split.us.split.us

309:                                              ; preds = %307
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %308, i32 noundef %190)
          to label %311 unwind label %.loopexit328.split.us.split.us.split.us

311:                                              ; preds = %309
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %310, i8 noundef signext 9)
          to label %313 unwind label %.loopexit328.split.us.split.us.split.us

313:                                              ; preds = %311
  %314 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %312, i32 noundef %186)
          to label %315 unwind label %.loopexit328.split.us.split.us.split.us

315:                                              ; preds = %313
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %314, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %317 unwind label %.loopexit328.split.us.split.us.split.us

317:                                              ; preds = %315
  %318 = add nuw nsw i32 %.1367.us.us.us, 1
  %exitcond453.not = icmp eq i32 %318, %.0233
  br i1 %exitcond453.not, label %..loopexit327_crit_edge.us.us.us, label %179, !llvm.loop !15

..loopexit327_crit_edge.us.us.us:                 ; preds = %317
  %exitcond454.not = icmp eq i32 %174, %.0234
  br i1 %exitcond454.not, label %..loopexit333_crit_edge.split.us.us.us, label %.lr.ph.us.us.us, !llvm.loop !16

..loopexit333_crit_edge.split.us.us.us:           ; preds = %..loopexit327_crit_edge.us.us.us
  %exitcond455.not = icmp eq i32 %170, %.0235
  br i1 %exitcond455.not, label %._crit_edge379, label %.lr.ph373.us.us, !llvm.loop !17

.loopexit328.split.us.split.us.split.us:          ; preds = %315, %313, %311, %309, %307, %305, %303, %301, %299, %296, %294, %292, %290, %288, %286, %284, %282, %280, %278, %275, %273, %271, %269, %267, %265, %263, %261, %259, %257, %254, %252, %250, %248, %246, %244, %242, %240, %238, %236, %233, %231, %229, %227, %225, %223, %221, %219, %217, %215, %212, %210, %208, %206, %204, %202, %200, %198, %196, %194, %179
  %lpad.loopexit330.us.us.us = landingpad { ptr, i32 }
          cleanup
  br label %452

.loopexit.split-lp329:                            ; preds = %._crit_edge379
  %lpad.loopexit.split-lp331 = landingpad { ptr, i32 }
          cleanup
  br label %452

._crit_edge379:                                   ; preds = %..loopexit333_crit_edge.split.us.us.us, %160
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %4)
          to label %319 unwind label %.loopexit.split-lp329

319:                                              ; preds = %._crit_edge379
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #9
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  br i1 %.not355, label %.preheader, label %.lr.ph389

.lr.ph389:                                        ; preds = %319
  %.not305383 = icmp slt i32 %.0233, 0
  br i1 %.not305383, label %.lr.ph398, label %.critedge.lr.ph

.preheader326:                                    ; preds = %._crit_edge385
  br i1 %.not355, label %.preheader, label %.lr.ph398

.lr.ph398:                                        ; preds = %.lr.ph389, %.preheader326
  %.not303391 = icmp slt i32 %.0234, 0
  br i1 %.not303391, label %.critedge318.lr.ph, label %.lr.ph394

.critedge.lr.ph:                                  ; preds = %.lr.ph389, %._crit_edge385
  %.2248387 = phi i32 [ %328, %._crit_edge385 ], [ 0, %.lr.ph389 ]
  %320 = mul nsw i32 %.2248387, %52
  %321 = add i32 %320, 1
  br label %.critedge

.critedge:                                        ; preds = %.critedge.lr.ph, %324
  %.2239384 = phi i32 [ 0, %.critedge.lr.ph ], [ %325, %324 ]
  %322 = mul nuw nsw i32 %.2239384, %50
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #9
  %323 = add i32 %321, %322
  store i32 %323, ptr %6, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %324 unwind label %326

324:                                              ; preds = %.critedge
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  %325 = add nuw i32 %.2239384, 1
  %exitcond456.not = icmp eq i32 %.2239384, %.0233
  br i1 %exitcond456.not, label %._crit_edge385, label %.critedge, !llvm.loop !20

326:                                              ; preds = %.critedge
  %327 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #9
  br label %451

._crit_edge385:                                   ; preds = %324
  %328 = add nuw i32 %.2248387, 1
  %exitcond457.not = icmp eq i32 %.2248387, %.0235
  br i1 %exitcond457.not, label %.preheader326, label %.critedge.lr.ph, !llvm.loop !21

.preheader325:                                    ; preds = %._crit_edge395
  %.not302399 = icmp slt i32 %.0233, 0
  %or.cond488 = select i1 %.not355, i1 true, i1 %.not302399
  br i1 %or.cond488, label %.preheader, label %.critedge318.preheader

.critedge318.lr.ph:                               ; preds = %.lr.ph398
  %.not302399.old = icmp slt i32 %.0233, 0
  br i1 %.not302399.old, label %.preheader, label %.critedge318.preheader

.critedge318.preheader:                           ; preds = %.preheader325, %.critedge318.lr.ph
  br label %.critedge318

.lr.ph394:                                        ; preds = %.lr.ph398, %._crit_edge395
  %.3249397 = phi i32 [ %339, %._crit_edge395 ], [ 0, %.lr.ph398 ]
  %329 = mul nsw i32 %.3249397, %52
  %330 = add i32 %329, 1
  br label %331

331:                                              ; preds = %.lr.ph394, %335
  %.3240392 = phi i32 [ 0, %.lr.ph394 ], [ %336, %335 ]
  %332 = mul nsw i32 %.3240392, %50
  %333 = add i32 %330, %332
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #9
  %334 = add i32 %333, %.0233
  store i32 %334, ptr %7, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %7)
          to label %335 unwind label %337

335:                                              ; preds = %331
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  %336 = add nuw i32 %.3240392, 1
  %exitcond458.not = icmp eq i32 %.3240392, %.0234
  br i1 %exitcond458.not, label %._crit_edge395, label %331, !llvm.loop !22

337:                                              ; preds = %331
  %338 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #9
  br label %451

._crit_edge395:                                   ; preds = %335
  %339 = add nuw i32 %.3249397, 1
  %exitcond459.not = icmp eq i32 %.3249397, %.0235
  br i1 %exitcond459.not, label %.preheader325, label %.lr.ph394, !llvm.loop !23

.preheader324:                                    ; preds = %._crit_edge402
  %.not301405 = icmp slt i32 %.0233, 0
  %or.cond489 = select i1 %.not355, i1 true, i1 %.not301405
  br i1 %or.cond489, label %.preheader, label %.split.preheader

.split.preheader:                                 ; preds = %.preheader324
  %340 = mul nsw i32 %.0234, %50
  br label %.split

.critedge318:                                     ; preds = %.critedge318.preheader, %._crit_edge402
  %.4250404 = phi i32 [ %349, %._crit_edge402 ], [ 0, %.critedge318.preheader ]
  %341 = mul nsw i32 %.4250404, %52
  %342 = add i32 %341, 1
  br label %343

343:                                              ; preds = %.critedge318, %345
  %.4400 = phi i32 [ 0, %.critedge318 ], [ %346, %345 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #9
  %344 = add i32 %342, %.4400
  store i32 %344, ptr %8, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %345 unwind label %347

345:                                              ; preds = %343
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  %346 = add nuw i32 %.4400, 1
  %exitcond460.not = icmp eq i32 %.4400, %.0233
  br i1 %exitcond460.not, label %._crit_edge402, label %343, !llvm.loop !24

347:                                              ; preds = %343
  %348 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #9
  br label %451

._crit_edge402:                                   ; preds = %345
  %349 = add nuw i32 %.4250404, 1
  %exitcond461.not = icmp eq i32 %.4250404, %.0235
  br i1 %exitcond461.not, label %.preheader324, label %.critedge318, !llvm.loop !25

.preheader:                                       ; preds = %._crit_edge409, %319, %.preheader326, %.preheader325, %.critedge318.lr.ph, %.preheader324
  %.not298419 = icmp slt i32 %.0234, 0
  %.not299414 = icmp slt i32 %.0233, 0
  %or.cond490 = select i1 %.not298419, i1 true, i1 %.not299414
  br i1 %or.cond490, label %.split434.us, label %.lr.ph417

.split:                                           ; preds = %.split.preheader, %._crit_edge409
  %.5251412 = phi i32 [ %351, %._crit_edge409 ], [ 0, %.split.preheader ]
  %350 = mul nsw i32 %.5251412, %52
  %351 = add nuw i32 %.5251412, 1
  %352 = add i32 %350, 1
  %353 = add i32 %352, %340
  br label %354

354:                                              ; preds = %.split, %356
  %.5406 = phi i32 [ 0, %.split ], [ %357, %356 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #9
  %355 = add i32 %353, %.5406
  store i32 %355, ptr %9, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %356 unwind label %358

356:                                              ; preds = %354
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #9
  %357 = add nuw i32 %.5406, 1
  %exitcond462.not = icmp eq i32 %.5406, %.0233
  br i1 %exitcond462.not, label %._crit_edge409, label %354, !llvm.loop !26

358:                                              ; preds = %354
  %359 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #9
  br label %451

._crit_edge409:                                   ; preds = %356
  %exitcond463.not = icmp eq i32 %.5251412, %.0235
  br i1 %exitcond463.not, label %.preheader, label %.split, !llvm.loop !27

.critedge320.preheader:                           ; preds = %._crit_edge418
  br i1 %.not298419, label %.split434.us, label %.lr.ph430.preheader

.lr.ph430.preheader:                              ; preds = %.critedge320.preheader
  %360 = mul nsw i32 %.0235, %52
  %361 = add i32 %360, 1
  br label %.lr.ph425

.lr.ph417:                                        ; preds = %.preheader, %._crit_edge418
  %.6243420 = phi i32 [ %370, %._crit_edge418 ], [ 0, %.preheader ]
  %362 = mul nuw nsw i32 %.6243420, %50
  %363 = add nuw i32 %362, 1
  br label %364

364:                                              ; preds = %.lr.ph417, %366
  %.6415 = phi i32 [ 0, %.lr.ph417 ], [ %367, %366 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #9
  %365 = add i32 %363, %.6415
  store i32 %365, ptr %10, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %366 unwind label %368

366:                                              ; preds = %364
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  %367 = add nuw i32 %.6415, 1
  %exitcond464.not = icmp eq i32 %.6415, %.0233
  br i1 %exitcond464.not, label %._crit_edge418, label %364, !llvm.loop !28

368:                                              ; preds = %364
  %369 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  br label %451

._crit_edge418:                                   ; preds = %366
  %370 = add nuw i32 %.6243420, 1
  %exitcond465.not = icmp eq i32 %.6243420, %.0234
  br i1 %exitcond465.not, label %.critedge320.preheader, label %.lr.ph417, !llvm.loop !29

.lr.ph425:                                        ; preds = %.lr.ph430.preheader, %._crit_edge426
  %.7244428 = phi i32 [ %379, %._crit_edge426 ], [ 0, %.lr.ph430.preheader ]
  %371 = mul nuw nsw i32 %.7244428, %50
  %372 = add i32 %361, %371
  br label %373

373:                                              ; preds = %.lr.ph425, %375
  %.7423 = phi i32 [ 0, %.lr.ph425 ], [ %376, %375 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %374 = add i32 %372, %.7423
  store i32 %374, ptr %11, align 4, !tbaa !18
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %375 unwind label %377

375:                                              ; preds = %373
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  %376 = add nuw i32 %.7423, 1
  %exitcond466.not = icmp eq i32 %.7423, %.0233
  br i1 %exitcond466.not, label %._crit_edge426, label %373, !llvm.loop !30

377:                                              ; preds = %373
  %378 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  br label %451

._crit_edge426:                                   ; preds = %375
  %379 = add nuw i32 %.7244428, 1
  %exitcond467.not = icmp eq i32 %.7244428, %.0234
  br i1 %exitcond467.not, label %.split434.us, label %.lr.ph425, !llvm.loop !31

.split434.us:                                     ; preds = %._crit_edge426, %.preheader, %.critedge320.preheader
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %12) #9
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %12, ptr noundef nonnull @.str.5, i32 noundef 16)
          to label %380 unwind label %392

380:                                              ; preds = %.split434.us
  %381 = load ptr, ptr %12, align 8, !tbaa !9
  %382 = getelementptr i8, ptr %381, i64 -24
  %383 = load i64, ptr %382, align 8
  %384 = getelementptr inbounds i8, ptr %12, i64 %383
  %385 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %384)
          to label %386 unwind label %394

386:                                              ; preds = %380
  br i1 %385, label %387, label %396

387:                                              ; preds = %386
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
          to label %389 unwind label %394

389:                                              ; preds = %387
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %388, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %391 unwind label %394

391:                                              ; preds = %389
  call void @exit(i32 noundef 1) #10
  unreachable

392:                                              ; preds = %.split434.us
  %393 = landingpad { ptr, i32 }
          cleanup
  br label %450

394:                                              ; preds = %402, %396, %389, %387, %380
  %395 = landingpad { ptr, i32 }
          cleanup
  br label %449

396:                                              ; preds = %386
  %397 = load ptr, ptr %12, align 8, !tbaa !9
  %398 = getelementptr i8, ptr %397, i64 -24
  %399 = load i64, ptr %398, align 8
  %400 = getelementptr inbounds i8, ptr %12, i64 %399
  %401 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %400, i32 noundef 4)
          to label %402 unwind label %394

402:                                              ; preds = %396
  %403 = load ptr, ptr %12, align 8, !tbaa !9
  %404 = getelementptr i8, ptr %403, i64 -24
  %405 = load i64, ptr %404, align 8
  %406 = getelementptr inbounds i8, ptr %12, i64 %405
  %407 = invoke noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216) %406, i32 noundef 1024)
          to label %408 unwind label %394

408:                                              ; preds = %402
  %409 = load ptr, ptr %12, align 8, !tbaa !9
  %410 = getelementptr i8, ptr %409, i64 -24
  %411 = load i64, ptr %410, align 8
  %412 = getelementptr inbounds i8, ptr %12, i64 %411
  %413 = call noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216) %412, i64 noundef 8)
  %414 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %415 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr %414, ptr %415)
          to label %416 unwind label %.loopexit.split-lp

416:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %417 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %418 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %419 = invoke ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr %417, ptr %418)
          to label %420 unwind label %430

420:                                              ; preds = %416
  store ptr %419, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %421 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  store ptr %421, ptr %16, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  %422 = load ptr, ptr %13, align 8
  %423 = load ptr, ptr %15, align 8
  %424 = invoke ptr @_ZNSt6vectorIiSaIiEE5eraseEN9__gnu_cxx17__normal_iteratorIPKiS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr %422, ptr %423)
          to label %425 unwind label %432

425:                                              ; preds = %420
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  %426 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %.not = icmp eq i64 %426, 0
  br i1 %.not, label %._crit_edge436, label %.critedge322

.critedge322:                                     ; preds = %425, %445
  %indvars.iv = phi i64 [ %indvars.iv.next, %445 ], [ 0, %425 ]
  %427 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef %indvars.iv) #9
  %428 = load i32, ptr %427, align 4, !tbaa !18
  %429 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef %428)
          to label %435 unwind label %.loopexit

.loopexit:                                        ; preds = %.critedge322, %435, %437, %439, %441, %443
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %449

.loopexit.split-lp:                               ; preds = %408, %._crit_edge436
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %449

430:                                              ; preds = %416
  %431 = landingpad { ptr, i32 }
          cleanup
  br label %434

432:                                              ; preds = %420
  %433 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %434

434:                                              ; preds = %432, %430
  %.pn = phi { ptr, i32 } [ %433, %432 ], [ %431, %430 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  br label %449

435:                                              ; preds = %.critedge322
  %436 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %429, i8 noundef signext 9)
          to label %437 unwind label %.loopexit

437:                                              ; preds = %435
  %438 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %436, i32 noundef 1)
          to label %439 unwind label %.loopexit

439:                                              ; preds = %437
  %440 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %438, i8 noundef signext 9)
          to label %441 unwind label %.loopexit

441:                                              ; preds = %439
  %442 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %440, double noundef 0x7FF8000000000000)
          to label %443 unwind label %.loopexit

443:                                              ; preds = %441
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %442, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %445 unwind label %.loopexit

445:                                              ; preds = %443
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %446 = call noundef i64 @_ZNKSt6vectorIiSaIiEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  %447 = icmp ugt i64 %446, %indvars.iv.next
  br i1 %447, label %.critedge322, label %._crit_edge436, !llvm.loop !32

._crit_edge436:                                   ; preds = %445, %425
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248) %12)
          to label %448 unwind label %.loopexit.split-lp

448:                                              ; preds = %._crit_edge436
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %12) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %12) #9
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %4) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #9
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #9
  ret i32 0

449:                                              ; preds = %.loopexit, %.loopexit.split-lp, %434, %394
  %.pn293 = phi { ptr, i32 } [ %395, %394 ], [ %.pn, %434 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %12) #9
  br label %450

450:                                              ; preds = %449, %392
  %.pn293.pn = phi { ptr, i32 } [ %.pn293, %449 ], [ %393, %392 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %12) #9
  br label %451

451:                                              ; preds = %450, %377, %368, %358, %347, %337, %326
  %.pn306 = phi { ptr, i32 } [ %327, %326 ], [ %338, %337 ], [ %348, %347 ], [ %359, %358 ], [ %369, %368 ], [ %378, %377 ], [ %.pn293.pn, %450 ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #9
  br label %452

452:                                              ; preds = %451, %.loopexit.split-lp329, %.loopexit328.split.us.split.us.split.us, %146
  %.pn310 = phi { ptr, i32 } [ %147, %146 ], [ %.pn306, %451 ], [ %lpad.loopexit330.us.us.us, %.loopexit328.split.us.split.us.split.us ], [ %lpad.loopexit.split-lp331, %.loopexit.split-lp329 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %4) #9
  br label %453

453:                                              ; preds = %452, %144
  %.pn310.pn = phi { ptr, i32 } [ %.pn310, %452 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #9
  br label %454

454:                                              ; preds = %.loopexit335, %.loopexit.split-lp336, %453
  %.pn315 = phi { ptr, i32 } [ %.pn310.pn, %453 ], [ %lpad.loopexit337, %.loopexit335 ], [ %lpad.loopexit.split-lp338, %.loopexit.split-lp336 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #9
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn315
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #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 #3 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: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264)) local_unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNSt8ios_base4setfESt13_Ios_Fmtflags(ptr noundef nonnull align 8 dereferenceable(216), i32 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNSt8ios_base9precisionEl(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE5closeEv(ptr noundef nonnull align 8 dereferenceable(248)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEEvT_S7_(ptr, ptr) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt6uniqueIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_S7_(ptr, ptr) local_unnamed_addr #2

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

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

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

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

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

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

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

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


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