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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = 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::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.0 }
%union.anon.0 = type { i32 }
%"class.sptk::PitchExtraction" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { double }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@ya_optarg = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [56 x i8], align 1
@ya_optind = external global i32, align 4
@.str.16 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.19 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 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 double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  %30 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %31 = alloca %"class.std::__cxx11::basic_string", align 8
  %32 = alloca %"class.std::allocator", align 1
  %33 = alloca %"class.std::__cxx11::basic_string", align 8
  %34 = alloca %"class.std::allocator", align 1
  %35 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::__cxx11::basic_string", align 8
  %42 = alloca %"class.std::allocator", align 1
  %43 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator", align 1
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator", align 1
  %48 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca double, align 8
  %52 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator", align 1
  %55 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator", align 1
  %58 = alloca i32, align 4
  %59 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator", align 1
  %62 = alloca ptr, 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", align 1
  %66 = alloca %"class.std::basic_ifstream", 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", align 1
  %70 = alloca ptr, align 8
  %71 = alloca %"class.sptk::PitchExtraction", align 8
  %72 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %73 = alloca %"class.std::__cxx11::basic_string", align 8
  %74 = alloca %"class.std::allocator", align 1
  %75 = alloca %"class.std::vector", align 8
  %76 = alloca double, align 8
  %77 = alloca i8, align 1
  %78 = alloca %"class.std::vector", align 8
  %79 = alloca %"class.std::vector", align 8
  %80 = alloca i32, align 4
  %81 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::allocator", align 1
  %84 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %85 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %86 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %87 = alloca %class.anon, align 8
  %88 = alloca %"class.__gnu_cxx::__normal_iterator", 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", align 1
  %92 = alloca double, align 8
  %93 = alloca i32, align 4
  %94 = alloca i32, align 4
  %95 = alloca i32, align 4
  %96 = alloca i32, align 4
  %97 = alloca i32, align 4
  %98 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %99 = alloca %"class.std::__cxx11::basic_string", align 8
  %100 = alloca %"class.std::allocator", align 1
  %101 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %102 = alloca %"class.std::__cxx11::basic_string", align 8
  %103 = alloca %"class.std::allocator", align 1
  %104 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %105 = alloca %"class.std::__cxx11::basic_string", align 8
  %106 = alloca %"class.std::allocator", align 1
  %107 = alloca i32, align 4
  %108 = alloca i32, align 4
  %109 = alloca i32, align 4
  %110 = alloca i32, align 4
  %111 = alloca double, align 8
  %112 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %113 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %114 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %115 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %116 = alloca double, align 8
  %117 = alloca double, align 8
  %118 = alloca i32, align 4
  %119 = alloca double, align 8
  %120 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %121 = alloca %"class.std::__cxx11::basic_string", align 8
  %122 = alloca %"class.std::allocator", align 1
  %123 = alloca i32, align 4
  %124 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %125 = alloca %"class.std::__cxx11::basic_string", align 8
  %126 = alloca %"class.std::allocator", 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 8, ptr %6) #9
  store double 1.600000e+01, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #9
  store double 6.000000e+01, ptr %7, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #9
  store double 2.400000e+02, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #9
  store double 9.000000e-01, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  store i32 0, ptr %10, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #9
  store double 0.000000e+00, ptr %11, align 8, !tbaa !11
  br label %127

127:                                              ; preds = %399, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %128 = load i32, ptr %4, align 4, !tbaa !5
  %129 = load ptr, ptr %5, align 8, !tbaa !9
  %130 = call i32 @ya_getopt_long(i32 noundef %128, ptr noundef %129, ptr noundef @.str, ptr noundef null, ptr noundef null)
  store i32 %130, ptr %12, align 4, !tbaa !5
  %131 = load i32, ptr %12, align 4, !tbaa !5
  %132 = icmp eq i32 -1, %131
  br i1 %132, label %133, label %134

133:                                              ; preds = %127
  store i32 2, ptr %13, align 4
  br label %397

134:                                              ; preds = %127
  %135 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %135, label %395 [
    i32 115, label %136
    i32 76, label %191
    i32 72, label %232
    i32 116, label %271
    i32 111, label %306
    i32 117, label %359
    i32 104, label %394
  ]

136:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  store double 6.000000e+00, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  store double 9.800000e+01, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #9
  %137 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef %137, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %138 unwind label %164

138:                                              ; preds = %136
  %139 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef %6)
          to label %140 unwind label %168

140:                                              ; preds = %138
  br i1 %139, label %141, label %147

141:                                              ; preds = %140
  %142 = load double, ptr %6, align 8, !tbaa !11
  %143 = fcmp ole double %142, 6.000000e+00
  br i1 %143, label %147, label %144

144:                                              ; preds = %141
  %145 = load double, ptr %6, align 8, !tbaa !11
  %146 = fcmp olt double 9.800000e+01, %145
  br label %147

147:                                              ; preds = %144, %141, %140
  %148 = phi i1 [ true, %141 ], [ true, %140 ], [ %146, %144 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  br i1 %148, label %149, label %187

149:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 376, ptr %20) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20)
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef @.str.1)
          to label %151 unwind label %173

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef @.str.2)
          to label %153 unwind label %173

153:                                              ; preds = %151
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %152, double noundef 6.000000e+00)
          to label %155 unwind label %173

155:                                              ; preds = %153
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @.str.3)
          to label %157 unwind label %173

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %156, double noundef 9.800000e+01)
          to label %159 unwind label %173

159:                                              ; preds = %157
  %160 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef @.str.4)
          to label %161 unwind label %173

161:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %162 unwind label %177

162:                                              ; preds = %161
  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 %163 unwind label %181

163:                                              ; preds = %162
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %20) #9
  br label %188

164:                                              ; preds = %136
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %18, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %19, align 4
  br label %172

168:                                              ; preds = %138
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %18, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  br label %172

172:                                              ; preds = %168, %164
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #9
  br label %190

173:                                              ; preds = %159, %157, %155, %153, %151, %149
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %18, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %19, align 4
  br label %186

177:                                              ; preds = %161
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %18, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %19, align 4
  br label %185

181:                                              ; preds = %162
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %18, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %185

185:                                              ; preds = %181, %177
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  br label %186

186:                                              ; preds = %185, %173
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %20) #9
  br label %190

187:                                              ; preds = %147
  store i32 4, ptr %13, align 4
  br label %188

188:                                              ; preds = %187, %163
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  %189 = load i32, ptr %13, align 4
  switch i32 %189, label %397 [
    i32 4, label %396
  ]

190:                                              ; preds = %186, %172
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  br label %400

191:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 32, ptr %23) #9
  %192 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %192, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %193 unwind label %208

193:                                              ; preds = %191
  %194 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %7)
          to label %195 unwind label %212

195:                                              ; preds = %193
  br i1 %194, label %196, label %199

196:                                              ; preds = %195
  %197 = load double, ptr %7, align 8, !tbaa !11
  %198 = fcmp ole double %197, 1.000000e+01
  br label %199

199:                                              ; preds = %196, %195
  %200 = phi i1 [ true, %195 ], [ %198, %196 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br i1 %200, label %201, label %231

201:                                              ; preds = %199
  call void @llvm.lifetime.start.p0(i64 376, ptr %25) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25)
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef @.str.6)
          to label %203 unwind label %217

203:                                              ; preds = %201
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef @.str.7)
          to label %205 unwind label %217

205:                                              ; preds = %203
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %206 unwind label %221

206:                                              ; preds = %205
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(112) %25)
          to label %207 unwind label %225

207:                                              ; preds = %206
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %25) #9
  br label %397

208:                                              ; preds = %191
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %18, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %19, align 4
  br label %216

212:                                              ; preds = %193
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %18, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %216

216:                                              ; preds = %212, %208
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %23) #9
  br label %400

217:                                              ; preds = %203, %201
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %18, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %19, align 4
  br label %230

221:                                              ; preds = %205
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %18, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %19, align 4
  br label %229

225:                                              ; preds = %206
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %18, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  br label %229

229:                                              ; preds = %225, %221
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #9
  br label %230

230:                                              ; preds = %229, %217
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %25) #9
  br label %400

231:                                              ; preds = %199
  br label %396

232:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  %233 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %233, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %234 unwind label %247

234:                                              ; preds = %232
  %235 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %8)
          to label %236 unwind label %251

236:                                              ; preds = %234
  br i1 %235, label %237, label %240

237:                                              ; preds = %236
  %238 = load double, ptr %8, align 8, !tbaa !11
  %239 = fcmp ole double %238, 0.000000e+00
  br label %240

240:                                              ; preds = %237, %236
  %241 = phi i1 [ true, %236 ], [ %239, %237 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br i1 %241, label %242, label %270

242:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 376, ptr %30) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30)
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef @.str.8)
          to label %244 unwind label %256

244:                                              ; preds = %242
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %245 unwind label %260

245:                                              ; preds = %244
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(112) %30)
          to label %246 unwind label %264

246:                                              ; preds = %245
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %30) #9
  br label %397

247:                                              ; preds = %232
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %18, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %19, align 4
  br label %255

251:                                              ; preds = %234
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %18, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %255

255:                                              ; preds = %251, %247
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  br label %400

256:                                              ; preds = %242
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %18, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %19, align 4
  br label %269

260:                                              ; preds = %244
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %18, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %19, align 4
  br label %268

264:                                              ; preds = %245
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %18, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #9
  br label %268

268:                                              ; preds = %264, %260
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #9
  br label %269

269:                                              ; preds = %268, %256
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %30) #9
  br label %400

270:                                              ; preds = %240
  br label %396

271:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #9
  %272 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %272, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %273 unwind label %282

273:                                              ; preds = %271
  %274 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef %9)
          to label %275 unwind label %286

275:                                              ; preds = %273
  %276 = xor i1 %274, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  br i1 %276, label %277, label %305

277:                                              ; preds = %275
  call void @llvm.lifetime.start.p0(i64 376, ptr %35) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35)
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef @.str.9)
          to label %279 unwind label %291

279:                                              ; preds = %277
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %280 unwind label %295

280:                                              ; preds = %279
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(112) %35)
          to label %281 unwind label %299

281:                                              ; preds = %280
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %35) #9
  br label %397

282:                                              ; preds = %271
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %18, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %19, align 4
  br label %290

286:                                              ; preds = %273
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %18, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #9
  br label %290

290:                                              ; preds = %286, %282
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #9
  br label %400

291:                                              ; preds = %277
  %292 = landingpad { ptr, i32 }
          cleanup
  %293 = extractvalue { ptr, i32 } %292, 0
  store ptr %293, ptr %18, align 8
  %294 = extractvalue { ptr, i32 } %292, 1
  store i32 %294, ptr %19, align 4
  br label %304

295:                                              ; preds = %279
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %18, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %19, align 4
  br label %303

299:                                              ; preds = %280
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %18, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #9
  br label %303

303:                                              ; preds = %299, %295
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #9
  br label %304

304:                                              ; preds = %303, %291
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %35) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %35) #9
  br label %400

305:                                              ; preds = %275
  br label %396

306:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  store i32 0, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  store i32 5, ptr %39, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #9
  %307 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef %307, ptr noundef nonnull align 1 dereferenceable(1) %42)
          to label %308 unwind label %331

308:                                              ; preds = %306
  %309 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef %40)
          to label %310 unwind label %335

310:                                              ; preds = %308
  br i1 %309, label %311, label %316

311:                                              ; preds = %310
  %312 = load i32, ptr %40, align 4, !tbaa !5
  %313 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %312, i32 noundef 0, i32 noundef 5)
          to label %314 unwind label %335

314:                                              ; preds = %311
  %315 = xor i1 %313, true
  br label %316

316:                                              ; preds = %314, %310
  %317 = phi i1 [ true, %310 ], [ %315, %314 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br i1 %317, label %318, label %354

318:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 376, ptr %43) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %43)
  %319 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef @.str.10)
          to label %320 unwind label %340

320:                                              ; preds = %318
  %321 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %319, ptr noundef @.str.11)
          to label %322 unwind label %340

322:                                              ; preds = %320
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %321, i32 noundef 0)
          to label %324 unwind label %340

324:                                              ; preds = %322
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %323, ptr noundef @.str.12)
          to label %326 unwind label %340

326:                                              ; preds = %324
  %327 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %325, i32 noundef 5)
          to label %328 unwind label %340

328:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %329 unwind label %344

329:                                              ; preds = %328
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(112) %43)
          to label %330 unwind label %348

330:                                              ; preds = %329
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %43) #9
  br label %356

331:                                              ; preds = %306
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %18, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %19, align 4
  br label %339

335:                                              ; preds = %311, %308
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %18, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #9
  br label %339

339:                                              ; preds = %335, %331
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #9
  br label %358

340:                                              ; preds = %326, %324, %322, %320, %318
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %18, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %19, align 4
  br label %353

344:                                              ; preds = %328
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %18, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %19, align 4
  br label %352

348:                                              ; preds = %329
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %18, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  br label %352

352:                                              ; preds = %348, %344
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #9
  br label %353

353:                                              ; preds = %352, %340
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %43) #9
  br label %358

354:                                              ; preds = %316
  %355 = load i32, ptr %40, align 4, !tbaa !5
  store i32 %355, ptr %10, align 4, !tbaa !13
  store i32 4, ptr %13, align 4
  br label %356

356:                                              ; preds = %354, %330
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  %357 = load i32, ptr %13, align 4
  switch i32 %357, label %397 [
    i32 4, label %396
  ]

358:                                              ; preds = %353, %339
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  br label %400

359:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #9
  %360 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef %360, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %361 unwind label %370

361:                                              ; preds = %359
  %362 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef %11)
          to label %363 unwind label %374

363:                                              ; preds = %361
  %364 = xor i1 %362, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br i1 %364, label %365, label %393

365:                                              ; preds = %363
  call void @llvm.lifetime.start.p0(i64 376, ptr %48) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48)
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.13)
          to label %367 unwind label %379

367:                                              ; preds = %365
  call void @llvm.lifetime.start.p0(i64 32, ptr %49) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %368 unwind label %383

368:                                              ; preds = %367
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(112) %48)
          to label %369 unwind label %387

