; LLVM IR from sp-nitech/SPTK :: src/main (mlpg)

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

%struct.option = type { ptr, i32, ptr, i32 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%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.8 }
%union.anon.8 = type { i32 }
%"class.sptk::InputSourceFromStream" = type <{ %"class.sptk::InputSourceInterface", i8, [3 x i8], i32, ptr, i8, [7 x i8] }>
%"class.sptk::InputSourceInterface" = type { ptr }
%"class.(anonymous namespace)::InputSourcePreprocessing" = type <{ %"class.sptk::InputSourceInterface", i32, i32, ptr, i8, [7 x i8] }>
%"class.sptk::RecursiveMaximumLikelihoodParameterGeneration" = type { %"class.sptk::InputSourceInterface", i32, i32, %"class.std::vector", ptr, i8, i32, i32, i32, %"struct.sptk::RecursiveMaximumLikelihoodParameterGeneration::Buffer" }
%"struct.sptk::RecursiveMaximumLikelihoodParameterGeneration::Buffer" = type { %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.9", %"class.std::vector" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }
%"class.sptk::NonrecursiveMaximumLikelihoodParameterGeneration" = type { ptr, i32, %"class.std::vector", i8, double, i8, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@__const.main.long_options = external hidden unnamed_addr constant [2 x %struct.option], align 16
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@ya_optarg = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@ya_optind = external global i32, align 4
@.str.12 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [51 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [28 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.20 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 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 i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca i8, align 1
  %11 = alloca double, align 8
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca [2 x %struct.option], align 16
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator.0", align 1
  %21 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator.0", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.0", align 1
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator.0", align 1
  %31 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator.0", align 1
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %40 = alloca %"class.std::__cxx11::basic_string", align 8
  %41 = alloca %"class.std::allocator.0", align 1
  %42 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %43 = alloca %"class.std::__cxx11::basic_string", align 8
  %44 = alloca %"class.std::allocator.0", align 1
  %45 = alloca %"class.std::vector.3", align 8
  %46 = alloca double, align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator.0", align 1
  %49 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::allocator.0", align 1
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca i1, align 1
  %54 = alloca %"class.std::allocator.0", align 1
  %55 = alloca i1, align 1
  %56 = alloca i1, align 1
  %57 = alloca i1, align 1
  %58 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator.0", align 1
  %61 = alloca %"class.std::basic_ifstream", align 8
  %62 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator.0", align 1
  %65 = alloca %"class.std::vector.3", align 8
  %66 = alloca double, align 8
  %67 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator.0", align 1
  %70 = alloca i32, align 4
  %71 = alloca %"class.std::vector.3", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator.0", align 1
  %74 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.0", align 1
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca i1, align 1
  %79 = alloca %"class.std::allocator.0", align 1
  %80 = alloca i1, align 1
  %81 = alloca i1, align 1
  %82 = alloca i1, align 1
  %83 = alloca %"class.std::vector.3", align 8
  %84 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator.0", align 1
  %87 = alloca %"class.std::__cxx11::basic_string", align 8
  %88 = alloca %"class.std::allocator.0", align 1
  %89 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %90 = alloca %"class.std::__cxx11::basic_string", align 8
  %91 = alloca %"class.std::allocator.0", align 1
  %92 = alloca i32, align 4
  %93 = alloca i32, align 4
  %94 = alloca i32, align 4
  %95 = alloca %"class.std::__cxx11::basic_string", align 8
  %96 = alloca %"class.std::allocator.0", align 1
  %97 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %98 = alloca %"class.std::__cxx11::basic_string", align 8
  %99 = alloca %"class.std::allocator.0", align 1
  %100 = alloca i32, align 4
  %101 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %102 = alloca %"class.std::__cxx11::basic_string", align 8
  %103 = alloca %"class.std::allocator.0", align 1
  %104 = alloca ptr, align 8
  %105 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %106 = alloca %"class.std::__cxx11::basic_string", align 8
  %107 = alloca %"class.std::allocator.0", align 1
  %108 = alloca %"class.std::basic_ifstream", align 8
  %109 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %110 = alloca %"class.std::__cxx11::basic_string", align 8
  %111 = alloca %"class.std::allocator.0", align 1
  %112 = alloca ptr, align 8
  %113 = alloca i32, align 4
  %114 = alloca i32, align 4
  %115 = alloca %"class.sptk::InputSourceFromStream", align 8
  %116 = alloca %"class.(anonymous namespace)::InputSourcePreprocessing", align 8
  %117 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %118 = alloca %"class.std::__cxx11::basic_string", align 8
  %119 = alloca %"class.std::allocator.0", align 1
  %120 = alloca %"class.sptk::RecursiveMaximumLikelihoodParameterGeneration", align 8
  %121 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %122 = alloca %"class.std::__cxx11::basic_string", align 8
  %123 = alloca %"class.std::allocator.0", align 1
  %124 = alloca %"class.std::vector.3", align 8
  %125 = alloca %"class.std::allocator.5", align 1
  %126 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %127 = alloca %"class.std::__cxx11::basic_string", align 8
  %128 = alloca %"class.std::allocator.0", align 1
  %129 = alloca %"class.sptk::NonrecursiveMaximumLikelihoodParameterGeneration", align 8
  %130 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %131 = alloca %"class.std::__cxx11::basic_string", align 8
  %132 = alloca %"class.std::allocator.0", align 1
  %133 = alloca %"class.std::vector", align 8
  %134 = alloca %"class.std::vector", align 8
  %135 = alloca i32, align 4
  %136 = alloca %"class.std::vector.3", align 8
  %137 = alloca %"class.std::vector.3", align 8
  %138 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %139 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %140 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %141 = alloca %"class.std::allocator.5", align 1
  %142 = alloca %"class.std::vector.3", align 8
  %143 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %144 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %145 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %146 = alloca %"class.std::allocator.5", align 1
  %147 = alloca %"class.std::vector", align 8
  %148 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %149 = alloca %"class.std::__cxx11::basic_string", align 8
  %150 = alloca %"class.std::allocator.0", align 1
  %151 = alloca i32, align 4
  %152 = alloca i32, align 4
  %153 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %154 = alloca %"class.std::__cxx11::basic_string", align 8
  %155 = alloca %"class.std::allocator.0", align 1
  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 4, ptr %6) #8
  store i32 25, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 30, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  store i32 0, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %10) #8
  store i8 0, ptr %10, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  store double 0.000000e+00, ptr %11, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 0, ptr %12, align 1, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.main.long_options, i64 64, i1 false)
  br label %156

156:                                              ; preds = %877, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %157 = load i32, ptr %4, align 4, !tbaa !5
  %158 = load ptr, ptr %5, align 8, !tbaa !9
  %159 = getelementptr inbounds [2 x %struct.option], ptr %14, i64 0, i64 0
  %160 = invoke i32 @ya_getopt_long_only(i32 noundef %157, ptr noundef %158, ptr noundef @.str.1, ptr noundef %159, ptr noundef null)
          to label %161 unwind label %165

161:                                              ; preds = %156
  store i32 %160, ptr %15, align 4, !tbaa !5
  %162 = load i32, ptr %15, align 4, !tbaa !5
  %163 = icmp eq i32 -1, %162
  br i1 %163, label %164, label %169

164:                                              ; preds = %161
  store i32 2, ptr %18, align 4
  br label %875

165:                                              ; preds = %872, %870, %156
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %16, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %17, align 4
  br label %878

169:                                              ; preds = %161
  %170 = load i32, ptr %15, align 4, !tbaa !5
  switch i32 %170, label %872 [
    i32 108, label %171
    i32 109, label %218
    i32 115, label %265
    i32 113, label %312
    i32 100, label %371
    i32 68, label %502
    i32 114, label %594
    i32 1000, label %770
    i32 82, label %811
    i32 104, label %870
  ]

171:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  %172 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %172, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %173 unwind label %187

173:                                              ; preds = %171
  %174 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %6)
          to label %175 unwind label %191

175:                                              ; preds = %173
  br i1 %174, label %176, label %179

176:                                              ; preds = %175
  %177 = load i32, ptr %6, align 4, !tbaa !5
  %178 = icmp sle i32 %177, 0
  br label %179

179:                                              ; preds = %176, %175
  %180 = phi i1 [ true, %175 ], [ %178, %176 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br i1 %180, label %181, label %215

181:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 376, ptr %21) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %182 unwind label %196

182:                                              ; preds = %181
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @.str.2)
          to label %184 unwind label %200

184:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %185 unwind label %204

185:                                              ; preds = %184
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %186 unwind label %208

186:                                              ; preds = %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #8
  br label %875

187:                                              ; preds = %171
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %16, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %17, align 4
  br label %195

191:                                              ; preds = %173
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %16, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %195

195:                                              ; preds = %191, %187
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %878

196:                                              ; preds = %181
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %16, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %17, align 4
  br label %214

200:                                              ; preds = %182
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %16, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %17, align 4
  br label %213

204:                                              ; preds = %184
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %16, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %17, align 4
  br label %212

208:                                              ; preds = %185
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %16, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %212

212:                                              ; preds = %208, %204
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #8
  br label %213

213:                                              ; preds = %212, %200
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #8
  br label %214

214:                                              ; preds = %213, %196
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #8
  br label %878

215:                                              ; preds = %179
  %216 = load i32, ptr %6, align 4, !tbaa !5
  %217 = add nsw i32 %216, -1
  store i32 %217, ptr %6, align 4, !tbaa !5
  br label %874

218:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  %219 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %219, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %220 unwind label %236

220:                                              ; preds = %218
  %221 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %6)
          to label %222 unwind label %240

222:                                              ; preds = %220
  br i1 %221, label %223, label %226

223:                                              ; preds = %222
  %224 = load i32, ptr %6, align 4, !tbaa !5
  %225 = icmp slt i32 %224, 0
  br label %226

226:                                              ; preds = %223, %222
  %227 = phi i1 [ true, %222 ], [ %225, %223 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br i1 %227, label %228, label %264

228:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 376, ptr %26) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %229 unwind label %245

229:                                              ; preds = %228
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @.str.4)
          to label %231 unwind label %249

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef @.str.5)
          to label %233 unwind label %249

233:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %234 unwind label %253

234:                                              ; preds = %233
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %235 unwind label %257

235:                                              ; preds = %234
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %26) #8
  br label %875

236:                                              ; preds = %218
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %16, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %17, align 4
  br label %244

240:                                              ; preds = %220
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %16, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %244

244:                                              ; preds = %240, %236
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %878

245:                                              ; preds = %228
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %16, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %17, align 4
  br label %263

249:                                              ; preds = %231, %229
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %16, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %17, align 4
  br label %262

253:                                              ; preds = %233
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %16, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %17, align 4
  br label %261

257:                                              ; preds = %234
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %16, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %261

261:                                              ; preds = %257, %253
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #8
  br label %262

262:                                              ; preds = %261, %249
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #8
  br label %263

263:                                              ; preds = %262, %245
  call void @llvm.lifetime.end.p0(i64 376, ptr %26) #8
  br label %878

264:                                              ; preds = %226
  br label %874

265:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #8
  %266 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %266, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %267 unwind label %283

267:                                              ; preds = %265
  %268 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %7)
          to label %269 unwind label %287

269:                                              ; preds = %267
  br i1 %268, label %270, label %273

270:                                              ; preds = %269
  %271 = load i32, ptr %7, align 4, !tbaa !5
  %272 = icmp slt i32 %271, 0
  br label %273

273:                                              ; preds = %270, %269
  %274 = phi i1 [ true, %269 ], [ %272, %270 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  br i1 %274, label %275, label %311

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 376, ptr %31) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31)
          to label %276 unwind label %292

276:                                              ; preds = %275
  %277 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef @.str.6)
          to label %278 unwind label %296

278:                                              ; preds = %276
  %279 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %277, ptr noundef @.str.5)
          to label %280 unwind label %296

280:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %281 unwind label %300

281:                                              ; preds = %280
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(112) %31)
          to label %282 unwind label %304

282:                                              ; preds = %281
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %31) #8
  br label %875

283:                                              ; preds = %265
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  store ptr %285, ptr %16, align 8
  %286 = extractvalue { ptr, i32 } %284, 1
  store i32 %286, ptr %17, align 4
  br label %291

287:                                              ; preds = %267
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %16, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  br label %291

291:                                              ; preds = %287, %283
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  br label %878

292:                                              ; preds = %275
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %16, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %17, align 4
  br label %310

296:                                              ; preds = %278, %276
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %16, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %17, align 4
  br label %309

300:                                              ; preds = %280
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %16, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %17, align 4
  br label %308

304:                                              ; preds = %281
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %16, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #8
  br label %308

308:                                              ; preds = %304, %300
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #8
  br label %309

309:                                              ; preds = %308, %296
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #8
  br label %310

310:                                              ; preds = %309, %292
  call void @llvm.lifetime.end.p0(i64 376, ptr %31) #8
  br label %878

311:                                              ; preds = %273
  br label %874

312:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 0, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 2, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %37) #8
  %313 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef %313, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %314 unwind label %338

314:                                              ; preds = %312
  %315 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef %36)
          to label %316 unwind label %342

316:                                              ; preds = %314
  br i1 %315, label %317, label %322

317:                                              ; preds = %316
  %318 = load i32, ptr %36, align 4, !tbaa !5
  %319 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %318, i32 noundef 0, i32 noundef 2)
          to label %320 unwind label %342

320:                                              ; preds = %317
  %321 = xor i1 %319, true
  br label %322

322:                                              ; preds = %320, %316
  %323 = phi i1 [ true, %316 ], [ %321, %320 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  br i1 %323, label %324, label %366

324:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 376, ptr %39) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39)
          to label %325 unwind label %347

325:                                              ; preds = %324
  %326 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef @.str.7)
          to label %327 unwind label %351

327:                                              ; preds = %325
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %326, ptr noundef @.str.8)
          to label %329 unwind label %351

329:                                              ; preds = %327
  %330 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %328, i32 noundef 0)
          to label %331 unwind label %351

331:                                              ; preds = %329
  %332 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %330, ptr noundef @.str.9)
          to label %333 unwind label %351

333:                                              ; preds = %331
  %334 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %332, i32 noundef 2)
          to label %335 unwind label %351

335:                                              ; preds = %333
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %336 unwind label %355

336:                                              ; preds = %335
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(112) %39)
          to label %337 unwind label %359

337:                                              ; preds = %336
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %39) #8
  br label %368

338:                                              ; preds = %312
  %339 = landingpad { ptr, i32 }
          cleanup
  %340 = extractvalue { ptr, i32 } %339, 0
  store ptr %340, ptr %16, align 8
  %341 = extractvalue { ptr, i32 } %339, 1
  store i32 %341, ptr %17, align 4
  br label %346

342:                                              ; preds = %317, %314
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %16, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  br label %346

346:                                              ; preds = %342, %338
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  br label %370

347:                                              ; preds = %324
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %16, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %17, align 4
  br label %365

351:                                              ; preds = %333, %331, %329, %327, %325
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %16, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %17, align 4
  br label %364

355:                                              ; preds = %335
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %16, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %17, align 4
  br label %363

359:                                              ; preds = %336
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %16, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %363

363:                                              ; preds = %359, %355
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %364

364:                                              ; preds = %363, %351
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #8
  br label %365

365:                                              ; preds = %364, %347
  call void @llvm.lifetime.end.p0(i64 376, ptr %39) #8
  br label %370

366:                                              ; preds = %322
  %367 = load i32, ptr %36, align 4, !tbaa !5
  store i32 %367, ptr %8, align 4, !tbaa !11
  store i32 4, ptr %18, align 4
  br label %368

368:                                              ; preds = %366, %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  %369 = load i32, ptr %18, align 4
  switch i32 %369, label %875 [
    i32 4, label %874
  ]

370:                                              ; preds = %365, %346
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  br label %878

371:                                              ; preds = %169
  %372 = load i8, ptr %10, align 1, !tbaa !12, !range !16, !noundef !17
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %399

374:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 376, ptr %42) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42)
          to label %375 unwind label %380

375:                                              ; preds = %374
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef @.str.10)
          to label %377 unwind label %384

377:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 32, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %378 unwind label %388

378:                                              ; preds = %377
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(112) %42)
          to label %379 unwind label %392

379:                                              ; preds = %378
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %42) #8
  br label %875

380:                                              ; preds = %374
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %16, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %17, align 4
  br label %398

384:                                              ; preds = %375
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %16, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %17, align 4
  br label %397

388:                                              ; preds = %377
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %16, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %17, align 4
  br label %396

392:                                              ; preds = %378
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %16, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #8
  br label %396

396:                                              ; preds = %392, %388
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %43) #8
  br label %397

397:                                              ; preds = %396, %384
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #8
  br label %398

398:                                              ; preds = %397, %380
  call void @llvm.lifetime.end.p0(i64 376, ptr %42) #8
  br label %878

399:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #8
  %400 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %400, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %401 unwind label %411

401:                                              ; preds = %399
  %402 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef %46)
          to label %403 unwind label %415

403:                                              ; preds = %401
  %404 = xor i1 %402, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  br i1 %404, label %405, label %439

405:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 376, ptr %49) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49)
          to label %406 unwind label %420

406:                                              ; preds = %405
  %407 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @.str.11)
          to label %408 unwind label %424

408:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %409 unwind label %428

409:                                              ; preds = %408
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(112) %49)
          to label %410 unwind label %432

410:                                              ; preds = %409
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %49) #8
  br label %499

411:                                              ; preds = %399
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %16, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %17, align 4
  br label %419

415:                                              ; preds = %401
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %16, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  br label %419

419:                                              ; preds = %415, %411
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  br label %501

420:                                              ; preds = %405
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %16, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %17, align 4
  br label %438

424:                                              ; preds = %406
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %16, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %17, align 4
  br label %437

428:                                              ; preds = %408
  %429 = landingpad { ptr, i32 }
          cleanup
  %430 = extractvalue { ptr, i32 } %429, 0
  store ptr %430, ptr %16, align 8
  %431 = extractvalue { ptr, i32 } %429, 1
  store i32 %431, ptr %17, align 4
  br label %436

432:                                              ; preds = %409
  %433 = landingpad { ptr, i32 }
          cleanup
  %434 = extractvalue { ptr, i32 } %433, 0
  store ptr %434, ptr %16, align 8
  %435 = extractvalue { ptr, i32 } %433, 1
  store i32 %435, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #8
  br label %436

436:                                              ; preds = %432, %428
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #8
  br label %437

437:                                              ; preds = %436, %424
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #8
  br label %438

438:                                              ; preds = %437, %420
  call void @llvm.lifetime.end.p0(i64 376, ptr %49) #8
  br label %501

439:                                              ; preds = %403
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %440 unwind label %472

440:                                              ; preds = %439
  br label %441

441:                                              ; preds = %469, %440
  %442 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %443 = load i32, ptr %4, align 4, !tbaa !5
  %444 = icmp slt i32 %442, %443
  store i1 false, ptr %53, align 1
  store i1 false, ptr %55, align 1
  store i1 false, ptr %56, align 1
  store i1 false, ptr %57, align 1
  br i1 %444, label %445, label %454

445:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #8
  store i1 true, ptr %53, align 1
  %446 = load ptr, ptr %5, align 8, !tbaa !9
  %447 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %448 = sext i32 %447 to i64
  %449 = getelementptr inbounds ptr, ptr %446, i64 %448
  %450 = load ptr, ptr %449, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #8
  store i1 true, ptr %55, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  store i1 true, ptr %56, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef %450, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %451 unwind label %476

451:                                              ; preds = %445
  store i1 true, ptr %57, align 1
  %452 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef %46)
          to label %453 unwind label %480

453:                                              ; preds = %451
  br label %454

454:                                              ; preds = %453, %441
  %455 = phi i1 [ false, %441 ], [ %452, %453 ]
  %456 = load i1, ptr %57, align 1
  br i1 %456, label %457, label %458

457:                                              ; preds = %454
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %458

458:                                              ; preds = %457, %454
  %459 = load i1, ptr %56, align 1
  br i1 %459, label %460, label %461

460:                                              ; preds = %458
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  br label %461

461:                                              ; preds = %460, %458
  %462 = load i1, ptr %55, align 1
  br i1 %462, label %463, label %464

463:                                              ; preds = %461
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  br label %464

464:                                              ; preds = %463, %461
  %465 = load i1, ptr %53, align 1
  br i1 %465, label %466, label %467

466:                                              ; preds = %464
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  br label %467

467:                                              ; preds = %466, %464
  br i1 %455, label %468, label %497

468:                                              ; preds = %467
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(8) %46)
          to label %469 unwind label %472

469:                                              ; preds = %468
  %470 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %471 = add nsw i32 %470, 1
  store i32 %471, ptr @ya_optind, align 4, !tbaa !5
  br label %441, !llvm.loop !18

