; LLVM IR from napulen/justkeydding :: src/hiddenmarkovmodel.ll (ZN12justkeydding17HiddenMarkovModel10runViterbiEv)

; 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::vector.86" = type { %"struct.std::_Vector_base.87" }
%"struct.std::_Vector_base.87" = type { %"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.91" = type { %"class.std::_Hashtable.92" }
%"class.std::_Hashtable.92" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.justkeydding::HiddenMarkovModel::ViterbiNode" = type <{ double, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.78" = type { ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.44" = type { i8 }
%"struct.std::__detail::_Node_const_iterator.105" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"struct.std::__detail::_Node_iterator_base.106" = type { ptr }
%"struct.std::__detail::_Node_iterator.107" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"class.justkeydding::Key" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::map.51", [24 x %"class.std::__cxx11::basic_string"] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map.51" = type { %"class.std::_Rb_tree.52" }
%"class.std::_Rb_tree.52" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.58" = type { ptr }
%"class.justkeydding::HiddenMarkovModel" = type { i32, %"class.std::vector.18", %"class.std::vector.18", %"class.std::unordered_map", %"class.std::unordered_map.28", %"class.std::unordered_map.28", double, %"class.std::vector.42", %"class.std::vector.0" }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.28" = type { %"class.std::_Hashtable.29" }
%"class.std::_Hashtable.29" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<justkeydding::Key, std::allocator<justkeydding::Key>>::_Vector_impl" }
%"struct.std::_Vector_base<justkeydding::Key, std::allocator<justkeydding::Key>>::_Vector_impl" = type { %"struct.std::_Vector_base<justkeydding::Key, std::allocator<justkeydding::Key>>::_Vector_impl_data" }
%"struct.std::_Vector_base<justkeydding::Key, std::allocator<justkeydding::Key>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.108" = type { i32, [4 x i8], %"struct.justkeydding::HiddenMarkovModel::ViterbiNode" }

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12justkeydding17HiddenMarkovModel10runViterbiEv(ptr noundef nonnull align 8 dereferenceable(280) %0) #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::vector.86", align 8
  %4 = alloca %"class.std::unordered_map.91", align 8
  %5 = alloca %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::unordered_map.91", align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %26 = alloca %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %33 = alloca %"class.std::unordered_map.91", align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::vector.42", align 8
  %36 = alloca double, align 8
  %37 = alloca %"class.std::allocator.44", align 1
  %38 = alloca %"struct.std::__detail::_Node_const_iterator.105", align 8
  %39 = alloca %"struct.std::__detail::_Node_iterator.107", align 8
  %40 = alloca %"struct.std::__detail::_Node_iterator.107", align 8
  %41 = alloca %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", align 8
  %42 = alloca %"struct.std::__detail::_Node_const_iterator.105", align 8
  %43 = alloca %"class.justkeydding::Key", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  %45 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %46 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr %4) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #8
  %47 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %48 = fneg double %47
  invoke void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12) %5, double noundef %48, i32 noundef -1)
          to label %49 unwind label %61

49:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %50 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %51 = fneg double %50
  store double %51, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %52 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %53 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  %54 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %13, i32 0, i32 0
  store ptr %53, ptr %54, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %55

55:                                               ; preds = %89, %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %56 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %57 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #8
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %14, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  %59 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  br i1 %59, label %65, label %60

60:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %96

61:                                               ; preds = %1
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %6, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %7, align 4
  br label %307

65:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  %66 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 1
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef 0) #8
  %68 = load i32, ptr %67, align 4, !tbaa !11
  store i32 %68, ptr %15, align 4, !tbaa !11
  %69 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 3
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %69, ptr noundef nonnull align 4 dereferenceable(4) %70)
          to label %72 unwind label %92

72:                                               ; preds = %65
  %73 = load double, ptr %71, align 8, !tbaa !9
  store double %73, ptr %8, align 8, !tbaa !9
  %74 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 5
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %76 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %74, ptr noundef nonnull align 4 dereferenceable(4) %75)
          to label %77 unwind label %92

77:                                               ; preds = %72
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %76, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %79 unwind label %92

79:                                               ; preds = %77
  %80 = load double, ptr %78, align 8, !tbaa !9
  store double %80, ptr %9, align 8, !tbaa !9
  %81 = load double, ptr %8, align 8, !tbaa !9
  %82 = load double, ptr %9, align 8, !tbaa !9
  %83 = fmul double %81, %82
  %84 = call double @log10(double noundef %83) #8
  %85 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %5, i32 0, i32 0
  store double %84, ptr %85, align 8, !tbaa !13
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %87 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 4 dereferenceable(4) %86)
          to label %88 unwind label %92

88:                                               ; preds = %79
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %87, ptr align 8 %5, i64 12, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  br label %89

