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

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.sptk::InputSourceFromStream" = type <{ %"class.sptk::InputSourceInterface", i8, [3 x i8], i32, ptr, i8, [7 x i8] }>
%"class.sptk::InputSourceInterface" = type { ptr }
%"class.sptk::InputSourceInterpolationWithMagicNumber" = type { %"class.sptk::InputSourceInterface", i32, i32, i32, i8, double, i32, i32, i32, ptr, i8, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"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.sptk::ExcitationGeneration" = type { ptr, ptr, ptr, i8, double }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@ya_optarg = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@ya_optind = external global i32, align 4
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.14 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::allocator", align 1
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %22 = alloca %"class.std::__cxx11::basic_string", align 8
  %23 = alloca %"class.std::allocator", align 1
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %30 = alloca %"class.std::__cxx11::basic_string", align 8
  %31 = alloca %"class.std::allocator", align 1
  %32 = alloca %"class.std::__cxx11::basic_string", align 8
  %33 = alloca %"class.std::allocator", align 1
  %34 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca i32, align 4
  %41 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %42 = alloca %"class.std::__cxx11::basic_string", align 8
  %43 = alloca %"class.std::allocator", align 1
  %44 = alloca ptr, align 8
  %45 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %46 = alloca %"class.std::__cxx11::basic_string", align 8
  %47 = alloca %"class.std::allocator", align 1
  %48 = alloca %"class.std::basic_ifstream", align 8
  %49 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::allocator", align 1
  %52 = alloca ptr, align 8
  %53 = alloca %"class.sptk::InputSourceFromStream", align 8
  %54 = alloca %"class.sptk::InputSourceInterpolationWithMagicNumber", align 8
  %55 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %56 = alloca %"class.std::__cxx11::basic_string", align 8
  %57 = alloca %"class.std::allocator", align 1
  %58 = alloca ptr, align 8
  %59 = alloca %"class.sptk::ExcitationGeneration", align 8
  %60 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %61 = alloca %"class.std::__cxx11::basic_string", align 8
  %62 = alloca %"class.std::allocator", align 1
  %63 = alloca double, align 8
  %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 ptr, align 8
  %68 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %69 = alloca %"class.std::__cxx11::basic_string", align 8
  %70 = 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) #11
  store i32 100, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  store i32 1, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #11
  store i32 2, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %71

71:                                               ; preds = %253, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = load ptr, ptr %5, align 8, !tbaa !9
  %74 = call i32 @ya_getopt_long(i32 noundef %72, ptr noundef %73, ptr noundef @.str, ptr noundef null, ptr noundef null)
  store i32 %74, ptr %10, align 4, !tbaa !5
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = icmp eq i32 -1, %75
  br i1 %76, label %77, label %78

77:                                               ; preds = %71
  store i32 2, ptr %11, align 4
  br label %251

78:                                               ; preds = %71
  %79 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %79, label %249 [
    i32 112, label %80
    i32 105, label %119
    i32 110, label %160
    i32 115, label %213
    i32 104, label %248
  ]

80:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #11
  %81 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %81, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %82 unwind label %95

82:                                               ; preds = %80
  %83 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %6)
          to label %84 unwind label %99

84:                                               ; preds = %82
  br i1 %83, label %85, label %88

85:                                               ; preds = %84
  %86 = load i32, ptr %6, align 4, !tbaa !5
  %87 = icmp sle i32 %86, 0
  br label %88

88:                                               ; preds = %85, %84
  %89 = phi i1 [ true, %84 ], [ %87, %85 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #11
  br i1 %89, label %90, label %118

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

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %93 unwind label %108

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

94:                                               ; preds = %93
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %16) #11
  br label %251

95:                                               ; preds = %80
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %14, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %15, align 4
  br label %103

99:                                               ; preds = %82
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %14, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  br label %103

103:                                              ; preds = %99, %95
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #11
  br label %254

104:                                              ; preds = %90
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %14, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %15, align 4
  br label %117

108:                                              ; preds = %92
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %14, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %15, align 4
  br label %116

112:                                              ; preds = %93
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %14, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  br label %116

116:                                              ; preds = %112, %108
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  br label %117

117:                                              ; preds = %116, %104
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %16) #11
  br label %254

118:                                              ; preds = %88
  br label %250

119:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #11
  %120 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %120, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %121 unwind label %136

121:                                              ; preds = %119
  %122 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %7)
          to label %123 unwind label %140

123:                                              ; preds = %121
  br i1 %122, label %124, label %127

124:                                              ; preds = %123
  %125 = load i32, ptr %7, align 4, !tbaa !5
  %126 = icmp slt i32 %125, 0
  br label %127

127:                                              ; preds = %124, %123
  %128 = phi i1 [ true, %123 ], [ %126, %124 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #11
  br i1 %128, label %129, label %159

129:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 376, ptr %21) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21)
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef @.str.3)
          to label %131 unwind label %145

131:                                              ; preds = %129
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef @.str.4)
          to label %133 unwind label %145

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

134:                                              ; preds = %133
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(112) %21)
          to label %135 unwind label %153

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

136:                                              ; preds = %119
  %137 = landingpad { ptr, i32 }
          cleanup
  %138 = extractvalue { ptr, i32 } %137, 0
  store ptr %138, ptr %14, align 8
  %139 = extractvalue { ptr, i32 } %137, 1
  store i32 %139, ptr %15, align 4
  br label %144

140:                                              ; preds = %121
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %14, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  br label %144

144:                                              ; preds = %140, %136
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #11
  br label %254

145:                                              ; preds = %131, %129
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %14, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %15, align 4
  br label %158

149:                                              ; preds = %133
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %14, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %15, align 4
  br label %157

153:                                              ; preds = %134
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %14, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %157

157:                                              ; preds = %153, %149
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  br label %158

158:                                              ; preds = %157, %145
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #11
  br label %254

159:                                              ; preds = %127
  br label %250

160:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #11
  store i32 2, ptr %25, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #11
  %161 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef %161, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %162 unwind label %185

162:                                              ; preds = %160
  %163 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef %26)
          to label %164 unwind label %189

164:                                              ; preds = %162
  br i1 %163, label %165, label %170

165:                                              ; preds = %164
  %166 = load i32, ptr %26, align 4, !tbaa !5
  %167 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %166, i32 noundef 0, i32 noundef 2)
          to label %168 unwind label %189

168:                                              ; preds = %165
  %169 = xor i1 %167, true
  br label %170

170:                                              ; preds = %168, %164
  %171 = phi i1 [ true, %164 ], [ %169, %168 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #11
  br i1 %171, label %172, label %208

172:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 376, ptr %29) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29)
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef @.str.5)
          to label %174 unwind label %194

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef @.str.6)
          to label %176 unwind label %194

176:                                              ; preds = %174
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %175, i32 noundef 0)
          to label %178 unwind label %194

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

180:                                              ; preds = %178
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %179, i32 noundef 2)
          to label %182 unwind label %194

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %183 unwind label %198

183:                                              ; preds = %182
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(112) %29)
          to label %184 unwind label %202

184:                                              ; preds = %183
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %29) #11
  br label %210

185:                                              ; preds = %160
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %14, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %15, align 4
  br label %193

189:                                              ; preds = %165, %162
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %14, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  br label %193

193:                                              ; preds = %189, %185
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #11
  br label %212

194:                                              ; preds = %180, %178, %176, %174, %172
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %14, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %15, align 4
  br label %207

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

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

206:                                              ; preds = %202, %198
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #11
  br label %207

207:                                              ; preds = %206, %194
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %29) #11
  br label %212

208:                                              ; preds = %170
  %209 = load i32, ptr %26, align 4, !tbaa !5
  store i32 %209, ptr %8, align 4, !tbaa !11
  store i32 4, ptr %11, align 4
  br label %210

210:                                              ; preds = %208, %184
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  %211 = load i32, ptr %11, align 4
  switch i32 %211, label %251 [
    i32 4, label %250
  ]

212:                                              ; preds = %207, %193
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %254

213:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #11
  %214 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %214, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %215 unwind label %224

215:                                              ; preds = %213
  %216 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %9)
          to label %217 unwind label %228

217:                                              ; preds = %215
  %218 = xor i1 %216, true
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br i1 %218, label %219, label %247

