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

; 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.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.sptk::ModeAccumulation" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.1" = type { i8 }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }

@.str = external hidden unnamed_addr constant [12 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 [5 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 [58 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 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 [52 x i8], align 1
@ya_optind = external global i32, align 4
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.13 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %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 %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca i32, align 4
  %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.std::basic_ofstream", align 8
  %54 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %55 = alloca %"class.std::__cxx11::basic_string", align 8
  %56 = alloca %"class.std::allocator", align 1
  %57 = alloca ptr, align 8
  %58 = alloca %"class.sptk::ModeAccumulation", align 8
  %59 = alloca %"class.std::vector", align 8
  %60 = alloca %"class.std::allocator.1", align 1
  %61 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %62 = alloca %"class.std::__cxx11::basic_string", align 8
  %63 = alloca %"class.std::allocator", align 1
  %64 = alloca i32, align 4
  %65 = alloca %"class.std::vector.4", align 8
  %66 = alloca %"class.std::allocator.6", align 1
  %67 = alloca i32, align 4
  %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
  %71 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %72 = alloca %"class.std::__cxx11::basic_string", align 8
  %73 = alloca %"class.std::allocator", align 1
  %74 = alloca i8, align 1
  %75 = alloca i32, align 4
  %76 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %77 = alloca %"class.std::__cxx11::basic_string", align 8
  %78 = alloca %"class.std::allocator", align 1
  %79 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %80 = alloca %"class.std::__cxx11::basic_string", align 8
  %81 = 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) #7
  store i32 0, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 1, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 1, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  store ptr null, ptr %9, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %272, %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = load ptr, ptr %5, align 8, !tbaa !9
  %85 = call i32 @ya_getopt_long(i32 noundef %83, ptr noundef %84, ptr noundef @.str, ptr noundef null, ptr noundef null)
  store i32 %85, ptr %10, align 4, !tbaa !5
  %86 = load i32, ptr %10, align 4, !tbaa !5
  %87 = icmp eq i32 -1, %86
  br i1 %87, label %88, label %89

88:                                               ; preds = %82
  store i32 2, ptr %11, align 4
  br label %270

89:                                               ; preds = %82
  %90 = load i32, ptr %10, align 4, !tbaa !5
  switch i32 %90, label %268 [
    i32 108, label %91
    i32 109, label %132
    i32 98, label %173
    i32 119, label %212
    i32 99, label %265
    i32 104, label %267
  ]

91:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr %12) #7
  %92 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %92, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %93 unwind label %106

93:                                               ; preds = %91
  %94 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef %6)
          to label %95 unwind label %110

95:                                               ; preds = %93
  br i1 %94, label %96, label %99

96:                                               ; preds = %95
  %97 = load i32, ptr %6, align 4, !tbaa !5
  %98 = icmp sle i32 %97, 0
  br label %99

99:                                               ; preds = %96, %95
  %100 = phi i1 [ true, %95 ], [ %98, %96 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br i1 %100, label %101, label %129

101:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 376, ptr %16) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16)
  %102 = 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 %103 unwind label %115

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  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 %104 unwind label %119

104:                                              ; preds = %103
  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 %105 unwind label %123

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

106:                                              ; preds = %91
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %14, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %15, align 4
  br label %114

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

114:                                              ; preds = %110, %106
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %13) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %12) #7
  br label %273

115:                                              ; preds = %101
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %14, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %15, align 4
  br label %128

119:                                              ; preds = %103
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %14, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %15, align 4
  br label %127

123:                                              ; preds = %104
  %124 = landingpad { ptr, i32 }
          cleanup
  %125 = extractvalue { ptr, i32 } %124, 0
  store ptr %125, ptr %14, align 8
  %126 = extractvalue { ptr, i32 } %124, 1
  store i32 %126, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #7
  br label %127

127:                                              ; preds = %123, %119
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #7
  br label %128

128:                                              ; preds = %127, %115
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %16) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %16) #7
  br label %273

129:                                              ; preds = %99
  %130 = load i32, ptr %6, align 4, !tbaa !5
  %131 = add nsw i32 %130, -1
  store i32 %131, ptr %6, align 4, !tbaa !5
  br label %269

132:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #7
  %133 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %133, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %134 unwind label %149

134:                                              ; preds = %132
  %135 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef %6)
          to label %136 unwind label %153

136:                                              ; preds = %134
  br i1 %135, label %137, label %140

137:                                              ; preds = %136
  %138 = load i32, ptr %6, align 4, !tbaa !5
  %139 = icmp slt i32 %138, 0
  br label %140

140:                                              ; preds = %137, %136
  %141 = phi i1 [ true, %136 ], [ %139, %137 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br i1 %141, label %142, label %172

142:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 376, ptr %21) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21)
  %143 = 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 %144 unwind label %158

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

146:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  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 %147 unwind label %162

147:                                              ; preds = %146
  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 %148 unwind label %166

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

149:                                              ; preds = %132
  %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) %19) #7
  br label %157

157:                                              ; preds = %153, %149
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #7
  br label %273

158:                                              ; preds = %144, %142
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %14, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %15, align 4
  br label %171

162:                                              ; preds = %146
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %14, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %15, align 4
  br label %170

166:                                              ; preds = %147
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %14, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #7
  br label %170

170:                                              ; preds = %166, %162
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #7
  br label %171

171:                                              ; preds = %170, %158
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %21) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %21) #7
  br label %273

172:                                              ; preds = %140
  br label %269

173:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #7
  %174 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %174, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %175 unwind label %188

175:                                              ; preds = %173
  %176 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef %7)
          to label %177 unwind label %192

177:                                              ; preds = %175
  br i1 %176, label %178, label %181

178:                                              ; preds = %177
  %179 = load i32, ptr %7, align 4, !tbaa !5
  %180 = icmp sle i32 %179, 0
  br label %181

181:                                              ; preds = %178, %177
  %182 = phi i1 [ true, %177 ], [ %180, %178 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br i1 %182, label %183, label %211

183:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 376, ptr %26) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26)
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @.str.5)
          to label %185 unwind label %197

185:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %186 unwind label %201

186:                                              ; preds = %185
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %187 unwind label %205

187:                                              ; preds = %186
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  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) %26) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %26) #7
  br label %270

188:                                              ; preds = %173
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %14, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %15, align 4
  br label %196

192:                                              ; preds = %175
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %14, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %196

196:                                              ; preds = %192, %188
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #7
  br label %273

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

201:                                              ; preds = %185
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %14, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %15, align 4
  br label %209

205:                                              ; preds = %186
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %14, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #7
  br label %209

209:                                              ; preds = %205, %201
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #7
  br label %210

210:                                              ; preds = %209, %197
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %26) #7
  br label %273

211:                                              ; preds = %181
  br label %269

212:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store i32 0, ptr %29, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store i32 1, ptr %30, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #7
  %213 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %213, ptr noundef nonnull align 1 dereferenceable(1) %33)
          to label %214 unwind label %237

214:                                              ; preds = %212
  %215 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef %31)
          to label %216 unwind label %241

216:                                              ; preds = %214
  br i1 %215, label %217, label %222

217:                                              ; preds = %216
  %218 = load i32, ptr %31, align 4, !tbaa !5
  %219 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %218, i32 noundef 0, i32 noundef 1)
          to label %220 unwind label %241

220:                                              ; preds = %217
  %221 = xor i1 %219, true
  br label %222

222:                                              ; preds = %220, %216
  %223 = phi i1 [ true, %216 ], [ %221, %220 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %33) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #7
  br i1 %223, label %224, label %260

224:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 376, ptr %34) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34)
  %225 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef @.str.6)
          to label %226 unwind label %246

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

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

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

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

234:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  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 %235 unwind label %250

235:                                              ; preds = %234
  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 %236 unwind label %254

236:                                              ; preds = %235
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #7
  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) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %34) #7
  br label %262

237:                                              ; preds = %212
  %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 = %217, %214
  %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) %32) #7
  br label %245

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

246:                                              ; preds = %232, %230, %228, %226, %224
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %14, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %15, align 4
  br label %259

250:                                              ; preds = %234
  %251 = landingpad { ptr, i32 }
          cleanup
  %252 = extractvalue { ptr, i32 } %251, 0
  store ptr %252, ptr %14, align 8
  %253 = extractvalue { ptr, i32 } %251, 1
  store i32 %253, ptr %15, align 4
  br label %258

254:                                              ; preds = %235
  %255 = landingpad { ptr, i32 }
          cleanup
  %256 = extractvalue { ptr, i32 } %255, 0
  store ptr %256, ptr %14, align 8
  %257 = extractvalue { ptr, i32 } %255, 1
  store i32 %257, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %258

258:                                              ; preds = %254, %250
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #7
  br label %259

259:                                              ; preds = %258, %246
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %34) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %34) #7
  br label %264

260:                                              ; preds = %222
  %261 = load i32, ptr %31, align 4, !tbaa !5
  store i32 %261, ptr %8, align 4, !tbaa !11
  store i32 4, ptr %11, align 4
  br label %262