89:                                               ; preds = %88
  %90 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %12, i32 noundef 0) #8
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %16, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  br label %55, !llvm.loop !16

92:                                               ; preds = %79, %77, %72, %65
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %306

96:                                               ; preds = %60
  invoke void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %97 unwind label %112

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %98 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 1
  %99 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  %100 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %19, i32 0, i32 0
  store ptr %99, ptr %100, align 8
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %19, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8
  %103 = invoke ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %102, i64 noundef 1)
          to label %104 unwind label %116

104:                                              ; preds = %97
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %18, i32 0, i32 0
  store ptr %103, ptr %105, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %106

106:                                              ; preds = %204, %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %107 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 1
  %108 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %107) #8
  %109 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %20, i32 0, i32 0
  store ptr %108, ptr %109, align 8
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br i1 %110, label %120, label %111

111:                                              ; preds = %106
  store i32 5, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %213

112:                                              ; preds = %96
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %6, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %7, align 4
  br label %306

116:                                              ; preds = %97
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %6, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  br label %212

120:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 56, ptr %22) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %121 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %122 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %121) #8
  %123 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %24, i32 0, i32 0
  store ptr %122, ptr %123, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %124

124:                                              ; preds = %196, %120
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %125 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %126 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %125) #8
  %127 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %25, i32 0, i32 0
  store ptr %126, ptr %127, align 8
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br i1 %128, label %130, label %129

129:                                              ; preds = %124
  store i32 8, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %200

130:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #8
  %131 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %132 = fneg double %131
  invoke void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12) %26, double noundef %132, i32 noundef -1)
          to label %133 unwind label %143

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %134 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %135 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %28, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %137

137:                                              ; preds = %189, %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %138 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 2
  %139 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %138) #8
  %140 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.78", ptr %29, i32 0, i32 0
  store ptr %139, ptr %140, align 8
  %141 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br i1 %141, label %147, label %142

142:                                              ; preds = %137
  store i32 11, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %192

143:                                              ; preds = %192, %130
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %6, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %7, align 4
  br label %199

147:                                              ; preds = %137
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %149 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 4 dereferenceable(4) %148)
          to label %150 unwind label %184

150:                                              ; preds = %147
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %149, i64 12, i1 false), !tbaa.struct !15
  %151 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 4
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %153 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %151, ptr noundef nonnull align 4 dereferenceable(4) %152)
          to label %154 unwind label %184

154:                                              ; preds = %150
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %153, ptr noundef nonnull align 4 dereferenceable(4) %155)
          to label %157 unwind label %184

157:                                              ; preds = %154
  %158 = load double, ptr %156, align 8, !tbaa !9
  store double %158, ptr %8, align 8, !tbaa !9
  %159 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 5
  %160 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %161 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %159, ptr noundef nonnull align 4 dereferenceable(4) %160)
          to label %162 unwind label %184

162:                                              ; preds = %157
  %163 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %161, ptr noundef nonnull align 4 dereferenceable(4) %163)
          to label %165 unwind label %184

165:                                              ; preds = %162
  %166 = load double, ptr %164, align 8, !tbaa !9
  store double %166, ptr %9, align 8, !tbaa !9
  %167 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %5, i32 0, i32 0
  %168 = load double, ptr %167, align 8, !tbaa !13
  %169 = load double, ptr %8, align 8, !tbaa !9
  %170 = load double, ptr %9, align 8, !tbaa !9
  %171 = fmul double %169, %170
  %172 = call double @log10(double noundef %171) #8
  %173 = fadd double %168, %172
  store double %173, ptr %10, align 8, !tbaa !9
  %174 = load double, ptr %10, align 8, !tbaa !9
  %175 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %26, i32 0, i32 0
  %176 = load double, ptr %175, align 8, !tbaa !13
  %177 = fcmp ogt double %174, %176
  br i1 %177, label %178, label %188

178:                                              ; preds = %165
  %179 = load double, ptr %10, align 8, !tbaa !9
  %180 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %26, i32 0, i32 0
  store double %179, ptr %180, align 8, !tbaa !13
  %181 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %182 = load i32, ptr %181, align 4, !tbaa !11
  %183 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %26, i32 0, i32 1
  store i32 %182, ptr %183, align 8, !tbaa !18
  br label %188

184:                                              ; preds = %162, %157, %154, %150, %147
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %6, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  br label %199

188:                                              ; preds = %178, %165
  br label %189

189:                                              ; preds = %188
  %190 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %27, i32 noundef 0) #8
  %191 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %30, i32 0, i32 0
  store ptr %190, ptr %191, align 8
  br label %137, !llvm.loop !19

192:                                              ; preds = %142
  %193 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  %194 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %22, ptr noundef nonnull align 4 dereferenceable(4) %193)
          to label %195 unwind label %143

195:                                              ; preds = %192
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %194, ptr align 8 %26, i64 12, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  br label %196