369:                                              ; preds = %368
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %48) #9
  br label %397

370:                                              ; preds = %359
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %18, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %19, align 4
  br label %378

374:                                              ; preds = %361
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %18, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  br label %378

378:                                              ; preds = %374, %370
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #9
  br label %400

379:                                              ; preds = %365
  %380 = landingpad { ptr, i32 }
          cleanup
  %381 = extractvalue { ptr, i32 } %380, 0
  store ptr %381, ptr %18, align 8
  %382 = extractvalue { ptr, i32 } %380, 1
  store i32 %382, ptr %19, align 4
  br label %392

383:                                              ; preds = %367
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %18, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %19, align 4
  br label %391

387:                                              ; preds = %368
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %18, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %391

391:                                              ; preds = %387, %383
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #9
  br label %392

392:                                              ; preds = %391, %379
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %48) #9
  br label %400

393:                                              ; preds = %363
  br label %396

394:                                              ; preds = %134
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cout)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %397

395:                                              ; preds = %134
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cerr)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %397

396:                                              ; preds = %393, %356, %305, %270, %231, %188
  store i32 0, ptr %13, align 4
  br label %397

397:                                              ; preds = %396, %395, %394, %369, %356, %281, %246, %207, %188, %133
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  %398 = load i32, ptr %13, align 4
  switch i32 %398, label %1092 [
    i32 0, label %399
    i32 2, label %401
  ]

399:                                              ; preds = %397
  br label %127, !llvm.loop !14

400:                                              ; preds = %392, %378, %358, %304, %290, %269, %255, %230, %216, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %1094

401:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #9
  %402 = load double, ptr %6, align 8, !tbaa !11
  %403 = fmul double 1.000000e+03, %402
  store double %403, ptr %51, align 8, !tbaa !11
  %404 = load double, ptr %51, align 8, !tbaa !11
  %405 = fmul double 5.000000e-01, %404
  %406 = load double, ptr %8, align 8, !tbaa !11
  %407 = fcmp ole double %405, %406
  br i1 %407, label %408, label %427

408:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 376, ptr %52) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52)
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef @.str.14)
          to label %410 unwind label %413

410:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %411 unwind label %417

411:                                              ; preds = %410
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(112) %52)
          to label %412 unwind label %421

412:                                              ; preds = %411
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %52) #9
  br label %1090

413:                                              ; preds = %408
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %18, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %19, align 4
  br label %426

417:                                              ; preds = %410
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %18, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %19, align 4
  br label %425

421:                                              ; preds = %411
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %18, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %425

425:                                              ; preds = %421, %417
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #9
  br label %426

426:                                              ; preds = %425, %413
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %52) #9
  br label %1091

427:                                              ; preds = %401
  %428 = load double, ptr %8, align 8, !tbaa !11
  %429 = load double, ptr %7, align 8, !tbaa !11
  %430 = fcmp ole double %428, %429
  br i1 %430, label %431, label %450

431:                                              ; preds = %427
  call void @llvm.lifetime.start.p0(i64 376, ptr %55) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %55)
  %432 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef @.str.15)
          to label %433 unwind label %436

433:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 32, ptr %56) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %434 unwind label %440

434:                                              ; preds = %433
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(112) %55)
          to label %435 unwind label %444

435:                                              ; preds = %434
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %55) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %55) #9
  br label %1090

436:                                              ; preds = %431
  %437 = landingpad { ptr, i32 }
          cleanup
  %438 = extractvalue { ptr, i32 } %437, 0
  store ptr %438, ptr %18, align 8
  %439 = extractvalue { ptr, i32 } %437, 1
  store i32 %439, ptr %19, align 4
  br label %449

440:                                              ; preds = %433
  %441 = landingpad { ptr, i32 }
          cleanup
  %442 = extractvalue { ptr, i32 } %441, 0
  store ptr %442, ptr %18, align 8
  %443 = extractvalue { ptr, i32 } %441, 1
  store i32 %443, ptr %19, align 4
  br label %448

444:                                              ; preds = %434
  %445 = landingpad { ptr, i32 }
          cleanup
  %446 = extractvalue { ptr, i32 } %445, 0
  store ptr %446, ptr %18, align 8
  %447 = extractvalue { ptr, i32 } %445, 1
  store i32 %447, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  br label %448

448:                                              ; preds = %444, %440
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #9
  br label %449

449:                                              ; preds = %448, %436
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %55) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %55) #9
  br label %1091

450:                                              ; preds = %427
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #9
  %451 = load i32, ptr %4, align 4, !tbaa !5
  %452 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %453 = sub nsw i32 %451, %452
  store i32 %453, ptr %58, align 4, !tbaa !5
  %454 = load i32, ptr %58, align 4, !tbaa !5
  %455 = icmp slt i32 1, %454
  br i1 %455, label %456, label %475

456:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 376, ptr %59) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59)
  %457 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef @.str.16)
          to label %458 unwind label %461

458:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %459 unwind label %465

459:                                              ; preds = %458
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(112) %59)
          to label %460 unwind label %469

460:                                              ; preds = %459
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %59) #9
  br label %1088

461:                                              ; preds = %456
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %18, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %19, align 4
  br label %474

465:                                              ; preds = %458
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %18, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %19, align 4
  br label %473

469:                                              ; preds = %459
  %470 = landingpad { ptr, i32 }
          cleanup
  %471 = extractvalue { ptr, i32 } %470, 0
  store ptr %471, ptr %18, align 8
  %472 = extractvalue { ptr, i32 } %470, 1
  store i32 %472, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #9
  br label %473

473:                                              ; preds = %469, %465
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #9
  br label %474

474:                                              ; preds = %473, %461
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %59) #9
  br label %1089

475:                                              ; preds = %450
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #9
  %476 = load i32, ptr %58, align 4, !tbaa !5
  %477 = icmp eq i32 0, %476
  br i1 %477, label %478, label %479

478:                                              ; preds = %475
  br label %485

479:                                              ; preds = %475
  %480 = load ptr, ptr %5, align 8, !tbaa !9
  %481 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %482 = sext i32 %481 to i64
  %483 = getelementptr inbounds ptr, ptr %480, i64 %482
  %484 = load ptr, ptr %483, align 8, !tbaa !9
  br label %485

485:                                              ; preds = %479, %478
  %486 = phi ptr [ null, %478 ], [ %484, %479 ]
  store ptr %486, ptr %62, align 8, !tbaa !9
  %487 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %487, label %507, label %488

488:                                              ; preds = %485
  call void @llvm.lifetime.start.p0(i64 376, ptr %63) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63)
  %489 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef @.str.17)
          to label %490 unwind label %493

490:                                              ; preds = %488
  call void @llvm.lifetime.start.p0(i64 32, ptr %64) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %491 unwind label %497

491:                                              ; preds = %490
  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 %492 unwind label %501

492:                                              ; preds = %491
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %63) #9
  br label %1086

493:                                              ; preds = %488
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %18, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %19, align 4
  br label %506

497:                                              ; preds = %490
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %18, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %19, align 4
  br label %505

501:                                              ; preds = %491
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %18, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #9
  br label %505

505:                                              ; preds = %501, %497
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %64) #9
  br label %506

506:                                              ; preds = %505, %493
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %63) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %63) #9
  br label %1087

507:                                              ; preds = %485
  call void @llvm.lifetime.start.p0(i64 520, ptr %66) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66)
  %508 = load ptr, ptr %62, align 8, !tbaa !9
  %509 = icmp ne ptr null, %508
  br i1 %509, label %510, label %554

510:                                              ; preds = %507
  %511 = load ptr, ptr %62, align 8, !tbaa !9
  %512 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %513 unwind label %530

513:                                              ; preds = %510
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %66, ptr noundef %511, i32 noundef %512)
          to label %514 unwind label %530

514:                                              ; preds = %513
  %515 = load ptr, ptr %66, align 8, !tbaa !16
  %516 = getelementptr i8, ptr %515, i64 -24
  %517 = load i64, ptr %516, align 8
  %518 = getelementptr inbounds i8, ptr %66, i64 %517
  %519 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %518)
          to label %520 unwind label %530

520:                                              ; preds = %514
  br i1 %519, label %521, label %553

521:                                              ; preds = %520
  call void @llvm.lifetime.start.p0(i64 376, ptr %67) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67)
          to label %522 unwind label %534

522:                                              ; preds = %521
  %523 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef @.str.18)
          to label %524 unwind label %538

524:                                              ; preds = %522
  %525 = load ptr, ptr %62, align 8, !tbaa !9
  %526 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %523, ptr noundef %525)
          to label %527 unwind label %538

527:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %69) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %528 unwind label %542

528:                                              ; preds = %527
  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 %529 unwind label %546

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

530:                                              ; preds = %514, %513, %510
  %531 = landingpad { ptr, i32 }
          cleanup
  %532 = extractvalue { ptr, i32 } %531, 0
  store ptr %532, ptr %18, align 8
  %533 = extractvalue { ptr, i32 } %531, 1
  store i32 %533, ptr %19, align 4
  br label %1085

534:                                              ; preds = %521
  %535 = landingpad { ptr, i32 }
          cleanup
  %536 = extractvalue { ptr, i32 } %535, 0
  store ptr %536, ptr %18, align 8
  %537 = extractvalue { ptr, i32 } %535, 1
  store i32 %537, ptr %19, align 4
  br label %552

538:                                              ; preds = %524, %522
  %539 = landingpad { ptr, i32 }
          cleanup
  %540 = extractvalue { ptr, i32 } %539, 0
  store ptr %540, ptr %18, align 8
  %541 = extractvalue { ptr, i32 } %539, 1
  store i32 %541, ptr %19, align 4
  br label %551

542:                                              ; preds = %527
  %543 = landingpad { ptr, i32 }
          cleanup
  %544 = extractvalue { ptr, i32 } %543, 0
  store ptr %544, ptr %18, align 8
  %545 = extractvalue { ptr, i32 } %543, 1
  store i32 %545, ptr %19, align 4
  br label %550

546:                                              ; preds = %528
  %547 = landingpad { ptr, i32 }
          cleanup
  %548 = extractvalue { ptr, i32 } %547, 0
  store ptr %548, ptr %18, align 8
  %549 = extractvalue { ptr, i32 } %547, 1
  store i32 %549, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %550

550:                                              ; preds = %546, %542
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #9
  br label %551

551:                                              ; preds = %550, %538
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #9
  br label %552

552:                                              ; preds = %551, %534
  call void @llvm.lifetime.end.p0(i64 376, ptr %67) #9
  br label %1085

553:                                              ; preds = %520
  br label %554

554:                                              ; preds = %553, %507
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #9
  %555 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %66)
          to label %556 unwind label %574

556:                                              ; preds = %554
  br i1 %555, label %557, label %558

557:                                              ; preds = %556
  br label %559

558:                                              ; preds = %556
  br label %559

559:                                              ; preds = %558, %557
  %560 = phi ptr [ %66, %557 ], [ @_ZSt3cin, %558 ]
  store ptr %560, ptr %70, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #9
  %561 = load double, ptr %51, align 8, !tbaa !11
  %562 = load double, ptr %7, align 8, !tbaa !11
  %563 = load double, ptr %8, align 8, !tbaa !11
  %564 = load double, ptr %9, align 8, !tbaa !11
  invoke void @_ZN4sptk15PitchExtractionC1EiddddNS0_10AlgorithmsE(ptr noundef nonnull align 8 dereferenceable(16) %71, i32 noundef 1, double noundef %561, double noundef %562, double noundef %563, double noundef %564, i32 noundef 2)
          to label %565 unwind label %578

565:                                              ; preds = %559
  %566 = invoke noundef zeroext i1 @_ZNK4sptk15PitchExtraction7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16) %71)
          to label %567 unwind label %582

567:                                              ; preds = %565
  br i1 %566, label %605, label %568

568:                                              ; preds = %567
  call void @llvm.lifetime.start.p0(i64 376, ptr %72) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %72)
          to label %569 unwind label %586

569:                                              ; preds = %568
  %570 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.19)
          to label %571 unwind label %590

571:                                              ; preds = %569
  call void @llvm.lifetime.start.p0(i64 32, ptr %73) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %572 unwind label %594

572:                                              ; preds = %571
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(112) %72)
          to label %573 unwind label %598

573:                                              ; preds = %572
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %72) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %72) #9
  br label %1080

574:                                              ; preds = %554
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %18, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %19, align 4
  br label %1083

578:                                              ; preds = %559
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %18, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %19, align 4
  br label %1082

582:                                              ; preds = %565
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %18, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %19, align 4
  br label %1081

586:                                              ; preds = %568
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %18, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %19, align 4
  br label %604

590:                                              ; preds = %569
  %591 = landingpad { ptr, i32 }
          cleanup
  %592 = extractvalue { ptr, i32 } %591, 0
  store ptr %592, ptr %18, align 8
  %593 = extractvalue { ptr, i32 } %591, 1
  store i32 %593, ptr %19, align 4
  br label %603

594:                                              ; preds = %571
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %18, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %19, align 4
  br label %602

598:                                              ; preds = %572
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %18, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #9
  br label %602

602:                                              ; preds = %598, %594
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %73) #9
  br label %603

603:                                              ; preds = %602, %590
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %72) #9
  br label %604

604:                                              ; preds = %603, %586
  call void @llvm.lifetime.end.p0(i64 376, ptr %72) #9
  br label %1081

605:                                              ; preds = %567
  call void @llvm.lifetime.start.p0(i64 24, ptr %75) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #9
  br label %606

606:                                              ; preds = %611, %605
  %607 = load ptr, ptr %70, align 8, !tbaa !9
  %608 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef %76, ptr noundef %607)
          to label %609 unwind label %612

609:                                              ; preds = %606
  br i1 %608, label %610, label %616

610:                                              ; preds = %609
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(8) %76)
          to label %611 unwind label %612

611:                                              ; preds = %610
  br label %606, !llvm.loop !18

612:                                              ; preds = %610, %606
  %613 = landingpad { ptr, i32 }
          cleanup
  %614 = extractvalue { ptr, i32 } %613, 0
  store ptr %614, ptr %18, align 8
  %615 = extractvalue { ptr, i32 } %613, 1
  store i32 %615, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  br label %1079

