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

; 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::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.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.3 }
%union.anon.3 = type { i32 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { double }
%class.anon.4 = type { i8 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::SpectrumToSpectrum" = type <{ ptr, i32, i32, i32, [4 x i8], double, double, %"class.std::vector.10", i8, [7 x i8] }>
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%class.anon.15 = type { i8 }
%class.anon.17 = type { i8 }
%class.anon.19 = type { i8 }
%"class.sptk::WorldSynthesis" = type <{ ptr, i32, i32, double, i8, [7 x i8] }>

@.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 [52 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@ya_optind = external global i32, align 4
@.str.13 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.16 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.std::allocator", align 1
  %23 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %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 i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %39 = alloca %"class.std::__cxx11::basic_string", align 8
  %40 = alloca %"class.std::allocator", align 1
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator", align 1
  %46 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %47 = alloca %"class.std::__cxx11::basic_string", align 8
  %48 = alloca %"class.std::allocator", align 1
  %49 = alloca i32, align 4
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %"class.std::__cxx11::basic_string", align 8
  %53 = alloca %"class.std::allocator", align 1
  %54 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator", align 1
  %57 = alloca ptr, align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  %60 = alloca i32, align 4
  %61 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::allocator", align 1
  %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 i32, align 4
  %68 = alloca double, align 8
  %69 = alloca %"class.std::vector", align 8
  %70 = alloca %"class.std::basic_ifstream", align 8
  %71 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator", align 1
  %74 = alloca ptr, align 8
  %75 = alloca double, align 8
  %76 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %77 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %78 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %79 = alloca %class.anon, align 8
  %80 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %81 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %82 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %84 = alloca %class.anon.4, align 1
  %85 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %86 = alloca %"class.std::vector.5", align 8
  %87 = alloca %"class.sptk::SpectrumToSpectrum", align 8
  %88 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %89 = alloca %"class.std::__cxx11::basic_string", align 8
  %90 = alloca %"class.std::allocator", align 1
  %91 = alloca %"class.std::basic_ifstream", align 8
  %92 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %93 = alloca %"class.std::__cxx11::basic_string", align 8
  %94 = alloca %"class.std::allocator", align 1
  %95 = alloca ptr, align 8
  %96 = alloca %"class.std::vector", align 8
  %97 = alloca %"class.std::allocator.0", align 1
  %98 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %99 = alloca %"class.std::__cxx11::basic_string", align 8
  %100 = alloca %"class.std::allocator", align 1
  %101 = alloca %"class.std::vector.5", align 8
  %102 = alloca %"class.std::basic_ifstream", align 8
  %103 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %104 = alloca %"class.std::__cxx11::basic_string", align 8
  %105 = alloca %"class.std::allocator", align 1
  %106 = alloca ptr, align 8
  %107 = alloca %"class.std::vector", align 8
  %108 = alloca %"class.std::allocator.0", align 1
  %109 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %110 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %111 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %112 = alloca %class.anon.15, align 1
  %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 %"class.__gnu_cxx::__normal_iterator", align 8
  %117 = alloca %class.anon.17, align 1
  %118 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %119 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %120 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %121 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %122 = alloca %class.anon.19, align 1
  %123 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %124 = alloca %"class.sptk::WorldSynthesis", align 8
  %125 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %126 = alloca %"class.std::__cxx11::basic_string", align 8
  %127 = alloca %"class.std::allocator", align 1
  %128 = alloca %"class.std::vector", align 8
  %129 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %130 = alloca %"class.std::__cxx11::basic_string", align 8
  %131 = alloca %"class.std::allocator", align 1
  %132 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %133 = alloca %"class.std::__cxx11::basic_string", align 8
  %134 = 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 4, ptr %6) #8
  store i32 1024, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 80, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  store double 1.600000e+01, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 0, ptr %10, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %135

135:                                              ; preds = %440, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %136 = load i32, ptr %4, align 4, !tbaa !5
  %137 = load ptr, ptr %5, align 8, !tbaa !9
  %138 = call i32 @ya_getopt_long(i32 noundef %136, ptr noundef %137, ptr noundef @.str, ptr noundef null, ptr noundef null)
  store i32 %138, ptr %12, align 4, !tbaa !5
  %139 = load i32, ptr %12, align 4, !tbaa !5
  %140 = icmp eq i32 -1, %139
  br i1 %140, label %141, label %142

141:                                              ; preds = %135
  store i32 2, ptr %13, align 4
  br label %438

142:                                              ; preds = %135
  %143 = load i32, ptr %12, align 4, !tbaa !5
  switch i32 %143, label %436 [
    i32 108, label %144
    i32 112, label %183
    i32 115, label %222
    i32 70, label %276
    i32 83, label %329
    i32 65, label %382
    i32 104, label %435
  ]

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #8
  %145 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %145, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %146 unwind label %159

146:                                              ; preds = %144
  %147 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef %6)
          to label %148 unwind label %163

148:                                              ; preds = %146
  br i1 %147, label %149, label %152

149:                                              ; preds = %148
  %150 = load i32, ptr %6, align 4, !tbaa !5
  %151 = icmp slt i32 %150, 512
  br label %152

152:                                              ; preds = %149, %148
  %153 = phi i1 [ true, %148 ], [ %151, %149 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br i1 %153, label %154, label %182

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 376, ptr %18) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18)
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef @.str.1)
          to label %156 unwind label %168

156:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %157 unwind label %172

157:                                              ; preds = %156
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %158 unwind label %176

158:                                              ; preds = %157
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  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) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %18) #8
  br label %438

159:                                              ; preds = %144
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %16, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %17, align 4
  br label %167

163:                                              ; preds = %146
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %16, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %167

167:                                              ; preds = %163, %159
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #8
  br label %441

168:                                              ; preds = %154
  %169 = landingpad { ptr, i32 }
          cleanup
  %170 = extractvalue { ptr, i32 } %169, 0
  store ptr %170, ptr %16, align 8
  %171 = extractvalue { ptr, i32 } %169, 1
  store i32 %171, ptr %17, align 4
  br label %181

172:                                              ; preds = %156
  %173 = landingpad { ptr, i32 }
          cleanup
  %174 = extractvalue { ptr, i32 } %173, 0
  store ptr %174, ptr %16, align 8
  %175 = extractvalue { ptr, i32 } %173, 1
  store i32 %175, ptr %17, align 4
  br label %180

176:                                              ; preds = %157
  %177 = landingpad { ptr, i32 }
          cleanup
  %178 = extractvalue { ptr, i32 } %177, 0
  store ptr %178, ptr %16, align 8
  %179 = extractvalue { ptr, i32 } %177, 1
  store i32 %179, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  br label %180

180:                                              ; preds = %176, %172
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %181

181:                                              ; preds = %180, %168
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %18) #8
  br label %441

182:                                              ; preds = %152
  br label %437

183:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %184 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %184, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %185 unwind label %198

185:                                              ; preds = %183
  %186 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %7)
          to label %187 unwind label %202

187:                                              ; preds = %185
  br i1 %186, label %188, label %191

188:                                              ; preds = %187
  %189 = load i32, ptr %7, align 4, !tbaa !5
  %190 = icmp sle i32 %189, 0
  br label %191

191:                                              ; preds = %188, %187
  %192 = phi i1 [ true, %187 ], [ %190, %188 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br i1 %192, label %193, label %221

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

195:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %196 unwind label %211

196:                                              ; preds = %195
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(112) %23)
          to label %197 unwind label %215

197:                                              ; preds = %196
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  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) %23) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %23) #8
  br label %438

198:                                              ; preds = %183
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %16, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %17, align 4
  br label %206

202:                                              ; preds = %185
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %16, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %206

206:                                              ; preds = %202, %198
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %441

207:                                              ; preds = %193
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %16, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %17, align 4
  br label %220

211:                                              ; preds = %195
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %16, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %17, align 4
  br label %219

215:                                              ; preds = %196
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %16, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %219

219:                                              ; preds = %215, %211
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %220

220:                                              ; preds = %219, %207
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %23) #8
  br label %441

221:                                              ; preds = %191
  br label %437

222:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store double 8.000000e+00, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store double 9.800000e+01, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #8
  %223 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %223, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %224 unwind label %249

224:                                              ; preds = %222
  %225 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %8)
          to label %226 unwind label %253

226:                                              ; preds = %224
  br i1 %225, label %227, label %232

227:                                              ; preds = %226
  %228 = load double, ptr %8, align 8, !tbaa !11
  %229 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEddd(double noundef %228, double noundef 8.000000e+00, double noundef 9.800000e+01)
          to label %230 unwind label %253

230:                                              ; preds = %227
  %231 = xor i1 %229, true
  br label %232

232:                                              ; preds = %230, %226
  %233 = phi i1 [ true, %226 ], [ %231, %230 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #8
  br i1 %233, label %234, label %272

234:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 376, ptr %30) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30)
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef @.str.4)
          to label %236 unwind label %258

236:                                              ; preds = %234
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef @.str.5)
          to label %238 unwind label %258

238:                                              ; preds = %236
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %237, double noundef 8.000000e+00)
          to label %240 unwind label %258

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef @.str.6)
          to label %242 unwind label %258

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %241, double noundef 9.800000e+01)
          to label %244 unwind label %258

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %243, ptr noundef @.str.7)
          to label %246 unwind label %258

246:                                              ; preds = %244
  call void @llvm.lifetime.start.p0(i64 32, ptr %31) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %247 unwind label %262

247:                                              ; preds = %246
  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 %248 unwind label %266

248:                                              ; preds = %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  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) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %30) #8
  br label %273

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

253:                                              ; preds = %227, %224
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %16, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  br label %257

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

258:                                              ; preds = %244, %242, %240, %238, %236, %234
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %16, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %17, align 4
  br label %271

262:                                              ; preds = %246
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %16, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %17, align 4
  br label %270

266:                                              ; preds = %247
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %16, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %270

270:                                              ; preds = %266, %262
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %31) #8
  br label %271

271:                                              ; preds = %270, %258
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %30) #8
  br label %275

272:                                              ; preds = %232
  store i32 4, ptr %13, align 4
  br label %273

273:                                              ; preds = %272, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %274 = load i32, ptr %13, align 4
  switch i32 %274, label %438 [
    i32 4, label %437
  ]

275:                                              ; preds = %271, %257
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %441

276:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  store i32 0, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 2, ptr %34, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  %277 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef %277, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %278 unwind label %301

278:                                              ; preds = %276
  %279 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef %35)
          to label %280 unwind label %305

280:                                              ; preds = %278
  br i1 %279, label %281, label %286

281:                                              ; preds = %280
  %282 = load i32, ptr %35, align 4, !tbaa !5
  %283 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %282, i32 noundef 0, i32 noundef 2)
          to label %284 unwind label %305

284:                                              ; preds = %281
  %285 = xor i1 %283, true
  br label %286

286:                                              ; preds = %284, %280
  %287 = phi i1 [ true, %280 ], [ %285, %284 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br i1 %287, label %288, label %324

288:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 376, ptr %38) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %38)
  %289 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef @.str.8)
          to label %290 unwind label %310

290:                                              ; preds = %288
  %291 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %289, ptr noundef @.str.9)
          to label %292 unwind label %310

292:                                              ; preds = %290
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %291, i32 noundef 0)
          to label %294 unwind label %310

294:                                              ; preds = %292
  %295 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %293, ptr noundef @.str.10)
          to label %296 unwind label %310

296:                                              ; preds = %294
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %295, i32 noundef 2)
          to label %298 unwind label %310

298:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %40)
          to label %299 unwind label %314

299:                                              ; preds = %298
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(112) %38)
          to label %300 unwind label %318

300:                                              ; preds = %299
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  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) %38) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %38) #8
  br label %326

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

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

309:                                              ; preds = %305, %301
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %328

310:                                              ; preds = %296, %294, %292, %290, %288
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %16, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %17, align 4
  br label %323

314:                                              ; preds = %298
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %16, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %17, align 4
  br label %322

318:                                              ; preds = %299
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %16, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #8
  br label %322

322:                                              ; preds = %318, %314
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #8
  br label %323

323:                                              ; preds = %322, %310
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %38) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %38) #8
  br label %328

324:                                              ; preds = %286
  %325 = load i32, ptr %35, align 4, !tbaa !5
  store i32 %325, ptr %9, align 4, !tbaa !13
  store i32 4, ptr %13, align 4
  br label %326

326:                                              ; preds = %324, %300
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  %327 = load i32, ptr %13, align 4
  switch i32 %327, label %438 [
    i32 4, label %437
  ]

328:                                              ; preds = %323, %309
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %441

329:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  store i32 0, ptr %41, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #8
  store i32 3, ptr %42, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #8
  %330 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef %330, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %331 unwind label %354

331:                                              ; preds = %329
  %332 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef %43)
          to label %333 unwind label %358

333:                                              ; preds = %331
  br i1 %332, label %334, label %339

334:                                              ; preds = %333
  %335 = load i32, ptr %43, align 4, !tbaa !5
  %336 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %335, i32 noundef 0, i32 noundef 3)
          to label %337 unwind label %358

337:                                              ; preds = %334
  %338 = xor i1 %336, true
  br label %339

339:                                              ; preds = %337, %333
  %340 = phi i1 [ true, %333 ], [ %338, %337 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #8
  br i1 %340, label %341, label %377

341:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 376, ptr %46) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46)
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef @.str.11)
          to label %343 unwind label %363