196:                                              ; preds = %195
  %197 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %23, i32 noundef 0) #8
  %198 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %31, i32 0, i32 0
  store ptr %197, ptr %198, align 8
  br label %124, !llvm.loop !20

199:                                              ; preds = %184, %143
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %211

200:                                              ; preds = %129
  %201 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEaSERKSB_(ptr noundef nonnull align 8 dereferenceable(56) %4, ptr noundef nonnull align 8 dereferenceable(56) %22)
          to label %202 unwind label %207

202:                                              ; preds = %200
  invoke void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(56) %4)
          to label %203 unwind label %207

203:                                              ; preds = %202
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #8
  br label %204

204:                                              ; preds = %203
  %205 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #8
  %206 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.77", ptr %32, i32 0, i32 0
  store ptr %205, ptr %206, align 8
  br label %106, !llvm.loop !21

207:                                              ; preds = %202, %200
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %6, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %7, align 4
  br label %211

211:                                              ; preds = %207, %199
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %22) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %22) #8
  br label %212

212:                                              ; preds = %211, %116
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %306

213:                                              ; preds = %111
  call void @llvm.lifetime.start.p0(i64 56, ptr %33) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 -1, ptr %34, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  store double 0.000000e+00, ptr %36, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef 24, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %214 unwind label %234

214:                                              ; preds = %213
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %215

215:                                              ; preds = %274, %214
  %216 = call noundef zeroext i1 @_ZNKSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %217 = xor i1 %216, true
  br i1 %217, label %218, label %286

218:                                              ; preds = %215
  %219 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  %220 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEaSERKSB_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(56) %219)
          to label %221 unwind label %238

221:                                              ; preds = %218
  %222 = load i32, ptr %34, align 4, !tbaa !11
  %223 = icmp eq i32 %222, -1
  br i1 %223, label %224, label %268

224:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %225 = call ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  %226 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.107", ptr %39, i32 0, i32 0
  %227 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.106", ptr %226, i32 0, i32 0
  store ptr %225, ptr %227, align 8
  call void @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEC2ERKNS_14_Node_iteratorIS6_Lb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %228

228:                                              ; preds = %263, %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %229 = call ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  %230 = getelementptr inbounds %"struct.std::__detail::_Node_iterator.107", ptr %40, i32 0, i32 0
  %231 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.106", ptr %230, i32 0, i32 0
  store ptr %229, ptr %231, align 8
  %232 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br i1 %232, label %242, label %233

233:                                              ; preds = %228
  store i32 16, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %267

234:                                              ; preds = %213
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %6, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %305

238:                                              ; preds = %297, %286, %272, %218
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %6, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %7, align 4
  br label %304

242:                                              ; preds = %228
  call void @llvm.lifetime.start.p0(i64 16, ptr %41) #8
  %243 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %244 = getelementptr inbounds %"struct.std::pair.108", ptr %243, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %41, ptr align 8 %244, i64 16, i1 false), !tbaa.struct !15
  %245 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %41, i32 0, i32 0
  %246 = load double, ptr %245, align 8, !tbaa !13
  %247 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %248 = getelementptr inbounds %"struct.std::pair.108", ptr %247, i32 0, i32 0
  %249 = load i32, ptr %248, align 8, !tbaa !22
  %250 = sext i32 %249 to i64
  %251 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %250) #8
  store double %246, ptr %251, align 8, !tbaa !9
  %252 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %41, i32 0, i32 0
  %253 = load double, ptr %252, align 8, !tbaa !13
  %254 = load double, ptr %11, align 8, !tbaa !9
  %255 = fcmp ogt double %253, %254
  br i1 %255, label %256, label %262

256:                                              ; preds = %242
  %257 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %41, i32 0, i32 0
  %258 = load double, ptr %257, align 8, !tbaa !13
  store double %258, ptr %11, align 8, !tbaa !9
  %259 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  %260 = getelementptr inbounds %"struct.std::pair.108", ptr %259, i32 0, i32 0
  %261 = load i32, ptr %260, align 8, !tbaa !22
  store i32 %261, ptr %34, align 4, !tbaa !11
  br label %262

262:                                              ; preds = %256, %242
  call void @llvm.lifetime.end.p0(i64 16, ptr %41) #8
  br label %263

263:                                              ; preds = %262
  %264 = call ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEppEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef 0) #8
  %265 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.105", ptr %42, i32 0, i32 0
  %266 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base.106", ptr %265, i32 0, i32 0
  store ptr %264, ptr %266, align 8
  br label %228, !llvm.loop !24

267:                                              ; preds = %233
  br label %268