262:                                              ; preds = %260, %236
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  %263 = load i32, ptr %11, align 4
  switch i32 %263, label %270 [
    i32 4, label %269
  ]

264:                                              ; preds = %259, %245
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  br label %273

265:                                              ; preds = %89
  %266 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  store ptr %266, ptr %9, align 8, !tbaa !9
  br label %269

267:                                              ; preds = %89
  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 %270

268:                                              ; preds = %89
  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 %270

269:                                              ; preds = %265, %262, %211, %172, %129
  store i32 0, ptr %11, align 4
  br label %270

270:                                              ; preds = %269, %268, %267, %262, %187, %148, %105, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  %271 = load i32, ptr %11, align 4
  switch i32 %271, label %758 [
    i32 0, label %272
    i32 2, label %274
  ]

272:                                              ; preds = %270
  br label %82, !llvm.loop !12

273:                                              ; preds = %264, %210, %196, %171, %157, %128, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %760

274:                                              ; preds = %270
  %275 = load i32, ptr %8, align 4, !tbaa !11
  %276 = icmp eq i32 0, %275
  br i1 %276, label %277, label %304

277:                                              ; preds = %274
  %278 = load i32, ptr %6, align 4, !tbaa !5
  %279 = icmp eq i32 0, %278
  br i1 %279, label %285, label %280

280:                                              ; preds = %277
  %281 = load i32, ptr %6, align 4, !tbaa !5
  %282 = add nsw i32 %281, 1
  %283 = load i32, ptr %7, align 4, !tbaa !5
  %284 = icmp slt i32 %282, %283
  br i1 %284, label %285, label %304

285:                                              ; preds = %280, %277
  call void @llvm.lifetime.start.p0(i64 376, ptr %37) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37)
  %286 = 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 %287 unwind label %290

287:                                              ; preds = %285
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  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 %288 unwind label %294

288:                                              ; preds = %287
  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 %289 unwind label %298

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

290:                                              ; preds = %285
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %14, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %15, align 4
  br label %303

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

298:                                              ; preds = %288
  %299 = landingpad { ptr, i32 }
          cleanup
  %300 = extractvalue { ptr, i32 } %299, 0
  store ptr %300, ptr %14, align 8
  %301 = extractvalue { ptr, i32 } %299, 1
  store i32 %301, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #7
  br label %302

302:                                              ; preds = %298, %294
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #7
  br label %303

303:                                              ; preds = %302, %290
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %37) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %37) #7
  br label %760

304:                                              ; preds = %280, %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #7
  %305 = load i32, ptr %4, align 4, !tbaa !5
  %306 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %307 = sub nsw i32 %305, %306
  store i32 %307, ptr %40, align 4, !tbaa !5
  %308 = load i32, ptr %40, align 4, !tbaa !5
  %309 = icmp slt i32 1, %308
  br i1 %309, label %310, label %329

310:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 376, ptr %41) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41)
  %311 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @.str.10)
          to label %312 unwind label %315

312:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  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 %313 unwind label %319

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

314:                                              ; preds = %313
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #7
  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) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %41) #7
  br label %756

315:                                              ; preds = %310
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %14, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %15, align 4
  br label %328

319:                                              ; preds = %312
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %14, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %15, align 4
  br label %327

323:                                              ; preds = %313
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %14, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #7
  br label %327

327:                                              ; preds = %323, %319
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #7
  br label %328

328:                                              ; preds = %327, %315
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %41) #7
  br label %757

329:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %330 = load i32, ptr %40, align 4, !tbaa !5
  %331 = icmp eq i32 0, %330
  br i1 %331, label %332, label %333

332:                                              ; preds = %329
  br label %339

333:                                              ; preds = %329
  %334 = load ptr, ptr %5, align 8, !tbaa !9
  %335 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %336 = sext i32 %335 to i64
  %337 = getelementptr inbounds ptr, ptr %334, i64 %336
  %338 = load ptr, ptr %337, align 8, !tbaa !9
  br label %339

339:                                              ; preds = %333, %332
  %340 = phi ptr [ null, %332 ], [ %338, %333 ]
  store ptr %340, ptr %44, align 8, !tbaa !9
  %341 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %341, label %361, label %342

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

344:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 32, ptr %46) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #7
  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 %345 unwind label %351

345:                                              ; preds = %344
  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 %346 unwind label %355

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

347:                                              ; preds = %342
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %14, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %15, align 4
  br label %360

351:                                              ; preds = %344
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %14, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %15, align 4
  br label %359

355:                                              ; preds = %345
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %14, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #7
  br label %359

359:                                              ; preds = %355, %351
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %47) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %46) #7
  br label %360

360:                                              ; preds = %359, %347
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %45) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %45) #7
  br label %755

361:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 520, ptr %48) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48)
  %362 = load ptr, ptr %44, align 8, !tbaa !9
  %363 = icmp ne ptr null, %362
  br i1 %363, label %364, label %408

364:                                              ; preds = %361
  %365 = load ptr, ptr %44, align 8, !tbaa !9
  %366 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %367 unwind label %384

367:                                              ; preds = %364
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %48, ptr noundef %365, i32 noundef %366)
          to label %368 unwind label %384

368:                                              ; preds = %367
  %369 = load ptr, ptr %48, align 8, !tbaa !14
  %370 = getelementptr i8, ptr %369, i64 -24
  %371 = load i64, ptr %370, align 8
  %372 = getelementptr inbounds i8, ptr %48, i64 %371
  %373 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %372)
          to label %374 unwind label %384

374:                                              ; preds = %368
  br i1 %373, label %375, label %407

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

376:                                              ; preds = %375
  %377 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @.str.12)
          to label %378 unwind label %392

378:                                              ; preds = %376
  %379 = load ptr, ptr %44, align 8, !tbaa !9
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %377, ptr noundef %379)
          to label %381 unwind label %392

381:                                              ; preds = %378
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #7
  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 %382 unwind label %396

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

383:                                              ; preds = %382
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #7
  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) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %49) #7
  br label %752

384:                                              ; preds = %368, %367, %364
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %14, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %15, align 4
  br label %753

388:                                              ; preds = %375
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %14, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %15, align 4
  br label %406

392:                                              ; preds = %378, %376
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %14, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %15, align 4
  br label %405

396:                                              ; preds = %381
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %14, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %15, align 4
  br label %404

400:                                              ; preds = %382
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %14, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #7
  br label %404

404:                                              ; preds = %400, %396
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #7
  br label %405

405:                                              ; preds = %404, %392
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #7
  br label %406

406:                                              ; preds = %405, %388
  call void @llvm.lifetime.end.p0(i64 376, ptr %49) #7
  br label %753

407:                                              ; preds = %374
  br label %408

408:                                              ; preds = %407, %361
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #7
  %409 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %48)
          to label %410 unwind label %438

410:                                              ; preds = %408
  br i1 %409, label %411, label %412

411:                                              ; preds = %410
  br label %413

412:                                              ; preds = %410
  br label %413

413:                                              ; preds = %412, %411
  %414 = phi ptr [ %48, %411 ], [ @_ZSt3cin, %412 ]
  store ptr %414, ptr %52, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 512, ptr %53) #7
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %53)
          to label %415 unwind label %442

415:                                              ; preds = %413
  %416 = load ptr, ptr %9, align 8, !tbaa !9
  %417 = icmp ne ptr null, %416
  br i1 %417, label %418, label %470

418:                                              ; preds = %415
  %419 = load ptr, ptr %9, align 8, !tbaa !9
  %420 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 4)
          to label %421 unwind label %446

421:                                              ; preds = %418
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %53, ptr noundef %419, i32 noundef %420)
          to label %422 unwind label %446

422:                                              ; preds = %421
  %423 = load ptr, ptr %53, align 8, !tbaa !14
  %424 = getelementptr i8, ptr %423, i64 -24
  %425 = load i64, ptr %424, align 8
  %426 = getelementptr inbounds i8, ptr %53, i64 %425
  %427 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %426)
          to label %428 unwind label %446

428:                                              ; preds = %422
  br i1 %427, label %429, label %469

429:                                              ; preds = %428
  call void @llvm.lifetime.start.p0(i64 376, ptr %54) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %430 unwind label %450

430:                                              ; preds = %429
  %431 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @.str.12)
          to label %432 unwind label %454

432:                                              ; preds = %430
  %433 = load ptr, ptr %9, align 8, !tbaa !9
  %434 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %431, ptr noundef %433)
          to label %435 unwind label %454

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

436:                                              ; preds = %435
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %437 unwind label %462

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

438:                                              ; preds = %408
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %14, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %15, align 4
  br label %751

442:                                              ; preds = %413
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %14, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %15, align 4
  br label %750

446:                                              ; preds = %422, %421, %418
  %447 = landingpad { ptr, i32 }
          cleanup
  %448 = extractvalue { ptr, i32 } %447, 0
  store ptr %448, ptr %14, align 8
  %449 = extractvalue { ptr, i32 } %447, 1
  store i32 %449, ptr %15, align 4
  br label %749

450:                                              ; preds = %429
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %14, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %15, align 4
  br label %468