343:                                              ; preds = %341
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %342, ptr noundef @.str.9)
          to label %345 unwind label %363

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %344, i32 noundef 0)
          to label %347 unwind label %363

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 @.str.10)
          to label %349 unwind label %363

349:                                              ; preds = %347
  %350 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %348, i32 noundef 3)
          to label %351 unwind label %363

351:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 32, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %352 unwind label %367

352:                                              ; preds = %351
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(112) %46)
          to label %353 unwind label %371

353:                                              ; preds = %352
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  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) %46) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %46) #8
  br label %379

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

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

362:                                              ; preds = %358, %354
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #8
  br label %381

363:                                              ; preds = %349, %347, %345, %343, %341
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %16, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %17, align 4
  br label %376

367:                                              ; preds = %351
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %16, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %17, align 4
  br label %375

371:                                              ; preds = %352
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %16, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #8
  br label %375

375:                                              ; preds = %371, %367
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %47) #8
  br label %376

376:                                              ; preds = %375, %363
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %46) #8
  br label %381

377:                                              ; preds = %339
  %378 = load i32, ptr %43, align 4, !tbaa !5
  store i32 %378, ptr %10, align 4, !tbaa !14
  store i32 4, ptr %13, align 4
  br label %379

379:                                              ; preds = %377, %353
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  %380 = load i32, ptr %13, align 4
  switch i32 %380, label %438 [
    i32 4, label %437
  ]

381:                                              ; preds = %376, %362
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %441

382:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #8
  store i32 0, ptr %49, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #8
  store i32 3, ptr %50, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %52) #8
  %383 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef %383, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %384 unwind label %407

384:                                              ; preds = %382
  %385 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef %51)
          to label %386 unwind label %411

386:                                              ; preds = %384
  br i1 %385, label %387, label %392

387:                                              ; preds = %386
  %388 = load i32, ptr %51, align 4, !tbaa !5
  %389 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %388, i32 noundef 0, i32 noundef 3)
          to label %390 unwind label %411

390:                                              ; preds = %387
  %391 = xor i1 %389, true
  br label %392

392:                                              ; preds = %390, %386
  %393 = phi i1 [ true, %386 ], [ %391, %390 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  br i1 %393, label %394, label %430

394:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 376, ptr %54) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54)
  %395 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @.str.12)
          to label %396 unwind label %416

396:                                              ; preds = %394
  %397 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %395, ptr noundef @.str.9)
          to label %398 unwind label %416

398:                                              ; preds = %396
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %397, i32 noundef 0)
          to label %400 unwind label %416

400:                                              ; preds = %398
  %401 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %399, ptr noundef @.str.10)
          to label %402 unwind label %416

402:                                              ; preds = %400
  %403 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %401, i32 noundef 3)
          to label %404 unwind label %416

404:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 32, ptr %55) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %56)
          to label %405 unwind label %420

405:                                              ; preds = %404
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %406 unwind label %424

406:                                              ; preds = %405
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #8
  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) %54) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %54) #8
  br label %432

407:                                              ; preds = %382
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %16, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %17, align 4
  br label %415

411:                                              ; preds = %387, %384
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %16, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #8
  br label %415

415:                                              ; preds = %411, %407
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %52) #8
  br label %434

416:                                              ; preds = %402, %400, %398, %396, %394
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %16, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %17, align 4
  br label %429

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

424:                                              ; preds = %405
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %16, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #8
  br label %428

428:                                              ; preds = %424, %420
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #8
  br label %429

429:                                              ; preds = %428, %416
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %54) #8
  br label %434

430:                                              ; preds = %392
  %431 = load i32, ptr %51, align 4, !tbaa !5
  store i32 %431, ptr %11, align 4, !tbaa !13
  store i32 4, ptr %13, align 4
  br label %432

432:                                              ; preds = %430, %406
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  %433 = load i32, ptr %13, align 4
  switch i32 %433, label %438 [
    i32 4, label %437
  ]

434:                                              ; preds = %429, %415
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #8
  br label %441

435:                                              ; preds = %142
  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 %438

436:                                              ; preds = %142
  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 %438

437:                                              ; preds = %432, %379, %326, %273, %221, %182
  store i32 0, ptr %13, align 4
  br label %438

438:                                              ; preds = %437, %436, %435, %432, %379, %326, %273, %197, %158, %141
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  %439 = load i32, ptr %13, align 4
  switch i32 %439, label %1049 [
    i32 0, label %440
    i32 2, label %442
  ]

440:                                              ; preds = %438
  br label %135, !llvm.loop !16

441:                                              ; preds = %434, %381, %328, %275, %220, %206, %181, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %1051

442:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #8
  %443 = load i32, ptr %4, align 4, !tbaa !5
  %444 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %445 = sub nsw i32 %443, %444
  store i32 %445, ptr %60, align 4, !tbaa !5
  %446 = load i32, ptr %60, align 4, !tbaa !5
  %447 = icmp eq i32 3, %446
  br i1 %447, label %448, label %467

448:                                              ; preds = %442
  %449 = load ptr, ptr %5, align 8, !tbaa !9
  %450 = load i32, ptr %4, align 4, !tbaa !5
  %451 = sub nsw i32 %450, 3
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds ptr, ptr %449, i64 %452
  %454 = load ptr, ptr %453, align 8, !tbaa !9
  store ptr %454, ptr %57, align 8, !tbaa !9
  %455 = load ptr, ptr %5, align 8, !tbaa !9
  %456 = load i32, ptr %4, align 4, !tbaa !5
  %457 = sub nsw i32 %456, 2
  %458 = sext i32 %457 to i64
  %459 = getelementptr inbounds ptr, ptr %455, i64 %458
  %460 = load ptr, ptr %459, align 8, !tbaa !9
  store ptr %460, ptr %58, align 8, !tbaa !9
  %461 = load ptr, ptr %5, align 8, !tbaa !9
  %462 = load i32, ptr %4, align 4, !tbaa !5
  %463 = sub nsw i32 %462, 1
  %464 = sext i32 %463 to i64
  %465 = getelementptr inbounds ptr, ptr %461, i64 %464
  %466 = load ptr, ptr %465, align 8, !tbaa !9
  store ptr %466, ptr %59, align 8, !tbaa !9
  br label %503

467:                                              ; preds = %442
  %468 = load i32, ptr %60, align 4, !tbaa !5
  %469 = icmp eq i32 2, %468
  br i1 %469, label %470, label %483

470:                                              ; preds = %467
  %471 = load ptr, ptr %5, align 8, !tbaa !9
  %472 = load i32, ptr %4, align 4, !tbaa !5
  %473 = sub nsw i32 %472, 2
  %474 = sext i32 %473 to i64
  %475 = getelementptr inbounds ptr, ptr %471, i64 %474
  %476 = load ptr, ptr %475, align 8, !tbaa !9
  store ptr %476, ptr %57, align 8, !tbaa !9
  %477 = load ptr, ptr %5, align 8, !tbaa !9
  %478 = load i32, ptr %4, align 4, !tbaa !5
  %479 = sub nsw i32 %478, 1
  %480 = sext i32 %479 to i64
  %481 = getelementptr inbounds ptr, ptr %477, i64 %480
  %482 = load ptr, ptr %481, align 8, !tbaa !9
  store ptr %482, ptr %58, align 8, !tbaa !9
  store ptr null, ptr %59, align 8, !tbaa !9
  br label %502

483:                                              ; preds = %467
  call void @llvm.lifetime.start.p0(i64 376, ptr %61) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %61)
  %484 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef @.str.13)
          to label %485 unwind label %488

485:                                              ; preds = %483
  call void @llvm.lifetime.start.p0(i64 32, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %63)
          to label %486 unwind label %492

486:                                              ; preds = %485
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(112) %61)
          to label %487 unwind label %496

487:                                              ; preds = %486
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  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) %61) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %61) #8
  br label %1047

488:                                              ; preds = %483
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %16, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %17, align 4
  br label %501

492:                                              ; preds = %485
  %493 = landingpad { ptr, i32 }
          cleanup
  %494 = extractvalue { ptr, i32 } %493, 0
  store ptr %494, ptr %16, align 8
  %495 = extractvalue { ptr, i32 } %493, 1
  store i32 %495, ptr %17, align 4
  br label %500

496:                                              ; preds = %486
  %497 = landingpad { ptr, i32 }
          cleanup
  %498 = extractvalue { ptr, i32 } %497, 0
  store ptr %498, ptr %16, align 8
  %499 = extractvalue { ptr, i32 } %497, 1
  store i32 %499, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  br label %500

500:                                              ; preds = %496, %492
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #8
  br label %501

501:                                              ; preds = %500, %488
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %61) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %61) #8
  br label %1048

502:                                              ; preds = %470
  br label %503

503:                                              ; preds = %502, %448
  %504 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %504, label %524, label %505

505:                                              ; preds = %503
  call void @llvm.lifetime.start.p0(i64 376, ptr %64) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64)
  %506 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef @.str.14)
          to label %507 unwind label %510

507:                                              ; preds = %505
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %65, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %508 unwind label %514

508:                                              ; preds = %507
  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 %509 unwind label %518

509:                                              ; preds = %508
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #8
  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) %64) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %64) #8
  br label %1047

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

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

518:                                              ; preds = %508
  %519 = landingpad { ptr, i32 }
          cleanup
  %520 = extractvalue { ptr, i32 } %519, 0
  store ptr %520, ptr %16, align 8
  %521 = extractvalue { ptr, i32 } %519, 1
  store i32 %521, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #8
  br label %522

522:                                              ; preds = %518, %514
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #8
  br label %523

523:                                              ; preds = %522, %510
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %64) #8
  br label %1048

524:                                              ; preds = %503
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  %525 = load i32, ptr %6, align 4, !tbaa !5
  %526 = sdiv i32 %525, 2
  %527 = add nsw i32 %526, 1
  store i32 %527, ptr %67, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #8
  %528 = load double, ptr %8, align 8, !tbaa !11
  %529 = fmul double 1.000000e+03, %528
  store double %529, ptr %68, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %69) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @llvm.lifetime.start.p0(i64 520, ptr %70) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %70)
          to label %530 unwind label %553

530:                                              ; preds = %524
  %531 = load ptr, ptr %59, align 8, !tbaa !9
  %532 = icmp ne ptr null, %531
  br i1 %532, label %533, label %581

533:                                              ; preds = %530
  %534 = load ptr, ptr %59, align 8, !tbaa !9
  %535 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %536 unwind label %557

536:                                              ; preds = %533
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %70, ptr noundef %534, i32 noundef %535)
          to label %537 unwind label %557

537:                                              ; preds = %536
  %538 = load ptr, ptr %70, align 8, !tbaa !18
  %539 = getelementptr i8, ptr %538, i64 -24
  %540 = load i64, ptr %539, align 8
  %541 = getelementptr inbounds i8, ptr %70, i64 %540
  %542 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %541)
          to label %543 unwind label %557

543:                                              ; preds = %537
  br i1 %542, label %544, label %580

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

545:                                              ; preds = %544
  %546 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str.15)
          to label %547 unwind label %565

547:                                              ; preds = %545
  %548 = load ptr, ptr %59, align 8, !tbaa !9
  %549 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %546, ptr noundef %548)
          to label %550 unwind label %565

550:                                              ; preds = %547
  call void @llvm.lifetime.start.p0(i64 32, ptr %72) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %73) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %73)
          to label %551 unwind label %569

551:                                              ; preds = %550
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %552 unwind label %573

552:                                              ; preds = %551
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  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) %71) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %71) #8
  br label %643

553:                                              ; preds = %524
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %16, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %17, align 4
  br label %650

557:                                              ; preds = %537, %536, %533
  %558 = landingpad { ptr, i32 }
          cleanup
  %559 = extractvalue { ptr, i32 } %558, 0
  store ptr %559, ptr %16, align 8
  %560 = extractvalue { ptr, i32 } %558, 1
  store i32 %560, ptr %17, align 4
  br label %649

561:                                              ; preds = %544
  %562 = landingpad { ptr, i32 }
          cleanup
  %563 = extractvalue { ptr, i32 } %562, 0
  store ptr %563, ptr %16, align 8
  %564 = extractvalue { ptr, i32 } %562, 1
  store i32 %564, ptr %17, align 4
  br label %579

565:                                              ; preds = %547, %545
  %566 = landingpad { ptr, i32 }
          cleanup
  %567 = extractvalue { ptr, i32 } %566, 0
  store ptr %567, ptr %16, align 8
  %568 = extractvalue { ptr, i32 } %566, 1
  store i32 %568, ptr %17, align 4
  br label %578

569:                                              ; preds = %550
  %570 = landingpad { ptr, i32 }
          cleanup
  %571 = extractvalue { ptr, i32 } %570, 0
  store ptr %571, ptr %16, align 8
  %572 = extractvalue { ptr, i32 } %570, 1
  store i32 %572, ptr %17, align 4
  br label %577

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

577:                                              ; preds = %573, %569
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #8
  br label %578

578:                                              ; preds = %577, %565
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #8
  br label %579

579:                                              ; preds = %578, %561
  call void @llvm.lifetime.end.p0(i64 376, ptr %71) #8
  br label %649

580:                                              ; preds = %543
  br label %581