616:                                              ; preds = %609
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  %617 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  br i1 %617, label %618, label %619

618:                                              ; preds = %616
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %1078

619:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #9
  %620 = load i32, ptr %10, align 4, !tbaa !13
  %621 = icmp ne i32 0, %620
  br i1 %621, label %622, label %628

622:                                              ; preds = %619
  %623 = load i32, ptr %10, align 4, !tbaa !13
  %624 = icmp ne i32 1, %623
  br i1 %624, label %625, label %628

625:                                              ; preds = %622
  %626 = load i32, ptr %10, align 4, !tbaa !13
  %627 = icmp ne i32 2, %626
  br label %628

628:                                              ; preds = %625, %622, %619
  %629 = phi i1 [ false, %622 ], [ false, %619 ], [ %627, %625 ]
  %630 = zext i1 %629 to i8
  store i8 %630, ptr %77, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 24, ptr %78) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %79) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #9
  %631 = load i8, ptr %77, align 1, !tbaa !19, !range !21, !noundef !22
  %632 = trunc i8 %631 to i1
  br i1 %632, label %633, label %634

633:                                              ; preds = %628
  br label %635

634:                                              ; preds = %628
  br label %635

635:                                              ; preds = %634, %633
  %636 = phi ptr [ %78, %633 ], [ null, %634 ]
  %637 = invoke noundef zeroext i1 @_ZNK4sptk15PitchExtraction3RunERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef %636, ptr noundef %79, ptr noundef %80)
          to label %638 unwind label %645

638:                                              ; preds = %635
  br i1 %637, label %668, label %639

639:                                              ; preds = %638
  call void @llvm.lifetime.start.p0(i64 376, ptr %81) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %81)
          to label %640 unwind label %649

640:                                              ; preds = %639
  %641 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef @.str.20)
          to label %642 unwind label %653

642:                                              ; preds = %640
  call void @llvm.lifetime.start.p0(i64 32, ptr %82) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %83) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %83)
          to label %643 unwind label %657

643:                                              ; preds = %642
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(112) %81)
          to label %644 unwind label %661

644:                                              ; preds = %643
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %82) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %81) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %81) #9
  br label %1076

645:                                              ; preds = %671, %635
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %18, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %19, align 4
  br label %1077

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

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

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

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

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

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

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

668:                                              ; preds = %638
  %669 = load i32, ptr %10, align 4, !tbaa !13
  %670 = icmp ne i32 1, %669
  br i1 %670, label %671, label %691

671:                                              ; preds = %668
  %672 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  %673 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %84, i32 0, i32 0
  store ptr %672, ptr %673, align 8
  %674 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  %675 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %85, i32 0, i32 0
  store ptr %674, ptr %675, align 8
  %676 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  %677 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %86, i32 0, i32 0
  store ptr %676, ptr %677, align 8
  %678 = getelementptr inbounds %class.anon, ptr %87, i32 0, i32 0
  %679 = load double, ptr %51, align 8, !tbaa !11
  store double %679, ptr %678, align 8, !tbaa !23
  %680 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %84, i32 0, i32 0
  %681 = load ptr, ptr %680, align 8
  %682 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %85, i32 0, i32 0
  %683 = load ptr, ptr %682, align 8
  %684 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %86, i32 0, i32 0
  %685 = load ptr, ptr %684, align 8
  %686 = getelementptr inbounds %class.anon, ptr %87, i32 0, i32 0
  %687 = load double, ptr %686, align 8
  %688 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr %681, ptr %683, ptr %685, double %687)
          to label %689 unwind label %645

689:                                              ; preds = %671
  %690 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %88, i32 0, i32 0
  store ptr %688, ptr %690, align 8
  br label %691

691:                                              ; preds = %689, %668
  %692 = load i32, ptr %80, align 4, !tbaa !25
  %693 = icmp eq i32 0, %692
  br i1 %693, label %694, label %719

694:                                              ; preds = %691
  call void @llvm.lifetime.start.p0(i64 376, ptr %89) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89)
          to label %695 unwind label %700

695:                                              ; preds = %694
  %696 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @.str.21)
          to label %697 unwind label %704

697:                                              ; preds = %695
  call void @llvm.lifetime.start.p0(i64 32, ptr %90) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %91) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %90, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %91)
          to label %698 unwind label %708

698:                                              ; preds = %697
  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 %699 unwind label %712

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

700:                                              ; preds = %694
  %701 = landingpad { ptr, i32 }
          cleanup
  %702 = extractvalue { ptr, i32 } %701, 0
  store ptr %702, ptr %18, align 8
  %703 = extractvalue { ptr, i32 } %701, 1
  store i32 %703, ptr %19, align 4
  br label %718

704:                                              ; preds = %695
  %705 = landingpad { ptr, i32 }
          cleanup
  %706 = extractvalue { ptr, i32 } %705, 0
  store ptr %706, ptr %18, align 8
  %707 = extractvalue { ptr, i32 } %705, 1
  store i32 %707, ptr %19, align 4
  br label %717

708:                                              ; preds = %697
  %709 = landingpad { ptr, i32 }
          cleanup
  %710 = extractvalue { ptr, i32 } %709, 0
  store ptr %710, ptr %18, align 8
  %711 = extractvalue { ptr, i32 } %709, 1
  store i32 %711, ptr %19, align 4
  br label %716

712:                                              ; preds = %698
  %713 = landingpad { ptr, i32 }
          cleanup
  %714 = extractvalue { ptr, i32 } %713, 0
  store ptr %714, ptr %18, align 8
  %715 = extractvalue { ptr, i32 } %713, 1
  store i32 %715, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %90) #9
  br label %716

716:                                              ; preds = %712, %708
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %91) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %91) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %90) #9
  br label %717

717:                                              ; preds = %716, %704
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %89) #9
  br label %718

718:                                              ; preds = %717, %700
  call void @llvm.lifetime.end.p0(i64 376, ptr %89) #9
  br label %1077

719:                                              ; preds = %691
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #9
  %720 = load i32, ptr %80, align 4, !tbaa !25
  %721 = icmp eq i32 1, %720
  %722 = zext i1 %721 to i64
  %723 = select i1 %721, double 1.000000e+00, double -1.000000e+00
  store double %723, ptr %92, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %93) #9
  %724 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  %725 = trunc i64 %724 to i32
  store i32 %725, ptr %93, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #9
  %726 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  %727 = trunc i64 %726 to i32
  store i32 %727, ptr %94, align 4, !tbaa !5
  %728 = load i32, ptr %10, align 4, !tbaa !13
  switch i32 %728, label %1072 [
    i32 0, label %729
    i32 1, label %833
    i32 2, label %833
    i32 3, label %870
    i32 4, label %870
    i32 5, label %870
  ]

729:                                              ; preds = %719
  call void @llvm.lifetime.start.p0(i64 4, ptr %95) #9
  %730 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  br i1 %730, label %731, label %732

731:                                              ; preds = %729
  br label %737

732:                                              ; preds = %729
  %733 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef 0) #9
  %734 = load double, ptr %733, align 8, !tbaa !11
  %735 = call double @llvm.round.f64(double %734)
  %736 = fptosi double %735 to i32
  br label %737

737:                                              ; preds = %732, %731
  %738 = phi i32 [ -1, %731 ], [ %736, %732 ]
  store i32 %738, ptr %95, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %96) #9
  store i32 0, ptr %96, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %97) #9
  store i32 1, ptr %97, align 4, !tbaa !5
  br label %739

739:                                              ; preds = %824, %737
  %740 = load i32, ptr %96, align 4, !tbaa !5
  %741 = load i32, ptr %93, align 4, !tbaa !5
  %742 = icmp slt i32 %740, %741
  br i1 %742, label %744, label %743

743:                                              ; preds = %739
  store i32 8, ptr %13, align 4
  br label %827

744:                                              ; preds = %739
  %745 = load i32, ptr %96, align 4, !tbaa !5
  %746 = load i32, ptr %95, align 4, !tbaa !5
  %747 = icmp eq i32 %745, %746
  br i1 %747, label %748, label %794

748:                                              ; preds = %744
  %749 = load double, ptr %92, align 8, !tbaa !11
  %750 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %749, ptr noundef @_ZSt4cout)
          to label %751 unwind label %758

751:                                              ; preds = %748
  br i1 %750, label %781, label %752

752:                                              ; preds = %751
  call void @llvm.lifetime.start.p0(i64 376, ptr %98) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98)
          to label %753 unwind label %762

753:                                              ; preds = %752
  %754 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef @.str.22)
          to label %755 unwind label %766

755:                                              ; preds = %753
  call void @llvm.lifetime.start.p0(i64 32, ptr %99) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %100) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %100)
          to label %756 unwind label %770

756:                                              ; preds = %755
  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 %757 unwind label %774

757:                                              ; preds = %756
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %100) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %98) #9
  br label %827

758:                                              ; preds = %794, %748
  %759 = landingpad { ptr, i32 }
          cleanup
  %760 = extractvalue { ptr, i32 } %759, 0
  store ptr %760, ptr %18, align 8
  %761 = extractvalue { ptr, i32 } %759, 1
  store i32 %761, ptr %19, align 4
  br label %829

762:                                              ; preds = %752
  %763 = landingpad { ptr, i32 }
          cleanup
  %764 = extractvalue { ptr, i32 } %763, 0
  store ptr %764, ptr %18, align 8
  %765 = extractvalue { ptr, i32 } %763, 1
  store i32 %765, ptr %19, align 4
  br label %780

766:                                              ; preds = %753
  %767 = landingpad { ptr, i32 }
          cleanup
  %768 = extractvalue { ptr, i32 } %767, 0
  store ptr %768, ptr %18, align 8
  %769 = extractvalue { ptr, i32 } %767, 1
  store i32 %769, ptr %19, align 4
  br label %779

770:                                              ; preds = %755
  %771 = landingpad { ptr, i32 }
          cleanup
  %772 = extractvalue { ptr, i32 } %771, 0
  store ptr %772, ptr %18, align 8
  %773 = extractvalue { ptr, i32 } %771, 1
  store i32 %773, ptr %19, align 4
  br label %778

774:                                              ; preds = %756
  %775 = landingpad { ptr, i32 }
          cleanup
  %776 = extractvalue { ptr, i32 } %775, 0
  store ptr %776, ptr %18, align 8
  %777 = extractvalue { ptr, i32 } %775, 1
  store i32 %777, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #9
  br label %778

778:                                              ; preds = %774, %770
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %100) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #9
  br label %779

779:                                              ; preds = %778, %766
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #9
  br label %780

780:                                              ; preds = %779, %762
  call void @llvm.lifetime.end.p0(i64 376, ptr %98) #9
  br label %829

781:                                              ; preds = %751
  %782 = load i32, ptr %97, align 4, !tbaa !5
  %783 = load i32, ptr %94, align 4, !tbaa !5
  %784 = icmp slt i32 %782, %783
  br i1 %784, label %785, label %793

785:                                              ; preds = %781
  %786 = load i32, ptr %97, align 4, !tbaa !5
  %787 = add nsw i32 %786, 1
  store i32 %787, ptr %97, align 4, !tbaa !5
  %788 = sext i32 %786 to i64
  %789 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %788) #9
  %790 = load double, ptr %789, align 8, !tbaa !11
  %791 = call double @llvm.round.f64(double %790)
  %792 = fptosi double %791 to i32
  store i32 %792, ptr %95, align 4, !tbaa !5
  br label %793

793:                                              ; preds = %785, %781
  br label %823

794:                                              ; preds = %744
  %795 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef 0.000000e+00, ptr noundef @_ZSt4cout)
          to label %796 unwind label %758

796:                                              ; preds = %794
  br i1 %795, label %822, label %797

797:                                              ; preds = %796
  call void @llvm.lifetime.start.p0(i64 376, ptr %101) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %101)
          to label %798 unwind label %803

798:                                              ; preds = %797
  %799 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @.str.22)
          to label %800 unwind label %807

800:                                              ; preds = %798
  call void @llvm.lifetime.start.p0(i64 32, ptr %102) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %103) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %102, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %103)
          to label %801 unwind label %811

801:                                              ; preds = %800
  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 %802 unwind label %815

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

803:                                              ; preds = %797
  %804 = landingpad { ptr, i32 }
          cleanup
  %805 = extractvalue { ptr, i32 } %804, 0
  store ptr %805, ptr %18, align 8
  %806 = extractvalue { ptr, i32 } %804, 1
  store i32 %806, ptr %19, align 4
  br label %821

807:                                              ; preds = %798
  %808 = landingpad { ptr, i32 }
          cleanup
  %809 = extractvalue { ptr, i32 } %808, 0
  store ptr %809, ptr %18, align 8
  %810 = extractvalue { ptr, i32 } %808, 1
  store i32 %810, ptr %19, align 4
  br label %820

811:                                              ; preds = %800
  %812 = landingpad { ptr, i32 }
          cleanup
  %813 = extractvalue { ptr, i32 } %812, 0
  store ptr %813, ptr %18, align 8
  %814 = extractvalue { ptr, i32 } %812, 1
  store i32 %814, ptr %19, align 4
  br label %819

815:                                              ; preds = %801
  %816 = landingpad { ptr, i32 }
          cleanup
  %817 = extractvalue { ptr, i32 } %816, 0
  store ptr %817, ptr %18, align 8
  %818 = extractvalue { ptr, i32 } %816, 1
  store i32 %818, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %102) #9
  br label %819

819:                                              ; preds = %815, %811
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %103) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %103) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %102) #9
  br label %820

820:                                              ; preds = %819, %807
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %101) #9
  br label %821

821:                                              ; preds = %820, %803
  call void @llvm.lifetime.end.p0(i64 376, ptr %101) #9
  br label %829

822:                                              ; preds = %796
  br label %823

823:                                              ; preds = %822, %793
  br label %824

824:                                              ; preds = %823
  %825 = load i32, ptr %96, align 4, !tbaa !5
  %826 = add nsw i32 %825, 1
  store i32 %826, ptr %96, align 4, !tbaa !5
  br label %739, !llvm.loop !27

827:                                              ; preds = %802, %757, %743
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #9
  %828 = load i32, ptr %13, align 4
  switch i32 %828, label %831 [
    i32 8, label %830
  ]