268:                                              ; preds = %267, %221
  %269 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 856, ptr %43) #8
  %270 = load i32, ptr %34, align 4, !tbaa !11
  invoke void @_ZN12justkeydding3KeyC1Ei(ptr noundef nonnull align 8 dereferenceable(856) %43, i32 noundef %270)
          to label %271 unwind label %277

271:                                              ; preds = %268
  invoke void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %269, ptr noundef nonnull align 8 dereferenceable(856) %43)
          to label %272 unwind label %281

272:                                              ; preds = %271
  call void @_ZN12justkeydding3KeyD2Ev(ptr noundef nonnull align 8 dereferenceable(856) %43) #8
  call void @llvm.lifetime.end.p0(i64 856, ptr %43) #8
  %273 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 4 dereferenceable(4) %34)
          to label %274 unwind label %238

274:                                              ; preds = %272
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %5, ptr align 8 %273, i64 12, i1 false), !tbaa.struct !15
  %275 = getelementptr inbounds %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", ptr %5, i32 0, i32 1
  %276 = load i32, ptr %275, align 8, !tbaa !18
  store i32 %276, ptr %34, align 4, !tbaa !11
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  br label %215, !llvm.loop !25

277:                                              ; preds = %268
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %6, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %7, align 4
  br label %285

281:                                              ; preds = %271
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %6, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %7, align 4
  call void @_ZN12justkeydding3KeyD2Ev(ptr noundef nonnull align 8 dereferenceable(856) %43) #8
  br label %285

285:                                              ; preds = %281, %277
  call void @llvm.lifetime.end.p0(i64 856, ptr %43) #8
  br label %304

286:                                              ; preds = %215
  %287 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 8
  %288 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %287) #8
  %289 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %44, i32 0, i32 0
  store ptr %288, ptr %289, align 8
  %290 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 8
  %291 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %290) #8
  %292 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %45, i32 0, i32 0
  store ptr %291, ptr %292, align 8
  %293 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %44, i32 0, i32 0
  %294 = load ptr, ptr %293, align 8
  %295 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %45, i32 0, i32 0
  %296 = load ptr, ptr %295, align 8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPN12justkeydding3KeyESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %294, ptr %296)
          to label %297 unwind label %238

297:                                              ; preds = %286
  %298 = load double, ptr %11, align 8, !tbaa !9
  %299 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 6
  store double %298, ptr %299, align 8, !tbaa !26
  %300 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 7
  %301 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %300, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %302 unwind label %238

302:                                              ; preds = %297
  %303 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %46, i32 0, i32 0
  store i32 8, ptr %303, align 8, !tbaa !48
  store i32 1, ptr %21, align 4
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  ret void

304:                                              ; preds = %285, %238
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  br label %305

305:                                              ; preds = %304, %234
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %33) #8
  br label %306

306:                                              ; preds = %305, %212, %112, %92
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %307

307:                                              ; preds = %306, %61
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %4) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %4) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #8
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr %6, align 8
  %310 = load i32, ptr %7, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12), double noundef, i32 noundef) unnamed_addr #1 align 2

; Function Attrs: nounwind
declare double @log10(double noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr, i64 noundef) #6

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #1 align 2

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