581:                                              ; preds = %580, %530
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #8
  %582 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %70)
          to label %583 unwind label %594

583:                                              ; preds = %581
  br i1 %582, label %584, label %585

584:                                              ; preds = %583
  br label %586

585:                                              ; preds = %583
  br label %586

586:                                              ; preds = %585, %584
  %587 = phi ptr [ %70, %584 ], [ @_ZSt3cin, %585 ]
  store ptr %587, ptr %74, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #8
  br label %588

588:                                              ; preds = %593, %586
  %589 = load ptr, ptr %74, align 8, !tbaa !9
  %590 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef %75, ptr noundef %589)
          to label %591 unwind label %598

591:                                              ; preds = %588
  br i1 %590, label %592, label %602

592:                                              ; preds = %591
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(8) %75)
          to label %593 unwind label %598

593:                                              ; preds = %592
  br label %588, !llvm.loop !20

594:                                              ; preds = %581
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %16, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %17, align 4
  br label %648

598:                                              ; preds = %625, %604, %592, %588
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %16, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %648

602:                                              ; preds = %591
  %603 = load i32, ptr %9, align 4, !tbaa !13
  switch i32 %603, label %641 [
    i32 0, label %604
    i32 1, label %624
    i32 2, label %625
  ]

604:                                              ; preds = %602
  %605 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %606 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %76, i32 0, i32 0
  store ptr %605, ptr %606, align 8
  %607 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %608 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %77, i32 0, i32 0
  store ptr %607, ptr %608, align 8
  %609 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %610 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %78, i32 0, i32 0
  store ptr %609, ptr %610, align 8
  %611 = getelementptr inbounds %class.anon, ptr %79, i32 0, i32 0
  %612 = load double, ptr %68, align 8, !tbaa !11
  store double %612, ptr %611, align 8, !tbaa !21
  %613 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %76, i32 0, i32 0
  %614 = load ptr, ptr %613, align 8
  %615 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %77, i32 0, i32 0
  %616 = load ptr, ptr %615, align 8
  %617 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %78, i32 0, i32 0
  %618 = load ptr, ptr %617, align 8
  %619 = getelementptr inbounds %class.anon, ptr %79, i32 0, i32 0
  %620 = load double, ptr %619, align 8
  %621 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr %614, ptr %616, ptr %618, double %620)
          to label %622 unwind label %598

622:                                              ; preds = %604
  %623 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %80, i32 0, i32 0
  store ptr %621, ptr %623, align 8
  br label %642

624:                                              ; preds = %602
  br label %642

625:                                              ; preds = %602
  %626 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %627 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %81, i32 0, i32 0
  store ptr %626, ptr %627, align 8
  %628 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %629 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %82, i32 0, i32 0
  store ptr %628, ptr %629, align 8
  %630 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  %631 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %83, i32 0, i32 0
  store ptr %630, ptr %631, align 8
  %632 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %81, i32 0, i32 0
  %633 = load ptr, ptr %632, align 8
  %634 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %82, i32 0, i32 0
  %635 = load ptr, ptr %634, align 8
  %636 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %83, i32 0, i32 0
  %637 = load ptr, ptr %636, align 8
  %638 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_1ET0_T_S9_S8_T1_"(ptr %633, ptr %635, ptr %637)
          to label %639 unwind label %598

639:                                              ; preds = %625
  %640 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %85, i32 0, i32 0
  store ptr %638, ptr %640, align 8
  br label %642

641:                                              ; preds = %602
  br label %642

642:                                              ; preds = %641, %639, %624, %622
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  store i32 0, ptr %13, align 4
  br label %643

643:                                              ; preds = %642, %552
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %70) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %70) #8
  %644 = load i32, ptr %13, align 4
  switch i32 %644, label %1045 [
    i32 0, label %645
  ]

645:                                              ; preds = %643
  %646 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  br i1 %646, label %647, label %651

647:                                              ; preds = %645
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %1045

648:                                              ; preds = %598, %594
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #8
  br label %649

649:                                              ; preds = %648, %579, %557
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %70) #8
  br label %650

650:                                              ; preds = %649, %553
  call void @llvm.lifetime.end.p0(i64 520, ptr %70) #8
  br label %1046

651:                                              ; preds = %645
  call void @llvm.lifetime.start.p0(i64 24, ptr %86) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  %652 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %86, i64 noundef %652)
          to label %653 unwind label %665

653:                                              ; preds = %651
  call void @llvm.lifetime.start.p0(i64 72, ptr %87) #8
  %654 = load i32, ptr %6, align 4, !tbaa !5
  %655 = load i32, ptr %10, align 4, !tbaa !14
  invoke void @_ZN4sptk18SpectrumToSpectrumC1EiNS0_18InputOutputFormatsES1_dd(ptr noundef nonnull align 8 dereferenceable(65) %87, i32 noundef %654, i32 noundef %655, i32 noundef 3, double noundef 0.000000e+00, double noundef 0xFFEFFFFFFFFFFFFF)
          to label %656 unwind label %669

656:                                              ; preds = %653
  %657 = invoke noundef zeroext i1 @_ZNK4sptk18SpectrumToSpectrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(65) %87)
          to label %658 unwind label %673

658:                                              ; preds = %656
  br i1 %657, label %696, label %659

659:                                              ; preds = %658
  call void @llvm.lifetime.start.p0(i64 376, ptr %88) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %88)
          to label %660 unwind label %677

660:                                              ; preds = %659
  %661 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @.str.16)
          to label %662 unwind label %681

662:                                              ; preds = %660
  call void @llvm.lifetime.start.p0(i64 32, ptr %89) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %90)
          to label %663 unwind label %685

663:                                              ; preds = %662
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %89, ptr noundef nonnull align 8 dereferenceable(112) %88)
          to label %664 unwind label %689

664:                                              ; preds = %663
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #8
  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) %88) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %88) #8
  br label %794

665:                                              ; preds = %651
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %16, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %17, align 4
  br label %1044

669:                                              ; preds = %653
  %670 = landingpad { ptr, i32 }
          cleanup
  %671 = extractvalue { ptr, i32 } %670, 0
  store ptr %671, ptr %16, align 8
  %672 = extractvalue { ptr, i32 } %670, 1
  store i32 %672, ptr %17, align 4
  br label %824

673:                                              ; preds = %656
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %16, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %17, align 4
  br label %823

677:                                              ; preds = %659
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %16, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %17, align 4
  br label %695

681:                                              ; preds = %660
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %16, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %17, align 4
  br label %694

685:                                              ; preds = %662
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %16, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %17, align 4
  br label %693

689:                                              ; preds = %663
  %690 = landingpad { ptr, i32 }
          cleanup
  %691 = extractvalue { ptr, i32 } %690, 0
  store ptr %691, ptr %16, align 8
  %692 = extractvalue { ptr, i32 } %690, 1
  store i32 %692, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %89) #8
  br label %693

693:                                              ; preds = %689, %685
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %90) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %89) #8
  br label %694

694:                                              ; preds = %693, %681
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %88) #8
  br label %695

695:                                              ; preds = %694, %677
  call void @llvm.lifetime.end.p0(i64 376, ptr %88) #8
  br label %823

696:                                              ; preds = %658
  call void @llvm.lifetime.start.p0(i64 520, ptr %91) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %91)
          to label %697 unwind label %717

697:                                              ; preds = %696
  %698 = load ptr, ptr %57, align 8, !tbaa !9
  %699 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %700 unwind label %721

700:                                              ; preds = %697
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %91, ptr noundef %698, i32 noundef %699)
          to label %701 unwind label %721

701:                                              ; preds = %700
  %702 = load ptr, ptr %91, align 8, !tbaa !18
  %703 = getelementptr i8, ptr %702, i64 -24
  %704 = load i64, ptr %703, align 8
  %705 = getelementptr inbounds i8, ptr %91, i64 %704
  %706 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %705)
          to label %707 unwind label %721

707:                                              ; preds = %701
  br i1 %706, label %708, label %744

708:                                              ; preds = %707
  call void @llvm.lifetime.start.p0(i64 376, ptr %92) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %92)
          to label %709 unwind label %725

709:                                              ; preds = %708
  %710 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef @.str.15)
          to label %711 unwind label %729

711:                                              ; preds = %709
  %712 = load ptr, ptr %57, align 8, !tbaa !9
  %713 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %710, ptr noundef %712)
          to label %714 unwind label %729

714:                                              ; preds = %711
  call void @llvm.lifetime.start.p0(i64 32, ptr %93) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %94) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %94)
          to label %715 unwind label %733

715:                                              ; preds = %714
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %93, ptr noundef nonnull align 8 dereferenceable(112) %92)
          to label %716 unwind label %737

716:                                              ; preds = %715
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %93) #8
  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) %92) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %92) #8
  br label %793

717:                                              ; preds = %696
  %718 = landingpad { ptr, i32 }
          cleanup
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %16, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %17, align 4
  br label %822

721:                                              ; preds = %701, %700, %697
  %722 = landingpad { ptr, i32 }
          cleanup
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %16, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %17, align 4
  br label %821

725:                                              ; preds = %708
  %726 = landingpad { ptr, i32 }
          cleanup
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %16, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %17, align 4
  br label %743

729:                                              ; preds = %711, %709
  %730 = landingpad { ptr, i32 }
          cleanup
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %16, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %17, align 4
  br label %742

733:                                              ; preds = %714
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %16, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %17, align 4
  br label %741

737:                                              ; preds = %715
  %738 = landingpad { ptr, i32 }
          cleanup
  %739 = extractvalue { ptr, i32 } %738, 0
  store ptr %739, ptr %16, align 8
  %740 = extractvalue { ptr, i32 } %738, 1
  store i32 %740, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %93) #8
  br label %741

741:                                              ; preds = %737, %733
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %94) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %94) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %93) #8
  br label %742

742:                                              ; preds = %741, %729
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %92) #8
  br label %743

743:                                              ; preds = %742, %725
  call void @llvm.lifetime.end.p0(i64 376, ptr %92) #8
  br label %821

744:                                              ; preds = %707
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #8
  store ptr %91, ptr %95, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %96) #8
  %745 = load i32, ptr %67, align 4, !tbaa !5
  %746 = sext i32 %745 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %97) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %746, ptr noundef nonnull align 1 dereferenceable(1) %97)
          to label %747 unwind label %762

747:                                              ; preds = %744
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %97) #8
  br label %748

748:                                              ; preds = %790, %747
  %749 = load i32, ptr %67, align 4, !tbaa !5
  %750 = load ptr, ptr %95, align 8, !tbaa !9
  %751 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %749, ptr noundef %96, ptr noundef %750, ptr noundef null)
          to label %752 unwind label %766

752:                                              ; preds = %748
  br i1 %751, label %753, label %791

753:                                              ; preds = %752
  %754 = invoke noundef zeroext i1 @_ZNK4sptk18SpectrumToSpectrum3RunEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(65) %87, ptr noundef %96)
          to label %755 unwind label %766

755:                                              ; preds = %753
  br i1 %754, label %789, label %756

756:                                              ; preds = %755
  call void @llvm.lifetime.start.p0(i64 376, ptr %98) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98)
          to label %757 unwind label %770

757:                                              ; preds = %756
  %758 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef @.str.17)
          to label %759 unwind label %774

759:                                              ; preds = %757
  call void @llvm.lifetime.start.p0(i64 32, ptr %99) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %100) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %100)
          to label %760 unwind label %778

760:                                              ; preds = %759
  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 %761 unwind label %782

761:                                              ; preds = %760
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %100) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #8
  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) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %98) #8
  br label %792

762:                                              ; preds = %744
  %763 = landingpad { ptr, i32 }
          cleanup
  %764 = extractvalue { ptr, i32 } %763, 0
  store ptr %764, ptr %16, align 8
  %765 = extractvalue { ptr, i32 } %763, 1
  store i32 %765, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %97) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %97) #8
  br label %820

766:                                              ; preds = %789, %753, %748
  %767 = landingpad { ptr, i32 }
          cleanup
  %768 = extractvalue { ptr, i32 } %767, 0
  store ptr %768, ptr %16, align 8
  %769 = extractvalue { ptr, i32 } %767, 1
  store i32 %769, ptr %17, align 4
  br label %819

770:                                              ; preds = %756
  %771 = landingpad { ptr, i32 }
          cleanup
  %772 = extractvalue { ptr, i32 } %771, 0
  store ptr %772, ptr %16, align 8
  %773 = extractvalue { ptr, i32 } %771, 1
  store i32 %773, ptr %17, align 4
  br label %788

774:                                              ; preds = %757
  %775 = landingpad { ptr, i32 }
          cleanup
  %776 = extractvalue { ptr, i32 } %775, 0
  store ptr %776, ptr %16, align 8
  %777 = extractvalue { ptr, i32 } %775, 1
  store i32 %777, ptr %17, align 4
  br label %787

778:                                              ; preds = %759
  %779 = landingpad { ptr, i32 }
          cleanup
  %780 = extractvalue { ptr, i32 } %779, 0
  store ptr %780, ptr %16, align 8
  %781 = extractvalue { ptr, i32 } %779, 1
  store i32 %781, ptr %17, align 4
  br label %786