472:                                              ; preds = %497, %468, %439
  %473 = landingpad { ptr, i32 }
          cleanup
  %474 = extractvalue { ptr, i32 } %473, 0
  store ptr %474, ptr %16, align 8
  %475 = extractvalue { ptr, i32 } %473, 1
  store i32 %475, ptr %17, align 4
  br label %501

476:                                              ; preds = %445
  %477 = landingpad { ptr, i32 }
          cleanup
  %478 = extractvalue { ptr, i32 } %477, 0
  store ptr %478, ptr %16, align 8
  %479 = extractvalue { ptr, i32 } %477, 1
  store i32 %479, ptr %17, align 4
  br label %487

480:                                              ; preds = %451
  %481 = landingpad { ptr, i32 }
          cleanup
  %482 = extractvalue { ptr, i32 } %481, 0
  store ptr %482, ptr %16, align 8
  %483 = extractvalue { ptr, i32 } %481, 1
  store i32 %483, ptr %17, align 4
  %484 = load i1, ptr %57, align 1
  br i1 %484, label %485, label %486

485:                                              ; preds = %480
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %486

486:                                              ; preds = %485, %480
  br label %487

487:                                              ; preds = %486, %476
  %488 = load i1, ptr %56, align 1
  br i1 %488, label %489, label %490

489:                                              ; preds = %487
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  br label %490

490:                                              ; preds = %489, %487
  %491 = load i1, ptr %55, align 1
  br i1 %491, label %492, label %493

492:                                              ; preds = %490
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  br label %493

493:                                              ; preds = %492, %490
  %494 = load i1, ptr %53, align 1
  br i1 %494, label %495, label %496

495:                                              ; preds = %493
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  br label %496

496:                                              ; preds = %495, %493
  br label %501

497:                                              ; preds = %467
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %45)
          to label %498 unwind label %472

498:                                              ; preds = %497
  store i32 4, ptr %18, align 4
  br label %499

499:                                              ; preds = %498, %410
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  %500 = load i32, ptr %18, align 4
  switch i32 %500, label %875 [
    i32 4, label %874
  ]

501:                                              ; preds = %496, %472, %438, %419
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  br label %878

502:                                              ; preds = %169
  %503 = load i8, ptr %10, align 1, !tbaa !12, !range !16, !noundef !17
  %504 = trunc i8 %503 to i1
  br i1 %504, label %505, label %530

505:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 376, ptr %58) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %58)
          to label %506 unwind label %511

506:                                              ; preds = %505
  %507 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @.str.12)
          to label %508 unwind label %515

508:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 32, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %509 unwind label %519

509:                                              ; preds = %508
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(112) %58)
          to label %510 unwind label %523

510:                                              ; preds = %509
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %58) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %58) #8
  br label %875

511:                                              ; preds = %505
  %512 = landingpad { ptr, i32 }
          cleanup
  %513 = extractvalue { ptr, i32 } %512, 0
  store ptr %513, ptr %16, align 8
  %514 = extractvalue { ptr, i32 } %512, 1
  store i32 %514, ptr %17, align 4
  br label %529

515:                                              ; preds = %506
  %516 = landingpad { ptr, i32 }
          cleanup
  %517 = extractvalue { ptr, i32 } %516, 0
  store ptr %517, ptr %16, align 8
  %518 = extractvalue { ptr, i32 } %516, 1
  store i32 %518, ptr %17, align 4
  br label %528

519:                                              ; preds = %508
  %520 = landingpad { ptr, i32 }
          cleanup
  %521 = extractvalue { ptr, i32 } %520, 0
  store ptr %521, ptr %16, align 8
  %522 = extractvalue { ptr, i32 } %520, 1
  store i32 %522, ptr %17, align 4
  br label %527

523:                                              ; preds = %509
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %16, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  br label %527

527:                                              ; preds = %523, %519
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %59) #8
  br label %528

528:                                              ; preds = %527, %515
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %58) #8
  br label %529

529:                                              ; preds = %528, %511
  call void @llvm.lifetime.end.p0(i64 376, ptr %58) #8
  br label %878

530:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 520, ptr %61) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %61)
          to label %531 unwind label %551

531:                                              ; preds = %530
  %532 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  %533 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %534 unwind label %555

534:                                              ; preds = %531
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %61, ptr noundef %532, i32 noundef %533)
          to label %535 unwind label %555

535:                                              ; preds = %534
  %536 = load ptr, ptr %61, align 8, !tbaa !20
  %537 = getelementptr i8, ptr %536, i64 -24
  %538 = load i64, ptr %537, align 8
  %539 = getelementptr inbounds i8, ptr %61, i64 %538
  %540 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %539)
          to label %541 unwind label %555

541:                                              ; preds = %535
  br i1 %540, label %542, label %578

542:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 376, ptr %62) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62)
          to label %543 unwind label %559

543:                                              ; preds = %542
  %544 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @.str.13)
          to label %545 unwind label %563

545:                                              ; preds = %543
  %546 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  %547 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %544, ptr noundef %546)
          to label %548 unwind label %563

548:                                              ; preds = %545
  call void @llvm.lifetime.start.p0(i64 32, ptr %63) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %549 unwind label %567

549:                                              ; preds = %548
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(112) %62)
          to label %550 unwind label %571

550:                                              ; preds = %549
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %62) #8
  br label %590

551:                                              ; preds = %530
  %552 = landingpad { ptr, i32 }
          cleanup
  %553 = extractvalue { ptr, i32 } %552, 0
  store ptr %553, ptr %16, align 8
  %554 = extractvalue { ptr, i32 } %552, 1
  store i32 %554, ptr %17, align 4
  br label %593

555:                                              ; preds = %535, %534, %531
  %556 = landingpad { ptr, i32 }
          cleanup
  %557 = extractvalue { ptr, i32 } %556, 0
  store ptr %557, ptr %16, align 8
  %558 = extractvalue { ptr, i32 } %556, 1
  store i32 %558, ptr %17, align 4
  br label %592

559:                                              ; preds = %542
  %560 = landingpad { ptr, i32 }
          cleanup
  %561 = extractvalue { ptr, i32 } %560, 0
  store ptr %561, ptr %16, align 8
  %562 = extractvalue { ptr, i32 } %560, 1
  store i32 %562, ptr %17, align 4
  br label %577

563:                                              ; preds = %545, %543
  %564 = landingpad { ptr, i32 }
          cleanup
  %565 = extractvalue { ptr, i32 } %564, 0
  store ptr %565, ptr %16, align 8
  %566 = extractvalue { ptr, i32 } %564, 1
  store i32 %566, ptr %17, align 4
  br label %576

567:                                              ; preds = %548
  %568 = landingpad { ptr, i32 }
          cleanup
  %569 = extractvalue { ptr, i32 } %568, 0
  store ptr %569, ptr %16, align 8
  %570 = extractvalue { ptr, i32 } %568, 1
  store i32 %570, ptr %17, align 4
  br label %575

571:                                              ; preds = %549
  %572 = landingpad { ptr, i32 }
          cleanup
  %573 = extractvalue { ptr, i32 } %572, 0
  store ptr %573, ptr %16, align 8
  %574 = extractvalue { ptr, i32 } %572, 1
  store i32 %574, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  br label %575

575:                                              ; preds = %571, %567
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %63) #8
  br label %576

576:                                              ; preds = %575, %563
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #8
  br label %577

577:                                              ; preds = %576, %559
  call void @llvm.lifetime.end.p0(i64 376, ptr %62) #8
  br label %592

578:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  br label %579

579:                                              ; preds = %583, %578
  %580 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef %66, ptr noundef %61)
          to label %581 unwind label %584

581:                                              ; preds = %579
  br i1 %580, label %582, label %588

582:                                              ; preds = %581
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 8 dereferenceable(8) %66)
          to label %583 unwind label %584

583:                                              ; preds = %582
  br label %579, !llvm.loop !22

584:                                              ; preds = %588, %582, %579
  %585 = landingpad { ptr, i32 }
          cleanup
  %586 = extractvalue { ptr, i32 } %585, 0
  store ptr %586, ptr %16, align 8
  %587 = extractvalue { ptr, i32 } %585, 1
  store i32 %587, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #8
  br label %592

588:                                              ; preds = %581
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %65)
          to label %589 unwind label %584

589:                                              ; preds = %588
  store i32 4, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #8
  br label %590

590:                                              ; preds = %589, %550
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %61) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %61) #8
  %591 = load i32, ptr %18, align 4
  switch i32 %591, label %875 [
    i32 4, label %874
  ]

592:                                              ; preds = %584, %577, %555
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %61) #8
  br label %593

593:                                              ; preds = %592, %551
  call void @llvm.lifetime.end.p0(i64 520, ptr %61) #8
  br label %878

594:                                              ; preds = %169
  %595 = load i8, ptr %10, align 1, !tbaa !12, !range !16, !noundef !17
  %596 = trunc i8 %595 to i1
  br i1 %596, label %597, label %622

597:                                              ; preds = %594
  call void @llvm.lifetime.start.p0(i64 376, ptr %67) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67)
          to label %598 unwind label %603

598:                                              ; preds = %597
  %599 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef @.str.14)
          to label %600 unwind label %607

600:                                              ; preds = %598
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %601 unwind label %611

601:                                              ; preds = %600
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(112) %67)
          to label %602 unwind label %615

602:                                              ; preds = %601
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %67) #8
  br label %875

603:                                              ; preds = %597
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %16, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %17, align 4
  br label %621

607:                                              ; preds = %598
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %16, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %17, align 4
  br label %620

611:                                              ; preds = %600
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %16, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %17, align 4
  br label %619

615:                                              ; preds = %601
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %16, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  br label %619

619:                                              ; preds = %615, %611
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  br label %620

620:                                              ; preds = %619, %607
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #8
  br label %621

621:                                              ; preds = %620, %603
  call void @llvm.lifetime.end.p0(i64 376, ptr %67) #8
  br label %878

622:                                              ; preds = %594
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %71) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #8
  %623 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef %623, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %624 unwind label %640

624:                                              ; preds = %622
  %625 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef %70)
          to label %626 unwind label %644

626:                                              ; preds = %624
  br i1 %625, label %627, label %632

627:                                              ; preds = %626
  %628 = load i32, ptr %70, align 4, !tbaa !5
  %629 = invoke noundef zeroext i1 @_ZN4sptk39ComputeFirstOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef %628, ptr noundef %71)
          to label %630 unwind label %644

630:                                              ; preds = %627
  %631 = xor i1 %629, true
  br label %632

632:                                              ; preds = %630, %626
  %633 = phi i1 [ true, %626 ], [ %631, %630 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  br i1 %633, label %634, label %668

634:                                              ; preds = %632
  call void @llvm.lifetime.start.p0(i64 376, ptr %74) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74)
          to label %635 unwind label %649

635:                                              ; preds = %634
  %636 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef @.str.15)
          to label %637 unwind label %653

637:                                              ; preds = %635
  call void @llvm.lifetime.start.p0(i64 32, ptr %75) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %76) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %638 unwind label %657

638:                                              ; preds = %637
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(112) %74)
          to label %639 unwind label %661

639:                                              ; preds = %638
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %74) #8
  br label %670

640:                                              ; preds = %622
  %641 = landingpad { ptr, i32 }
          cleanup
  %642 = extractvalue { ptr, i32 } %641, 0
  store ptr %642, ptr %16, align 8
  %643 = extractvalue { ptr, i32 } %641, 1
  store i32 %643, ptr %17, align 4
  br label %648

644:                                              ; preds = %627, %624
  %645 = landingpad { ptr, i32 }
          cleanup
  %646 = extractvalue { ptr, i32 } %645, 0
  store ptr %646, ptr %16, align 8
  %647 = extractvalue { ptr, i32 } %645, 1
  store i32 %647, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  br label %648

648:                                              ; preds = %644, %640
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  br label %713

649:                                              ; preds = %634
  %650 = landingpad { ptr, i32 }
          cleanup
  %651 = extractvalue { ptr, i32 } %650, 0
  store ptr %651, ptr %16, align 8
  %652 = extractvalue { ptr, i32 } %650, 1
  store i32 %652, ptr %17, align 4
  br label %667

653:                                              ; preds = %635
  %654 = landingpad { ptr, i32 }
          cleanup
  %655 = extractvalue { ptr, i32 } %654, 0
  store ptr %655, ptr %16, align 8
  %656 = extractvalue { ptr, i32 } %654, 1
  store i32 %656, ptr %17, align 4
  br label %666

657:                                              ; preds = %637
  %658 = landingpad { ptr, i32 }
          cleanup
  %659 = extractvalue { ptr, i32 } %658, 0
  store ptr %659, ptr %16, align 8
  %660 = extractvalue { ptr, i32 } %658, 1
  store i32 %660, ptr %17, align 4
  br label %665

661:                                              ; preds = %638
  %662 = landingpad { ptr, i32 }
          cleanup
  %663 = extractvalue { ptr, i32 } %662, 0
  store ptr %663, ptr %16, align 8
  %664 = extractvalue { ptr, i32 } %662, 1
  store i32 %664, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  br label %665

665:                                              ; preds = %661, %657
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %76) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %75) #8
  br label %666

666:                                              ; preds = %665, %653
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #8
  br label %667

667:                                              ; preds = %666, %649
  call void @llvm.lifetime.end.p0(i64 376, ptr %74) #8
  br label %713

668:                                              ; preds = %632
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %71)
          to label %669 unwind label %709

669:                                              ; preds = %668
  store i32 0, ptr %18, align 4
  br label %670

670:                                              ; preds = %669, %639
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #8
  %671 = load i32, ptr %18, align 4
  switch i32 %671, label %767 [
    i32 0, label %672
  ]

672:                                              ; preds = %670
  %673 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %674 = load i32, ptr %4, align 4, !tbaa !5
  %675 = icmp slt i32 %673, %674
  store i1 false, ptr %78, align 1
  store i1 false, ptr %80, align 1
  store i1 false, ptr %81, align 1
  store i1 false, ptr %82, align 1
  br i1 %675, label %676, label %685

676:                                              ; preds = %672
  call void @llvm.lifetime.start.p0(i64 32, ptr %77) #8
  store i1 true, ptr %78, align 1
  %677 = load ptr, ptr %5, align 8, !tbaa !9
  %678 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %679 = sext i32 %678 to i64
  %680 = getelementptr inbounds ptr, ptr %677, i64 %679
  %681 = load ptr, ptr %680, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %79) #8
  store i1 true, ptr %80, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  store i1 true, ptr %81, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef %681, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %682 unwind label %714

682:                                              ; preds = %676
  store i1 true, ptr %82, align 1
  %683 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef %70)
          to label %684 unwind label %718

684:                                              ; preds = %682
  br label %685

685:                                              ; preds = %684, %672
  %686 = phi i1 [ false, %672 ], [ %683, %684 ]
  %687 = load i1, ptr %82, align 1
  br i1 %687, label %688, label %689

688:                                              ; preds = %685
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #8
  br label %689

689:                                              ; preds = %688, %685
  %690 = load i1, ptr %81, align 1
  br i1 %690, label %691, label %692

691:                                              ; preds = %689
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  br label %692

692:                                              ; preds = %691, %689
  %693 = load i1, ptr %80, align 1
  br i1 %693, label %694, label %695

694:                                              ; preds = %692
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #8
  br label %695

695:                                              ; preds = %694, %692
  %696 = load i1, ptr %78, align 1
  br i1 %696, label %697, label %698

697:                                              ; preds = %695
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #8
  br label %698

698:                                              ; preds = %697, %695
  br i1 %686, label %699, label %766

699:                                              ; preds = %698
  call void @llvm.lifetime.start.p0(i64 24, ptr %83) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  %700 = load i32, ptr %70, align 4, !tbaa !5
  %701 = invoke noundef zeroext i1 @_ZN4sptk40ComputeSecondOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef %700, ptr noundef %83)
          to label %702 unwind label %735

702:                                              ; preds = %699
  br i1 %701, label %758, label %703

703:                                              ; preds = %702
  call void @llvm.lifetime.start.p0(i64 376, ptr %84) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84)
          to label %704 unwind label %739

704:                                              ; preds = %703
  %705 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @.str.15)
          to label %706 unwind label %743

706:                                              ; preds = %704
  call void @llvm.lifetime.start.p0(i64 32, ptr %85) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %86) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %707 unwind label %747

707:                                              ; preds = %706
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(112) %84)
          to label %708 unwind label %751

708:                                              ; preds = %707
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %84) #8
  br label %762

709:                                              ; preds = %668
  %710 = landingpad { ptr, i32 }
          cleanup
  %711 = extractvalue { ptr, i32 } %710, 0
  store ptr %711, ptr %16, align 8
  %712 = extractvalue { ptr, i32 } %710, 1
  store i32 %712, ptr %17, align 4
  br label %713

713:                                              ; preds = %709, %667, %648
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %71) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %71) #8
  br label %769

714:                                              ; preds = %676
  %715 = landingpad { ptr, i32 }
          cleanup
  %716 = extractvalue { ptr, i32 } %715, 0
  store ptr %716, ptr %16, align 8
  %717 = extractvalue { ptr, i32 } %715, 1
  store i32 %717, ptr %17, align 4
  br label %725

718:                                              ; preds = %682
  %719 = landingpad { ptr, i32 }
          cleanup
  %720 = extractvalue { ptr, i32 } %719, 0
  store ptr %720, ptr %16, align 8
  %721 = extractvalue { ptr, i32 } %719, 1
  store i32 %721, ptr %17, align 4
  %722 = load i1, ptr %82, align 1
  br i1 %722, label %723, label %724

723:                                              ; preds = %718
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #8
  br label %724

724:                                              ; preds = %723, %718
  br label %725

725:                                              ; preds = %724, %714
  %726 = load i1, ptr %81, align 1
  br i1 %726, label %727, label %728

727:                                              ; preds = %725
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  br label %728

728:                                              ; preds = %727, %725
  %729 = load i1, ptr %80, align 1
  br i1 %729, label %730, label %731

730:                                              ; preds = %728
  call void @llvm.lifetime.end.p0(i64 1, ptr %79) #8
  br label %731

731:                                              ; preds = %730, %728
  %732 = load i1, ptr %78, align 1
  br i1 %732, label %733, label %734

733:                                              ; preds = %731
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #8
  br label %734

734:                                              ; preds = %733, %731
  br label %769

735:                                              ; preds = %758, %699
  %736 = landingpad { ptr, i32 }
          cleanup
  %737 = extractvalue { ptr, i32 } %736, 0
  store ptr %737, ptr %16, align 8
  %738 = extractvalue { ptr, i32 } %736, 1
  store i32 %738, ptr %17, align 4
  br label %765

739:                                              ; preds = %703
  %740 = landingpad { ptr, i32 }
          cleanup
  %741 = extractvalue { ptr, i32 } %740, 0
  store ptr %741, ptr %16, align 8
  %742 = extractvalue { ptr, i32 } %740, 1
  store i32 %742, ptr %17, align 4
  br label %757

743:                                              ; preds = %704
  %744 = landingpad { ptr, i32 }
          cleanup
  %745 = extractvalue { ptr, i32 } %744, 0
  store ptr %745, ptr %16, align 8
  %746 = extractvalue { ptr, i32 } %744, 1
  store i32 %746, ptr %17, align 4
  br label %756

747:                                              ; preds = %706
  %748 = landingpad { ptr, i32 }
          cleanup
  %749 = extractvalue { ptr, i32 } %748, 0
  store ptr %749, ptr %16, align 8
  %750 = extractvalue { ptr, i32 } %748, 1
  store i32 %750, ptr %17, align 4
  br label %755

751:                                              ; preds = %707
  %752 = landingpad { ptr, i32 }
          cleanup
  %753 = extractvalue { ptr, i32 } %752, 0
  store ptr %753, ptr %16, align 8
  %754 = extractvalue { ptr, i32 } %752, 1
  store i32 %754, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  br label %755

755:                                              ; preds = %751, %747
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %86) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %85) #8
  br label %756

756:                                              ; preds = %755, %743
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #8
  br label %757

757:                                              ; preds = %756, %739
  call void @llvm.lifetime.end.p0(i64 376, ptr %84) #8
  br label %765

758:                                              ; preds = %702
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %83)
          to label %759 unwind label %735

759:                                              ; preds = %758
  %760 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %761 = add nsw i32 %760, 1
  store i32 %761, ptr @ya_optind, align 4, !tbaa !5
  store i32 0, ptr %18, align 4
  br label %762

762:                                              ; preds = %759, %708
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #8
  %763 = load i32, ptr %18, align 4
  switch i32 %763, label %767 [
    i32 0, label %764
  ]

764:                                              ; preds = %762
  br label %766

765:                                              ; preds = %757, %735
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %83) #8
  br label %769

766:                                              ; preds = %764, %698
  store i8 1, ptr %10, align 1, !tbaa !12
  store i32 4, ptr %18, align 4
  br label %767