declare void @_ZN12justkeydding3KeyC1Ei(ptr noundef nonnull align 8 dereferenceable(856), i32 noundef) unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPN12justkeydding3KeyESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) #6

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { 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 #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 = { 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN12justkeydding17HiddenMarkovModel11ViterbiNodeE", !10, i64 0, !12, i64 8}
!15 = !{i64 0, i64 8, !9, i64 8, i64 4, !11}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!14, !12, i64 8}
!19 = distinct !{!19, !17}
!20 = distinct !{!20, !17}
!21 = distinct !{!21, !17}
!22 = !{!23, !12, i64 0}
!23 = !{!"_ZTSSt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEE", !12, i64 0, !14, i64 8}
!24 = distinct !{!24, !17}
!25 = distinct !{!25, !17}
!26 = !{!27, !10, i64 224}
!27 = !{!"_ZTSN12justkeydding17HiddenMarkovModelE", !12, i64 0, !28, i64 8, !28, i64 32, !32, i64 56, !38, i64 112, !38, i64 168, !10, i64 224, !40, i64 232, !44, i64 256}
!28 = !{!"_ZTSSt6vectorIiSaIiEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!"_ZTSSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEE", !33, i64 0}
!33 = !{!"_ZTSSt10_HashtableIiSt4pairIKidESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !34, i64 8, !35, i64 16, !34, i64 24, !36, i64 32, !6, i64 48}
!34 = !{!"long", !7, i64 0}
!35 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!36 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !37, i64 0, !34, i64 8}
!37 = !{!"float", !7, i64 0}
!38 = !{!"_ZTSSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEE", !39, i64 0}
!39 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt13unordered_mapIidSt4hashIiESt8equal_toIiESaIS0_IS1_dEEEESaISA_ENSt8__detail10_Select1stES6_S4_NSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !34, i64 8, !35, i64 16, !34, i64 24, !36, i64 32, !6, i64 48}
!40 = !{!"_ZTSSt6vectorIdSaIdEE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt6vectorIN12justkeydding3KeyESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE12_Vector_implE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!48 = !{!27, !12, i64 0}


; 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::vector.86" = type { %"struct.std::_Vector_base.87" }
%"struct.std::_Vector_base.87" = type { %"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>, std::allocator<std::unordered_map<int, justkeydding::HiddenMarkovModel::ViterbiNode>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.91" = type { %"class.std::_Hashtable.92" }
%"class.std::_Hashtable.92" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"struct.justkeydding::HiddenMarkovModel::ViterbiNode" = type <{ double, i32, [4 x i8] }>
%"class.__gnu_cxx::__normal_iterator.77" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.78" = type { ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.44" = type { i8 }
%"struct.std::__detail::_Node_const_iterator.105" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"struct.std::__detail::_Node_iterator_base.106" = type { ptr }
%"struct.std::__detail::_Node_iterator.107" = type { %"struct.std::__detail::_Node_iterator_base.106" }
%"class.justkeydding::Key" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::map.51", [24 x %"class.std::__cxx11::basic_string"] }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::map.51" = type { %"class.std::_Rb_tree.52" }
%"class.std::_Rb_tree.52" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12justkeydding17HiddenMarkovModel10runViterbiEv(ptr noundef nonnull align 8 dereferenceable(280) %0) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::vector.86", align 8
  %3 = alloca %"class.std::unordered_map.91", align 8
  %4 = alloca %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", align 8
  %5 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %12 = alloca %"class.std::unordered_map.91", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %16 = alloca %"struct.justkeydding::HiddenMarkovModel::ViterbiNode", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.77", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.78", align 8
  %20 = alloca %"class.std::unordered_map.91", align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.std::vector.42", align 8
  %23 = alloca double, align 8
  %24 = alloca %"class.std::allocator.44", align 1
  %25 = alloca %"struct.std::__detail::_Node_const_iterator.105", align 8
  %26 = alloca %"struct.std::__detail::_Node_iterator.107", align 8
  %27 = alloca %"struct.std::__detail::_Node_iterator.107", align 8
  %28 = alloca %"class.justkeydding::Key", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %3) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %29 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %30 = fneg double %29
  call void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12) %4, double noundef %30, i32 noundef -1)
  %31 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %32 = fneg double %31
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %34, ptr %6, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %35 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %35, ptr %7, align 8
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %36, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %1
  %37 = getelementptr inbounds i8, ptr %0, i64 8
  %38 = getelementptr inbounds i8, ptr %0, i64 56
  %39 = getelementptr inbounds i8, ptr %0, i64 168
  br label %40

._crit_edge:                                      ; preds = %57, %1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  invoke void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(56) %3)
          to label %63 unwind label %73

40:                                               ; preds = %.lr.ph, %57
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #8
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %37, i64 noundef 0) #8
  %42 = load i32, ptr %41, align 4, !tbaa !5
  store i32 %42, ptr %8, align 4, !tbaa !5
  %43 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %44 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %38, ptr noundef nonnull align 4 dereferenceable(4) %43)
          to label %45 unwind label %61

45:                                               ; preds = %40
  %46 = load double, ptr %44, align 8, !tbaa !9
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %48 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %39, ptr noundef nonnull align 4 dereferenceable(4) %47)
          to label %49 unwind label %61

49:                                               ; preds = %45
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %48, ptr noundef nonnull align 4 dereferenceable(4) %8)
          to label %51 unwind label %61

51:                                               ; preds = %49
  %52 = load double, ptr %50, align 8, !tbaa !9
  %53 = fmul double %46, %52
  %54 = call double @log10(double noundef %53) #8
  store double %54, ptr %4, align 8, !tbaa !11
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  %56 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %55)
          to label %57 unwind label %61

57:                                               ; preds = %51
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %56, ptr noundef nonnull align 8 dereferenceable(12) %4, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  %58 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %5, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %59 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %59, ptr %7, align 8
  %60 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %60, label %40, label %._crit_edge, !llvm.loop !14

61:                                               ; preds = %51, %49, %45, %40
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %190

63:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %64 = getelementptr inbounds i8, ptr %0, i64 8
  %65 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  %66 = invoke ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr %65, i64 noundef 1)
          to label %67 unwind label %75

67:                                               ; preds = %63
  store ptr %66, ptr %10, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %68 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  store ptr %68, ptr %11, align 8
  %69 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br i1 %69, label %.lr.ph52, label %._crit_edge53

.lr.ph52:                                         ; preds = %67
  %70 = getelementptr inbounds i8, ptr %0, i64 112
  %71 = getelementptr inbounds i8, ptr %0, i64 168
  %72 = getelementptr inbounds i8, ptr %16, i64 8
  br label %77

