; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/exec/compute_descriptors_2168ecfe (mainEiPPc)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl" }
%"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@scale_mult = external dso_local global float, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [77 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN22KM_compute_descriptors8lib_mainEiPPc(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 [512 x i8], align 16
  %7 = alloca [512 x i8], align 16
  %8 = alloca [512 x i8], align 16
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca i64, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %30 = alloca %"class.std::vector", align 8
  %31 = alloca %"class.std::vector", align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca [512 x i8], align 16
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca i64, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  %37 = load i32, ptr %4, align 4, !tbaa !5
  %38 = icmp slt i32 %37, 2
  br i1 %38, label %39, label %118

39:                                               ; preds = %2
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str)
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.1)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.2)
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.3)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.4)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.6)
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.7)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %59 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.10)
  %60 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
  %62 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %63 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.12)
  %64 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.13)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.14)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.15)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.16)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.17)
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.18)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.19)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %79 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.20)
  %80 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.21)
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.22)
  %84 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.23)
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.24)
  %88 = load ptr, ptr %5, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %88, i64 0
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef %90)
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef @.str.25)
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %95 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.26)
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.28)
  %100 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.29)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %103 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %104 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.30)
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %106 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %105, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.31)
  %108 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.27)
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %109, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.28)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %113 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.32)
  %114 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %113, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.33)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 -1, ptr %3, align 4
  br label %712

118:                                              ; preds = %2
  call void @llvm.lifetime.start.p0(i64 512, ptr %6) #11
  call void @llvm.lifetime.start.p0(i64 512, ptr %7) #11
  call void @llvm.lifetime.start.p0(i64 512, ptr %8) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  store i32 0, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  store i32 2, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  store i32 0, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  store i32 0, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #11
  store i32 255, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  store i32 1, ptr %14, align 4, !tbaa !5
  br label %119

119:                                              ; preds = %196, %118
  %120 = load i32, ptr %14, align 4, !tbaa !5
  %121 = load i32, ptr %4, align 4, !tbaa !5
  %122 = icmp slt i32 %120, %121
  br i1 %122, label %124, label %123

123:                                              ; preds = %119
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  br label %199

124:                                              ; preds = %119
  %125 = load ptr, ptr %5, align 8, !tbaa !9
  %126 = load i32, ptr %14, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds ptr, ptr %125, i64 %127
  %129 = load ptr, ptr %128, align 8, !tbaa !9
  %130 = call i32 @strcmp(ptr noundef %129, ptr noundef @.str.34) #12
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %141, label %132

132:                                              ; preds = %124
  store i32 1, ptr %9, align 4, !tbaa !5
  %133 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
  %134 = load ptr, ptr %5, align 8, !tbaa !9
  %135 = load i32, ptr %14, align 4, !tbaa !5
  %136 = add nsw i32 %135, 1
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds ptr, ptr %134, i64 %137
  %139 = load ptr, ptr %138, align 8, !tbaa !9
  %140 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %133, ptr noundef %139) #11
  br label %195

141:                                              ; preds = %124
  %142 = load ptr, ptr %5, align 8, !tbaa !9
  %143 = load i32, ptr %14, align 4, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds ptr, ptr %142, i64 %144
  %146 = load ptr, ptr %145, align 8, !tbaa !9
  %147 = call i32 @strcmp(ptr noundef %146, ptr noundef @.str.35) #12
  %148 = icmp ne i32 %147, 0
  br i1 %148, label %158, label %149

149:                                              ; preds = %141
  store i32 1, ptr %10, align 4, !tbaa !5
  %150 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %151 = load ptr, ptr %5, align 8, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !5
  %153 = add nsw i32 %152, 1
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds ptr, ptr %151, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !9
  %157 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %150, ptr noundef %156) #11
  br label %194

158:                                              ; preds = %141
  %159 = load ptr, ptr %5, align 8, !tbaa !9
  %160 = load i32, ptr %14, align 4, !tbaa !5
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds ptr, ptr %159, i64 %161
  %163 = load ptr, ptr %162, align 8, !tbaa !9
  %164 = call i32 @strcmp(ptr noundef %163, ptr noundef @.str.36) #12
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %175, label %166

166:                                              ; preds = %158
  store i32 0, ptr %10, align 4, !tbaa !5
  %167 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %168 = load ptr, ptr %5, align 8, !tbaa !9
  %169 = load i32, ptr %14, align 4, !tbaa !5
  %170 = add nsw i32 %169, 1
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds ptr, ptr %168, i64 %171
  %173 = load ptr, ptr %172, align 8, !tbaa !9
  %174 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %167, ptr noundef %173) #11
  br label %193

175:                                              ; preds = %158
  %176 = load ptr, ptr %5, align 8, !tbaa !9
  %177 = load i32, ptr %14, align 4, !tbaa !5
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds ptr, ptr %176, i64 %178
  %180 = load ptr, ptr %179, align 8, !tbaa !9
  %181 = call i32 @strcmp(ptr noundef %180, ptr noundef @.str.37) #12
  %182 = icmp ne i32 %181, 0
  br i1 %182, label %192, label %183

183:                                              ; preds = %175
  %184 = load ptr, ptr %5, align 8, !tbaa !9
  %185 = load i32, ptr %14, align 4, !tbaa !5
  %186 = add nsw i32 %185, 1
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds ptr, ptr %184, i64 %187
  %189 = load ptr, ptr %188, align 8, !tbaa !9
  %190 = call double @atof(ptr noundef %189) #12
  %191 = fptrunc double %190 to float
  store float %191, ptr @scale_mult, align 4, !tbaa !11
  br label %192

192:                                              ; preds = %183, %175
  br label %193

193:                                              ; preds = %192, %166
  br label %194

194:                                              ; preds = %193, %149
  br label %195

195:                                              ; preds = %194, %132
  br label %196

196:                                              ; preds = %195
  %197 = load i32, ptr %14, align 4, !tbaa !5
  %198 = add nsw i32 %197, 1
  store i32 %198, ptr %14, align 4, !tbaa !5
  br label %119, !llvm.loop !13

199:                                              ; preds = %123
  %200 = load i32, ptr %9, align 4, !tbaa !5
  %201 = icmp eq i32 %200, 0
  br i1 %201, label %205, label %202

202:                                              ; preds = %199
  %203 = load i32, ptr %10, align 4, !tbaa !5
  %204 = icmp eq i32 %203, 2
  br i1 %204, label %205, label %208

205:                                              ; preds = %202, %199
  %206 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.38)
  %207 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %206, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %15, align 4
  br label %711

208:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #11
  store i32 1, ptr %16, align 4, !tbaa !5
  br label %209

209:                                              ; preds = %268, %208
  %210 = load i32, ptr %16, align 4, !tbaa !5
  %211 = load i32, ptr %4, align 4, !tbaa !5
  %212 = icmp slt i32 %210, %211
  br i1 %212, label %214, label %213

213:                                              ; preds = %209
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #11
  br label %271

214:                                              ; preds = %209
  %215 = load ptr, ptr %5, align 8, !tbaa !9
  %216 = load i32, ptr %16, align 4, !tbaa !5
  %217 = sext i32 %216 to i64
  %218 = getelementptr inbounds ptr, ptr %215, i64 %217
  %219 = load ptr, ptr %218, align 8, !tbaa !9
  %220 = call i32 @strcmp(ptr noundef %219, ptr noundef @.str.39) #12
  %221 = icmp ne i32 %220, 0
  br i1 %221, label %231, label %222

222:                                              ; preds = %214
  store i32 1, ptr %11, align 4, !tbaa !5
  %223 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %224 = load ptr, ptr %5, align 8, !tbaa !9
  %225 = load i32, ptr %16, align 4, !tbaa !5
  %226 = add nsw i32 %225, 1
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds ptr, ptr %224, i64 %227
  %229 = load ptr, ptr %228, align 8, !tbaa !9
  %230 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %223, ptr noundef %229) #11
  br label %267

231:                                              ; preds = %214
  %232 = load ptr, ptr %5, align 8, !tbaa !9
  %233 = load i32, ptr %16, align 4, !tbaa !5
  %234 = sext i32 %233 to i64
  %235 = getelementptr inbounds ptr, ptr %232, i64 %234
  %236 = load ptr, ptr %235, align 8, !tbaa !9
  %237 = call i32 @strcmp(ptr noundef %236, ptr noundef @.str.40) #12
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %248, label %239