454:                                              ; preds = %432, %430
  %455 = landingpad { ptr, i32 }
          cleanup
  %456 = extractvalue { ptr, i32 } %455, 0
  store ptr %456, ptr %14, align 8
  %457 = extractvalue { ptr, i32 } %455, 1
  store i32 %457, ptr %15, align 4
  br label %467

458:                                              ; preds = %435
  %459 = landingpad { ptr, i32 }
          cleanup
  %460 = extractvalue { ptr, i32 } %459, 0
  store ptr %460, ptr %14, align 8
  %461 = extractvalue { ptr, i32 } %459, 1
  store i32 %461, ptr %15, align 4
  br label %466

462:                                              ; preds = %436
  %463 = landingpad { ptr, i32 }
          cleanup
  %464 = extractvalue { ptr, i32 } %463, 0
  store ptr %464, ptr %14, align 8
  %465 = extractvalue { ptr, i32 } %463, 1
  store i32 %465, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  br label %466

466:                                              ; preds = %462, %458
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %55) #7
  br label %467

467:                                              ; preds = %466, %454
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #7
  br label %468

468:                                              ; preds = %467, %450
  call void @llvm.lifetime.end.p0(i64 376, ptr %54) #7
  br label %749

469:                                              ; preds = %428
  br label %470

470:                                              ; preds = %469, %415
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #7
  %471 = load ptr, ptr %9, align 8, !tbaa !9
  %472 = icmp eq ptr null, %471
  br i1 %472, label %473, label %474

473:                                              ; preds = %470
  br label %475

474:                                              ; preds = %470
  br label %475

475:                                              ; preds = %474, %473
  %476 = phi ptr [ null, %473 ], [ %53, %474 ]
  store ptr %476, ptr %57, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %58) #7
  %477 = load i32, ptr %7, align 4, !tbaa !5
  invoke void @_ZN4sptk16ModeAccumulationC1Ei(ptr noundef nonnull align 8 dereferenceable(13) %58, i32 noundef %477)
          to label %478 unwind label %497

478:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 24, ptr %59) #7
  %479 = load i32, ptr %8, align 4, !tbaa !11
  %480 = icmp eq i32 0, %479
  br i1 %480, label %481, label %482

481:                                              ; preds = %478
  br label %485

482:                                              ; preds = %478
  %483 = load i32, ptr %6, align 4, !tbaa !5
  %484 = add nsw i32 %483, 1
  br label %485

485:                                              ; preds = %482, %481
  %486 = phi i32 [ 1, %481 ], [ %484, %482 ]
  %487 = sext i32 %486 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #7
  call void @_ZNSaIN4sptk16ModeAccumulation6BufferEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  invoke void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %487, ptr noundef nonnull align 1 dereferenceable(1) %60)
          to label %488 unwind label %501

488:                                              ; preds = %485
  call void @_ZNSt15__new_allocatorIN4sptk16ModeAccumulation6BufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  %489 = invoke noundef zeroext i1 @_ZNK4sptk16ModeAccumulation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13) %58)
          to label %490 unwind label %505

490:                                              ; preds = %488
  br i1 %489, label %528, label %491

491:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 376, ptr %61) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %61)
          to label %492 unwind label %509

492:                                              ; preds = %491
  %493 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef @.str.13)
          to label %494 unwind label %513

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

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

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

497:                                              ; preds = %475
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %14, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %15, align 4
  br label %747

501:                                              ; preds = %485
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %14, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIN4sptk16ModeAccumulation6BufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #7
  br label %746

505:                                              ; preds = %488
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %14, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %15, align 4
  br label %745

509:                                              ; preds = %491
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %14, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %15, align 4
  br label %527

513:                                              ; preds = %492
  %514 = landingpad { ptr, i32 }
          cleanup
  %515 = extractvalue { ptr, i32 } %514, 0
  store ptr %515, ptr %14, align 8
  %516 = extractvalue { ptr, i32 } %514, 1
  store i32 %516, ptr %15, align 4
  br label %526

517:                                              ; preds = %494
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %14, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %15, align 4
  br label %525

521:                                              ; preds = %495
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %14, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #7
  br label %525

525:                                              ; preds = %521, %517
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %62) #7
  br label %526

526:                                              ; preds = %525, %513
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %61) #7
  br label %527

527:                                              ; preds = %526, %509
  call void @llvm.lifetime.end.p0(i64 376, ptr %61) #7
  br label %745

528:                                              ; preds = %490
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #7
  %529 = load i32, ptr %6, align 4, !tbaa !5
  %530 = add nsw i32 %529, 1
  store i32 %530, ptr %64, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %65) #7
  %531 = load i32, ptr %64, align 4, !tbaa !5
  %532 = sext i32 %531 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %66) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %532, ptr noundef nonnull align 1 dereferenceable(1) %66)
          to label %533 unwind label %548

533:                                              ; preds = %528
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #7
  %534 = load i32, ptr %8, align 4, !tbaa !11
  %535 = icmp eq i32 0, %534
  br i1 %535, label %536, label %634

536:                                              ; preds = %533
  br label %537

537:                                              ; preds = %632, %536
  %538 = load i32, ptr %64, align 4, !tbaa !5
  %539 = load ptr, ptr %52, align 8, !tbaa !9
  %540 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %538, ptr noundef %65, ptr noundef %539, ptr noundef null)
          to label %541 unwind label %552

541:                                              ; preds = %537
  br i1 %540, label %542, label %633

542:                                              ; preds = %541
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #7
  store i32 0, ptr %67, align 4, !tbaa !5
  br label %543

543:                                              ; preds = %594, %542
  %544 = load i32, ptr %67, align 4, !tbaa !5
  %545 = load i32, ptr %64, align 4, !tbaa !5
  %546 = icmp slt i32 %544, %545
  br i1 %546, label %556, label %547

547:                                              ; preds = %543
  store i32 7, ptr %11, align 4
  br label %597

548:                                              ; preds = %528
  %549 = landingpad { ptr, i32 }
          cleanup
  %550 = extractvalue { ptr, i32 } %549, 0
  store ptr %550, ptr %14, align 8
  %551 = extractvalue { ptr, i32 } %549, 1
  store i32 %551, ptr %15, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %66) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %66) #7
  br label %743

552:                                              ; preds = %630, %600, %537
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %14, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %15, align 4
  br label %742

556:                                              ; preds = %543
  %557 = load i32, ptr %67, align 4, !tbaa !5
  %558 = sext i32 %557 to i64
  %559 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %558) #7
  %560 = load double, ptr %559, align 8, !tbaa !16
  %561 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #7
  %562 = invoke noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %58, double noundef %560, ptr noundef %561)
          to label %563 unwind label %570

563:                                              ; preds = %556
  br i1 %562, label %593, label %564

564:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 376, ptr %68) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68)
          to label %565 unwind label %574

565:                                              ; preds = %564
  %566 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef @.str.14)
          to label %567 unwind label %578

567:                                              ; preds = %565
  call void @llvm.lifetime.start.p0(i64 32, ptr %69) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %70) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #7
  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 %568 unwind label %582

568:                                              ; preds = %567
  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 %569 unwind label %586

569:                                              ; preds = %568
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #7
  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) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #7
  br label %597

570:                                              ; preds = %556
  %571 = landingpad { ptr, i32 }
          cleanup
  %572 = extractvalue { ptr, i32 } %571, 0
  store ptr %572, ptr %14, align 8
  %573 = extractvalue { ptr, i32 } %571, 1
  store i32 %573, ptr %15, align 4
  br label %599

574:                                              ; preds = %564
  %575 = landingpad { ptr, i32 }
          cleanup
  %576 = extractvalue { ptr, i32 } %575, 0
  store ptr %576, ptr %14, align 8
  %577 = extractvalue { ptr, i32 } %575, 1
  store i32 %577, ptr %15, align 4
  br label %592

578:                                              ; preds = %565
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %14, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %15, align 4
  br label %591

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 %590

586:                                              ; preds = %568
  %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
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %69) #7
  br label %590

590:                                              ; preds = %586, %582
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %70) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %70) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %69) #7
  br label %591

591:                                              ; preds = %590, %578
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %68) #7
  br label %592

592:                                              ; preds = %591, %574
  call void @llvm.lifetime.end.p0(i64 376, ptr %68) #7
  br label %599

593:                                              ; preds = %563
  br label %594

594:                                              ; preds = %593
  %595 = load i32, ptr %67, align 4, !tbaa !5
  %596 = add nsw i32 %595, 1
  store i32 %596, ptr %67, align 4, !tbaa !5
  br label %543, !llvm.loop !18

597:                                              ; preds = %569, %547
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  %598 = load i32, ptr %11, align 4
  switch i32 %598, label %741 [
    i32 7, label %600
  ]

599:                                              ; preds = %592, %570
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #7
  br label %742

600:                                              ; preds = %597
  %601 = load i32, ptr %7, align 4, !tbaa !5
  %602 = load ptr, ptr %57, align 8, !tbaa !9
  %603 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13) %58, ptr noundef nonnull align 8 dereferenceable(24) %59, i32 noundef %601, ptr noundef %602)
          to label %604 unwind label %552

604:                                              ; preds = %600
  br i1 %603, label %630, label %605