767:                                              ; preds = %766, %762, %670
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  %768 = load i32, ptr %18, align 4
  switch i32 %768, label %875 [
    i32 4, label %874
  ]

769:                                              ; preds = %765, %734, %713
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #8
  br label %878

770:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %87) #8
  %771 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %88) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef %771, ptr noundef nonnull align 1 dereferenceable(1) %88)
          to label %772 unwind label %782

772:                                              ; preds = %770
  %773 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %87, ptr noundef %11)
          to label %774 unwind label %786

774:                                              ; preds = %772
  %775 = xor i1 %773, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #8
  br i1 %775, label %776, label %810

776:                                              ; preds = %774
  call void @llvm.lifetime.start.p0(i64 376, ptr %89) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89)
          to label %777 unwind label %791

777:                                              ; preds = %776
  %778 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @.str.16)
          to label %779 unwind label %795

779:                                              ; preds = %777
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %91) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %91)
          to label %780 unwind label %799

780:                                              ; preds = %779
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull align 8 dereferenceable(112) %89)
          to label %781 unwind label %803

781:                                              ; preds = %780
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %89) #8
  br label %875

782:                                              ; preds = %770
  %783 = landingpad { ptr, i32 }
          cleanup
  %784 = extractvalue { ptr, i32 } %783, 0
  store ptr %784, ptr %16, align 8
  %785 = extractvalue { ptr, i32 } %783, 1
  store i32 %785, ptr %17, align 4
  br label %790

786:                                              ; preds = %772
  %787 = landingpad { ptr, i32 }
          cleanup
  %788 = extractvalue { ptr, i32 } %787, 0
  store ptr %788, ptr %16, align 8
  %789 = extractvalue { ptr, i32 } %787, 1
  store i32 %789, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %87) #8
  br label %790

790:                                              ; preds = %786, %782
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %88) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %87) #8
  br label %878

791:                                              ; preds = %776
  %792 = landingpad { ptr, i32 }
          cleanup
  %793 = extractvalue { ptr, i32 } %792, 0
  store ptr %793, ptr %16, align 8
  %794 = extractvalue { ptr, i32 } %792, 1
  store i32 %794, ptr %17, align 4
  br label %809

795:                                              ; preds = %777
  %796 = landingpad { ptr, i32 }
          cleanup
  %797 = extractvalue { ptr, i32 } %796, 0
  store ptr %797, ptr %16, align 8
  %798 = extractvalue { ptr, i32 } %796, 1
  store i32 %798, ptr %17, align 4
  br label %808

799:                                              ; preds = %779
  %800 = landingpad { ptr, i32 }
          cleanup
  %801 = extractvalue { ptr, i32 } %800, 0
  store ptr %801, ptr %16, align 8
  %802 = extractvalue { ptr, i32 } %800, 1
  store i32 %802, ptr %17, align 4
  br label %807

803:                                              ; preds = %780
  %804 = landingpad { ptr, i32 }
          cleanup
  %805 = extractvalue { ptr, i32 } %804, 0
  store ptr %805, ptr %16, align 8
  %806 = extractvalue { ptr, i32 } %804, 1
  store i32 %806, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  br label %807

807:                                              ; preds = %803, %799
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #8
  br label %808

808:                                              ; preds = %807, %795
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89) #8
  br label %809

809:                                              ; preds = %808, %791
  call void @llvm.lifetime.end.p0(i64 376, ptr %89) #8
  br label %878

810:                                              ; preds = %774
  store i8 1, ptr %12, align 1, !tbaa !12
  br label %874

811:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 4, ptr %92) #8
  store i32 0, ptr %92, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #8
  store i32 1, ptr %93, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %95) #8
  %812 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %96) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef %812, ptr noundef nonnull align 1 dereferenceable(1) %96)
          to label %813 unwind label %837

813:                                              ; preds = %811
  %814 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %95, ptr noundef %94)
          to label %815 unwind label %841

815:                                              ; preds = %813
  br i1 %814, label %816, label %821

816:                                              ; preds = %815
  %817 = load i32, ptr %94, align 4, !tbaa !5
  %818 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %817, i32 noundef 0, i32 noundef 1)
          to label %819 unwind label %841

819:                                              ; preds = %816
  %820 = xor i1 %818, true
  br label %821

821:                                              ; preds = %819, %815
  %822 = phi i1 [ true, %815 ], [ %820, %819 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %96) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %95) #8
  br i1 %822, label %823, label %865

823:                                              ; preds = %821
  call void @llvm.lifetime.start.p0(i64 376, ptr %97) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %97)
          to label %824 unwind label %846

824:                                              ; preds = %823
  %825 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @.str.17)
          to label %826 unwind label %850

826:                                              ; preds = %824
  %827 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %825, ptr noundef @.str.8)
          to label %828 unwind label %850

828:                                              ; preds = %826
  %829 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %827, i32 noundef 0)
          to label %830 unwind label %850

830:                                              ; preds = %828
  %831 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %829, ptr noundef @.str.9)
          to label %832 unwind label %850

832:                                              ; preds = %830
  %833 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %831, i32 noundef 1)
          to label %834 unwind label %850

834:                                              ; preds = %832
  call void @llvm.lifetime.start.p0(i64 32, ptr %98) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %99) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %99)
          to label %835 unwind label %854

835:                                              ; preds = %834
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %98, ptr noundef nonnull align 8 dereferenceable(112) %97)
          to label %836 unwind label %858

836:                                              ; preds = %835
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %97) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %97) #8
  br label %867

837:                                              ; preds = %811
  %838 = landingpad { ptr, i32 }
          cleanup
  %839 = extractvalue { ptr, i32 } %838, 0
  store ptr %839, ptr %16, align 8
  %840 = extractvalue { ptr, i32 } %838, 1
  store i32 %840, ptr %17, align 4
  br label %845

841:                                              ; preds = %816, %813
  %842 = landingpad { ptr, i32 }
          cleanup
  %843 = extractvalue { ptr, i32 } %842, 0
  store ptr %843, ptr %16, align 8
  %844 = extractvalue { ptr, i32 } %842, 1
  store i32 %844, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %95) #8
  br label %845

845:                                              ; preds = %841, %837
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %96) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %96) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %95) #8
  br label %869

846:                                              ; preds = %823
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %16, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %17, align 4
  br label %864

850:                                              ; preds = %832, %830, %828, %826, %824
  %851 = landingpad { ptr, i32 }
          cleanup
  %852 = extractvalue { ptr, i32 } %851, 0
  store ptr %852, ptr %16, align 8
  %853 = extractvalue { ptr, i32 } %851, 1
  store i32 %853, ptr %17, align 4
  br label %863

854:                                              ; preds = %834
  %855 = landingpad { ptr, i32 }
          cleanup
  %856 = extractvalue { ptr, i32 } %855, 0
  store ptr %856, ptr %16, align 8
  %857 = extractvalue { ptr, i32 } %855, 1
  store i32 %857, ptr %17, align 4
  br label %862

858:                                              ; preds = %835
  %859 = landingpad { ptr, i32 }
          cleanup
  %860 = extractvalue { ptr, i32 } %859, 0
  store ptr %860, ptr %16, align 8
  %861 = extractvalue { ptr, i32 } %859, 1
  store i32 %861, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %98) #8
  br label %862

862:                                              ; preds = %858, %854
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %99) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %99) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %98) #8
  br label %863

863:                                              ; preds = %862, %850
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %97) #8
  br label %864

864:                                              ; preds = %863, %846
  call void @llvm.lifetime.end.p0(i64 376, ptr %97) #8
  br label %869

865:                                              ; preds = %821
  %866 = load i32, ptr %94, align 4, !tbaa !5
  store i32 %866, ptr %13, align 4, !tbaa !11
  store i32 4, ptr %18, align 4
  br label %867

867:                                              ; preds = %865, %836
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #8
  %868 = load i32, ptr %18, align 4
  switch i32 %868, label %875 [
    i32 4, label %874
  ]

869:                                              ; preds = %864, %845
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %92) #8
  br label %878

870:                                              ; preds = %169
  invoke void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cout)
          to label %871 unwind label %165

871:                                              ; preds = %870
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %875

872:                                              ; preds = %169
  invoke void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cerr)
          to label %873 unwind label %165

873:                                              ; preds = %872
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %875

874:                                              ; preds = %867, %810, %767, %590, %499, %368, %311, %264, %215
  store i32 0, ptr %18, align 4
  br label %875

875:                                              ; preds = %874, %873, %871, %867, %781, %767, %602, %590, %510, %499, %379, %368, %282, %235, %186, %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  %876 = load i32, ptr %18, align 4
  switch i32 %876, label %1377 [
    i32 0, label %877
    i32 2, label %879
  ]

877:                                              ; preds = %875
  br label %156, !llvm.loop !23

878:                                              ; preds = %869, %809, %790, %769, %621, %593, %529, %501, %398, %370, %310, %291, %263, %244, %214, %195, %165
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %1379

879:                                              ; preds = %875
  call void @llvm.lifetime.start.p0(i64 4, ptr %100) #8
  %880 = load i32, ptr %4, align 4, !tbaa !5
  %881 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %882 = sub nsw i32 %880, %881
  store i32 %882, ptr %100, align 4, !tbaa !5
  %883 = load i32, ptr %100, align 4, !tbaa !5
  %884 = icmp slt i32 1, %883
  br i1 %884, label %885, label %910

885:                                              ; preds = %879
  call void @llvm.lifetime.start.p0(i64 376, ptr %101) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %101)
          to label %886 unwind label %891

886:                                              ; preds = %885
  %887 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @.str.18)
          to label %888 unwind label %895

888:                                              ; preds = %886
  call void @llvm.lifetime.start.p0(i64 32, ptr %102) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %103) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %103)
          to label %889 unwind label %899

889:                                              ; preds = %888
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef nonnull align 8 dereferenceable(112) %101)
          to label %890 unwind label %903

890:                                              ; preds = %889
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %101) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %101) #8
  br label %1375

891:                                              ; preds = %885
  %892 = landingpad { ptr, i32 }
          cleanup
  %893 = extractvalue { ptr, i32 } %892, 0
  store ptr %893, ptr %16, align 8
  %894 = extractvalue { ptr, i32 } %892, 1
  store i32 %894, ptr %17, align 4
  br label %909

895:                                              ; preds = %886
  %896 = landingpad { ptr, i32 }
          cleanup
  %897 = extractvalue { ptr, i32 } %896, 0
  store ptr %897, ptr %16, align 8
  %898 = extractvalue { ptr, i32 } %896, 1
  store i32 %898, ptr %17, align 4
  br label %908

899:                                              ; preds = %888
  %900 = landingpad { ptr, i32 }
          cleanup
  %901 = extractvalue { ptr, i32 } %900, 0
  store ptr %901, ptr %16, align 8
  %902 = extractvalue { ptr, i32 } %900, 1
  store i32 %902, ptr %17, align 4
  br label %907

903:                                              ; preds = %889
  %904 = landingpad { ptr, i32 }
          cleanup
  %905 = extractvalue { ptr, i32 } %904, 0
  store ptr %905, ptr %16, align 8
  %906 = extractvalue { ptr, i32 } %904, 1
  store i32 %906, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #8
  br label %907

907:                                              ; preds = %903, %899
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #8
  br label %908

908:                                              ; preds = %907, %895
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %101) #8
  br label %909

909:                                              ; preds = %908, %891
  call void @llvm.lifetime.end.p0(i64 376, ptr %101) #8
  br label %1376

910:                                              ; preds = %879
  call void @llvm.lifetime.start.p0(i64 8, ptr %104) #8
  %911 = load i32, ptr %100, align 4, !tbaa !5
  %912 = icmp eq i32 0, %911
  br i1 %912, label %913, label %914

913:                                              ; preds = %910
  br label %920

914:                                              ; preds = %910
  %915 = load ptr, ptr %5, align 8, !tbaa !9
  %916 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %917 = sext i32 %916 to i64
  %918 = getelementptr inbounds ptr, ptr %915, i64 %917
  %919 = load ptr, ptr %918, align 8, !tbaa !9
  br label %920

920:                                              ; preds = %914, %913
  %921 = phi ptr [ null, %913 ], [ %919, %914 ]
  store ptr %921, ptr %104, align 8, !tbaa !9
  %922 = invoke noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
          to label %923 unwind label %930

923:                                              ; preds = %920
  br i1 %922, label %953, label %924

924:                                              ; preds = %923
  call void @llvm.lifetime.start.p0(i64 376, ptr %105) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %105)
          to label %925 unwind label %934

925:                                              ; preds = %924
  %926 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @.str.19)
          to label %927 unwind label %938

927:                                              ; preds = %925
  call void @llvm.lifetime.start.p0(i64 32, ptr %106) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %107) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %106, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %107)
          to label %928 unwind label %942

928:                                              ; preds = %927
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %106, ptr noundef nonnull align 8 dereferenceable(112) %105)
          to label %929 unwind label %946

929:                                              ; preds = %928
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %106) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %107) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %106) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %105) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %105) #8
  br label %1373

930:                                              ; preds = %920
  %931 = landingpad { ptr, i32 }
          cleanup
  %932 = extractvalue { ptr, i32 } %931, 0
  store ptr %932, ptr %16, align 8
  %933 = extractvalue { ptr, i32 } %931, 1
  store i32 %933, ptr %17, align 4
  br label %1374

934:                                              ; preds = %924
  %935 = landingpad { ptr, i32 }
          cleanup
  %936 = extractvalue { ptr, i32 } %935, 0
  store ptr %936, ptr %16, align 8
  %937 = extractvalue { ptr, i32 } %935, 1
  store i32 %937, ptr %17, align 4
  br label %952

938:                                              ; preds = %925
  %939 = landingpad { ptr, i32 }
          cleanup
  %940 = extractvalue { ptr, i32 } %939, 0
  store ptr %940, ptr %16, align 8
  %941 = extractvalue { ptr, i32 } %939, 1
  store i32 %941, ptr %17, align 4
  br label %951

942:                                              ; preds = %927
  %943 = landingpad { ptr, i32 }
          cleanup
  %944 = extractvalue { ptr, i32 } %943, 0
  store ptr %944, ptr %16, align 8
  %945 = extractvalue { ptr, i32 } %943, 1
  store i32 %945, ptr %17, align 4
  br label %950

946:                                              ; preds = %928
  %947 = landingpad { ptr, i32 }
          cleanup
  %948 = extractvalue { ptr, i32 } %947, 0
  store ptr %948, ptr %16, align 8
  %949 = extractvalue { ptr, i32 } %947, 1
  store i32 %949, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %106) #8
  br label %950

950:                                              ; preds = %946, %942
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %107) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %107) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %106) #8
  br label %951

951:                                              ; preds = %950, %938
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %105) #8
  br label %952

952:                                              ; preds = %951, %934
  call void @llvm.lifetime.end.p0(i64 376, ptr %105) #8
  br label %1374

953:                                              ; preds = %923
  call void @llvm.lifetime.start.p0(i64 520, ptr %108) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %108)
          to label %954 unwind label %977

954:                                              ; preds = %953
  %955 = load ptr, ptr %104, align 8, !tbaa !9
  %956 = icmp ne ptr null, %955
  br i1 %956, label %957, label %1005

957:                                              ; preds = %954
  %958 = load ptr, ptr %104, align 8, !tbaa !9
  %959 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %960 unwind label %981

960:                                              ; preds = %957
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %108, ptr noundef %958, i32 noundef %959)
          to label %961 unwind label %981

961:                                              ; preds = %960
  %962 = load ptr, ptr %108, align 8, !tbaa !20
  %963 = getelementptr i8, ptr %962, i64 -24
  %964 = load i64, ptr %963, align 8
  %965 = getelementptr inbounds i8, ptr %108, i64 %964
  %966 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %965)
          to label %967 unwind label %981

967:                                              ; preds = %961
  br i1 %966, label %968, label %1004

968:                                              ; preds = %967
  call void @llvm.lifetime.start.p0(i64 376, ptr %109) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %109)
          to label %969 unwind label %985

969:                                              ; preds = %968
  %970 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @.str.13)
          to label %971 unwind label %989

971:                                              ; preds = %969
  %972 = load ptr, ptr %104, align 8, !tbaa !9
  %973 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %970, ptr noundef %972)
          to label %974 unwind label %989

974:                                              ; preds = %971
  call void @llvm.lifetime.start.p0(i64 32, ptr %110) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %111) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %111) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %110, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %111)
          to label %975 unwind label %993

975:                                              ; preds = %974
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %110, ptr noundef nonnull align 8 dereferenceable(112) %109)
          to label %976 unwind label %997

976:                                              ; preds = %975
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %110) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %111) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %111) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %110) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %109) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %109) #8
  br label %1370

977:                                              ; preds = %953
  %978 = landingpad { ptr, i32 }
          cleanup
  %979 = extractvalue { ptr, i32 } %978, 0
  store ptr %979, ptr %16, align 8
  %980 = extractvalue { ptr, i32 } %978, 1
  store i32 %980, ptr %17, align 4
  br label %1372

981:                                              ; preds = %961, %960, %957
  %982 = landingpad { ptr, i32 }
          cleanup
  %983 = extractvalue { ptr, i32 } %982, 0
  store ptr %983, ptr %16, align 8
  %984 = extractvalue { ptr, i32 } %982, 1
  store i32 %984, ptr %17, align 4
  br label %1371

985:                                              ; preds = %968
  %986 = landingpad { ptr, i32 }
          cleanup
  %987 = extractvalue { ptr, i32 } %986, 0
  store ptr %987, ptr %16, align 8
  %988 = extractvalue { ptr, i32 } %986, 1
  store i32 %988, ptr %17, align 4
  br label %1003

989:                                              ; preds = %971, %969
  %990 = landingpad { ptr, i32 }
          cleanup
  %991 = extractvalue { ptr, i32 } %990, 0
  store ptr %991, ptr %16, align 8
  %992 = extractvalue { ptr, i32 } %990, 1
  store i32 %992, ptr %17, align 4
  br label %1002

993:                                              ; preds = %974
  %994 = landingpad { ptr, i32 }
          cleanup
  %995 = extractvalue { ptr, i32 } %994, 0
  store ptr %995, ptr %16, align 8
  %996 = extractvalue { ptr, i32 } %994, 1
  store i32 %996, ptr %17, align 4
  br label %1001

997:                                              ; preds = %975
  %998 = landingpad { ptr, i32 }
          cleanup
  %999 = extractvalue { ptr, i32 } %998, 0
  store ptr %999, ptr %16, align 8
  %1000 = extractvalue { ptr, i32 } %998, 1
  store i32 %1000, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %110) #8
  br label %1001

1001:                                             ; preds = %997, %993
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %111) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %111) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %110) #8
  br label %1002

1002:                                             ; preds = %1001, %989
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %109) #8
  br label %1003

1003:                                             ; preds = %1002, %985
  call void @llvm.lifetime.end.p0(i64 376, ptr %109) #8
  br label %1371

1004:                                             ; preds = %967
  br label %1005

1005:                                             ; preds = %1004, %954
  call void @llvm.lifetime.start.p0(i64 8, ptr %112) #8
  %1006 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %108)
          to label %1007 unwind label %1036

1007:                                             ; preds = %1005
  br i1 %1006, label %1008, label %1009

1008:                                             ; preds = %1007
  br label %1010

1009:                                             ; preds = %1007
  br label %1010

1010:                                             ; preds = %1009, %1008
  %1011 = phi ptr [ %108, %1008 ], [ @_ZSt3cin, %1009 ]
  store ptr %1011, ptr %112, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %113) #8
  %1012 = load i32, ptr %6, align 4, !tbaa !5
  %1013 = add nsw i32 %1012, 1
  store i32 %1013, ptr %113, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %114) #8
  %1014 = load i32, ptr %113, align 4, !tbaa !5
  %1015 = mul nsw i32 2, %1014
  %1016 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %1017 = add i64 %1016, 1
  %1018 = trunc i64 %1017 to i32
  %1019 = mul nsw i32 %1015, %1018
  store i32 %1019, ptr %114, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %115) #8
  %1020 = load i32, ptr %114, align 4, !tbaa !5
  %1021 = load ptr, ptr %112, align 8, !tbaa !9
  invoke void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25) %115, i1 noundef zeroext false, i32 noundef %1020, ptr noundef %1021)
          to label %1022 unwind label %1040

1022:                                             ; preds = %1010
  call void @llvm.lifetime.start.p0(i64 32, ptr %116) #8
  %1023 = load i32, ptr %8, align 4, !tbaa !11
  invoke void @_ZN12_GLOBAL__N_124InputSourcePreprocessingC2ENS_12InputFormatsEPN4sptk20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(25) %116, i32 noundef %1023, ptr noundef %115)
          to label %1024 unwind label %1044

1024:                                             ; preds = %1022
  %1025 = load i32, ptr %13, align 4, !tbaa !11
  %1026 = icmp eq i32 0, %1025
  br i1 %1026, label %1027, label %1160