239:                                              ; preds = %231
  store i32 2, ptr %11, align 4, !tbaa !5
  %240 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %241 = load ptr, ptr %5, align 8, !tbaa !9
  %242 = load i32, ptr %16, align 4, !tbaa !5
  %243 = add nsw i32 %242, 1
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds ptr, ptr %241, i64 %244
  %246 = load ptr, ptr %245, align 8, !tbaa !9
  %247 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %240, ptr noundef %246) #11
  br label %266

248:                                              ; preds = %231
  %249 = load ptr, ptr %5, align 8, !tbaa !9
  %250 = load i32, ptr %16, align 4, !tbaa !5
  %251 = sext i32 %250 to i64
  %252 = getelementptr inbounds ptr, ptr %249, i64 %251
  %253 = load ptr, ptr %252, align 8, !tbaa !9
  %254 = call i32 @strcmp(ptr noundef %253, ptr noundef @.str.41) #12
  %255 = icmp ne i32 %254, 0
  br i1 %255, label %265, label %256

256:                                              ; preds = %248
  store i32 3, ptr %11, align 4, !tbaa !5
  %257 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %258 = load ptr, ptr %5, align 8, !tbaa !9
  %259 = load i32, ptr %16, align 4, !tbaa !5
  %260 = add nsw i32 %259, 1
  %261 = sext i32 %260 to i64
  %262 = getelementptr inbounds ptr, ptr %258, i64 %261
  %263 = load ptr, ptr %262, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %257, ptr noundef %263) #11
  br label %265

265:                                              ; preds = %256, %248
  br label %266

266:                                              ; preds = %265, %239
  br label %267

267:                                              ; preds = %266, %222
  br label %268

268:                                              ; preds = %267
  %269 = load i32, ptr %16, align 4, !tbaa !5
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %16, align 4, !tbaa !5
  br label %209, !llvm.loop !15

271:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %272 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #13
  %273 = getelementptr inbounds [512 x i8], ptr %6, i64 0, i64 0
  invoke void @_ZN12ImageContentC1EPKc(ptr noundef nonnull align 8 dereferenceable(80) %272, ptr noundef %273)
          to label %274 unwind label %285

274:                                              ; preds = %271
  store ptr %272, ptr %17, align 8, !tbaa !9
  %275 = load ptr, ptr %17, align 8, !tbaa !9
  call void @_ZN12ImageContent6toGRAYEv(ptr noundef nonnull align 8 dereferenceable(80) %275)
  %276 = load ptr, ptr %17, align 8, !tbaa !9
  call void @_ZN12ImageContent10char2floatEv(ptr noundef nonnull align 8 dereferenceable(80) %276)
  call void @llvm.lifetime.start.p0(i64 24, ptr %20) #11
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  %277 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %278 = load i32, ptr %10, align 4, !tbaa !5
  invoke void @_Z11loadCornersPKcRSt6vectorIP16CornerDescriptorSaIS3_EEi(ptr noundef %277, ptr noundef nonnull align 8 dereferenceable(24) %20, i32 noundef %278)
          to label %279 unwind label %289

279:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #11
  store i32 1, ptr %21, align 4, !tbaa !5
  br label %280

280:                                              ; preds = %323, %279
  %281 = load i32, ptr %21, align 4, !tbaa !5
  %282 = load i32, ptr %4, align 4, !tbaa !5
  %283 = icmp slt i32 %281, %282
  br i1 %283, label %293, label %284

284:                                              ; preds = %280
  store i32 8, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %326

285:                                              ; preds = %271
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %18, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %19, align 4
  call void @_ZdlPvm(ptr noundef %272, i64 noundef 80) #14
  br label %710

289:                                              ; preds = %274
  %290 = landingpad { ptr, i32 }
          cleanup
  %291 = extractvalue { ptr, i32 } %290, 0
  store ptr %291, ptr %18, align 8
  %292 = extractvalue { ptr, i32 } %290, 1
  store i32 %292, ptr %19, align 4
  br label %709

293:                                              ; preds = %280
  %294 = load ptr, ptr %5, align 8, !tbaa !9
  %295 = load i32, ptr %21, align 4, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds ptr, ptr %294, i64 %296
  %298 = load ptr, ptr %297, align 8, !tbaa !9
  %299 = call i32 @strcmp(ptr noundef %298, ptr noundef @.str.42) #12
  %300 = icmp ne i32 %299, 0
  br i1 %300, label %322, label %301

301:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #11
  store i32 0, ptr %22, align 4, !tbaa !5
  br label %302

302:                                              ; preds = %314, %301
  %303 = load i32, ptr %22, align 4, !tbaa !5
  %304 = zext i32 %303 to i64
  %305 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  %306 = icmp ult i64 %304, %305
  br i1 %306, label %308, label %307

307:                                              ; preds = %302
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #11
  br label %321

308:                                              ; preds = %302
  %309 = load i32, ptr %22, align 4, !tbaa !5
  %310 = zext i32 %309 to i64
  %311 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %310) #11
  %312 = load ptr, ptr %311, align 8, !tbaa !9
  invoke void @_ZN6Corner8setAngleEf(ptr noundef nonnull align 4 dereferenceable(88) %312, float noundef 0.000000e+00)
          to label %313 unwind label %317

313:                                              ; preds = %308
  br label %314

314:                                              ; preds = %313
  %315 = load i32, ptr %22, align 4, !tbaa !5
  %316 = add i32 %315, 1
  store i32 %316, ptr %22, align 4, !tbaa !5
  br label %302, !llvm.loop !16

317:                                              ; preds = %308
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %18, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #11
  br label %709

321:                                              ; preds = %307
  br label %322

322:                                              ; preds = %321, %293
  br label %323

323:                                              ; preds = %322
  %324 = load i32, ptr %21, align 4, !tbaa !5
  %325 = add nsw i32 %324, 1
  store i32 %325, ptr %21, align 4, !tbaa !5
  br label %280, !llvm.loop !17

326:                                              ; preds = %284
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #11
  invoke void @_Z9init_timePl(ptr noundef %23)
          to label %327 unwind label %333

327:                                              ; preds = %326
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #11
  store i32 1, ptr %24, align 4, !tbaa !5
  br label %328

328:                                              ; preds = %558, %327
  %329 = load i32, ptr %24, align 4, !tbaa !5
  %330 = load i32, ptr %4, align 4, !tbaa !5
  %331 = icmp slt i32 %329, %330
  br i1 %331, label %337, label %332

332:                                              ; preds = %328
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %561

333:                                              ; preds = %647, %636, %625, %614, %326
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %18, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %19, align 4
  br label %708

337:                                              ; preds = %328
  %338 = load ptr, ptr %5, align 8, !tbaa !9
  %339 = load i32, ptr %24, align 4, !tbaa !5
  %340 = sext i32 %339 to i64
  %341 = getelementptr inbounds ptr, ptr %338, i64 %340
  %342 = load ptr, ptr %341, align 8, !tbaa !9
  %343 = call i32 @strcmp(ptr noundef %342, ptr noundef @.str.43) #12
  %344 = icmp ne i32 %343, 0
  br i1 %344, label %359, label %345

345:                                              ; preds = %337
  %346 = load i32, ptr %11, align 4, !tbaa !5
  %347 = icmp ne i32 %346, 0
  br i1 %347, label %352, label %348

348:                                              ; preds = %345
  %349 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %350 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %351 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %349, ptr noundef @.str.44, ptr noundef %350) #11
  br label %352

352:                                              ; preds = %348, %345
  %353 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z21computeJLADescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %353, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %354 unwind label %355

354:                                              ; preds = %352
  br label %557

355:                                              ; preds = %518, %500, %482, %464, %446, %428, %410, %392, %374, %352
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %18, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #11
  br label %708

359:                                              ; preds = %337
  %360 = load ptr, ptr %5, align 8, !tbaa !9
  %361 = load i32, ptr %24, align 4, !tbaa !5
  %362 = sext i32 %361 to i64
  %363 = getelementptr inbounds ptr, ptr %360, i64 %362
  %364 = load ptr, ptr %363, align 8, !tbaa !9
  %365 = call i32 @strcmp(ptr noundef %364, ptr noundef @.str.45) #12
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %377, label %367

367:                                              ; preds = %359
  %368 = load i32, ptr %11, align 4, !tbaa !5
  %369 = icmp ne i32 %368, 0
  br i1 %369, label %374, label %370

370:                                              ; preds = %367
  %371 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %372 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %373 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %371, ptr noundef @.str.46, ptr noundef %372) #11
  br label %374

374:                                              ; preds = %370, %367
  %375 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z22computeSiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %375, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %376 unwind label %355

376:                                              ; preds = %374
  br label %556