829:                                              ; preds = %821, %780, %758
  call void @llvm.lifetime.end.p0(i64 4, ptr %97) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %96) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #9
  br label %1075

830:                                              ; preds = %827
  store i32 7, ptr %13, align 4
  br label %831

831:                                              ; preds = %830, %827
  call void @llvm.lifetime.end.p0(i64 4, ptr %95) #9
  %832 = load i32, ptr %13, align 4
  switch i32 %832, label %1074 [
    i32 7, label %1073
  ]

833:                                              ; preds = %719, %719
  %834 = load i32, ptr %94, align 4, !tbaa !5
  %835 = icmp slt i32 0, %834
  br i1 %835, label %836, label %869

836:                                              ; preds = %833
  %837 = load i32, ptr %94, align 4, !tbaa !5
  %838 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %837, ptr noundef nonnull align 8 dereferenceable(24) %79, ptr noundef @_ZSt4cout, ptr noundef null)
          to label %839 unwind label %846

839:                                              ; preds = %836
  br i1 %838, label %869, label %840

840:                                              ; preds = %839
  call void @llvm.lifetime.start.p0(i64 376, ptr %104) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %104)
          to label %841 unwind label %850

841:                                              ; preds = %840
  %842 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef @.str.22)
          to label %843 unwind label %854

843:                                              ; preds = %841
  call void @llvm.lifetime.start.p0(i64 32, ptr %105) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %106) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %106)
          to label %844 unwind label %858

844:                                              ; preds = %843
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %105, ptr noundef nonnull align 8 dereferenceable(112) %104)
          to label %845 unwind label %862

845:                                              ; preds = %844
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %106) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %104) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %104) #9
  br label %1074

846:                                              ; preds = %836
  %847 = landingpad { ptr, i32 }
          cleanup
  %848 = extractvalue { ptr, i32 } %847, 0
  store ptr %848, ptr %18, align 8
  %849 = extractvalue { ptr, i32 } %847, 1
  store i32 %849, ptr %19, align 4
  br label %1075

850:                                              ; preds = %840
  %851 = landingpad { ptr, i32 }
          cleanup
  %852 = extractvalue { ptr, i32 } %851, 0
  store ptr %852, ptr %18, align 8
  %853 = extractvalue { ptr, i32 } %851, 1
  store i32 %853, ptr %19, align 4
  br label %868

854:                                              ; preds = %841
  %855 = landingpad { ptr, i32 }
          cleanup
  %856 = extractvalue { ptr, i32 } %855, 0
  store ptr %856, ptr %18, align 8
  %857 = extractvalue { ptr, i32 } %855, 1
  store i32 %857, ptr %19, align 4
  br label %867

858:                                              ; preds = %843
  %859 = landingpad { ptr, i32 }
          cleanup
  %860 = extractvalue { ptr, i32 } %859, 0
  store ptr %860, ptr %18, align 8
  %861 = extractvalue { ptr, i32 } %859, 1
  store i32 %861, ptr %19, align 4
  br label %866

862:                                              ; preds = %844
  %863 = landingpad { ptr, i32 }
          cleanup
  %864 = extractvalue { ptr, i32 } %863, 0
  store ptr %864, ptr %18, align 8
  %865 = extractvalue { ptr, i32 } %863, 1
  store i32 %865, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %105) #9
  br label %866

866:                                              ; preds = %862, %858
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %106) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %106) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %105) #9
  br label %867

867:                                              ; preds = %866, %854
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %104) #9
  br label %868

868:                                              ; preds = %867, %850
  call void @llvm.lifetime.end.p0(i64 376, ptr %104) #9
  br label %1075

869:                                              ; preds = %839, %833
  br label %1073

870:                                              ; preds = %719, %719, %719
  call void @llvm.lifetime.start.p0(i64 4, ptr %107) #9
  store i32 0, ptr %107, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %108) #9
  store i32 0, ptr %108, align 4, !tbaa !5
  br label %871

871:                                              ; preds = %1065, %870
  %872 = load i32, ptr %107, align 4, !tbaa !5
  %873 = load i32, ptr %94, align 4, !tbaa !5
  %874 = icmp sle i32 %872, %873
  br i1 %874, label %876, label %875

875:                                              ; preds = %871
  store i32 11, ptr %13, align 4
  br label %1069

876:                                              ; preds = %871
  call void @llvm.lifetime.start.p0(i64 4, ptr %109) #9
  %877 = load i32, ptr %107, align 4, !tbaa !5
  %878 = load i32, ptr %94, align 4, !tbaa !5
  %879 = icmp slt i32 %877, %878
  br i1 %879, label %880, label %887

880:                                              ; preds = %876
  %881 = load i32, ptr %107, align 4, !tbaa !5
  %882 = sext i32 %881 to i64
  %883 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %882) #9
  %884 = load double, ptr %883, align 8, !tbaa !11
  %885 = call double @llvm.round.f64(double %884)
  %886 = fptosi double %885 to i32
  br label %889

887:                                              ; preds = %876
  %888 = load i32, ptr %93, align 4, !tbaa !5
  br label %889

889:                                              ; preds = %887, %880
  %890 = phi i32 [ %886, %880 ], [ %888, %887 ]
  store i32 %890, ptr %109, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %110) #9
  %891 = load i32, ptr %108, align 4, !tbaa !5
  store i32 %891, ptr %110, align 4, !tbaa !5
  br label %892

892:                                              ; preds = %904, %889
  %893 = load i32, ptr %110, align 4, !tbaa !5
  %894 = load i32, ptr %109, align 4, !tbaa !5
  %895 = icmp slt i32 %893, %894
  br i1 %895, label %896, label %907

896:                                              ; preds = %892
  %897 = load i32, ptr %110, align 4, !tbaa !5
  %898 = sext i32 %897 to i64
  %899 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %898) #9
  %900 = load double, ptr %899, align 8, !tbaa !11
  %901 = fcmp oeq double 0.000000e+00, %900
  br i1 %901, label %902, label %903

902:                                              ; preds = %896
  br label %907

903:                                              ; preds = %896
  br label %904

904:                                              ; preds = %903
  %905 = load i32, ptr %110, align 4, !tbaa !5
  %906 = add nsw i32 %905, 1
  store i32 %906, ptr %110, align 4, !tbaa !5
  br label %892, !llvm.loop !28

907:                                              ; preds = %902, %892
  %908 = load i32, ptr %108, align 4, !tbaa !5
  %909 = load i32, ptr %110, align 4, !tbaa !5
  %910 = icmp slt i32 %908, %909
  br i1 %910, label %911, label %1013

911:                                              ; preds = %907
  call void @llvm.lifetime.start.p0(i64 8, ptr %111) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %113) #9
  %912 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %913 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %113, i32 0, i32 0
  store ptr %912, ptr %913, align 8
  %914 = load i32, ptr %108, align 4, !tbaa !5
  %915 = sext i32 %914 to i64
  %916 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %113, i64 noundef %915) #9
  %917 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %112, i32 0, i32 0
  store ptr %916, ptr %917, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %115) #9
  %918 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  %919 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %115, i32 0, i32 0
  store ptr %918, ptr %919, align 8
  %920 = load i32, ptr %110, align 4, !tbaa !5
  %921 = sext i32 %920 to i64
  %922 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %115, i64 noundef %921) #9
  %923 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %114, i32 0, i32 0
  store ptr %922, ptr %923, align 8
  %924 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %112, i32 0, i32 0
  %925 = load ptr, ptr %924, align 8
  %926 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %114, i32 0, i32 0
  %927 = load ptr, ptr %926, align 8
  %928 = invoke noundef double @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdET0_T_S8_S7_(ptr %925, ptr %927, double noundef 0.000000e+00)
          to label %929 unwind label %938

929:                                              ; preds = %911
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #9
  store double %928, ptr %111, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %116) #9
  %930 = load double, ptr %111, align 8, !tbaa !11
  %931 = fdiv double 0x401921FB54442D18, %930
  store double %931, ptr %116, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %117) #9
  store double 0.000000e+00, ptr %117, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %118) #9
  %932 = load i32, ptr %108, align 4, !tbaa !5
  store i32 %932, ptr %118, align 4, !tbaa !5
  br label %933

933:                                              ; preds = %1002, %929
  %934 = load i32, ptr %118, align 4, !tbaa !5
  %935 = load i32, ptr %110, align 4, !tbaa !5
  %936 = icmp slt i32 %934, %935
  br i1 %936, label %942, label %937

937:                                              ; preds = %933
  store i32 17, ptr %13, align 4
  br label %1006

938:                                              ; preds = %911
  %939 = landingpad { ptr, i32 }
          cleanup
  %940 = extractvalue { ptr, i32 } %939, 0
  store ptr %940, ptr %18, align 8
  %941 = extractvalue { ptr, i32 } %939, 1
  store i32 %941, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %115) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %113) #9
  br label %1012

942:                                              ; preds = %933
  call void @llvm.lifetime.start.p0(i64 8, ptr %119) #9
  %943 = load i32, ptr %10, align 4, !tbaa !13
  switch i32 %943, label %955 [
    i32 3, label %944
    i32 4, label %947
    i32 5, label %950
  ]

944:                                              ; preds = %942
  %945 = load double, ptr %117, align 8, !tbaa !11
  %946 = call double @sin(double noundef %945) #9
  store double %946, ptr %119, align 8, !tbaa !11
  br label %956

947:                                              ; preds = %942
  %948 = load double, ptr %117, align 8, !tbaa !11
  %949 = call double @cos(double noundef %948) #9
  store double %949, ptr %119, align 8, !tbaa !11
  br label %956

950:                                              ; preds = %942
  %951 = load double, ptr %117, align 8, !tbaa !11
  %952 = call double @fmod(double noundef %951, double noundef 0x401921FB54442D18) #9
  %953 = fdiv double %952, 0x400921FB54442D18
  %954 = fsub double %953, 1.000000e+00
  store double %954, ptr %119, align 8, !tbaa !11
  br label %956

955:                                              ; preds = %942
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %999

956:                                              ; preds = %950, %947, %944
  %957 = load double, ptr %92, align 8, !tbaa !11
  %958 = load double, ptr %119, align 8, !tbaa !11
  %959 = fmul double %957, %958
  %960 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %959, ptr noundef @_ZSt4cout)
          to label %961 unwind label %968

961:                                              ; preds = %956
  br i1 %960, label %991, label %962

962:                                              ; preds = %961
  call void @llvm.lifetime.start.p0(i64 376, ptr %120) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %120)
          to label %963 unwind label %972

963:                                              ; preds = %962
  %964 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef @.str.23)
          to label %965 unwind label %976

965:                                              ; preds = %963
  call void @llvm.lifetime.start.p0(i64 32, ptr %121) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %122) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %122) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %121, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %122)
          to label %966 unwind label %980

966:                                              ; preds = %965
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %121, ptr noundef nonnull align 8 dereferenceable(112) %120)
          to label %967 unwind label %984

967:                                              ; preds = %966
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %121) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %122) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %122) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %121) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %120) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %120) #9
  br label %999

968:                                              ; preds = %956
  %969 = landingpad { ptr, i32 }
          cleanup
  %970 = extractvalue { ptr, i32 } %969, 0
  store ptr %970, ptr %18, align 8
  %971 = extractvalue { ptr, i32 } %969, 1
  store i32 %971, ptr %19, align 4
  br label %1005

972:                                              ; preds = %962
  %973 = landingpad { ptr, i32 }
          cleanup
  %974 = extractvalue { ptr, i32 } %973, 0
  store ptr %974, ptr %18, align 8
  %975 = extractvalue { ptr, i32 } %973, 1
  store i32 %975, ptr %19, align 4
  br label %990

976:                                              ; preds = %963
  %977 = landingpad { ptr, i32 }
          cleanup
  %978 = extractvalue { ptr, i32 } %977, 0
  store ptr %978, ptr %18, align 8
  %979 = extractvalue { ptr, i32 } %977, 1
  store i32 %979, ptr %19, align 4
  br label %989

980:                                              ; preds = %965
  %981 = landingpad { ptr, i32 }
          cleanup
  %982 = extractvalue { ptr, i32 } %981, 0
  store ptr %982, ptr %18, align 8
  %983 = extractvalue { ptr, i32 } %981, 1
  store i32 %983, ptr %19, align 4
  br label %988

984:                                              ; preds = %966
  %985 = landingpad { ptr, i32 }
          cleanup
  %986 = extractvalue { ptr, i32 } %985, 0
  store ptr %986, ptr %18, align 8
  %987 = extractvalue { ptr, i32 } %985, 1
  store i32 %987, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %121) #9
  br label %988

988:                                              ; preds = %984, %980
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %122) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %122) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %121) #9
  br label %989

989:                                              ; preds = %988, %976
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %120) #9
  br label %990

990:                                              ; preds = %989, %972
  call void @llvm.lifetime.end.p0(i64 376, ptr %120) #9
  br label %1005

991:                                              ; preds = %961
  %992 = load double, ptr %116, align 8, !tbaa !11
  %993 = load i32, ptr %118, align 4, !tbaa !5
  %994 = sext i32 %993 to i64
  %995 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %78, i64 noundef %994) #9
  %996 = load double, ptr %995, align 8, !tbaa !11
  %997 = load double, ptr %117, align 8, !tbaa !11
  %998 = call double @llvm.fmuladd.f64(double %992, double %996, double %997)
  store double %998, ptr %117, align 8, !tbaa !11
  store i32 0, ptr %13, align 4
  br label %999

999:                                              ; preds = %991, %967, %955
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #9
  %1000 = load i32, ptr %13, align 4
  switch i32 %1000, label %1006 [
    i32 0, label %1001
  ]

1001:                                             ; preds = %999
  br label %1002

1002:                                             ; preds = %1001
  %1003 = load i32, ptr %118, align 4, !tbaa !5
  %1004 = add nsw i32 %1003, 1
  store i32 %1004, ptr %118, align 4, !tbaa !5
  br label %933, !llvm.loop !29

1005:                                             ; preds = %990, %968
  call void @llvm.lifetime.end.p0(i64 8, ptr %119) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %118) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %117) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #9
  br label %1012