782:                                              ; preds = %760
  %783 = landingpad { ptr, i32 }
          cleanup
  %784 = extractvalue { ptr, i32 } %783, 0
  store ptr %784, ptr %16, align 8
  %785 = extractvalue { ptr, i32 } %783, 1
  store i32 %785, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  br label %786

786:                                              ; preds = %782, %778
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %100) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %100) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %99) #8
  br label %787

787:                                              ; preds = %786, %774
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %98) #8
  br label %788

788:                                              ; preds = %787, %770
  call void @llvm.lifetime.end.p0(i64 376, ptr %98) #8
  br label %819

789:                                              ; preds = %755
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(24) %96)
          to label %790 unwind label %766

790:                                              ; preds = %789
  br label %748, !llvm.loop !23

791:                                              ; preds = %752
  store i32 0, ptr %13, align 4
  br label %792

792:                                              ; preds = %791, %761
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %96) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #8
  br label %793

793:                                              ; preds = %792, %716
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %91) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %91) #8
  br label %794

794:                                              ; preds = %793, %664
  call void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65) %87) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr %87) #8
  %795 = load i32, ptr %13, align 4
  switch i32 %795, label %1043 [
    i32 0, label %796
  ]

796:                                              ; preds = %794
  call void @llvm.lifetime.start.p0(i64 24, ptr %101) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  %797 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %101, i64 noundef %797)
          to label %798 unwind label %825

798:                                              ; preds = %796
  call void @llvm.lifetime.start.p0(i64 520, ptr %102) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %102)
          to label %799 unwind label %829

799:                                              ; preds = %798
  %800 = load ptr, ptr %58, align 8, !tbaa !9
  %801 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %802 unwind label %833

802:                                              ; preds = %799
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %102, ptr noundef %800, i32 noundef %801)
          to label %803 unwind label %833

803:                                              ; preds = %802
  %804 = load ptr, ptr %102, align 8, !tbaa !18
  %805 = getelementptr i8, ptr %804, i64 -24
  %806 = load i64, ptr %805, align 8
  %807 = getelementptr inbounds i8, ptr %102, i64 %806
  %808 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %807)
          to label %809 unwind label %833

809:                                              ; preds = %803
  br i1 %808, label %810, label %856

810:                                              ; preds = %809
  call void @llvm.lifetime.start.p0(i64 376, ptr %103) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %103)
          to label %811 unwind label %837

811:                                              ; preds = %810
  %812 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %103, ptr noundef @.str.15)
          to label %813 unwind label %841

813:                                              ; preds = %811
  %814 = load ptr, ptr %58, align 8, !tbaa !9
  %815 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %812, ptr noundef %814)
          to label %816 unwind label %841

816:                                              ; preds = %813
  call void @llvm.lifetime.start.p0(i64 32, ptr %104) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %105) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %105) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %105)
          to label %817 unwind label %845

817:                                              ; preds = %816
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %104, ptr noundef nonnull align 8 dereferenceable(112) %103)
          to label %818 unwind label %849

818:                                              ; preds = %817
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %105) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %105) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #8
  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) %103) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %103) #8
  br label %928

819:                                              ; preds = %788, %766
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  br label %820

820:                                              ; preds = %819, %762
  call void @llvm.lifetime.end.p0(i64 24, ptr %96) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #8
  br label %821

821:                                              ; preds = %820, %743, %721
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %91) #8
  br label %822

822:                                              ; preds = %821, %717
  call void @llvm.lifetime.end.p0(i64 520, ptr %91) #8
  br label %823

823:                                              ; preds = %822, %695, %673
  call void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65) %87) #8
  br label %824

824:                                              ; preds = %823, %669
  call void @llvm.lifetime.end.p0(i64 72, ptr %87) #8
  br label %1044

825:                                              ; preds = %796
  %826 = landingpad { ptr, i32 }
          cleanup
  %827 = extractvalue { ptr, i32 } %826, 0
  store ptr %827, ptr %16, align 8
  %828 = extractvalue { ptr, i32 } %826, 1
  store i32 %828, ptr %17, align 4
  br label %1042

829:                                              ; preds = %798
  %830 = landingpad { ptr, i32 }
          cleanup
  %831 = extractvalue { ptr, i32 } %830, 0
  store ptr %831, ptr %16, align 8
  %832 = extractvalue { ptr, i32 } %830, 1
  store i32 %832, ptr %17, align 4
  br label %945

833:                                              ; preds = %803, %802, %799
  %834 = landingpad { ptr, i32 }
          cleanup
  %835 = extractvalue { ptr, i32 } %834, 0
  store ptr %835, ptr %16, align 8
  %836 = extractvalue { ptr, i32 } %834, 1
  store i32 %836, ptr %17, align 4
  br label %944

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

841:                                              ; preds = %813, %811
  %842 = landingpad { ptr, i32 }
          cleanup
  %843 = extractvalue { ptr, i32 } %842, 0
  store ptr %843, ptr %16, align 8
  %844 = extractvalue { ptr, i32 } %842, 1
  store i32 %844, ptr %17, align 4
  br label %854

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

849:                                              ; preds = %817
  %850 = landingpad { ptr, i32 }
          cleanup
  %851 = extractvalue { ptr, i32 } %850, 0
  store ptr %851, ptr %16, align 8
  %852 = extractvalue { ptr, i32 } %850, 1
  store i32 %852, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %104) #8
  br label %853

853:                                              ; preds = %849, %845
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %105) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %105) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %104) #8
  br label %854

854:                                              ; preds = %853, %841
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %103) #8
  br label %855

855:                                              ; preds = %854, %837
  call void @llvm.lifetime.end.p0(i64 376, ptr %103) #8
  br label %944

856:                                              ; preds = %809
  call void @llvm.lifetime.start.p0(i64 8, ptr %106) #8
  store ptr %102, ptr %106, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %107) #8
  %857 = load i32, ptr %67, align 4, !tbaa !5
  %858 = sext i32 %857 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %108) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %107, i64 noundef %858, ptr noundef nonnull align 1 dereferenceable(1) %108)
          to label %859 unwind label %867

859:                                              ; preds = %856
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %108) #8
  br label %860

860:                                              ; preds = %926, %859
  %861 = load i32, ptr %67, align 4, !tbaa !5
  %862 = load ptr, ptr %106, align 8, !tbaa !9
  %863 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %861, ptr noundef %107, ptr noundef %862, ptr noundef null)
          to label %864 unwind label %871

864:                                              ; preds = %860
  br i1 %863, label %865, label %927

865:                                              ; preds = %864
  %866 = load i32, ptr %11, align 4, !tbaa !13
  switch i32 %866, label %924 [
    i32 0, label %875
    i32 1, label %876
    i32 2, label %892
    i32 3, label %908
  ]

867:                                              ; preds = %856
  %868 = landingpad { ptr, i32 }
          cleanup
  %869 = extractvalue { ptr, i32 } %868, 0
  store ptr %869, ptr %16, align 8
  %870 = extractvalue { ptr, i32 } %868, 1
  store i32 %870, ptr %17, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %108) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %108) #8
  br label %943

871:                                              ; preds = %925, %908, %892, %876, %860
  %872 = landingpad { ptr, i32 }
          cleanup
  %873 = extractvalue { ptr, i32 } %872, 0
  store ptr %873, ptr %16, align 8
  %874 = extractvalue { ptr, i32 } %872, 1
  store i32 %874, ptr %17, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  br label %943

875:                                              ; preds = %865
  br label %925

876:                                              ; preds = %865
  %877 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %878 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %109, i32 0, i32 0
  store ptr %877, ptr %878, align 8
  %879 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %880 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %110, i32 0, i32 0
  store ptr %879, ptr %880, align 8
  %881 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %882 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %111, i32 0, i32 0
  store ptr %881, ptr %882, align 8
  %883 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %109, i32 0, i32 0
  %884 = load ptr, ptr %883, align 8
  %885 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %110, i32 0, i32 0
  %886 = load ptr, ptr %885, align 8
  %887 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %111, i32 0, i32 0
  %888 = load ptr, ptr %887, align 8
  %889 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_2ET0_T_S9_S8_T1_"(ptr %884, ptr %886, ptr %888)
          to label %890 unwind label %871

890:                                              ; preds = %876
  %891 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %113, i32 0, i32 0
  store ptr %889, ptr %891, align 8
  br label %925

892:                                              ; preds = %865
  %893 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %894 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %114, i32 0, i32 0
  store ptr %893, ptr %894, align 8
  %895 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %896 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %115, i32 0, i32 0
  store ptr %895, ptr %896, align 8
  %897 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %898 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %116, i32 0, i32 0
  store ptr %897, ptr %898, align 8
  %899 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %114, i32 0, i32 0
  %900 = load ptr, ptr %899, align 8
  %901 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %115, i32 0, i32 0
  %902 = load ptr, ptr %901, align 8
  %903 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %116, i32 0, i32 0
  %904 = load ptr, ptr %903, align 8
  %905 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_3ET0_T_S9_S8_T1_"(ptr %900, ptr %902, ptr %904)
          to label %906 unwind label %871

906:                                              ; preds = %892
  %907 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %118, i32 0, i32 0
  store ptr %905, ptr %907, align 8
  br label %925

908:                                              ; preds = %865
  %909 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %910 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %119, i32 0, i32 0
  store ptr %909, ptr %910, align 8
  %911 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %912 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %120, i32 0, i32 0
  store ptr %911, ptr %912, align 8
  %913 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %914 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %121, i32 0, i32 0
  store ptr %913, ptr %914, align 8
  %915 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %119, i32 0, i32 0
  %916 = load ptr, ptr %915, align 8
  %917 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %120, i32 0, i32 0
  %918 = load ptr, ptr %917, align 8
  %919 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %121, i32 0, i32 0
  %920 = load ptr, ptr %919, align 8
  %921 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_4ET0_T_S9_S8_T1_"(ptr %916, ptr %918, ptr %920)
          to label %922 unwind label %871

922:                                              ; preds = %908
  %923 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %123, i32 0, i32 0
  store ptr %921, ptr %923, align 8
  br label %925

924:                                              ; preds = %865
  br label %925

925:                                              ; preds = %924, %922, %906, %890, %875
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef nonnull align 8 dereferenceable(24) %107)
          to label %926 unwind label %871

926:                                              ; preds = %925
  br label %860, !llvm.loop !24

927:                                              ; preds = %864
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %107) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #8
  store i32 0, ptr %13, align 4
  br label %928

928:                                              ; preds = %927, %818
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %102) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %102) #8
  %929 = load i32, ptr %13, align 4
  switch i32 %929, label %1041 [
    i32 0, label %930
  ]

930:                                              ; preds = %928
  call void @llvm.lifetime.start.p0(i64 32, ptr %124) #8
  %931 = load i32, ptr %6, align 4, !tbaa !5
  %932 = load i32, ptr %7, align 4, !tbaa !5
  %933 = load double, ptr %68, align 8, !tbaa !11
  invoke void @_ZN4sptk14WorldSynthesisC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %124, i32 noundef %931, i32 noundef %932, double noundef %933)
          to label %934 unwind label %946

934:                                              ; preds = %930
  %935 = invoke noundef zeroext i1 @_ZNK4sptk14WorldSynthesis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %124)
          to label %936 unwind label %950

936:                                              ; preds = %934
  br i1 %935, label %973, label %937

937:                                              ; preds = %936
  call void @llvm.lifetime.start.p0(i64 376, ptr %125) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %125)
          to label %938 unwind label %954

938:                                              ; preds = %937
  %939 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef @.str.18)
          to label %940 unwind label %958

940:                                              ; preds = %938
  call void @llvm.lifetime.start.p0(i64 32, ptr %126) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %127) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %127) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %126, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %127)
          to label %941 unwind label %962

941:                                              ; preds = %940
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %126, ptr noundef nonnull align 8 dereferenceable(112) %125)
          to label %942 unwind label %966

942:                                              ; preds = %941
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %126) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %127) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %127) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %126) #8
  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) %125) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %125) #8
  br label %1038

943:                                              ; preds = %871, %867
  call void @llvm.lifetime.end.p0(i64 24, ptr %107) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %106) #8
  br label %944

944:                                              ; preds = %943, %855, %833
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %102) #8
  br label %945

945:                                              ; preds = %944, %829
  call void @llvm.lifetime.end.p0(i64 520, ptr %102) #8
  br label %1042

946:                                              ; preds = %930
  %947 = landingpad { ptr, i32 }
          cleanup
  %948 = extractvalue { ptr, i32 } %947, 0
  store ptr %948, ptr %16, align 8
  %949 = extractvalue { ptr, i32 } %947, 1
  store i32 %949, ptr %17, align 4
  br label %1040

950:                                              ; preds = %934
  %951 = landingpad { ptr, i32 }
          cleanup
  %952 = extractvalue { ptr, i32 } %951, 0
  store ptr %952, ptr %16, align 8
  %953 = extractvalue { ptr, i32 } %951, 1
  store i32 %953, ptr %17, align 4
  br label %1039

954:                                              ; preds = %937
  %955 = landingpad { ptr, i32 }
          cleanup
  %956 = extractvalue { ptr, i32 } %955, 0
  store ptr %956, ptr %16, align 8
  %957 = extractvalue { ptr, i32 } %955, 1
  store i32 %957, ptr %17, align 4
  br label %972