377:                                              ; preds = %359
  %378 = load ptr, ptr %5, align 8, !tbaa !9
  %379 = load i32, ptr %24, align 4, !tbaa !5
  %380 = sext i32 %379 to i64
  %381 = getelementptr inbounds ptr, ptr %378, i64 %380
  %382 = load ptr, ptr %381, align 8, !tbaa !9
  %383 = call i32 @strcmp(ptr noundef %382, ptr noundef @.str.47) #12
  %384 = icmp ne i32 %383, 0
  br i1 %384, label %395, label %385

385:                                              ; preds = %377
  %386 = load i32, ptr %11, align 4, !tbaa !5
  %387 = icmp ne i32 %386, 0
  br i1 %387, label %392, label %388

388:                                              ; preds = %385
  %389 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %390 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %391 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %389, ptr noundef @.str.48, ptr noundef %390) #11
  br label %392

392:                                              ; preds = %388, %385
  %393 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z23computeESiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %393, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %394 unwind label %355

394:                                              ; preds = %392
  br label %555

395:                                              ; preds = %377
  %396 = load ptr, ptr %5, align 8, !tbaa !9
  %397 = load i32, ptr %24, align 4, !tbaa !5
  %398 = sext i32 %397 to i64
  %399 = getelementptr inbounds ptr, ptr %396, i64 %398
  %400 = load ptr, ptr %399, align 8, !tbaa !9
  %401 = call i32 @strcmp(ptr noundef %400, ptr noundef @.str.49) #12
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %413, label %403

403:                                              ; preds = %395
  %404 = load i32, ptr %11, align 4, !tbaa !5
  %405 = icmp ne i32 %404, 0
  br i1 %405, label %410, label %406

406:                                              ; preds = %403
  %407 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %408 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %409 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %407, ptr noundef @.str.50, ptr noundef %408) #11
  br label %410

410:                                              ; preds = %406, %403
  %411 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z20computeCCDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %411, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %412 unwind label %355

412:                                              ; preds = %410
  br label %554

413:                                              ; preds = %395
  %414 = load ptr, ptr %5, align 8, !tbaa !9
  %415 = load i32, ptr %24, align 4, !tbaa !5
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds ptr, ptr %414, i64 %416
  %418 = load ptr, ptr %417, align 8, !tbaa !9
  %419 = call i32 @strcmp(ptr noundef %418, ptr noundef @.str.51) #12
  %420 = icmp ne i32 %419, 0
  br i1 %420, label %431, label %421

421:                                              ; preds = %413
  %422 = load i32, ptr %11, align 4, !tbaa !5
  %423 = icmp ne i32 %422, 0
  br i1 %423, label %428, label %424

424:                                              ; preds = %421
  %425 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %426 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %427 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %425, ptr noundef @.str.52, ptr noundef %426) #11
  br label %428

428:                                              ; preds = %424, %421
  %429 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z24computeMomentDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %429, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %430 unwind label %355

430:                                              ; preds = %428
  br label %553

431:                                              ; preds = %413
  %432 = load ptr, ptr %5, align 8, !tbaa !9
  %433 = load i32, ptr %24, align 4, !tbaa !5
  %434 = sext i32 %433 to i64
  %435 = getelementptr inbounds ptr, ptr %432, i64 %434
  %436 = load ptr, ptr %435, align 8, !tbaa !9
  %437 = call i32 @strcmp(ptr noundef %436, ptr noundef @.str.53) #12
  %438 = icmp ne i32 %437, 0
  br i1 %438, label %449, label %439

439:                                              ; preds = %431
  %440 = load i32, ptr %11, align 4, !tbaa !5
  %441 = icmp ne i32 %440, 0
  br i1 %441, label %446, label %442

442:                                              ; preds = %439
  %443 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %444 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %445 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %443, ptr noundef @.str.54, ptr noundef %444) #11
  br label %446

446:                                              ; preds = %442, %439
  %447 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z22computeKoenDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %447, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %448 unwind label %355

448:                                              ; preds = %446
  br label %552

449:                                              ; preds = %431
  %450 = load ptr, ptr %5, align 8, !tbaa !9
  %451 = load i32, ptr %24, align 4, !tbaa !5
  %452 = sext i32 %451 to i64
  %453 = getelementptr inbounds ptr, ptr %450, i64 %452
  %454 = load ptr, ptr %453, align 8, !tbaa !9
  %455 = call i32 @strcmp(ptr noundef %454, ptr noundef @.str.55) #12
  %456 = icmp ne i32 %455, 0
  br i1 %456, label %467, label %457

457:                                              ; preds = %449
  %458 = load i32, ptr %11, align 4, !tbaa !5
  %459 = icmp ne i32 %458, 0
  br i1 %459, label %464, label %460

460:                                              ; preds = %457
  %461 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %462 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %463 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %461, ptr noundef @.str.56, ptr noundef %462) #11
  br label %464

464:                                              ; preds = %460, %457
  %465 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z20computeCGDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %465, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %466 unwind label %355

466:                                              ; preds = %464
  br label %551

467:                                              ; preds = %449
  %468 = load ptr, ptr %5, align 8, !tbaa !9
  %469 = load i32, ptr %24, align 4, !tbaa !5
  %470 = sext i32 %469 to i64
  %471 = getelementptr inbounds ptr, ptr %468, i64 %470
  %472 = load ptr, ptr %471, align 8, !tbaa !9
  %473 = call i32 @strcmp(ptr noundef %472, ptr noundef @.str.57) #12
  %474 = icmp ne i32 %473, 0
  br i1 %474, label %485, label %475

475:                                              ; preds = %467
  %476 = load i32, ptr %11, align 4, !tbaa !5
  %477 = icmp ne i32 %476, 0
  br i1 %477, label %482, label %478

478:                                              ; preds = %475
  %479 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %480 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %481 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %479, ptr noundef @.str.58, ptr noundef %480) #11
  br label %482

482:                                              ; preds = %478, %475
  %483 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z23computeShapeDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %483, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %484 unwind label %355

484:                                              ; preds = %482
  br label %550

485:                                              ; preds = %467
  %486 = load ptr, ptr %5, align 8, !tbaa !9
  %487 = load i32, ptr %24, align 4, !tbaa !5
  %488 = sext i32 %487 to i64
  %489 = getelementptr inbounds ptr, ptr %486, i64 %488
  %490 = load ptr, ptr %489, align 8, !tbaa !9
  %491 = call i32 @strcmp(ptr noundef %490, ptr noundef @.str.59) #12
  %492 = icmp ne i32 %491, 0
  br i1 %492, label %503, label %493

493:                                              ; preds = %485
  %494 = load i32, ptr %11, align 4, !tbaa !5
  %495 = icmp ne i32 %494, 0
  br i1 %495, label %500, label %496

496:                                              ; preds = %493
  %497 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %498 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %499 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %497, ptr noundef @.str.60, ptr noundef %498) #11
  br label %500

500:                                              ; preds = %496, %493
  %501 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z22computeSpinDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %501, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %502 unwind label %355

502:                                              ; preds = %500
  br label %549

503:                                              ; preds = %485
  %504 = load ptr, ptr %5, align 8, !tbaa !9
  %505 = load i32, ptr %24, align 4, !tbaa !5
  %506 = sext i32 %505 to i64
  %507 = getelementptr inbounds ptr, ptr %504, i64 %506
  %508 = load ptr, ptr %507, align 8, !tbaa !9
  %509 = call i32 @strcmp(ptr noundef %508, ptr noundef @.str.61) #12
  %510 = icmp ne i32 %509, 0
  br i1 %510, label %521, label %511

511:                                              ; preds = %503
  %512 = load i32, ptr %11, align 4, !tbaa !5
  %513 = icmp ne i32 %512, 0
  br i1 %513, label %518, label %514

514:                                              ; preds = %511
  %515 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %516 = getelementptr inbounds [512 x i8], ptr %7, i64 0, i64 0
  %517 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %515, ptr noundef @.str.62, ptr noundef %516) #11
  br label %518

518:                                              ; preds = %514, %511
  %519 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_Z21computePcaDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef %519, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %520 unwind label %355

520:                                              ; preds = %518
  br label %548

521:                                              ; preds = %503
  %522 = load ptr, ptr %5, align 8, !tbaa !9
  %523 = load i32, ptr %24, align 4, !tbaa !5
  %524 = sext i32 %523 to i64
  %525 = getelementptr inbounds ptr, ptr %522, i64 %524
  %526 = load ptr, ptr %525, align 8, !tbaa !9
  %527 = call i32 @strcmp(ptr noundef %526, ptr noundef @.str.63) #12
  %528 = icmp ne i32 %527, 0
  br i1 %528, label %530, label %529