1027:                                             ; preds = %1024
  %1028 = load i8, ptr %12, align 1, !tbaa !12, !range !16, !noundef !17
  %1029 = trunc i8 %1028 to i1
  br i1 %1029, label %1030, label %1067

1030:                                             ; preds = %1027
  call void @llvm.lifetime.start.p0(i64 376, ptr %117) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %117)
          to label %1031 unwind label %1048

1031:                                             ; preds = %1030
  %1032 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %117, ptr noundef @.str.20)
          to label %1033 unwind label %1052

1033:                                             ; preds = %1031
  call void @llvm.lifetime.start.p0(i64 32, ptr %118) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %119) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %119) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %118, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %119)
          to label %1034 unwind label %1056

1034:                                             ; preds = %1033
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %118, ptr noundef nonnull align 8 dereferenceable(112) %117)
          to label %1035 unwind label %1060

1035:                                             ; preds = %1034
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %118) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %119) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %119) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %118) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %117) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %117) #8
  br label %1365

1036:                                             ; preds = %1005
  %1037 = landingpad { ptr, i32 }
          cleanup
  %1038 = extractvalue { ptr, i32 } %1037, 0
  store ptr %1038, ptr %16, align 8
  %1039 = extractvalue { ptr, i32 } %1037, 1
  store i32 %1039, ptr %17, align 4
  br label %1369

1040:                                             ; preds = %1010
  %1041 = landingpad { ptr, i32 }
          cleanup
  %1042 = extractvalue { ptr, i32 } %1041, 0
  store ptr %1042, ptr %16, align 8
  %1043 = extractvalue { ptr, i32 } %1041, 1
  store i32 %1043, ptr %17, align 4
  br label %1368

1044:                                             ; preds = %1022
  %1045 = landingpad { ptr, i32 }
          cleanup
  %1046 = extractvalue { ptr, i32 } %1045, 0
  store ptr %1046, ptr %16, align 8
  %1047 = extractvalue { ptr, i32 } %1045, 1
  store i32 %1047, ptr %17, align 4
  br label %1367

1048:                                             ; preds = %1030
  %1049 = landingpad { ptr, i32 }
          cleanup
  %1050 = extractvalue { ptr, i32 } %1049, 0
  store ptr %1050, ptr %16, align 8
  %1051 = extractvalue { ptr, i32 } %1049, 1
  store i32 %1051, ptr %17, align 4
  br label %1066

1052:                                             ; preds = %1031
  %1053 = landingpad { ptr, i32 }
          cleanup
  %1054 = extractvalue { ptr, i32 } %1053, 0
  store ptr %1054, ptr %16, align 8
  %1055 = extractvalue { ptr, i32 } %1053, 1
  store i32 %1055, ptr %17, align 4
  br label %1065

1056:                                             ; preds = %1033
  %1057 = landingpad { ptr, i32 }
          cleanup
  %1058 = extractvalue { ptr, i32 } %1057, 0
  store ptr %1058, ptr %16, align 8
  %1059 = extractvalue { ptr, i32 } %1057, 1
  store i32 %1059, ptr %17, align 4
  br label %1064

1060:                                             ; preds = %1034
  %1061 = landingpad { ptr, i32 }
          cleanup
  %1062 = extractvalue { ptr, i32 } %1061, 0
  store ptr %1062, ptr %16, align 8
  %1063 = extractvalue { ptr, i32 } %1061, 1
  store i32 %1063, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %118) #8
  br label %1064

1064:                                             ; preds = %1060, %1056
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %119) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %119) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %118) #8
  br label %1065

1065:                                             ; preds = %1064, %1052
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %117) #8
  br label %1066

1066:                                             ; preds = %1065, %1048
  call void @llvm.lifetime.end.p0(i64 376, ptr %117) #8
  br label %1366

1067:                                             ; preds = %1027
  call void @llvm.lifetime.start.p0(i64 232, ptr %120) #8
  %1068 = load i32, ptr %6, align 4, !tbaa !5
  %1069 = load i32, ptr %7, align 4, !tbaa !5
  invoke void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationC1EiiRKSt6vectorIS1_IdSaIdEESaIS3_EEPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(232) %120, i32 noundef %1068, i32 noundef %1069, ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef %116)
          to label %1070 unwind label %1079

1070:                                             ; preds = %1067
  %1071 = invoke noundef zeroext i1 @_ZNK4sptk45RecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(232) %120)
          to label %1072 unwind label %1083

1072:                                             ; preds = %1070
  br i1 %1071, label %1106, label %1073

1073:                                             ; preds = %1072
  call void @llvm.lifetime.start.p0(i64 376, ptr %121) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %121)
          to label %1074 unwind label %1087

1074:                                             ; preds = %1073
  %1075 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %121, ptr noundef @.str.21)
          to label %1076 unwind label %1091

1076:                                             ; preds = %1074
  call void @llvm.lifetime.start.p0(i64 32, ptr %122) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %123) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %123) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %123)
          to label %1077 unwind label %1095

1077:                                             ; preds = %1076
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %122, ptr noundef nonnull align 8 dereferenceable(112) %121)
          to label %1078 unwind label %1099

1078:                                             ; preds = %1077
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %122) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %123) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %123) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %122) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %121) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %121) #8
  br label %1153

1079:                                             ; preds = %1067
  %1080 = landingpad { ptr, i32 }
          cleanup
  %1081 = extractvalue { ptr, i32 } %1080, 0
  store ptr %1081, ptr %16, align 8
  %1082 = extractvalue { ptr, i32 } %1080, 1
  store i32 %1082, ptr %17, align 4
  br label %1159

1083:                                             ; preds = %1070
  %1084 = landingpad { ptr, i32 }
          cleanup
  %1085 = extractvalue { ptr, i32 } %1084, 0
  store ptr %1085, ptr %16, align 8
  %1086 = extractvalue { ptr, i32 } %1084, 1
  store i32 %1086, ptr %17, align 4
  br label %1158

1087:                                             ; preds = %1073
  %1088 = landingpad { ptr, i32 }
          cleanup
  %1089 = extractvalue { ptr, i32 } %1088, 0
  store ptr %1089, ptr %16, align 8
  %1090 = extractvalue { ptr, i32 } %1088, 1
  store i32 %1090, ptr %17, align 4
  br label %1105

1091:                                             ; preds = %1074
  %1092 = landingpad { ptr, i32 }
          cleanup
  %1093 = extractvalue { ptr, i32 } %1092, 0
  store ptr %1093, ptr %16, align 8
  %1094 = extractvalue { ptr, i32 } %1092, 1
  store i32 %1094, ptr %17, align 4
  br label %1104

1095:                                             ; preds = %1076
  %1096 = landingpad { ptr, i32 }
          cleanup
  %1097 = extractvalue { ptr, i32 } %1096, 0
  store ptr %1097, ptr %16, align 8
  %1098 = extractvalue { ptr, i32 } %1096, 1
  store i32 %1098, ptr %17, align 4
  br label %1103

1099:                                             ; preds = %1077
  %1100 = landingpad { ptr, i32 }
          cleanup
  %1101 = extractvalue { ptr, i32 } %1100, 0
  store ptr %1101, ptr %16, align 8
  %1102 = extractvalue { ptr, i32 } %1100, 1
  store i32 %1102, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %122) #8
  br label %1103

1103:                                             ; preds = %1099, %1095
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %123) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %123) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %122) #8
  br label %1104

1104:                                             ; preds = %1103, %1091
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %121) #8
  br label %1105

1105:                                             ; preds = %1104, %1087
  call void @llvm.lifetime.end.p0(i64 376, ptr %121) #8
  br label %1158

1106:                                             ; preds = %1072
  call void @llvm.lifetime.start.p0(i64 24, ptr %124) #8
  %1107 = load i32, ptr %113, align 4, !tbaa !5
  %1108 = sext i32 %1107 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %125) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %125) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %124, i64 noundef %1108, ptr noundef nonnull align 1 dereferenceable(1) %125)
          to label %1109 unwind label %1123

1109:                                             ; preds = %1106
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %125) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %125) #8
  br label %1110

1110:                                             ; preds = %1150, %1109
  %1111 = invoke noundef zeroext i1 @_ZN4sptk45RecursiveMaximumLikelihoodParameterGeneration3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(232) %120, ptr noundef %124)
          to label %1112 unwind label %1127

1112:                                             ; preds = %1110
  br i1 %1111, label %1113, label %1151

1113:                                             ; preds = %1112
  %1114 = load i32, ptr %113, align 4, !tbaa !5
  %1115 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %1114, ptr noundef nonnull align 8 dereferenceable(24) %124, ptr noundef @_ZSt4cout, ptr noundef null)
          to label %1116 unwind label %1127

1116:                                             ; preds = %1113
  br i1 %1115, label %1150, label %1117

1117:                                             ; preds = %1116
  call void @llvm.lifetime.start.p0(i64 376, ptr %126) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %126)
          to label %1118 unwind label %1131

1118:                                             ; preds = %1117
  %1119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %126, ptr noundef @.str.22)
          to label %1120 unwind label %1135

1120:                                             ; preds = %1118
  call void @llvm.lifetime.start.p0(i64 32, ptr %127) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %128) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %128) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %127, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %128)
          to label %1121 unwind label %1139

1121:                                             ; preds = %1120
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %127, ptr noundef nonnull align 8 dereferenceable(112) %126)
          to label %1122 unwind label %1143

1122:                                             ; preds = %1121
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %128) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %128) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %127) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %126) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %126) #8
  br label %1152

1123:                                             ; preds = %1106
  %1124 = landingpad { ptr, i32 }
          cleanup
  %1125 = extractvalue { ptr, i32 } %1124, 0
  store ptr %1125, ptr %16, align 8
  %1126 = extractvalue { ptr, i32 } %1124, 1
  store i32 %1126, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %125) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %125) #8
  br label %1157

1127:                                             ; preds = %1113, %1110
  %1128 = landingpad { ptr, i32 }
          cleanup
  %1129 = extractvalue { ptr, i32 } %1128, 0
  store ptr %1129, ptr %16, align 8
  %1130 = extractvalue { ptr, i32 } %1128, 1
  store i32 %1130, ptr %17, align 4
  br label %1156

1131:                                             ; preds = %1117
  %1132 = landingpad { ptr, i32 }
          cleanup
  %1133 = extractvalue { ptr, i32 } %1132, 0
  store ptr %1133, ptr %16, align 8
  %1134 = extractvalue { ptr, i32 } %1132, 1
  store i32 %1134, ptr %17, align 4
  br label %1149

1135:                                             ; preds = %1118
  %1136 = landingpad { ptr, i32 }
          cleanup
  %1137 = extractvalue { ptr, i32 } %1136, 0
  store ptr %1137, ptr %16, align 8
  %1138 = extractvalue { ptr, i32 } %1136, 1
  store i32 %1138, ptr %17, align 4
  br label %1148

1139:                                             ; preds = %1120
  %1140 = landingpad { ptr, i32 }
          cleanup
  %1141 = extractvalue { ptr, i32 } %1140, 0
  store ptr %1141, ptr %16, align 8
  %1142 = extractvalue { ptr, i32 } %1140, 1
  store i32 %1142, ptr %17, align 4
  br label %1147

1143:                                             ; preds = %1121
  %1144 = landingpad { ptr, i32 }
          cleanup
  %1145 = extractvalue { ptr, i32 } %1144, 0
  store ptr %1145, ptr %16, align 8
  %1146 = extractvalue { ptr, i32 } %1144, 1
  store i32 %1146, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %127) #8
  br label %1147

1147:                                             ; preds = %1143, %1139
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %128) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %128) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %127) #8
  br label %1148

1148:                                             ; preds = %1147, %1135
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %126) #8
  br label %1149

1149:                                             ; preds = %1148, %1131
  call void @llvm.lifetime.end.p0(i64 376, ptr %126) #8
  br label %1156

1150:                                             ; preds = %1116
  br label %1110, !llvm.loop !24

1151:                                             ; preds = %1112
  store i32 0, ptr %18, align 4
  br label %1152

1152:                                             ; preds = %1151, %1122
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %124) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %124) #8
  br label %1153

1153:                                             ; preds = %1152, %1078
  call void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %120) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr %120) #8
  %1154 = load i32, ptr %18, align 4
  switch i32 %1154, label %1365 [
    i32 0, label %1155
  ]

1155:                                             ; preds = %1153
  br label %1364

1156:                                             ; preds = %1149, %1127
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %124) #8
  br label %1157

1157:                                             ; preds = %1156, %1123
  call void @llvm.lifetime.end.p0(i64 24, ptr %124) #8
  br label %1158

1158:                                             ; preds = %1157, %1105, %1083
  call void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %120) #8
  br label %1159

1159:                                             ; preds = %1158, %1079
  call void @llvm.lifetime.end.p0(i64 232, ptr %120) #8
  br label %1366

1160:                                             ; preds = %1024
  %1161 = load i32, ptr %13, align 4, !tbaa !11
  %1162 = icmp eq i32 1, %1161
  br i1 %1162, label %1163, label %1363

1163:                                             ; preds = %1160
  call void @llvm.lifetime.start.p0(i64 64, ptr %129) #8
  %1164 = load i32, ptr %6, align 4, !tbaa !5
  %1165 = load i8, ptr %12, align 1, !tbaa !12, !range !16, !noundef !17
  %1166 = trunc i8 %1165 to i1
  %1167 = load double, ptr %11, align 8, !tbaa !14
  invoke void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationC1EiRKSt6vectorIS1_IdSaIdEESaIS3_EEbd(ptr noundef nonnull align 8 dereferenceable(64) %129, i32 noundef %1164, ptr noundef nonnull align 8 dereferenceable(24) %9, i1 noundef zeroext %1166, double noundef %1167)
          to label %1168 unwind label %1179

1168:                                             ; preds = %1163
  %1169 = invoke noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(64) %129)
          to label %1170 unwind label %1183

1170:                                             ; preds = %1168
  br i1 %1169, label %1206, label %1171

1171:                                             ; preds = %1170
  call void @llvm.lifetime.start.p0(i64 376, ptr %130) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %130)
          to label %1172 unwind label %1187

1172:                                             ; preds = %1171
  %1173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef @.str.23)
          to label %1174 unwind label %1191

1174:                                             ; preds = %1172
  %1175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1173, ptr noundef @.str.24)
          to label %1176 unwind label %1191

1176:                                             ; preds = %1174
  call void @llvm.lifetime.start.p0(i64 32, ptr %131) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %132) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %132) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %131, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %132)
          to label %1177 unwind label %1195

1177:                                             ; preds = %1176
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %131, ptr noundef nonnull align 8 dereferenceable(112) %130)
          to label %1178 unwind label %1199

1178:                                             ; preds = %1177
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %131) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %132) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %132) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %131) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %130) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %130) #8
  br label %1356

1179:                                             ; preds = %1163
  %1180 = landingpad { ptr, i32 }
          cleanup
  %1181 = extractvalue { ptr, i32 } %1180, 0
  store ptr %1181, ptr %16, align 8
  %1182 = extractvalue { ptr, i32 } %1180, 1
  store i32 %1182, ptr %17, align 4
  br label %1362

1183:                                             ; preds = %1168
  %1184 = landingpad { ptr, i32 }
          cleanup
  %1185 = extractvalue { ptr, i32 } %1184, 0
  store ptr %1185, ptr %16, align 8
  %1186 = extractvalue { ptr, i32 } %1184, 1
  store i32 %1186, ptr %17, align 4
  br label %1361

1187:                                             ; preds = %1171
  %1188 = landingpad { ptr, i32 }
          cleanup
  %1189 = extractvalue { ptr, i32 } %1188, 0
  store ptr %1189, ptr %16, align 8
  %1190 = extractvalue { ptr, i32 } %1188, 1
  store i32 %1190, ptr %17, align 4
  br label %1205

1191:                                             ; preds = %1174, %1172
  %1192 = landingpad { ptr, i32 }
          cleanup
  %1193 = extractvalue { ptr, i32 } %1192, 0
  store ptr %1193, ptr %16, align 8
  %1194 = extractvalue { ptr, i32 } %1192, 1
  store i32 %1194, ptr %17, align 4
  br label %1204

1195:                                             ; preds = %1176
  %1196 = landingpad { ptr, i32 }
          cleanup
  %1197 = extractvalue { ptr, i32 } %1196, 0
  store ptr %1197, ptr %16, align 8
  %1198 = extractvalue { ptr, i32 } %1196, 1
  store i32 %1198, ptr %17, align 4
  br label %1203

1199:                                             ; preds = %1177
  %1200 = landingpad { ptr, i32 }
          cleanup
  %1201 = extractvalue { ptr, i32 } %1200, 0
  store ptr %1201, ptr %16, align 8
  %1202 = extractvalue { ptr, i32 } %1200, 1
  store i32 %1202, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %131) #8
  br label %1203

1203:                                             ; preds = %1199, %1195
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %132) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %132) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %131) #8
  br label %1204

1204:                                             ; preds = %1203, %1191
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %130) #8
  br label %1205

1205:                                             ; preds = %1204, %1187
  call void @llvm.lifetime.end.p0(i64 376, ptr %130) #8
  br label %1361

1206:                                             ; preds = %1170
  call void @llvm.lifetime.start.p0(i64 24, ptr %133) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %134) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %135) #8
  %1207 = invoke noundef i32 @_ZNK4sptk21InputSourceFromStream7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(25) %115)
          to label %1208 unwind label %1242

1208:                                             ; preds = %1206
  %1209 = sdiv i32 %1207, 2
  store i32 %1209, ptr %135, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %136) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  br label %1210

1210:                                             ; preds = %1241, %1208
  %1211 = invoke noundef zeroext i1 @_ZN4sptk21InputSourceFromStream3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(25) %115, ptr noundef %136)
          to label %1212 unwind label %1246

1212:                                             ; preds = %1210
  br i1 %1211, label %1213, label %1268

1213:                                             ; preds = %1212
  call void @llvm.lifetime.start.p0(i64 24, ptr %137) #8
  %1214 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  %1215 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %138, i32 0, i32 0
  store ptr %1214, ptr %1215, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %140) #8
  %1216 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  %1217 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %140, i32 0, i32 0
  store ptr %1216, ptr %1217, align 8
  %1218 = load i32, ptr %135, align 4, !tbaa !5
  %1219 = sext i32 %1218 to i64
  %1220 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %140, i64 noundef %1219) #8
  %1221 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %139, i32 0, i32 0
  store ptr %1220, ptr %1221, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %141) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %141) #8
  %1222 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %138, i32 0, i32 0
  %1223 = load ptr, ptr %1222, align 8
  %1224 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %139, i32 0, i32 0
  %1225 = load ptr, ptr %1224, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %137, ptr %1223, ptr %1225, ptr noundef nonnull align 1 dereferenceable(1) %141)
          to label %1226 unwind label %1250

1226:                                             ; preds = %1213
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 8 dereferenceable(24) %137)
          to label %1227 unwind label %1254

1227:                                             ; preds = %1226
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %137) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %141) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %141) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %137) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %142) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %144) #8
  %1228 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  %1229 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %144, i32 0, i32 0
  store ptr %1228, ptr %1229, align 8
  %1230 = load i32, ptr %135, align 4, !tbaa !5
  %1231 = sext i32 %1230 to i64
  %1232 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %144, i64 noundef %1231) #8
  %1233 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %143, i32 0, i32 0
  store ptr %1232, ptr %1233, align 8
  %1234 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  %1235 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %145, i32 0, i32 0
  store ptr %1234, ptr %1235, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %146) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %146) #8
  %1236 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %143, i32 0, i32 0
  %1237 = load ptr, ptr %1236, align 8
  %1238 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %145, i32 0, i32 0
  %1239 = load ptr, ptr %1238, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %142, ptr %1237, ptr %1239, ptr noundef nonnull align 1 dereferenceable(1) %146)
          to label %1240 unwind label %1259

1240:                                             ; preds = %1227
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull align 8 dereferenceable(24) %142)
          to label %1241 unwind label %1263

1241:                                             ; preds = %1240
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %142) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %146) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %146) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %144) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %142) #8
  br label %1210, !llvm.loop !25

1242:                                             ; preds = %1206
  %1243 = landingpad { ptr, i32 }
          cleanup
  %1244 = extractvalue { ptr, i32 } %1243, 0
  store ptr %1244, ptr %16, align 8
  %1245 = extractvalue { ptr, i32 } %1243, 1
  store i32 %1245, ptr %17, align 4
  br label %1278

1246:                                             ; preds = %1210
  %1247 = landingpad { ptr, i32 }
          cleanup
  %1248 = extractvalue { ptr, i32 } %1247, 0
  store ptr %1248, ptr %16, align 8
  %1249 = extractvalue { ptr, i32 } %1247, 1
  store i32 %1249, ptr %17, align 4
  br label %1277