1006:                                             ; preds = %999, %937
  call void @llvm.lifetime.end.p0(i64 4, ptr %118) #9
  %1007 = load i32, ptr %13, align 4
  switch i32 %1007, label %1009 [
    i32 17, label %1008
  ]

1008:                                             ; preds = %1006
  store i32 0, ptr %13, align 4
  br label %1009

1009:                                             ; preds = %1008, %1006
  call void @llvm.lifetime.end.p0(i64 8, ptr %117) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %116) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %111) #9
  %1010 = load i32, ptr %13, align 4
  switch i32 %1010, label %1062 [
    i32 0, label %1011
  ]

1011:                                             ; preds = %1009
  br label %1013

1012:                                             ; preds = %1005, %938
  call void @llvm.lifetime.end.p0(i64 8, ptr %111) #9
  br label %1068

1013:                                             ; preds = %1011, %907
  call void @llvm.lifetime.start.p0(i64 4, ptr %123) #9
  %1014 = load i32, ptr %110, align 4, !tbaa !5
  store i32 %1014, ptr %123, align 4, !tbaa !5
  br label %1015

1015:                                             ; preds = %1054, %1013
  %1016 = load i32, ptr %123, align 4, !tbaa !5
  %1017 = load i32, ptr %109, align 4, !tbaa !5
  %1018 = icmp slt i32 %1016, %1017
  br i1 %1018, label %1020, label %1019

1019:                                             ; preds = %1015
  store i32 21, ptr %13, align 4
  br label %1057

1020:                                             ; preds = %1015
  %1021 = load double, ptr %11, align 8, !tbaa !11
  %1022 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %1021, ptr noundef @_ZSt4cout)
          to label %1023 unwind label %1030

1023:                                             ; preds = %1020
  br i1 %1022, label %1053, label %1024

1024:                                             ; preds = %1023
  call void @llvm.lifetime.start.p0(i64 376, ptr %124) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %124)
          to label %1025 unwind label %1034

1025:                                             ; preds = %1024
  %1026 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef @.str.23)
          to label %1027 unwind label %1038

1027:                                             ; preds = %1025
  call void @llvm.lifetime.start.p0(i64 32, ptr %125) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %126) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %126) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %125, ptr noundef @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %126)
          to label %1028 unwind label %1042

1028:                                             ; preds = %1027
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %125, ptr noundef nonnull align 8 dereferenceable(112) %124)
          to label %1029 unwind label %1046

1029:                                             ; preds = %1028
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %125) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %126) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %126) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %125) #9
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %124) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr %124) #9
  br label %1057

1030:                                             ; preds = %1020
  %1031 = landingpad { ptr, i32 }
          cleanup
  %1032 = extractvalue { ptr, i32 } %1031, 0
  store ptr %1032, ptr %18, align 8
  %1033 = extractvalue { ptr, i32 } %1031, 1
  store i32 %1033, ptr %19, align 4
  br label %1059

1034:                                             ; preds = %1024
  %1035 = landingpad { ptr, i32 }
          cleanup
  %1036 = extractvalue { ptr, i32 } %1035, 0
  store ptr %1036, ptr %18, align 8
  %1037 = extractvalue { ptr, i32 } %1035, 1
  store i32 %1037, ptr %19, align 4
  br label %1052

1038:                                             ; preds = %1025
  %1039 = landingpad { ptr, i32 }
          cleanup
  %1040 = extractvalue { ptr, i32 } %1039, 0
  store ptr %1040, ptr %18, align 8
  %1041 = extractvalue { ptr, i32 } %1039, 1
  store i32 %1041, ptr %19, align 4
  br label %1051

1042:                                             ; preds = %1027
  %1043 = landingpad { ptr, i32 }
          cleanup
  %1044 = extractvalue { ptr, i32 } %1043, 0
  store ptr %1044, ptr %18, align 8
  %1045 = extractvalue { ptr, i32 } %1043, 1
  store i32 %1045, ptr %19, align 4
  br label %1050

1046:                                             ; preds = %1028
  %1047 = landingpad { ptr, i32 }
          cleanup
  %1048 = extractvalue { ptr, i32 } %1047, 0
  store ptr %1048, ptr %18, align 8
  %1049 = extractvalue { ptr, i32 } %1047, 1
  store i32 %1049, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %125) #9
  br label %1050

1050:                                             ; preds = %1046, %1042
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %126) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %126) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %125) #9
  br label %1051

1051:                                             ; preds = %1050, %1038
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %124) #9
  br label %1052

1052:                                             ; preds = %1051, %1034
  call void @llvm.lifetime.end.p0(i64 376, ptr %124) #9
  br label %1059

1053:                                             ; preds = %1023
  br label %1054

1054:                                             ; preds = %1053
  %1055 = load i32, ptr %123, align 4, !tbaa !5
  %1056 = add nsw i32 %1055, 1
  store i32 %1056, ptr %123, align 4, !tbaa !5
  br label %1015, !llvm.loop !30

1057:                                             ; preds = %1029, %1019
  call void @llvm.lifetime.end.p0(i64 4, ptr %123) #9
  %1058 = load i32, ptr %13, align 4
  switch i32 %1058, label %1062 [
    i32 21, label %1060
  ]

1059:                                             ; preds = %1052, %1030
  call void @llvm.lifetime.end.p0(i64 4, ptr %123) #9
  br label %1068

1060:                                             ; preds = %1057
  %1061 = load i32, ptr %109, align 4, !tbaa !5
  store i32 %1061, ptr %108, align 4, !tbaa !5
  store i32 0, ptr %13, align 4
  br label %1062

1062:                                             ; preds = %1060, %1057, %1009
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #9
  %1063 = load i32, ptr %13, align 4
  switch i32 %1063, label %1069 [
    i32 0, label %1064
  ]

1064:                                             ; preds = %1062
  br label %1065

1065:                                             ; preds = %1064
  %1066 = load i32, ptr %107, align 4, !tbaa !5
  %1067 = add nsw i32 %1066, 1
  store i32 %1067, ptr %107, align 4, !tbaa !5
  br label %871, !llvm.loop !31

1068:                                             ; preds = %1059, %1012
  call void @llvm.lifetime.end.p0(i64 4, ptr %110) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %109) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %108) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %107) #9
  br label %1075

1069:                                             ; preds = %1062, %875
  call void @llvm.lifetime.end.p0(i64 4, ptr %108) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %107) #9
  %1070 = load i32, ptr %13, align 4
  switch i32 %1070, label %1074 [
    i32 11, label %1071
  ]

1071:                                             ; preds = %1069
  br label %1073

1072:                                             ; preds = %719
  store i32 1, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %1074

1073:                                             ; preds = %1071, %869, %831
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %1074

1074:                                             ; preds = %1073, %1072, %1069, %845, %831
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #9
  br label %1076

1075:                                             ; preds = %1068, %868, %846, %829
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #9
  br label %1077

1076:                                             ; preds = %1074, %699, %644
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #9
  br label %1078

1077:                                             ; preds = %1075, %718, %667, %645
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %79) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %79) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #9
  br label %1079

1078:                                             ; preds = %1076, %618
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #9
  br label %1080

1079:                                             ; preds = %1077, %612
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #9
  br label %1081

1080:                                             ; preds = %1078, %573
  call void @_ZN4sptk15PitchExtractionD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #9
  br label %1084

1081:                                             ; preds = %1079, %604, %582
  call void @_ZN4sptk15PitchExtractionD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #9
  br label %1082

1082:                                             ; preds = %1081, %578
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #9
  br label %1083

1083:                                             ; preds = %1082, %574
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #9
  br label %1085

1084:                                             ; preds = %1080, %529
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %66) #9
  br label %1086

1085:                                             ; preds = %1083, %552, %530
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr %66) #9
  br label %1087

1086:                                             ; preds = %1084, %492
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  br label %1088

1087:                                             ; preds = %1085, %506
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  br label %1089

1088:                                             ; preds = %1086, %460
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  br label %1090

1089:                                             ; preds = %1087, %474
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  br label %1091

1090:                                             ; preds = %1088, %435, %412
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  br label %1092

1091:                                             ; preds = %1089, %449, %426
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #9
  br label %1094

1092:                                             ; preds = %1090, %397
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  %1093 = load i32, ptr %3, align 4
  ret i32 %1093

1094:                                             ; preds = %1091, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %1095

1095:                                             ; preds = %1094
  %1096 = load ptr, ptr %18, align 8
  %1097 = load i32, ptr %19, align 4
  %1098 = insertvalue { ptr, i32 } poison, ptr %1096, 0
  %1099 = insertvalue { ptr, i32 } %1098, i32 %1097, 1
  resume { ptr, i32 } %1099
}

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

declare i32 @ya_getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() #2

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

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

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

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

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

declare void @_ZN4sptk15PitchExtractionC1EiddddNS0_10AlgorithmsE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef) unnamed_addr #2

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

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk15PitchExtraction3RunERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr, ptr, ptr, double) #4

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef, ptr noundef) #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdET0_T_S8_S7_(ptr, ptr, double noundef) #6

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

; Function Attrs: nounwind
declare double @sin(double noundef) #8

; Function Attrs: nounwind
declare double @cos(double noundef) #8

; Function Attrs: nounwind
declare double @fmod(double noundef, double noundef) #8

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

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

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

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

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

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

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


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = 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::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.0 }
%union.anon.0 = type { i32 }
%"class.sptk::PitchExtraction" = type { ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.__gnu_cxx::__normal_iterator" = type { ptr }

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@ya_optarg = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [48 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.14 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [56 x i8], align 1
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.16 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.19 = external hidden unnamed_addr constant [37 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [34 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 double, align 8
  %4 = alloca double, align 8
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::allocator", 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", align 1
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::allocator", 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", align 1
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca %"class.std::allocator", 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", align 1
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca i32, align 4
  %29 = alloca %"class.std::__cxx11::basic_string", align 8
  %30 = alloca %"class.std::allocator", 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", align 1
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", 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", 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", 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", align 1
  %45 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator", align 1
  %48 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca %"class.std::basic_ifstream", align 8
  %52 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %53 = alloca %"class.std::__cxx11::basic_string", align 8
  %54 = alloca %"class.std::allocator", align 1
  %55 = alloca %"class.sptk::PitchExtraction", align 8
  %56 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator", align 1
  %59 = alloca %"class.std::vector", align 8
  %60 = alloca double, align 8
  %61 = alloca %"class.std::vector", align 8
  %62 = alloca %"class.std::vector", align 8
  %63 = alloca i32, align 4
  %64 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %65 = alloca %"class.std::__cxx11::basic_string", align 8
  %66 = alloca %"class.std::allocator", align 1
  %67 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::allocator", align 1
  %70 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator", align 1
  %73 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %74 = alloca %"class.std::__cxx11::basic_string", align 8
  %75 = alloca %"class.std::allocator", align 1
  %76 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator", align 1
  %79 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %80 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %81 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %82 = alloca %"class.std::__cxx11::basic_string", align 8
  %83 = alloca %"class.std::allocator", align 1
  %84 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %85 = alloca %"class.std::__cxx11::basic_string", align 8
  %86 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #9
  store double 1.600000e+01, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #9
  store double 6.000000e+01, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #9
  store double 2.400000e+02, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  store double 9.000000e-01, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  store double 0.000000e+00, ptr %7, align 8, !tbaa !5
  br label %.thread.outer

.thread.outer:                                    ; preds = %.thread339, %2
  %.0106.ph = phi i32 [ %232, %.thread339 ], [ 0, %2 ]
  br label %.thread

.thread:                                          ; preds = %.thread.backedge, %.thread.outer
  %87 = call i32 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null)
  switch i32 %87, label %259 [
    i32 -1, label %260
    i32 115, label %88
    i32 76, label %124
    i32 72, label %151
    i32 116, label %176
    i32 111, label %199
    i32 117, label %235
    i32 104, label %258
  ]

88:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #9
  %89 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef %89, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %90 unwind label %110

90:                                               ; preds = %88
  %91 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull %3)
          to label %92 unwind label %112

92:                                               ; preds = %90
  %93 = load double, ptr %3, align 8
  %94 = fcmp ugt double %93, 6.000000e+00
  %or.cond.not = select i1 %91, i1 %94, i1 false
  br i1 %or.cond.not, label %95, label %.critedge

95:                                               ; preds = %92
  %96 = fcmp ogt double %93, 9.800000e+01
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br i1 %96, label %.loopexit379, label %.thread.backedge

.thread.backedge:                                 ; preds = %95, %128, %155, %180, %239
  br label %.thread

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

.loopexit379:                                     ; preds = %95, %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %10) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %10)
  %97 = 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.1)
          to label %98 unwind label %115

98:                                               ; preds = %.loopexit379
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull @.str.2)
          to label %100 unwind label %115

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %99, double noundef 6.000000e+00)
          to label %102 unwind label %115

102:                                              ; preds = %100
  %103 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef nonnull @.str.3)
          to label %104 unwind label %115

104:                                              ; preds = %102
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %103, double noundef 9.800000e+01)
          to label %106 unwind label %115

106:                                              ; preds = %104
  %107 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef nonnull @.str.4)
          to label %108 unwind label %115

108:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %109 unwind label %117

109:                                              ; preds = %108
  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 %123 unwind label %119

110:                                              ; preds = %88
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %114

112:                                              ; preds = %90
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %114

114:                                              ; preds = %112, %110
  %.pn258 = phi { ptr, i32 } [ %113, %112 ], [ %111, %110 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #9
  br label %640

115:                                              ; preds = %106, %104, %102, %100, %98, %.loopexit379
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %122

117:                                              ; preds = %108
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %121

121:                                              ; preds = %119, %117
  %.pn261 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %122

122:                                              ; preds = %121, %115
  %.pn261.pn = phi { ptr, i32 } [ %.pn261, %121 ], [ %116, %115 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %10) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %10) #9
  br label %640

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

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

126:                                              ; preds = %124
  %127 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull %4)
          to label %128 unwind label %140

128:                                              ; preds = %126
  %129 = load double, ptr %4, align 8
  %130 = fcmp ugt double %129, 1.000000e+01
  %.not254 = select i1 %127, i1 %130, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br i1 %.not254, label %.thread.backedge, label %131

131:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %15) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15)
  %132 = 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.6)
          to label %133 unwind label %143

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

135:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %136 unwind label %145

136:                                              ; preds = %135
  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 %137 unwind label %147

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

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

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

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

143:                                              ; preds = %133, %131
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %150

145:                                              ; preds = %135
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %149

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

149:                                              ; preds = %147, %145
  %.pn255 = phi { ptr, i32 } [ %148, %147 ], [ %146, %145 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #9
  br label %150

150:                                              ; preds = %149, %143
  %.pn255.pn = phi { ptr, i32 } [ %.pn255, %149 ], [ %144, %143 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %15) #9
  br label %640

151:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #9
  %152 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %152, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %153 unwind label %163

153:                                              ; preds = %151
  %154 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull %5)
          to label %155 unwind label %165

155:                                              ; preds = %153
  %156 = load double, ptr %5, align 8
  %157 = fcmp ugt double %156, 0.000000e+00
  %.not247 = select i1 %154, i1 %157, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br i1 %.not247, label %.thread.backedge, label %158

158:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %20) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20)
  %159 = 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.8)
          to label %160 unwind label %168

160:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %161 unwind label %170

161:                                              ; preds = %160
  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 %162 unwind label %172

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

163:                                              ; preds = %151
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %167

165:                                              ; preds = %153
  %166 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %167

167:                                              ; preds = %165, %163
  %.pn244 = phi { ptr, i32 } [ %166, %165 ], [ %164, %163 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #9
  br label %640

168:                                              ; preds = %158
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %175

170:                                              ; preds = %160
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

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

174:                                              ; preds = %172, %170
  %.pn248 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #9
  br label %175

175:                                              ; preds = %174, %168
  %.pn248.pn = phi { ptr, i32 } [ %.pn248, %174 ], [ %169, %168 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %20) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %20) #9
  br label %640

176:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #9
  %177 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef %177, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %178 unwind label %186

178:                                              ; preds = %176
  %179 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull %6)
          to label %180 unwind label %188

180:                                              ; preds = %178
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  br i1 %179, label %.thread.backedge, label %181

181:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %25) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25)
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull @.str.9)
          to label %183 unwind label %191

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %26) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %184 unwind label %193

184:                                              ; preds = %183
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(112) %25)
          to label %185 unwind label %195

185:                                              ; preds = %184
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %25) #9
  br label %.thread344

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

188:                                              ; preds = %178
  %189 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #9
  br label %190

190:                                              ; preds = %188, %186
  %.pn239 = phi { ptr, i32 } [ %189, %188 ], [ %187, %186 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #9
  br label %640

191:                                              ; preds = %181
  %192 = landingpad { ptr, i32 }
          cleanup
  br label %198

193:                                              ; preds = %183
  %194 = landingpad { ptr, i32 }
          cleanup
  br label %197

195:                                              ; preds = %184
  %196 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  br label %197

197:                                              ; preds = %195, %193
  %.pn241 = phi { ptr, i32 } [ %196, %195 ], [ %194, %193 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %26) #9
  br label %198

198:                                              ; preds = %197, %191
  %.pn241.pn = phi { ptr, i32 } [ %.pn241, %197 ], [ %192, %191 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %25) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %25) #9
  br label %640

199:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %29) #9
  %200 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef %200, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %201 unwind label %219

201:                                              ; preds = %199
  %202 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull %28)
          to label %203 unwind label %221

203:                                              ; preds = %201
  br i1 %202, label %204, label %.critedge12

204:                                              ; preds = %203
  %205 = load i32, ptr %28, align 4, !tbaa !11
  %206 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %205, i32 noundef 0, i32 noundef 5)
          to label %207 unwind label %221

207:                                              ; preds = %204
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  br i1 %206, label %.thread339, label %.loopexit378

.critedge12:                                      ; preds = %203
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  br label %.loopexit378

.loopexit378:                                     ; preds = %207, %.critedge12
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %31) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31)
  %208 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull @.str.10)
          to label %209 unwind label %224

209:                                              ; preds = %.loopexit378
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %208, ptr noundef nonnull @.str.11)
          to label %211 unwind label %224

211:                                              ; preds = %209
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %210, i32 noundef 0)
          to label %213 unwind label %224

213:                                              ; preds = %211
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @.str.12)
          to label %215 unwind label %224

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %214, i32 noundef 5)
          to label %217 unwind label %224

217:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %32) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %33) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %218 unwind label %226

218:                                              ; preds = %217
  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 %233 unwind label %228

219:                                              ; preds = %199
  %220 = landingpad { ptr, i32 }
          cleanup
  br label %223

221:                                              ; preds = %204, %201
  %222 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %223

223:                                              ; preds = %221, %219
  %.pn233 = phi { ptr, i32 } [ %222, %221 ], [ %220, %219 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %29) #9
  br label %234

224:                                              ; preds = %215, %213, %211, %209, %.loopexit378
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %231

226:                                              ; preds = %217
  %227 = landingpad { ptr, i32 }
          cleanup
  br label %230

228:                                              ; preds = %218
  %229 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %230

230:                                              ; preds = %228, %226
  %.pn235 = phi { ptr, i32 } [ %229, %228 ], [ %227, %226 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  br label %231

231:                                              ; preds = %230, %224
  %.pn235.pn = phi { ptr, i32 } [ %.pn235, %230 ], [ %225, %224 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %31) #9
  br label %234

.thread339:                                       ; preds = %207
  %232 = load i32, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  br label %.thread.outer

233:                                              ; preds = %218
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %33) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %32) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %31) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %31) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  br label %.thread344

234:                                              ; preds = %231, %223
  %.pn235.pn.pn = phi { ptr, i32 } [ %.pn235.pn, %231 ], [ %.pn233, %223 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #9
  br label %640

235:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #9
  %236 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef %236, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %237 unwind label %245

237:                                              ; preds = %235
  %238 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull %7)
          to label %239 unwind label %247

239:                                              ; preds = %237
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #9
  br i1 %238, label %.thread.backedge, label %240

240:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %36) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36)
  %241 = 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.13)
          to label %242 unwind label %250

242:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %243 unwind label %252

243:                                              ; preds = %242
  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 %244 unwind label %254

244:                                              ; preds = %243
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #9
  br label %.thread344

245:                                              ; preds = %235
  %246 = landingpad { ptr, i32 }
          cleanup
  br label %249

247:                                              ; preds = %237
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  br label %249

249:                                              ; preds = %247, %245
  %.pn = phi { ptr, i32 } [ %248, %247 ], [ %246, %245 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #9
  br label %640

250:                                              ; preds = %240
  %251 = landingpad { ptr, i32 }
          cleanup
  br label %257

252:                                              ; preds = %242
  %253 = landingpad { ptr, i32 }
          cleanup
  br label %256

254:                                              ; preds = %243
  %255 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %256

256:                                              ; preds = %254, %252
  %.pn230 = phi { ptr, i32 } [ %255, %254 ], [ %253, %252 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %37) #9
  br label %257

257:                                              ; preds = %256, %250
  %.pn230.pn = phi { ptr, i32 } [ %.pn230, %256 ], [ %251, %250 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #9
  br label %640

258:                                              ; preds = %.thread
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cout)
  br label %.thread344

259:                                              ; preds = %.thread
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cerr)
  br label %.thread344

260:                                              ; preds = %.thread
  %261 = load double, ptr %3, align 8, !tbaa !5
  %262 = fmul double %261, 1.000000e+03
  %263 = fmul double %262, 5.000000e-01
  %264 = load double, ptr %5, align 8, !tbaa !5
  %265 = fcmp ugt double %263, %264
  br i1 %265, label %279, label %266

266:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %39) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39)
  %267 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.14)
          to label %268 unwind label %271

268:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %269 unwind label %273

269:                                              ; preds = %268
  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 %270 unwind label %275

270:                                              ; preds = %269
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %39) #9
  br label %.thread344

271:                                              ; preds = %266
  %272 = landingpad { ptr, i32 }
          cleanup
  br label %278

273:                                              ; preds = %268
  %274 = landingpad { ptr, i32 }
          cleanup
  br label %277

275:                                              ; preds = %269
  %276 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  br label %277

277:                                              ; preds = %275, %273
  %.pn329 = phi { ptr, i32 } [ %276, %275 ], [ %274, %273 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #9
  br label %278

278:                                              ; preds = %277, %271
  %.pn329.pn = phi { ptr, i32 } [ %.pn329, %277 ], [ %272, %271 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %39) #9
  br label %640

279:                                              ; preds = %260
  %280 = load double, ptr %4, align 8, !tbaa !5
  %281 = fcmp ugt double %264, %280
  br i1 %281, label %295, label %282

282:                                              ; preds = %279
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %42) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42)
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @.str.15)
          to label %284 unwind label %287

284:                                              ; preds = %282
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %285 unwind label %289

285:                                              ; preds = %284
  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 %286 unwind label %291

286:                                              ; preds = %285
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %42) #9
  br label %.thread344

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

289:                                              ; preds = %284
  %290 = landingpad { ptr, i32 }
          cleanup
  br label %293

291:                                              ; preds = %285
  %292 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %293

293:                                              ; preds = %291, %289
  %.pn326 = phi { ptr, i32 } [ %292, %291 ], [ %290, %289 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %44) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %43) #9
  br label %294

294:                                              ; preds = %293, %287
  %.pn326.pn = phi { ptr, i32 } [ %.pn326, %293 ], [ %288, %287 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %42) #9
  br label %640

295:                                              ; preds = %279
  %296 = load i32, ptr @ya_optind, align 4, !tbaa !11
  %297 = sub nsw i32 %0, %296
  %298 = icmp sgt i32 %297, 1
  br i1 %298, label %299, label %312

299:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %45) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45)
  %300 = 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.16)
          to label %301 unwind label %304

301:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %46) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %47) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %302 unwind label %306

302:                                              ; preds = %301
  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 %303 unwind label %308

303:                                              ; preds = %302
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %45) #9
  br label %.thread344

304:                                              ; preds = %299
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %311

306:                                              ; preds = %301
  %307 = landingpad { ptr, i32 }
          cleanup
  br label %310

308:                                              ; preds = %302
  %309 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  br label %310

310:                                              ; preds = %308, %306
  %.pn322 = phi { ptr, i32 } [ %309, %308 ], [ %307, %306 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %47) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %46) #9
  br label %311

311:                                              ; preds = %310, %304
  %.pn322.pn = phi { ptr, i32 } [ %.pn322, %310 ], [ %305, %304 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %45) #9
  br label %640

312:                                              ; preds = %295
  %313 = icmp eq i32 %296, %0
  br i1 %313, label %318, label %314

314:                                              ; preds = %312
  %315 = sext i32 %296 to i64
  %316 = getelementptr inbounds ptr, ptr %1, i64 %315
  %317 = load ptr, ptr %316, align 8, !tbaa !9
  br label %318

318:                                              ; preds = %312, %314
  %319 = phi ptr [ %317, %314 ], [ null, %312 ]
  %320 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %320, label %334, label %321

321:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %48) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48)
  %322 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str.17)
          to label %323 unwind label %326

323:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %49) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %324 unwind label %328

324:                                              ; preds = %323
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(112) %48)
          to label %325 unwind label %330

325:                                              ; preds = %324
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %48) #9
  br label %.thread344

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

328:                                              ; preds = %323
  %329 = landingpad { ptr, i32 }
          cleanup
  br label %332

330:                                              ; preds = %324
  %331 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %332

332:                                              ; preds = %330, %328
  %.pn266 = phi { ptr, i32 } [ %331, %330 ], [ %329, %328 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %49) #9
  br label %333

333:                                              ; preds = %332, %326
  %.pn266.pn = phi { ptr, i32 } [ %.pn266, %332 ], [ %327, %326 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %48) #9
  br label %640

334:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %51) #9
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %51)
  %.not = icmp eq ptr %319, null
  br i1 %.not, label %365, label %335

335:                                              ; preds = %334
  %336 = 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) %51, ptr noundef nonnull %319, i32 noundef %336)
          to label %337 unwind label %352

337:                                              ; preds = %335
  %338 = load ptr, ptr %51, align 8, !tbaa !13
  %339 = getelementptr i8, ptr %338, i64 -24
  %340 = load i64, ptr %339, align 8
  %341 = getelementptr inbounds i8, ptr %51, i64 %340
  %342 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %341)
          to label %343 unwind label %352

343:                                              ; preds = %337
  br i1 %342, label %344, label %365

344:                                              ; preds = %343
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %52) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52)
          to label %345 unwind label %354

345:                                              ; preds = %344
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @.str.18)
          to label %347 unwind label %356

347:                                              ; preds = %345
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %346, ptr noundef nonnull %319)
          to label %349 unwind label %356

349:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %53) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %54) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %350 unwind label %358

350:                                              ; preds = %349
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(112) %52)
          to label %351 unwind label %360

351:                                              ; preds = %350
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %52) #9
  br label %638

352:                                              ; preds = %337, %335
  %353 = landingpad { ptr, i32 }
          cleanup
  br label %639

354:                                              ; preds = %344
  %355 = landingpad { ptr, i32 }
          cleanup
  br label %364

356:                                              ; preds = %347, %345
  %357 = landingpad { ptr, i32 }
          cleanup
  br label %363

358:                                              ; preds = %349
  %359 = landingpad { ptr, i32 }
          cleanup
  br label %362

360:                                              ; preds = %350
  %361 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %362

362:                                              ; preds = %360, %358
  %.pn316 = phi { ptr, i32 } [ %361, %360 ], [ %359, %358 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %54) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %53) #9
  br label %363

363:                                              ; preds = %362, %356
  %.pn316.pn = phi { ptr, i32 } [ %.pn316, %362 ], [ %357, %356 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %52) #9
  br label %364

364:                                              ; preds = %363, %354
  %.pn316.pn.pn = phi { ptr, i32 } [ %.pn316.pn, %363 ], [ %355, %354 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %52) #9
  br label %639