958:                                              ; preds = %938
  %959 = landingpad { ptr, i32 }
          cleanup
  %960 = extractvalue { ptr, i32 } %959, 0
  store ptr %960, ptr %16, align 8
  %961 = extractvalue { ptr, i32 } %959, 1
  store i32 %961, ptr %17, align 4
  br label %971

962:                                              ; preds = %940
  %963 = landingpad { ptr, i32 }
          cleanup
  %964 = extractvalue { ptr, i32 } %963, 0
  store ptr %964, ptr %16, align 8
  %965 = extractvalue { ptr, i32 } %963, 1
  store i32 %965, ptr %17, align 4
  br label %970

966:                                              ; preds = %941
  %967 = landingpad { ptr, i32 }
          cleanup
  %968 = extractvalue { ptr, i32 } %967, 0
  store ptr %968, ptr %16, align 8
  %969 = extractvalue { ptr, i32 } %967, 1
  store i32 %969, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %126) #8
  br label %970

970:                                              ; preds = %966, %962
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %127) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %127) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %126) #8
  br label %971

971:                                              ; preds = %970, %958
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %125) #8
  br label %972

972:                                              ; preds = %971, %954
  call void @llvm.lifetime.end.p0(i64 376, ptr %125) #8
  br label %1039

973:                                              ; preds = %936
  call void @llvm.lifetime.start.p0(i64 24, ptr %128) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #8
  %974 = invoke noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr noundef nonnull align 8 dereferenceable(25) %124, ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %86, ptr noundef nonnull align 8 dereferenceable(24) %101, ptr noundef %128)
          to label %975 unwind label %982

975:                                              ; preds = %973
  br i1 %974, label %1005, label %976

976:                                              ; preds = %975
  call void @llvm.lifetime.start.p0(i64 376, ptr %129) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %129)
          to label %977 unwind label %986

977:                                              ; preds = %976
  %978 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef @.str.19)
          to label %979 unwind label %990

979:                                              ; preds = %977
  call void @llvm.lifetime.start.p0(i64 32, ptr %130) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %131) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %131) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %130, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %131)
          to label %980 unwind label %994

980:                                              ; preds = %979
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %130, ptr noundef nonnull align 8 dereferenceable(112) %129)
          to label %981 unwind label %998

981:                                              ; preds = %980
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %130) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %131) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %131) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %130) #8
  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) %129) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %129) #8
  br label %1036

982:                                              ; preds = %1005, %973
  %983 = landingpad { ptr, i32 }
          cleanup
  %984 = extractvalue { ptr, i32 } %983, 0
  store ptr %984, ptr %16, align 8
  %985 = extractvalue { ptr, i32 } %983, 1
  store i32 %985, ptr %17, align 4
  br label %1037

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

990:                                              ; preds = %977
  %991 = landingpad { ptr, i32 }
          cleanup
  %992 = extractvalue { ptr, i32 } %991, 0
  store ptr %992, ptr %16, align 8
  %993 = extractvalue { ptr, i32 } %991, 1
  store i32 %993, ptr %17, align 4
  br label %1003

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

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

1002:                                             ; preds = %998, %994
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %131) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %131) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %130) #8
  br label %1003

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

1004:                                             ; preds = %1003, %986
  call void @llvm.lifetime.end.p0(i64 376, ptr %129) #8
  br label %1037

1005:                                             ; preds = %975
  %1006 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %128) #8
  %1007 = trunc i64 %1006 to i32
  %1008 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %1007, ptr noundef nonnull align 8 dereferenceable(24) %128, ptr noundef @_ZSt4cout, ptr noundef null)
          to label %1009 unwind label %982

1009:                                             ; preds = %1005
  br i1 %1008, label %1035, label %1010

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

1011:                                             ; preds = %1010
  %1012 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %132, ptr noundef @.str.20)
          to label %1013 unwind label %1020

1013:                                             ; preds = %1011
  call void @llvm.lifetime.start.p0(i64 32, ptr %133) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %134) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %134) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %134)
          to label %1014 unwind label %1024

1014:                                             ; preds = %1013
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %133, ptr noundef nonnull align 8 dereferenceable(112) %132)
          to label %1015 unwind label %1028

1015:                                             ; preds = %1014
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %133) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %134) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %134) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %133) #8
  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) %132) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %132) #8
  br label %1036

1016:                                             ; preds = %1010
  %1017 = landingpad { ptr, i32 }
          cleanup
  %1018 = extractvalue { ptr, i32 } %1017, 0
  store ptr %1018, ptr %16, align 8
  %1019 = extractvalue { ptr, i32 } %1017, 1
  store i32 %1019, ptr %17, align 4
  br label %1034

1020:                                             ; preds = %1011
  %1021 = landingpad { ptr, i32 }
          cleanup
  %1022 = extractvalue { ptr, i32 } %1021, 0
  store ptr %1022, ptr %16, align 8
  %1023 = extractvalue { ptr, i32 } %1021, 1
  store i32 %1023, ptr %17, align 4
  br label %1033

1024:                                             ; preds = %1013
  %1025 = landingpad { ptr, i32 }
          cleanup
  %1026 = extractvalue { ptr, i32 } %1025, 0
  store ptr %1026, ptr %16, align 8
  %1027 = extractvalue { ptr, i32 } %1025, 1
  store i32 %1027, ptr %17, align 4
  br label %1032

1028:                                             ; preds = %1014
  %1029 = landingpad { ptr, i32 }
          cleanup
  %1030 = extractvalue { ptr, i32 } %1029, 0
  store ptr %1030, ptr %16, align 8
  %1031 = extractvalue { ptr, i32 } %1029, 1
  store i32 %1031, ptr %17, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %133) #8
  br label %1032

1032:                                             ; preds = %1028, %1024
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %134) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %134) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %133) #8
  br label %1033

1033:                                             ; preds = %1032, %1020
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %132) #8
  br label %1034

1034:                                             ; preds = %1033, %1016
  call void @llvm.lifetime.end.p0(i64 376, ptr %132) #8
  br label %1037

1035:                                             ; preds = %1009
  store i32 0, ptr %3, align 4
  store i32 1, ptr %13, align 4
  br label %1036

1036:                                             ; preds = %1035, %1015, %981
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %128) #8
  br label %1038

1037:                                             ; preds = %1034, %1004, %982
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %128) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %128) #8
  br label %1039

1038:                                             ; preds = %1036, %942
  call void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %124) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %124) #8
  br label %1041

1039:                                             ; preds = %1037, %972, %950
  call void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %124) #8
  br label %1040

1040:                                             ; preds = %1039, %946
  call void @llvm.lifetime.end.p0(i64 32, ptr %124) #8
  br label %1042

1041:                                             ; preds = %1038, %928
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #8
  br label %1043

1042:                                             ; preds = %1040, %945, %825
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %101) #8
  br label %1044

1043:                                             ; preds = %1041, %794
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #8
  br label %1045

1044:                                             ; preds = %1042, %824, %665
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %86) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %86) #8
  br label %1046

1045:                                             ; preds = %1043, %647, %643
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %1047

1046:                                             ; preds = %1044, %650
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  br label %1048

1047:                                             ; preds = %1045, %509, %487
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %1049

1048:                                             ; preds = %1046, %523, %501
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %1051

1049:                                             ; preds = %1047, %438
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %1050 = load i32, ptr %3, align 4
  ret i32 %1050

1051:                                             ; preds = %1048, %441
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %1052

1052:                                             ; preds = %1051
  %1053 = load ptr, ptr %16, align 8
  %1054 = load i32, ptr %17, align 4
  %1055 = insertvalue { ptr, i32 } poison, ptr %1053, 0
  %1056 = insertvalue { ptr, i32 } %1055, i32 %1054, 1
  resume { ptr, i32 } %1056
}

; 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 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(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

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 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #2

declare noundef zeroext i1 @_ZN4sptk9IsInRangeEddd(double noundef, double noundef, double noundef) #2

; 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 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 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 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 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 uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_1ET0_T_S9_S8_T1_"(ptr, ptr, ptr) #4

; 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 noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #3 align 2

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare noundef zeroext i1 @_ZNK4sptk18SpectrumToSpectrum3RunEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(65), ptr noundef) #2

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

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

; Function Attrs: nounwind
declare void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #7

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

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), 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: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 #8 = { nounwind }

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

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


; 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::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.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.3 }
%union.anon.3 = type { i32 }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<double>, std::allocator<std::vector<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::SpectrumToSpectrum" = type <{ ptr, i32, i32, i32, [4 x i8], double, double, %"class.std::vector.10", i8, [7 x i8] }>
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::SpectrumToSpectrum::OperationInterface *, std::allocator<sptk::SpectrumToSpectrum::OperationInterface *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.0" = type { i8 }
%"class.sptk::WorldSynthesis" = type <{ ptr, i32, i32, double, i8, [7 x i8] }>

@.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 [52 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [51 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.13 = external hidden unnamed_addr constant [64 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.16 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [25 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef range(i32 0, 2) i32 @main(i32 noundef %0, ptr noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca %"class.std::__cxx11::basic_string", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.std::allocator", align 1
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::allocator", align 1
  %27 = alloca i32, align 4
  %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 i32, align 4
  %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::vector", align 8
  %46 = alloca %"class.std::basic_ifstream", align 8
  %47 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %48 = alloca %"class.std::__cxx11::basic_string", align 8
  %49 = alloca %"class.std::allocator", align 1
  %50 = alloca double, align 8
  %51 = alloca %"class.std::vector.5", align 8
  %52 = alloca %"class.sptk::SpectrumToSpectrum", align 8
  %53 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator", align 1
  %56 = alloca %"class.std::basic_ifstream", align 8
  %57 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %58 = alloca %"class.std::__cxx11::basic_string", align 8
  %59 = alloca %"class.std::allocator", align 1
  %60 = alloca %"class.std::vector", align 8
  %61 = alloca %"class.std::allocator.0", align 1
  %62 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %63 = alloca %"class.std::__cxx11::basic_string", align 8
  %64 = alloca %"class.std::allocator", align 1
  %65 = alloca %"class.std::vector.5", align 8
  %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 %"class.std::vector", align 8
  %71 = alloca %"class.std::allocator.0", align 1
  %72 = alloca %"class.sptk::WorldSynthesis", align 8
  %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::vector", align 8
  %77 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %78 = alloca %"class.std::__cxx11::basic_string", align 8
  %79 = alloca %"class.std::allocator", align 1
  %80 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %81 = alloca %"class.std::__cxx11::basic_string", align 8
  %82 = alloca %"class.std::allocator", align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 1024, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #8
  store i32 80, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  store double 1.600000e+01, ptr %5, align 8, !tbaa !9
  br label %.thread.outer

.thread.outer:                                    ; preds = %.thread302, %2
  %.086.ph = phi i32 [ %275, %.thread302 ], [ 0, %2 ]
  %.082.ph = phi i32 [ %.082.ph627, %.thread302 ], [ 0, %2 ]
  %.078.ph = phi i32 [ %.078.ph630, %.thread302 ], [ 0, %2 ]
  br label %.thread.outer626

.thread.outer626:                                 ; preds = %.thread.outer, %.thread297
  %.082.ph627 = phi i32 [ %.082.ph, %.thread.outer ], [ %239, %.thread297 ]
  %.078.ph628 = phi i32 [ %.078.ph, %.thread.outer ], [ %.078.ph630, %.thread297 ]
  br label %.thread.outer629

.thread.outer629:                                 ; preds = %.thread.outer626, %.thread292
  %.078.ph630 = phi i32 [ %.078.ph628, %.thread.outer626 ], [ %203, %.thread292 ]
  br label %.thread

.thread:                                          ; preds = %.thread.backedge, %.thread.outer629
  %83 = call i32 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null)
  switch i32 %83, label %279 [
    i32 -1, label %280
    i32 108, label %84
    i32 112, label %109
    i32 115, label %134
    i32 70, label %170
    i32 83, label %206
    i32 65, label %242
    i32 104, label %278
  ]

84:                                               ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #8
  %85 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %85, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %86 unwind label %96

86:                                               ; preds = %84
  %87 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %3)
          to label %88 unwind label %98

88:                                               ; preds = %86
  %89 = load i32, ptr %3, align 4
  %90 = icmp sgt i32 %89, 511
  %.not225 = select i1 %87, i1 %90, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br i1 %.not225, label %.thread.backedge, label %91

91:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %8) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %8)
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull @.str.1)
          to label %93 unwind label %101

93:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %10)
          to label %94 unwind label %103

94:                                               ; preds = %93
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(112) %8)
          to label %95 unwind label %105

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

96:                                               ; preds = %84
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %100

98:                                               ; preds = %86
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #8
  br label %100

100:                                              ; preds = %98, %96
  %.pn223 = phi { ptr, i32 } [ %99, %98 ], [ %97, %96 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #8
  br label %627

101:                                              ; preds = %91
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %108

103:                                              ; preds = %93
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %107

105:                                              ; preds = %94
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  br label %107

107:                                              ; preds = %105, %103
  %.pn226 = phi { ptr, i32 } [ %106, %105 ], [ %104, %103 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %108

108:                                              ; preds = %107, %101
  %.pn226.pn = phi { ptr, i32 } [ %.pn226, %107 ], [ %102, %101 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %8) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %8) #8
  br label %627

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

111:                                              ; preds = %109
  %112 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %4)
          to label %113 unwind label %123