._crit_edge53:                                    ; preds = %129, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %20) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #8
  store i32 -1, ptr %21, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  store double 0.000000e+00, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %24) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKdRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 24, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %137 unwind label %151

73:                                               ; preds = %._crit_edge
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %190

75:                                               ; preds = %63
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %136

77:                                               ; preds = %.lr.ph52, %129
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %12) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %78 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %78, ptr %14, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %79 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %79, ptr %15, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br i1 %80, label %.lr.ph49, label %._crit_edge50

._crit_edge50:                                    ; preds = %123, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %81 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEaSERKSB_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 8 dereferenceable(56) %12)
          to label %128 unwind label %133

.lr.ph49:                                         ; preds = %77, %123
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  %82 = call noundef double @_ZNSt14numeric_limitsIdE8infinityEv() #8
  %83 = fneg double %82
  call void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12) %16, double noundef %83, i32 noundef -1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %84 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %84, ptr %18, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEC2IPivEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %85 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %85, ptr %19, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %86, label %.lr.ph46, label %._crit_edge47

._crit_edge47:                                    ; preds = %119, %.lr.ph49
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %88 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %12, ptr noundef nonnull align 4 dereferenceable(4) %87)
          to label %123 unwind label %89

89:                                               ; preds = %._crit_edge47
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %127

.lr.ph46:                                         ; preds = %.lr.ph49, %119
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %92 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56) %3, ptr noundef nonnull align 4 dereferenceable(4) %91)
          to label %93 unwind label %117

93:                                               ; preds = %.lr.ph46
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %92, i64 12, i1 false), !tbaa.struct !13
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %95 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %70, ptr noundef nonnull align 4 dereferenceable(4) %94)
          to label %96 unwind label %117

96:                                               ; preds = %93
  %97 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %98 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %95, ptr noundef nonnull align 4 dereferenceable(4) %97)
          to label %99 unwind label %117

99:                                               ; preds = %96
  %100 = load double, ptr %98, align 8, !tbaa !9
  %101 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %102 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %71, ptr noundef nonnull align 4 dereferenceable(4) %101)
          to label %103 unwind label %117

103:                                              ; preds = %99
  %104 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  %105 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %102, ptr noundef nonnull align 4 dereferenceable(4) %104)
          to label %106 unwind label %117

106:                                              ; preds = %103
  %107 = load double, ptr %105, align 8, !tbaa !9
  %108 = load double, ptr %4, align 8, !tbaa !11
  %109 = fmul double %100, %107
  %110 = call double @log10(double noundef %109) #8
  %111 = fadd double %108, %110
  %112 = load double, ptr %16, align 8, !tbaa !11
  %113 = fcmp ogt double %111, %112
  br i1 %113, label %114, label %119

114:                                              ; preds = %106
  store double %111, ptr %16, align 8, !tbaa !11
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  %116 = load i32, ptr %115, align 4, !tbaa !5
  store i32 %116, ptr %72, align 8, !tbaa !16
  br label %119

117:                                              ; preds = %103, %99, %96, %93, %.lr.ph46
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %127

119:                                              ; preds = %106, %114
  %120 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %121 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %121, ptr %19, align 8
  %122 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %122, label %.lr.ph46, label %._crit_edge47, !llvm.loop !17

123:                                              ; preds = %._crit_edge47
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %88, ptr noundef nonnull align 8 dereferenceable(12) %16, i64 12, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  %124 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %125 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #8
  store ptr %125, ptr %15, align 8
  %126 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br i1 %126, label %.lr.ph49, label %._crit_edge50, !llvm.loop !18

127:                                              ; preds = %117, %89
  %.pn36 = phi { ptr, i32 } [ %118, %117 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %135

128:                                              ; preds = %._crit_edge50
  invoke void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE9push_backERKSC_(ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(56) %3)
          to label %129 unwind label %133

129:                                              ; preds = %128
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #8
  %130 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKiSt6vectorIiSaIiEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %131 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #8
  store ptr %131, ptr %11, align 8
  %132 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKiPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T1_EERKNS7_IT0_S9_EE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br i1 %132, label %77, label %._crit_edge53, !llvm.loop !19

133:                                              ; preds = %128, %._crit_edge50
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %135

135:                                              ; preds = %133, %127
  %.pn36.pn = phi { ptr, i32 } [ %.pn36, %127 ], [ %134, %133 ]
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %12) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %12) #8
  br label %136

136:                                              ; preds = %135, %75
  %.pn36.pn.pn = phi { ptr, i32 } [ %.pn36.pn, %135 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #8
  br label %190

137:                                              ; preds = %._crit_edge53
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  %138 = call noundef zeroext i1 @_ZNKSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  br i1 %138, label %._crit_edge61, label %.lr.ph60

.lr.ph60:                                         ; preds = %137
  %139 = getelementptr inbounds i8, ptr %0, i64 256
  %140 = getelementptr inbounds i8, ptr %4, i64 8
  br label %141

141:                                              ; preds = %.lr.ph60, %172
  %.02758 = phi double [ %32, %.lr.ph60 ], [ %.330, %172 ]
  %142 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %143 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEaSERKSB_(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 8 dereferenceable(56) %142)
          to label %144 unwind label %.loopexit

144:                                              ; preds = %141
  %145 = load i32, ptr %21, align 4, !tbaa !5
  %146 = icmp eq i32 %145, -1
  br i1 %146, label %147, label %167

147:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %148 = call ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  store ptr %148, ptr %26, align 8
  call void @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEC2ERKNS_14_Node_iteratorIS6_Lb0ELb0EEE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %149 = call ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  store ptr %149, ptr %27, align 8
  %150 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br i1 %150, label %.lr.ph56, label %._crit_edge57

._crit_edge57:                                    ; preds = %163, %147
  %.128.lcssa = phi double [ %.02758, %147 ], [ %.229, %163 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  %.pre = load i32, ptr %21, align 4, !tbaa !5
  br label %167

151:                                              ; preds = %._crit_edge53
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br label %189

.loopexit:                                        ; preds = %141, %170
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %188

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

.lr.ph56:                                         ; preds = %147, %163
  %.12854 = phi double [ %.229, %163 ], [ %.02758, %147 ]
  %153 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %154 = getelementptr inbounds i8, ptr %153, i64 8
  %.sroa.03.0.copyload = load double, ptr %154, align 8, !tbaa !9
  %155 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %156 = load i32, ptr %155, align 8, !tbaa !20
  %157 = sext i32 %156 to i64
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIdSaIdEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %157) #8
  store double %.sroa.03.0.copyload, ptr %158, align 8, !tbaa !9
  %159 = fcmp ogt double %.sroa.03.0.copyload, %.12854
  br i1 %159, label %160, label %163

160:                                              ; preds = %.lr.ph56
  %161 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  %162 = load i32, ptr %161, align 8, !tbaa !20
  store i32 %162, ptr %21, align 4, !tbaa !5
  br label %163

163:                                              ; preds = %160, %.lr.ph56
  %.229 = phi double [ %.sroa.03.0.copyload, %160 ], [ %.12854, %.lr.ph56 ]
  %164 = call ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %165 = call ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  store ptr %165, ptr %27, align 8
  %166 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br i1 %166, label %.lr.ph56, label %._crit_edge57, !llvm.loop !22

167:                                              ; preds = %._crit_edge57, %144
  %168 = phi i32 [ %.pre, %._crit_edge57 ], [ %145, %144 ]
  %.330 = phi double [ %.128.lcssa, %._crit_edge57 ], [ %.02758, %144 ]
  call void @llvm.lifetime.start.p0(i64 856, ptr nonnull %28) #8
  invoke void @_ZN12justkeydding3KeyC1Ei(ptr noundef nonnull align 8 dereferenceable(856) %28, i32 noundef %168)
          to label %169 unwind label %175

169:                                              ; preds = %167
  invoke void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %139, ptr noundef nonnull align 8 dereferenceable(856) %28)
          to label %170 unwind label %177

170:                                              ; preds = %169
  call void @_ZN12justkeydding3KeyD2Ev(ptr noundef nonnull align 8 dereferenceable(856) %28) #8
  call void @llvm.lifetime.end.p0(i64 856, ptr nonnull %28) #8
  %171 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56) %20, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %172 unwind label %.loopexit

172:                                              ; preds = %170
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %4, ptr noundef nonnull align 8 dereferenceable(12) %171, i64 12, i1 false), !tbaa.struct !13
  %173 = load i32, ptr %140, align 8, !tbaa !16
  store i32 %173, ptr %21, align 4, !tbaa !5
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE8pop_backEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  %174 = call noundef zeroext i1 @_ZNKSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  br i1 %174, label %._crit_edge61, label %141, !llvm.loop !23

175:                                              ; preds = %167
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %179

177:                                              ; preds = %169
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN12justkeydding3KeyD2Ev(ptr noundef nonnull align 8 dereferenceable(856) %28) #8
  br label %179

179:                                              ; preds = %177, %175
  %.pn = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 856, ptr nonnull %28) #8
  br label %188

._crit_edge61:                                    ; preds = %172, %137
  %.027.lcssa = phi double [ %32, %137 ], [ %.330, %172 ]
  %180 = getelementptr inbounds i8, ptr %0, i64 256
  %181 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #8
  %182 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #8
  invoke void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPN12justkeydding3KeyESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr %181, ptr %182)
          to label %183 unwind label %.loopexit.split-lp