365:                                              ; preds = %343, %334
  %366 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %51)
  %367 = select i1 %366, ptr %51, ptr @_ZSt3cin
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %55) #9
  %368 = load double, ptr %4, align 8, !tbaa !5
  %369 = load double, ptr %5, align 8, !tbaa !5
  %370 = load double, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4sptk15PitchExtractionC1EiddddNS0_10AlgorithmsE(ptr noundef nonnull align 8 dereferenceable(16) %55, i32 noundef 1, double noundef %262, double noundef %368, double noundef %369, double noundef %370, i32 noundef 2)
          to label %371 unwind label %380

371:                                              ; preds = %365
  %372 = invoke noundef zeroext i1 @_ZNK4sptk15PitchExtraction7IsValidEv(ptr noundef nonnull align 8 dereferenceable(16) %55)
          to label %373 unwind label %382

373:                                              ; preds = %371
  br i1 %372, label %395, label %374

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

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

377:                                              ; preds = %375
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %57) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %58) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %58)
          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) %57, ptr noundef nonnull align 8 dereferenceable(112) %56)
          to label %379 unwind label %390

379:                                              ; preds = %378
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #9
  br label %635

380:                                              ; preds = %365
  %381 = landingpad { ptr, i32 }
          cleanup
  br label %637

382:                                              ; preds = %371
  %383 = landingpad { ptr, i32 }
          cleanup
  br label %636

384:                                              ; preds = %374
  %385 = landingpad { ptr, i32 }
          cleanup
  br label %394

386:                                              ; preds = %375
  %387 = landingpad { ptr, i32 }
          cleanup
  br label %393

388:                                              ; preds = %377
  %389 = landingpad { ptr, i32 }
          cleanup
  br label %392

390:                                              ; preds = %378
  %391 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #9
  br label %392

392:                                              ; preds = %390, %388
  %.pn269 = phi { ptr, i32 } [ %391, %390 ], [ %389, %388 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %58) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %57) #9
  br label %393

393:                                              ; preds = %392, %386
  %.pn269.pn = phi { ptr, i32 } [ %.pn269, %392 ], [ %387, %386 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #9
  br label %394

394:                                              ; preds = %393, %384
  %.pn269.pn.pn = phi { ptr, i32 } [ %.pn269.pn, %393 ], [ %385, %384 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %56) #9
  br label %636

395:                                              ; preds = %373
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %59) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %60) #9
  br label %396

396:                                              ; preds = %399, %395
  %397 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef nonnull %60, ptr noundef nonnull %367)
          to label %398 unwind label %400

398:                                              ; preds = %396
  br i1 %397, label %399, label %402

399:                                              ; preds = %398
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef nonnull align 8 dereferenceable(8) %60)
          to label %396 unwind label %400, !llvm.loop !15

400:                                              ; preds = %399, %396
  %401 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %60) #9
  br label %634

402:                                              ; preds = %398
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %60) #9
  %403 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  br i1 %403, label %633, label %404

404:                                              ; preds = %402
  %.not273 = icmp eq i32 %.0106.ph, 1
  %spec.select = icmp ugt i32 %.0106.ph, 2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %61) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %62) #9
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %63) #9
  %. = select i1 %spec.select, ptr %61, ptr null
  %405 = invoke noundef zeroext i1 @_ZNK4sptk15PitchExtraction3RunERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr noundef nonnull align 8 dereferenceable(16) %55, ptr noundef nonnull align 8 dereferenceable(24) %59, ptr noundef %., ptr noundef nonnull %62, ptr noundef nonnull %63)
          to label %406 unwind label %413

406:                                              ; preds = %404
  br i1 %405, label %426, label %407

407:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %64) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64)
          to label %408 unwind label %415

408:                                              ; preds = %407
  %409 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @.str.20)
          to label %410 unwind label %417

410:                                              ; preds = %408
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %65) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %66) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %411 unwind label %419

411:                                              ; preds = %410
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef nonnull align 8 dereferenceable(112) %64)
          to label %412 unwind label %421

412:                                              ; preds = %411
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %64) #9
  br label %.thread355

413:                                              ; preds = %427, %404
  %414 = landingpad { ptr, i32 }
          cleanup
  br label %632

415:                                              ; preds = %407
  %416 = landingpad { ptr, i32 }
          cleanup
  br label %425

417:                                              ; preds = %408
  %418 = landingpad { ptr, i32 }
          cleanup
  br label %424

419:                                              ; preds = %410
  %420 = landingpad { ptr, i32 }
          cleanup
  br label %423

421:                                              ; preds = %411
  %422 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #9
  br label %423

423:                                              ; preds = %421, %419
  %.pn274 = phi { ptr, i32 } [ %422, %421 ], [ %420, %419 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %66) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %65) #9
  br label %424

424:                                              ; preds = %423, %417
  %.pn274.pn = phi { ptr, i32 } [ %.pn274, %423 ], [ %418, %417 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64) #9
  br label %425

425:                                              ; preds = %424, %415
  %.pn274.pn.pn = phi { ptr, i32 } [ %.pn274.pn, %424 ], [ %416, %415 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %64) #9
  br label %632

426:                                              ; preds = %406
  br i1 %.not273, label %432, label %427

427:                                              ; preds = %426
  %428 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %429 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %430 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %431 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr %428, ptr %429, ptr %430, double %262)
          to label %432 unwind label %413

432:                                              ; preds = %427, %426
  %433 = load i32, ptr %63, align 4, !tbaa !17
  %434 = icmp eq i32 %433, 0
  br i1 %434, label %435, label %452

435:                                              ; preds = %432
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %67) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67)
          to label %436 unwind label %441

436:                                              ; preds = %435
  %437 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull @.str.21)
          to label %438 unwind label %443

438:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %68) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %69) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %439 unwind label %445

439:                                              ; preds = %438
  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 %440 unwind label %447

440:                                              ; preds = %439
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %67) #9
  br label %.thread355

441:                                              ; preds = %435
  %442 = landingpad { ptr, i32 }
          cleanup
  br label %451

443:                                              ; preds = %436
  %444 = landingpad { ptr, i32 }
          cleanup
  br label %450

445:                                              ; preds = %438
  %446 = landingpad { ptr, i32 }
          cleanup
  br label %449

447:                                              ; preds = %439
  %448 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #9
  br label %449

449:                                              ; preds = %447, %445
  %.pn307 = phi { ptr, i32 } [ %448, %447 ], [ %446, %445 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #9
  br label %450

450:                                              ; preds = %449, %443
  %.pn307.pn = phi { ptr, i32 } [ %.pn307, %449 ], [ %444, %443 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #9
  br label %451

451:                                              ; preds = %450, %441
  %.pn307.pn.pn = phi { ptr, i32 } [ %.pn307.pn, %450 ], [ %442, %441 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %67) #9
  br label %632

452:                                              ; preds = %432
  %453 = icmp eq i32 %433, 1
  %454 = select i1 %453, double 1.000000e+00, double -1.000000e+00
  %455 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  %456 = trunc i64 %455 to i32
  %457 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  %458 = trunc i64 %457 to i32
  switch i32 %.0106.ph, label %.thread355 [
    i32 0, label %459
    i32 1, label %522
    i32 2, label %522
    i32 3, label %546
    i32 4, label %546
    i32 5, label %546
  ]

459:                                              ; preds = %452
  %460 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  br i1 %460, label %466, label %461

461:                                              ; preds = %459
  %462 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef 0) #9
  %463 = load double, ptr %462, align 8, !tbaa !5
  %464 = call double @llvm.round.f64(double %463)
  %465 = fptosi double %464 to i32
  br label %466

466:                                              ; preds = %459, %461
  %467 = phi i32 [ %465, %461 ], [ -1, %459 ]
  %.not306417 = icmp sgt i32 %456, 0
  br i1 %.not306417, label %.lr.ph422, label %.thread355

.lr.ph422:                                        ; preds = %466, %520
  %.0216420 = phi i32 [ %.1217, %520 ], [ 1, %466 ]
  %.0218419 = phi i32 [ %521, %520 ], [ 0, %466 ]
  %.0219418 = phi i32 [ %.1220, %520 ], [ %467, %466 ]
  %468 = icmp eq i32 %.0218419, %.0219418
  br i1 %468, label %469, label %500

469:                                              ; preds = %.lr.ph422
  %470 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %454, ptr noundef nonnull @_ZSt4cout)
          to label %471 unwind label %478

471:                                              ; preds = %469
  br i1 %470, label %491, label %472

472:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %70) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %473 unwind label %480

473:                                              ; preds = %472
  %474 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull @.str.22)
          to label %475 unwind label %482

475:                                              ; preds = %473
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %71) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %72) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %476 unwind label %484

476:                                              ; preds = %475
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %477 unwind label %486

477:                                              ; preds = %476
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %70) #9
  br label %.thread355

478:                                              ; preds = %500, %469
  %479 = landingpad { ptr, i32 }
          cleanup
  br label %632

480:                                              ; preds = %472
  %481 = landingpad { ptr, i32 }
          cleanup
  br label %490

482:                                              ; preds = %473
  %483 = landingpad { ptr, i32 }
          cleanup
  br label %489

484:                                              ; preds = %475
  %485 = landingpad { ptr, i32 }
          cleanup
  br label %488

486:                                              ; preds = %476
  %487 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #9
  br label %488

488:                                              ; preds = %486, %484
  %.pn300 = phi { ptr, i32 } [ %487, %486 ], [ %485, %484 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %72) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %71) #9
  br label %489

489:                                              ; preds = %488, %482
  %.pn300.pn = phi { ptr, i32 } [ %.pn300, %488 ], [ %483, %482 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #9
  br label %490

490:                                              ; preds = %489, %480
  %.pn300.pn.pn = phi { ptr, i32 } [ %.pn300.pn, %489 ], [ %481, %480 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %70) #9
  br label %632

491:                                              ; preds = %471
  %492 = icmp slt i32 %.0216420, %458
  br i1 %492, label %493, label %520

493:                                              ; preds = %491
  %494 = add nsw i32 %.0216420, 1
  %495 = sext i32 %.0216420 to i64
  %496 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %495) #9
  %497 = load double, ptr %496, align 8, !tbaa !5
  %498 = call double @llvm.round.f64(double %497)
  %499 = fptosi double %498 to i32
  br label %520

500:                                              ; preds = %.lr.ph422
  %501 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef 0.000000e+00, ptr noundef nonnull @_ZSt4cout)
          to label %502 unwind label %478

502:                                              ; preds = %500
  br i1 %501, label %520, label %503

503:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %73) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %73)
          to label %504 unwind label %509

504:                                              ; preds = %503
  %505 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull @.str.22)
          to label %506 unwind label %511

506:                                              ; preds = %504
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %75) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %507 unwind label %513

507:                                              ; preds = %506
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull align 8 dereferenceable(112) %73)
          to label %508 unwind label %515

508:                                              ; preds = %507
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %73) #9
  br label %.thread355

509:                                              ; preds = %503
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %519

511:                                              ; preds = %504
  %512 = landingpad { ptr, i32 }
          cleanup
  br label %518

513:                                              ; preds = %506
  %514 = landingpad { ptr, i32 }
          cleanup
  br label %517

515:                                              ; preds = %507
  %516 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #9
  br label %517

517:                                              ; preds = %515, %513
  %.pn296 = phi { ptr, i32 } [ %516, %515 ], [ %514, %513 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #9
  br label %518

518:                                              ; preds = %517, %511
  %.pn296.pn = phi { ptr, i32 } [ %.pn296, %517 ], [ %512, %511 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #9
  br label %519

519:                                              ; preds = %518, %509
  %.pn296.pn.pn = phi { ptr, i32 } [ %.pn296.pn, %518 ], [ %510, %509 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %73) #9
  br label %632

520:                                              ; preds = %493, %491, %502
  %.1220 = phi i32 [ %499, %493 ], [ %.0218419, %491 ], [ %.0219418, %502 ]
  %.1217 = phi i32 [ %494, %493 ], [ %.0216420, %491 ], [ %.0216420, %502 ]
  %521 = add nuw nsw i32 %.0218419, 1
  %exitcond457.not = icmp eq i32 %521, %456
  br i1 %exitcond457.not, label %.thread355, label %.lr.ph422, !llvm.loop !19

522:                                              ; preds = %452, %452
  %523 = icmp sgt i32 %458, 0
  br i1 %523, label %524, label %.thread355

524:                                              ; preds = %522
  %525 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %458, ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull @_ZSt4cout, ptr noundef null)
          to label %526 unwind label %533

526:                                              ; preds = %524
  br i1 %525, label %.thread355, label %527

527:                                              ; preds = %526
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %76) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %76)
          to label %528 unwind label %535

528:                                              ; preds = %527
  %529 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @.str.22)
          to label %530 unwind label %537

530:                                              ; preds = %528
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %77) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %78) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %531 unwind label %539

531:                                              ; preds = %530
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(112) %76)
          to label %532 unwind label %541

532:                                              ; preds = %531
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %76) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %76) #9
  br label %.thread355

533:                                              ; preds = %524
  %534 = landingpad { ptr, i32 }
          cleanup
  br label %632

535:                                              ; preds = %527
  %536 = landingpad { ptr, i32 }
          cleanup
  br label %545

537:                                              ; preds = %528
  %538 = landingpad { ptr, i32 }
          cleanup
  br label %544

539:                                              ; preds = %530
  %540 = landingpad { ptr, i32 }
          cleanup
  br label %543

541:                                              ; preds = %531
  %542 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #9
  br label %543

543:                                              ; preds = %541, %539
  %.pn292 = phi { ptr, i32 } [ %542, %541 ], [ %540, %539 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %78) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %77) #9
  br label %544

544:                                              ; preds = %543, %537
  %.pn292.pn = phi { ptr, i32 } [ %.pn292, %543 ], [ %538, %537 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %76) #9
  br label %545

545:                                              ; preds = %544, %535
  %.pn292.pn.pn = phi { ptr, i32 } [ %.pn292.pn, %544 ], [ %536, %535 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %76) #9
  br label %632

546:                                              ; preds = %452, %452, %452
  %.not278412 = icmp slt i32 %458, 0
  br i1 %.not278412, label %.thread355, label %.lr.ph416.preheader