529:                                              ; preds = %521
  store i32 1, ptr %12, align 4, !tbaa !5
  br label %547

530:                                              ; preds = %521
  %531 = load ptr, ptr %5, align 8, !tbaa !9
  %532 = load i32, ptr %24, align 4, !tbaa !5
  %533 = sext i32 %532 to i64
  %534 = getelementptr inbounds ptr, ptr %531, i64 %533
  %535 = load ptr, ptr %534, align 8, !tbaa !9
  %536 = call i32 @strcmp(ptr noundef %535, ptr noundef @.str.64) #12
  %537 = icmp ne i32 %536, 0
  br i1 %537, label %546, label %538

538:                                              ; preds = %530
  %539 = load ptr, ptr %5, align 8, !tbaa !9
  %540 = load i32, ptr %24, align 4, !tbaa !5
  %541 = add nsw i32 %540, 1
  %542 = sext i32 %541 to i64
  %543 = getelementptr inbounds ptr, ptr %539, i64 %542
  %544 = load ptr, ptr %543, align 8, !tbaa !9
  %545 = call i32 @atoi(ptr noundef %544) #12
  store i32 %545, ptr %13, align 4, !tbaa !5
  br label %546

546:                                              ; preds = %538, %530
  br label %547

547:                                              ; preds = %546, %529
  br label %548

548:                                              ; preds = %547, %520
  br label %549

549:                                              ; preds = %548, %502
  br label %550

550:                                              ; preds = %549, %484
  br label %551

551:                                              ; preds = %550, %466
  br label %552

552:                                              ; preds = %551, %448
  br label %553

553:                                              ; preds = %552, %430
  br label %554

554:                                              ; preds = %553, %412
  br label %555

555:                                              ; preds = %554, %394
  br label %556

556:                                              ; preds = %555, %376
  br label %557

557:                                              ; preds = %556, %354
  br label %558

558:                                              ; preds = %557
  %559 = load i32, ptr %24, align 4, !tbaa !5
  %560 = add nsw i32 %559, 1
  store i32 %560, ptr %24, align 4, !tbaa !5
  br label %328, !llvm.loop !18

561:                                              ; preds = %332
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #11
  store i64 0, ptr %25, align 8, !tbaa !19
  br label %562

562:                                              ; preds = %609, %561
  %563 = load i64, ptr %25, align 8, !tbaa !19
  %564 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  %565 = icmp ult i64 %563, %564
  br i1 %565, label %567, label %566

566:                                              ; preds = %562
  store i32 17, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  br label %611

567:                                              ; preds = %562
  %568 = load i64, ptr %25, align 8, !tbaa !19
  %569 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %568) #11
  %570 = load ptr, ptr %569, align 8, !tbaa !9
  %571 = load ptr, ptr %17, align 8, !tbaa !9
  %572 = invoke noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %571)
          to label %573 unwind label %598

573:                                              ; preds = %567
  %574 = uitofp i32 %572 to float
  %575 = load ptr, ptr %17, align 8, !tbaa !9
  %576 = invoke noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %575)
          to label %577 unwind label %598

577:                                              ; preds = %573
  %578 = uitofp i32 %576 to float
  %579 = invoke noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr noundef nonnull align 8 dereferenceable(116) %570, float noundef 0.000000e+00, float noundef %574, float noundef 0.000000e+00, float noundef %578)
          to label %580 unwind label %598

580:                                              ; preds = %577
  br i1 %579, label %606, label %581

581:                                              ; preds = %580
  %582 = load i64, ptr %25, align 8, !tbaa !19
  %583 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %582) #11
  %584 = load ptr, ptr %583, align 8, !tbaa !9
  %585 = icmp eq ptr %584, null
  br i1 %585, label %587, label %586

586:                                              ; preds = %581
  call void @_ZN16CornerDescriptorD2Ev(ptr noundef nonnull align 8 dereferenceable(116) %584) #11
  call void @_ZdlPvm(ptr noundef %584, i64 noundef 120) #14
  br label %587

587:                                              ; preds = %586, %581
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %588 = call ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  %589 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %28, i32 0, i32 0
  store ptr %588, ptr %589, align 8
  %590 = load i64, ptr %25, align 8, !tbaa !19
  %591 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP16CornerDescriptorSt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %28, i64 noundef %590) #11
  %592 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %591, ptr %592, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP16CornerDescriptorSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #11
  %593 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.0", ptr %26, i32 0, i32 0
  %594 = load ptr, ptr %593, align 8
  %595 = invoke ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr %594)
          to label %596 unwind label %602

596:                                              ; preds = %587
  %597 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %29, i32 0, i32 0
  store ptr %595, ptr %597, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %609

598:                                              ; preds = %577, %573, %567
  %599 = landingpad { ptr, i32 }
          cleanup
  %600 = extractvalue { ptr, i32 } %599, 0
  store ptr %600, ptr %18, align 8
  %601 = extractvalue { ptr, i32 } %599, 1
  store i32 %601, ptr %19, align 4
  br label %610

602:                                              ; preds = %587
  %603 = landingpad { ptr, i32 }
          cleanup
  %604 = extractvalue { ptr, i32 } %603, 0
  store ptr %604, ptr %18, align 8
  %605 = extractvalue { ptr, i32 } %603, 1
  store i32 %605, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %610

606:                                              ; preds = %580
  %607 = load i64, ptr %25, align 8, !tbaa !19
  %608 = add i64 %607, 1
  store i64 %608, ptr %25, align 8, !tbaa !19
  br label %609

609:                                              ; preds = %606, %596
  br label %562, !llvm.loop !21

610:                                              ; preds = %602, %598
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #11
  br label %708

611:                                              ; preds = %566
  %612 = load i32, ptr %11, align 4, !tbaa !5
  %613 = icmp eq i32 %612, 0
  br i1 %613, label %614, label %622

614:                                              ; preds = %611
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %615 unwind label %333

615:                                              ; preds = %614
  %616 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef %30, ptr noundef %616, i32 noundef 1)
          to label %617 unwind label %618

617:                                              ; preds = %615
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #11
  br label %658

618:                                              ; preds = %615
  %619 = landingpad { ptr, i32 }
          cleanup
  %620 = extractvalue { ptr, i32 } %619, 0
  store ptr %620, ptr %18, align 8
  %621 = extractvalue { ptr, i32 } %619, 1
  store i32 %621, ptr %19, align 4
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #11
  br label %708

622:                                              ; preds = %611
  %623 = load i32, ptr %11, align 4, !tbaa !5
  %624 = icmp eq i32 %623, 1
  br i1 %624, label %625, label %633

625:                                              ; preds = %622
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %626 unwind label %333

626:                                              ; preds = %625
  %627 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef %31, ptr noundef %627, i32 noundef 1)
          to label %628 unwind label %629

628:                                              ; preds = %626
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #11
  br label %657

629:                                              ; preds = %626
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %18, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %19, align 4
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #11
  br label %708

633:                                              ; preds = %622
  %634 = load i32, ptr %11, align 4, !tbaa !5
  %635 = icmp eq i32 %634, 2
  br i1 %635, label %636, label %644

636:                                              ; preds = %633
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %637 unwind label %333

637:                                              ; preds = %636
  %638 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef %32, ptr noundef %638, i32 noundef 0)
          to label %639 unwind label %640

639:                                              ; preds = %637
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  br label %656

640:                                              ; preds = %637
  %641 = landingpad { ptr, i32 }
          cleanup
  %642 = extractvalue { ptr, i32 } %641, 0
  store ptr %642, ptr %18, align 8
  %643 = extractvalue { ptr, i32 } %641, 1
  store i32 %643, ptr %19, align 4
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #11
  br label %708

644:                                              ; preds = %633
  %645 = load i32, ptr %11, align 4, !tbaa !5
  %646 = icmp eq i32 %645, 3
  br i1 %646, label %647, label %655

647:                                              ; preds = %644
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %648 unwind label %333

648:                                              ; preds = %647
  %649 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef %33, ptr noundef %649, i32 noundef 2)
          to label %650 unwind label %651

650:                                              ; preds = %648
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  br label %655

651:                                              ; preds = %648
  %652 = landingpad { ptr, i32 }
          cleanup
  %653 = extractvalue { ptr, i32 } %652, 0
  store ptr %653, ptr %18, align 8
  %654 = extractvalue { ptr, i32 } %652, 1
  store i32 %654, ptr %19, align 4
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #11
  br label %708

655:                                              ; preds = %650, %644
  br label %656