219:                                              ; preds = %217
  call void @llvm.lifetime.start.p0(i64 376, ptr %34) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34)
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef @.str.8)
          to label %221 unwind label %233

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %222 unwind label %237

222:                                              ; preds = %221
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(112) %34)
          to label %223 unwind label %241

223:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %34) #11
  br label %251

224:                                              ; preds = %213
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %14, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %15, align 4
  br label %232

228:                                              ; preds = %215
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %14, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  br label %232

232:                                              ; preds = %228, %224
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br label %254

233:                                              ; preds = %219
  %234 = landingpad { ptr, i32 }
          cleanup
  %235 = extractvalue { ptr, i32 } %234, 0
  store ptr %235, ptr %14, align 8
  %236 = extractvalue { ptr, i32 } %234, 1
  store i32 %236, ptr %15, align 4
  br label %246

237:                                              ; preds = %221
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %14, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %15, align 4
  br label %245

241:                                              ; preds = %222
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %14, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  br label %245

245:                                              ; preds = %241, %237
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #11
  br label %246

246:                                              ; preds = %245, %233
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %34) #11
  br label %254

247:                                              ; preds = %217
  br label %250

248:                                              ; preds = %78
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cout)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %251

249:                                              ; preds = %78
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cerr)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %251

250:                                              ; preds = %247, %210, %159, %118
  store i32 0, ptr %11, align 4
  br label %251

251:                                              ; preds = %250, %249, %248, %223, %210, %135, %94, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  %252 = load i32, ptr %11, align 4
  switch i32 %252, label %629 [
    i32 0, label %253
    i32 2, label %255
  ]

253:                                              ; preds = %251
  br label %71, !llvm.loop !12

254:                                              ; preds = %246, %232, %212, %158, %144, %117, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  br label %631

255:                                              ; preds = %251
  %256 = load i32, ptr %6, align 4, !tbaa !5
  %257 = sdiv i32 %256, 2
  %258 = load i32, ptr %7, align 4, !tbaa !5
  %259 = icmp slt i32 %257, %258
  br i1 %259, label %260, label %281

260:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 376, ptr %37) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37)
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef @.str.9)
          to label %262 unwind label %267

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

264:                                              ; preds = %262
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %39)
          to label %265 unwind label %271

265:                                              ; preds = %264
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(112) %37)
          to label %266 unwind label %275

266:                                              ; preds = %265
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %37) #11
  br label %629

267:                                              ; preds = %262, %260
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %14, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %15, align 4
  br label %280

271:                                              ; preds = %264
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %14, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %15, align 4
  br label %279

275:                                              ; preds = %265
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %14, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  br label %279

279:                                              ; preds = %275, %271
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #11
  br label %280

280:                                              ; preds = %279, %267
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %37) #11
  br label %631

281:                                              ; preds = %255
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #11
  %282 = load i32, ptr %4, align 4, !tbaa !5
  %283 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %284 = sub nsw i32 %282, %283
  store i32 %284, ptr %40, align 4, !tbaa !5
  %285 = load i32, ptr %40, align 4, !tbaa !5
  %286 = icmp slt i32 1, %285
  br i1 %286, label %287, label %306

287:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 376, ptr %41) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41)
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @.str.11)
          to label %289 unwind label %292

289:                                              ; preds = %287
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %43)
          to label %290 unwind label %296

290:                                              ; preds = %289
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(112) %41)
          to label %291 unwind label %300

291:                                              ; preds = %290
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %41) #11
  br label %627

292:                                              ; preds = %287
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %14, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %15, align 4
  br label %305

296:                                              ; preds = %289
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %14, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %15, align 4
  br label %304

300:                                              ; preds = %290
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %14, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  br label %304

304:                                              ; preds = %300, %296
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #11
  br label %305

305:                                              ; preds = %304, %292
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %41) #11
  br label %628

306:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #11
  %307 = load i32, ptr %40, align 4, !tbaa !5
  %308 = icmp eq i32 0, %307
  br i1 %308, label %309, label %310

309:                                              ; preds = %306
  br label %316

310:                                              ; preds = %306
  %311 = load ptr, ptr %5, align 8, !tbaa !9
  %312 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds ptr, ptr %311, i64 %313
  %315 = load ptr, ptr %314, align 8, !tbaa !9
  br label %316

316:                                              ; preds = %310, %309
  %317 = phi ptr [ null, %309 ], [ %315, %310 ]
  store ptr %317, ptr %44, align 8, !tbaa !9
  %318 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %318, label %338, label %319

319:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 376, ptr %45) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45)
  %320 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @.str.12)
          to label %321 unwind label %324

321:                                              ; preds = %319
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %47)
          to label %322 unwind label %328

322:                                              ; preds = %321
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(112) %45)
          to label %323 unwind label %332

323:                                              ; preds = %322
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #11
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %45) #11
  br label %625

324:                                              ; preds = %319
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %14, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %15, align 4
  br label %337

328:                                              ; preds = %321
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %14, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %15, align 4
  br label %336

332:                                              ; preds = %322
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %14, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #11
  br label %336

336:                                              ; preds = %332, %328
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #11
  br label %337

337:                                              ; preds = %336, %324
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %45) #11
  br label %626

338:                                              ; preds = %316
  call void @llvm.lifetime.start.p0(i64 520, ptr %48) #11
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48)
  %339 = load ptr, ptr %44, align 8, !tbaa !9
  %340 = icmp ne ptr null, %339
  br i1 %340, label %341, label %385

341:                                              ; preds = %338
  %342 = load ptr, ptr %44, align 8, !tbaa !9
  %343 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %344 unwind label %361

344:                                              ; preds = %341
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %48, ptr noundef %342, i32 noundef %343)
          to label %345 unwind label %361

345:                                              ; preds = %344
  %346 = load ptr, ptr %48, align 8, !tbaa !14
  %347 = getelementptr i8, ptr %346, i64 -24
  %348 = load i64, ptr %347, align 8
  %349 = getelementptr inbounds i8, ptr %48, i64 %348
  %350 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %349)
          to label %351 unwind label %361

351:                                              ; preds = %345
  br i1 %350, label %352, label %384

352:                                              ; preds = %351
  call void @llvm.lifetime.start.p0(i64 376, ptr %49) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49)
          to label %353 unwind label %365

353:                                              ; preds = %352
  %354 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @.str.13)
          to label %355 unwind label %369

355:                                              ; preds = %353
  %356 = load ptr, ptr %44, align 8, !tbaa !9
  %357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %354, ptr noundef %356)
          to label %358 unwind label %369

358:                                              ; preds = %355
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %359 unwind label %373

359:                                              ; preds = %358
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(112) %49)
          to label %360 unwind label %377

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

361:                                              ; preds = %345, %344, %341
  %362 = landingpad { ptr, i32 }
          cleanup
  %363 = extractvalue { ptr, i32 } %362, 0
  store ptr %363, ptr %14, align 8
  %364 = extractvalue { ptr, i32 } %362, 1
  store i32 %364, ptr %15, align 4
  br label %624

365:                                              ; preds = %352
  %366 = landingpad { ptr, i32 }
          cleanup
  %367 = extractvalue { ptr, i32 } %366, 0
  store ptr %367, ptr %14, align 8
  %368 = extractvalue { ptr, i32 } %366, 1
  store i32 %368, ptr %15, align 4
  br label %383

369:                                              ; preds = %355, %353
  %370 = landingpad { ptr, i32 }
          cleanup
  %371 = extractvalue { ptr, i32 } %370, 0
  store ptr %371, ptr %14, align 8
  %372 = extractvalue { ptr, i32 } %370, 1
  store i32 %372, ptr %15, align 4
  br label %382

373:                                              ; preds = %358
  %374 = landingpad { ptr, i32 }
          cleanup
  %375 = extractvalue { ptr, i32 } %374, 0
  store ptr %375, ptr %14, align 8
  %376 = extractvalue { ptr, i32 } %374, 1
  store i32 %376, ptr %15, align 4
  br label %381

377:                                              ; preds = %359
  %378 = landingpad { ptr, i32 }
          cleanup
  %379 = extractvalue { ptr, i32 } %378, 0
  store ptr %379, ptr %14, align 8
  %380 = extractvalue { ptr, i32 } %378, 1
  store i32 %380, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  br label %381