1250:                                             ; preds = %1213
  %1251 = landingpad { ptr, i32 }
          cleanup
  %1252 = extractvalue { ptr, i32 } %1251, 0
  store ptr %1252, ptr %16, align 8
  %1253 = extractvalue { ptr, i32 } %1251, 1
  store i32 %1253, ptr %17, align 4
  br label %1258

1254:                                             ; preds = %1226
  %1255 = landingpad { ptr, i32 }
          cleanup
  %1256 = extractvalue { ptr, i32 } %1255, 0
  store ptr %1256, ptr %16, align 8
  %1257 = extractvalue { ptr, i32 } %1255, 1
  store i32 %1257, ptr %17, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %137) #8
  br label %1258

1258:                                             ; preds = %1254, %1250
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %141) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %141) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %140) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %137) #8
  br label %1277

1259:                                             ; preds = %1227
  %1260 = landingpad { ptr, i32 }
          cleanup
  %1261 = extractvalue { ptr, i32 } %1260, 0
  store ptr %1261, ptr %16, align 8
  %1262 = extractvalue { ptr, i32 } %1260, 1
  store i32 %1262, ptr %17, align 4
  br label %1267

1263:                                             ; preds = %1240
  %1264 = landingpad { ptr, i32 }
          cleanup
  %1265 = extractvalue { ptr, i32 } %1264, 0
  store ptr %1265, ptr %16, align 8
  %1266 = extractvalue { ptr, i32 } %1264, 1
  store i32 %1266, ptr %17, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %142) #8
  br label %1267

1267:                                             ; preds = %1263, %1259
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %146) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %146) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %144) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %142) #8
  br label %1277

1268:                                             ; preds = %1212
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %136) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %135) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %147) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %147) #8
  %1269 = invoke noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration3RunERKSt6vectorIS1_IdSaIdEESaIS3_EES7_PS5_(ptr noundef nonnull align 8 dereferenceable(64) %129, ptr noundef nonnull align 8 dereferenceable(24) %133, ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef %147)
          to label %1270 unwind label %1279

1270:                                             ; preds = %1268
  br i1 %1269, label %1302, label %1271

1271:                                             ; preds = %1270
  call void @llvm.lifetime.start.p0(i64 376, ptr %148) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %148)
          to label %1272 unwind label %1283

1272:                                             ; preds = %1271
  %1273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @.str.25)
          to label %1274 unwind label %1287

1274:                                             ; preds = %1272
  call void @llvm.lifetime.start.p0(i64 32, ptr %149) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %150) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %150) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %150)
          to label %1275 unwind label %1291

1275:                                             ; preds = %1274
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr noundef nonnull align 8 dereferenceable(112) %148)
          to label %1276 unwind label %1295

1276:                                             ; preds = %1275
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %149) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %150) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %150) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %149) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %148) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %148) #8
  br label %1355

1277:                                             ; preds = %1267, %1258, %1246
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %136) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %136) #8
  br label %1278

1278:                                             ; preds = %1277, %1242
  call void @llvm.lifetime.end.p0(i64 4, ptr %135) #8
  br label %1360

1279:                                             ; preds = %1268
  %1280 = landingpad { ptr, i32 }
          cleanup
  %1281 = extractvalue { ptr, i32 } %1280, 0
  store ptr %1281, ptr %16, align 8
  %1282 = extractvalue { ptr, i32 } %1280, 1
  store i32 %1282, ptr %17, align 4
  br label %1359

1283:                                             ; preds = %1271
  %1284 = landingpad { ptr, i32 }
          cleanup
  %1285 = extractvalue { ptr, i32 } %1284, 0
  store ptr %1285, ptr %16, align 8
  %1286 = extractvalue { ptr, i32 } %1284, 1
  store i32 %1286, ptr %17, align 4
  br label %1301

1287:                                             ; preds = %1272
  %1288 = landingpad { ptr, i32 }
          cleanup
  %1289 = extractvalue { ptr, i32 } %1288, 0
  store ptr %1289, ptr %16, align 8
  %1290 = extractvalue { ptr, i32 } %1288, 1
  store i32 %1290, ptr %17, align 4
  br label %1300

1291:                                             ; preds = %1274
  %1292 = landingpad { ptr, i32 }
          cleanup
  %1293 = extractvalue { ptr, i32 } %1292, 0
  store ptr %1293, ptr %16, align 8
  %1294 = extractvalue { ptr, i32 } %1292, 1
  store i32 %1294, ptr %17, align 4
  br label %1299

1295:                                             ; preds = %1275
  %1296 = landingpad { ptr, i32 }
          cleanup
  %1297 = extractvalue { ptr, i32 } %1296, 0
  store ptr %1297, ptr %16, align 8
  %1298 = extractvalue { ptr, i32 } %1296, 1
  store i32 %1298, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %149) #8
  br label %1299

1299:                                             ; preds = %1295, %1291
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %150) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %150) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %149) #8
  br label %1300

1300:                                             ; preds = %1299, %1287
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %148) #8
  br label %1301

1301:                                             ; preds = %1300, %1283
  call void @llvm.lifetime.end.p0(i64 376, ptr %148) #8
  br label %1359

1302:                                             ; preds = %1270
  call void @llvm.lifetime.start.p0(i64 4, ptr %151) #8
  %1303 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %147) #8
  %1304 = trunc i64 %1303 to i32
  store i32 %1304, ptr %151, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %152) #8
  store i32 0, ptr %152, align 4, !tbaa !5
  br label %1305

1305:                                             ; preds = %1347, %1302
  %1306 = load i32, ptr %152, align 4, !tbaa !5
  %1307 = load i32, ptr %151, align 4, !tbaa !5
  %1308 = icmp slt i32 %1306, %1307
  br i1 %1308, label %1310, label %1309

1309:                                             ; preds = %1305
  store i32 13, ptr %18, align 4
  br label %1350

1310:                                             ; preds = %1305
  %1311 = load i32, ptr %113, align 4, !tbaa !5
  %1312 = load i32, ptr %152, align 4, !tbaa !5
  %1313 = sext i32 %1312 to i64
  %1314 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %1313) #8
  %1315 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %1311, ptr noundef nonnull align 8 dereferenceable(24) %1314, ptr noundef @_ZSt4cout, ptr noundef null)
          to label %1316 unwind label %1323

1316:                                             ; preds = %1310
  br i1 %1315, label %1346, label %1317

1317:                                             ; preds = %1316
  call void @llvm.lifetime.start.p0(i64 376, ptr %153) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %153)
          to label %1318 unwind label %1327

1318:                                             ; preds = %1317
  %1319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @.str.22)
          to label %1320 unwind label %1331

1320:                                             ; preds = %1318
  call void @llvm.lifetime.start.p0(i64 32, ptr %154) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %155) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %155) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %154, ptr noundef @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %155)
          to label %1321 unwind label %1335

1321:                                             ; preds = %1320
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %154, ptr noundef nonnull align 8 dereferenceable(112) %153)
          to label %1322 unwind label %1339

1322:                                             ; preds = %1321
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %154) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %155) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %155) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %154) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %18, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %153) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %153) #8
  br label %1350

1323:                                             ; preds = %1310
  %1324 = landingpad { ptr, i32 }
          cleanup
  %1325 = extractvalue { ptr, i32 } %1324, 0
  store ptr %1325, ptr %16, align 8
  %1326 = extractvalue { ptr, i32 } %1324, 1
  store i32 %1326, ptr %17, align 4
  br label %1352

1327:                                             ; preds = %1317
  %1328 = landingpad { ptr, i32 }
          cleanup
  %1329 = extractvalue { ptr, i32 } %1328, 0
  store ptr %1329, ptr %16, align 8
  %1330 = extractvalue { ptr, i32 } %1328, 1
  store i32 %1330, ptr %17, align 4
  br label %1345

1331:                                             ; preds = %1318
  %1332 = landingpad { ptr, i32 }
          cleanup
  %1333 = extractvalue { ptr, i32 } %1332, 0
  store ptr %1333, ptr %16, align 8
  %1334 = extractvalue { ptr, i32 } %1332, 1
  store i32 %1334, ptr %17, align 4
  br label %1344

1335:                                             ; preds = %1320
  %1336 = landingpad { ptr, i32 }
          cleanup
  %1337 = extractvalue { ptr, i32 } %1336, 0
  store ptr %1337, ptr %16, align 8
  %1338 = extractvalue { ptr, i32 } %1336, 1
  store i32 %1338, ptr %17, align 4
  br label %1343

1339:                                             ; preds = %1321
  %1340 = landingpad { ptr, i32 }
          cleanup
  %1341 = extractvalue { ptr, i32 } %1340, 0
  store ptr %1341, ptr %16, align 8
  %1342 = extractvalue { ptr, i32 } %1340, 1
  store i32 %1342, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %154) #8
  br label %1343

1343:                                             ; preds = %1339, %1335
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %155) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %155) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %154) #8
  br label %1344

1344:                                             ; preds = %1343, %1331
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %153) #8
  br label %1345

1345:                                             ; preds = %1344, %1327
  call void @llvm.lifetime.end.p0(i64 376, ptr %153) #8
  br label %1352

1346:                                             ; preds = %1316
  br label %1347

1347:                                             ; preds = %1346
  %1348 = load i32, ptr %152, align 4, !tbaa !5
  %1349 = add nsw i32 %1348, 1
  store i32 %1349, ptr %152, align 4, !tbaa !5
  br label %1305, !llvm.loop !26

1350:                                             ; preds = %1322, %1309
  call void @llvm.lifetime.end.p0(i64 4, ptr %152) #8
  %1351 = load i32, ptr %18, align 4
  switch i32 %1351, label %1354 [
    i32 13, label %1353
  ]

1352:                                             ; preds = %1345, %1323
  call void @llvm.lifetime.end.p0(i64 4, ptr %152) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %151) #8
  br label %1359

1353:                                             ; preds = %1350
  store i32 0, ptr %18, align 4
  br label %1354

1354:                                             ; preds = %1353, %1350
  call void @llvm.lifetime.end.p0(i64 4, ptr %151) #8
  br label %1355

1355:                                             ; preds = %1354, %1276
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %147) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %147) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %134) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %133) #8
  br label %1356

1356:                                             ; preds = %1355, %1178
  call void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %129) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr %129) #8
  %1357 = load i32, ptr %18, align 4
  switch i32 %1357, label %1365 [
    i32 0, label %1358
  ]

1358:                                             ; preds = %1356
  br label %1363

1359:                                             ; preds = %1352, %1301, %1279
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %147) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %147) #8
  br label %1360

1360:                                             ; preds = %1359, %1278
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %134) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %133) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %133) #8
  br label %1361

1361:                                             ; preds = %1360, %1205, %1183
  call void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %129) #8
  br label %1362

1362:                                             ; preds = %1361, %1179
  call void @llvm.lifetime.end.p0(i64 64, ptr %129) #8
  br label %1366

1363:                                             ; preds = %1358, %1160
  br label %1364

1364:                                             ; preds = %1363, %1155
  store i32 0, ptr %3, align 4
  store i32 1, ptr %18, align 4
  br label %1365

1365:                                             ; preds = %1364, %1356, %1153, %1035
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %116) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %116) #8
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %115) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %115) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %113) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #8
  br label %1370

1366:                                             ; preds = %1362, %1159, %1066
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %116) #8
  br label %1367

1367:                                             ; preds = %1366, %1044
  call void @llvm.lifetime.end.p0(i64 32, ptr %116) #8
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %115) #8
  br label %1368

1368:                                             ; preds = %1367, %1040
  call void @llvm.lifetime.end.p0(i64 32, ptr %115) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %114) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %113) #8
  br label %1369

1369:                                             ; preds = %1368, %1036
  call void @llvm.lifetime.end.p0(i64 8, ptr %112) #8
  br label %1371

1370:                                             ; preds = %1365, %976
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %108) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %108) #8
  br label %1373

1371:                                             ; preds = %1369, %1003, %981
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %108) #8
  br label %1372

1372:                                             ; preds = %1371, %977
  call void @llvm.lifetime.end.p0(i64 520, ptr %108) #8
  br label %1374

1373:                                             ; preds = %1370, %929
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #8
  br label %1375

1374:                                             ; preds = %1372, %952, %930
  call void @llvm.lifetime.end.p0(i64 8, ptr %104) #8
  br label %1376

1375:                                             ; preds = %1373, %890
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #8
  br label %1377

1376:                                             ; preds = %1374, %909
  call void @llvm.lifetime.end.p0(i64 4, ptr %100) #8
  br label %1379

1377:                                             ; preds = %1375, %875
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %1378 = load i32, ptr %3, align 4
  ret i32 %1378

1379:                                             ; preds = %1376, %878
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %10) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %1380

1380:                                             ; preds = %1379
  %1381 = load ptr, ptr %16, align 8
  %1382 = load i32, ptr %17, align 4
  %1383 = insertvalue { ptr, i32 } poison, ptr %1381, 0
  %1384 = insertvalue { ptr, i32 } %1383, i32 %1382, 1
  resume { ptr, i32 } %1384
}

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

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

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

declare i32 @ya_getopt_long_only(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

declare void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(112)) #4

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

declare noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef, i32 noundef, i32 noundef) #4

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

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

declare noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) #7

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

declare noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef, ptr noundef) #4

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

declare noundef zeroext i1 @_ZN4sptk39ComputeFirstOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef, ptr noundef) #4

declare noundef zeroext i1 @_ZN4sptk40ComputeSecondOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef) #5

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) #2 align 2

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

declare void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25), i1 noundef zeroext, i32 noundef, ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_124InputSourcePreprocessingC2ENS_12InputFormatsEPN4sptk20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, ptr noundef) unnamed_addr #5 align 2

declare void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationC1EiiRKSt6vectorIS1_IdSaIdEESaIS3_EEPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(232), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk45RecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4sptk45RecursiveMaximumLikelihoodParameterGeneration3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) unnamed_addr #4

declare noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) #4

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

declare void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationC1EiRKSt6vectorIS1_IdSaIdEESaIS3_EEbd(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, double noundef) unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4sptk21InputSourceFromStream7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4sptk21InputSourceFromStream3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef) unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

declare noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration3RunERKSt6vectorIS1_IdSaIdEESaIS3_EES7_PS5_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !8, i64 0}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = distinct !{!24, !19}
!25 = distinct !{!25, !19}
!26 = distinct !{!26, !19}


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

%struct.option = type { ptr, i32, ptr, i32 }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator.0" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%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.8 }
%union.anon.8 = type { i32 }
%"class.sptk::InputSourceFromStream" = type <{ %"class.sptk::InputSourceInterface", i8, [3 x i8], i32, ptr, i8, [7 x i8] }>
%"class.sptk::InputSourceInterface" = type { ptr }
%"class.(anonymous namespace)::InputSourcePreprocessing" = type <{ %"class.sptk::InputSourceInterface", i32, i32, ptr, i8, [7 x i8] }>
%"class.sptk::RecursiveMaximumLikelihoodParameterGeneration" = type { %"class.sptk::InputSourceInterface", i32, i32, %"class.std::vector", ptr, i8, i32, i32, i32, %"struct.sptk::RecursiveMaximumLikelihoodParameterGeneration::Buffer" }
%"struct.sptk::RecursiveMaximumLikelihoodParameterGeneration::Buffer" = type { %"class.std::vector.3", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.9", %"class.std::vector" }
%"class.std::vector.9" = type { %"struct.std::_Vector_base.10" }
%"struct.std::_Vector_base.10" = type { %"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<std::vector<double>>, std::allocator<std::vector<std::vector<double>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }
%"class.sptk::NonrecursiveMaximumLikelihoodParameterGeneration" = type { ptr, i32, %"class.std::vector", i8, double, i8, i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@__const.main.long_options = external hidden unnamed_addr constant [2 x %struct.option], align 16
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@ya_optarg = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [47 x i8], align 1
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.12 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [51 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.18 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [28 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.20 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [67 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.std::vector", align 8
  %6 = alloca double, align 8
  %7 = alloca [2 x %struct.option], align 16
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator.0", align 1
  %10 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator.0", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator.0", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator.0", align 1
  %20 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator.0", align 1
  %23 = alloca i32, align 4
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator.0", align 1
  %26 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator.0", align 1
  %29 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator.0", align 1
  %32 = alloca %"class.std::vector.3", align 8
  %33 = alloca double, align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator.0", align 1
  %36 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %37 = alloca %"class.std::__cxx11::basic_string", align 8
  %38 = alloca %"class.std::allocator.0", align 1
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator.0", align 1
  %41 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator.0", align 1
  %44 = alloca %"class.std::basic_ifstream", align 8
  %45 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator.0", align 1
  %48 = alloca %"class.std::vector.3", align 8
  %49 = alloca double, align 8
  %50 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator.0", align 1
  %53 = alloca i32, align 4
  %54 = alloca %"class.std::vector.3", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator.0", align 1
  %57 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator.0", align 1
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator.0", align 1
  %62 = alloca %"class.std::vector.3", align 8
  %63 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %64 = alloca %"class.std::__cxx11::basic_string", align 8
  %65 = alloca %"class.std::allocator.0", align 1
  %66 = alloca %"class.std::__cxx11::basic_string", align 8
  %67 = alloca %"class.std::allocator.0", align 1
  %68 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = alloca %"class.std::allocator.0", align 1
  %71 = alloca i32, align 4
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator.0", align 1
  %74 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %75 = alloca %"class.std::__cxx11::basic_string", align 8
  %76 = alloca %"class.std::allocator.0", align 1
  %77 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %78 = alloca %"class.std::__cxx11::basic_string", align 8
  %79 = alloca %"class.std::allocator.0", align 1
  %80 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator.0", align 1
  %83 = alloca %"class.std::basic_ifstream", align 8
  %84 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator.0", align 1
  %87 = alloca %"class.sptk::InputSourceFromStream", align 8
  %88 = alloca %"class.(anonymous namespace)::InputSourcePreprocessing", align 8
  %89 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %90 = alloca %"class.std::__cxx11::basic_string", align 8
  %91 = alloca %"class.std::allocator.0", align 1
  %92 = alloca %"class.sptk::RecursiveMaximumLikelihoodParameterGeneration", align 8
  %93 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %94 = alloca %"class.std::__cxx11::basic_string", align 8
  %95 = alloca %"class.std::allocator.0", align 1
  %96 = alloca %"class.std::vector.3", align 8
  %97 = alloca %"class.std::allocator.5", align 1
  %98 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %99 = alloca %"class.std::__cxx11::basic_string", align 8
  %100 = alloca %"class.std::allocator.0", align 1
  %101 = alloca %"class.sptk::NonrecursiveMaximumLikelihoodParameterGeneration", align 8
  %102 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %103 = alloca %"class.std::__cxx11::basic_string", align 8
  %104 = alloca %"class.std::allocator.0", align 1
  %105 = alloca %"class.std::vector", align 8
  %106 = alloca %"class.std::vector", align 8
  %107 = alloca %"class.std::vector.3", align 8
  %108 = alloca %"class.std::vector.3", align 8
  %109 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %110 = alloca %"class.std::allocator.5", align 1
  %111 = alloca %"class.std::vector.3", align 8
  %112 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %113 = alloca %"class.std::allocator.5", align 1
  %114 = alloca %"class.std::vector", align 8
  %115 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %116 = alloca %"class.std::__cxx11::basic_string", align 8
  %117 = alloca %"class.std::allocator.0", align 1
  %118 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %119 = alloca %"class.std::__cxx11::basic_string", align 8
  %120 = alloca %"class.std::allocator.0", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 25, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 30, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store double 0.000000e+00, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %7, ptr noundef nonnull align 16 dereferenceable(64) @__const.main.long_options, i64 64, i1 false)
  br label %121

121:                                              ; preds = %.backedge, %2
  %.092 = phi i32 [ 0, %2 ], [ %.092.be, %.backedge ]
  %.089 = phi i8 [ 0, %2 ], [ %.089.be, %.backedge ]
  %.085 = phi i8 [ 0, %2 ], [ %.085.be, %.backedge ]
  %.081 = phi i32 [ 0, %2 ], [ %.081.be, %.backedge ]
  %122 = invoke i32 @ya_getopt_long_only(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str.1, ptr noundef nonnull %7, ptr noundef null)
          to label %123 unwind label %.loopexit459

123:                                              ; preds = %121
  switch i32 %122, label %552 [
    i32 -1, label %553
    i32 108, label %124
    i32 109, label %156
    i32 115, label %187
    i32 113, label %218
    i32 100, label %258
    i32 68, label %324
    i32 114, label %387
    i32 1000, label %484
    i32 82, label %511
    i32 104, label %551
  ]

.loopexit459:                                     ; preds = %121
  %lpad.loopexit461 = landingpad { ptr, i32 }
          cleanup
  br label %846

.loopexit.split-lp460:                            ; preds = %551, %552
  %lpad.loopexit.split-lp462 = landingpad { ptr, i32 }
          cleanup
  br label %846

124:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  %125 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %125, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %126 unwind label %137

126:                                              ; preds = %124
  %127 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %3)
          to label %128 unwind label %139

128:                                              ; preds = %126
  %129 = load i32, ptr %3, align 4
  %130 = icmp sgt i32 %129, 0
  %.not324 = select i1 %127, i1 %130, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br i1 %.not324, label %153, label %131

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %10) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %10)
          to label %132 unwind label %142

132:                                              ; preds = %131
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull @.str.2)
          to label %134 unwind label %144

134:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %135 unwind label %146

135:                                              ; preds = %134
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(112) %10)
          to label %136 unwind label %148