656:                                              ; preds = %655, %639
  br label %657

657:                                              ; preds = %656, %628
  br label %658

658:                                              ; preds = %657, %617
  %659 = load i32, ptr %12, align 4, !tbaa !5
  %660 = icmp ne i32 %659, 0
  br i1 %660, label %661, label %687

661:                                              ; preds = %658
  call void @llvm.lifetime.start.p0(i64 512, ptr %34) #11
  %662 = getelementptr inbounds [512 x i8], ptr %34, i64 0, i64 0
  %663 = getelementptr inbounds [512 x i8], ptr %8, i64 0, i64 0
  %664 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %662, ptr noundef @.str.65, ptr noundef %663) #11
  %665 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.66)
          to label %666 unwind label %678

666:                                              ; preds = %661
  %667 = getelementptr inbounds [512 x i8], ptr %34, i64 0, i64 0
  %668 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %665, ptr noundef %667)
          to label %669 unwind label %678

669:                                              ; preds = %666
  %670 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %668, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %671 unwind label %678

671:                                              ; preds = %669
  %672 = load ptr, ptr %17, align 8, !tbaa !9
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %20)
          to label %673 unwind label %678

673:                                              ; preds = %671
  %674 = getelementptr inbounds [512 x i8], ptr %34, i64 0, i64 0
  %675 = load i32, ptr %13, align 4, !tbaa !5
  %676 = sitofp i32 %675 to float
  invoke void @_Z17drawAffineCornersP12ImageContentSt6vectorIP16CornerDescriptorSaIS3_EEPcf(ptr noundef %672, ptr noundef %35, ptr noundef %674, float noundef %676)
          to label %677 unwind label %682

677:                                              ; preds = %673
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %34) #11
  br label %687

678:                                              ; preds = %671, %669, %666, %661
  %679 = landingpad { ptr, i32 }
          cleanup
  %680 = extractvalue { ptr, i32 } %679, 0
  store ptr %680, ptr %18, align 8
  %681 = extractvalue { ptr, i32 } %679, 1
  store i32 %681, ptr %19, align 4
  br label %686

682:                                              ; preds = %673
  %683 = landingpad { ptr, i32 }
          cleanup
  %684 = extractvalue { ptr, i32 } %683, 0
  store ptr %684, ptr %18, align 8
  %685 = extractvalue { ptr, i32 } %683, 1
  store i32 %685, ptr %19, align 4
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #11
  br label %686

686:                                              ; preds = %682, %678
  call void @llvm.lifetime.end.p0(i64 512, ptr %34) #11
  br label %708

687:                                              ; preds = %677, %658
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  store i64 0, ptr %36, align 8, !tbaa !19
  br label %688

688:                                              ; preds = %700, %687
  %689 = load i64, ptr %36, align 8, !tbaa !19
  %690 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  %691 = icmp ult i64 %689, %690
  br i1 %691, label %693, label %692

692:                                              ; preds = %688
  store i32 19, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  br label %703

693:                                              ; preds = %688
  %694 = load i64, ptr %36, align 8, !tbaa !19
  %695 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %694) #11
  %696 = load ptr, ptr %695, align 8, !tbaa !9
  %697 = icmp eq ptr %696, null
  br i1 %697, label %699, label %698

698:                                              ; preds = %693
  call void @_ZN16CornerDescriptorD2Ev(ptr noundef nonnull align 8 dereferenceable(116) %696) #11
  call void @_ZdlPvm(ptr noundef %696, i64 noundef 120) #14
  br label %699

699:                                              ; preds = %698, %693
  br label %700

700:                                              ; preds = %699
  %701 = load i64, ptr %36, align 8, !tbaa !19
  %702 = add i64 %701, 1
  store i64 %702, ptr %36, align 8, !tbaa !19
  br label %688, !llvm.loop !22

703:                                              ; preds = %692
  %704 = load ptr, ptr %17, align 8, !tbaa !9
  %705 = icmp eq ptr %704, null
  br i1 %705, label %707, label %706

706:                                              ; preds = %703
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %704) #11
  call void @_ZdlPvm(ptr noundef %704, i64 noundef 80) #14
  br label %707

707:                                              ; preds = %706, %703
  store i32 0, ptr %3, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  br label %711

708:                                              ; preds = %686, %651, %640, %629, %618, %610, %355, %333
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #11
  br label %709

709:                                              ; preds = %708, %317, %289
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %20) #11
  br label %710

710:                                              ; preds = %709, %285
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #11
  br label %714

711:                                              ; preds = %707, %205
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %8) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %7) #11
  call void @llvm.lifetime.end.p0(i64 512, ptr %6) #11
  br label %712

712:                                              ; preds = %711, %39
  %713 = load i32, ptr %3, align 4
  ret i32 %713

714:                                              ; preds = %710
  %715 = load ptr, ptr %18, align 8
  %716 = load i32, ptr %19, align 4
  %717 = insertvalue { ptr, i32 } poison, ptr %715, 0
  %718 = insertvalue { ptr, i32 } %717, i32 %716, 1
  resume { ptr, i32 } %718
}

; 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) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

; Function Attrs: nounwind willreturn memory(read)
declare i32 @strcmp(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #4

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare double @atof(ptr noundef nonnull) #5

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

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

declare void @_ZN12ImageContentC1EPKc(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef) unnamed_addr #7

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12ImageContent6toGRAYEv(ptr noundef nonnull align 8 dereferenceable(80)) #7

declare void @_ZN12ImageContent10char2floatEv(ptr noundef nonnull align 8 dereferenceable(80)) #7

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

declare void @_Z11loadCornersPKcRSt6vectorIP16CornerDescriptorSaIS3_EEi(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner8setAngleEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) #10 align 2

declare void @_Z9init_timePl(ptr noundef) #7

declare void @_Z21computeJLADescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z22computeSiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z23computeESiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z20computeCCDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z24computeMomentDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z22computeKoenDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z20computeCGDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z23computeShapeDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z22computeSpinDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

declare void @_Z21computePcaDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) #7

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

declare noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr noundef nonnull align 8 dereferenceable(116), float noundef, float noundef, float noundef, float noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) #10 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) #10 align 2

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

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

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

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

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

declare void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef, ptr noundef, i32 noundef) #7

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

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

declare void @_Z17drawAffineCornersP12ImageContentSt6vectorIP16CornerDescriptorSaIS3_EEPcf(ptr noundef, ptr noundef, ptr noundef, float noundef) #7

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #4

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind willreturn memory(read) "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 = { 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 #5 = { inlinehint mustprogress nounwind willreturn memory(read) 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { 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 #11 = { nounwind }
attributes #12 = { nounwind willreturn memory(read) }
attributes #13 = { builtin allocsize(0) }
attributes #14 = { builtin 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 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = !{!20, !20, i64 0}
!20 = !{!"long", !7, i64 0}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !14}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl" }
%"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl" = type { %"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<CornerDescriptor *, std::allocator<CornerDescriptor *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.0" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@scale_mult = external dso_local local_unnamed_addr global float, align 4
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [77 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [51 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [70 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [118 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [83 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.40 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.41 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.42 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.43 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.44 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.45 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.46 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.47 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.48 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.50 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.51 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.52 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.53 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.54 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.55 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.56 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.57 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.58 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.59 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.60 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.61 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.62 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.63 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.65 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 -1, 1) i32 @_ZN22KM_compute_descriptors8lib_mainEiPPc(i32 noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca [512 x i8], align 16
  %4 = alloca [512 x i8], align 16
  %5 = alloca [512 x i8], align 16
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.0", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca [512 x i8], align 16
  %16 = alloca %"class.std::vector", align 8
  %17 = icmp slt i32 %0, 2
  br i1 %17, label %18, label %95

18:                                               ; preds = %2
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str)
  %20 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.1)
  %21 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %22 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.2)
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %24 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.3)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.4)
  %27 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %28 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %30 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.6)
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.7)
  %33 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %36 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
  %37 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.10)
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %42 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.12)
  %43 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %44 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.13)
  %45 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %44, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.14)
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.15)
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.16)
  %51 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %52 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.17)
  %53 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.18)
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %56 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.19)
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %58 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.20)
  %59 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %60 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.21)
  %61 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %62 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.22)
  %63 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %64 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.23)
  %65 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %66 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.24)
  %67 = load ptr, ptr %1, align 8, !tbaa !5
  %68 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef %67)
  %69 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull @.str.25)
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %71 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %72 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.26)
  %73 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %74 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.27)
  %75 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %76 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.28)
  %77 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %78 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.29)
  %79 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %80 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %79, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %81 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.30)
  %82 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %83 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %84 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.31)
  %85 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %86 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.27)
  %87 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %88 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.28)
  %89 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %90 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.32)
  %91 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %92 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  %93 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.33)
  %94 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %309

95:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %3) #13
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %4) #13
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %5) #13
  %wide.trip.count = zext nneg i32 %0 to i64
  br label %99

96:                                               ; preds = %126
  %97 = icmp eq i32 %.1133, 0
  %98 = icmp eq i32 %.1143, 2
  %or.cond = select i1 %97, i1 true, i1 %98
  br i1 %or.cond, label %127, label %.lr.ph

99:                                               ; preds = %95, %126
  %indvars.iv = phi i64 [ 1, %95 ], [ %indvars.iv.next, %126 ]
  %.0132193 = phi i32 [ 0, %95 ], [ %.1133, %126 ]
  %.0142191 = phi i32 [ 2, %95 ], [ %.1143, %126 ]
  %100 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
  %101 = load ptr, ptr %100, align 8, !tbaa !5
  %102 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %101, ptr noundef nonnull dereferenceable(1) @.str.34) #14
  %.not181 = icmp eq i32 %102, 0
  br i1 %.not181, label %103, label %107

103:                                              ; preds = %99
  %104 = getelementptr inbounds i8, ptr %100, i64 8
  %105 = load ptr, ptr %104, align 8, !tbaa !5
  %106 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %3, ptr noundef nonnull dereferenceable(1) %105) #13
  br label %126

107:                                              ; preds = %99
  %108 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %101, ptr noundef nonnull dereferenceable(1) @.str.35) #14
  %.not182 = icmp eq i32 %108, 0
  br i1 %.not182, label %109, label %113

109:                                              ; preds = %107
  %110 = getelementptr inbounds i8, ptr %100, i64 8
  %111 = load ptr, ptr %110, align 8, !tbaa !5
  %112 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %111) #13
  br label %126

113:                                              ; preds = %107
  %114 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %101, ptr noundef nonnull dereferenceable(1) @.str.36) #14
  %.not183 = icmp eq i32 %114, 0
  br i1 %.not183, label %115, label %119

115:                                              ; preds = %113
  %116 = getelementptr inbounds i8, ptr %100, i64 8
  %117 = load ptr, ptr %116, align 8, !tbaa !5
  %118 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %4, ptr noundef nonnull dereferenceable(1) %117) #13
  br label %126

119:                                              ; preds = %113
  %120 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %101, ptr noundef nonnull dereferenceable(1) @.str.37) #14
  %.not184 = icmp eq i32 %120, 0
  br i1 %.not184, label %121, label %126

121:                                              ; preds = %119
  %122 = getelementptr inbounds i8, ptr %100, i64 8
  %123 = load ptr, ptr %122, align 8, !tbaa !5
  %124 = tail call double @atof(ptr noundef %123) #14
  %125 = fptrunc double %124 to float
  store float %125, ptr @scale_mult, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %103, %115, %121, %119, %109
  %.1143 = phi i32 [ %.0142191, %119 ], [ %.0142191, %121 ], [ 0, %115 ], [ 1, %109 ], [ %.0142191, %103 ]
  %.1133 = phi i32 [ %.0132193, %119 ], [ %.0132193, %121 ], [ %.0132193, %115 ], [ %.0132193, %109 ], [ 1, %103 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %96, label %99, !llvm.loop !11

127:                                              ; preds = %96
  %128 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.38)
  %129 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %128, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %308

._crit_edge:                                      ; preds = %141
  %130 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #15
  invoke void @_ZN12ImageContentC1EPKc(ptr noundef nonnull align 8 dereferenceable(80) %130, ptr noundef nonnull %3)
          to label %142 unwind label %143

.lr.ph:                                           ; preds = %96, %141
  %indvars.iv218 = phi i64 [ %indvars.iv.next219, %141 ], [ 1, %96 ]
  %.0140194 = phi i32 [ %.1141, %141 ], [ 0, %96 ]
  %131 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv218
  %132 = load ptr, ptr %131, align 8, !tbaa !5
  %133 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %132, ptr noundef nonnull dereferenceable(1) @.str.39) #14
  %.not178 = icmp eq i32 %133, 0
  br i1 %.not178, label %.sink.split, label %134

134:                                              ; preds = %.lr.ph
  %135 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %132, ptr noundef nonnull dereferenceable(1) @.str.40) #14
  %.not179 = icmp eq i32 %135, 0
  br i1 %.not179, label %.sink.split, label %136

136:                                              ; preds = %134
  %137 = tail call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %132, ptr noundef nonnull dereferenceable(1) @.str.41) #14
  %.not180 = icmp eq i32 %137, 0
  br i1 %.not180, label %.sink.split, label %141

.sink.split:                                      ; preds = %136, %134, %.lr.ph
  %.1141.ph = phi i32 [ 1, %.lr.ph ], [ 2, %134 ], [ 3, %136 ]
  %138 = getelementptr inbounds i8, ptr %131, i64 8
  %139 = load ptr, ptr %138, align 8, !tbaa !5
  %140 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) %139) #13
  br label %141

141:                                              ; preds = %.sink.split, %136
  %.1141 = phi i32 [ %.0140194, %136 ], [ %.1141.ph, %.sink.split ]
  %indvars.iv.next219 = add nuw nsw i64 %indvars.iv218, 1
  %exitcond222.not = icmp eq i64 %indvars.iv.next219, %wide.trip.count
  br i1 %exitcond222.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

142:                                              ; preds = %._crit_edge
  call void @_ZN12ImageContent6toGRAYEv(ptr noundef nonnull align 8 dereferenceable(80) %130)
  call void @_ZN12ImageContent10char2floatEv(ptr noundef nonnull align 8 dereferenceable(80) %130)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #13
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  invoke void @_Z11loadCornersPKcRSt6vectorIP16CornerDescriptorSaIS3_EEi(ptr noundef nonnull %4, ptr noundef nonnull align 8 dereferenceable(24) %6, i32 noundef %.1143)
          to label %.lr.ph199.preheader unwind label %145

.lr.ph199.preheader:                              ; preds = %142
  %smax = call i32 @llvm.smax.i32(i32 %0, i32 2)
  %wide.trip.count226 = zext nneg i32 %smax to i64
  br label %.lr.ph199

._crit_edge200:                                   ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #13
  invoke void @_Z9init_timePl(ptr noundef nonnull %7)
          to label %.lr.ph204 unwind label %159

.lr.ph204:                                        ; preds = %._crit_edge200
  %.not170 = icmp eq i32 %.1141, 0
  %smax231 = call i32 @llvm.smax.i32(i32 %0, i32 2)
  %wide.trip.count232 = zext nneg i32 %smax231 to i64
  br label %161

143:                                              ; preds = %._crit_edge
  %144 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %130, i64 noundef 80) #16
  br label %307

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

.lr.ph199:                                        ; preds = %.lr.ph199.preheader, %.loopexit
  %indvars.iv223 = phi i64 [ 1, %.lr.ph199.preheader ], [ %indvars.iv.next224, %.loopexit ]
  %147 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv223
  %148 = load ptr, ptr %147, align 8, !tbaa !5
  %149 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %148, ptr noundef nonnull dereferenceable(1) @.str.42) #14
  %.not177 = icmp eq i32 %149, 0
  br i1 %.not177, label %.preheader186, label %.loopexit

.preheader186:                                    ; preds = %.lr.ph199
  %150 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %.not214 = icmp eq i64 %150, 0
  br i1 %.not214, label %.loopexit, label %.lr.ph197

.lr.ph197:                                        ; preds = %.preheader186, %.lr.ph197
  %151 = phi i64 [ %155, %.lr.ph197 ], [ 0, %.preheader186 ]
  %.0123196 = phi i32 [ %154, %.lr.ph197 ], [ 0, %.preheader186 ]
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %151) #13
  %153 = load ptr, ptr %152, align 8, !tbaa !5
  call void @_ZN6Corner8setAngleEf(ptr noundef nonnull align 4 dereferenceable(88) %153, float noundef 0.000000e+00)
  %154 = add i32 %.0123196, 1
  %155 = zext i32 %154 to i64
  %156 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %157 = icmp ugt i64 %156, %155
  br i1 %157, label %.lr.ph197, label %.loopexit, !llvm.loop !14

.loopexit:                                        ; preds = %.lr.ph197, %.preheader186, %.lr.ph199
  %indvars.iv.next224 = add nuw nsw i64 %indvars.iv223, 1
  %exitcond227.not = icmp eq i64 %indvars.iv.next224, %wide.trip.count226
  br i1 %exitcond227.not, label %._crit_edge200, label %.lr.ph199, !llvm.loop !15

.preheader:                                       ; preds = %233
  %158 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %.not215 = icmp eq i64 %158, 0
  br i1 %.not215, label %._crit_edge209, label %.lr.ph208

159:                                              ; preds = %274, %270, %266, %262, %._crit_edge200
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %305

161:                                              ; preds = %.lr.ph204, %233
  %indvars.iv228 = phi i64 [ 1, %.lr.ph204 ], [ %indvars.iv.next229, %233 ]
  %.0136202 = phi i32 [ 255, %.lr.ph204 ], [ %.1137, %233 ]
  %.0138201 = phi i32 [ 0, %.lr.ph204 ], [ %.1139, %233 ]
  %162 = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv228
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  %164 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.43) #14
  %.not151 = icmp eq i32 %164, 0
  br i1 %.not151, label %165, label %171

165:                                              ; preds = %161
  br i1 %.not170, label %166, label %168

166:                                              ; preds = %165
  %167 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.44, ptr noundef nonnull %4) #13
  br label %168

168:                                              ; preds = %166, %165
  invoke void @_Z21computeJLADescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

169:                                              ; preds = %224, %218, %212, %206, %200, %194, %188, %182, %176, %168
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %305

171:                                              ; preds = %161
  %172 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.45) #14
  %.not153 = icmp eq i32 %172, 0
  br i1 %.not153, label %173, label %177

173:                                              ; preds = %171
  br i1 %.not170, label %174, label %176

174:                                              ; preds = %173
  %175 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.46, ptr noundef nonnull %4) #13
  br label %176

176:                                              ; preds = %174, %173
  invoke void @_Z22computeSiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

177:                                              ; preds = %171
  %178 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.47) #14
  %.not155 = icmp eq i32 %178, 0
  br i1 %.not155, label %179, label %183

179:                                              ; preds = %177
  br i1 %.not170, label %180, label %182

180:                                              ; preds = %179
  %181 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.48, ptr noundef nonnull %4) #13
  br label %182

182:                                              ; preds = %180, %179
  invoke void @_Z23computeESiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

183:                                              ; preds = %177
  %184 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.49) #14
  %.not157 = icmp eq i32 %184, 0
  br i1 %.not157, label %185, label %189

185:                                              ; preds = %183
  br i1 %.not170, label %186, label %188

186:                                              ; preds = %185
  %187 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.50, ptr noundef nonnull %4) #13
  br label %188

188:                                              ; preds = %186, %185
  invoke void @_Z20computeCCDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

189:                                              ; preds = %183
  %190 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.51) #14
  %.not159 = icmp eq i32 %190, 0
  br i1 %.not159, label %191, label %195

191:                                              ; preds = %189
  br i1 %.not170, label %192, label %194

192:                                              ; preds = %191
  %193 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.52, ptr noundef nonnull %4) #13
  br label %194

194:                                              ; preds = %192, %191
  invoke void @_Z24computeMomentDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

195:                                              ; preds = %189
  %196 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.53) #14
  %.not161 = icmp eq i32 %196, 0
  br i1 %.not161, label %197, label %201

197:                                              ; preds = %195
  br i1 %.not170, label %198, label %200

198:                                              ; preds = %197
  %199 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.54, ptr noundef nonnull %4) #13
  br label %200

200:                                              ; preds = %198, %197
  invoke void @_Z22computeKoenDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

201:                                              ; preds = %195
  %202 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.55) #14
  %.not163 = icmp eq i32 %202, 0
  br i1 %.not163, label %203, label %207

203:                                              ; preds = %201
  br i1 %.not170, label %204, label %206

204:                                              ; preds = %203
  %205 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.56, ptr noundef nonnull %4) #13
  br label %206

206:                                              ; preds = %204, %203
  invoke void @_Z20computeCGDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

207:                                              ; preds = %201
  %208 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.57) #14
  %.not165 = icmp eq i32 %208, 0
  br i1 %.not165, label %209, label %213

209:                                              ; preds = %207
  br i1 %.not170, label %210, label %212

210:                                              ; preds = %209
  %211 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.58, ptr noundef nonnull %4) #13
  br label %212

212:                                              ; preds = %210, %209
  invoke void @_Z23computeShapeDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

213:                                              ; preds = %207
  %214 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.59) #14
  %.not167 = icmp eq i32 %214, 0
  br i1 %.not167, label %215, label %219

215:                                              ; preds = %213
  br i1 %.not170, label %216, label %218

216:                                              ; preds = %215
  %217 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.60, ptr noundef nonnull %4) #13
  br label %218

218:                                              ; preds = %216, %215
  invoke void @_Z22computeSpinDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

219:                                              ; preds = %213
  %220 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.61) #14
  %.not169 = icmp eq i32 %220, 0
  br i1 %.not169, label %221, label %225

221:                                              ; preds = %219
  br i1 %.not170, label %222, label %224

222:                                              ; preds = %221
  %223 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %5, ptr noundef nonnull dereferenceable(1) @.str.62, ptr noundef nonnull %4) #13
  br label %224

224:                                              ; preds = %222, %221
  invoke void @_Z21computePcaDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef nonnull %130, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %233 unwind label %169

225:                                              ; preds = %219
  %226 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.63) #14
  %.not175 = icmp eq i32 %226, 0
  br i1 %.not175, label %233, label %227

227:                                              ; preds = %225
  %228 = call i32 @strcmp(ptr noundef nonnull dereferenceable(1) %163, ptr noundef nonnull dereferenceable(1) @.str.64) #14
  %.not176 = icmp eq i32 %228, 0
  br i1 %.not176, label %229, label %233

229:                                              ; preds = %227
  %230 = getelementptr inbounds i8, ptr %162, i64 8
  %231 = load ptr, ptr %230, align 8, !tbaa !5
  %232 = call i32 @atoi(ptr nocapture noundef %231) #14
  br label %233

233:                                              ; preds = %225, %168, %182, %194, %206, %218, %229, %227, %224, %212, %200, %188, %176
  %.1139 = phi i32 [ %.0138201, %227 ], [ %.0138201, %229 ], [ %.0138201, %224 ], [ %.0138201, %218 ], [ %.0138201, %212 ], [ %.0138201, %206 ], [ %.0138201, %200 ], [ %.0138201, %194 ], [ %.0138201, %188 ], [ %.0138201, %182 ], [ %.0138201, %176 ], [ %.0138201, %168 ], [ 1, %225 ]
  %.1137 = phi i32 [ %.0136202, %227 ], [ %232, %229 ], [ %.0136202, %224 ], [ %.0136202, %218 ], [ %.0136202, %212 ], [ %.0136202, %206 ], [ %.0136202, %200 ], [ %.0136202, %194 ], [ %.0136202, %188 ], [ %.0136202, %182 ], [ %.0136202, %176 ], [ %.0136202, %168 ], [ %.0136202, %225 ]
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %exitcond233.not = icmp eq i64 %indvars.iv.next229, %wide.trip.count232
  br i1 %exitcond233.not, label %.preheader, label %161, !llvm.loop !16

._crit_edge209:                                   ; preds = %259, %.preheader
  switch i32 %.1141, label %274 [
    i32 0, label %262
    i32 1, label %266
    i32 2, label %270
  ]

.lr.ph208:                                        ; preds = %.preheader, %259
  %.0120207 = phi i64 [ %.1121, %259 ], [ 0, %.preheader ]
  %234 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0120207) #13
  %235 = load ptr, ptr %234, align 8, !tbaa !5
  %236 = call noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80) %130)
  %237 = uitofp i32 %236 to float
  %238 = call noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80) %130)
  %239 = uitofp i32 %238 to float
  %240 = invoke noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr noundef nonnull align 8 dereferenceable(116) %235, float noundef 0.000000e+00, float noundef %237, float noundef 0.000000e+00, float noundef %239)
          to label %241 unwind label %253

241:                                              ; preds = %.lr.ph208
  br i1 %240, label %257, label %242

242:                                              ; preds = %241
  %243 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0120207) #13
  %244 = load ptr, ptr %243, align 8, !tbaa !5
  %245 = icmp eq ptr %244, null
  br i1 %245, label %247, label %246

246:                                              ; preds = %242
  call void @_ZN16CornerDescriptorD2Ev(ptr noundef nonnull align 8 dereferenceable(116) %244) #13
  call void @_ZdlPvm(ptr noundef nonnull %244, i64 noundef 120) #16
  br label %247