381:                                              ; preds = %377, %373
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #11
  br label %382

382:                                              ; preds = %381, %369
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #11
  br label %383

383:                                              ; preds = %382, %365
  call void @llvm.lifetime.end.p0(i64 376, ptr %49) #11
  br label %624

384:                                              ; preds = %351
  br label %385

385:                                              ; preds = %384, %338
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #11
  %386 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %48)
          to label %387 unwind label %405

387:                                              ; preds = %385
  br i1 %386, label %388, label %389

388:                                              ; preds = %387
  br label %390

389:                                              ; preds = %387
  br label %390

390:                                              ; preds = %389, %388
  %391 = phi ptr [ %48, %388 ], [ @_ZSt3cin, %389 ]
  store ptr %391, ptr %52, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %53) #11
  %392 = load ptr, ptr %52, align 8, !tbaa !9
  invoke void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25) %53, i1 noundef zeroext false, i32 noundef 1, ptr noundef %392)
          to label %393 unwind label %409

393:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 136, ptr %54) #11
  %394 = load i32, ptr %6, align 4, !tbaa !5
  %395 = load i32, ptr %7, align 4, !tbaa !5
  invoke void @_ZN4sptk39InputSourceInterpolationWithMagicNumberC1EiibdPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(136) %54, i32 noundef %394, i32 noundef %395, i1 noundef zeroext false, double noundef 0.000000e+00, ptr noundef %53)
          to label %396 unwind label %413

396:                                              ; preds = %393
  %397 = invoke noundef zeroext i1 @_ZNK4sptk39InputSourceInterpolationWithMagicNumber7IsValidEv(ptr noundef nonnull align 8 dereferenceable(136) %54)
          to label %398 unwind label %417

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

399:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 376, ptr %55) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %55)
          to label %400 unwind label %421

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

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

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

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

405:                                              ; preds = %385
  %406 = landingpad { ptr, i32 }
          cleanup
  %407 = extractvalue { ptr, i32 } %406, 0
  store ptr %407, ptr %14, align 8
  %408 = extractvalue { ptr, i32 } %406, 1
  store i32 %408, ptr %15, align 4
  br label %622

409:                                              ; preds = %390
  %410 = landingpad { ptr, i32 }
          cleanup
  %411 = extractvalue { ptr, i32 } %410, 0
  store ptr %411, ptr %14, align 8
  %412 = extractvalue { ptr, i32 } %410, 1
  store i32 %412, ptr %15, align 4
  br label %621

413:                                              ; preds = %393
  %414 = landingpad { ptr, i32 }
          cleanup
  %415 = extractvalue { ptr, i32 } %414, 0
  store ptr %415, ptr %14, align 8
  %416 = extractvalue { ptr, i32 } %414, 1
  store i32 %416, ptr %15, align 4
  br label %620

417:                                              ; preds = %396
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %14, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %15, align 4
  br label %619

421:                                              ; preds = %399
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %14, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %15, align 4
  br label %439

425:                                              ; preds = %400
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %14, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %15, align 4
  br label %438

429:                                              ; preds = %402
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %14, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %15, align 4
  br label %437

433:                                              ; preds = %403
  %434 = landingpad { ptr, i32 }
          cleanup
  %435 = extractvalue { ptr, i32 } %434, 0
  store ptr %435, ptr %14, align 8
  %436 = extractvalue { ptr, i32 } %434, 1
  store i32 %436, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #11
  br label %437

437:                                              ; preds = %433, %429
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %56) #11
  br label %438

438:                                              ; preds = %437, %425
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %55) #11
  br label %439

439:                                              ; preds = %438, %421
  call void @llvm.lifetime.end.p0(i64 376, ptr %55) #11
  br label %619

440:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #11
  store ptr null, ptr %58, align 8, !tbaa !9
  %441 = load i32, ptr %8, align 4, !tbaa !11
  switch i32 %441, label %464 [
    i32 0, label %442
    i32 1, label %443
    i32 2, label %456
  ]

442:                                              ; preds = %440
  br label %465

443:                                              ; preds = %440
  %444 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #12
          to label %445 unwind label %448

445:                                              ; preds = %443
  %446 = load i32, ptr %9, align 4, !tbaa !5
  invoke void @_ZN4sptk38NormalDistributedRandomValueGenerationC1Ei(ptr noundef nonnull align 8 dereferenceable(56) %444, i32 noundef %446)
          to label %447 unwind label %452

447:                                              ; preds = %445
  store ptr %444, ptr %58, align 8, !tbaa !9
  br label %465

448:                                              ; preds = %456, %443
  %449 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %14, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %15, align 4
  br label %563

452:                                              ; preds = %445
  %453 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %14, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %444, i64 noundef 56) #13
  br label %563

456:                                              ; preds = %440
  %457 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #12
          to label %458 unwind label %448

458:                                              ; preds = %456
  invoke void @_ZN4sptk19MSequenceGenerationC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %457)
          to label %459 unwind label %460

459:                                              ; preds = %458
  store ptr %457, ptr %58, align 8, !tbaa !9
  br label %465

460:                                              ; preds = %458
  %461 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %14, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %457, i64 noundef 16) #13
  br label %563

464:                                              ; preds = %440
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %616

465:                                              ; preds = %459, %447, %442
  call void @llvm.lifetime.start.p0(i64 40, ptr %59) #11
  %466 = load ptr, ptr %58, align 8, !tbaa !9
  invoke void @_ZN4sptk20ExcitationGenerationC1EPNS_39InputSourceInterpolationWithMagicNumberEPNS_25RandomGenerationInterfaceE(ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef %54, ptr noundef %466)
          to label %467 unwind label %483

467:                                              ; preds = %465
  %468 = invoke noundef zeroext i1 @_ZNK4sptk20ExcitationGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(40) %59)
          to label %469 unwind label %487

469:                                              ; preds = %467
  br i1 %468, label %510, label %470

470:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 376, ptr %60) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60)
          to label %471 unwind label %491

471:                                              ; preds = %470
  %472 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @.str.15)
          to label %473 unwind label %495

473:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 32, ptr %61) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %474 unwind label %499

474:                                              ; preds = %473
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(112) %60)
          to label %475 unwind label %503

475:                                              ; preds = %474
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #11
  %476 = load ptr, ptr %58, align 8, !tbaa !9
  %477 = icmp eq ptr %476, null
  br i1 %477, label %482, label %478

478:                                              ; preds = %475
  %479 = load ptr, ptr %476, align 8, !tbaa !14
  %480 = getelementptr inbounds ptr, ptr %479, i64 1
  %481 = load ptr, ptr %480, align 8
  call void %481(ptr noundef nonnull align 8 dereferenceable(8) %476) #11
  br label %482

482:                                              ; preds = %478, %475
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %60) #11
  br label %557

483:                                              ; preds = %465
  %484 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %485 = extractvalue { ptr, i32 } %484, 0
  store ptr %485, ptr %14, align 8
  %486 = extractvalue { ptr, i32 } %484, 1
  store i32 %486, ptr %15, align 4
  br label %562

487:                                              ; preds = %467
  %488 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %489 = extractvalue { ptr, i32 } %488, 0
  store ptr %489, ptr %14, align 8
  %490 = extractvalue { ptr, i32 } %488, 1
  store i32 %490, ptr %15, align 4
  br label %561

491:                                              ; preds = %470
  %492 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %14, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %15, align 4
  br label %509

495:                                              ; preds = %471
  %496 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %14, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %15, align 4
  br label %508

499:                                              ; preds = %473
  %500 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %501 = extractvalue { ptr, i32 } %500, 0
  store ptr %501, ptr %14, align 8
  %502 = extractvalue { ptr, i32 } %500, 1
  store i32 %502, ptr %15, align 4
  br label %507

503:                                              ; preds = %474
  %504 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %505 = extractvalue { ptr, i32 } %504, 0
  store ptr %505, ptr %14, align 8
  %506 = extractvalue { ptr, i32 } %504, 1
  store i32 %506, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  br label %507

507:                                              ; preds = %503, %499
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %61) #11
  br label %508

508:                                              ; preds = %507, %495
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #11
  br label %509