136:                                              ; preds = %135
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %10) #8
  br label %.thread428

137:                                              ; preds = %124
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %126
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %141

141:                                              ; preds = %139, %137
  %.pn322 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %846

142:                                              ; preds = %131
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %152

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

146:                                              ; preds = %134
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %135
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %150

150:                                              ; preds = %148, %146
  %.pn325 = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %151

151:                                              ; preds = %150, %144
  %.pn325.pn = phi { ptr, i32 } [ %.pn325, %150 ], [ %145, %144 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #8
  br label %152

152:                                              ; preds = %151, %142
  %.pn325.pn.pn = phi { ptr, i32 } [ %.pn325.pn, %151 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %10) #8
  br label %846

153:                                              ; preds = %128
  %154 = load i32, ptr %3, align 4, !tbaa !5
  %155 = add nsw i32 %154, -1
  store i32 %155, ptr %3, align 4, !tbaa !5
  br label %.backedge

156:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %157 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef %157, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %158 unwind label %171

158:                                              ; preds = %156
  %159 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull %3)
          to label %160 unwind label %173

160:                                              ; preds = %158
  %161 = load i32, ptr %3, align 4
  %162 = icmp sgt i32 %161, -1
  %.not317 = select i1 %159, i1 %162, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br i1 %.not317, label %.backedge, label %163

163:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %15) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15)
          to label %164 unwind label %176

164:                                              ; preds = %163
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull @.str.4)
          to label %166 unwind label %178

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull @.str.5)
          to label %168 unwind label %178

168:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %169 unwind label %180

169:                                              ; preds = %168
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(112) %15)
          to label %170 unwind label %182

170:                                              ; preds = %169
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %15) #8
  br label %.thread428

171:                                              ; preds = %156
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %175

173:                                              ; preds = %158
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #8
  br label %175

175:                                              ; preds = %173, %171
  %.pn315 = phi { ptr, i32 } [ %174, %173 ], [ %172, %171 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %846

176:                                              ; preds = %163
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %186

178:                                              ; preds = %166, %164
  %179 = landingpad { ptr, i32 }
          cleanup
  br label %185

180:                                              ; preds = %168
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %184

182:                                              ; preds = %169
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %184

184:                                              ; preds = %182, %180
  %.pn318 = phi { ptr, i32 } [ %183, %182 ], [ %181, %180 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  br label %185

185:                                              ; preds = %184, %178
  %.pn318.pn = phi { ptr, i32 } [ %.pn318, %184 ], [ %179, %178 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #8
  br label %186

186:                                              ; preds = %185, %176
  %.pn318.pn.pn = phi { ptr, i32 } [ %.pn318.pn, %185 ], [ %177, %176 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %15) #8
  br label %846

187:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #8
  %188 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %188, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %189 unwind label %202

189:                                              ; preds = %187
  %190 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull %4)
          to label %191 unwind label %204

191:                                              ; preds = %189
  %192 = load i32, ptr %4, align 4
  %193 = icmp sgt i32 %192, -1
  %.not310 = select i1 %190, i1 %193, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br i1 %.not310, label %.backedge, label %194

194:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %20) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20)
          to label %195 unwind label %207

195:                                              ; preds = %194
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @.str.6)
          to label %197 unwind label %209

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef nonnull @.str.5)
          to label %199 unwind label %209

199:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %200 unwind label %211

200:                                              ; preds = %199
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(112) %20)
          to label %201 unwind label %213

201:                                              ; preds = %200
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %20) #8
  br label %.thread428

202:                                              ; preds = %187
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %206

204:                                              ; preds = %189
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  br label %206

206:                                              ; preds = %204, %202
  %.pn308 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #8
  br label %846

207:                                              ; preds = %194
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %217

209:                                              ; preds = %197, %195
  %210 = landingpad { ptr, i32 }
          cleanup
  br label %216

211:                                              ; preds = %199
  %212 = landingpad { ptr, i32 }
          cleanup
  br label %215

213:                                              ; preds = %200
  %214 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %215

215:                                              ; preds = %213, %211
  %.pn311 = phi { ptr, i32 } [ %214, %213 ], [ %212, %211 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #8
  br label %216

216:                                              ; preds = %215, %209
  %.pn311.pn = phi { ptr, i32 } [ %.pn311, %215 ], [ %210, %209 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20) #8
  br label %217

217:                                              ; preds = %216, %207
  %.pn311.pn.pn = phi { ptr, i32 } [ %.pn311.pn, %216 ], [ %208, %207 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %20) #8
  br label %846

218:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #8
  %219 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %219, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %220 unwind label %239

220:                                              ; preds = %218
  %221 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull %23)
          to label %222 unwind label %241

222:                                              ; preds = %220
  br i1 %221, label %223, label %.critedge

223:                                              ; preds = %222
  %224 = load i32, ptr %23, align 4, !tbaa !5
  %225 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %224, i32 noundef 0, i32 noundef 2)
          to label %226 unwind label %241

226:                                              ; preds = %223
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #8
  br i1 %225, label %.thread, label %.loopexit466

.critedge:                                        ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #8
  br label %.loopexit466

.loopexit466:                                     ; preds = %226, %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %26) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %227 unwind label %244

227:                                              ; preds = %.loopexit466
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str.7)
          to label %229 unwind label %246

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull @.str.8)
          to label %231 unwind label %246

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %230, i32 noundef 0)
          to label %233 unwind label %246

233:                                              ; preds = %231
  %234 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %232, ptr noundef nonnull @.str.9)
          to label %235 unwind label %246

235:                                              ; preds = %233
  %236 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %234, i32 noundef 2)
          to label %237 unwind label %246

237:                                              ; preds = %235
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %238 unwind label %248

238:                                              ; preds = %237
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %256 unwind label %250

239:                                              ; preds = %218
  %240 = landingpad { ptr, i32 }
          cleanup
  br label %243

241:                                              ; preds = %223, %220
  %242 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %243

243:                                              ; preds = %241, %239
  %.pn301 = phi { ptr, i32 } [ %242, %241 ], [ %240, %239 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #8
  br label %257

244:                                              ; preds = %.loopexit466
  %245 = landingpad { ptr, i32 }
          cleanup
  br label %254

246:                                              ; preds = %235, %233, %231, %229, %227
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %253

248:                                              ; preds = %237
  %249 = landingpad { ptr, i32 }
          cleanup
  br label %252

250:                                              ; preds = %238
  %251 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  br label %252

252:                                              ; preds = %250, %248
  %.pn303 = phi { ptr, i32 } [ %251, %250 ], [ %249, %248 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  br label %253

253:                                              ; preds = %252, %246
  %.pn303.pn = phi { ptr, i32 } [ %.pn303, %252 ], [ %247, %246 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #8
  br label %254

254:                                              ; preds = %253, %244
  %.pn303.pn.pn = phi { ptr, i32 } [ %.pn303.pn, %253 ], [ %245, %244 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %26) #8
  br label %257

.thread:                                          ; preds = %226
  %255 = load i32, ptr %23, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  br label %.backedge

256:                                              ; preds = %238
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  br label %.thread428

257:                                              ; preds = %254, %243
  %.pn303.pn.pn.pn = phi { ptr, i32 } [ %.pn303.pn.pn, %254 ], [ %.pn301, %243 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #8
  br label %846

258:                                              ; preds = %123
  %259 = trunc nuw i8 %.085 to i1
  br i1 %259, label %260, label %277

260:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %29) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29)
          to label %261 unwind label %266

261:                                              ; preds = %260
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.10)
          to label %263 unwind label %268

263:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %264 unwind label %270

264:                                              ; preds = %263
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(112) %29)
          to label %265 unwind label %272

265:                                              ; preds = %264
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %29) #8
  br label %.thread428

266:                                              ; preds = %260
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %276

268:                                              ; preds = %261
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %275

270:                                              ; preds = %263
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %274

272:                                              ; preds = %264
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %274

274:                                              ; preds = %272, %270
  %.pn297 = phi { ptr, i32 } [ %273, %272 ], [ %271, %270 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %30) #8
  br label %275

275:                                              ; preds = %274, %268
  %.pn297.pn = phi { ptr, i32 } [ %.pn297, %274 ], [ %269, %268 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #8
  br label %276

276:                                              ; preds = %275, %266
  %.pn297.pn.pn = phi { ptr, i32 } [ %.pn297.pn, %275 ], [ %267, %266 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %29) #8
  br label %846

277:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %32) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #8
  %278 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef %278, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %279 unwind label %287

279:                                              ; preds = %277
  %280 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull %33)
          to label %281 unwind label %289

281:                                              ; preds = %279
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br i1 %280, label %303, label %282

282:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %36) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %283 unwind label %292

283:                                              ; preds = %282
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @.str.11)
          to label %285 unwind label %294

285:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %286 unwind label %296

286:                                              ; preds = %285
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %.thread403 unwind label %298

.thread403:                                       ; preds = %286
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  br label %.thread428

287:                                              ; preds = %277
  %288 = landingpad { ptr, i32 }
          cleanup
  br label %291

289:                                              ; preds = %279
  %290 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %291

291:                                              ; preds = %289, %287
  %.pn288 = phi { ptr, i32 } [ %290, %289 ], [ %288, %287 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br label %323

292:                                              ; preds = %282
  %293 = landingpad { ptr, i32 }
          cleanup
  br label %302

294:                                              ; preds = %283
  %295 = landingpad { ptr, i32 }
          cleanup
  br label %301

296:                                              ; preds = %285
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %300

298:                                              ; preds = %286
  %299 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  br label %300

300:                                              ; preds = %298, %296
  %.pn292 = phi { ptr, i32 } [ %299, %298 ], [ %297, %296 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #8
  br label %301

301:                                              ; preds = %300, %294
  %.pn292.pn = phi { ptr, i32 } [ %.pn292, %300 ], [ %295, %294 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #8
  br label %302

302:                                              ; preds = %301, %292
  %.pn292.pn.pn = phi { ptr, i32 } [ %.pn292.pn, %301 ], [ %293, %292 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #8
  br label %323

303:                                              ; preds = %281
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %.preheader unwind label %.loopexit.split-lp

.preheader:                                       ; preds = %303
  %304 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %305 = icmp slt i32 %304, %0
  br i1 %305, label %.lr.ph, label %.critedge393.thread

.lr.ph:                                           ; preds = %.preheader, %313
  %306 = phi i32 [ %315, %313 ], [ %304, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %39) #8
  %307 = sext i32 %306 to i64
  %308 = getelementptr inbounds ptr, ptr %1, i64 %307
  %309 = load ptr, ptr %308, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %40) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef %309, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %310 unwind label %317

310:                                              ; preds = %.lr.ph
  %311 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull %33)
          to label %.critedge393 unwind label %319

.critedge393:                                     ; preds = %310
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #8
  br i1 %311, label %312, label %.critedge393.thread

312:                                              ; preds = %.critedge393
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %313 unwind label %.loopexit453

313:                                              ; preds = %312
  %314 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %315 = add nsw i32 %314, 1
  store i32 %315, ptr @ya_optind, align 4, !tbaa !5
  %316 = icmp slt i32 %315, %0
  br i1 %316, label %.lr.ph, label %.critedge393.thread, !llvm.loop !13

.loopexit453:                                     ; preds = %312
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %323

.loopexit.split-lp:                               ; preds = %303, %.critedge393.thread
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %323

317:                                              ; preds = %.lr.ph
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %321

319:                                              ; preds = %310
  %320 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  br label %321

321:                                              ; preds = %317, %319
  %.pn290 = phi { ptr, i32 } [ %320, %319 ], [ %318, %317 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %39) #8
  br label %323

.critedge393.thread:                              ; preds = %.critedge393, %313, %.preheader
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %322 unwind label %.loopexit.split-lp

322:                                              ; preds = %.critedge393.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  br label %.backedge

323:                                              ; preds = %.loopexit453, %.loopexit.split-lp, %321, %302, %291
  %.pn292.pn.pn.pn = phi { ptr, i32 } [ %.pn292.pn.pn, %302 ], [ %.pn290, %321 ], [ %.pn288, %291 ], [ %lpad.loopexit, %.loopexit453 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %32) #8
  br label %846

324:                                              ; preds = %123
  %325 = trunc nuw i8 %.085 to i1
  br i1 %325, label %326, label %343

326:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %41) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41)
          to label %327 unwind label %332

327:                                              ; preds = %326
  %328 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @.str.12)
          to label %329 unwind label %334

329:                                              ; preds = %327
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %42) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %43) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %330 unwind label %336

330:                                              ; preds = %329
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(112) %41)
          to label %331 unwind label %338

331:                                              ; preds = %330
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %41) #8
  br label %.thread428

332:                                              ; preds = %326
  %333 = landingpad { ptr, i32 }
          cleanup
  br label %342

334:                                              ; preds = %327
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %341

336:                                              ; preds = %329
  %337 = landingpad { ptr, i32 }
          cleanup
  br label %340

338:                                              ; preds = %330
  %339 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  br label %340

340:                                              ; preds = %338, %336
  %.pn284 = phi { ptr, i32 } [ %339, %338 ], [ %337, %336 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %43) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %42) #8
  br label %341

341:                                              ; preds = %340, %334
  %.pn284.pn = phi { ptr, i32 } [ %.pn284, %340 ], [ %335, %334 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #8
  br label %342

342:                                              ; preds = %341, %332
  %.pn284.pn.pn = phi { ptr, i32 } [ %.pn284.pn, %341 ], [ %333, %332 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %41) #8
  br label %846

343:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %44) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %44)
          to label %344 unwind label %362

344:                                              ; preds = %343
  %345 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  %346 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %44, ptr noundef %345, i32 noundef %346)
          to label %347 unwind label %364

347:                                              ; preds = %344
  %348 = load ptr, ptr %44, align 8, !tbaa !15
  %349 = getelementptr i8, ptr %348, i64 -24
  %350 = load i64, ptr %349, align 8
  %351 = getelementptr inbounds i8, ptr %44, i64 %350
  %352 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %351)
          to label %353 unwind label %364

353:                                              ; preds = %347
  br i1 %352, label %354, label %377

354:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %45) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %355 unwind label %366

355:                                              ; preds = %354
  %356 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @.str.13)
          to label %357 unwind label %368

357:                                              ; preds = %355
  %358 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %356, ptr noundef %358)
          to label %360 unwind label %368

360:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %361 unwind label %370

361:                                              ; preds = %360
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %.thread406 unwind label %372

.thread406:                                       ; preds = %361
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %45) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %44) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %44) #8
  br label %.thread428

362:                                              ; preds = %343
  %363 = landingpad { ptr, i32 }
          cleanup
  br label %386

364:                                              ; preds = %347, %344
  %365 = landingpad { ptr, i32 }
          cleanup
  br label %385

366:                                              ; preds = %354
  %367 = landingpad { ptr, i32 }
          cleanup
  br label %376

368:                                              ; preds = %357, %355
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %375

370:                                              ; preds = %360
  %371 = landingpad { ptr, i32 }
          cleanup
  br label %374

372:                                              ; preds = %361
  %373 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #8
  br label %374

374:                                              ; preds = %372, %370
  %.pn278 = phi { ptr, i32 } [ %373, %372 ], [ %371, %370 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #8
  br label %375

375:                                              ; preds = %374, %368
  %.pn278.pn = phi { ptr, i32 } [ %.pn278, %374 ], [ %369, %368 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #8
  br label %376

376:                                              ; preds = %375, %366
  %.pn278.pn.pn = phi { ptr, i32 } [ %.pn278.pn, %375 ], [ %367, %366 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %45) #8
  br label %385

377:                                              ; preds = %353
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %48) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #8
  br label %378

378:                                              ; preds = %381, %377
  %379 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef nonnull %49, ptr noundef nonnull %44)
          to label %380 unwind label %.loopexit454

380:                                              ; preds = %378
  br i1 %379, label %381, label %383

381:                                              ; preds = %380
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(8) %49)
          to label %378 unwind label %.loopexit454, !llvm.loop !17

.loopexit454:                                     ; preds = %378, %381
  %lpad.loopexit456 = landingpad { ptr, i32 }
          cleanup
  br label %382

.loopexit.split-lp455:                            ; preds = %383
  %lpad.loopexit.split-lp457 = landingpad { ptr, i32 }
          cleanup
  br label %382

382:                                              ; preds = %.loopexit.split-lp455, %.loopexit454
  %lpad.phi458 = phi { ptr, i32 } [ %lpad.loopexit456, %.loopexit454 ], [ %lpad.loopexit.split-lp457, %.loopexit.split-lp455 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #8
  br label %385

383:                                              ; preds = %380
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %48)
          to label %384 unwind label %.loopexit.split-lp455

384:                                              ; preds = %383
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %48) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %44) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %44) #8
  br label %.backedge

.backedge:                                        ; preds = %384, %322, %153, %160, %191, %488, %.thread, %.thread417, %.thread422
  %.092.be = phi i32 [ %.092, %384 ], [ %.092, %322 ], [ %.092, %191 ], [ %.092, %160 ], [ %.092, %153 ], [ %.092, %488 ], [ %.092, %.thread ], [ %.092, %.thread417 ], [ %548, %.thread422 ]
  %.089.be = phi i8 [ %.089, %384 ], [ %.089, %322 ], [ %.089, %191 ], [ %.089, %160 ], [ %.089, %153 ], [ 1, %488 ], [ %.089, %.thread ], [ %.089, %.thread417 ], [ %.089, %.thread422 ]
  %.085.be = phi i8 [ %.085, %384 ], [ %.085, %322 ], [ %.085, %191 ], [ %.085, %160 ], [ %.085, %153 ], [ %.085, %488 ], [ %.085, %.thread ], [ 1, %.thread417 ], [ %.085, %.thread422 ]
  %.081.be = phi i32 [ %.081, %384 ], [ %.081, %322 ], [ %.081, %191 ], [ %.081, %160 ], [ %.081, %153 ], [ %.081, %488 ], [ %255, %.thread ], [ %.081, %.thread417 ], [ %.081, %.thread422 ]
  br label %121

385:                                              ; preds = %382, %376, %364
  %.pn278.pn.pn.pn = phi { ptr, i32 } [ %.pn278.pn.pn, %376 ], [ %lpad.phi458, %382 ], [ %365, %364 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %44) #8
  br label %386

386:                                              ; preds = %385, %362
  %.pn278.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn278.pn.pn.pn, %385 ], [ %363, %362 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %44) #8
  br label %846

387:                                              ; preds = %123
  %388 = trunc nuw i8 %.085 to i1
  br i1 %388, label %389, label %406

389:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %50) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %390 unwind label %395

390:                                              ; preds = %389
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.14)
          to label %392 unwind label %397

392:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %393 unwind label %399

393:                                              ; preds = %392
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %394 unwind label %401

394:                                              ; preds = %393
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %50) #8
  br label %.thread428

395:                                              ; preds = %389
  %396 = landingpad { ptr, i32 }
          cleanup
  br label %405

397:                                              ; preds = %390
  %398 = landingpad { ptr, i32 }
          cleanup
  br label %404

399:                                              ; preds = %392
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %403

401:                                              ; preds = %393
  %402 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #8
  br label %403

403:                                              ; preds = %401, %399
  %.pn274 = phi { ptr, i32 } [ %402, %401 ], [ %400, %399 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #8
  br label %404

404:                                              ; preds = %403, %397
  %.pn274.pn = phi { ptr, i32 } [ %.pn274, %403 ], [ %398, %397 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #8
  br label %405

405:                                              ; preds = %404, %395
  %.pn274.pn.pn = phi { ptr, i32 } [ %.pn274.pn, %404 ], [ %396, %395 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %50) #8
  br label %846

406:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %53) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %54) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %55) #8
  %407 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %56) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef %407, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %408 unwind label %419

408:                                              ; preds = %406
  %409 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull %53)
          to label %410 unwind label %421

410:                                              ; preds = %408
  br i1 %409, label %411, label %.critedge11

411:                                              ; preds = %410
  %412 = load i32, ptr %53, align 4, !tbaa !5
  %413 = invoke noundef zeroext i1 @_ZN4sptk39ComputeFirstOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef %412, ptr noundef nonnull %54)
          to label %414 unwind label %421