605:                                              ; preds = %604
  call void @llvm.lifetime.start.p0(i64 376, ptr %71) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %606 unwind label %611

606:                                              ; preds = %605
  %607 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @.str.15)
          to label %608 unwind label %615

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

609:                                              ; preds = %608
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(112) %71)
          to label %610 unwind label %623

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

611:                                              ; preds = %605
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %14, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %15, align 4
  br label %629

615:                                              ; preds = %606
  %616 = landingpad { ptr, i32 }
          cleanup
  %617 = extractvalue { ptr, i32 } %616, 0
  store ptr %617, ptr %14, align 8
  %618 = extractvalue { ptr, i32 } %616, 1
  store i32 %618, ptr %15, align 4
  br label %628

619:                                              ; preds = %608
  %620 = landingpad { ptr, i32 }
          cleanup
  %621 = extractvalue { ptr, i32 } %620, 0
  store ptr %621, ptr %14, align 8
  %622 = extractvalue { ptr, i32 } %620, 1
  store i32 %622, ptr %15, align 4
  br label %627

623:                                              ; preds = %609
  %624 = landingpad { ptr, i32 }
          cleanup
  %625 = extractvalue { ptr, i32 } %624, 0
  store ptr %625, ptr %14, align 8
  %626 = extractvalue { ptr, i32 } %624, 1
  store i32 %626, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #7
  br label %627

627:                                              ; preds = %623, %619
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %73) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %73) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %72) #7
  br label %628

628:                                              ; preds = %627, %615
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %71) #7
  br label %629

629:                                              ; preds = %628, %611
  call void @llvm.lifetime.end.p0(i64 376, ptr %71) #7
  br label %742

630:                                              ; preds = %604
  %631 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef 0) #7
  invoke void @_ZNK4sptk16ModeAccumulation5ClearEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %58, ptr noundef %631)
          to label %632 unwind label %552

632:                                              ; preds = %630
  br label %537, !llvm.loop !19

633:                                              ; preds = %541
  br label %740

634:                                              ; preds = %533
  %635 = load i32, ptr %8, align 4, !tbaa !11
  %636 = icmp eq i32 1, %635
  br i1 %636, label %637, label %739

637:                                              ; preds = %634
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #7
  store i8 1, ptr %74, align 1, !tbaa !20
  br label %638

638:                                              ; preds = %699, %637
  %639 = load i32, ptr %64, align 4, !tbaa !5
  %640 = load ptr, ptr %52, align 8, !tbaa !9
  %641 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %639, ptr noundef %65, ptr noundef %640, ptr noundef null)
          to label %642 unwind label %649

642:                                              ; preds = %638
  br i1 %641, label %643, label %700

643:                                              ; preds = %642
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #7
  store i32 0, ptr %75, align 4, !tbaa !5
  br label %644

644:                                              ; preds = %693, %643
  %645 = load i32, ptr %75, align 4, !tbaa !5
  %646 = load i32, ptr %64, align 4, !tbaa !5
  %647 = icmp slt i32 %645, %646
  br i1 %647, label %653, label %648

648:                                              ; preds = %644
  store i32 12, ptr %11, align 4
  br label %696

649:                                              ; preds = %703, %638
  %650 = landingpad { ptr, i32 }
          cleanup
  %651 = extractvalue { ptr, i32 } %650, 0
  store ptr %651, ptr %14, align 8
  %652 = extractvalue { ptr, i32 } %650, 1
  store i32 %652, ptr %15, align 4
  br label %738

653:                                              ; preds = %644
  %654 = load i32, ptr %75, align 4, !tbaa !5
  %655 = sext i32 %654 to i64
  %656 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %65, i64 noundef %655) #7
  %657 = load double, ptr %656, align 8, !tbaa !16
  %658 = load i32, ptr %75, align 4, !tbaa !5
  %659 = sext i32 %658 to i64
  %660 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %659) #7
  %661 = invoke noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %58, double noundef %657, ptr noundef %660)
          to label %662 unwind label %669

662:                                              ; preds = %653
  br i1 %661, label %692, label %663

663:                                              ; preds = %662
  call void @llvm.lifetime.start.p0(i64 376, ptr %76) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %76)
          to label %664 unwind label %673

664:                                              ; preds = %663
  %665 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef @.str.14)
          to label %666 unwind label %677

666:                                              ; preds = %664
  call void @llvm.lifetime.start.p0(i64 32, ptr %77) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %78) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %78)
          to label %667 unwind label %681

667:                                              ; preds = %666
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(112) %76)
          to label %668 unwind label %685

668:                                              ; preds = %667
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #7
  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) %76) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %76) #7
  br label %696

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

673:                                              ; preds = %663
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %14, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %15, align 4
  br label %691

677:                                              ; preds = %664
  %678 = landingpad { ptr, i32 }
          cleanup
  %679 = extractvalue { ptr, i32 } %678, 0
  store ptr %679, ptr %14, align 8
  %680 = extractvalue { ptr, i32 } %678, 1
  store i32 %680, ptr %15, align 4
  br label %690

681:                                              ; preds = %666
  %682 = landingpad { ptr, i32 }
          cleanup
  %683 = extractvalue { ptr, i32 } %682, 0
  store ptr %683, ptr %14, align 8
  %684 = extractvalue { ptr, i32 } %682, 1
  store i32 %684, ptr %15, align 4
  br label %689

685:                                              ; preds = %667
  %686 = landingpad { ptr, i32 }
          cleanup
  %687 = extractvalue { ptr, i32 } %686, 0
  store ptr %687, ptr %14, align 8
  %688 = extractvalue { ptr, i32 } %686, 1
  store i32 %688, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #7
  br label %689

689:                                              ; preds = %685, %681
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %78) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %78) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %77) #7
  br label %690

690:                                              ; preds = %689, %677
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %76) #7
  br label %691

691:                                              ; preds = %690, %673
  call void @llvm.lifetime.end.p0(i64 376, ptr %76) #7
  br label %698

692:                                              ; preds = %662
  br label %693

693:                                              ; preds = %692
  %694 = load i32, ptr %75, align 4, !tbaa !5
  %695 = add nsw i32 %694, 1
  store i32 %695, ptr %75, align 4, !tbaa !5
  br label %644, !llvm.loop !22

696:                                              ; preds = %668, %648
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  %697 = load i32, ptr %11, align 4
  switch i32 %697, label %735 [
    i32 12, label %699
  ]

698:                                              ; preds = %691, %669
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #7
  br label %738

699:                                              ; preds = %696
  store i8 0, ptr %74, align 1, !tbaa !20
  br label %638, !llvm.loop !23

700:                                              ; preds = %642
  %701 = load i8, ptr %74, align 1, !tbaa !20, !range !24, !noundef !25
  %702 = trunc i8 %701 to i1
  br i1 %702, label %734, label %703

703:                                              ; preds = %700
  %704 = load i32, ptr %7, align 4, !tbaa !5
  %705 = load ptr, ptr %57, align 8, !tbaa !9
  %706 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13) %58, ptr noundef nonnull align 8 dereferenceable(24) %59, i32 noundef %704, ptr noundef %705)
          to label %707 unwind label %649

707:                                              ; preds = %703
  br i1 %706, label %733, label %708

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

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

711:                                              ; preds = %709
  call void @llvm.lifetime.start.p0(i64 32, ptr %80) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %81) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %81)
          to label %712 unwind label %722

712:                                              ; preds = %711
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef nonnull align 8 dereferenceable(112) %79)
          to label %713 unwind label %726

713:                                              ; preds = %712
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #7
  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) %79) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr %79) #7
  br label %735

714:                                              ; preds = %708
  %715 = landingpad { ptr, i32 }
          cleanup
  %716 = extractvalue { ptr, i32 } %715, 0
  store ptr %716, ptr %14, align 8
  %717 = extractvalue { ptr, i32 } %715, 1
  store i32 %717, ptr %15, align 4
  br label %732

718:                                              ; preds = %709
  %719 = landingpad { ptr, i32 }
          cleanup
  %720 = extractvalue { ptr, i32 } %719, 0
  store ptr %720, ptr %14, align 8
  %721 = extractvalue { ptr, i32 } %719, 1
  store i32 %721, ptr %15, align 4
  br label %731

722:                                              ; preds = %711
  %723 = landingpad { ptr, i32 }
          cleanup
  %724 = extractvalue { ptr, i32 } %723, 0
  store ptr %724, ptr %14, align 8
  %725 = extractvalue { ptr, i32 } %723, 1
  store i32 %725, ptr %15, align 4
  br label %730

726:                                              ; preds = %712
  %727 = landingpad { ptr, i32 }
          cleanup
  %728 = extractvalue { ptr, i32 } %727, 0
  store ptr %728, ptr %14, align 8
  %729 = extractvalue { ptr, i32 } %727, 1
  store i32 %729, ptr %15, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %80) #7
  br label %730

730:                                              ; preds = %726, %722
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %81) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %81) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #7
  br label %731

731:                                              ; preds = %730, %718
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %79) #7
  br label %732

732:                                              ; preds = %731, %714
  call void @llvm.lifetime.end.p0(i64 376, ptr %79) #7
  br label %738