509:                                              ; preds = %508, %491
  call void @llvm.lifetime.end.p0(i64 376, ptr %60) #11
  br label %561

510:                                              ; preds = %469
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #11
  br label %511

511:                                              ; preds = %554, %510
  %512 = invoke noundef zeroext i1 @_ZN4sptk20ExcitationGeneration3GetEPdS1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef %63, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %513 unwind label %531

513:                                              ; preds = %511
  br i1 %512, label %514, label %555

514:                                              ; preds = %513
  %515 = load double, ptr %63, align 8, !tbaa !16
  %516 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %515, ptr noundef @_ZSt4cout)
          to label %517 unwind label %531

517:                                              ; preds = %514
  br i1 %516, label %554, label %518

518:                                              ; preds = %517
  call void @llvm.lifetime.start.p0(i64 376, ptr %64) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64)
          to label %519 unwind label %535

519:                                              ; preds = %518
  %520 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef @.str.16)
          to label %521 unwind label %539

521:                                              ; preds = %519
  call void @llvm.lifetime.start.p0(i64 32, ptr %65) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #11
  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 %522 unwind label %543

522:                                              ; preds = %521
  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 %523 unwind label %547

523:                                              ; preds = %522
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #11
  %524 = load ptr, ptr %58, align 8, !tbaa !9
  %525 = icmp eq ptr %524, null
  br i1 %525, label %530, label %526

526:                                              ; preds = %523
  %527 = load ptr, ptr %524, align 8, !tbaa !14
  %528 = getelementptr inbounds ptr, ptr %527, i64 1
  %529 = load ptr, ptr %528, align 8
  call void %529(ptr noundef nonnull align 8 dereferenceable(8) %524) #11
  br label %530

530:                                              ; preds = %526, %523
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %64) #11
  br label %556

531:                                              ; preds = %514, %511
  %532 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %14, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %15, align 4
  br label %560

535:                                              ; preds = %518
  %536 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %537 = extractvalue { ptr, i32 } %536, 0
  store ptr %537, ptr %14, align 8
  %538 = extractvalue { ptr, i32 } %536, 1
  store i32 %538, ptr %15, align 4
  br label %553

539:                                              ; preds = %519
  %540 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %541 = extractvalue { ptr, i32 } %540, 0
  store ptr %541, ptr %14, align 8
  %542 = extractvalue { ptr, i32 } %540, 1
  store i32 %542, ptr %15, align 4
  br label %552

543:                                              ; preds = %521
  %544 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %14, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %15, align 4
  br label %551

547:                                              ; preds = %522
  %548 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %14, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %65) #11
  br label %551

551:                                              ; preds = %547, %543
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %65) #11
  br label %552

552:                                              ; preds = %551, %539
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %64) #11
  br label %553

553:                                              ; preds = %552, %535
  call void @llvm.lifetime.end.p0(i64 376, ptr %64) #11
  br label %560

554:                                              ; preds = %517
  br label %511, !llvm.loop !18

555:                                              ; preds = %513
  store i32 0, ptr %11, align 4
  br label %556

556:                                              ; preds = %555, %530
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #11
  br label %557

557:                                              ; preds = %556, %482
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr %59) #11
  %558 = load i32, ptr %11, align 4
  switch i32 %558, label %616 [
    i32 0, label %559
  ]

559:                                              ; preds = %557
  br label %608

560:                                              ; preds = %553, %531
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #11
  br label %561

561:                                              ; preds = %560, %509, %487
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %59) #11
  br label %562

562:                                              ; preds = %561, %483
  call void @llvm.lifetime.end.p0(i64 40, ptr %59) #11
  br label %563

563:                                              ; preds = %562, %460, %452, %448
  %564 = load i32, ptr %15, align 4
  %565 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #11
  %566 = icmp eq i32 %564, %565
  br i1 %566, label %567, label %617

567:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 8, ptr %67) #11
  %568 = load ptr, ptr %14, align 8
  %569 = call ptr @__cxa_begin_catch(ptr %568) #11
  store ptr %569, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 376, ptr %68) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %570 unwind label %582

570:                                              ; preds = %567
  %571 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef @.str.17)
          to label %572 unwind label %586

572:                                              ; preds = %570
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %70) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %70)
          to label %573 unwind label %590

573:                                              ; preds = %572
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %574 unwind label %594

574:                                              ; preds = %573
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #11
  %575 = load ptr, ptr %58, align 8, !tbaa !9
  %576 = icmp eq ptr %575, null
  br i1 %576, label %581, label %577

577:                                              ; preds = %574
  %578 = load ptr, ptr %575, align 8, !tbaa !14
  %579 = getelementptr inbounds ptr, ptr %578, i64 1
  %580 = load ptr, ptr %579, align 8
  call void %580(ptr noundef nonnull align 8 dereferenceable(8) %575) #11
  br label %581

581:                                              ; preds = %577, %574
  store i32 1, ptr %3, align 4
  store i32 1, ptr %11, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #11
  invoke void @__cxa_end_catch()
          to label %601 unwind label %602

582:                                              ; preds = %567
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %14, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %15, align 4
  br label %600

586:                                              ; preds = %570
  %587 = landingpad { ptr, i32 }
          cleanup
  %588 = extractvalue { ptr, i32 } %587, 0
  store ptr %588, ptr %14, align 8
  %589 = extractvalue { ptr, i32 } %587, 1
  store i32 %589, ptr %15, align 4
  br label %599

590:                                              ; preds = %572
  %591 = landingpad { ptr, i32 }
          cleanup
  %592 = extractvalue { ptr, i32 } %591, 0
  store ptr %592, ptr %14, align 8
  %593 = extractvalue { ptr, i32 } %591, 1
  store i32 %593, ptr %15, align 4
  br label %598

594:                                              ; preds = %573
  %595 = landingpad { ptr, i32 }
          cleanup
  %596 = extractvalue { ptr, i32 } %595, 0
  store ptr %596, ptr %14, align 8
  %597 = extractvalue { ptr, i32 } %595, 1
  store i32 %597, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #11
  br label %598

598:                                              ; preds = %594, %590
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #11
  br label %599

599:                                              ; preds = %598, %586
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #11
  br label %600

600:                                              ; preds = %599, %582
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #11
  invoke void @__cxa_end_catch()
          to label %606 unwind label %637

601:                                              ; preds = %581
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #11
  br label %616

602:                                              ; preds = %581
  %603 = landingpad { ptr, i32 }
          cleanup
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %14, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %15, align 4
  br label %607

606:                                              ; preds = %600
  br label %607

607:                                              ; preds = %606, %602
  call void @llvm.lifetime.end.p0(i64 8, ptr %67) #11
  br label %617

608:                                              ; preds = %559
  %609 = load ptr, ptr %58, align 8, !tbaa !9
  %610 = icmp eq ptr %609, null
  br i1 %610, label %615, label %611

611:                                              ; preds = %608
  %612 = load ptr, ptr %609, align 8, !tbaa !14
  %613 = getelementptr inbounds ptr, ptr %612, i64 1
  %614 = load ptr, ptr %613, align 8
  call void %614(ptr noundef nonnull align 8 dereferenceable(8) %609) #11
  br label %615

615:                                              ; preds = %611, %608
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %616

616:                                              ; preds = %615, %601, %557, %464
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #11
  br label %618

617:                                              ; preds = %607, %563
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #11
  br label %619

618:                                              ; preds = %616, %404
  call void @_ZN4sptk39InputSourceInterpolationWithMagicNumberD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %54) #11
  call void @llvm.lifetime.end.p0(i64 136, ptr %54) #11
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %53) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  br label %623

619:                                              ; preds = %617, %439, %417
  call void @_ZN4sptk39InputSourceInterpolationWithMagicNumberD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %54) #11
  br label %620

620:                                              ; preds = %619, %413
  call void @llvm.lifetime.end.p0(i64 136, ptr %54) #11
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %53) #11
  br label %621

621:                                              ; preds = %620, %409
  call void @llvm.lifetime.end.p0(i64 32, ptr %53) #11
  br label %622

622:                                              ; preds = %621, %405
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #11
  br label %624

623:                                              ; preds = %618, %360
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr %48) #11
  br label %625