414:                                              ; preds = %411
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #8
  br i1 %413, label %435, label %.loopexit465

.critedge11:                                      ; preds = %410
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #8
  br label %.loopexit465

.loopexit465:                                     ; preds = %414, %.critedge11
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %57) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57)
          to label %415 unwind label %424

415:                                              ; preds = %.loopexit465
  %416 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull @.str.15)
          to label %417 unwind label %426

417:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %59) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %418 unwind label %428

418:                                              ; preds = %417
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(112) %57)
          to label %436 unwind label %430

419:                                              ; preds = %406
  %420 = landingpad { ptr, i32 }
          cleanup
  br label %423

421:                                              ; preds = %411, %408
  %422 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  br label %423

423:                                              ; preds = %421, %419
  %.pn258 = phi { ptr, i32 } [ %422, %421 ], [ %420, %419 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #8
  br label %457

424:                                              ; preds = %.loopexit465
  %425 = landingpad { ptr, i32 }
          cleanup
  br label %434

426:                                              ; preds = %415
  %427 = landingpad { ptr, i32 }
          cleanup
  br label %433

428:                                              ; preds = %417
  %429 = landingpad { ptr, i32 }
          cleanup
  br label %432

430:                                              ; preds = %418
  %431 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  br label %432

432:                                              ; preds = %430, %428
  %.pn260 = phi { ptr, i32 } [ %431, %430 ], [ %429, %428 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  br label %433

433:                                              ; preds = %432, %426
  %.pn260.pn = phi { ptr, i32 } [ %.pn260, %432 ], [ %427, %426 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #8
  br label %434

434:                                              ; preds = %433, %424
  %.pn260.pn.pn = phi { ptr, i32 } [ %.pn260.pn, %433 ], [ %425, %424 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %57) #8
  br label %457

435:                                              ; preds = %414
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %54)
          to label %437 unwind label %455

436:                                              ; preds = %418
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %57) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #8
  br label %482

437:                                              ; preds = %435
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #8
  %438 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %439 = icmp slt i32 %438, %0
  br i1 %439, label %440, label %.thread417

440:                                              ; preds = %437
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %60) #8
  %441 = sext i32 %438 to i64
  %442 = getelementptr inbounds ptr, ptr %1, i64 %441
  %443 = load ptr, ptr %442, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %61) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef %443, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %444 unwind label %458

444:                                              ; preds = %440
  %445 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull %53)
          to label %.critedge397 unwind label %460

.critedge397:                                     ; preds = %444
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #8
  br i1 %445, label %446, label %.thread417

446:                                              ; preds = %.critedge397
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %62) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %447 = load i32, ptr %53, align 4, !tbaa !5
  %448 = invoke noundef zeroext i1 @_ZN4sptk40ComputeSecondOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef %447, ptr noundef nonnull %62)
          to label %449 unwind label %463

449:                                              ; preds = %446
  br i1 %448, label %476, label %450

450:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %63) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63)
          to label %451 unwind label %465

451:                                              ; preds = %450
  %452 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull @.str.15)
          to label %453 unwind label %467

453:                                              ; preds = %451
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %64) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %65) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %454 unwind label %469

454:                                              ; preds = %453
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(112) %63)
          to label %477 unwind label %471

455:                                              ; preds = %435
  %456 = landingpad { ptr, i32 }
          cleanup
  br label %457

457:                                              ; preds = %455, %434, %423
  %.pn260.pn.pn.pn = phi { ptr, i32 } [ %.pn260.pn.pn, %434 ], [ %456, %455 ], [ %.pn258, %423 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %54) #8
  br label %483

458:                                              ; preds = %440
  %459 = landingpad { ptr, i32 }
          cleanup
  br label %462

460:                                              ; preds = %444
  %461 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  br label %462

462:                                              ; preds = %458, %460
  %.pn265 = phi { ptr, i32 } [ %461, %460 ], [ %459, %458 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %60) #8
  br label %483

463:                                              ; preds = %476, %446
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %478

465:                                              ; preds = %450
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %475

467:                                              ; preds = %451
  %468 = landingpad { ptr, i32 }
          cleanup
  br label %474

469:                                              ; preds = %453
  %470 = landingpad { ptr, i32 }
          cleanup
  br label %473

471:                                              ; preds = %454
  %472 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #8
  br label %473

473:                                              ; preds = %471, %469
  %.pn267 = phi { ptr, i32 } [ %472, %471 ], [ %470, %469 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #8
  br label %474

474:                                              ; preds = %473, %467
  %.pn267.pn = phi { ptr, i32 } [ %.pn267, %473 ], [ %468, %467 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #8
  br label %475

475:                                              ; preds = %474, %465
  %.pn267.pn.pn = phi { ptr, i32 } [ %.pn267.pn, %474 ], [ %466, %465 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %63) #8
  br label %478

476:                                              ; preds = %449
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(24) %62)
          to label %479 unwind label %463

477:                                              ; preds = %454
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %65) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %64) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %63) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #8
  br label %482

478:                                              ; preds = %475, %463
  %.pn271 = phi { ptr, i32 } [ %464, %463 ], [ %.pn267.pn.pn, %475 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #8
  br label %483

479:                                              ; preds = %476
  %480 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %481 = add nsw i32 %480, 1
  store i32 %481, ptr @ya_optind, align 4, !tbaa !5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #8
  br label %.thread417

.thread417:                                       ; preds = %.critedge397, %479, %437
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #8
  br label %.backedge

482:                                              ; preds = %477, %436
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #8
  br label %.thread428

483:                                              ; preds = %462, %478, %457
  %.pn271.pn = phi { ptr, i32 } [ %.pn271, %478 ], [ %.pn265, %462 ], [ %.pn260.pn.pn.pn, %457 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %53) #8
  br label %846

484:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %66) #8
  %485 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %67) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef %485, ptr noundef nonnull align 1 dereferenceable(1) %67)
          to label %486 unwind label %495

486:                                              ; preds = %484
  %487 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull %6)
          to label %488 unwind label %497

488:                                              ; preds = %486
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %67) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #8
  br i1 %487, label %.backedge, label %489

489:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %68) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %490 unwind label %500

490:                                              ; preds = %489
  %491 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull @.str.16)
          to label %492 unwind label %502

492:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %69) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %70) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %493 unwind label %504

493:                                              ; preds = %492
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %494 unwind label %506

494:                                              ; preds = %493
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %68) #8
  br label %.thread428

495:                                              ; preds = %484
  %496 = landingpad { ptr, i32 }
          cleanup
  br label %499

497:                                              ; preds = %486
  %498 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #8
  br label %499

499:                                              ; preds = %497, %495
  %.pn252 = phi { ptr, i32 } [ %498, %497 ], [ %496, %495 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %67) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %67) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %66) #8
  br label %846

500:                                              ; preds = %489
  %501 = landingpad { ptr, i32 }
          cleanup
  br label %510

502:                                              ; preds = %490
  %503 = landingpad { ptr, i32 }
          cleanup
  br label %509

504:                                              ; preds = %492
  %505 = landingpad { ptr, i32 }
          cleanup
  br label %508

506:                                              ; preds = %493
  %507 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #8
  br label %508

508:                                              ; preds = %506, %504
  %.pn254 = phi { ptr, i32 } [ %507, %506 ], [ %505, %504 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %70) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %69) #8
  br label %509

509:                                              ; preds = %508, %502
  %.pn254.pn = phi { ptr, i32 } [ %.pn254, %508 ], [ %503, %502 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #8
  br label %510

510:                                              ; preds = %509, %500
  %.pn254.pn.pn = phi { ptr, i32 } [ %.pn254.pn, %509 ], [ %501, %500 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %68) #8
  br label %846

511:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %71) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #8
  %512 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %73) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef %512, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %513 unwind label %532

513:                                              ; preds = %511
  %514 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull %71)
          to label %515 unwind label %534

515:                                              ; preds = %513
  br i1 %514, label %516, label %.critedge13

516:                                              ; preds = %515
  %517 = load i32, ptr %71, align 4, !tbaa !5
  %518 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %517, i32 noundef 0, i32 noundef 1)
          to label %519 unwind label %534

519:                                              ; preds = %516
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br i1 %518, label %.thread422, label %.loopexit464

.critedge13:                                      ; preds = %515
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br label %.loopexit464

.loopexit464:                                     ; preds = %519, %.critedge13
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %74) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74)
          to label %520 unwind label %537

520:                                              ; preds = %.loopexit464
  %521 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull @.str.17)
          to label %522 unwind label %539

522:                                              ; preds = %520
  %523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %521, ptr noundef nonnull @.str.8)
          to label %524 unwind label %539

524:                                              ; preds = %522
  %525 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %523, i32 noundef 0)
          to label %526 unwind label %539

526:                                              ; preds = %524
  %527 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %525, ptr noundef nonnull @.str.9)
          to label %528 unwind label %539

528:                                              ; preds = %526
  %529 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %527, i32 noundef 1)
          to label %530 unwind label %539

530:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %75) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %76) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %76)
          to label %531 unwind label %541

531:                                              ; preds = %530
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %75, ptr noundef nonnull align 8 dereferenceable(112) %74)
          to label %549 unwind label %543

532:                                              ; preds = %511
  %533 = landingpad { ptr, i32 }
          cleanup
  br label %536

534:                                              ; preds = %516, %513
  %535 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  br label %536

536:                                              ; preds = %534, %532
  %.pn = phi { ptr, i32 } [ %535, %534 ], [ %533, %532 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br label %550

537:                                              ; preds = %.loopexit464
  %538 = landingpad { ptr, i32 }
          cleanup
  br label %547

539:                                              ; preds = %528, %526, %524, %522, %520
  %540 = landingpad { ptr, i32 }
          cleanup
  br label %546

541:                                              ; preds = %530
  %542 = landingpad { ptr, i32 }
          cleanup
  br label %545

543:                                              ; preds = %531
  %544 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  br label %545

545:                                              ; preds = %543, %541
  %.pn247 = phi { ptr, i32 } [ %544, %543 ], [ %542, %541 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %76) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #8
  br label %546

546:                                              ; preds = %545, %539
  %.pn247.pn = phi { ptr, i32 } [ %.pn247, %545 ], [ %540, %539 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #8
  br label %547

547:                                              ; preds = %546, %537
  %.pn247.pn.pn = phi { ptr, i32 } [ %.pn247.pn, %546 ], [ %538, %537 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %74) #8
  br label %550

.thread422:                                       ; preds = %519
  %548 = load i32, ptr %71, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %71) #8
  br label %.backedge

549:                                              ; preds = %531
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %75) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %76) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %76) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %75) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %74) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %74) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %71) #8
  br label %.thread428

550:                                              ; preds = %547, %536
  %.pn247.pn.pn.pn = phi { ptr, i32 } [ %.pn247.pn.pn, %547 ], [ %.pn, %536 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %71) #8
  br label %846

551:                                              ; preds = %123
  invoke void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cout)
          to label %.thread428 unwind label %.loopexit.split-lp460

552:                                              ; preds = %123
  invoke void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cerr)
          to label %.thread428 unwind label %.loopexit.split-lp460

553:                                              ; preds = %123
  %554 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %555 = sub nsw i32 %0, %554
  %556 = icmp sgt i32 %555, 1
  br i1 %556, label %557, label %574

557:                                              ; preds = %553
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %77) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77)
          to label %558 unwind label %563

558:                                              ; preds = %557
  %559 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @.str.18)
          to label %560 unwind label %565

560:                                              ; preds = %558
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %79) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %561 unwind label %567

561:                                              ; preds = %560
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(112) %77)
          to label %562 unwind label %569

562:                                              ; preds = %561
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %77) #8
  br label %.thread428

563:                                              ; preds = %557
  %564 = landingpad { ptr, i32 }
          cleanup
  br label %573

565:                                              ; preds = %558
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %572

567:                                              ; preds = %560
  %568 = landingpad { ptr, i32 }
          cleanup
  br label %571

569:                                              ; preds = %561
  %570 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  br label %571

571:                                              ; preds = %569, %567
  %.pn384 = phi { ptr, i32 } [ %570, %569 ], [ %568, %567 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  br label %572

572:                                              ; preds = %571, %565
  %.pn384.pn = phi { ptr, i32 } [ %.pn384, %571 ], [ %566, %565 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77) #8
  br label %573

573:                                              ; preds = %572, %563
  %.pn384.pn.pn = phi { ptr, i32 } [ %.pn384.pn, %572 ], [ %564, %563 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %77) #8
  br label %846

574:                                              ; preds = %553
  %575 = icmp eq i32 %554, %0
  br i1 %575, label %580, label %576

576:                                              ; preds = %574
  %577 = sext i32 %554 to i64
  %578 = getelementptr inbounds ptr, ptr %1, i64 %577
  %579 = load ptr, ptr %578, align 8, !tbaa !11
  br label %580

580:                                              ; preds = %574, %576
  %581 = phi ptr [ %579, %576 ], [ null, %574 ]
  %582 = invoke noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
          to label %583 unwind label %590

583:                                              ; preds = %580
  br i1 %582, label %603, label %584

584:                                              ; preds = %583
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %80) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %80)
          to label %585 unwind label %592

585:                                              ; preds = %584
  %586 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull @.str.19)
          to label %587 unwind label %594

587:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %81) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %82) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %588 unwind label %596

588:                                              ; preds = %587
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(112) %80)
          to label %589 unwind label %598

589:                                              ; preds = %588
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %82) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %80) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %80) #8
  br label %.thread428

590:                                              ; preds = %580
  %591 = landingpad { ptr, i32 }
          cleanup
  br label %846

592:                                              ; preds = %584
  %593 = landingpad { ptr, i32 }
          cleanup
  br label %602

594:                                              ; preds = %585
  %595 = landingpad { ptr, i32 }
          cleanup
  br label %601

596:                                              ; preds = %587
  %597 = landingpad { ptr, i32 }
          cleanup
  br label %600

598:                                              ; preds = %588
  %599 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #8
  br label %600

600:                                              ; preds = %598, %596
  %.pn331 = phi { ptr, i32 } [ %599, %598 ], [ %597, %596 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %82) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  br label %601

601:                                              ; preds = %600, %594
  %.pn331.pn = phi { ptr, i32 } [ %.pn331, %600 ], [ %595, %594 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %80) #8
  br label %602

602:                                              ; preds = %601, %592
  %.pn331.pn.pn = phi { ptr, i32 } [ %.pn331.pn, %601 ], [ %593, %592 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %80) #8
  br label %846

603:                                              ; preds = %583
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %83) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %83)
          to label %604 unwind label %622

604:                                              ; preds = %603
  %.not = icmp eq ptr %581, null
  br i1 %.not, label %637, label %605

605:                                              ; preds = %604
  %606 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %83, ptr noundef nonnull %581, i32 noundef %606)
          to label %607 unwind label %624

607:                                              ; preds = %605
  %608 = load ptr, ptr %83, align 8, !tbaa !15
  %609 = getelementptr i8, ptr %608, i64 -24
  %610 = load i64, ptr %609, align 8
  %611 = getelementptr inbounds i8, ptr %83, i64 %610
  %612 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %611)
          to label %613 unwind label %624

613:                                              ; preds = %607
  br i1 %612, label %614, label %637

614:                                              ; preds = %613
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %84) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84)
          to label %615 unwind label %626

615:                                              ; preds = %614
  %616 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull @.str.13)
          to label %617 unwind label %628

617:                                              ; preds = %615
  %618 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %616, ptr noundef nonnull %581)
          to label %619 unwind label %628

619:                                              ; preds = %617
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %85) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %86) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %620 unwind label %630

620:                                              ; preds = %619
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull align 8 dereferenceable(112) %84)
          to label %621 unwind label %632

621:                                              ; preds = %620
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %84) #8
  br label %843

622:                                              ; preds = %603
  %623 = landingpad { ptr, i32 }
          cleanup
  br label %845

624:                                              ; preds = %607, %605
  %625 = landingpad { ptr, i32 }
          cleanup
  br label %844

626:                                              ; preds = %614
  %627 = landingpad { ptr, i32 }
          cleanup
  br label %636

628:                                              ; preds = %617, %615
  %629 = landingpad { ptr, i32 }
          cleanup
  br label %635

630:                                              ; preds = %619
  %631 = landingpad { ptr, i32 }
          cleanup
  br label %634

632:                                              ; preds = %620
  %633 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #8
  br label %634

634:                                              ; preds = %632, %630
  %.pn377 = phi { ptr, i32 } [ %633, %632 ], [ %631, %630 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #8
  br label %635

635:                                              ; preds = %634, %628
  %.pn377.pn = phi { ptr, i32 } [ %.pn377, %634 ], [ %629, %628 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #8
  br label %636

636:                                              ; preds = %635, %626
  %.pn377.pn.pn = phi { ptr, i32 } [ %.pn377.pn, %635 ], [ %627, %626 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %84) #8
  br label %844

637:                                              ; preds = %613, %604
  %638 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %83)
  %639 = select i1 %638, ptr %83, ptr @_ZSt3cin
  %640 = load i32, ptr %3, align 4, !tbaa !5
  %641 = add nsw i32 %640, 1
  %642 = shl nsw i32 %641, 1
  %643 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %644 = trunc i64 %643 to i32
  %645 = add i32 %644, 1
  %646 = mul nsw i32 %642, %645
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %87) #8
  invoke void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25) %87, i1 noundef zeroext false, i32 noundef %646, ptr noundef nonnull %639)
          to label %647 unwind label %657

647:                                              ; preds = %637
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %88) #8
  invoke void @_ZN12_GLOBAL__N_124InputSourcePreprocessingC2ENS_12InputFormatsEPN4sptk20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(25) %88, i32 noundef %.081, ptr noundef nonnull %87)
          to label %648 unwind label %659

648:                                              ; preds = %647
  switch i32 %.092, label %838 [
    i32 0, label %649
    i32 1, label %729
  ]

649:                                              ; preds = %648
  %650 = trunc nuw i8 %.089 to i1
  br i1 %650, label %651, label %672

651:                                              ; preds = %649
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %89) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89)
          to label %652 unwind label %661

652:                                              ; preds = %651
  %653 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull @.str.20)
          to label %654 unwind label %663

654:                                              ; preds = %652
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %90) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %91) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %91)
          to label %655 unwind label %665

655:                                              ; preds = %654
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef nonnull align 8 dereferenceable(112) %89)
          to label %656 unwind label %667

656:                                              ; preds = %655
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %91) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %90) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %89) #8
  br label %839

657:                                              ; preds = %637
  %658 = landingpad { ptr, i32 }
          cleanup
  br label %842

659:                                              ; preds = %647
  %660 = landingpad { ptr, i32 }
          cleanup
  br label %841

661:                                              ; preds = %651
  %662 = landingpad { ptr, i32 }
          cleanup
  br label %671

663:                                              ; preds = %652
  %664 = landingpad { ptr, i32 }
          cleanup
  br label %670

665:                                              ; preds = %654
  %666 = landingpad { ptr, i32 }
          cleanup
  br label %669

667:                                              ; preds = %655
  %668 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #8
  br label %669

669:                                              ; preds = %667, %665
  %.pn370 = phi { ptr, i32 } [ %668, %667 ], [ %666, %665 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %91) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %90) #8
  br label %670

670:                                              ; preds = %669, %663
  %.pn370.pn = phi { ptr, i32 } [ %.pn370, %669 ], [ %664, %663 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89) #8
  br label %671

671:                                              ; preds = %670, %661
  %.pn370.pn.pn = phi { ptr, i32 } [ %.pn370.pn, %670 ], [ %662, %661 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %89) #8
  br label %840

672:                                              ; preds = %649
  call void @llvm.lifetime.start.p0(i64 232, ptr nonnull %92) #8
  %673 = load i32, ptr %3, align 4, !tbaa !5
  %674 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationC1EiiRKSt6vectorIS1_IdSaIdEESaIS3_EEPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(232) %92, i32 noundef %673, i32 noundef %674, ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull %88)
          to label %675 unwind label %682

675:                                              ; preds = %672
  %676 = call noundef zeroext i1 @_ZNK4sptk45RecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(232) %92)
  br i1 %676, label %695, label %677

677:                                              ; preds = %675
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %93) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %93)
          to label %678 unwind label %684

678:                                              ; preds = %677
  %679 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @.str.21)
          to label %680 unwind label %686

680:                                              ; preds = %678
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %94) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %95) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %95)
          to label %681 unwind label %688

681:                                              ; preds = %680
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %94, ptr noundef nonnull align 8 dereferenceable(112) %93)
          to label %.thread446 unwind label %690

.thread446:                                       ; preds = %681
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %95) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %93) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %93) #8
  call void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %92) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %92) #8
  br label %839

682:                                              ; preds = %672
  %683 = landingpad { ptr, i32 }
          cleanup
  br label %728