733:                                              ; preds = %707
  br label %734

734:                                              ; preds = %733, %700
  store i32 0, ptr %11, align 4
  br label %735

735:                                              ; preds = %734, %713, %696
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #7
  %736 = load i32, ptr %11, align 4
  switch i32 %736, label %741 [
    i32 0, label %737
  ]

737:                                              ; preds = %735
  br label %739

738:                                              ; preds = %732, %698, %649
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #7
  br label %742

739:                                              ; preds = %737, %634
  br label %740

740:                                              ; preds = %739, %633
  store i32 0, ptr %3, align 4
  store i32 1, ptr %11, align 4
  br label %741

741:                                              ; preds = %740, %735, %610, %597
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #7
  br label %744

742:                                              ; preds = %738, %629, %599, %552
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #7
  br label %743

743:                                              ; preds = %742, %548
  call void @llvm.lifetime.end.p0(i64 24, ptr %65) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #7
  br label %745

744:                                              ; preds = %741, %496
  call void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #7
  call void @_ZN4sptk16ModeAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %58) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %748

745:                                              ; preds = %743, %527, %505
  call void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #7
  br label %746

746:                                              ; preds = %745, %501
  call void @llvm.lifetime.end.p0(i64 24, ptr %59) #7
  call void @_ZN4sptk16ModeAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %58) #7
  br label %747

747:                                              ; preds = %746, %497
  call void @llvm.lifetime.end.p0(i64 16, ptr %58) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #7
  br label %749

748:                                              ; preds = %744, %437
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %53) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr %53) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  br label %752

749:                                              ; preds = %747, %468, %446
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %53) #7
  br label %750

750:                                              ; preds = %749, %442
  call void @llvm.lifetime.end.p0(i64 512, ptr %53) #7
  br label %751

751:                                              ; preds = %750, %438
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #7
  br label %753

752:                                              ; preds = %748, %383
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %48) #7
  br label %754

753:                                              ; preds = %751, %406, %384
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %48) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %48) #7
  br label %755

754:                                              ; preds = %752, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %756

755:                                              ; preds = %753, %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  br label %757

756:                                              ; preds = %754, %314
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %758

757:                                              ; preds = %755, %328
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #7
  br label %760

758:                                              ; preds = %756, %289, %270
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  %759 = load i32, ptr %3, align 4
  ret i32 %759

760:                                              ; preds = %757, %303, %273
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %761

761:                                              ; preds = %760
  %762 = load ptr, ptr %14, align 8
  %763 = load i32, ptr %15, align 4
  %764 = insertvalue { ptr, i32 } poison, ptr %762, 0
  %765 = insertvalue { ptr, i32 } %764, i32 %763, 1
  resume { ptr, i32 } %765
}

; 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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), double noundef, ptr noundef) #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) #4

declare void @_ZNK4sptk16ModeAccumulation5ClearEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef) #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) 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

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

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

!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}
!19 = distinct !{!19, !13}
!20 = !{!21, !21, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = distinct !{!22, !13}
!23 = distinct !{!23, !13}
!24 = !{i8 0, i8 2}
!25 = !{}


; 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.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.sptk::ModeAccumulation" = type <{ ptr, i32, i8, [3 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl" }
%"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<sptk::ModeAccumulation::Buffer, std::allocator<sptk::ModeAccumulation::Buffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.1" = type { i8 }
%"class.std::vector.4" = type { %"struct.std::_Vector_base.5" }
%"struct.std::_Vector_base.5" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.6" = type { i8 }

@.str = external hidden unnamed_addr constant [12 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 [5 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 [58 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [5 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 [52 x i8], align 1
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.10 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.13 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [23 x i8], align 1

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

.outer:                                           ; preds = %182, %2
  %.053.ph = phi ptr [ %183, %182 ], [ null, %2 ]
  %.049.ph = phi i32 [ %.049.ph418, %182 ], [ 1, %2 ]
  br label %.outer417

.outer417:                                        ; preds = %.outer, %179
  %.049.ph418 = phi i32 [ %.049.ph, %.outer ], [ %180, %179 ]
  br label %63

63:                                               ; preds = %.backedge, %.outer417
  %64 = call i32 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null)
  switch i32 %64, label %185 [
    i32 -1, label %186
    i32 108, label %65
    i32 109, label %93
    i32 98, label %120
    i32 119, label %145
    i32 99, label %182
    i32 104, label %184
  ]

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #7
  %66 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %66, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %67 unwind label %77

67:                                               ; preds = %65
  %68 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull %3)
          to label %69 unwind label %79

69:                                               ; preds = %67
  %70 = load i32, ptr %3, align 4
  %71 = icmp sgt i32 %70, 0
  %.not155 = select i1 %68, i1 %71, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br i1 %.not155, label %90, label %72

72:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %7) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %7)
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull @.str.1)
          to label %74 unwind label %82

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

75:                                               ; preds = %74
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(112) %7)
          to label %76 unwind label %86

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

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

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

81:                                               ; preds = %79, %77
  %.pn153 = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #7
  br label %469

82:                                               ; preds = %72
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %89

84:                                               ; preds = %74
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %88

86:                                               ; preds = %75
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  br label %88

88:                                               ; preds = %86, %84
  %.pn156 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #7
  br label %89

89:                                               ; preds = %88, %82
  %.pn156.pn = phi { ptr, i32 } [ %.pn156, %88 ], [ %83, %82 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %7) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %7) #7
  br label %469

90:                                               ; preds = %69
  %91 = load i32, ptr %3, align 4, !tbaa !5
  %92 = add nsw i32 %91, -1
  store i32 %92, ptr %3, align 4, !tbaa !5
  br label %.backedge

.backedge:                                        ; preds = %90, %97, %124
  br label %63

93:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #7
  %94 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef %94, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %95 unwind label %107

95:                                               ; preds = %93
  %96 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull %3)
          to label %97 unwind label %109

97:                                               ; preds = %95
  %98 = load i32, ptr %3, align 4
  %99 = icmp sgt i32 %98, -1
  %.not149 = select i1 %96, i1 %99, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br i1 %.not149, label %.backedge, label %100

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %12) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12)
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull @.str.3)
          to label %102 unwind label %112

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

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

105:                                              ; preds = %104
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(112) %12)
          to label %106 unwind label %116

106:                                              ; preds = %105
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %12) #7
  br label %.thread223

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

109:                                              ; preds = %95
  %110 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %111

111:                                              ; preds = %109, %107
  %.pn147 = phi { ptr, i32 } [ %110, %109 ], [ %108, %107 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %469

112:                                              ; preds = %102, %100
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %119

114:                                              ; preds = %104
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %105
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #7
  br label %118

118:                                              ; preds = %116, %114
  %.pn150 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #7
  br label %119

119:                                              ; preds = %118, %112
  %.pn150.pn = phi { ptr, i32 } [ %.pn150, %118 ], [ %113, %112 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %12) #7
  br label %469

120:                                              ; preds = %63
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #7
  %121 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef %121, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %122 unwind label %132

122:                                              ; preds = %120
  %123 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull %4)
          to label %124 unwind label %134

124:                                              ; preds = %122
  %125 = load i32, ptr %4, align 4
  %126 = icmp sgt i32 %125, 0
  %.not143 = select i1 %123, i1 %126, i1 false
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br i1 %.not143, label %.backedge, label %127

127:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %17) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17)
  %128 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull @.str.5)
          to label %129 unwind label %137

129:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %130 unwind label %139

130:                                              ; preds = %129
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(112) %17)
          to label %131 unwind label %141

131:                                              ; preds = %130
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %17) #7
  br label %.thread223

132:                                              ; preds = %120
  %133 = landingpad { ptr, i32 }
          cleanup
  br label %136

134:                                              ; preds = %122
  %135 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #7
  br label %136

136:                                              ; preds = %134, %132
  %.pn141 = phi { ptr, i32 } [ %135, %134 ], [ %133, %132 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #7
  br label %469

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

139:                                              ; preds = %129
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %130
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  br label %143

143:                                              ; preds = %141, %139
  %.pn144 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %19) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #7
  br label %144

144:                                              ; preds = %143, %137
  %.pn144.pn = phi { ptr, i32 } [ %.pn144, %143 ], [ %138, %137 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %17) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %17) #7
  br label %469

145:                                              ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #7
  %146 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %146, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %147 unwind label %165

147:                                              ; preds = %145
  %148 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull %20)
          to label %149 unwind label %167

149:                                              ; preds = %147
  br i1 %148, label %150, label %.critedge

150:                                              ; preds = %149
  %151 = load i32, ptr %20, align 4, !tbaa !5
  %152 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %151, i32 noundef 0, i32 noundef 1)
          to label %153 unwind label %167

153:                                              ; preds = %150
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br i1 %152, label %179, label %.loopexit249

.critedge:                                        ; preds = %149
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %.loopexit249

.loopexit249:                                     ; preds = %153, %.critedge
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %23) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23)
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @.str.6)
          to label %155 unwind label %170

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

157:                                              ; preds = %155
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %156, i32 noundef 0)
          to label %159 unwind label %170

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

161:                                              ; preds = %159
  %162 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %160, i32 noundef 1)
          to label %163 unwind label %170

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

164:                                              ; preds = %163
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(112) %23)
          to label %178 unwind label %174

165:                                              ; preds = %145
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %150, %147
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %169

169:                                              ; preds = %167, %165
  %.pn = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #7
  br label %181

170:                                              ; preds = %161, %159, %157, %155, %.loopexit249
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %177

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

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

176:                                              ; preds = %174, %172
  %.pn137 = phi { ptr, i32 } [ %175, %174 ], [ %173, %172 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br label %177

177:                                              ; preds = %176, %170
  %.pn137.pn = phi { ptr, i32 } [ %.pn137, %176 ], [ %171, %170 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %23) #7
  br label %181

178:                                              ; preds = %164
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  br label %.thread223

179:                                              ; preds = %153
  %180 = load i32, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  br label %.outer417

181:                                              ; preds = %177, %169
  %.pn137.pn.pn = phi { ptr, i32 } [ %.pn137.pn, %177 ], [ %.pn, %169 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #7
  br label %469

182:                                              ; preds = %63
  %183 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  br label %.outer

184:                                              ; preds = %63
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cout)
  br label %.thread223

185:                                              ; preds = %63
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cerr)
  br label %.thread223

186:                                              ; preds = %63
  %187 = icmp eq i32 %.049.ph418, 0
  br i1 %187, label %188, label %208

188:                                              ; preds = %186
  %189 = load i32, ptr %3, align 4, !tbaa !5
  %190 = icmp eq i32 %189, 0
  br i1 %190, label %195, label %191

191:                                              ; preds = %188
  %192 = add nsw i32 %189, 1
  %193 = load i32, ptr %4, align 4, !tbaa !5
  %194 = icmp slt i32 %192, %193
  br i1 %194, label %195, label %208

195:                                              ; preds = %191, %188
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %26) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26)
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str.9)
          to label %197 unwind label %200

197:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %27) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %198 unwind label %202

198:                                              ; preds = %197
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(112) %26)
          to label %199 unwind label %204

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

200:                                              ; preds = %195
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %207

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

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

206:                                              ; preds = %204, %202
  %.pn211 = phi { ptr, i32 } [ %205, %204 ], [ %203, %202 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %27) #7
  br label %207

207:                                              ; preds = %206, %200
  %.pn211.pn = phi { ptr, i32 } [ %.pn211, %206 ], [ %201, %200 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %26) #7
  br label %469

208:                                              ; preds = %191, %186
  %209 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %210 = sub nsw i32 %0, %209
  %211 = icmp sgt i32 %210, 1
  br i1 %211, label %212, label %225

212:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %29) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29)
  %213 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.10)
          to label %214 unwind label %217

214:                                              ; preds = %212
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %30) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %31) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %215 unwind label %219

215:                                              ; preds = %214
  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 %216 unwind label %221

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

217:                                              ; preds = %212
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %224

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

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

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

224:                                              ; preds = %223, %217
  %.pn207.pn = phi { ptr, i32 } [ %.pn207, %223 ], [ %218, %217 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %29) #7
  br label %469

225:                                              ; preds = %208
  %226 = icmp eq i32 %209, %0
  br i1 %226, label %231, label %227

227:                                              ; preds = %225
  %228 = sext i32 %209 to i64
  %229 = getelementptr inbounds ptr, ptr %1, i64 %228
  %230 = load ptr, ptr %229, align 8, !tbaa !9
  br label %231

231:                                              ; preds = %225, %227
  %232 = phi ptr [ %230, %227 ], [ null, %225 ]
  %233 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %233, label %247, label %234

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

236:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %237 unwind label %241

237:                                              ; preds = %236
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(112) %32)
          to label %238 unwind label %243

238:                                              ; preds = %237
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %32) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %32) #7
  br label %.thread223

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

241:                                              ; preds = %236
  %242 = landingpad { ptr, i32 }
          cleanup
  br label %245

243:                                              ; preds = %237
  %244 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #7
  br label %245

245:                                              ; preds = %243, %241
  %.pn160 = phi { ptr, i32 } [ %244, %243 ], [ %242, %241 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %34) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #7
  br label %246

246:                                              ; preds = %245, %239
  %.pn160.pn = phi { ptr, i32 } [ %.pn160, %245 ], [ %240, %239 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %32) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %32) #7
  br label %469

247:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %35) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %.not = icmp eq ptr %232, null
  br i1 %.not, label %278, label %248

248:                                              ; preds = %247
  %249 = 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) %35, ptr noundef nonnull %232, i32 noundef %249)
          to label %250 unwind label %265

250:                                              ; preds = %248
  %251 = load ptr, ptr %35, align 8, !tbaa !11
  %252 = getelementptr i8, ptr %251, i64 -24
  %253 = load i64, ptr %252, align 8
  %254 = getelementptr inbounds i8, ptr %35, i64 %253
  %255 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %254)
          to label %256 unwind label %265

256:                                              ; preds = %250
  br i1 %255, label %257, label %278

257:                                              ; preds = %256
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %36) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %258 unwind label %267

258:                                              ; preds = %257
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @.str.12)
          to label %260 unwind label %269

260:                                              ; preds = %258
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef nonnull %232)
          to label %262 unwind label %269

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

263:                                              ; preds = %262
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(112) %36)
          to label %264 unwind label %273

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

265:                                              ; preds = %250, %248
  %266 = landingpad { ptr, i32 }
          cleanup
  br label %468

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

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

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

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

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

276:                                              ; preds = %275, %269
  %.pn201.pn = phi { ptr, i32 } [ %.pn201, %275 ], [ %270, %269 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #7
  br label %277

277:                                              ; preds = %276, %267
  %.pn201.pn.pn = phi { ptr, i32 } [ %.pn201.pn, %276 ], [ %268, %267 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %36) #7
  br label %468

278:                                              ; preds = %256, %247
  %279 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %280 = select i1 %279, ptr %35, ptr @_ZSt3cin
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %39) #7
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(248) %39)
          to label %281 unwind label %299

281:                                              ; preds = %278
  %.not163 = icmp eq ptr %.053.ph, null
  br i1 %.not163, label %314, label %282

282:                                              ; preds = %281
  %283 = call noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 16, i32 noundef 4)
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %39, ptr noundef nonnull %.053.ph, i32 noundef %283)
          to label %284 unwind label %301

284:                                              ; preds = %282
  %285 = load ptr, ptr %39, align 8, !tbaa !11
  %286 = getelementptr i8, ptr %285, i64 -24
  %287 = load i64, ptr %286, align 8
  %288 = getelementptr inbounds i8, ptr %39, i64 %287
  %289 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %288)
          to label %290 unwind label %301

290:                                              ; preds = %284
  br i1 %289, label %291, label %314

291:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %40) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40)
          to label %292 unwind label %303

292:                                              ; preds = %291
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @.str.12)
          to label %294 unwind label %305

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

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

297:                                              ; preds = %296
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(112) %40)
          to label %298 unwind label %309

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

299:                                              ; preds = %278
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %466

301:                                              ; preds = %284, %282
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %465

303:                                              ; preds = %291
  %304 = landingpad { ptr, i32 }
          cleanup
  br label %313

305:                                              ; preds = %294, %292
  %306 = landingpad { ptr, i32 }
          cleanup
  br label %312

307:                                              ; preds = %296
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %311

309:                                              ; preds = %297
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  br label %311

311:                                              ; preds = %309, %307
  %.pn195 = phi { ptr, i32 } [ %310, %309 ], [ %308, %307 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #7
  br label %312

312:                                              ; preds = %311, %305
  %.pn195.pn = phi { ptr, i32 } [ %.pn195, %311 ], [ %306, %305 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #7
  br label %313

313:                                              ; preds = %312, %303
  %.pn195.pn.pn = phi { ptr, i32 } [ %.pn195.pn, %312 ], [ %304, %303 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %40) #7
  br label %465

314:                                              ; preds = %290, %281
  %. = phi ptr [ %39, %290 ], [ null, %281 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %43) #7
  %315 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN4sptk16ModeAccumulationC1Ei(ptr noundef nonnull align 8 dereferenceable(13) %43, i32 noundef %315)
          to label %316 unwind label %329

316:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %44) #7
  %317 = load i32, ptr %3, align 4
  %318 = add nsw i32 %317, 1
  %319 = select i1 %187, i32 1, i32 %318
  %320 = sext i32 %319 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #7
  call void @_ZNSaIN4sptk16ModeAccumulation6BufferEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  invoke void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEC2EmRKS3_(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %320, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %321 unwind label %331

321:                                              ; preds = %316
  call void @_ZNSt15__new_allocatorIN4sptk16ModeAccumulation6BufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #7
  %322 = call noundef zeroext i1 @_ZNK4sptk16ModeAccumulation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(13) %43)
  br i1 %322, label %344, label %323

323:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %46) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46)
          to label %324 unwind label %333

324:                                              ; preds = %323
  %325 = 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.13)
          to label %326 unwind label %335

326:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %47) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  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 %327 unwind label %337

327:                                              ; preds = %326
  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 %328 unwind label %339

328:                                              ; preds = %327
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %46) #7
  br label %460

329:                                              ; preds = %314
  %330 = landingpad { ptr, i32 }
          cleanup
  br label %463

331:                                              ; preds = %316
  %332 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIN4sptk16ModeAccumulation6BufferEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #7
  br label %462

333:                                              ; preds = %323
  %334 = landingpad { ptr, i32 }
          cleanup
  br label %343

335:                                              ; preds = %324
  %336 = landingpad { ptr, i32 }
          cleanup
  br label %342

337:                                              ; preds = %326
  %338 = landingpad { ptr, i32 }
          cleanup
  br label %341

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

341:                                              ; preds = %339, %337
  %.pn164 = phi { ptr, i32 } [ %340, %339 ], [ %338, %337 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %47) #7
  br label %342

342:                                              ; preds = %341, %335
  %.pn164.pn = phi { ptr, i32 } [ %.pn164, %341 ], [ %336, %335 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %46) #7
  br label %343

343:                                              ; preds = %342, %333
  %.pn164.pn.pn = phi { ptr, i32 } [ %.pn164.pn, %342 ], [ %334, %333 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %46) #7
  br label %461

344:                                              ; preds = %321
  %345 = load i32, ptr %3, align 4, !tbaa !5
  %.fr = freeze i32 %345
  %346 = add i32 %.fr, 1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %49) #7
  %347 = sext i32 %346 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %50) #7
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %347, ptr noundef nonnull align 1 dereferenceable(1) %50)
          to label %348 unwind label %360

348:                                              ; preds = %344
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #7
  br i1 %187, label %.preheader245, label %408

.preheader245:                                    ; preds = %348
  %.not179286 = icmp slt i32 %.fr, 0
  br i1 %.not179286, label %.preheader245.split.us, label %.preheader245.split.preheader

.preheader245.split.preheader:                    ; preds = %.preheader245
  %wide.trip.count337 = zext i32 %346 to i64
  br label %.preheader245.split

.preheader245.split.us:                           ; preds = %.preheader245, %352
  %349 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %346, ptr noundef nonnull %49, ptr noundef nonnull %280, ptr noundef null)
          to label %350 unwind label %.split289.us

350:                                              ; preds = %.preheader245.split.us
  br i1 %349, label %.preheader.us, label %.thread242

351:                                              ; preds = %.preheader.us
  br i1 %355, label %352, label %.split292.us

352:                                              ; preds = %351
  %353 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #7
  invoke void @_ZNK4sptk16ModeAccumulation5ClearEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %43, ptr noundef nonnull %353)
          to label %.preheader245.split.us unwind label %.split289.us, !llvm.loop !13

.preheader.us:                                    ; preds = %350
  %354 = load i32, ptr %4, align 4, !tbaa !5
  %355 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %354, ptr noundef %.)
          to label %351 unwind label %.split289.us

.split289.us:                                     ; preds = %352, %.preheader.us, %.preheader245.split.us
  %356 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

.preheader245.split:                              ; preds = %.preheader245.split.preheader, %406
  %357 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %346, ptr noundef nonnull %49, ptr noundef nonnull %280, ptr noundef null)
          to label %358 unwind label %.split289

358:                                              ; preds = %.preheader245.split
  br i1 %357, label %.preheader, label %.thread242

359:                                              ; preds = %367
  %indvars.iv.next335 = add nuw nsw i64 %indvars.iv334, 1
  %exitcond338.not = icmp eq i64 %indvars.iv.next335, %wide.trip.count337
  br i1 %exitcond338.not, label %._crit_edge, label %.preheader, !llvm.loop !15

360:                                              ; preds = %344
  %361 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %50) #7
  br label %459

.split289:                                        ; preds = %406, %._crit_edge, %.preheader245.split
  %362 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

.preheader:                                       ; preds = %358, %359
  %indvars.iv334 = phi i64 [ %indvars.iv.next335, %359 ], [ 0, %358 ]
  %363 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %indvars.iv334) #7
  %364 = load double, ptr %363, align 8, !tbaa !16
  %365 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #7
  %366 = invoke noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %43, double noundef %364, ptr noundef nonnull %365)
          to label %367 unwind label %373

367:                                              ; preds = %.preheader
  br i1 %366, label %359, label %368

368:                                              ; preds = %367
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %51) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %51)
          to label %369 unwind label %375

369:                                              ; preds = %368
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @.str.14)
          to label %371 unwind label %377

371:                                              ; preds = %369
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %52) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %53) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %53)
          to label %372 unwind label %379

372:                                              ; preds = %371
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(112) %51)
          to label %386 unwind label %381

373:                                              ; preds = %.preheader
  %374 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

375:                                              ; preds = %368
  %376 = landingpad { ptr, i32 }
          cleanup
  br label %385

377:                                              ; preds = %369
  %378 = landingpad { ptr, i32 }
          cleanup
  br label %384

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

381:                                              ; preds = %372
  %382 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  br label %383

383:                                              ; preds = %381, %379
  %.pn180 = phi { ptr, i32 } [ %382, %381 ], [ %380, %379 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #7
  br label %384

384:                                              ; preds = %383, %377
  %.pn180.pn = phi { ptr, i32 } [ %.pn180, %383 ], [ %378, %377 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %51) #7
  br label %385

385:                                              ; preds = %384, %375
  %.pn180.pn.pn = phi { ptr, i32 } [ %.pn180.pn, %384 ], [ %376, %375 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %51) #7
  br label %.loopexit248

386:                                              ; preds = %372
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %53) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %53) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %52) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %51) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %51) #7
  br label %.thread242

._crit_edge:                                      ; preds = %359
  %387 = load i32, ptr %4, align 4, !tbaa !5
  %388 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %387, ptr noundef %.)
          to label %389 unwind label %.split289

389:                                              ; preds = %._crit_edge
  br i1 %388, label %406, label %.split292.us

.split292.us:                                     ; preds = %389, %351
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %54) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %390 unwind label %395

390:                                              ; preds = %.split292.us
  %391 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @.str.15)
          to label %392 unwind label %397

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

393:                                              ; preds = %392
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(112) %54)
          to label %394 unwind label %401

394:                                              ; preds = %393
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %54) #7
  br label %.thread242

395:                                              ; preds = %.split292.us
  %396 = landingpad { ptr, i32 }
          cleanup
  br label %405

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

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

401:                                              ; preds = %393
  %402 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #7
  br label %403

403:                                              ; preds = %401, %399
  %.pn185 = phi { ptr, i32 } [ %402, %401 ], [ %400, %399 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %56) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %56) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %55) #7
  br label %404

404:                                              ; preds = %403, %397
  %.pn185.pn = phi { ptr, i32 } [ %.pn185, %403 ], [ %398, %397 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %54) #7
  br label %405

405:                                              ; preds = %404, %395
  %.pn185.pn.pn = phi { ptr, i32 } [ %.pn185.pn, %404 ], [ %396, %395 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %54) #7
  br label %.loopexit248

406:                                              ; preds = %389
  %407 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef 0) #7
  invoke void @_ZNK4sptk16ModeAccumulation5ClearEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %43, ptr noundef nonnull %407)
          to label %.preheader245.split unwind label %.split289, !llvm.loop !13

408:                                              ; preds = %348
  %409 = icmp eq i32 %.049.ph418, 1
  br i1 %409, label %.preheader247, label %.thread242

.preheader247:                                    ; preds = %408
  %.not172283 = icmp slt i32 %.fr, 0
  br i1 %.not172283, label %.preheader247.split.us.preheader, label %.preheader247.split.preheader

.preheader247.split.preheader:                    ; preds = %.preheader247
  %wide.trip.count = zext i32 %346 to i64
  br label %.preheader247.split

.preheader247.split.us.preheader:                 ; preds = %.preheader247
  %410 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %346, ptr noundef nonnull %49, ptr noundef nonnull %280, ptr noundef null)
          to label %.preheader246.us.peel unwind label %.loopexit248.split.us.loopexit.split-lp

.preheader246.us.peel:                            ; preds = %.preheader247.split.us.preheader
  br i1 %410, label %.preheader247.split.us, label %.thread242

.preheader247.split.us:                           ; preds = %.preheader246.us.peel, %.preheader246.us
  %411 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %346, ptr noundef nonnull %49, ptr noundef nonnull %280, ptr noundef null)
          to label %.preheader246.us unwind label %.loopexit248.split.us.loopexit

.preheader246.us:                                 ; preds = %.preheader247.split.us
  br i1 %411, label %.preheader247.split.us, label %.split.us.loopexit, !llvm.loop !18

.loopexit248.split.us.loopexit:                   ; preds = %.preheader247.split.us
  %lpad.loopexit332 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

.loopexit248.split.us.loopexit.split-lp:          ; preds = %.preheader247.split.us.preheader
  %lpad.loopexit.split-lp333 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

.preheader247.split.loopexit:                     ; preds = %414
  br label %.preheader247.split, !llvm.loop !20

.preheader247.split:                              ; preds = %.preheader247.split.preheader, %.preheader247.split.loopexit
  %.046 = phi i1 [ false, %.preheader247.split.loopexit ], [ true, %.preheader247.split.preheader ]
  %412 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 0, i32 noundef 0, i32 noundef %346, ptr noundef nonnull %49, ptr noundef nonnull %280, ptr noundef null)
          to label %413 unwind label %.loopexit248.split

413:                                              ; preds = %.preheader247.split
  br i1 %412, label %.preheader246, label %.split.us

414:                                              ; preds = %419
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader247.split.loopexit, label %.preheader246, !llvm.loop !20

.loopexit248.split:                               ; preds = %.preheader247.split
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

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

.preheader246:                                    ; preds = %413, %414
  %indvars.iv = phi i64 [ %indvars.iv.next, %414 ], [ 0, %413 ]
  %415 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %49, i64 noundef %indvars.iv) #7
  %416 = load double, ptr %415, align 8, !tbaa !16
  %417 = call noundef nonnull align 8 dereferenceable(112) ptr @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %44, i64 noundef %indvars.iv) #7
  %418 = invoke noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13) %43, double noundef %416, ptr noundef nonnull %417)
          to label %419 unwind label %425

419:                                              ; preds = %.preheader246
  br i1 %418, label %414, label %420

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

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

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

424:                                              ; preds = %423
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %58, ptr noundef nonnull align 8 dereferenceable(112) %57)
          to label %.thread239 unwind label %433

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

425:                                              ; preds = %.preheader246
  %426 = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit248

427:                                              ; preds = %420
  %428 = landingpad { ptr, i32 }
          cleanup
  br label %437

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

431:                                              ; preds = %423
  %432 = landingpad { ptr, i32 }
          cleanup
  br label %435

433:                                              ; preds = %424
  %434 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #7
  br label %435

435:                                              ; preds = %433, %431
  %.pn173 = phi { ptr, i32 } [ %434, %433 ], [ %432, %431 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %59) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %59) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %58) #7
  br label %436

436:                                              ; preds = %435, %429
  %.pn173.pn = phi { ptr, i32 } [ %.pn173, %435 ], [ %430, %429 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %57) #7
  br label %437

437:                                              ; preds = %436, %427
  %.pn173.pn.pn = phi { ptr, i32 } [ %.pn173.pn, %436 ], [ %428, %427 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %57) #7
  br label %.loopexit248

.split.us.loopexit:                               ; preds = %.preheader246.us
  br i1 %410, label %438, label %.thread242

.split.us:                                        ; preds = %413
  br i1 %.046, label %.thread242, label %438

438:                                              ; preds = %.split.us.loopexit, %.split.us
  %439 = load i32, ptr %4, align 4, !tbaa !5
  %440 = invoke noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, i32 noundef %439, ptr noundef %.)
          to label %441 unwind label %.loopexit.split-lp

441:                                              ; preds = %438
  br i1 %440, label %.thread242, label %442

442:                                              ; preds = %441
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %60) #7
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60)
          to label %443 unwind label %448

443:                                              ; preds = %442
  %444 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @.str.15)
          to label %445 unwind label %450

445:                                              ; preds = %443
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %61) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %62) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %62)
          to label %446 unwind label %452

446:                                              ; preds = %445
  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 %447 unwind label %454

447:                                              ; preds = %446
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #7
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %60) #7
  br label %.thread242

448:                                              ; preds = %442
  %449 = landingpad { ptr, i32 }
          cleanup
  br label %458

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

452:                                              ; preds = %445
  %453 = landingpad { ptr, i32 }
          cleanup
  br label %456

454:                                              ; preds = %446
  %455 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #7
  br label %456

456:                                              ; preds = %454, %452
  %.pn168 = phi { ptr, i32 } [ %455, %454 ], [ %453, %452 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %62) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %62) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %61) #7
  br label %457

457:                                              ; preds = %456, %450
  %.pn168.pn = phi { ptr, i32 } [ %.pn168, %456 ], [ %451, %450 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %60) #7
  br label %458

458:                                              ; preds = %457, %448
  %.pn168.pn.pn = phi { ptr, i32 } [ %.pn168.pn, %457 ], [ %449, %448 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %60) #7
  br label %.loopexit248

.thread242:                                       ; preds = %358, %350, %.preheader246.us.peel, %.split.us.loopexit, %.split.us, %441, %408, %447, %.thread239, %386, %394
  %.9 = phi i32 [ 1, %394 ], [ 1, %386 ], [ 1, %447 ], [ 1, %.thread239 ], [ 0, %408 ], [ 0, %441 ], [ 0, %.split.us ], [ 0, %.split.us.loopexit ], [ 0, %.preheader246.us.peel ], [ 0, %350 ], [ 0, %358 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  br label %460

.loopexit248:                                     ; preds = %.loopexit248.split.us.loopexit, %.loopexit248.split.us.loopexit.split-lp, %.loopexit.split-lp, %.loopexit248.split, %.split289, %.split289.us, %458, %437, %425, %373, %385, %405
  %.pn189 = phi { ptr, i32 } [ %.pn185.pn.pn, %405 ], [ %.pn180.pn.pn, %385 ], [ %374, %373 ], [ %.pn168.pn.pn, %458 ], [ %.pn173.pn.pn, %437 ], [ %426, %425 ], [ %362, %.split289 ], [ %356, %.split289.us ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit, %.loopexit248.split ], [ %lpad.loopexit332, %.loopexit248.split.us.loopexit ], [ %lpad.loopexit.split-lp333, %.loopexit248.split.us.loopexit.split-lp ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %49) #7
  br label %459

459:                                              ; preds = %.loopexit248, %360
  %.pn189.pn = phi { ptr, i32 } [ %.pn189, %.loopexit248 ], [ %361, %360 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %49) #7
  br label %461

460:                                              ; preds = %.thread242, %328
  %.10 = phi i32 [ %.9, %.thread242 ], [ 1, %328 ]
  call void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #7
  call void @_ZN4sptk16ModeAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %43) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  br label %464

461:                                              ; preds = %459, %343
  %.pn189.pn.pn = phi { ptr, i32 } [ %.pn189.pn, %459 ], [ %.pn164.pn.pn, %343 ]
  call void @_ZNSt6vectorIN4sptk16ModeAccumulation6BufferESaIS2_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #7
  br label %462

462:                                              ; preds = %461, %331
  %.pn189.pn.pn.pn = phi { ptr, i32 } [ %.pn189.pn.pn, %461 ], [ %332, %331 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %44) #7
  call void @_ZN4sptk16ModeAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(13) %43) #7
  br label %463

463:                                              ; preds = %462, %329
  %.pn189.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn189.pn.pn.pn, %462 ], [ %330, %329 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %43) #7
  br label %465

464:                                              ; preds = %460, %298
  %.11 = phi i32 [ 1, %298 ], [ %.10, %460 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %39) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %39) #7
  br label %467

465:                                              ; preds = %463, %313, %301
  %.pn195.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn, %313 ], [ %.pn189.pn.pn.pn.pn, %463 ], [ %302, %301 ]
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %39) #7
  br label %466

466:                                              ; preds = %465, %299
  %.pn195.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn195.pn.pn.pn, %465 ], [ %300, %299 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %39) #7
  br label %468

467:                                              ; preds = %464, %264
  %.12 = phi i32 [ 1, %264 ], [ %.11, %464 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %35) #7
  br label %.thread223

468:                                              ; preds = %466, %277, %265
  %.pn201.pn.pn.pn = phi { ptr, i32 } [ %.pn201.pn.pn, %277 ], [ %.pn195.pn.pn.pn.pn, %466 ], [ %266, %265 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %35) #7
  br label %469

.thread223:                                       ; preds = %178, %76, %106, %131, %184, %185, %216, %467, %238, %199
  %.15 = phi i32 [ 1, %199 ], [ 1, %216 ], [ %.12, %467 ], [ 1, %238 ], [ 1, %178 ], [ 1, %76 ], [ 1, %106 ], [ 1, %131 ], [ 0, %184 ], [ 1, %185 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  ret i32 %.15

469:                                              ; preds = %224, %468, %246, %81, %89, %111, %119, %136, %144, %181, %207
  %.pn211.pn.pn = phi { ptr, i32 } [ %.pn211.pn, %207 ], [ %.pn137.pn.pn, %181 ], [ %.pn144.pn, %144 ], [ %.pn141, %136 ], [ %.pn150.pn, %119 ], [ %.pn147, %111 ], [ %.pn156.pn, %89 ], [ %.pn153, %81 ], [ %.pn207.pn, %224 ], [ %.pn201.pn.pn.pn, %468 ], [ %.pn160.pn, %246 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn211.pn.pn
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk16ModeAccumulation3RunEdPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), double noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef zeroext i1 @_ZN12_GLOBAL__N_115WriteModeValuesERKN4sptk16ModeAccumulationERKSt6vectorINS1_6BufferESaIS5_EEiPSo(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZNK4sptk16ModeAccumulation5ClearEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(13), ptr noundef) local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) 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

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

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

!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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.peeled.count", i32 1}
!20 = distinct !{!20, !14}


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