113:                                              ; preds = %111
  %114 = load i32, ptr %4, align 4
  %115 = icmp sgt i32 %114, 0
  %.not219 = select i1 %112, i1 %115, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br i1 %.not219, label %.thread.backedge, label %116

116:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13)
  %117 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull @.str.3)
          to label %118 unwind label %126

118:                                              ; preds = %116
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %119 unwind label %128

119:                                              ; preds = %118
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %120 unwind label %130

120:                                              ; preds = %119
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %13) #8
  br label %.thread307

121:                                              ; preds = %109
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %125

123:                                              ; preds = %111
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %125

125:                                              ; preds = %123, %121
  %.pn217 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %627

126:                                              ; preds = %116
  %127 = landingpad { ptr, i32 }
          cleanup
  br label %133

128:                                              ; preds = %118
  %129 = landingpad { ptr, i32 }
          cleanup
  br label %132

130:                                              ; preds = %119
  %131 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %132

132:                                              ; preds = %130, %128
  %.pn220 = phi { ptr, i32 } [ %131, %130 ], [ %129, %128 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %133

133:                                              ; preds = %132, %126
  %.pn220.pn = phi { ptr, i32 } [ %.pn220, %132 ], [ %127, %126 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %13) #8
  br label %627

134:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %16) #8
  %135 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef %135, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %136 unwind label %156

136:                                              ; preds = %134
  %137 = invoke noundef zeroext i1 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull %5)
          to label %138 unwind label %158

138:                                              ; preds = %136
  br i1 %137, label %139, label %.critedge

139:                                              ; preds = %138
  %140 = load double, ptr %5, align 8, !tbaa !9
  %141 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEddd(double noundef %140, double noundef 8.000000e+00, double noundef 9.800000e+01)
          to label %142 unwind label %158

142:                                              ; preds = %139
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  br i1 %141, label %.thread.backedge, label %.loopexit337

.thread.backedge:                                 ; preds = %142, %88, %113
  br label %.thread

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

.loopexit337:                                     ; preds = %142, %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %18) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18)
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @.str.4)
          to label %144 unwind label %161

144:                                              ; preds = %.loopexit337
  %145 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %143, ptr noundef nonnull @.str.5)
          to label %146 unwind label %161

146:                                              ; preds = %144
  %147 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %145, double noundef 8.000000e+00)
          to label %148 unwind label %161

148:                                              ; preds = %146
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef nonnull @.str.6)
          to label %150 unwind label %161

150:                                              ; preds = %148
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %149, double noundef 9.800000e+01)
          to label %152 unwind label %161

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

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %155 unwind label %163

155:                                              ; preds = %154
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %169 unwind label %165

156:                                              ; preds = %134
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %139, %136
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %160

160:                                              ; preds = %158, %156
  %.pn211 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  br label %627

161:                                              ; preds = %152, %150, %148, %146, %144, %.loopexit337
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %168

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

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

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

168:                                              ; preds = %167, %161
  %.pn213.pn = phi { ptr, i32 } [ %.pn213, %167 ], [ %162, %161 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %18) #8
  br label %627

169:                                              ; preds = %155
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %18) #8
  br label %.thread307

170:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #8
  %171 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %171, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %172 unwind label %190

172:                                              ; preds = %170
  %173 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull %21)
          to label %174 unwind label %192

174:                                              ; preds = %172
  br i1 %173, label %175, label %.critedge8

175:                                              ; preds = %174
  %176 = load i32, ptr %21, align 4, !tbaa !5
  %177 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %176, i32 noundef 0, i32 noundef 2)
          to label %178 unwind label %192

178:                                              ; preds = %175
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br i1 %177, label %.thread292, label %.loopexit336

.critedge8:                                       ; preds = %174
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %.loopexit336

.loopexit336:                                     ; preds = %178, %.critedge8
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %24) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24)
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @.str.8)
          to label %180 unwind label %195

180:                                              ; preds = %.loopexit336
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull @.str.9)
          to label %182 unwind label %195

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %181, i32 noundef 0)
          to label %184 unwind label %195

184:                                              ; preds = %182
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @.str.10)
          to label %186 unwind label %195

186:                                              ; preds = %184
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %185, i32 noundef 2)
          to label %188 unwind label %195

188:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %189 unwind label %197

189:                                              ; preds = %188
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(112) %24)
          to label %204 unwind label %199

190:                                              ; preds = %170
  %191 = landingpad { ptr, i32 }
          cleanup
  br label %194

192:                                              ; preds = %175, %172
  %193 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #8
  br label %194

194:                                              ; preds = %192, %190
  %.pn205 = phi { ptr, i32 } [ %193, %192 ], [ %191, %190 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #8
  br label %205

195:                                              ; preds = %186, %184, %182, %180, %.loopexit336
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %202

197:                                              ; preds = %188
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %189
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  br label %201

201:                                              ; preds = %199, %197
  %.pn207 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  br label %202

202:                                              ; preds = %201, %195
  %.pn207.pn = phi { ptr, i32 } [ %.pn207, %201 ], [ %196, %195 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %24) #8
  br label %205

.thread292:                                       ; preds = %178
  %203 = load i32, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  br label %.thread.outer629

204:                                              ; preds = %189
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  br label %.thread307

205:                                              ; preds = %202, %194
  %.pn207.pn.pn = phi { ptr, i32 } [ %.pn207.pn, %202 ], [ %.pn205, %194 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  br label %627

206:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #8
  %207 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef %207, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %208 unwind label %226

208:                                              ; preds = %206
  %209 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull %27)
          to label %210 unwind label %228

210:                                              ; preds = %208
  br i1 %209, label %211, label %.critedge10

211:                                              ; preds = %210
  %212 = load i32, ptr %27, align 4, !tbaa !5
  %213 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %212, i32 noundef 0, i32 noundef 3)
          to label %214 unwind label %228

214:                                              ; preds = %211
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #8
  br i1 %213, label %.thread297, label %.loopexit335

.critedge10:                                      ; preds = %210
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #8
  br label %.loopexit335

.loopexit335:                                     ; preds = %214, %.critedge10
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %30) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30)
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @.str.11)
          to label %216 unwind label %231

216:                                              ; preds = %.loopexit335
  %217 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull @.str.9)
          to label %218 unwind label %231

218:                                              ; preds = %216
  %219 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %217, i32 noundef 0)
          to label %220 unwind label %231

220:                                              ; preds = %218
  %221 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %219, ptr noundef nonnull @.str.10)
          to label %222 unwind label %231

222:                                              ; preds = %220
  %223 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %221, i32 noundef 3)
          to label %224 unwind label %231

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %225 unwind label %233

225:                                              ; preds = %224
  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 %240 unwind label %235

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

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

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

231:                                              ; preds = %222, %220, %218, %216, %.loopexit335
  %232 = landingpad { ptr, i32 }
          cleanup
  br label %238

233:                                              ; preds = %224
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

235:                                              ; preds = %225
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  br label %237

237:                                              ; preds = %235, %233
  %.pn201 = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #8
  br label %238

238:                                              ; preds = %237, %231
  %.pn201.pn = phi { ptr, i32 } [ %.pn201, %237 ], [ %232, %231 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %30) #8
  br label %241

.thread297:                                       ; preds = %214
  %239 = load i32, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  br label %.thread.outer626

240:                                              ; preds = %225
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  br label %.thread307

241:                                              ; preds = %238, %230
  %.pn201.pn.pn = phi { ptr, i32 } [ %.pn201.pn, %238 ], [ %.pn199, %230 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #8
  br label %627

242:                                              ; preds = %.thread
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #8
  %243 = load ptr, ptr @ya_optarg, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef %243, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %244 unwind label %262

244:                                              ; preds = %242
  %245 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull %33)
          to label %246 unwind label %264

246:                                              ; preds = %244
  br i1 %245, label %247, label %.critedge12

247:                                              ; preds = %246
  %248 = load i32, ptr %33, align 4, !tbaa !5
  %249 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %248, i32 noundef 0, i32 noundef 3)
          to label %250 unwind label %264

250:                                              ; preds = %247
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br i1 %249, label %.thread302, label %.loopexit334

.critedge12:                                      ; preds = %246
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br label %.loopexit334

.loopexit334:                                     ; preds = %250, %.critedge12
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %36) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36)
  %251 = 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.12)
          to label %252 unwind label %267

252:                                              ; preds = %.loopexit334
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @.str.9)
          to label %254 unwind label %267

254:                                              ; preds = %252
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %253, i32 noundef 0)
          to label %256 unwind label %267

256:                                              ; preds = %254
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %255, ptr noundef nonnull @.str.10)
          to label %258 unwind label %267

258:                                              ; preds = %256
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %257, i32 noundef 3)
          to label %260 unwind label %267

260:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %37) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %261 unwind label %269

261:                                              ; preds = %260
  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 %276 unwind label %271

262:                                              ; preds = %242
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %266

264:                                              ; preds = %247, %244
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #8
  br label %266

266:                                              ; preds = %264, %262
  %.pn = phi { ptr, i32 } [ %265, %264 ], [ %263, %262 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #8
  br label %277

267:                                              ; preds = %258, %256, %254, %252, %.loopexit334
  %268 = landingpad { ptr, i32 }
          cleanup
  br label %274

269:                                              ; preds = %260
  %270 = landingpad { ptr, i32 }
          cleanup
  br label %273

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

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

274:                                              ; preds = %273, %267
  %.pn195.pn = phi { ptr, i32 } [ %.pn195, %273 ], [ %268, %267 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #8
  br label %277

.thread302:                                       ; preds = %250
  %275 = load i32, ptr %33, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #8
  br label %.thread.outer

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

277:                                              ; preds = %274, %266
  %.pn195.pn.pn = phi { ptr, i32 } [ %.pn195.pn, %274 ], [ %.pn, %266 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %33) #8
  br label %627

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

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

280:                                              ; preds = %.thread
  %281 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %282 = sub nsw i32 %0, %281
  switch i32 %282, label %295 [
    i32 3, label %283
    i32 2, label %290
  ]

283:                                              ; preds = %280
  %284 = sext i32 %0 to i64
  %285 = getelementptr ptr, ptr %1, i64 %284
  %286 = getelementptr i8, ptr %285, i64 -24
  %287 = getelementptr i8, ptr %285, i64 -16
  %288 = getelementptr i8, ptr %285, i64 -8
  %289 = load ptr, ptr %288, align 8, !tbaa !11
  br label %308

290:                                              ; preds = %280
  %291 = sext i32 %0 to i64
  %292 = getelementptr ptr, ptr %1, i64 %291
  %293 = getelementptr i8, ptr %292, i64 -16
  %294 = getelementptr i8, ptr %292, i64 -8
  br label %308

295:                                              ; preds = %280
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %39) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39)
  %296 = 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.13)
          to label %297 unwind label %300

297:                                              ; preds = %295
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %41) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %298 unwind label %302

298:                                              ; preds = %297
  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 %299 unwind label %304

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

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

302:                                              ; preds = %297
  %303 = landingpad { ptr, i32 }
          cleanup
  br label %306

304:                                              ; preds = %298
  %305 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #8
  br label %306

306:                                              ; preds = %304, %302
  %.pn230 = phi { ptr, i32 } [ %305, %304 ], [ %303, %302 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #8
  br label %307

307:                                              ; preds = %306, %300
  %.pn230.pn = phi { ptr, i32 } [ %.pn230, %306 ], [ %301, %300 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %39) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %39) #8
  br label %627

308:                                              ; preds = %290, %283
  %.0191 = phi ptr [ %289, %283 ], [ null, %290 ]
  %.0190.in = phi ptr [ %287, %283 ], [ %294, %290 ]
  %.0189.in = phi ptr [ %286, %283 ], [ %293, %290 ]
  %.0189 = load ptr, ptr %.0189.in, align 8, !tbaa !11
  %.0190 = load ptr, ptr %.0190.in, align 8, !tbaa !11
  %309 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %309, label %323, label %310

310:                                              ; preds = %308
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %42) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42)
  %311 = 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.14)
          to label %312 unwind label %315

312:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %44)
          to label %313 unwind label %317

313:                                              ; preds = %312
  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 %314 unwind label %319

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

315:                                              ; preds = %310
  %316 = landingpad { ptr, i32 }
          cleanup
  br label %322

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

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

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

322:                                              ; preds = %321, %315
  %.pn233.pn = phi { ptr, i32 } [ %.pn233, %321 ], [ %316, %315 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %42) #8
  br label %627

323:                                              ; preds = %308
  %324 = load i32, ptr %3, align 4, !tbaa !5
  %325 = sdiv i32 %324, 2
  %326 = add nsw i32 %325, 1
  %327 = load double, ptr %5, align 8, !tbaa !9
  %328 = fmul double %327, 1.000000e+03
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %45) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %46) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %46)
          to label %329 unwind label %346

329:                                              ; preds = %323
  %.not = icmp eq ptr %.0191, null
  br i1 %.not, label %361, label %330

330:                                              ; preds = %329
  %331 = 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) %46, ptr noundef nonnull %.0191, i32 noundef %331)
          to label %332 unwind label %348

332:                                              ; preds = %330
  %333 = load ptr, ptr %46, align 8, !tbaa !13
  %334 = getelementptr i8, ptr %333, i64 -24
  %335 = load i64, ptr %334, align 8
  %336 = getelementptr inbounds i8, ptr %46, i64 %335
  %337 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %336)
          to label %338 unwind label %348