624:                                              ; preds = %622, %383, %361
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr %48) #11
  br label %626

625:                                              ; preds = %623, %323
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  br label %627

626:                                              ; preds = %624, %337
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #11
  br label %628

627:                                              ; preds = %625, %291
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #11
  br label %629

628:                                              ; preds = %626, %305
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #11
  br label %631

629:                                              ; preds = %627, %266, %251
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  %630 = load i32, ptr %3, align 4
  ret i32 %630

631:                                              ; preds = %628, %280, %254
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #11
  br label %632

632:                                              ; preds = %631
  %633 = load ptr, ptr %14, align 8
  %634 = load i32, ptr %15, align 4
  %635 = insertvalue { ptr, i32 } poison, ptr %633, 0
  %636 = insertvalue { ptr, i32 } %635, i32 %634, 1
  resume { ptr, i32 } %636

637:                                              ; preds = %600
  %638 = landingpad { ptr, i32 }
          catch ptr null
  %639 = extractvalue { ptr, i32 } %638, 0
  call void @__clang_call_terminate(ptr %639) #14
  unreachable
}

; 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 @_ZN4sptk9IsInRangeEiii(i32 noundef, i32 noundef, i32 noundef) #2

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() #2

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

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

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

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

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

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

declare void @_ZN4sptk39InputSourceInterpolationWithMagicNumberC1EiibdPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef, i32 noundef, i1 noundef zeroext, double noundef, ptr noundef) unnamed_addr #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

declare void @_ZN4sptk38NormalDistributedRandomValueGenerationC1Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

declare void @_ZN4sptk19MSequenceGenerationC1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2

declare void @_ZN4sptk20ExcitationGenerationC1EPNS_39InputSourceInterpolationWithMagicNumberEPNS_25RandomGenerationInterfaceE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #2

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

declare noundef zeroext i1 @_ZN4sptk20ExcitationGeneration3GetEPdS1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #9

declare ptr @__cxa_begin_catch(ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #10

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

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

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.sptk::InputSourceFromStream" = type <{ %"class.sptk::InputSourceInterface", i8, [3 x i8], i32, ptr, i8, [7 x i8] }>
%"class.sptk::InputSourceInterface" = type { ptr }
%"class.sptk::InputSourceInterpolationWithMagicNumber" = type { %"class.sptk::InputSourceInterface", i32, i32, i32, i8, double, i32, i32, i32, ptr, i8, %"class.std::vector", %"class.std::vector", %"class.std::vector" }
%"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.sptk::ExcitationGeneration" = type { ptr, ptr, ptr, i8, double }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@ya_optarg = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [50 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@.str.9 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.11 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.14 = external hidden unnamed_addr constant [43 x i8], align 1
@_ZTISt9exception = external constant ptr
@.str.15 = external hidden unnamed_addr constant [42 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [18 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 i32, align 4
  %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 i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::allocator", align 1
  %19 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %20 = alloca %"class.std::__cxx11::basic_string", align 8
  %21 = alloca %"class.std::allocator", align 1
  %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 %"class.std::__cxx11::basic_ostringstream", 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 %"class.std::__cxx11::basic_ostringstream", align 8
  %34 = alloca %"class.std::__cxx11::basic_string", align 8
  %35 = alloca %"class.std::allocator", align 1
  %36 = alloca %"class.std::basic_ifstream", align 8
  %37 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca %"class.std::allocator", align 1
  %40 = alloca %"class.sptk::InputSourceFromStream", align 8
  %41 = alloca %"class.sptk::InputSourceInterpolationWithMagicNumber", align 8
  %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.sptk::ExcitationGeneration", align 8
  %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 double, align 8
  %50 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %51 = alloca %"class.std::__cxx11::basic_string", align 8
  %52 = alloca %"class.std::allocator", align 1
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #11
  store i32 100, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #11
  store i32 1, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #11
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %.outer

.outer:                                           ; preds = %144, %2
  %.028.ph = phi i32 [ %145, %144 ], [ 2, %2 ]
  br label %56

56:                                               ; preds = %.backedge, %.outer
  %57 = call i32 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null)
  switch i32 %57, label %171 [
    i32 -1, label %173
    i32 112, label %58
    i32 105, label %83
    i32 110, label %110
    i32 115, label %147
    i32 104, label %170
  ]

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #11
  %59 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef %59, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %60 unwind label %70

60:                                               ; preds = %58
  %61 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull %3)
          to label %62 unwind label %72

62:                                               ; preds = %60
  %63 = load i32, ptr %3, align 4
  %64 = icmp sgt i32 %63, 0
  %.not117 = select i1 %61, i1 %64, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  br i1 %.not117, label %.backedge, label %65

.backedge:                                        ; preds = %62, %87, %151
  br label %56

65:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %8) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %8)
  %66 = 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 %67 unwind label %75

67:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %10) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  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 %68 unwind label %77

68:                                               ; preds = %67
  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 %69 unwind label %79

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

70:                                               ; preds = %58
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %60
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  br label %74

74:                                               ; preds = %72, %70
  %.pn115 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  br label %172

75:                                               ; preds = %65
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %82

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %68
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  br label %81

81:                                               ; preds = %79, %77
  %.pn118 = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %10) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %10) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #11
  br label %82

82:                                               ; preds = %81, %75
  %.pn118.pn = phi { ptr, i32 } [ %.pn118, %81 ], [ %76, %75 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %8) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %8) #11
  br label %172

83:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #11
  %84 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef %84, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %85 unwind label %97

85:                                               ; preds = %83
  %86 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull %4)
          to label %87 unwind label %99

87:                                               ; preds = %85
  %88 = load i32, ptr %4, align 4
  %89 = icmp sgt i32 %88, -1
  %.not111 = select i1 %86, i1 %89, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  br i1 %.not111, label %.backedge, label %90

90:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %13) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13)
  %91 = 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 %92 unwind label %102

92:                                               ; preds = %90
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull @.str.4)
          to label %94 unwind label %102

94:                                               ; preds = %92
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #11
  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 %95 unwind label %104

95:                                               ; preds = %94
  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 %96 unwind label %106

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

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %101

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

101:                                              ; preds = %99, %97
  %.pn109 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  br label %172

102:                                              ; preds = %92, %90
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %109

104:                                              ; preds = %94
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %108

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

108:                                              ; preds = %106, %104
  %.pn112 = phi { ptr, i32 } [ %107, %106 ], [ %105, %104 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #11
  br label %109

109:                                              ; preds = %108, %102
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %108 ], [ %103, %102 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %13) #11
  br label %172

110:                                              ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #11
  %111 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %111, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %112 unwind label %130

112:                                              ; preds = %110
  %113 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull %16)
          to label %114 unwind label %132

114:                                              ; preds = %112
  br i1 %113, label %115, label %.critedge

115:                                              ; preds = %114
  %116 = load i32, ptr %16, align 4, !tbaa !5
  %117 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %116, i32 noundef 0, i32 noundef 2)
          to label %118 unwind label %132

118:                                              ; preds = %115
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  br i1 %117, label %144, label %.loopexit

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

.loopexit:                                        ; preds = %118, %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %19) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19)
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @.str.5)
          to label %120 unwind label %135

120:                                              ; preds = %.loopexit
  %121 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %119, ptr noundef nonnull @.str.6)
          to label %122 unwind label %135

122:                                              ; preds = %120
  %123 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %121, i32 noundef 0)
          to label %124 unwind label %135

124:                                              ; preds = %122
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull @.str.7)
          to label %126 unwind label %135

126:                                              ; preds = %124
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %125, i32 noundef 2)
          to label %128 unwind label %135

128:                                              ; preds = %126
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %129 unwind label %137

129:                                              ; preds = %128
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(112) %19)
          to label %143 unwind label %139

130:                                              ; preds = %110
  %131 = landingpad { ptr, i32 }
          cleanup
  br label %134

132:                                              ; preds = %115, %112
  %133 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  br label %134

134:                                              ; preds = %132, %130
  %.pn103 = phi { ptr, i32 } [ %133, %132 ], [ %131, %130 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #11
  br label %146

135:                                              ; preds = %126, %124, %122, %120, %.loopexit
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %142

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

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

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

142:                                              ; preds = %141, %135
  %.pn105.pn = phi { ptr, i32 } [ %.pn105, %141 ], [ %136, %135 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %19) #11
  br label %146

143:                                              ; preds = %129
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %19) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #11
  br label %.thread165