247:                                              ; preds = %246, %242
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #13
  %248 = call ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  store ptr %248, ptr %10, align 8
  %249 = call ptr @_ZNK9__gnu_cxx17__normal_iteratorIPP16CornerDescriptorSt6vectorIS2_SaIS2_EEEplEl(ptr noundef nonnull align 8 dereferenceable(8) %10, i64 noundef %.0120207) #13
  store ptr %249, ptr %9, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKP16CornerDescriptorSt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #13
  %250 = load ptr, ptr %8, align 8
  %251 = invoke ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EE(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr %250)
          to label %252 unwind label %255

252:                                              ; preds = %247
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #13
  br label %259

253:                                              ; preds = %.lr.ph208
  %254 = landingpad { ptr, i32 }
          cleanup
  br label %305

255:                                              ; preds = %247
  %256 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #13
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #13
  br label %305

257:                                              ; preds = %241
  %258 = add nuw i64 %.0120207, 1
  br label %259

259:                                              ; preds = %257, %252
  %.1121 = phi i64 [ %258, %257 ], [ %.0120207, %252 ]
  %260 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %261 = icmp ult i64 %.1121, %260
  br i1 %261, label %.lr.ph208, label %._crit_edge209, !llvm.loop !17

262:                                              ; preds = %._crit_edge209
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %263 unwind label %159

263:                                              ; preds = %262
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef nonnull %11, ptr noundef nonnull %5, i32 noundef 1)
          to label %278 unwind label %264

264:                                              ; preds = %263
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #13
  br label %305

266:                                              ; preds = %._crit_edge209
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %12, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %267 unwind label %159

267:                                              ; preds = %266
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef nonnull %12, ptr noundef nonnull %5, i32 noundef 1)
          to label %278 unwind label %268

268:                                              ; preds = %267
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #13
  br label %305

270:                                              ; preds = %._crit_edge209
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %271 unwind label %159

271:                                              ; preds = %270
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef nonnull %13, ptr noundef nonnull %5, i32 noundef 0)
          to label %278 unwind label %272

272:                                              ; preds = %271
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #13
  br label %305

274:                                              ; preds = %._crit_edge209
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %275 unwind label %159

275:                                              ; preds = %274
  invoke void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef nonnull %14, ptr noundef nonnull %5, i32 noundef 2)
          to label %278 unwind label %276

276:                                              ; preds = %275
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #13
  br label %305

278:                                              ; preds = %275, %271, %267, %263
  %.sink = phi ptr [ %11, %263 ], [ %12, %267 ], [ %13, %271 ], [ %14, %275 ]
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #13
  %.not = icmp eq i32 %.1139, 0
  br i1 %.not, label %295, label %279

279:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %15) #13
  %280 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %15, ptr noundef nonnull dereferenceable(1) @.str.65, ptr noundef nonnull %5) #13
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.66)
          to label %282 unwind label %290

282:                                              ; preds = %279
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef nonnull %15)
          to label %284 unwind label %290

284:                                              ; preds = %282
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %286 unwind label %290

286:                                              ; preds = %284
  invoke void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %287 unwind label %290

287:                                              ; preds = %286
  %288 = sitofp i32 %.1137 to float
  invoke void @_Z17drawAffineCornersP12ImageContentSt6vectorIP16CornerDescriptorSaIS3_EEPcf(ptr noundef nonnull %130, ptr noundef nonnull %16, ptr noundef nonnull %15, float noundef %288)
          to label %289 unwind label %292

289:                                              ; preds = %287
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #13
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %15) #13
  br label %295

290:                                              ; preds = %286, %284, %282, %279
  %291 = landingpad { ptr, i32 }
          cleanup
  br label %294

292:                                              ; preds = %287
  %293 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #13
  br label %294

294:                                              ; preds = %292, %290
  %.pn = phi { ptr, i32 } [ %293, %292 ], [ %291, %290 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %15) #13
  br label %305

295:                                              ; preds = %289, %278
  %296 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %.not216 = icmp eq i64 %296, 0
  br i1 %.not216, label %._crit_edge213, label %.lr.ph212

.lr.ph212:                                        ; preds = %295, %301
  %.0210 = phi i64 [ %302, %301 ], [ 0, %295 ]
  %297 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIP16CornerDescriptorSaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %.0210) #13
  %298 = load ptr, ptr %297, align 8, !tbaa !5
  %299 = icmp eq ptr %298, null
  br i1 %299, label %301, label %300

300:                                              ; preds = %.lr.ph212
  call void @_ZN16CornerDescriptorD2Ev(ptr noundef nonnull align 8 dereferenceable(116) %298) #13
  call void @_ZdlPvm(ptr noundef nonnull %298, i64 noundef 120) #16
  br label %301

301:                                              ; preds = %.lr.ph212, %300
  %302 = add nuw i64 %.0210, 1
  %303 = call noundef i64 @_ZNKSt6vectorIP16CornerDescriptorSaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  %304 = icmp ult i64 %302, %303
  br i1 %304, label %.lr.ph212, label %._crit_edge213, !llvm.loop !18

._crit_edge213:                                   ; preds = %301, %295
  call void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80) %130) #13
  call void @_ZdlPvm(ptr noundef nonnull %130, i64 noundef 80) #16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #13
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #13
  br label %308

305:                                              ; preds = %253, %255, %294, %276, %272, %268, %264, %169, %159
  %.pn171 = phi { ptr, i32 } [ %170, %169 ], [ %.pn, %294 ], [ %265, %264 ], [ %160, %159 ], [ %269, %268 ], [ %273, %272 ], [ %277, %276 ], [ %256, %255 ], [ %254, %253 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #13
  br label %306

306:                                              ; preds = %305, %145
  %.pn171.pn = phi { ptr, i32 } [ %.pn171, %305 ], [ %146, %145 ]
  call void @_ZNSt6vectorIP16CornerDescriptorSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #13
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #13
  br label %307

307:                                              ; preds = %306, %143
  %.pn171.pn.pn = phi { ptr, i32 } [ %.pn171.pn, %306 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #13
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #13
  resume { ptr, i32 } %.pn171.pn.pn

308:                                              ; preds = %._crit_edge213, %127
  %.0119 = phi i32 [ -1, %127 ], [ 0, %._crit_edge213 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %5) #13
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %4) #13
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %3) #13
  br label %309

309:                                              ; preds = %308, %18
  %.1 = phi i32 [ -1, %18 ], [ %.0119, %308 ]
  ret i32 %.1
}

; 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 #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i32 @strcmp(ptr nocapture noundef, ptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare double @atof(ptr nocapture noundef nonnull) local_unnamed_addr #5

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

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

declare void @_ZN12ImageContentC1EPKc(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef) unnamed_addr #7

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12ImageContent6toGRAYEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #7

declare void @_ZN12ImageContent10char2floatEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #7

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

declare void @_Z11loadCornersPKcRSt6vectorIP16CornerDescriptorSaIS3_EEi(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6Corner8setAngleEf(ptr noundef nonnull align 4 dereferenceable(88), float noundef) local_unnamed_addr #10 align 2

declare void @_Z9init_timePl(ptr noundef) local_unnamed_addr #7

declare void @_Z21computeJLADescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z22computeSiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z23computeESiftDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z20computeCCDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z24computeMomentDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z22computeKoenDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z20computeCGDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z23computeShapeDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z22computeSpinDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

declare void @_Z21computePcaDescriptorsP12ImageContentRSt6vectorIP16CornerDescriptorSaIS3_EE(ptr noundef, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN16CornerDescriptor15is_fully_insideEffff(ptr noundef nonnull align 8 dereferenceable(116), float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1xEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #10 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12ImageContent1yEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #10 align 2

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

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

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

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

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

declare void @_Z12writeCornersSt6vectorIP16CornerDescriptorSaIS1_EEPKci(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7

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

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

declare void @_Z17drawAffineCornersP12ImageContentSt6vectorIP16CornerDescriptorSaIS3_EEPcf(ptr noundef, ptr noundef, ptr noundef, float noundef) local_unnamed_addr #7

; Function Attrs: nounwind
declare void @_ZN12ImageContentD1Ev(ptr noundef nonnull align 8 dereferenceable(80)) unnamed_addr #11

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #12

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nofree nounwind willreturn memory(argmem: read) "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 = { nofree 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 #5 = { inlinehint mustprogress nofree nounwind willreturn memory(read) 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { 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 #11 = { 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 #12 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #13 = { nounwind }
attributes #14 = { nounwind willreturn memory(read) }
attributes #15 = { builtin allocsize(0) }
attributes #16 = { builtin 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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