338:                                              ; preds = %332
  br i1 %337, label %339, label %361

339:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %47) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %47)
          to label %340 unwind label %350

340:                                              ; preds = %339
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @.str.15)
          to label %342 unwind label %352

342:                                              ; preds = %340
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %341, ptr noundef nonnull %.0191)
          to label %344 unwind label %352

344:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %48) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %49) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %49)
          to label %345 unwind label %354

345:                                              ; preds = %344
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(112) %47)
          to label %380 unwind label %356

346:                                              ; preds = %323
  %347 = landingpad { ptr, i32 }
          cleanup
  br label %384

348:                                              ; preds = %332, %330
  %349 = landingpad { ptr, i32 }
          cleanup
  br label %383

350:                                              ; preds = %339
  %351 = landingpad { ptr, i32 }
          cleanup
  br label %360

352:                                              ; preds = %342, %340
  %353 = landingpad { ptr, i32 }
          cleanup
  br label %359

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

356:                                              ; preds = %345
  %357 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  br label %358

358:                                              ; preds = %356, %354
  %.pn236 = phi { ptr, i32 } [ %357, %356 ], [ %355, %354 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %49) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #8
  br label %359

359:                                              ; preds = %358, %352
  %.pn236.pn = phi { ptr, i32 } [ %.pn236, %358 ], [ %353, %352 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %47) #8
  br label %360

360:                                              ; preds = %359, %350
  %.pn236.pn.pn = phi { ptr, i32 } [ %.pn236.pn, %359 ], [ %351, %350 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %47) #8
  br label %383

361:                                              ; preds = %338, %329
  %362 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %46)
  %363 = select i1 %362, ptr %46, ptr @_ZSt3cin
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %50) #8
  br label %364

364:                                              ; preds = %367, %361
  %365 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbPT_PSi(ptr noundef nonnull %50, ptr noundef nonnull %363)
          to label %366 unwind label %.loopexit333

366:                                              ; preds = %364
  br i1 %365, label %367, label %369

367:                                              ; preds = %366
  invoke void @_ZNSt6vectorIdSaIdEE9push_backERKd(ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(8) %50)
          to label %364 unwind label %.loopexit333, !llvm.loop !15

.loopexit333:                                     ; preds = %364, %367
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %368

.loopexit.split-lp:                               ; preds = %370, %375
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %368

368:                                              ; preds = %.loopexit.split-lp, %.loopexit333
  %lpad.phi = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit333 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #8
  br label %383

369:                                              ; preds = %366
  switch i32 %.078.ph630, label %381 [
    i32 0, label %370
    i32 2, label %375
  ]

370:                                              ; preds = %369
  %371 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %372 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %373 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %374 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_0ET0_T_S9_S8_T1_"(ptr %371, ptr %372, ptr %373, double %328)
          to label %381 unwind label %.loopexit.split-lp

375:                                              ; preds = %369
  %376 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %377 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %378 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  %379 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_1ET0_T_S9_S8_T1_"(ptr %376, ptr %377, ptr %378)
          to label %381 unwind label %.loopexit.split-lp

380:                                              ; preds = %345
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %49) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %49) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %48) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %47) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %47) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %46) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %46) #8
  br label %625

381:                                              ; preds = %369, %370, %375
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %50) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %46) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %46) #8
  %382 = call noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  br i1 %382, label %625, label %385

383:                                              ; preds = %368, %360, %348
  %.pn236.pn.pn.pn = phi { ptr, i32 } [ %.pn236.pn.pn, %360 ], [ %lpad.phi, %368 ], [ %349, %348 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %46) #8
  br label %384

384:                                              ; preds = %383, %346
  %.pn236.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn236.pn.pn.pn, %383 ], [ %347, %346 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %46) #8
  br label %626

385:                                              ; preds = %381
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %51) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  %386 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %386)
          to label %387 unwind label %396

387:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %52) #8
  %388 = load i32, ptr %3, align 4, !tbaa !5
  invoke void @_ZN4sptk18SpectrumToSpectrumC1EiNS0_18InputOutputFormatsES1_dd(ptr noundef nonnull align 8 dereferenceable(65) %52, i32 noundef %388, i32 noundef %.082.ph627, i32 noundef 3, double noundef 0.000000e+00, double noundef 0xFFEFFFFFFFFFFFFF)
          to label %389 unwind label %398

389:                                              ; preds = %387
  %390 = call noundef zeroext i1 @_ZNK4sptk18SpectrumToSpectrum7IsValidEv(ptr noundef nonnull align 8 dereferenceable(65) %52)
  br i1 %390, label %411, label %391

391:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %53) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53)
          to label %392 unwind label %400

392:                                              ; preds = %391
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @.str.16)
          to label %394 unwind label %402

394:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %55) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %55)
          to label %395 unwind label %404

395:                                              ; preds = %394
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(112) %53)
          to label %.thread327 unwind label %406

.thread327:                                       ; preds = %395
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %53) #8
  call void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65) %52) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %52) #8
  br label %623

396:                                              ; preds = %385
  %397 = landingpad { ptr, i32 }
          cleanup
  br label %624

398:                                              ; preds = %387
  %399 = landingpad { ptr, i32 }
          cleanup
  br label %500

400:                                              ; preds = %391
  %401 = landingpad { ptr, i32 }
          cleanup
  br label %410

402:                                              ; preds = %392
  %403 = landingpad { ptr, i32 }
          cleanup
  br label %409

404:                                              ; preds = %394
  %405 = landingpad { ptr, i32 }
          cleanup
  br label %408

406:                                              ; preds = %395
  %407 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  br label %408

408:                                              ; preds = %406, %404
  %.pn242 = phi { ptr, i32 } [ %407, %406 ], [ %405, %404 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #8
  br label %409

409:                                              ; preds = %408, %402
  %.pn242.pn = phi { ptr, i32 } [ %.pn242, %408 ], [ %403, %402 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #8
  br label %410

410:                                              ; preds = %409, %400
  %.pn242.pn.pn = phi { ptr, i32 } [ %.pn242.pn, %409 ], [ %401, %400 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %53) #8
  br label %499

411:                                              ; preds = %389
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %56) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %56)
          to label %412 unwind label %429

412:                                              ; preds = %411
  %413 = 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) %56, ptr noundef %.0189, i32 noundef %413)
          to label %414 unwind label %431

414:                                              ; preds = %412
  %415 = load ptr, ptr %56, align 8, !tbaa !13
  %416 = getelementptr i8, ptr %415, i64 -24
  %417 = load i64, ptr %416, align 8
  %418 = getelementptr inbounds i8, ptr %56, i64 %417
  %419 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %418)
          to label %420 unwind label %431

420:                                              ; preds = %414
  br i1 %419, label %421, label %444

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

422:                                              ; preds = %421
  %423 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull @.str.15)
          to label %424 unwind label %435

424:                                              ; preds = %422
  %425 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %423, ptr noundef %.0189)
          to label %426 unwind label %435

426:                                              ; preds = %424
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %58) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %59) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %59)
          to label %427 unwind label %437

427:                                              ; preds = %426
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(112) %57)
          to label %428 unwind label %439

428:                                              ; preds = %427
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %57) #8
  br label %475

429:                                              ; preds = %411
  %430 = landingpad { ptr, i32 }
          cleanup
  br label %498

431:                                              ; preds = %414, %412
  %432 = landingpad { ptr, i32 }
          cleanup
  br label %497

433:                                              ; preds = %421
  %434 = landingpad { ptr, i32 }
          cleanup
  br label %443

435:                                              ; preds = %424, %422
  %436 = landingpad { ptr, i32 }
          cleanup
  br label %442

437:                                              ; preds = %426
  %438 = landingpad { ptr, i32 }
          cleanup
  br label %441

439:                                              ; preds = %427
  %440 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #8
  br label %441

441:                                              ; preds = %439, %437
  %.pn253 = phi { ptr, i32 } [ %440, %439 ], [ %438, %437 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #8
  br label %442

442:                                              ; preds = %441, %435
  %.pn253.pn = phi { ptr, i32 } [ %.pn253, %441 ], [ %436, %435 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #8
  br label %443

443:                                              ; preds = %442, %433
  %.pn253.pn.pn = phi { ptr, i32 } [ %.pn253.pn, %442 ], [ %434, %433 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %57) #8
  br label %497

444:                                              ; preds = %420
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %60) #8
  %445 = sext i32 %326 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %61) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef %445, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %446 unwind label %459

446:                                              ; preds = %444
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  br label %447

447:                                              ; preds = %474, %446
  %448 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %326, ptr noundef nonnull %60, ptr noundef nonnull %56, ptr noundef null)
          to label %449 unwind label %461

449:                                              ; preds = %447
  br i1 %448, label %450, label %.loopexit

450:                                              ; preds = %449
  %451 = invoke noundef zeroext i1 @_ZNK4sptk18SpectrumToSpectrum3RunEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(65) %52, ptr noundef nonnull %60)
          to label %452 unwind label %461

452:                                              ; preds = %450
  br i1 %451, label %474, label %453

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

454:                                              ; preds = %453
  %455 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @.str.17)
          to label %456 unwind label %465

456:                                              ; preds = %454
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %63) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %64) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %64)
          to label %457 unwind label %467

457:                                              ; preds = %456
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(112) %62)
          to label %458 unwind label %469

458:                                              ; preds = %457
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %62) #8
  br label %.loopexit

459:                                              ; preds = %444
  %460 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %61) #8
  br label %496

461:                                              ; preds = %474, %450, %447
  %462 = landingpad { ptr, i32 }
          cleanup
  br label %495

463:                                              ; preds = %453
  %464 = landingpad { ptr, i32 }
          cleanup
  br label %473

465:                                              ; preds = %454
  %466 = landingpad { ptr, i32 }
          cleanup
  br label %472

467:                                              ; preds = %456
  %468 = landingpad { ptr, i32 }
          cleanup
  br label %471

469:                                              ; preds = %457
  %470 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #8
  br label %471

471:                                              ; preds = %469, %467
  %.pn246 = phi { ptr, i32 } [ %470, %469 ], [ %468, %467 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %64) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %64) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %63) #8
  br label %472

472:                                              ; preds = %471, %465
  %.pn246.pn = phi { ptr, i32 } [ %.pn246, %471 ], [ %466, %465 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %62) #8
  br label %473

473:                                              ; preds = %472, %463
  %.pn246.pn.pn = phi { ptr, i32 } [ %.pn246.pn, %472 ], [ %464, %463 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %62) #8
  br label %495

474:                                              ; preds = %452
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %447 unwind label %461, !llvm.loop !17

.loopexit:                                        ; preds = %449, %458
  %.8 = phi i32 [ 1, %458 ], [ 0, %449 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #8
  br label %475

475:                                              ; preds = %428, %.loopexit
  %.9 = phi i32 [ 1, %428 ], [ %.8, %.loopexit ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %56) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %56) #8
  call void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65) %52) #8
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %52) #8
  %cond1 = icmp eq i32 %.9, 0
  br i1 %cond1, label %476, label %623

476:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %65) #8
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  %477 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE7reserveEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %477)
          to label %478 unwind label %501

478:                                              ; preds = %476
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %66) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66)
          to label %479 unwind label %503

479:                                              ; preds = %478
  %480 = 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) %66, ptr noundef %.0190, i32 noundef %480)
          to label %481 unwind label %505

481:                                              ; preds = %479
  %482 = load ptr, ptr %66, align 8, !tbaa !13
  %483 = getelementptr i8, ptr %482, i64 -24
  %484 = load i64, ptr %483, align 8
  %485 = getelementptr inbounds i8, ptr %66, i64 %484
  %486 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %485)
          to label %487 unwind label %505

487:                                              ; preds = %481
  br i1 %486, label %488, label %518

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

489:                                              ; preds = %488
  %490 = 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.15)
          to label %491 unwind label %509

491:                                              ; preds = %489
  %492 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %490, ptr noundef %.0190)
          to label %493 unwind label %509

493:                                              ; preds = %491
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %68) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %69) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %69)
          to label %494 unwind label %511

494:                                              ; preds = %493
  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 %.thread331 unwind label %513

.thread331:                                       ; preds = %494
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %67) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %66) #8
  br label %621

495:                                              ; preds = %473, %461
  %.pn250 = phi { ptr, i32 } [ %462, %461 ], [ %.pn246.pn.pn, %473 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  br label %496

496:                                              ; preds = %495, %459
  %.pn250.pn = phi { ptr, i32 } [ %.pn250, %495 ], [ %460, %459 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %60) #8
  br label %497

497:                                              ; preds = %496, %443, %431
  %.pn253.pn.pn.pn = phi { ptr, i32 } [ %.pn253.pn.pn, %443 ], [ %.pn250.pn, %496 ], [ %432, %431 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %56) #8
  br label %498

498:                                              ; preds = %497, %429
  %.pn253.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn253.pn.pn.pn, %497 ], [ %430, %429 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %56) #8
  br label %499

499:                                              ; preds = %498, %410
  %.pn253.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn253.pn.pn.pn.pn, %498 ], [ %.pn242.pn.pn, %410 ]
  call void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65) %52) #8
  br label %500

500:                                              ; preds = %499, %398
  %.pn253.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn253.pn.pn.pn.pn.pn, %499 ], [ %399, %398 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %52) #8
  br label %624