.lr.ph416.preheader:                              ; preds = %546
  %547 = and i64 %457, 2147483647
  %548 = add nuw nsw i64 %457, 1
  %wide.trip.count = and i64 %548, 4294967295
  %.0106.lcssa380.off = add i32 %.0106.ph, -3
  %switch = icmp ult i32 %.0106.lcssa380.off, 3
  br label %.lr.ph416

.lr.ph416:                                        ; preds = %.lr.ph416.preheader, %._crit_edge411
  %indvars.iv453 = phi i64 [ 0, %.lr.ph416.preheader ], [ %indvars.iv.next454, %._crit_edge411 ]
  %.0213414 = phi i32 [ 0, %.lr.ph416.preheader ], [ %556, %._crit_edge411 ]
  %549 = icmp ult i64 %indvars.iv453, %547
  br i1 %549, label %550, label %555

550:                                              ; preds = %.lr.ph416
  %551 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %indvars.iv453) #9
  %552 = load double, ptr %551, align 8, !tbaa !5
  %553 = call double @llvm.round.f64(double %552)
  %554 = fptosi double %553 to i32
  br label %555

555:                                              ; preds = %.lr.ph416, %550
  %556 = phi i32 [ %554, %550 ], [ %456, %.lr.ph416 ]
  %557 = icmp slt i32 %.0213414, %556
  br i1 %557, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %555
  %558 = sext i32 %.0213414 to i64
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %562
  %indvars.iv = phi i64 [ %558, %.lr.ph.preheader ], [ %indvars.iv.next, %562 ]
  %559 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %indvars.iv) #9
  %560 = load double, ptr %559, align 8, !tbaa !5
  %561 = fcmp oeq double %560, 0.000000e+00
  br i1 %561, label %._crit_edge.loopexit.split.loop.exit, label %562

562:                                              ; preds = %.lr.ph
  %indvars.iv.next = add nsw i64 %indvars.iv, 1
  %lftr.wideiv = trunc i64 %indvars.iv.next to i32
  %exitcond.not = icmp eq i32 %556, %lftr.wideiv
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !20

._crit_edge.loopexit.split.loop.exit:             ; preds = %.lr.ph
  %563 = trunc nsw i64 %indvars.iv to i32
  br label %._crit_edge

._crit_edge:                                      ; preds = %562, %._crit_edge.loopexit.split.loop.exit, %555
  %.0142.lcssa = phi i32 [ %.0213414, %555 ], [ %563, %._crit_edge.loopexit.split.loop.exit ], [ %556, %562 ]
  %564 = icmp slt i32 %.0213414, %.0142.lcssa
  br i1 %564, label %565, label %.loopexit

565:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %79) #9
  %566 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  store ptr %566, ptr %79, align 8
  %567 = sext i32 %.0213414 to i64
  %568 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %79, i64 noundef %567) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %80) #9
  %569 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  store ptr %569, ptr %80, align 8
  %570 = sext i32 %.0142.lcssa to i64
  %571 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %80, i64 noundef %570) #9
  %572 = call noundef double @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdET0_T_S8_S7_(ptr %568, ptr %571, double noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %80) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %79) #9
  %573 = fdiv double 0x401921FB54442D18, %572
  br i1 %switch, label %.split, label %.thread355

.split:                                           ; preds = %565, %605
  %indvars.iv447 = phi i64 [ %indvars.iv.next448, %605 ], [ %567, %565 ]
  %.0103405 = phi double [ %608, %605 ], [ 0.000000e+00, %565 ]
  switch i32 %.0106.ph, label %578 [
    i32 3, label %574
    i32 4, label %576
  ]

574:                                              ; preds = %.split
  %575 = call double @sin(double noundef %.0103405) #9
  br label %582

576:                                              ; preds = %.split
  %577 = call double @cos(double noundef %.0103405) #9
  br label %582

578:                                              ; preds = %.split
  %579 = call double @fmod(double noundef %.0103405, double noundef 0x401921FB54442D18) #9
  %580 = fdiv double %579, 0x400921FB54442D18
  %581 = fadd double %580, -1.000000e+00
  br label %582

582:                                              ; preds = %578, %576, %574
  %.0101 = phi double [ %581, %578 ], [ %577, %576 ], [ %575, %574 ]
  %583 = fmul double %454, %.0101
  %584 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %583, ptr noundef nonnull @_ZSt4cout)
          to label %585 unwind label %592

585:                                              ; preds = %582
  br i1 %584, label %605, label %586

586:                                              ; preds = %585
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %81) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %81)
          to label %587 unwind label %594

587:                                              ; preds = %586
  %588 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.23)
          to label %589 unwind label %596

589:                                              ; preds = %587
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %82) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %83) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %83)
          to label %590 unwind label %598

590:                                              ; preds = %589
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(112) %81)
          to label %591 unwind label %600

591:                                              ; preds = %590
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %81) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %81) #9
  br label %.thread355

592:                                              ; preds = %582
  %593 = landingpad { ptr, i32 }
          cleanup
  br label %632

594:                                              ; preds = %586
  %595 = landingpad { ptr, i32 }
          cleanup
  br label %604

596:                                              ; preds = %587
  %597 = landingpad { ptr, i32 }
          cleanup
  br label %603

598:                                              ; preds = %589
  %599 = landingpad { ptr, i32 }
          cleanup
  br label %602

600:                                              ; preds = %590
  %601 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #9
  br label %602

602:                                              ; preds = %600, %598
  %.pn279 = phi { ptr, i32 } [ %601, %600 ], [ %599, %598 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %83) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %83) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %82) #9
  br label %603

603:                                              ; preds = %602, %596
  %.pn279.pn = phi { ptr, i32 } [ %.pn279, %602 ], [ %597, %596 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %81) #9
  br label %604

604:                                              ; preds = %603, %594
  %.pn279.pn.pn = phi { ptr, i32 } [ %.pn279.pn, %603 ], [ %595, %594 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %81) #9
  br label %632

605:                                              ; preds = %585
  %606 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %61, i64 noundef %indvars.iv447) #9
  %607 = load double, ptr %606, align 8, !tbaa !5
  %608 = call double @llvm.fmuladd.f64(double %573, double %607, double %.0103405)
  %indvars.iv.next448 = add nsw i64 %indvars.iv447, 1
  %lftr.wideiv450 = trunc i64 %indvars.iv.next448 to i32
  %exitcond451.not = icmp eq i32 %.0142.lcssa, %lftr.wideiv450
  br i1 %exitcond451.not, label %.loopexit, label %.split, !llvm.loop !21

.loopexit:                                        ; preds = %605, %._crit_edge
  %.not291407 = icmp slt i32 %.0142.lcssa, %556
  br i1 %.not291407, label %.lr.ph410, label %._crit_edge411

609:                                              ; preds = %613
  %610 = add i32 %.0408, 1
  %exitcond452.not = icmp eq i32 %610, %556
  br i1 %exitcond452.not, label %._crit_edge411, label %.lr.ph410, !llvm.loop !22

.lr.ph410:                                        ; preds = %.loopexit, %609
  %.0408 = phi i32 [ %610, %609 ], [ %.0142.lcssa, %.loopexit ]
  %611 = load double, ptr %7, align 8, !tbaa !5
  %612 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %611, ptr noundef nonnull @_ZSt4cout)
          to label %613 unwind label %619

613:                                              ; preds = %.lr.ph410
  br i1 %612, label %609, label %614

614:                                              ; preds = %613
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %84) #9
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84)
          to label %615 unwind label %621

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.23)
          to label %617 unwind label %623

617:                                              ; preds = %615
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %85) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %86) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %85, ptr noundef nonnull @.str.5, ptr noundef nonnull align 1 dereferenceable(1) %86)
          to label %618 unwind label %625

618:                                              ; preds = %617
  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 %select.unfold unwind label %627

619:                                              ; preds = %.lr.ph410
  %620 = landingpad { ptr, i32 }
          cleanup
  br label %632

621:                                              ; preds = %614
  %622 = landingpad { ptr, i32 }
          cleanup
  br label %631

623:                                              ; preds = %615
  %624 = landingpad { ptr, i32 }
          cleanup
  br label %630

625:                                              ; preds = %617
  %626 = landingpad { ptr, i32 }
          cleanup
  br label %629

627:                                              ; preds = %618
  %628 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  br label %629

629:                                              ; preds = %627, %625
  %.pn285 = phi { ptr, i32 } [ %628, %627 ], [ %626, %625 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  br label %630

630:                                              ; preds = %629, %623
  %.pn285.pn = phi { ptr, i32 } [ %.pn285, %629 ], [ %624, %623 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #9
  br label %631

631:                                              ; preds = %630, %621
  %.pn285.pn.pn = phi { ptr, i32 } [ %.pn285.pn, %630 ], [ %622, %621 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %84) #9
  br label %632

select.unfold:                                    ; preds = %618
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %85) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %86) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %86) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %85) #9
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %84) #9
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %84) #9
  br label %.thread355

._crit_edge411:                                   ; preds = %609, %.loopexit
  %indvars.iv.next454 = add nuw nsw i64 %indvars.iv453, 1
  %exitcond456.not = icmp eq i64 %indvars.iv.next454, %wide.trip.count
  br i1 %exitcond456.not, label %.thread355, label %.lr.ph416, !llvm.loop !23

.thread355:                                       ; preds = %._crit_edge411, %565, %520, %526, %522, %466, %546, %select.unfold, %591, %477, %508, %532, %452, %440, %412
  %.15 = phi i32 [ 1, %440 ], [ 1, %412 ], [ 1, %532 ], [ 1, %452 ], [ 1, %508 ], [ 1, %477 ], [ 1, %591 ], [ 1, %select.unfold ], [ 0, %546 ], [ 0, %466 ], [ 0, %522 ], [ 0, %526 ], [ 0, %520 ], [ 1, %565 ], [ 0, %._crit_edge411 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %61) #9
  br label %633

632:                                              ; preds = %533, %545, %519, %490, %478, %619, %631, %592, %604, %451, %425, %413
  %.pn307.pn.pn.pn = phi { ptr, i32 } [ %.pn307.pn.pn, %451 ], [ %414, %413 ], [ %.pn274.pn.pn, %425 ], [ %.pn292.pn.pn, %545 ], [ %534, %533 ], [ %.pn300.pn.pn, %490 ], [ %479, %478 ], [ %.pn296.pn.pn, %519 ], [ %.pn279.pn.pn, %604 ], [ %593, %592 ], [ %.pn285.pn.pn, %631 ], [ %620, %619 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %63) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %62) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %61) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %61) #9
  br label %634

633:                                              ; preds = %402, %.thread355
  %.16 = phi i32 [ %.15, %.thread355 ], [ 0, %402 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #9
  br label %635

634:                                              ; preds = %632, %400
  %.pn312 = phi { ptr, i32 } [ %401, %400 ], [ %.pn307.pn.pn.pn, %632 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %59) #9
  br label %636

635:                                              ; preds = %633, %379
  %.17 = phi i32 [ %.16, %633 ], [ 1, %379 ]
  call void @_ZN4sptk15PitchExtractionD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #9
  br label %638

636:                                              ; preds = %634, %394, %382
  %.pn312.pn = phi { ptr, i32 } [ %.pn312, %634 ], [ %.pn269.pn.pn, %394 ], [ %383, %382 ]
  call void @_ZN4sptk15PitchExtractionD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %55) #9
  br label %637

637:                                              ; preds = %636, %380
  %.pn312.pn.pn = phi { ptr, i32 } [ %.pn312.pn, %636 ], [ %381, %380 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %55) #9
  br label %639

638:                                              ; preds = %635, %351
  %.18 = phi i32 [ 1, %351 ], [ %.17, %635 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %51) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %51) #9
  br label %.thread344

639:                                              ; preds = %637, %364, %352
  %.pn316.pn.pn.pn = phi { ptr, i32 } [ %.pn316.pn.pn, %364 ], [ %.pn312.pn.pn, %637 ], [ %353, %352 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %51) #9
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %51) #9
  br label %640

.thread344:                                       ; preds = %123, %137, %162, %185, %233, %244, %258, %259, %270, %286, %325, %638, %303
  %.22 = phi i32 [ 1, %270 ], [ 1, %286 ], [ 1, %303 ], [ %.18, %638 ], [ 1, %325 ], [ 1, %123 ], [ 1, %137 ], [ 1, %162 ], [ 1, %185 ], [ 1, %233 ], [ 1, %244 ], [ 0, %258 ], [ 1, %259 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  ret i32 %.22

640:                                              ; preds = %278, %294, %333, %639, %311, %142, %150, %167, %175, %190, %198, %234, %249, %257, %122, %114
  %.pn329.pn.pn.pn = phi { ptr, i32 } [ %.pn230.pn, %257 ], [ %.pn, %249 ], [ %.pn235.pn.pn, %234 ], [ %.pn241.pn, %198 ], [ %.pn239, %190 ], [ %.pn248.pn, %175 ], [ %.pn244, %167 ], [ %.pn255.pn, %150 ], [ %.pn251, %142 ], [ %.pn261.pn, %122 ], [ %.pn258, %114 ], [ %.pn329.pn, %278 ], [ %.pn326.pn, %294 ], [ %.pn322.pn, %311 ], [ %.pn316.pn.pn.pn, %639 ], [ %.pn266.pn, %333 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn329.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

declare i32 @ya_getopt_long(i32 noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() local_unnamed_addr #2

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

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

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

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

declare void @_ZN4sptk15PitchExtractionC1EiddddNS0_10AlgorithmsE(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, double noundef, double noundef, double noundef, double noundef, i32 noundef) unnamed_addr #2

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

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

declare noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZNK4sptk15PitchExtraction3RunERKSt6vectorIdSaIdEEPS3_S6_PNS_24PitchExtractionInterface8PolarityE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr, ptr, ptr, double) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.round.f64(double) #7

declare noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt10accumulateIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEEdET0_T_S8_S7_(ptr, ptr, double noundef) local_unnamed_addr #6

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sin(double noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @cos(double noundef) local_unnamed_addr #8

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @fmod(double noundef, double noundef) local_unnamed_addr #8

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 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 = { "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 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 #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #8 = { mustprogress nofree nounwind willreturn memory(write) "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 #9 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTSN4sptk24PitchExtractionInterface8PolarityE", !7, i64 0}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}


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