144:                                              ; preds = %118
  %145 = load i32, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #11
  br label %.outer

146:                                              ; preds = %142, %134
  %.pn105.pn.pn = phi { ptr, i32 } [ %.pn105.pn, %142 ], [ %.pn103, %134 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #11
  br label %172

147:                                              ; preds = %56
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %22) #11
  %148 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %148, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %149 unwind label %157

149:                                              ; preds = %147
  %150 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull %5)
          to label %151 unwind label %159

151:                                              ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  br i1 %150, label %.backedge, label %152

152:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %24) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24)
  %153 = 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 %154 unwind label %162

154:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %26) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #11
  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 %155 unwind label %164

155:                                              ; preds = %154
  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 %156 unwind label %166

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

157:                                              ; preds = %147
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %161

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

161:                                              ; preds = %159, %157
  %.pn = phi { ptr, i32 } [ %160, %159 ], [ %158, %157 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %22) #11
  br label %172

162:                                              ; preds = %152
  %163 = landingpad { ptr, i32 }
          cleanup
  br label %169

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

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

168:                                              ; preds = %166, %164
  %.pn100 = phi { ptr, i32 } [ %167, %166 ], [ %165, %164 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %26) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #11
  br label %169

169:                                              ; preds = %168, %162
  %.pn100.pn = phi { ptr, i32 } [ %.pn100, %168 ], [ %163, %162 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %24) #11
  br label %172

170:                                              ; preds = %56
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cout)
  br label %.thread165

171:                                              ; preds = %56
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cerr)
  br label %.thread165

172:                                              ; preds = %169, %161, %146, %109, %101, %82, %74
  %.pn100.pn.pn = phi { ptr, i32 } [ %.pn100.pn, %169 ], [ %.pn, %161 ], [ %.pn105.pn.pn, %146 ], [ %.pn112.pn, %109 ], [ %.pn109, %101 ], [ %.pn118.pn, %82 ], [ %.pn115, %74 ]
  %.13 = extractvalue { ptr, i32 } %.pn100.pn.pn, 0
  %.1361 = extractvalue { ptr, i32 } %.pn100.pn.pn, 1
  br label %417

173:                                              ; preds = %56
  %174 = load i32, ptr %3, align 4, !tbaa !5
  %175 = sdiv i32 %174, 2
  %176 = load i32, ptr %4, align 4, !tbaa !5
  %177 = icmp slt i32 %175, %176
  br i1 %177, label %178, label %193

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

180:                                              ; preds = %178
  %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.10)
          to label %182 unwind label %185

182:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %183 unwind label %187

183:                                              ; preds = %182
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(112) %27)
          to label %184 unwind label %189

184:                                              ; preds = %183
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %27) #11
  br label %.thread165

185:                                              ; preds = %180, %178
  %186 = landingpad { ptr, i32 }
          cleanup
  br label %192

187:                                              ; preds = %182
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %183
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #11
  br label %191

191:                                              ; preds = %189, %187
  %.pn154 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #11
  br label %192

192:                                              ; preds = %191, %185
  %.pn154.pn = phi { ptr, i32 } [ %.pn154, %191 ], [ %186, %185 ]
  %.15 = extractvalue { ptr, i32 } %.pn154.pn, 0
  %.1563 = extractvalue { ptr, i32 } %.pn154.pn, 1
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %27) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %27) #11
  br label %417

193:                                              ; preds = %173
  %194 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %195 = sub nsw i32 %0, %194
  %196 = icmp sgt i32 %195, 1
  br i1 %196, label %197, label %210

197:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %30) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30)
  %198 = 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 %199 unwind label %202

199:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %31) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %32) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #11
  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 %200 unwind label %204

200:                                              ; preds = %199
  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 %201 unwind label %206

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

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

204:                                              ; preds = %199
  %205 = landingpad { ptr, i32 }
          cleanup
  br label %208

206:                                              ; preds = %200
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  br label %208

208:                                              ; preds = %206, %204
  %.pn151 = phi { ptr, i32 } [ %207, %206 ], [ %205, %204 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %31) #11
  br label %209

209:                                              ; preds = %208, %202
  %.pn151.pn = phi { ptr, i32 } [ %.pn151, %208 ], [ %203, %202 ]
  %.17 = extractvalue { ptr, i32 } %.pn151.pn, 0
  %.1765 = extractvalue { ptr, i32 } %.pn151.pn, 1
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %30) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %30) #11
  br label %417

210:                                              ; preds = %193
  %211 = icmp eq i32 %194, %0
  br i1 %211, label %216, label %212

212:                                              ; preds = %210
  %213 = sext i32 %194 to i64
  %214 = getelementptr inbounds ptr, ptr %1, i64 %213
  %215 = load ptr, ptr %214, align 8, !tbaa !9
  br label %216

216:                                              ; preds = %210, %212
  %217 = phi ptr [ %215, %212 ], [ null, %210 ]
  %218 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %218, label %232, label %219

219:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %33) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %33)
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @.str.12)
          to label %221 unwind label %224

221:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %34) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %35) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %35)
          to label %222 unwind label %226

222:                                              ; preds = %221
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(112) %33)
          to label %223 unwind label %228

223:                                              ; preds = %222
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %35) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %35) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %34) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %33) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %33) #11
  br label %.thread165

224:                                              ; preds = %219
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %231

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

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

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

231:                                              ; preds = %230, %224
  %.pn122.pn = phi { ptr, i32 } [ %.pn122, %230 ], [ %225, %224 ]
  %.19 = extractvalue { ptr, i32 } %.pn122.pn, 0
  %.1967 = extractvalue { ptr, i32 } %.pn122.pn, 1
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %33) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %33) #11
  br label %417

232:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %36) #11
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %36)
  %.not = icmp eq ptr %217, null
  br i1 %.not, label %265, label %233

233:                                              ; preds = %232
  %234 = 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) %36, ptr noundef nonnull %217, i32 noundef %234)
          to label %235 unwind label %250

235:                                              ; preds = %233
  %236 = load ptr, ptr %36, align 8, !tbaa !11
  %237 = getelementptr i8, ptr %236, i64 -24
  %238 = load i64, ptr %237, align 8
  %239 = getelementptr inbounds i8, ptr %36, i64 %238
  %240 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %239)
          to label %241 unwind label %250

241:                                              ; preds = %235
  br i1 %240, label %242, label %265

242:                                              ; preds = %241
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %37) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37)
          to label %243 unwind label %254

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

245:                                              ; preds = %243
  %246 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %244, ptr noundef nonnull %217)
          to label %247 unwind label %256

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

248:                                              ; preds = %247
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(112) %37)
          to label %249 unwind label %260

249:                                              ; preds = %248
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #11
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %37) #11
  br label %415

250:                                              ; preds = %235, %233
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  %253 = extractvalue { ptr, i32 } %251, 1
  br label %416

254:                                              ; preds = %242
  %255 = landingpad { ptr, i32 }
          cleanup
  br label %264

256:                                              ; preds = %245, %243
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %263

258:                                              ; preds = %247
  %259 = landingpad { ptr, i32 }
          cleanup
  br label %262

260:                                              ; preds = %248
  %261 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #11
  br label %262

262:                                              ; preds = %260, %258
  %.pn147 = phi { ptr, i32 } [ %261, %260 ], [ %259, %258 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %39) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %38) #11
  br label %263

263:                                              ; preds = %262, %256
  %.pn147.pn = phi { ptr, i32 } [ %.pn147, %262 ], [ %257, %256 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #11
  br label %264

264:                                              ; preds = %263, %254
  %.pn147.pn.pn = phi { ptr, i32 } [ %.pn147.pn, %263 ], [ %255, %254 ]
  %.22 = extractvalue { ptr, i32 } %.pn147.pn.pn, 0
  %.2270 = extractvalue { ptr, i32 } %.pn147.pn.pn, 1
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %37) #11
  br label %416

265:                                              ; preds = %241, %232
  %266 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %36)
  %267 = select i1 %266, ptr %36, ptr @_ZSt3cin
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %40) #11
  invoke void @_ZN4sptk21InputSourceFromStreamC1EbiPSi(ptr noundef nonnull align 8 dereferenceable(25) %40, i1 noundef zeroext false, i32 noundef 1, ptr noundef nonnull %267)
          to label %268 unwind label %279

268:                                              ; preds = %265
  call void @llvm.lifetime.start.p0(i64 136, ptr nonnull %41) #11
  %269 = load i32, ptr %3, align 4, !tbaa !5
  %270 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN4sptk39InputSourceInterpolationWithMagicNumberC1EiibdPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(136) %41, i32 noundef %269, i32 noundef %270, i1 noundef zeroext false, double noundef 0.000000e+00, ptr noundef nonnull %40)
          to label %271 unwind label %283

271:                                              ; preds = %268
  %272 = call noundef zeroext i1 @_ZNK4sptk39InputSourceInterpolationWithMagicNumber7IsValidEv(ptr noundef nonnull align 8 dereferenceable(136) %41)
  br i1 %272, label %298, label %273

273:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %42) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42)
          to label %274 unwind label %287

274:                                              ; preds = %273
  %275 = 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 %276 unwind label %289

276:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %43) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %44) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %44) #11
  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 %277 unwind label %291

277:                                              ; preds = %276
  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 %278 unwind label %293

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

279:                                              ; preds = %265
  %280 = landingpad { ptr, i32 }
          cleanup
  %281 = extractvalue { ptr, i32 } %280, 0
  %282 = extractvalue { ptr, i32 } %280, 1
  br label %414

283:                                              ; preds = %268
  %284 = landingpad { ptr, i32 }
          cleanup
  %285 = extractvalue { ptr, i32 } %284, 0
  %286 = extractvalue { ptr, i32 } %284, 1
  br label %413

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

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

291:                                              ; preds = %276
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %295

293:                                              ; preds = %277
  %294 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #11
  br label %295

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

296:                                              ; preds = %295, %289
  %.pn125.pn = phi { ptr, i32 } [ %.pn125, %295 ], [ %290, %289 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %42) #11
  br label %297

297:                                              ; preds = %296, %287
  %.pn125.pn.pn = phi { ptr, i32 } [ %.pn125.pn, %296 ], [ %288, %287 ]
  %.25 = extractvalue { ptr, i32 } %.pn125.pn.pn, 0
  %.2573 = extractvalue { ptr, i32 } %.pn125.pn.pn, 1
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %42) #11
  br label %412

298:                                              ; preds = %271
  switch i32 %.028.ph, label %411 [
    i32 0, label %312
    i32 1, label %299
    i32 2, label %307
  ]

299:                                              ; preds = %298
  %300 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #12
          to label %301 unwind label %303

301:                                              ; preds = %299
  %302 = load i32, ptr %5, align 4, !tbaa !5
  invoke void @_ZN4sptk38NormalDistributedRandomValueGenerationC1Ei(ptr noundef nonnull align 8 dereferenceable(56) %300, i32 noundef %302)
          to label %312 unwind label %305

303:                                              ; preds = %307, %299
  %304 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %375

305:                                              ; preds = %301
  %306 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZdlPvm(ptr noundef nonnull %300, i64 noundef 56) #13
  br label %375

307:                                              ; preds = %298
  %308 = invoke noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #12
          to label %309 unwind label %303

309:                                              ; preds = %307
  invoke void @_ZN4sptk19MSequenceGenerationC1Ev(ptr noundef nonnull align 8 dereferenceable(12) %308)
          to label %312 unwind label %310

310:                                              ; preds = %309
  %311 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZdlPvm(ptr noundef nonnull %308, i64 noundef 16) #13
  br label %375

312:                                              ; preds = %309, %301, %298
  %.026 = phi ptr [ null, %298 ], [ %300, %301 ], [ %308, %309 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %45) #11
  invoke void @_ZN4sptk20ExcitationGenerationC1EPNS_39InputSourceInterpolationWithMagicNumberEPNS_25RandomGenerationInterfaceE(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull %41, ptr noundef %.026)
          to label %313 unwind label %326

313:                                              ; preds = %312
  %314 = call noundef zeroext i1 @_ZNK4sptk20ExcitationGeneration7IsValidEv(ptr noundef nonnull align 8 dereferenceable(40) %45)
  br i1 %314, label %339, label %315

315:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %46) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46)
          to label %316 unwind label %328

316:                                              ; preds = %315
  %317 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @.str.15)
          to label %318 unwind label %330

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

319:                                              ; preds = %318
  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 %320 unwind label %334

320:                                              ; preds = %319
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #11
  %321 = icmp eq ptr %.026, null
  br i1 %321, label %.thread175, label %322

322:                                              ; preds = %320
  %323 = load ptr, ptr %.026, align 8, !tbaa !11
  %324 = getelementptr inbounds i8, ptr %323, i64 8
  %325 = load ptr, ptr %324, align 8
  call void %325(ptr noundef nonnull align 8 dereferenceable(8) %.026) #11
  br label %.thread175

.thread175:                                       ; preds = %320, %322
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %46) #11
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %45) #11
  br label %411

326:                                              ; preds = %312
  %327 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %374

328:                                              ; preds = %315
  %329 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %338

330:                                              ; preds = %316
  %331 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %337

332:                                              ; preds = %318
  %333 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %336

334:                                              ; preds = %319
  %335 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #11
  br label %336

336:                                              ; preds = %334, %332
  %.pn129 = phi { ptr, i32 } [ %335, %334 ], [ %333, %332 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #11
  br label %337

337:                                              ; preds = %336, %330
  %.pn129.pn = phi { ptr, i32 } [ %.pn129, %336 ], [ %331, %330 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46) #11
  br label %338

338:                                              ; preds = %337, %328
  %.pn129.pn.pn = phi { ptr, i32 } [ %.pn129.pn, %337 ], [ %329, %328 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %46) #11
  br label %373

339:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %49) #11
  br label %340

340:                                              ; preds = %346, %339
  %341 = invoke noundef zeroext i1 @_ZN4sptk20ExcitationGeneration3GetEPdS1_S1_S1_(ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull %49, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %342 unwind label %358

342:                                              ; preds = %340
  br i1 %341, label %343, label %405

343:                                              ; preds = %342
  %344 = load double, ptr %49, align 8, !tbaa !13
  %345 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %344, ptr noundef nonnull @_ZSt4cout)
          to label %346 unwind label %358

346:                                              ; preds = %343
  br i1 %345, label %340, label %347, !llvm.loop !15

347:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %50) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %348 unwind label %360

348:                                              ; preds = %347
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.16)
          to label %350 unwind label %362

350:                                              ; preds = %348
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %51) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %52) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %351 unwind label %364

351:                                              ; preds = %350
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(112) %50)
          to label %352 unwind label %366

352:                                              ; preds = %351
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #11
  %353 = icmp eq ptr %.026, null
  br i1 %353, label %371, label %354

354:                                              ; preds = %352
  %355 = load ptr, ptr %.026, align 8, !tbaa !11
  %356 = getelementptr inbounds i8, ptr %355, i64 8
  %357 = load ptr, ptr %356, align 8
  call void %357(ptr noundef nonnull align 8 dereferenceable(8) %.026) #11
  br label %371

358:                                              ; preds = %343, %340
  %359 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %372

360:                                              ; preds = %347
  %361 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %370

362:                                              ; preds = %348
  %363 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %369

364:                                              ; preds = %350
  %365 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  br label %368

366:                                              ; preds = %351
  %367 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  br label %368

368:                                              ; preds = %366, %364
  %.pn133 = phi { ptr, i32 } [ %367, %366 ], [ %365, %364 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %52) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %51) #11
  br label %369

369:                                              ; preds = %368, %362
  %.pn133.pn = phi { ptr, i32 } [ %.pn133, %368 ], [ %363, %362 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #11
  br label %370

370:                                              ; preds = %369, %360
  %.pn133.pn.pn = phi { ptr, i32 } [ %.pn133.pn, %369 ], [ %361, %360 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %50) #11
  br label %372

371:                                              ; preds = %352, %354
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %50) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %50) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #11
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %45) #11
  br label %411