501:                                              ; preds = %476
  %502 = landingpad { ptr, i32 }
          cleanup
  br label %622

503:                                              ; preds = %478
  %504 = landingpad { ptr, i32 }
          cleanup
  br label %558

505:                                              ; preds = %481, %479
  %506 = landingpad { ptr, i32 }
          cleanup
  br label %557

507:                                              ; preds = %488
  %508 = landingpad { ptr, i32 }
          cleanup
  br label %517

509:                                              ; preds = %491, %489
  %510 = landingpad { ptr, i32 }
          cleanup
  br label %516

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

513:                                              ; preds = %494
  %514 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  br label %515

515:                                              ; preds = %513, %511
  %.pn263 = phi { ptr, i32 } [ %514, %513 ], [ %512, %511 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %69) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %68) #8
  br label %516

516:                                              ; preds = %515, %509
  %.pn263.pn = phi { ptr, i32 } [ %.pn263, %515 ], [ %510, %509 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %67) #8
  br label %517

517:                                              ; preds = %516, %507
  %.pn263.pn.pn = phi { ptr, i32 } [ %.pn263.pn, %516 ], [ %508, %507 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %67) #8
  br label %557

518:                                              ; preds = %487
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %70) #8
  %519 = sext i32 %326 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %71) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %70, i64 noundef %519, ptr noundef nonnull align 1 dereferenceable(1) %71)
          to label %520 unwind label %525

520:                                              ; preds = %518
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #8
  br label %521

521:                                              ; preds = %544, %520
  %522 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %326, ptr noundef nonnull %70, ptr noundef nonnull %66, ptr noundef null)
          to label %523 unwind label %527

523:                                              ; preds = %521
  br i1 %522, label %524, label %545

524:                                              ; preds = %523
  switch i32 %.086.ph, label %544 [
    i32 3, label %539
    i32 1, label %529
    i32 2, label %534
  ]

525:                                              ; preds = %518
  %526 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %71) #8
  br label %556

527:                                              ; preds = %544, %539, %534, %529, %521
  %528 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  br label %556

529:                                              ; preds = %524
  %530 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %531 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %532 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %533 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_2ET0_T_S9_S8_T1_"(ptr %530, ptr %531, ptr %532)
          to label %544 unwind label %527

534:                                              ; preds = %524
  %535 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %536 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %537 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %538 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_3ET0_T_S9_S8_T1_"(ptr %535, ptr %536, ptr %537)
          to label %544 unwind label %527

539:                                              ; preds = %524
  %540 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %541 = call ptr @_ZNSt6vectorIdSaIdEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %542 = call ptr @_ZNSt6vectorIdSaIdEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  %543 = invoke ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_4ET0_T_S9_S8_T1_"(ptr %540, ptr %541, ptr %542)
          to label %544 unwind label %527

544:                                              ; preds = %539, %534, %529, %524
  invoke void @_ZNSt6vectorIS_IdSaIdEESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull align 8 dereferenceable(24) %70)
          to label %521 unwind label %527, !llvm.loop !18

545:                                              ; preds = %523
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %70) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %66) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %72) #8
  %546 = load i32, ptr %3, align 4, !tbaa !5
  %547 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN4sptk14WorldSynthesisC1Eiid(ptr noundef nonnull align 8 dereferenceable(25) %72, i32 noundef %546, i32 noundef %547, double noundef %328)
          to label %548 unwind label %559

548:                                              ; preds = %545
  %549 = call noundef zeroext i1 @_ZNK4sptk14WorldSynthesis7IsValidEv(ptr noundef nonnull align 8 dereferenceable(25) %72)
  br i1 %549, label %572, label %550

550:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %73) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %73)
          to label %551 unwind label %561

551:                                              ; preds = %550
  %552 = 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.18)
          to label %553 unwind label %563

553:                                              ; preds = %551
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %74) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %75) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %75)
          to label %554 unwind label %565

554:                                              ; preds = %553
  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 %555 unwind label %567

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

556:                                              ; preds = %527, %525
  %.pn261 = phi { ptr, i32 } [ %528, %527 ], [ %526, %525 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %70) #8
  br label %557

557:                                              ; preds = %556, %517, %505
  %.pn263.pn.pn.pn = phi { ptr, i32 } [ %.pn263.pn.pn, %517 ], [ %.pn261, %556 ], [ %506, %505 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %66) #8
  br label %558

558:                                              ; preds = %557, %503
  %.pn263.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn263.pn.pn.pn, %557 ], [ %504, %503 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %66) #8
  br label %622

559:                                              ; preds = %545
  %560 = landingpad { ptr, i32 }
          cleanup
  br label %620

561:                                              ; preds = %550
  %562 = landingpad { ptr, i32 }
          cleanup
  br label %571

563:                                              ; preds = %551
  %564 = landingpad { ptr, i32 }
          cleanup
  br label %570

565:                                              ; preds = %553
  %566 = landingpad { ptr, i32 }
          cleanup
  br label %569

567:                                              ; preds = %554
  %568 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #8
  br label %569

569:                                              ; preds = %567, %565
  %.pn269 = phi { ptr, i32 } [ %568, %567 ], [ %566, %565 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %75) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %75) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %74) #8
  br label %570

570:                                              ; preds = %569, %563
  %.pn269.pn = phi { ptr, i32 } [ %.pn269, %569 ], [ %564, %563 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %73) #8
  br label %571

571:                                              ; preds = %570, %561
  %.pn269.pn.pn = phi { ptr, i32 } [ %.pn269.pn, %570 ], [ %562, %561 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %73) #8
  br label %619

572:                                              ; preds = %548
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %76) #8
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  %573 = invoke noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr noundef nonnull align 8 dereferenceable(25) %72, ptr noundef nonnull align 8 dereferenceable(24) %45, ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(24) %65, ptr noundef nonnull %76)
          to label %574 unwind label %581

574:                                              ; preds = %572
  br i1 %573, label %594, label %575

575:                                              ; preds = %574
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %77) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77)
          to label %576 unwind label %583

576:                                              ; preds = %575
  %577 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @.str.19)
          to label %578 unwind label %585

578:                                              ; preds = %576
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %78) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %79) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %79)
          to label %579 unwind label %587

579:                                              ; preds = %578
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(112) %77)
          to label %580 unwind label %589

580:                                              ; preds = %579
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %77) #8
  br label %616

581:                                              ; preds = %594, %572
  %582 = landingpad { ptr, i32 }
          cleanup
  br label %617

583:                                              ; preds = %575
  %584 = landingpad { ptr, i32 }
          cleanup
  br label %593

585:                                              ; preds = %576
  %586 = landingpad { ptr, i32 }
          cleanup
  br label %592

587:                                              ; preds = %578
  %588 = landingpad { ptr, i32 }
          cleanup
  br label %591

589:                                              ; preds = %579
  %590 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #8
  br label %591

591:                                              ; preds = %589, %587
  %.pn273 = phi { ptr, i32 } [ %590, %589 ], [ %588, %587 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %79) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %79) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %78) #8
  br label %592

592:                                              ; preds = %591, %585
  %.pn273.pn = phi { ptr, i32 } [ %.pn273, %591 ], [ %586, %585 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %77) #8
  br label %593

593:                                              ; preds = %592, %583
  %.pn273.pn.pn = phi { ptr, i32 } [ %.pn273.pn, %592 ], [ %584, %583 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %77) #8
  br label %617

594:                                              ; preds = %574
  %595 = call noundef i64 @_ZNKSt6vectorIdSaIdEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  %596 = trunc i64 %595 to i32
  %597 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef %596, ptr noundef nonnull align 8 dereferenceable(24) %76, ptr noundef nonnull @_ZSt4cout, ptr noundef null)
          to label %598 unwind label %581

598:                                              ; preds = %594
  br i1 %597, label %616, label %599

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

600:                                              ; preds = %599
  %601 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull @.str.20)
          to label %602 unwind label %607

602:                                              ; preds = %600
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %81) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %82) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %82)
          to label %603 unwind label %609

603:                                              ; preds = %602
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(112) %80)
          to label %604 unwind label %611

604:                                              ; preds = %603
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %82) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %80) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %80) #8
  br label %616

605:                                              ; preds = %599
  %606 = landingpad { ptr, i32 }
          cleanup
  br label %615

607:                                              ; preds = %600
  %608 = landingpad { ptr, i32 }
          cleanup
  br label %614

609:                                              ; preds = %602
  %610 = landingpad { ptr, i32 }
          cleanup
  br label %613

611:                                              ; preds = %603
  %612 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #8
  br label %613

613:                                              ; preds = %611, %609
  %.pn277 = phi { ptr, i32 } [ %612, %611 ], [ %610, %609 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %82) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %82) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %81) #8
  br label %614

614:                                              ; preds = %613, %607
  %.pn277.pn = phi { ptr, i32 } [ %.pn277, %613 ], [ %608, %607 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %80) #8
  br label %615

615:                                              ; preds = %614, %605
  %.pn277.pn.pn = phi { ptr, i32 } [ %.pn277.pn, %614 ], [ %606, %605 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %80) #8
  br label %617

616:                                              ; preds = %598, %604, %580
  %.12 = phi i32 [ 1, %604 ], [ 1, %580 ], [ 0, %598 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %76) #8
  br label %618

617:                                              ; preds = %615, %593, %581
  %.pn277.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn, %615 ], [ %582, %581 ], [ %.pn273.pn.pn, %593 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %76) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %76) #8
  br label %619

618:                                              ; preds = %616, %555
  %.13 = phi i32 [ %.12, %616 ], [ 1, %555 ]
  call void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br label %621

619:                                              ; preds = %617, %571
  %.pn277.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn.pn, %617 ], [ %.pn269.pn.pn, %571 ]
  call void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %72) #8
  br label %620

620:                                              ; preds = %619, %559
  %.pn277.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn.pn.pn, %619 ], [ %560, %559 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %72) #8
  br label %622

621:                                              ; preds = %.thread331, %618
  %.14 = phi i32 [ %.13, %618 ], [ 1, %.thread331 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #8
  br label %623

622:                                              ; preds = %620, %558, %501
  %.pn277.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn.pn.pn.pn, %620 ], [ %.pn263.pn.pn.pn.pn, %558 ], [ %502, %501 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %65) #8
  br label %624

623:                                              ; preds = %.thread327, %475, %621
  %.15 = phi i32 [ %.14, %621 ], [ 1, %475 ], [ 1, %.thread327 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #8
  br label %625

624:                                              ; preds = %622, %500, %396
  %.pn277.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn.pn.pn.pn.pn, %622 ], [ %.pn253.pn.pn.pn.pn.pn.pn, %500 ], [ %397, %396 ]
  call void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %51) #8
  br label %626

625:                                              ; preds = %380, %381, %623
  %.16 = phi i32 [ %.15, %623 ], [ 1, %380 ], [ 0, %381 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #8
  br label %.thread307

626:                                              ; preds = %624, %384
  %.pn277.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn277.pn.pn.pn.pn.pn.pn.pn, %624 ], [ %.pn236.pn.pn.pn.pn, %384 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %45) #8
  br label %627

.thread307:                                       ; preds = %95, %120, %169, %204, %240, %276, %278, %279, %299, %314, %625
  %.18 = phi i32 [ %.16, %625 ], [ 1, %314 ], [ 1, %299 ], [ 1, %95 ], [ 1, %120 ], [ 1, %169 ], [ 1, %204 ], [ 1, %240 ], [ 1, %276 ], [ 0, %278 ], [ 1, %279 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  ret i32 %.18

627:                                              ; preds = %307, %322, %626, %100, %108, %125, %133, %205, %241, %277, %168, %160
  %.pn277.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn, %277 ], [ %.pn201.pn.pn, %241 ], [ %.pn207.pn.pn, %205 ], [ %.pn220.pn, %133 ], [ %.pn217, %125 ], [ %.pn226.pn, %108 ], [ %.pn223, %100 ], [ %.pn213.pn, %168 ], [ %.pn211, %160 ], [ %.pn277.pn.pn.pn.pn.pn.pn.pn.pn, %626 ], [ %.pn233.pn, %322 ], [ %.pn230.pn, %307 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn277.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

declare noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(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

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 @_ZN4sptk21ConvertStringToDoubleERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPd(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZN4sptk9IsInRangeEddd(double noundef, double noundef, double noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #4 align 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 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 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 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 uwtable
declare hidden ptr @"_ZSt9transformIN9__gnu_cxx17__normal_iteratorIPdSt6vectorIdSaIdEEEES6_Z4mainE3$_1ET0_T_S9_S8_T1_"(ptr, ptr, ptr) local_unnamed_addr #4

; 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 noundef zeroext i1 @_ZNKSt6vectorIdSaIdEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: nounwind
declare void @_ZN4sptk18SpectrumToSpectrumD1Ev(ptr noundef nonnull align 8 dereferenceable(65)) unnamed_addr #7

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

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk14WorldSynthesis3RunERKSt6vectorIdSaIdEERKS1_IS3_SaIS3_EES9_PS3_(ptr noundef nonnull align 8 dereferenceable(25), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), 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: mustprogress nounwind uwtable
declare dso_local void @_ZN4sptk14WorldSynthesisD2Ev(ptr noundef nonnull align 8 dereferenceable(25)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIS_IdSaIdEESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 = { 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 #8 = { nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass