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

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.sptk::StatisticsAccumulation" = type <{ ptr, i32, i32, i8, i8, i8, [5 x i8] }>
%"class.sptk::StatisticsAccumulation::Buffer" = type { ptr, i32, %"class.std::vector", %"class.sptk::SymmetricMatrix", %"class.std::vector" }
%"class.sptk::SymmetricMatrix" = type { ptr, i32, %"class.std::vector", %"class.std::vector.4" }
%"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::DistanceCalculation" = type <{ ptr, i32, i32, i8, [7 x i8] }>
%"class.std::allocator.1" = type { i8 }
%"class.std::initializer_list" = type { ptr, i64 }

@.str = external hidden unnamed_addr constant [7 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 [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = 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
@ya_optind = external global i32, align 4
@.str.6 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [32 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 i8, align 1
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %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 ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %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 ptr, align 8
  %40 = alloca %"class.std::basic_ifstream", align 8
  %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.sptk::StatisticsAccumulation", align 8
  %46 = alloca %"class.sptk::StatisticsAccumulation::Buffer", align 8
  %47 = alloca %"class.sptk::DistanceCalculation", align 8
  %48 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %49 = alloca %"class.std::__cxx11::basic_string", align 8
  %50 = alloca %"class.std::allocator", align 1
  %51 = alloca %"class.std::vector", align 8
  %52 = alloca %"class.std::allocator.1", align 1
  %53 = alloca %"class.std::vector", align 8
  %54 = alloca %"class.std::allocator.1", align 1
  %55 = alloca double, align 8
  %56 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %57 = alloca %"class.std::__cxx11::basic_string", align 8
  %58 = alloca %"class.std::allocator", align 1
  %59 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %60 = alloca %"class.std::__cxx11::basic_string", align 8
  %61 = alloca %"class.std::allocator", align 1
  %62 = alloca %"class.std::vector", align 8
  %63 = alloca %"class.std::initializer_list", align 8
  %64 = alloca [1 x double], align 8
  %65 = alloca %"class.std::allocator.1", align 1
  %66 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %67 = alloca %"class.std::__cxx11::basic_string", align 8
  %68 = alloca %"class.std::allocator", align 1
  %69 = alloca i32, align 4
  %70 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %71 = alloca %"class.std::__cxx11::basic_string", align 8
  %72 = alloca %"class.std::allocator", align 1
  %73 = alloca %"class.std::vector", align 8
  %74 = alloca %"class.std::allocator.1", align 1
  %75 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %76 = alloca %"class.std::__cxx11::basic_string", align 8
  %77 = alloca %"class.std::allocator", align 1
  %78 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %79 = alloca %"class.std::__cxx11::basic_string", align 8
  %80 = alloca %"class.std::allocator", align 1
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  store i32 25, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  store i32 0, ptr %7, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #8
  store i8 0, ptr %8, align 1, !tbaa !12
  br label %81

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

87:                                               ; preds = %81
  store i32 2, ptr %10, align 4
  br label %186

88:                                               ; preds = %81
  %89 = load i32, ptr %9, align 4, !tbaa !5
  switch i32 %89, label %184 [
    i32 109, label %90
    i32 111, label %129
    i32 102, label %182
    i32 104, label %183
  ]

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

92:                                               ; preds = %90
  %93 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef %6)
          to label %94 unwind label %109

94:                                               ; preds = %92
  br i1 %93, label %95, label %98

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

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

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

102:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %103 unwind label %118

103:                                              ; preds = %102
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(112) %15)
          to label %104 unwind label %122

104:                                              ; preds = %103
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %15) #8
  br label %186

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

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

113:                                              ; preds = %109, %105
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  br label %189

114:                                              ; preds = %100
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %13, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %14, align 4
  br label %127

118:                                              ; preds = %102
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %13, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %14, align 4
  br label %126

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

126:                                              ; preds = %122, %118
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %16) #8
  br label %127

127:                                              ; preds = %126, %114
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %15) #8
  br label %189

128:                                              ; preds = %98
  br label %185

129:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #8
  store i32 2, ptr %19, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #8
  %130 = load ptr, ptr @ya_optarg, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %130, ptr noundef nonnull align 1 dereferenceable(1) %22)
          to label %131 unwind label %154

131:                                              ; preds = %129
  %132 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef %20)
          to label %133 unwind label %158

133:                                              ; preds = %131
  br i1 %132, label %134, label %139

134:                                              ; preds = %133
  %135 = load i32, ptr %20, align 4, !tbaa !5
  %136 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %135, i32 noundef 0, i32 noundef 2)
          to label %137 unwind label %158

137:                                              ; preds = %134
  %138 = xor i1 %136, true
  br label %139

139:                                              ; preds = %137, %133
  %140 = phi i1 [ true, %133 ], [ %138, %137 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br i1 %140, label %141, label %177

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 376, ptr %23) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23)
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef @.str.3)
          to label %143 unwind label %163

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

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %144, i32 noundef 0)
          to label %147 unwind label %163

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

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %148, i32 noundef 2)
          to label %151 unwind label %163

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

152:                                              ; preds = %151
  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 %153 unwind label %171

153:                                              ; preds = %152
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %23) #8
  br label %179

154:                                              ; preds = %129
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %13, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %14, align 4
  br label %162

158:                                              ; preds = %134, %131
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %13, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #8
  br label %162

162:                                              ; preds = %158, %154
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %22) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #8
  br label %181

163:                                              ; preds = %149, %147, %145, %143, %141
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %13, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %14, align 4
  br label %176

167:                                              ; preds = %151
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %13, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %14, align 4
  br label %175

171:                                              ; preds = %152
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %13, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  br label %175

175:                                              ; preds = %171, %167
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #8
  br label %176

176:                                              ; preds = %175, %163
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %23) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %23) #8
  br label %181

177:                                              ; preds = %139
  %178 = load i32, ptr %20, align 4, !tbaa !5
  store i32 %178, ptr %7, align 4, !tbaa !11
  store i32 4, ptr %10, align 4
  br label %179

179:                                              ; preds = %177, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  %180 = load i32, ptr %10, align 4
  switch i32 %180, label %186 [
    i32 4, label %185
  ]

181:                                              ; preds = %176, %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %189

182:                                              ; preds = %88
  store i8 1, ptr %8, align 1, !tbaa !12
  br label %185

183:                                              ; preds = %88
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cout)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %186

184:                                              ; preds = %88
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef @_ZSt4cerr)
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %186

185:                                              ; preds = %182, %179, %128
  store i32 0, ptr %10, align 4
  br label %186

186:                                              ; preds = %185, %184, %183, %179, %104, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  %187 = load i32, ptr %10, align 4
  switch i32 %187, label %706 [
    i32 0, label %188
    i32 2, label %190
  ]

188:                                              ; preds = %186
  br label %81, !llvm.loop !14

189:                                              ; preds = %181, %127, %113
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %708

190:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  %191 = load i32, ptr %4, align 4, !tbaa !5
  %192 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %193 = sub nsw i32 %191, %192
  store i32 %193, ptr %28, align 4, !tbaa !5
  %194 = load i32, ptr %28, align 4, !tbaa !5
  %195 = icmp eq i32 2, %194
  br i1 %195, label %196, label %209

196:                                              ; preds = %190
  %197 = load ptr, ptr %5, align 8, !tbaa !9
  %198 = load i32, ptr %4, align 4, !tbaa !5
  %199 = sub nsw i32 %198, 2
  %200 = sext i32 %199 to i64
  %201 = getelementptr inbounds ptr, ptr %197, i64 %200
  %202 = load ptr, ptr %201, align 8, !tbaa !9
  store ptr %202, ptr %26, align 8, !tbaa !9
  %203 = load ptr, ptr %5, align 8, !tbaa !9
  %204 = load i32, ptr %4, align 4, !tbaa !5
  %205 = sub nsw i32 %204, 1
  %206 = sext i32 %205 to i64
  %207 = getelementptr inbounds ptr, ptr %203, i64 %206
  %208 = load ptr, ptr %207, align 8, !tbaa !9
  store ptr %208, ptr %27, align 8, !tbaa !9
  br label %239

209:                                              ; preds = %190
  %210 = load i32, ptr %28, align 4, !tbaa !5
  %211 = icmp eq i32 1, %210
  br i1 %211, label %212, label %219

212:                                              ; preds = %209
  %213 = load ptr, ptr %5, align 8, !tbaa !9
  %214 = load i32, ptr %4, align 4, !tbaa !5
  %215 = sub nsw i32 %214, 1
  %216 = sext i32 %215 to i64
  %217 = getelementptr inbounds ptr, ptr %213, i64 %216
  %218 = load ptr, ptr %217, align 8, !tbaa !9
  store ptr %218, ptr %26, align 8, !tbaa !9
  store ptr null, ptr %27, align 8, !tbaa !9
  br label %238

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

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

222:                                              ; preds = %221
  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 %223 unwind label %232

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

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

228:                                              ; preds = %221
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %13, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %14, align 4
  br label %236

232:                                              ; preds = %222
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %13, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  br label %236

236:                                              ; preds = %232, %228
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %31) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #8
  br label %237

237:                                              ; preds = %236, %224
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %29) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %29) #8
  br label %705

238:                                              ; preds = %212
  br label %239

239:                                              ; preds = %238, %196
  %240 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %240, label %260, label %241

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

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

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

245:                                              ; preds = %244
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %32) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %32) #8
  br label %704

246:                                              ; preds = %241
  %247 = landingpad { ptr, i32 }
          cleanup
  %248 = extractvalue { ptr, i32 } %247, 0
  store ptr %248, ptr %13, align 8
  %249 = extractvalue { ptr, i32 } %247, 1
  store i32 %249, ptr %14, align 4
  br label %259

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

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

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

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

260:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 520, ptr %35) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35)
  %261 = load ptr, ptr %26, align 8, !tbaa !9
  %262 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %263 unwind label %280

263:                                              ; preds = %260
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %35, ptr noundef %261, i32 noundef %262)
          to label %264 unwind label %280

264:                                              ; preds = %263
  %265 = load ptr, ptr %35, align 8, !tbaa !16
  %266 = getelementptr i8, ptr %265, i64 -24
  %267 = load i64, ptr %266, align 8
  %268 = getelementptr inbounds i8, ptr %35, i64 %267
  %269 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %268)
          to label %270 unwind label %280

270:                                              ; preds = %264
  br i1 %269, label %271, label %303

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

272:                                              ; preds = %271
  %273 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef @.str.8)
          to label %274 unwind label %288

274:                                              ; preds = %272
  %275 = load ptr, ptr %26, align 8, !tbaa !9
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %273, ptr noundef %275)
          to label %277 unwind label %288

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

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

279:                                              ; preds = %278
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %36) #8
  br label %702

280:                                              ; preds = %264, %263, %260
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %13, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %14, align 4
  br label %703

284:                                              ; preds = %271
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %13, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %14, align 4
  br label %302

288:                                              ; preds = %274, %272
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %13, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %14, align 4
  br label %301

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

296:                                              ; preds = %278
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %13, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #8
  br label %300

300:                                              ; preds = %296, %292
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %37) #8
  br label %301

301:                                              ; preds = %300, %288
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %36) #8
  br label %302

302:                                              ; preds = %301, %284
  call void @llvm.lifetime.end.p0(i64 376, ptr %36) #8
  br label %703

303:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  store ptr %35, ptr %39, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 520, ptr %40) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %40)
          to label %304 unwind label %327

304:                                              ; preds = %303
  %305 = load ptr, ptr %27, align 8, !tbaa !9
  %306 = icmp ne ptr null, %305
  br i1 %306, label %307, label %355

307:                                              ; preds = %304
  %308 = load ptr, ptr %27, align 8, !tbaa !9
  %309 = invoke noundef i32 @_ZStorSt13_Ios_OpenmodeS_(i32 noundef 8, i32 noundef 4)
          to label %310 unwind label %331

310:                                              ; preds = %307
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %40, ptr noundef %308, i32 noundef %309)
          to label %311 unwind label %331

311:                                              ; preds = %310
  %312 = load ptr, ptr %40, align 8, !tbaa !16
  %313 = getelementptr i8, ptr %312, i64 -24
  %314 = load i64, ptr %313, align 8
  %315 = getelementptr inbounds i8, ptr %40, i64 %314
  %316 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %315)
          to label %317 unwind label %331

317:                                              ; preds = %311
  br i1 %316, label %318, label %354

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

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

321:                                              ; preds = %319
  %322 = load ptr, ptr %27, align 8, !tbaa !9
  %323 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %320, ptr noundef %322)
          to label %324 unwind label %339

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

325:                                              ; preds = %324
  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 %326 unwind label %347

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

327:                                              ; preds = %303
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %13, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %14, align 4
  br label %701

331:                                              ; preds = %311, %310, %307
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %13, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %14, align 4
  br label %700

335:                                              ; preds = %318
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %13, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %14, align 4
  br label %353

339:                                              ; preds = %321, %319
  %340 = landingpad { ptr, i32 }
          cleanup
  %341 = extractvalue { ptr, i32 } %340, 0
  store ptr %341, ptr %13, align 8
  %342 = extractvalue { ptr, i32 } %340, 1
  store i32 %342, ptr %14, align 4
  br label %352

343:                                              ; preds = %324
  %344 = landingpad { ptr, i32 }
          cleanup
  %345 = extractvalue { ptr, i32 } %344, 0
  store ptr %345, ptr %13, align 8
  %346 = extractvalue { ptr, i32 } %344, 1
  store i32 %346, ptr %14, align 4
  br label %351

347:                                              ; preds = %325
  %348 = landingpad { ptr, i32 }
          cleanup
  %349 = extractvalue { ptr, i32 } %348, 0
  store ptr %349, ptr %13, align 8
  %350 = extractvalue { ptr, i32 } %348, 1
  store i32 %350, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #8
  br label %351

351:                                              ; preds = %347, %343
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %43) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #8
  br label %352

352:                                              ; preds = %351, %339
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %41) #8
  br label %353

353:                                              ; preds = %352, %335
  call void @llvm.lifetime.end.p0(i64 376, ptr %41) #8
  br label %700

354:                                              ; preds = %317
  br label %355

355:                                              ; preds = %354, %304
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %356 = invoke noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %40)
          to label %357 unwind label %378

357:                                              ; preds = %355
  br i1 %356, label %358, label %359

358:                                              ; preds = %357
  br label %360

359:                                              ; preds = %357
  br label %360

360:                                              ; preds = %359, %358
  %361 = phi ptr [ %40, %358 ], [ @_ZSt3cin, %359 ]
  store ptr %361, ptr %44, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %45) #8
  invoke void @_ZN4sptk22StatisticsAccumulationC1Eiibb(ptr noundef nonnull align 8 dereferenceable(19) %45, i32 noundef 0, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %362 unwind label %382

362:                                              ; preds = %360
  call void @llvm.lifetime.start.p0(i64 128, ptr %46) #8
  invoke void @_ZN4sptk22StatisticsAccumulation6BufferC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %46)
          to label %363 unwind label %386

363:                                              ; preds = %362
  call void @llvm.lifetime.start.p0(i64 24, ptr %47) #8
  %364 = load i32, ptr %6, align 4, !tbaa !5
  %365 = sub nsw i32 %364, 1
  invoke void @_ZN4sptk19DistanceCalculationC1EiNS0_15DistanceMetricsE(ptr noundef nonnull align 8 dereferenceable(17) %47, i32 noundef %365, i32 noundef 2)
          to label %366 unwind label %390

366:                                              ; preds = %363
  %367 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(19) %45)
          to label %368 unwind label %394

368:                                              ; preds = %366
  br i1 %367, label %369, label %372

369:                                              ; preds = %368
  %370 = invoke noundef zeroext i1 @_ZNK4sptk19DistanceCalculation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17) %47)
          to label %371 unwind label %394

371:                                              ; preds = %369
  br i1 %370, label %417, label %372

372:                                              ; preds = %371, %368
  call void @llvm.lifetime.start.p0(i64 376, ptr %48) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48)
          to label %373 unwind label %398

373:                                              ; preds = %372
  %374 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef @.str.9)
          to label %375 unwind label %402

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

376:                                              ; preds = %375
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(112) %48)
          to label %377 unwind label %410

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

378:                                              ; preds = %355
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %13, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %14, align 4
  br label %698

382:                                              ; preds = %360
  %383 = landingpad { ptr, i32 }
          cleanup
  %384 = extractvalue { ptr, i32 } %383, 0
  store ptr %384, ptr %13, align 8
  %385 = extractvalue { ptr, i32 } %383, 1
  store i32 %385, ptr %14, align 4
  br label %697

386:                                              ; preds = %362
  %387 = landingpad { ptr, i32 }
          cleanup
  %388 = extractvalue { ptr, i32 } %387, 0
  store ptr %388, ptr %13, align 8
  %389 = extractvalue { ptr, i32 } %387, 1
  store i32 %389, ptr %14, align 4
  br label %696

390:                                              ; preds = %363
  %391 = landingpad { ptr, i32 }
          cleanup
  %392 = extractvalue { ptr, i32 } %391, 0
  store ptr %392, ptr %13, align 8
  %393 = extractvalue { ptr, i32 } %391, 1
  store i32 %393, ptr %14, align 4
  br label %695

394:                                              ; preds = %369, %366
  %395 = landingpad { ptr, i32 }
          cleanup
  %396 = extractvalue { ptr, i32 } %395, 0
  store ptr %396, ptr %13, align 8
  %397 = extractvalue { ptr, i32 } %395, 1
  store i32 %397, ptr %14, align 4
  br label %694

398:                                              ; preds = %372
  %399 = landingpad { ptr, i32 }
          cleanup
  %400 = extractvalue { ptr, i32 } %399, 0
  store ptr %400, ptr %13, align 8
  %401 = extractvalue { ptr, i32 } %399, 1
  store i32 %401, ptr %14, align 4
  br label %416

402:                                              ; preds = %373
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %13, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %14, align 4
  br label %415

406:                                              ; preds = %375
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %13, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %14, align 4
  br label %414

410:                                              ; preds = %376
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %13, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #8
  br label %414

414:                                              ; preds = %410, %406
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %50) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %49) #8
  br label %415

415:                                              ; preds = %414, %402
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %48) #8
  br label %416

416:                                              ; preds = %415, %398
  call void @llvm.lifetime.end.p0(i64 376, ptr %48) #8
  br label %694

417:                                              ; preds = %371
  call void @llvm.lifetime.start.p0(i64 24, ptr %51) #8
  %418 = load i32, ptr %6, align 4, !tbaa !5
  %419 = sext i32 %418 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %51, i64 noundef %419, ptr noundef nonnull align 1 dereferenceable(1) %52)
          to label %420 unwind label %445

420:                                              ; preds = %417
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %53) #8
  %421 = load i32, ptr %6, align 4, !tbaa !5
  %422 = sext i32 %421 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %422, ptr noundef nonnull align 1 dereferenceable(1) %54)
          to label %423 unwind label %449

423:                                              ; preds = %420
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  br label %424

424:                                              ; preds = %575, %423
  %425 = load i32, ptr %6, align 4, !tbaa !5
  %426 = load ptr, ptr %39, align 8, !tbaa !9
  %427 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %425, ptr noundef %51, ptr noundef %426, ptr noundef null)
          to label %428 unwind label %453

428:                                              ; preds = %424
  br i1 %427, label %429, label %434

429:                                              ; preds = %428
  %430 = load i32, ptr %6, align 4, !tbaa !5
  %431 = load ptr, ptr %44, align 8, !tbaa !9
  %432 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %430, ptr noundef %53, ptr noundef %431, ptr noundef null)
          to label %433 unwind label %453

433:                                              ; preds = %429
  br label %434

434:                                              ; preds = %433, %428
  %435 = phi i1 [ false, %428 ], [ %432, %433 ]
  br i1 %435, label %436, label %577

436:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %437 = invoke noundef zeroext i1 @_ZNK4sptk19DistanceCalculation3RunERKSt6vectorIdSaIdEES5_Pd(ptr noundef nonnull align 8 dereferenceable(17) %47, ptr noundef nonnull align 8 dereferenceable(24) %51, ptr noundef nonnull align 8 dereferenceable(24) %53, ptr noundef %55)
          to label %438 unwind label %457

438:                                              ; preds = %436
  br i1 %437, label %480, label %439

439:                                              ; preds = %438
  call void @llvm.lifetime.start.p0(i64 376, ptr %56) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56)
          to label %440 unwind label %461

440:                                              ; preds = %439
  %441 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @.str.10)
          to label %442 unwind label %465

442:                                              ; preds = %440
  call void @llvm.lifetime.start.p0(i64 32, ptr %57) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %58) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %58)
          to label %443 unwind label %469

443:                                              ; preds = %442
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(112) %56)
          to label %444 unwind label %473

444:                                              ; preds = %443
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %56) #8
  br label %573

445:                                              ; preds = %417
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %13, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #8
  br label %692

449:                                              ; preds = %420
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %13, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %54) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  br label %691

453:                                              ; preds = %429, %424
  %454 = landingpad { ptr, i32 }
          cleanup
  %455 = extractvalue { ptr, i32 } %454, 0
  store ptr %455, ptr %13, align 8
  %456 = extractvalue { ptr, i32 } %454, 1
  store i32 %456, ptr %14, align 4
  br label %690

457:                                              ; preds = %495, %436
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %13, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %14, align 4
  br label %576

461:                                              ; preds = %439
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %13, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %14, align 4
  br label %479

465:                                              ; preds = %440
  %466 = landingpad { ptr, i32 }
          cleanup
  %467 = extractvalue { ptr, i32 } %466, 0
  store ptr %467, ptr %13, align 8
  %468 = extractvalue { ptr, i32 } %466, 1
  store i32 %468, ptr %14, align 4
  br label %478

469:                                              ; preds = %442
  %470 = landingpad { ptr, i32 }
          cleanup
  %471 = extractvalue { ptr, i32 } %470, 0
  store ptr %471, ptr %13, align 8
  %472 = extractvalue { ptr, i32 } %470, 1
  store i32 %472, ptr %14, align 4
  br label %477

473:                                              ; preds = %443
  %474 = landingpad { ptr, i32 }
          cleanup
  %475 = extractvalue { ptr, i32 } %474, 0
  store ptr %475, ptr %13, align 8
  %476 = extractvalue { ptr, i32 } %474, 1
  store i32 %476, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #8
  br label %477

477:                                              ; preds = %473, %469
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %58) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %57) #8
  br label %478

478:                                              ; preds = %477, %465
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %56) #8
  br label %479

479:                                              ; preds = %478, %461
  call void @llvm.lifetime.end.p0(i64 376, ptr %56) #8
  br label %576

480:                                              ; preds = %438
  %481 = load i32, ptr %7, align 4, !tbaa !11
  switch i32 %481, label %491 [
    i32 0, label %482
    i32 1, label %487
    i32 2, label %490
  ]

482:                                              ; preds = %480
  %483 = load double, ptr %55, align 8, !tbaa !18
  %484 = fmul double 2.000000e+00, %483
  %485 = call double @sqrt(double noundef %484) #8
  %486 = fmul double 0x40115F2CED384F28, %485
  store double %486, ptr %55, align 8, !tbaa !18
  br label %492

487:                                              ; preds = %480
  %488 = load double, ptr %55, align 8, !tbaa !18
  %489 = call double @sqrt(double noundef %488) #8
  store double %489, ptr %55, align 8, !tbaa !18
  br label %492

490:                                              ; preds = %480
  br label %492

491:                                              ; preds = %480
  br label %492

492:                                              ; preds = %491, %490, %487, %482
  %493 = load i8, ptr %8, align 1, !tbaa !12, !range !20, !noundef !21
  %494 = trunc i8 %493 to i1
  br i1 %494, label %495, label %525

495:                                              ; preds = %492
  %496 = load double, ptr %55, align 8, !tbaa !18
  %497 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %496, ptr noundef @_ZSt4cout)
          to label %498 unwind label %457

498:                                              ; preds = %495
  br i1 %497, label %524, label %499

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

500:                                              ; preds = %499
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef @.str.11)
          to label %502 unwind label %509

502:                                              ; preds = %500
  call void @llvm.lifetime.start.p0(i64 32, ptr %60) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %61)
          to label %503 unwind label %513

503:                                              ; preds = %502
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(112) %59)
          to label %504 unwind label %517

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

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

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

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

517:                                              ; preds = %503
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %13, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #8
  br label %521

521:                                              ; preds = %517, %513
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %61) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %60) #8
  br label %522

522:                                              ; preds = %521, %509
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %59) #8
  br label %523

523:                                              ; preds = %522, %505
  call void @llvm.lifetime.end.p0(i64 376, ptr %59) #8
  br label %576

524:                                              ; preds = %498
  br label %572

525:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 24, ptr %62) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #8
  %526 = load double, ptr %55, align 8, !tbaa !18
  store double %526, ptr %64, align 8, !tbaa !18
  %527 = getelementptr inbounds %"class.std::initializer_list", ptr %63, i32 0, i32 0
  store ptr %64, ptr %527, align 8, !tbaa !22
  %528 = getelementptr inbounds %"class.std::initializer_list", ptr %63, i32 0, i32 1
  store i64 1, ptr %528, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %65) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  %529 = getelementptr inbounds { ptr, i64 }, ptr %63, i32 0, i32 0
  %530 = load ptr, ptr %529, align 8
  %531 = getelementptr inbounds { ptr, i64 }, ptr %63, i32 0, i32 1
  %532 = load i64, ptr %531, align 8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr %530, i64 %532, ptr noundef nonnull align 1 dereferenceable(1) %65)
          to label %533 unwind label %543

533:                                              ; preds = %525
  %534 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation3RunERKSt6vectorIdSaIdEEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(19) %45, ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef %46)
          to label %535 unwind label %547

535:                                              ; preds = %533
  %536 = xor i1 %534, true
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #8
  br i1 %536, label %537, label %571

537:                                              ; preds = %535
  call void @llvm.lifetime.start.p0(i64 376, ptr %66) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %66)
          to label %538 unwind label %552

538:                                              ; preds = %537
  %539 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef @.str.12)
          to label %540 unwind label %556

540:                                              ; preds = %538
  call void @llvm.lifetime.start.p0(i64 32, ptr %67) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %68) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %68)
          to label %541 unwind label %560

541:                                              ; preds = %540
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(112) %66)
          to label %542 unwind label %564

542:                                              ; preds = %541
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %66) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %66) #8
  br label %573

543:                                              ; preds = %525
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %13, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %14, align 4
  br label %551

547:                                              ; preds = %533
  %548 = landingpad { ptr, i32 }
          cleanup
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %13, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %14, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  br label %551

551:                                              ; preds = %547, %543
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %65) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %62) #8
  br label %576

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

556:                                              ; preds = %538
  %557 = landingpad { ptr, i32 }
          cleanup
  %558 = extractvalue { ptr, i32 } %557, 0
  store ptr %558, ptr %13, align 8
  %559 = extractvalue { ptr, i32 } %557, 1
  store i32 %559, ptr %14, align 4
  br label %569

560:                                              ; preds = %540
  %561 = landingpad { ptr, i32 }
          cleanup
  %562 = extractvalue { ptr, i32 } %561, 0
  store ptr %562, ptr %13, align 8
  %563 = extractvalue { ptr, i32 } %561, 1
  store i32 %563, ptr %14, align 4
  br label %568

564:                                              ; preds = %541
  %565 = landingpad { ptr, i32 }
          cleanup
  %566 = extractvalue { ptr, i32 } %565, 0
  store ptr %566, ptr %13, align 8
  %567 = extractvalue { ptr, i32 } %565, 1
  store i32 %567, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #8
  br label %568

568:                                              ; preds = %564, %560
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %68) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %67) #8
  br label %569

569:                                              ; preds = %568, %556
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %66) #8
  br label %570

570:                                              ; preds = %569, %552
  call void @llvm.lifetime.end.p0(i64 376, ptr %66) #8
  br label %576

571:                                              ; preds = %535
  br label %572

572:                                              ; preds = %571, %524
  store i32 0, ptr %10, align 4
  br label %573

573:                                              ; preds = %572, %542, %504, %444
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  %574 = load i32, ptr %10, align 4
  switch i32 %574, label %689 [
    i32 0, label %575
  ]

575:                                              ; preds = %573
  br label %424, !llvm.loop !26

576:                                              ; preds = %570, %551, %523, %479, %457
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %690

577:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 4, ptr %69) #8
  %578 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation10GetNumDataERKNS0_6BufferEPi(ptr noundef nonnull align 8 dereferenceable(19) %45, ptr noundef nonnull align 8 dereferenceable(128) %46, ptr noundef %69)
          to label %579 unwind label %586

579:                                              ; preds = %577
  br i1 %578, label %609, label %580

580:                                              ; preds = %579
  call void @llvm.lifetime.start.p0(i64 376, ptr %70) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %581 unwind label %590

581:                                              ; preds = %580
  %582 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef @.str.12)
          to label %583 unwind label %594

583:                                              ; preds = %581
  call void @llvm.lifetime.start.p0(i64 32, ptr %71) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %72) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %72)
          to label %584 unwind label %598

584:                                              ; preds = %583
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(112) %70)
          to label %585 unwind label %602

585:                                              ; preds = %584
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %70) #8
  br label %687

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

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

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

598:                                              ; preds = %583
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %13, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %14, align 4
  br label %606

602:                                              ; preds = %584
  %603 = landingpad { ptr, i32 }
          cleanup
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %13, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #8
  br label %606

606:                                              ; preds = %602, %598
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %72) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %71) #8
  br label %607

607:                                              ; preds = %606, %594
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %70) #8
  br label %608

608:                                              ; preds = %607, %590
  call void @llvm.lifetime.end.p0(i64 376, ptr %70) #8
  br label %688

609:                                              ; preds = %579
  %610 = load i8, ptr %8, align 1, !tbaa !12, !range !20, !noundef !21
  %611 = trunc i8 %610 to i1
  br i1 %611, label %686, label %612

612:                                              ; preds = %609
  %613 = load i32, ptr %69, align 4, !tbaa !5
  %614 = icmp slt i32 0, %613
  br i1 %614, label %615, label %686

615:                                              ; preds = %612
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef 1, ptr noundef nonnull align 1 dereferenceable(1) %74)
          to label %616 unwind label %625

616:                                              ; preds = %615
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  %617 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7GetMeanERKNS0_6BufferEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(19) %45, ptr noundef nonnull align 8 dereferenceable(128) %46, ptr noundef %73)
          to label %618 unwind label %629

618:                                              ; preds = %616
  br i1 %617, label %652, label %619

619:                                              ; preds = %618
  call void @llvm.lifetime.start.p0(i64 376, ptr %75) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %75)
          to label %620 unwind label %633

620:                                              ; preds = %619
  %621 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @.str.10)
          to label %622 unwind label %637

622:                                              ; preds = %620
  call void @llvm.lifetime.start.p0(i64 32, ptr %76) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %77) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %77)
          to label %623 unwind label %641

623:                                              ; preds = %622
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef nonnull align 8 dereferenceable(112) %75)
          to label %624 unwind label %645

624:                                              ; preds = %623
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %75) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %75) #8
  br label %681

625:                                              ; preds = %615
  %626 = landingpad { ptr, i32 }
          cleanup
  %627 = extractvalue { ptr, i32 } %626, 0
  store ptr %627, ptr %13, align 8
  %628 = extractvalue { ptr, i32 } %626, 1
  store i32 %628, ptr %14, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %74) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  br label %685

629:                                              ; preds = %652, %616
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %13, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %14, align 4
  br label %684

633:                                              ; preds = %619
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %13, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %14, align 4
  br label %651

637:                                              ; preds = %620
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %13, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %14, align 4
  br label %650

641:                                              ; preds = %622
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %13, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %14, align 4
  br label %649

645:                                              ; preds = %623
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %13, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %76) #8
  br label %649

649:                                              ; preds = %645, %641
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %77) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %76) #8
  br label %650

650:                                              ; preds = %649, %637
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %75) #8
  br label %651

651:                                              ; preds = %650, %633
  call void @llvm.lifetime.end.p0(i64 376, ptr %75) #8
  br label %684

652:                                              ; preds = %618
  %653 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef @_ZSt4cout, ptr noundef null)
          to label %654 unwind label %629

654:                                              ; preds = %652
  br i1 %653, label %680, label %655

655:                                              ; preds = %654
  call void @llvm.lifetime.start.p0(i64 376, ptr %78) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %78)
          to label %656 unwind label %661

656:                                              ; preds = %655
  %657 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef @.str.11)
          to label %658 unwind label %665

658:                                              ; preds = %656
  call void @llvm.lifetime.start.p0(i64 32, ptr %79) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %80)
          to label %659 unwind label %669

659:                                              ; preds = %658
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(112) %78)
          to label %660 unwind label %673

660:                                              ; preds = %659
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #8
  store i32 1, ptr %3, align 4
  store i32 1, ptr %10, align 4
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %78) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %78) #8
  br label %681

661:                                              ; preds = %655
  %662 = landingpad { ptr, i32 }
          cleanup
  %663 = extractvalue { ptr, i32 } %662, 0
  store ptr %663, ptr %13, align 8
  %664 = extractvalue { ptr, i32 } %662, 1
  store i32 %664, ptr %14, align 4
  br label %679

665:                                              ; preds = %656
  %666 = landingpad { ptr, i32 }
          cleanup
  %667 = extractvalue { ptr, i32 } %666, 0
  store ptr %667, ptr %13, align 8
  %668 = extractvalue { ptr, i32 } %666, 1
  store i32 %668, ptr %14, align 4
  br label %678

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

673:                                              ; preds = %659
  %674 = landingpad { ptr, i32 }
          cleanup
  %675 = extractvalue { ptr, i32 } %674, 0
  store ptr %675, ptr %13, align 8
  %676 = extractvalue { ptr, i32 } %674, 1
  store i32 %676, ptr %14, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #8
  br label %677

677:                                              ; preds = %673, %669
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %80) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %79) #8
  br label %678

678:                                              ; preds = %677, %665
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %78) #8
  br label %679

679:                                              ; preds = %678, %661
  call void @llvm.lifetime.end.p0(i64 376, ptr %78) #8
  br label %684

680:                                              ; preds = %654
  store i32 0, ptr %10, align 4
  br label %681

681:                                              ; preds = %680, %660, %624
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #8
  %682 = load i32, ptr %10, align 4
  switch i32 %682, label %687 [
    i32 0, label %683
  ]

683:                                              ; preds = %681
  br label %686

684:                                              ; preds = %679, %651, %629
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #8
  br label %685

685:                                              ; preds = %684, %625
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #8
  br label %688

686:                                              ; preds = %683, %612, %609
  store i32 0, ptr %3, align 4
  store i32 1, ptr %10, align 4
  br label %687

687:                                              ; preds = %686, %681, %585
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  br label %689

688:                                              ; preds = %685, %608, %586
  call void @llvm.lifetime.end.p0(i64 4, ptr %69) #8
  br label %690

689:                                              ; preds = %687, %573
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #8
  br label %693

690:                                              ; preds = %688, %576, %453
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %53) #8
  br label %691

691:                                              ; preds = %690, %449
  call void @llvm.lifetime.end.p0(i64 24, ptr %53) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %51) #8
  br label %692

692:                                              ; preds = %691, %445
  call void @llvm.lifetime.end.p0(i64 24, ptr %51) #8
  br label %694

693:                                              ; preds = %689, %377
  call void @_ZN4sptk19DistanceCalculationD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  call void @_ZN4sptk22StatisticsAccumulation6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %46) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr %46) #8
  call void @_ZN4sptk22StatisticsAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(19) %45) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %699

694:                                              ; preds = %692, %416, %394
  call void @_ZN4sptk19DistanceCalculationD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %47) #8
  br label %695

695:                                              ; preds = %694, %390
  call void @llvm.lifetime.end.p0(i64 24, ptr %47) #8
  call void @_ZN4sptk22StatisticsAccumulation6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %46) #8
  br label %696

696:                                              ; preds = %695, %386
  call void @llvm.lifetime.end.p0(i64 128, ptr %46) #8
  call void @_ZN4sptk22StatisticsAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(19) %45) #8
  br label %697

697:                                              ; preds = %696, %382
  call void @llvm.lifetime.end.p0(i64 24, ptr %45) #8
  br label %698

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

699:                                              ; preds = %693, %326
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %40) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %702

700:                                              ; preds = %698, %353, %331
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %40) #8
  br label %701

701:                                              ; preds = %700, %327
  call void @llvm.lifetime.end.p0(i64 520, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %703

702:                                              ; preds = %699, %279
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %35) #8
  br label %704

703:                                              ; preds = %701, %302, %280
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %35) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr %35) #8
  br label %705

704:                                              ; preds = %702, %245, %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %706

705:                                              ; preds = %703, %259, %237
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %708

706:                                              ; preds = %704, %186
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  %707 = load i32, ptr %3, align 4
  ret i32 %707

708:                                              ; preds = %705, %189
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  br label %709

709:                                              ; preds = %708
  %710 = load ptr, ptr %13, align 8
  %711 = load i32, ptr %14, align 4
  %712 = insertvalue { ptr, i32 } poison, ptr %710, 0
  %713 = insertvalue { ptr, i32 } %712, i32 %711, 1
  resume { ptr, i32 } %713
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() #2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk19DistanceCalculation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17)) #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 @_ZNK4sptk19DistanceCalculation3RunERKSt6vectorIdSaIdEES5_Pd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #7

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

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

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

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

declare noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation10GetNumDataERKNS0_6BufferEPi(ptr noundef nonnull align 8 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2

declare noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7GetMeanERKNS0_6BufferEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #2

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

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

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

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

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

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

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

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

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


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.0 }
%union.anon.0 = type { i32 }
%"class.sptk::StatisticsAccumulation" = type <{ ptr, i32, i32, i8, i8, i8, [5 x i8] }>
%"class.sptk::StatisticsAccumulation::Buffer" = type { ptr, i32, %"class.std::vector", %"class.sptk::SymmetricMatrix", %"class.std::vector" }
%"class.sptk::SymmetricMatrix" = type { ptr, i32, %"class.std::vector", %"class.std::vector.4" }
%"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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.sptk::DistanceCalculation" = type <{ ptr, i32, i32, i8, [7 x i8] }>
%"class.std::allocator.1" = type { i8 }

@.str = external hidden unnamed_addr constant [7 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 [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.5 = 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
@ya_optind = external local_unnamed_addr global i32, align 4
@.str.6 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str.9 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [32 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 %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %7 = alloca %"class.std::__cxx11::basic_string", align 8
  %8 = alloca %"class.std::allocator", align 1
  %9 = alloca i32, align 4
  %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_ostringstream", align 8
  %16 = alloca %"class.std::__cxx11::basic_string", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %19 = alloca %"class.std::__cxx11::basic_string", align 8
  %20 = alloca %"class.std::allocator", align 1
  %21 = alloca %"class.std::basic_ifstream", align 8
  %22 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::allocator", align 1
  %25 = alloca %"class.std::basic_ifstream", align 8
  %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.sptk::StatisticsAccumulation", align 8
  %30 = alloca %"class.sptk::StatisticsAccumulation::Buffer", align 8
  %31 = alloca %"class.sptk::DistanceCalculation", align 8
  %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::vector", align 8
  %36 = alloca %"class.std::allocator.1", align 1
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca %"class.std::allocator.1", align 1
  %39 = alloca double, 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.std::__cxx11::basic_ostringstream", align 8
  %44 = alloca %"class.std::__cxx11::basic_string", align 8
  %45 = alloca %"class.std::allocator", align 1
  %46 = alloca %"class.std::vector", align 8
  %47 = alloca [1 x double], align 8
  %48 = alloca %"class.std::allocator.1", align 1
  %49 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %50 = alloca %"class.std::__cxx11::basic_string", align 8
  %51 = alloca %"class.std::allocator", align 1
  %52 = alloca i32, align 4
  %53 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %54 = alloca %"class.std::__cxx11::basic_string", align 8
  %55 = alloca %"class.std::allocator", align 1
  %56 = alloca %"class.std::vector", align 8
  %57 = alloca %"class.std::allocator.1", align 1
  %58 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %59 = alloca %"class.std::__cxx11::basic_string", align 8
  %60 = alloca %"class.std::allocator", 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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #8
  store i32 25, ptr %3, align 4, !tbaa !5
  br label %.outer

.outer:                                           ; preds = %64, %2
  %.038.ph = phi i1 [ false, %2 ], [ true, %64 ]
  %.034.ph = phi i32 [ 0, %2 ], [ %.034.ph311, %64 ]
  br label %.outer310

.outer310:                                        ; preds = %.outer, %.thread
  %.034.ph311 = phi i32 [ %.034.ph, %.outer ], [ %124, %.thread ]
  br label %64

64:                                               ; preds = %.outer310, %70
  %65 = call i32 @ya_getopt_long(i32 noundef %0, ptr noundef %1, ptr noundef nonnull @.str, ptr noundef null, ptr noundef null)
  switch i32 %65, label %128 [
    i32 -1, label %129
    i32 109, label %66
    i32 111, label %91
    i32 102, label %.outer
    i32 104, label %127
  ]

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

68:                                               ; preds = %66
  %69 = invoke noundef zeroext i1 @_ZN4sptk22ConvertStringToIntegerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPi(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %3)
          to label %70 unwind label %80

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

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

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

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

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

78:                                               ; preds = %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

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

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

83:                                               ; preds = %73
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %90

85:                                               ; preds = %75
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %89

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

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

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

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

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

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

96:                                               ; preds = %95
  %97 = load i32, ptr %9, align 4, !tbaa !5
  %98 = invoke noundef zeroext i1 @_ZN4sptk9IsInRangeEiii(i32 noundef %97, i32 noundef 0, i32 noundef 2)
          to label %99 unwind label %113

99:                                               ; preds = %96
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #8
  br i1 %98, label %.thread, label %.loopexit

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

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

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

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %102, i32 noundef 0)
          to label %105 unwind label %116

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

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %106, i32 noundef 2)
          to label %109 unwind label %116

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

110:                                              ; preds = %109
  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 %125 unwind label %120

111:                                              ; preds = %91
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

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

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

116:                                              ; preds = %107, %105, %103, %101, %.loopexit
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %123

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

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

122:                                              ; preds = %120, %118
  %.pn120 = phi { ptr, i32 } [ %121, %120 ], [ %119, %118 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %123

123:                                              ; preds = %122, %116
  %.pn120.pn = phi { ptr, i32 } [ %.pn120, %122 ], [ %117, %116 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %12) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %12) #8
  br label %126

.thread:                                          ; preds = %99
  %124 = load i32, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %.outer310

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

126:                                              ; preds = %123, %115
  %.pn120.pn.pn = phi { ptr, i32 } [ %.pn120.pn, %123 ], [ %.pn, %115 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #8
  br label %469

127:                                              ; preds = %64
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cout)
  br label %.thread198

128:                                              ; preds = %64
  call void @_ZN12_GLOBAL__N_110PrintUsageEPSo(ptr noundef nonnull @_ZSt4cerr)
  br label %.thread198

129:                                              ; preds = %64
  %130 = load i32, ptr @ya_optind, align 4, !tbaa !5
  %131 = sub nsw i32 %0, %130
  switch i32 %131, label %142 [
    i32 2, label %132
    i32 1, label %138
  ]

132:                                              ; preds = %129
  %133 = sext i32 %0 to i64
  %134 = getelementptr ptr, ptr %1, i64 %133
  %135 = getelementptr i8, ptr %134, i64 -16
  %136 = getelementptr i8, ptr %134, i64 -8
  %137 = load ptr, ptr %136, align 8, !tbaa !9
  br label %155

138:                                              ; preds = %129
  %139 = sext i32 %0 to i64
  %140 = getelementptr ptr, ptr %1, i64 %139
  %141 = getelementptr i8, ptr %140, i64 -8
  br label %155

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

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

145:                                              ; preds = %144
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(112) %15)
          to label %146 unwind label %151

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

147:                                              ; preds = %142
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %154

149:                                              ; preds = %144
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %153

151:                                              ; preds = %145
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #8
  br label %153

153:                                              ; preds = %151, %149
  %.pn132 = phi { ptr, i32 } [ %152, %151 ], [ %150, %149 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %16) #8
  br label %154

154:                                              ; preds = %153, %147
  %.pn132.pn = phi { ptr, i32 } [ %.pn132, %153 ], [ %148, %147 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %15) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %15) #8
  br label %469

155:                                              ; preds = %138, %132
  %.060.in = phi ptr [ %135, %132 ], [ %141, %138 ]
  %.059 = phi ptr [ %137, %132 ], [ null, %138 ]
  %.060 = load ptr, ptr %.060.in, align 8, !tbaa !9
  %156 = call noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv()
  br i1 %156, label %170, label %157

157:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %18) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %18)
  %158 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull @.str.7)
          to label %159 unwind label %162

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

160:                                              ; preds = %159
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(112) %18)
          to label %161 unwind label %166

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

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

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

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

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

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

170:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %21) #8
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %21)
  %171 = 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) %21, ptr noundef %.060, i32 noundef %171)
          to label %172 unwind label %187

172:                                              ; preds = %170
  %173 = load ptr, ptr %21, align 8, !tbaa !11
  %174 = getelementptr i8, ptr %173, i64 -24
  %175 = load i64, ptr %174, align 8
  %176 = getelementptr inbounds i8, ptr %21, i64 %175
  %177 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %176)
          to label %178 unwind label %187

178:                                              ; preds = %172
  br i1 %177, label %179, label %200

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

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

182:                                              ; preds = %180
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef %.060)
          to label %184 unwind label %191

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

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

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

187:                                              ; preds = %172, %170
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %468

189:                                              ; preds = %179
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %199

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

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

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

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

198:                                              ; preds = %197, %191
  %.pn187.pn = phi { ptr, i32 } [ %.pn187, %197 ], [ %192, %191 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %22) #8
  br label %199

199:                                              ; preds = %198, %189
  %.pn187.pn.pn = phi { ptr, i32 } [ %.pn187.pn, %198 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %22) #8
  br label %468

200:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %25) #8
  invoke void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(256) %25)
          to label %201 unwind label %219

201:                                              ; preds = %200
  %.not138 = icmp eq ptr %.059, null
  br i1 %.not138, label %234, label %202

202:                                              ; preds = %201
  %203 = 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) %25, ptr noundef nonnull %.059, i32 noundef %203)
          to label %204 unwind label %221

204:                                              ; preds = %202
  %205 = load ptr, ptr %25, align 8, !tbaa !11
  %206 = getelementptr i8, ptr %205, i64 -24
  %207 = load i64, ptr %206, align 8
  %208 = getelementptr inbounds i8, ptr %25, i64 %207
  %209 = invoke noundef zeroext i1 @_ZNKSt9basic_iosIcSt11char_traitsIcEE4failEv(ptr noundef nonnull align 8 dereferenceable(264) %208)
          to label %210 unwind label %221

210:                                              ; preds = %204
  br i1 %209, label %211, label %234

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

212:                                              ; preds = %211
  %213 = 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.8)
          to label %214 unwind label %225

214:                                              ; preds = %212
  %215 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef nonnull %.059)
          to label %216 unwind label %225

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

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

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

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

221:                                              ; preds = %204, %202
  %222 = landingpad { ptr, i32 }
          cleanup
  br label %465

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

225:                                              ; preds = %214, %212
  %226 = landingpad { ptr, i32 }
          cleanup
  br label %232

227:                                              ; preds = %216
  %228 = landingpad { ptr, i32 }
          cleanup
  br label %231

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

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

232:                                              ; preds = %231, %225
  %.pn181.pn = phi { ptr, i32 } [ %.pn181, %231 ], [ %226, %225 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %26) #8
  br label %233

233:                                              ; preds = %232, %223
  %.pn181.pn.pn = phi { ptr, i32 } [ %.pn181.pn, %232 ], [ %224, %223 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %26) #8
  br label %465

234:                                              ; preds = %210, %201
  %235 = call noundef zeroext i1 @_ZNSt14basic_ifstreamIcSt11char_traitsIcEE7is_openEv(ptr noundef nonnull align 8 dereferenceable(256) %25)
  %236 = select i1 %235, ptr %25, ptr @_ZSt3cin
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #8
  invoke void @_ZN4sptk22StatisticsAccumulationC1Eiibb(ptr noundef nonnull align 8 dereferenceable(19) %29, i32 noundef 0, i32 noundef 1, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %237 unwind label %251

237:                                              ; preds = %234
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %30) #8
  invoke void @_ZN4sptk22StatisticsAccumulation6BufferC2Ev(ptr noundef nonnull align 8 dereferenceable(128) %30)
          to label %238 unwind label %253

238:                                              ; preds = %237
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %31) #8
  %239 = load i32, ptr %3, align 4, !tbaa !5
  %240 = add nsw i32 %239, -1
  invoke void @_ZN4sptk19DistanceCalculationC1EiNS0_15DistanceMetricsE(ptr noundef nonnull align 8 dereferenceable(17) %31, i32 noundef %240, i32 noundef 2)
          to label %241 unwind label %255

241:                                              ; preds = %238
  %242 = call noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(19) %29)
  br i1 %242, label %243, label %245

243:                                              ; preds = %241
  %244 = call noundef zeroext i1 @_ZNK4sptk19DistanceCalculation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17) %31)
  br i1 %244, label %268, label %245

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

246:                                              ; preds = %245
  %247 = 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.9)
          to label %248 unwind label %259

248:                                              ; preds = %246
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %34) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34) #8
  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 %249 unwind label %261

249:                                              ; preds = %248
  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 %250 unwind label %263

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

251:                                              ; preds = %234
  %252 = landingpad { ptr, i32 }
          cleanup
  br label %463

253:                                              ; preds = %237
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %462

255:                                              ; preds = %238
  %256 = landingpad { ptr, i32 }
          cleanup
  br label %461

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

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

261:                                              ; preds = %248
  %262 = landingpad { ptr, i32 }
          cleanup
  br label %265

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

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

266:                                              ; preds = %265, %259
  %.pn139.pn = phi { ptr, i32 } [ %.pn139, %265 ], [ %260, %259 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %32) #8
  br label %267

267:                                              ; preds = %266, %257
  %.pn139.pn.pn = phi { ptr, i32 } [ %.pn139.pn, %266 ], [ %258, %257 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %32) #8
  br label %460

268:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %35) #8
  %269 = load i32, ptr %3, align 4, !tbaa !5
  %270 = sext i32 %269 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %36) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %270, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %271 unwind label %313

271:                                              ; preds = %268
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %37) #8
  %272 = load i32, ptr %3, align 4, !tbaa !5
  %273 = sext i32 %272 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %38) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef %273, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %274 unwind label %315

274:                                              ; preds = %271
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #8
  br i1 %.038.ph, label %.split.us, label %.split

.split.us:                                        ; preds = %274, %295
  %275 = load i32, ptr %3, align 4, !tbaa !5
  %276 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %275, ptr noundef nonnull %35, ptr noundef nonnull %21, ptr noundef null)
          to label %277 unwind label %.split238.us

277:                                              ; preds = %.split.us
  br i1 %276, label %278, label %.critedge4

278:                                              ; preds = %277
  %279 = load i32, ptr %3, align 4, !tbaa !5
  %280 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %279, ptr noundef nonnull %37, ptr noundef nonnull %236, ptr noundef null)
          to label %281 unwind label %.split238.us

281:                                              ; preds = %278
  br i1 %280, label %282, label %.critedge4

282:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  %283 = invoke noundef zeroext i1 @_ZNK4sptk19DistanceCalculation3RunERKSt6vectorIdSaIdEES5_Pd(ptr noundef nonnull align 8 dereferenceable(17) %31, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull %39)
          to label %284 unwind label %.split240.us

284:                                              ; preds = %282
  br i1 %283, label %285, label %.split243.us

285:                                              ; preds = %284
  %.pre267 = load double, ptr %39, align 8, !tbaa !13
  switch i32 %.034.ph311, label %._crit_edge266 [
    i32 0, label %288
    i32 1, label %286
  ]

286:                                              ; preds = %285
  %287 = call double @sqrt(double noundef %.pre267) #8
  store double %287, ptr %39, align 8, !tbaa !13
  br label %._crit_edge266

288:                                              ; preds = %285
  %289 = fmul double %.pre267, 2.000000e+00
  %290 = call double @sqrt(double noundef %289) #8
  %291 = fmul double %290, 0x40115F2CED384F28
  store double %291, ptr %39, align 8, !tbaa !13
  br label %._crit_edge266

._crit_edge266:                                   ; preds = %285, %288, %286
  %292 = phi double [ %291, %288 ], [ %287, %286 ], [ %.pre267, %285 ]
  %293 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbT_PSo(double noundef %292, ptr noundef nonnull @_ZSt4cout)
          to label %294 unwind label %.split240.us

294:                                              ; preds = %._crit_edge266
  br i1 %293, label %295, label %.split245.us

295:                                              ; preds = %294
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %.split.us, !llvm.loop !15

.split238.us:                                     ; preds = %278, %.split.us
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %456

.split240.us:                                     ; preds = %._crit_edge266, %282
  %297 = landingpad { ptr, i32 }
          cleanup
  br label %380

.split:                                           ; preds = %274, %379
  %298 = load i32, ptr %3, align 4, !tbaa !5
  %299 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %298, ptr noundef nonnull %35, ptr noundef nonnull %21, ptr noundef null)
          to label %300 unwind label %.split238

300:                                              ; preds = %.split
  br i1 %299, label %301, label %.critedge4

301:                                              ; preds = %300
  %302 = load i32, ptr %3, align 4, !tbaa !5
  %303 = invoke noundef zeroext i1 @_ZN4sptk10ReadStreamIdEEbbiiiPSt6vectorIT_SaIS2_EEPSiPi(i1 noundef zeroext false, i32 noundef 1, i32 noundef 0, i32 noundef %302, ptr noundef nonnull %37, ptr noundef nonnull %236, ptr noundef null)
          to label %304 unwind label %.split238

304:                                              ; preds = %301
  br i1 %303, label %305, label %.critedge4

305:                                              ; preds = %304
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #8
  %306 = invoke noundef zeroext i1 @_ZNK4sptk19DistanceCalculation3RunERKSt6vectorIdSaIdEES5_Pd(ptr noundef nonnull align 8 dereferenceable(17) %31, ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull %39)
          to label %307 unwind label %.split240

307:                                              ; preds = %305
  br i1 %306, label %330, label %.split243.us

.split243.us:                                     ; preds = %307, %284
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %40) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40)
          to label %308 unwind label %319

308:                                              ; preds = %.split243.us
  %309 = 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.10)
          to label %310 unwind label %321

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

311:                                              ; preds = %310
  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 %312 unwind label %325

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

313:                                              ; preds = %268
  %314 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %36) #8
  br label %458

315:                                              ; preds = %271
  %316 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %38) #8
  br label %457

.split238:                                        ; preds = %301, %.split
  %317 = landingpad { ptr, i32 }
          cleanup
  br label %456

.split240:                                        ; preds = %305
  %318 = landingpad { ptr, i32 }
          cleanup
  br label %380

319:                                              ; preds = %.split243.us
  %320 = landingpad { ptr, i32 }
          cleanup
  br label %329

321:                                              ; preds = %308
  %322 = landingpad { ptr, i32 }
          cleanup
  br label %328

323:                                              ; preds = %310
  %324 = landingpad { ptr, i32 }
          cleanup
  br label %327

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

327:                                              ; preds = %325, %323
  %.pn159 = phi { ptr, i32 } [ %326, %325 ], [ %324, %323 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %42) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %42) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %41) #8
  br label %328

328:                                              ; preds = %327, %321
  %.pn159.pn = phi { ptr, i32 } [ %.pn159, %327 ], [ %322, %321 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #8
  br label %329

329:                                              ; preds = %328, %319
  %.pn159.pn.pn = phi { ptr, i32 } [ %.pn159.pn, %328 ], [ %320, %319 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %40) #8
  br label %380

330:                                              ; preds = %307
  %.pre = load double, ptr %39, align 8, !tbaa !13
  switch i32 %.034.ph311, label %._crit_edge [
    i32 0, label %331
    i32 1, label %335
  ]

331:                                              ; preds = %330
  %332 = fmul double %.pre, 2.000000e+00
  %333 = call double @sqrt(double noundef %332) #8
  %334 = fmul double %333, 0x40115F2CED384F28
  store double %334, ptr %39, align 8, !tbaa !13
  br label %._crit_edge

335:                                              ; preds = %330
  %336 = call double @sqrt(double noundef %.pre) #8
  store double %336, ptr %39, align 8, !tbaa !13
  br label %._crit_edge

._crit_edge:                                      ; preds = %330, %335, %331
  %337 = phi double [ %336, %335 ], [ %334, %331 ], [ %.pre, %330 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %46) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %47) #8
  store double %337, ptr %47, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %48) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2ESt16initializer_listIdERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr nonnull %47, i64 1, ptr noundef nonnull align 1 dereferenceable(1) %48)
          to label %354 unwind label %363

.split245.us:                                     ; preds = %294
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %43) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %43)
          to label %338 unwind label %343

338:                                              ; preds = %.split245.us
  %339 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.11)
          to label %340 unwind label %345

340:                                              ; preds = %338
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %44) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %45) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %45)
          to label %341 unwind label %347

341:                                              ; preds = %340
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(112) %43)
          to label %342 unwind label %349

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

343:                                              ; preds = %.split245.us
  %344 = landingpad { ptr, i32 }
          cleanup
  br label %353

345:                                              ; preds = %338
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %352

347:                                              ; preds = %340
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %351

349:                                              ; preds = %341
  %350 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  br label %351

351:                                              ; preds = %349, %347
  %.pn169 = phi { ptr, i32 } [ %350, %349 ], [ %348, %347 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %45) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %45) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %44) #8
  br label %352

352:                                              ; preds = %351, %345
  %.pn169.pn = phi { ptr, i32 } [ %.pn169, %351 ], [ %346, %345 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %43) #8
  br label %353

353:                                              ; preds = %352, %343
  %.pn169.pn.pn = phi { ptr, i32 } [ %.pn169.pn, %352 ], [ %344, %343 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %43) #8
  br label %380

354:                                              ; preds = %._crit_edge
  %355 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation3RunERKSt6vectorIdSaIdEEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(19) %29, ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull %30)
          to label %356 unwind label %365

356:                                              ; preds = %354
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #8
  br i1 %355, label %379, label %357

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

358:                                              ; preds = %357
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull @.str.12)
          to label %360 unwind label %370

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

361:                                              ; preds = %360
  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 %362 unwind label %374

362:                                              ; preds = %361
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %51) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %49) #8
  br label %.thread212

363:                                              ; preds = %._crit_edge
  %364 = landingpad { ptr, i32 }
          cleanup
  br label %367

365:                                              ; preds = %354
  %366 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  br label %367

367:                                              ; preds = %365, %363
  %.pn163 = phi { ptr, i32 } [ %366, %365 ], [ %364, %363 ]
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %48) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %47) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %46) #8
  br label %380

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

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

372:                                              ; preds = %360
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %376

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

376:                                              ; preds = %374, %372
  %.pn165 = phi { ptr, i32 } [ %375, %374 ], [ %373, %372 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %51) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %50) #8
  br label %377

377:                                              ; preds = %376, %370
  %.pn165.pn = phi { ptr, i32 } [ %.pn165, %376 ], [ %371, %370 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %49) #8
  br label %378

378:                                              ; preds = %377, %368
  %.pn165.pn.pn = phi { ptr, i32 } [ %.pn165.pn, %377 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %49) #8
  br label %380

.thread212:                                       ; preds = %342, %362, %312
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %455

379:                                              ; preds = %356
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %.split, !llvm.loop !15

380:                                              ; preds = %.split240, %.split240.us, %378, %367, %353, %329
  %.pn169.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn, %353 ], [ %.pn165.pn.pn, %378 ], [ %.pn163, %367 ], [ %.pn159.pn.pn, %329 ], [ %318, %.split240 ], [ %297, %.split240.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #8
  br label %456

.critedge4:                                       ; preds = %304, %300, %277, %281
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %52) #8
  %381 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation10GetNumDataERKNS0_6BufferEPi(ptr noundef nonnull align 8 dereferenceable(19) %29, ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef nonnull %52)
          to label %382 unwind label %389

382:                                              ; preds = %.critedge4
  br i1 %381, label %402, label %383

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

384:                                              ; preds = %383
  %385 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull @.str.12)
          to label %386 unwind label %393

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

387:                                              ; preds = %386
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(112) %53)
          to label %388 unwind label %397

388:                                              ; preds = %387
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %55) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %55) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %54) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %53) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %53) #8
  br label %453

389:                                              ; preds = %.critedge4
  %390 = landingpad { ptr, i32 }
          cleanup
  br label %454

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

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

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

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

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

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

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

402:                                              ; preds = %382
  %403 = load i32, ptr %52, align 4
  %404 = icmp slt i32 %403, 1
  %or.cond.not = select i1 %.038.ph, i1 true, i1 %404
  br i1 %or.cond.not, label %453, label %405

405:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %56) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %57) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef 1, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %406 unwind label %415

406:                                              ; preds = %405
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #8
  %407 = invoke noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7GetMeanERKNS0_6BufferEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(19) %29, ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef nonnull %56)
          to label %408 unwind label %417

408:                                              ; preds = %406
  br i1 %407, label %430, label %409

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

410:                                              ; preds = %409
  %411 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @.str.10)
          to label %412 unwind label %421

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

413:                                              ; preds = %412
  invoke void @_ZN4sptk17PrintErrorMessageERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS0_19basic_ostringstreamIcS3_S4_EE(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(112) %58)
          to label %414 unwind label %425

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

415:                                              ; preds = %405
  %416 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %57) #8
  br label %452

417:                                              ; preds = %430, %406
  %418 = landingpad { ptr, i32 }
          cleanup
  br label %451

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

421:                                              ; preds = %410
  %422 = landingpad { ptr, i32 }
          cleanup
  br label %428

423:                                              ; preds = %412
  %424 = landingpad { ptr, i32 }
          cleanup
  br label %427

425:                                              ; preds = %413
  %426 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #8
  br label %427

427:                                              ; preds = %425, %423
  %.pn148 = phi { ptr, i32 } [ %426, %425 ], [ %424, %423 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %60) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %60) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %59) #8
  br label %428

428:                                              ; preds = %427, %421
  %.pn148.pn = phi { ptr, i32 } [ %.pn148, %427 ], [ %422, %421 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %58) #8
  br label %429

429:                                              ; preds = %428, %419
  %.pn148.pn.pn = phi { ptr, i32 } [ %.pn148.pn, %428 ], [ %420, %419 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %58) #8
  br label %451

430:                                              ; preds = %408
  %431 = invoke noundef zeroext i1 @_ZN4sptk11WriteStreamIdEEbiiRKSt6vectorIT_SaIS2_EEPSoPi(i32 noundef 0, i32 noundef 1, ptr noundef nonnull align 8 dereferenceable(24) %56, ptr noundef nonnull @_ZSt4cout, ptr noundef null)
          to label %432 unwind label %417

432:                                              ; preds = %430
  br i1 %431, label %450, label %433

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

434:                                              ; preds = %433
  %435 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @.str.11)
          to label %436 unwind label %441

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

437:                                              ; preds = %436
  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 %438 unwind label %445

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

439:                                              ; preds = %433
  %440 = landingpad { ptr, i32 }
          cleanup
  br label %449

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

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

445:                                              ; preds = %437
  %446 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %62) #8
  br label %447

447:                                              ; preds = %445, %443
  %.pn152 = phi { ptr, i32 } [ %446, %445 ], [ %444, %443 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %63) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %63) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %62) #8
  br label %448

448:                                              ; preds = %447, %441
  %.pn152.pn = phi { ptr, i32 } [ %.pn152, %447 ], [ %442, %441 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %61) #8
  br label %449

449:                                              ; preds = %448, %439
  %.pn152.pn.pn = phi { ptr, i32 } [ %.pn152.pn, %448 ], [ %440, %439 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %61) #8
  br label %451

.thread216:                                       ; preds = %438, %414
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #8
  br label %453

450:                                              ; preds = %432
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #8
  br label %453

451:                                              ; preds = %449, %429, %417
  %.pn152.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn, %449 ], [ %418, %417 ], [ %.pn148.pn.pn, %429 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  br label %452

452:                                              ; preds = %451, %415
  %.pn152.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn.pn, %451 ], [ %416, %415 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %56) #8
  br label %454

453:                                              ; preds = %402, %450, %.thread216, %388
  %.7 = phi i32 [ 1, %388 ], [ 1, %.thread216 ], [ 0, %450 ], [ 0, %402 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #8
  br label %455

454:                                              ; preds = %452, %401, %389
  %.pn152.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn152.pn.pn.pn.pn, %452 ], [ %.pn143.pn.pn, %401 ], [ %390, %389 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %52) #8
  br label %456

455:                                              ; preds = %.thread212, %453
  %.8 = phi i32 [ %.7, %453 ], [ 1, %.thread212 ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #8
  br label %459

456:                                              ; preds = %.split238, %.split238.us, %454, %380
  %.pn169.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn, %380 ], [ %.pn152.pn.pn.pn.pn.pn, %454 ], [ %317, %.split238 ], [ %296, %.split238.us ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  br label %457

457:                                              ; preds = %456, %315
  %.pn169.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn, %456 ], [ %316, %315 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %37) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %458

458:                                              ; preds = %457, %313
  %.pn169.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn.pn, %457 ], [ %314, %313 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %35) #8
  br label %460

459:                                              ; preds = %455, %250
  %.9 = phi i32 [ %.8, %455 ], [ 1, %250 ]
  call void @_ZN4sptk19DistanceCalculationD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %31) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  call void @_ZN4sptk22StatisticsAccumulation6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %30) #8
  call void @_ZN4sptk22StatisticsAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(19) %29) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %464

460:                                              ; preds = %458, %267
  %.pn169.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn.pn.pn, %458 ], [ %.pn139.pn.pn, %267 ]
  call void @_ZN4sptk19DistanceCalculationD2Ev(ptr noundef nonnull align 8 dereferenceable(17) %31) #8
  br label %461

461:                                              ; preds = %460, %255
  %.pn169.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn.pn.pn.pn, %460 ], [ %256, %255 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %31) #8
  call void @_ZN4sptk22StatisticsAccumulation6BufferD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #8
  br label %462

462:                                              ; preds = %461, %253
  %.pn169.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn.pn.pn.pn.pn, %461 ], [ %254, %253 ]
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %30) #8
  call void @_ZN4sptk22StatisticsAccumulationD2Ev(ptr noundef nonnull align 8 dereferenceable(19) %29) #8
  br label %463

463:                                              ; preds = %462, %251
  %.pn169.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn169.pn.pn.pn.pn.pn.pn.pn.pn.pn, %462 ], [ %252, %251 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #8
  br label %465

464:                                              ; preds = %459, %218
  %.10 = phi i32 [ 1, %218 ], [ %.9, %459 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %25) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %25) #8
  br label %467

465:                                              ; preds = %463, %233, %221
  %.pn181.pn.pn.pn = phi { ptr, i32 } [ %.pn181.pn.pn, %233 ], [ %.pn169.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %463 ], [ %222, %221 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %25) #8
  br label %466

466:                                              ; preds = %465, %219
  %.pn181.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn181.pn.pn.pn, %465 ], [ %220, %219 ]
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %25) #8
  br label %468

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

468:                                              ; preds = %466, %199, %187
  %.pn187.pn.pn.pn = phi { ptr, i32 } [ %.pn187.pn.pn, %199 ], [ %.pn181.pn.pn.pn.pn, %466 ], [ %188, %187 ]
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %21) #8
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %21) #8
  br label %469

.thread198:                                       ; preds = %77, %125, %127, %128, %146, %161, %467
  %.13 = phi i32 [ %.11, %467 ], [ 1, %161 ], [ 1, %146 ], [ 1, %77 ], [ 1, %125 ], [ 0, %127 ], [ 1, %128 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  ret i32 %.13

469:                                              ; preds = %154, %169, %468, %82, %90, %126
  %.pn187.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn120.pn.pn, %126 ], [ %.pn128.pn, %90 ], [ %.pn124, %82 ], [ %.pn187.pn.pn.pn, %468 ], [ %.pn135.pn, %169 ], [ %.pn132.pn, %154 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn187.pn.pn.pn.pn.pn
}

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_ZN4sptk13SetBinaryModeEv() local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4sptk19DistanceCalculation7IsValidEv(ptr noundef nonnull align 8 dereferenceable(17)) 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 @_ZNK4sptk19DistanceCalculation3RunERKSt6vectorIdSaIdEES5_Pd(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #7

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

declare noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation3RunERKSt6vectorIdSaIdEEPNS0_6BufferE(ptr noundef nonnull align 8 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #2

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

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

declare noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation10GetNumDataERKNS0_6BufferEPi(ptr noundef nonnull align 8 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2

declare noundef zeroext i1 @_ZNK4sptk22StatisticsAccumulation7GetMeanERKNS0_6BufferEPSt6vectorIdSaIdEE(ptr noundef nonnull align 8 dereferenceable(19), ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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


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