684:                                              ; preds = %677
  %685 = landingpad { ptr, i32 }
          cleanup
  br label %694

686:                                              ; preds = %678
  %687 = landingpad { ptr, i32 }
          cleanup
  br label %693

688:                                              ; preds = %680
  %689 = landingpad { ptr, i32 }
          cleanup
  br label %692

690:                                              ; preds = %681
  %691 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %94) #8
  br label %692

692:                                              ; preds = %690, %688
  %.pn358 = phi { ptr, i32 } [ %691, %690 ], [ %689, %688 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %95) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %95) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %94) #8
  br label %693

693:                                              ; preds = %692, %686
  %.pn358.pn = phi { ptr, i32 } [ %.pn358, %692 ], [ %687, %686 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %93) #8
  br label %694

694:                                              ; preds = %693, %684
  %.pn358.pn.pn = phi { ptr, i32 } [ %.pn358.pn, %693 ], [ %685, %684 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %93) #8
  br label %727

695:                                              ; preds = %675
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %96) #8
  %696 = sext i32 %641 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %97) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %696, ptr noundef nonnull align 1 dereferenceable(1) %97)
          to label %697 unwind label %710

697:                                              ; preds = %695
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %97) #8
  br label %698

698:                                              ; preds = %703, %697
  %699 = invoke noundef zeroext i1 @_ZN4sptk45RecursiveMaximumLikelihoodParameterGeneration3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(232) %92, ptr noundef nonnull %96)
          to label %700 unwind label %712

700:                                              ; preds = %698
  br i1 %699, label %701, label %.loopexit

701:                                              ; preds = %700
  %702 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %641, ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull @_ZSt4cout, ptr noundef null)
          to label %703 unwind label %712

703:                                              ; preds = %701
  br i1 %702, label %698, label %704, !llvm.loop !18

704:                                              ; preds = %703
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %98) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98)
          to label %705 unwind label %714

705:                                              ; preds = %704
  %706 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.22)
          to label %707 unwind label %716

707:                                              ; preds = %705
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %99) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %100) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %100)
          to label %708 unwind label %718

708:                                              ; preds = %707
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(112) %98)
          to label %709 unwind label %720

709:                                              ; preds = %708
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %100) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %99) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %98) #8
  br label %.loopexit

710:                                              ; preds = %695
  %711 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %97) #8
  br label %726

712:                                              ; preds = %701, %698
  %713 = landingpad { ptr, i32 }
          cleanup
  br label %725

714:                                              ; preds = %704
  %715 = landingpad { ptr, i32 }
          cleanup
  br label %724

716:                                              ; preds = %705
  %717 = landingpad { ptr, i32 }
          cleanup
  br label %723

718:                                              ; preds = %707
  %719 = landingpad { ptr, i32 }
          cleanup
  br label %722

720:                                              ; preds = %708
  %721 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  br label %722

722:                                              ; preds = %720, %718
  %.pn362 = phi { ptr, i32 } [ %721, %720 ], [ %719, %718 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %100) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %99) #8
  br label %723

723:                                              ; preds = %722, %716
  %.pn362.pn = phi { ptr, i32 } [ %.pn362, %722 ], [ %717, %716 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #8
  br label %724

724:                                              ; preds = %723, %714
  %.pn362.pn.pn = phi { ptr, i32 } [ %.pn362.pn, %723 ], [ %715, %714 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %98) #8
  br label %725

.loopexit:                                        ; preds = %700, %709
  %.11 = phi i32 [ 1, %709 ], [ 0, %700 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %96) #8
  call void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %92) #8
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %92) #8
  br i1 %699, label %839, label %838

725:                                              ; preds = %724, %712
  %.pn362.pn.pn.pn = phi { ptr, i32 } [ %.pn362.pn.pn, %724 ], [ %713, %712 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  br label %726

726:                                              ; preds = %725, %710
  %.pn362.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn362.pn.pn.pn, %725 ], [ %711, %710 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %96) #8
  br label %727

727:                                              ; preds = %726, %694
  %.pn362.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn362.pn.pn.pn.pn, %726 ], [ %.pn358.pn.pn, %694 ]
  call void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(232) %92) #8
  br label %728

728:                                              ; preds = %727, %682
  %.pn362.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn362.pn.pn.pn.pn.pn, %727 ], [ %683, %682 ]
  call void @llvm.lifetime.end.p0(i64 232, ptr nonnull %92) #8
  br label %840

729:                                              ; preds = %648
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %101) #8
  %730 = load i32, ptr %3, align 4, !tbaa !5
  %731 = trunc nuw i8 %.089 to i1
  %732 = load double, ptr %6, align 8, !tbaa !9
  invoke void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationC1EiRKSt6vectorIS1_IdSaIdEESaIS3_EEbd(ptr noundef nonnull align 8 dereferenceable(64) %101, i32 noundef %730, ptr noundef nonnull align 8 dereferenceable(24) %5, i1 noundef zeroext %731, double noundef %732)
          to label %733 unwind label %742

733:                                              ; preds = %729
  %734 = call noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(64) %101)
  br i1 %734, label %755, label %735

735:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %102) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %102)
          to label %736 unwind label %744

736:                                              ; preds = %735
  %737 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.23)
          to label %738 unwind label %746

738:                                              ; preds = %736
  %739 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %737, ptr noundef nonnull @.str.24)
          to label %740 unwind label %746

740:                                              ; preds = %738
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %103) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %104) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %104)
          to label %741 unwind label %748

741:                                              ; preds = %740
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %103, ptr noundef nonnull align 8 dereferenceable(112) %102)
          to label %.thread449 unwind label %750

.thread449:                                       ; preds = %741
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %104) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %103) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %102) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %102) #8
  call void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %101) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %101) #8
  br label %839

742:                                              ; preds = %729
  %743 = landingpad { ptr, i32 }
          cleanup
  br label %837

744:                                              ; preds = %735
  %745 = landingpad { ptr, i32 }
          cleanup
  br label %754

746:                                              ; preds = %738, %736
  %747 = landingpad { ptr, i32 }
          cleanup
  br label %753

748:                                              ; preds = %740
  %749 = landingpad { ptr, i32 }
          cleanup
  br label %752

750:                                              ; preds = %741
  %751 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %103) #8
  br label %752

752:                                              ; preds = %750, %748
  %.pn335 = phi { ptr, i32 } [ %751, %750 ], [ %749, %748 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %104) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %104) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %103) #8
  br label %753

753:                                              ; preds = %752, %746
  %.pn335.pn = phi { ptr, i32 } [ %.pn335, %752 ], [ %747, %746 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %102) #8
  br label %754

754:                                              ; preds = %753, %744
  %.pn335.pn.pn = phi { ptr, i32 } [ %.pn335.pn, %753 ], [ %745, %744 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %102) #8
  br label %836

755:                                              ; preds = %733
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %105) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %106) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #8
  %756 = call noundef i32 @_ZNK4sptk21InputSourceFromStream7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(25) %87)
  %757 = sdiv i32 %756, 2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %107) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %758 = sext i32 %757 to i64
  br label %759

759:                                              ; preds = %772, %755
  %760 = invoke noundef zeroext i1 @_ZN4sptk21InputSourceFromStream3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(25) %87, ptr noundef nonnull %107)
          to label %761 unwind label %773

761:                                              ; preds = %759
  br i1 %760, label %762, label %785

762:                                              ; preds = %761
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %108) #8
  %763 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %109) #8
  %764 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  store ptr %764, ptr %109, align 8
  %765 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %109, i64 noundef %758) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %110) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %110) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %108, ptr %763, ptr %765, ptr noundef nonnull align 1 dereferenceable(1) %110)
          to label %766 unwind label %775

766:                                              ; preds = %762
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 8 dereferenceable(24) %108)
          to label %767 unwind label %777

767:                                              ; preds = %766
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %108) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %110) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %110) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %109) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %108) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %111) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %112) #8
  %768 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  store ptr %768, ptr %112, align 8
  %769 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %112, i64 noundef %758) #8
  %770 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %113) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %113) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24) %111, ptr %769, ptr %770, ptr noundef nonnull align 1 dereferenceable(1) %113)
          to label %771 unwind label %780

771:                                              ; preds = %767
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %772 unwind label %782

772:                                              ; preds = %771
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %111) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %113) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %113) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %112) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %111) #8
  br label %759, !llvm.loop !19

773:                                              ; preds = %759
  %774 = landingpad { ptr, i32 }
          cleanup
  br label %794

775:                                              ; preds = %762
  %776 = landingpad { ptr, i32 }
          cleanup
  br label %779

777:                                              ; preds = %766
  %778 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %108) #8
  br label %779

779:                                              ; preds = %777, %775
  %.pn350 = phi { ptr, i32 } [ %778, %777 ], [ %776, %775 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %110) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %110) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %109) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %108) #8
  br label %794

780:                                              ; preds = %767
  %781 = landingpad { ptr, i32 }
          cleanup
  br label %784

782:                                              ; preds = %771
  %783 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %111) #8
  br label %784

784:                                              ; preds = %782, %780
  %.pn352 = phi { ptr, i32 } [ %783, %782 ], [ %781, %780 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %113) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %113) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %112) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %111) #8
  br label %794

785:                                              ; preds = %761
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %107) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %114) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %114) #8
  %786 = invoke noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration3RunERKSt6vectorIS1_IdSaIdEESaIS3_EES7_PS5_(ptr noundef nonnull align 8 dereferenceable(64) %101, ptr noundef nonnull align 8 dereferenceable(24) %105, ptr noundef nonnull align 8 dereferenceable(24) %106, ptr noundef nonnull %114)
          to label %787 unwind label %795

787:                                              ; preds = %785
  br i1 %786, label %808, label %788

788:                                              ; preds = %787
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %115) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %115)
          to label %789 unwind label %797

789:                                              ; preds = %788
  %790 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef nonnull @.str.25)
          to label %791 unwind label %799

791:                                              ; preds = %789
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %116) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %117) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %117) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %116, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %117)
          to label %792 unwind label %801

792:                                              ; preds = %791
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %116, ptr noundef nonnull align 8 dereferenceable(112) %115)
          to label %793 unwind label %803

793:                                              ; preds = %792
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %116) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %117) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %117) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %116) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %115) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %115) #8
  br label %.loopexit452

794:                                              ; preds = %784, %779, %773
  %.pn352.pn = phi { ptr, i32 } [ %.pn352, %784 ], [ %.pn350, %779 ], [ %774, %773 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %107) #8
  br label %835

795:                                              ; preds = %785
  %796 = landingpad { ptr, i32 }
          cleanup
  br label %834

797:                                              ; preds = %788
  %798 = landingpad { ptr, i32 }
          cleanup
  br label %807

799:                                              ; preds = %789
  %800 = landingpad { ptr, i32 }
          cleanup
  br label %806

801:                                              ; preds = %791
  %802 = landingpad { ptr, i32 }
          cleanup
  br label %805

803:                                              ; preds = %792
  %804 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %116) #8
  br label %805

805:                                              ; preds = %803, %801
  %.pn339 = phi { ptr, i32 } [ %804, %803 ], [ %802, %801 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %117) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %117) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %116) #8
  br label %806

806:                                              ; preds = %805, %799
  %.pn339.pn = phi { ptr, i32 } [ %.pn339, %805 ], [ %800, %799 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %115) #8
  br label %807

807:                                              ; preds = %806, %797
  %.pn339.pn.pn = phi { ptr, i32 } [ %.pn339.pn, %806 ], [ %798, %797 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %115) #8
  br label %834

808:                                              ; preds = %787
  %809 = call noundef i64 @_ZNKSt6vectorIS_IdSaIdEESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #8
  %810 = trunc i64 %809 to i32
  %.not349.not612 = icmp sgt i32 %810, 0
  br i1 %.not349.not612, label %.lr.ph614.preheader, label %.loopexit452

.lr.ph614.preheader:                              ; preds = %808
  %wide.trip.count = and i64 %809, 2147483647
  br label %.lr.ph614

811:                                              ; preds = %814
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit452, label %.lr.ph614, !llvm.loop !20

.lr.ph614:                                        ; preds = %.lr.ph614.preheader, %811
  %indvars.iv = phi i64 [ 0, %.lr.ph614.preheader ], [ %indvars.iv.next, %811 ]
  %812 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIS_IdSaIdEESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %114, i64 noundef %indvars.iv) #8
  %813 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %641, ptr noundef nonnull align 8 dereferenceable(24) %812, ptr noundef nonnull @_ZSt4cout, ptr noundef null)
          to label %814 unwind label %821

814:                                              ; preds = %.lr.ph614
  br i1 %813, label %811, label %815

815:                                              ; preds = %814
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %118) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %118)
          to label %816 unwind label %823

816:                                              ; preds = %815
  %817 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %118, ptr noundef nonnull @.str.22)
          to label %818 unwind label %825

818:                                              ; preds = %816
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %119) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %120) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %120) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %119, ptr noundef nonnull @.str.3, ptr noundef nonnull align 1 dereferenceable(1) %120)
          to label %819 unwind label %827

819:                                              ; preds = %818
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %119, ptr noundef nonnull align 8 dereferenceable(112) %118)
          to label %820 unwind label %829

820:                                              ; preds = %819
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %119) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %120) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %120) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %119) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %118) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %118) #8
  br label %.loopexit452

821:                                              ; preds = %.lr.ph614
  %822 = landingpad { ptr, i32 }
          cleanup
  br label %834

823:                                              ; preds = %815
  %824 = landingpad { ptr, i32 }
          cleanup
  br label %833

825:                                              ; preds = %816
  %826 = landingpad { ptr, i32 }
          cleanup
  br label %832

827:                                              ; preds = %818
  %828 = landingpad { ptr, i32 }
          cleanup
  br label %831

829:                                              ; preds = %819
  %830 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %119) #8
  br label %831

831:                                              ; preds = %829, %827
  %.pn343 = phi { ptr, i32 } [ %830, %829 ], [ %828, %827 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %120) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %120) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %119) #8
  br label %832

832:                                              ; preds = %831, %825
  %.pn343.pn = phi { ptr, i32 } [ %.pn343, %831 ], [ %826, %825 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %118) #8
  br label %833

833:                                              ; preds = %832, %823
  %.pn343.pn.pn = phi { ptr, i32 } [ %.pn343.pn, %832 ], [ %824, %823 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %118) #8
  br label %834

.loopexit452:                                     ; preds = %811, %808, %793, %820
  %.11233 = phi i1 [ false, %793 ], [ false, %820 ], [ true, %808 ], [ true, %811 ]
  %.14 = phi i32 [ 1, %793 ], [ 1, %820 ], [ 0, %808 ], [ 0, %811 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %114) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %114) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %106) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %105) #8
  call void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %101) #8
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %101) #8
  br i1 %.11233, label %838, label %839

834:                                              ; preds = %821, %833, %807, %795
  %.pn343.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn339.pn.pn, %807 ], [ %796, %795 ], [ %.pn343.pn.pn, %833 ], [ %822, %821 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %114) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %114) #8
  br label %835

835:                                              ; preds = %834, %794
  %.pn352.pn.pn = phi { ptr, i32 } [ %.pn352.pn, %794 ], [ %.pn343.pn.pn.pn.pn, %834 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %106) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %106) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %105) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %105) #8
  br label %836

836:                                              ; preds = %835, %754
  %.pn352.pn.pn.pn = phi { ptr, i32 } [ %.pn352.pn.pn, %835 ], [ %.pn335.pn.pn, %754 ]
  call void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %101) #8
  br label %837

837:                                              ; preds = %836, %742
  %.pn352.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn352.pn.pn.pn, %836 ], [ %743, %742 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %101) #8
  br label %840

838:                                              ; preds = %648, %.loopexit452, %.loopexit
  br label %839

839:                                              ; preds = %.thread449, %.thread446, %.loopexit, %.loopexit452, %838, %656
  %.16 = phi i32 [ 1, %656 ], [ 0, %838 ], [ %.11, %.loopexit ], [ %.14, %.loopexit452 ], [ 1, %.thread446 ], [ 1, %.thread449 ]
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %88) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #8
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %87) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #8
  br label %843

840:                                              ; preds = %837, %728, %671
  %.pn370.pn.pn.pn = phi { ptr, i32 } [ %.pn370.pn.pn, %671 ], [ %.pn362.pn.pn.pn.pn.pn.pn, %728 ], [ %.pn352.pn.pn.pn.pn, %837 ]
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %88) #8
  br label %841

841:                                              ; preds = %840, %659
  %.pn370.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn370.pn.pn.pn, %840 ], [ %660, %659 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %88) #8
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %87) #8
  br label %842

842:                                              ; preds = %841, %657
  %.pn370.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn370.pn.pn.pn.pn, %841 ], [ %658, %657 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %87) #8
  br label %844

843:                                              ; preds = %839, %621
  %.17 = phi i32 [ 1, %621 ], [ %.16, %839 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %83) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %83) #8
  br label %.thread428

844:                                              ; preds = %842, %636, %624
  %.pn377.pn.pn.pn = phi { ptr, i32 } [ %.pn377.pn.pn, %636 ], [ %.pn370.pn.pn.pn.pn.pn, %842 ], [ %625, %624 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %83) #8
  br label %845

845:                                              ; preds = %844, %622
  %.pn377.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn377.pn.pn.pn, %844 ], [ %623, %622 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %83) #8
  br label %846

.thread428:                                       ; preds = %.thread406, %.thread403, %552, %551, %136, %170, %201, %256, %265, %331, %482, %394, %494, %549, %562, %843, %589
  %.20 = phi i32 [ 1, %562 ], [ %.17, %843 ], [ 1, %589 ], [ 1, %.thread406 ], [ 1, %.thread403 ], [ 1, %552 ], [ 0, %551 ], [ 1, %136 ], [ 1, %170 ], [ 1, %201 ], [ 1, %256 ], [ 1, %265 ], [ 1, %331 ], [ 1, %482 ], [ 1, %394 ], [ 1, %494 ], [ 1, %549 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  ret i32 %.20

846:                                              ; preds = %.loopexit459, %.loopexit.split-lp460, %573, %845, %602, %590, %141, %152, %175, %186, %206, %217, %257, %276, %323, %342, %386, %405, %483, %499, %510, %550
  %.pn384.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn247.pn.pn.pn, %550 ], [ %.pn254.pn.pn, %510 ], [ %.pn252, %499 ], [ %.pn274.pn.pn, %405 ], [ %.pn271.pn, %483 ], [ %.pn284.pn.pn, %342 ], [ %.pn278.pn.pn.pn.pn, %386 ], [ %.pn297.pn.pn, %276 ], [ %.pn292.pn.pn.pn, %323 ], [ %.pn303.pn.pn.pn, %257 ], [ %.pn311.pn.pn, %217 ], [ %.pn308, %206 ], [ %.pn318.pn.pn, %186 ], [ %.pn315, %175 ], [ %.pn325.pn.pn, %152 ], [ %.pn322, %141 ], [ %.pn384.pn.pn, %573 ], [ %.pn377.pn.pn.pn.pn, %845 ], [ %.pn331.pn.pn, %602 ], [ %591, %590 ], [ %lpad.loopexit461, %.loopexit459 ], [ %lpad.loopexit.split-lp462, %.loopexit.split-lp460 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn384.pn.pn.pn.pn
}

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

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

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

declare i32 @ya_getopt_long_only(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

declare void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

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

declare noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef, i32 noundef) local_unnamed_addr #7

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

declare noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN4sptk39ComputeFirstOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef, ptr noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN4sptk40ComputeSecondOrderRegressionCoefficientsEiPSt6vectorIdSaIdEE(i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #2 align 2

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

declare void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25), i1 noundef zeroext, i32 noundef, ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_124InputSourcePreprocessingC2ENS_12InputFormatsEPN4sptk20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(25), i32 noundef, ptr noundef) unnamed_addr #5 align 2

declare void @_ZN4sptk45RecursiveMaximumLikelihoodParameterGenerationC1EiiRKSt6vectorIS1_IdSaIdEESaIS3_EEPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(232), i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk45RecursiveMaximumLikelihoodParameterGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(232)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4sptk45RecursiveMaximumLikelihoodParameterGeneration3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef) unnamed_addr #4

declare noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare void @_ZN4sptk48NonrecursiveMaximumLikelihoodParameterGenerationC1EiRKSt6vectorIS1_IdSaIdEESaIS3_EEbd(ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext, double noundef) unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4sptk21InputSourceFromStream7GetSizeEv(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZN4sptk21InputSourceFromStream3GetEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef) unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2IN9__gnu_cxx17__normal_iteratorIPdS1_EEvEET_S7_RKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr, ptr, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

declare noundef zeroext i1 @_ZNK4sptk48NonrecursiveMaximumLikelihoodParameterGeneration3RunERKSt6vectorIS1_IdSaIdEESaIS3_EES7_PS5_(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

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

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


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