372:                                              ; preds = %370, %358
  %.pn133.pn.pn.pn = phi { ptr, i32 } [ %.pn133.pn.pn, %370 ], [ %359, %358 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #11
  br label %373

373:                                              ; preds = %372, %338
  %.pn133.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn133.pn.pn.pn, %372 ], [ %.pn129.pn.pn, %338 ]
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #11
  br label %374

374:                                              ; preds = %373, %326
  %.pn133.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn133.pn.pn.pn.pn, %373 ], [ %327, %326 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %45) #11
  br label %375

375:                                              ; preds = %374, %310, %305, %303
  %.pn133.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn133.pn.pn.pn.pn.pn, %374 ], [ %311, %310 ], [ %304, %303 ], [ %306, %305 ]
  %.127 = phi ptr [ %.026, %374 ], [ null, %310 ], [ null, %303 ], [ null, %305 ]
  %.35 = extractvalue { ptr, i32 } %.pn133.pn.pn.pn.pn.pn.pn, 0
  %.3583 = extractvalue { ptr, i32 } %.pn133.pn.pn.pn.pn.pn.pn, 1
  %376 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #11
  %377 = icmp eq i32 %.3583, %376
  br i1 %377, label %378, label %412

378:                                              ; preds = %375
  %379 = call ptr @__cxa_begin_catch(ptr %.35) #11
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %53) #11
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53)
          to label %380 unwind label %391

380:                                              ; preds = %378
  %381 = 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.17)
          to label %382 unwind label %393

382:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %54) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %55) #11
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #11
  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 %383 unwind label %395

383:                                              ; preds = %382
  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 %384 unwind label %397

384:                                              ; preds = %383
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #11
  %385 = icmp eq ptr %.127, null
  br i1 %385, label %390, label %386

386:                                              ; preds = %384
  %387 = load ptr, ptr %.127, align 8, !tbaa !11
  %388 = getelementptr inbounds i8, ptr %387, i64 8
  %389 = load ptr, ptr %388, align 8
  call void %389(ptr noundef nonnull align 8 dereferenceable(8) %.127) #11
  br label %390

390:                                              ; preds = %386, %384
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #11
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %53) #11
  invoke void @__cxa_end_catch()
          to label %411 unwind label %402

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

393:                                              ; preds = %380
  %394 = landingpad { ptr, i32 }
          cleanup
  br label %400

395:                                              ; preds = %382
  %396 = landingpad { ptr, i32 }
          cleanup
  br label %399

397:                                              ; preds = %383
  %398 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  br label %399

399:                                              ; preds = %397, %395
  %.pn141 = phi { ptr, i32 } [ %398, %397 ], [ %396, %395 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #11
  br label %400

400:                                              ; preds = %399, %393
  %.pn141.pn = phi { ptr, i32 } [ %.pn141, %399 ], [ %394, %393 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #11
  br label %401

401:                                              ; preds = %400, %391
  %.pn141.pn.pn = phi { ptr, i32 } [ %.pn141.pn, %400 ], [ %392, %391 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %53) #11
  invoke void @__cxa_end_catch()
          to label %404 unwind label %420

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

404:                                              ; preds = %401, %402
  %.pn145 = phi { ptr, i32 } [ %403, %402 ], [ %.pn141.pn.pn, %401 ]
  %.39 = extractvalue { ptr, i32 } %.pn145, 0
  %.3987 = extractvalue { ptr, i32 } %.pn145, 1
  br label %412

405:                                              ; preds = %342
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %49) #11
  call void @_ZN4sptk20ExcitationGenerationD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %45) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %45) #11
  %406 = icmp eq ptr %.026, null
  br i1 %406, label %411, label %407

407:                                              ; preds = %405
  %408 = load ptr, ptr %.026, align 8, !tbaa !11
  %409 = getelementptr inbounds i8, ptr %408, i64 8
  %410 = load ptr, ptr %409, align 8
  call void %410(ptr noundef nonnull align 8 dereferenceable(8) %.026) #11
  br label %411

411:                                              ; preds = %371, %.thread175, %298, %390, %407, %405, %278
  %.7 = phi i32 [ 1, %278 ], [ 1, %371 ], [ 1, %298 ], [ 1, %390 ], [ 0, %407 ], [ 0, %405 ], [ 1, %.thread175 ]
  call void @_ZN4sptk39InputSourceInterpolationWithMagicNumberD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %41) #11
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %41) #11
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %40) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #11
  br label %415

412:                                              ; preds = %375, %404, %297
  %.4189 = phi i32 [ %.2573, %297 ], [ %.3987, %404 ], [ %.3583, %375 ]
  %.41 = phi ptr [ %.25, %297 ], [ %.39, %404 ], [ %.35, %375 ]
  call void @_ZN4sptk39InputSourceInterpolationWithMagicNumberD2Ev(ptr noundef nonnull align 8 dereferenceable(136) %41) #11
  br label %413

413:                                              ; preds = %412, %283
  %.4290 = phi i32 [ %.4189, %412 ], [ %286, %283 ]
  %.42 = phi ptr [ %.41, %412 ], [ %285, %283 ]
  call void @llvm.lifetime.end.p0(i64 136, ptr nonnull %41) #11
  call void @_ZN4sptk20InputSourceInterfaceD2Ev(ptr noundef nonnull align 8 dereferenceable(25) %40) #11
  br label %414

414:                                              ; preds = %413, %279
  %.4391 = phi i32 [ %.4290, %413 ], [ %282, %279 ]
  %.43 = phi ptr [ %.42, %413 ], [ %281, %279 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %40) #11
  br label %416

415:                                              ; preds = %411, %249
  %.8 = phi i32 [ 1, %249 ], [ %.7, %411 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %36) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %36) #11
  br label %.thread165

416:                                              ; preds = %414, %264, %250
  %.4492 = phi i32 [ %.2270, %264 ], [ %.4391, %414 ], [ %253, %250 ]
  %.44 = phi ptr [ %.22, %264 ], [ %.43, %414 ], [ %252, %250 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %36) #11
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %36) #11
  br label %417

.thread165:                                       ; preds = %143, %69, %96, %156, %170, %171, %201, %415, %223, %184
  %.11 = phi i32 [ 1, %184 ], [ 1, %201 ], [ %.8, %415 ], [ 1, %223 ], [ 1, %143 ], [ 1, %69 ], [ 1, %96 ], [ 1, %156 ], [ 0, %170 ], [ 1, %171 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  ret i32 %.11

417:                                              ; preds = %209, %416, %231, %192, %172
  %.4795 = phi i32 [ %.1563, %192 ], [ %.1361, %172 ], [ %.1765, %209 ], [ %.4492, %416 ], [ %.1967, %231 ]
  %.47 = phi ptr [ %.15, %192 ], [ %.13, %172 ], [ %.17, %209 ], [ %.44, %416 ], [ %.19, %231 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #11
  %418 = insertvalue { ptr, i32 } poison, ptr %.47, 0
  %419 = insertvalue { ptr, i32 } %418, i32 %.4795, 1
  resume { ptr, i32 } %419

420:                                              ; preds = %401
  %421 = landingpad { ptr, i32 }
          catch ptr null
  %422 = extractvalue { ptr, i32 } %421, 0
  call void @__clang_call_terminate(ptr %422) #14
  unreachable
}

; 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 @_ZN4sptk9IsInRangeEiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() local_unnamed_addr #2

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

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

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

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

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

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

declare void @_ZN4sptk39InputSourceInterpolationWithMagicNumberC1EiibdPNS_20InputSourceInterfaceE(ptr noundef nonnull align 8 dereferenceable(136), i32 noundef, i32 noundef, i1 noundef zeroext, double noundef, ptr noundef) unnamed_addr #2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #7

declare void @_ZN4sptk38NormalDistributedRandomValueGenerationC1Ei(ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) unnamed_addr #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #8

declare void @_ZN4sptk19MSequenceGenerationC1Ev(ptr noundef nonnull align 8 dereferenceable(12)) unnamed_addr #2

declare void @_ZN4sptk20ExcitationGenerationC1EPNS_39InputSourceInterpolationWithMagicNumberEPNS_25RandomGenerationInterfaceE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ptr noundef) unnamed_addr #2

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

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

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #9

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #10

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

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

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

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

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

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

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


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