183:                                              ; preds = %._crit_edge61
  %184 = getelementptr inbounds i8, ptr %0, i64 224
  store double %.027.lcssa, ptr %184, align 8, !tbaa !24
  %185 = getelementptr inbounds i8, ptr %0, i64 232
  %186 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIdSaIdEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %185, ptr noundef nonnull align 8 dereferenceable(24) %22)
          to label %187 unwind label %.loopexit.split-lp

187:                                              ; preds = %183
  store i32 8, ptr %0, align 8, !tbaa !47
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  ret void

188:                                              ; preds = %.loopexit, %.loopexit.split-lp, %179
  %.pn33 = phi { ptr, i32 } [ %.pn, %179 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %189

189:                                              ; preds = %188, %151
  %.pn33.pn = phi { ptr, i32 } [ %.pn33, %188 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %20) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %20) #8
  br label %190

190:                                              ; preds = %189, %136, %73, %61
  %.pn40 = phi { ptr, i32 } [ %62, %61 ], [ %.pn36.pn.pn, %136 ], [ %.pn33.pn, %189 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  call void @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %3) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %3) #8
  call void @_ZNSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %2) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #8
  resume { ptr, i32 } %.pn40
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNSt14numeric_limitsIdE8infinityEv() local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN12justkeydding17HiddenMarkovModel11ViterbiNodeC2Edi(ptr noundef nonnull align 8 dereferenceable(12), double noundef, i32 noundef) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEEixERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local ptr @_ZSt4nextIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEEET_S7_NSt15iterator_traitsIS7_E15difference_typeE(ptr, i64 noundef) local_unnamed_addr #6

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6vectorISt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS3_EEESaISC_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56)) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt8__detail20_Node_const_iteratorISt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEELb0ELb0EEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #1 align 2

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

declare void @_ZN12justkeydding3KeyC1Ei(ptr noundef nonnull align 8 dereferenceable(856), i32 noundef) unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(12) ptr @_ZNSt13unordered_mapIiN12justkeydding17HiddenMarkovModel11ViterbiNodeESt4hashIiESt8equal_toIiESaISt4pairIKiS2_EEE2atERS8_(ptr noundef nonnull align 8 dereferenceable(56), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt7reverseIN9__gnu_cxx17__normal_iteratorIPN12justkeydding3KeyESt6vectorIS3_SaIS3_EEEEEvT_S9_(ptr, ptr) local_unnamed_addr #6

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN12justkeydding17HiddenMarkovModel11ViterbiNodeE", !10, i64 0, !6, i64 8}
!13 = !{i64 0, i64 8, !9, i64 8, i64 4, !5}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!12, !6, i64 8}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !15}
!19 = distinct !{!19, !15}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt4pairIKiN12justkeydding17HiddenMarkovModel11ViterbiNodeEE", !6, i64 0, !12, i64 8}
!22 = distinct !{!22, !15}
!23 = distinct !{!23, !15}
!24 = !{!25, !10, i64 224}
!25 = !{!"_ZTSN12justkeydding17HiddenMarkovModelE", !6, i64 0, !26, i64 8, !26, i64 32, !31, i64 56, !37, i64 112, !37, i64 168, !10, i64 224, !39, i64 232, !43, i64 256}
!26 = !{!"_ZTSSt6vectorIiSaIiEE", !27, i64 0}
!27 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!30 = !{!"any pointer", !7, i64 0}
!31 = !{!"_ZTSSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEE", !32, i64 0}
!32 = !{!"_ZTSSt10_HashtableIiSt4pairIKidESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !30, i64 0, !33, i64 8, !34, i64 16, !33, i64 24, !35, i64 32, !30, i64 48}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !30, i64 0}
!35 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !36, i64 0, !33, i64 8}
!36 = !{!"float", !7, i64 0}
!37 = !{!"_ZTSSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEE", !38, i64 0}
!38 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt13unordered_mapIidSt4hashIiESt8equal_toIiESaIS0_IS1_dEEEESaISA_ENSt8__detail10_Select1stES6_S4_NSC_18_Mod_range_hashingENSC_20_Default_ranged_hashENSC_20_Prime_rehash_policyENSC_17_Hashtable_traitsILb0ELb0ELb1EEEE", !30, i64 0, !33, i64 8, !34, i64 16, !33, i64 24, !35, i64 32, !30, i64 48}
!39 = !{!"_ZTSSt6vectorIdSaIdEE", !40, i64 0}
!40 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !41, i64 0}
!41 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!43 = !{!"_ZTSSt6vectorIN12justkeydding3KeyESaIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE12_Vector_implE", !46, i64 0}
!46 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE17_Vector_impl_dataE", !30, i64 0, !30, i64 8, !30, i64 16}
!47 = !{!25, !6, i64 0}


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