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

; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.57" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.58" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.59" = type { ptr }
%"struct.std::_Rb_tree_iterator.60" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<justkeydding::Key, std::pair<const justkeydding::Key, double>, std::_Select1st<std::pair<const justkeydding::Key, double>>, std::less<justkeydding::Key>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<justkeydding::Key, std::pair<const justkeydding::Key, double>, std::_Select1st<std::pair<const justkeydding::Key, double>>, std::less<justkeydding::Key>>::_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 }
%"struct.std::_Rb_tree_const_iterator.63" = type { ptr }
%"struct.std::_Rb_tree_iterator.64" = type { ptr }
%"class.std::map.67" = type { %"class.std::_Rb_tree.68" }
%"class.std::_Rb_tree.68" = type { %"struct.std::_Rb_tree<justkeydding::PitchClass, std::pair<const justkeydding::PitchClass, double>, std::_Select1st<std::pair<const justkeydding::PitchClass, double>>, std::less<justkeydding::PitchClass>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<justkeydding::PitchClass, std::pair<const justkeydding::PitchClass, double>, std::_Select1st<std::pair<const justkeydding::PitchClass, double>>, std::less<justkeydding::PitchClass>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_const_iterator.73" = type { ptr }
%"struct.std::_Rb_tree_iterator.74" = 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 }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"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.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::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" = type { %"class.justkeydding::Key", double }
%"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::pair.61" = type { %"class.justkeydding::Key", %"class.std::map" }
%"struct.std::pair.65" = type { %"class.justkeydding::Key", %"class.std::map.67" }
%"struct.std::pair.75" = type { %"class.justkeydding::PitchClass", double }
%"class.justkeydding::PitchClass" = type { i32, %"class.std::__cxx11::basic_string", %"class.std::map.51", [12 x %"class.std::__cxx11::basic_string"] }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12justkeydding17HiddenMarkovModelC2ESt6vectorINS_10PitchClassESaIS2_EES1_INS_3KeyESaIS5_EESt3mapIS5_dSt4lessIS5_ESaISt4pairIKS5_dEEES8_IS5_SF_SA_SaISB_ISC_SF_EEES8_IS5_S8_IS2_dS9_IS2_ESaISB_IKS2_dEEESA_SaISB_ISC_SN_EEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  %23 = alloca i32, align 4
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %25 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %29 = alloca i32, align 4
  %30 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %31 = alloca %"struct.std::_Rb_tree_const_iterator.59", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator.60", align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator.59", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator.60", align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca %"class.std::map", align 8
  %38 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %39 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %40 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %41 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %42 = alloca i32, align 4
  %43 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %44 = alloca %"struct.std::_Rb_tree_const_iterator.59", align 8
  %45 = alloca %"struct.std::_Rb_tree_const_iterator.63", align 8
  %46 = alloca %"struct.std::_Rb_tree_iterator.64", align 8
  %47 = alloca %"struct.std::_Rb_tree_const_iterator.63", align 8
  %48 = alloca %"struct.std::_Rb_tree_iterator.64", align 8
  %49 = alloca i32, align 4
  %50 = alloca %"class.std::map.67", align 8
  %51 = alloca %"struct.std::_Rb_tree_const_iterator.73", align 8
  %52 = alloca %"struct.std::_Rb_tree_iterator.74", align 8
  %53 = alloca %"struct.std::_Rb_tree_const_iterator.73", align 8
  %54 = alloca %"struct.std::_Rb_tree_iterator.74", align 8
  %55 = alloca i32, align 4
  %56 = alloca %"struct.std::_Rb_tree_const_iterator.73", align 8
  %57 = alloca %"struct.std::_Rb_tree_const_iterator.63", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %58 = load ptr, ptr %7, align 8
  %59 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 1
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  %60 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 2
  call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  %61 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 3
  call void @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #5
  %62 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 4
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %62) #5
  %63 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 5
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %63) #5
  %64 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 7
  call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #5
  %65 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 8
  call void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %66 = call ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %14, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %68

68:                                               ; preds = %79, %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %69 = call ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.47", ptr %15, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding10PitchClassEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br i1 %71, label %73, label %72

72:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %86

73:                                               ; preds = %68
  %74 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %75 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  %76 = invoke noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472) %75)
          to label %77 unwind label %82

77:                                               ; preds = %73
  store i32 %76, ptr %16, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %78 unwind label %82

78:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %79

79:                                               ; preds = %78
  %80 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0) #5
  %81 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %80, ptr %81, align 8
  br label %68, !llvm.loop !11

82:                                               ; preds = %77, %73
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %17, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %249

86:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %87 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %88 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %21, i32 0, i32 0
  store ptr %87, ptr %88, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  br label %89

89:                                               ; preds = %100, %86
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %90 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  %91 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.58", ptr %22, i32 0, i32 0
  store ptr %90, ptr %91, align 8
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding3KeyEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br i1 %92, label %94, label %93

93:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %107

94:                                               ; preds = %89
  %95 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %96 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %97 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %96)
          to label %98 unwind label %103

98:                                               ; preds = %94
  store i32 %97, ptr %23, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %95, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %99 unwind label %103

99:                                               ; preds = %98
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %100

100:                                              ; preds = %99
  %101 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #5
  %102 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.57", ptr %24, i32 0, i32 0
  store ptr %101, ptr %102, align 8
  br label %89, !llvm.loop !13

103:                                              ; preds = %98, %94
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %17, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %249

107:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %108 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  %109 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %26, i32 0, i32 0
  store ptr %108, ptr %109, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %110

110:                                              ; preds = %126, %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %111 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  %112 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %28, i32 0, i32 0
  store ptr %111, ptr %112, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  %113 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br i1 %113, label %115, label %114

114:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %133

115:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %116 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %117 = getelementptr inbounds %"struct.std::pair", ptr %116, i32 0, i32 0
  %118 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %117)
          to label %119 unwind label %129

119:                                              ; preds = %115
  store i32 %118, ptr %29, align 4, !tbaa !9
  %120 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %121 = getelementptr inbounds %"struct.std::pair", ptr %120, i32 0, i32 1
  %122 = load double, ptr %121, align 8, !tbaa !14
  %123 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 3
  %124 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %123, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %125 unwind label %129

125:                                              ; preds = %119
  store double %122, ptr %124, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %126

126:                                              ; preds = %125
  %127 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0) #5
  %128 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %30, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  br label %110, !llvm.loop !30

129:                                              ; preds = %119, %115
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %17, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %249

133:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %134 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  %135 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.60", ptr %32, i32 0, i32 0
  store ptr %134, ptr %135, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %136

136:                                              ; preds = %185, %133
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #5
  %137 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  %138 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.60", ptr %34, i32 0, i32 0
  store ptr %137, ptr %138, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %139 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #5
  br i1 %139, label %141, label %140

140:                                              ; preds = %136
  store i32 11, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %190

141:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %142 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  %143 = getelementptr inbounds %"struct.std::pair.61", ptr %142, i32 0, i32 0
  %144 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %143)
          to label %145 unwind label %156

145:                                              ; preds = %141
  store i32 %144, ptr %36, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %37) #5
  %146 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  %147 = getelementptr inbounds %"struct.std::pair.61", ptr %146, i32 0, i32 1
  invoke void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %37, ptr noundef nonnull align 8 dereferenceable(48) %147)
          to label %148 unwind label %160

148:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #5
  %149 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  %150 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %39, i32 0, i32 0
  store ptr %149, ptr %150, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #5
  br label %151

151:                                              ; preds = %177, %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #5
  %152 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  %153 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %41, i32 0, i32 0
  store ptr %152, ptr %153, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #5
  %154 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #5
  br i1 %154, label %164, label %155

155:                                              ; preds = %151
  store i32 14, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  br label %184

156:                                              ; preds = %141
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %17, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %18, align 4
  br label %189

160:                                              ; preds = %145
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %17, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %18, align 4
  br label %188

164:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #5
  %165 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  %166 = getelementptr inbounds %"struct.std::pair", ptr %165, i32 0, i32 0
  %167 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %166)
          to label %168 unwind label %180

168:                                              ; preds = %164
  store i32 %167, ptr %42, align 4, !tbaa !9
  %169 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  %170 = getelementptr inbounds %"struct.std::pair", ptr %169, i32 0, i32 1
  %171 = load double, ptr %170, align 8, !tbaa !14
  %172 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 4
  %173 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %172, ptr noundef nonnull align 4 dereferenceable(4) %36)
          to label %174 unwind label %180

174:                                              ; preds = %168
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %173, ptr noundef nonnull align 4 dereferenceable(4) %42)
          to label %176 unwind label %180

176:                                              ; preds = %174
  store double %171, ptr %175, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  br label %177

177:                                              ; preds = %176
  %178 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %38, i32 noundef 0) #5
  %179 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator", ptr %43, i32 0, i32 0
  store ptr %178, ptr %179, align 8
  br label %151, !llvm.loop !31

180:                                              ; preds = %174, %168, %164
  %181 = landingpad { ptr, i32 }
          cleanup
  %182 = extractvalue { ptr, i32 } %181, 0
  store ptr %182, ptr %17, align 8
  %183 = extractvalue { ptr, i32 } %181, 1
  store i32 %183, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #5
  call void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  br label %188

184:                                              ; preds = %155
  call void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %37) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  br label %185

185:                                              ; preds = %184
  %186 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef 0) #5
  %187 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.59", ptr %44, i32 0, i32 0
  store ptr %186, ptr %187, align 8
  br label %136, !llvm.loop !32

188:                                              ; preds = %180, %160
  call void @llvm.lifetime.end.p0(i64 48, ptr %37) #5
  br label %189

189:                                              ; preds = %188, %156
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  br label %249

190:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #5
  %191 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  %192 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.64", ptr %46, i32 0, i32 0
  store ptr %191, ptr %192, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #5
  br label %193

193:                                              ; preds = %242, %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #5
  %194 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  %195 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.64", ptr %48, i32 0, i32 0
  store ptr %194, ptr %195, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %48) #5
  %196 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %47) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #5
  br i1 %196, label %198, label %197

197:                                              ; preds = %193
  store i32 17, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %247

198:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #5
  %199 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #5
  %200 = getelementptr inbounds %"struct.std::pair.65", ptr %199, i32 0, i32 0
  %201 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %200)
          to label %202 unwind label %213

202:                                              ; preds = %198
  store i32 %201, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %50) #5
  %203 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #5
  %204 = getelementptr inbounds %"struct.std::pair.65", ptr %203, i32 0, i32 1
  invoke void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %50, ptr noundef nonnull align 8 dereferenceable(48) %204)
          to label %205 unwind label %217

205:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #5
  %206 = call ptr @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  %207 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.74", ptr %52, i32 0, i32 0
  store ptr %206, ptr %207, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %52) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #5
  br label %208

208:                                              ; preds = %234, %205
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #5
  %209 = call ptr @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  %210 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.74", ptr %54, i32 0, i32 0
  store ptr %209, ptr %210, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef nonnull align 8 dereferenceable(8) %54) #5
  %211 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %53) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #5
  br i1 %211, label %221, label %212

212:                                              ; preds = %208
  store i32 20, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  br label %241

213:                                              ; preds = %198
  %214 = landingpad { ptr, i32 }
          cleanup
  %215 = extractvalue { ptr, i32 } %214, 0
  store ptr %215, ptr %17, align 8
  %216 = extractvalue { ptr, i32 } %214, 1
  store i32 %216, ptr %18, align 4
  br label %246

217:                                              ; preds = %202
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %17, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %18, align 4
  br label %245

221:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #5
  %222 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #5
  %223 = getelementptr inbounds %"struct.std::pair.75", ptr %222, i32 0, i32 0
  %224 = invoke noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472) %223)
          to label %225 unwind label %237

225:                                              ; preds = %221
  store i32 %224, ptr %55, align 4, !tbaa !9
  %226 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %51) #5
  %227 = getelementptr inbounds %"struct.std::pair.75", ptr %226, i32 0, i32 1
  %228 = load double, ptr %227, align 8, !tbaa !33
  %229 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 5
  %230 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %229, ptr noundef nonnull align 4 dereferenceable(4) %49)
          to label %231 unwind label %237

231:                                              ; preds = %225
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %230, ptr noundef nonnull align 4 dereferenceable(4) %55)
          to label %233 unwind label %237

233:                                              ; preds = %231
  store double %228, ptr %232, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  br label %234

234:                                              ; preds = %233
  %235 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %51, i32 noundef 0) #5
  %236 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.73", ptr %56, i32 0, i32 0
  store ptr %235, ptr %236, align 8
  br label %208, !llvm.loop !36

237:                                              ; preds = %231, %225, %221
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %17, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #5
  call void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  br label %245

241:                                              ; preds = %212
  call void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %50) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  br label %242

242:                                              ; preds = %241
  %243 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %45, i32 noundef 0) #5
  %244 = getelementptr inbounds %"struct.std::_Rb_tree_const_iterator.63", ptr %57, i32 0, i32 0
  store ptr %243, ptr %244, align 8
  br label %193, !llvm.loop !37

245:                                              ; preds = %237, %217
  call void @llvm.lifetime.end.p0(i64 48, ptr %50) #5
  br label %246

246:                                              ; preds = %245, %213
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #5
  br label %249

247:                                              ; preds = %197
  %248 = getelementptr inbounds %"class.justkeydding::HiddenMarkovModel", ptr %58, i32 0, i32 0
  store i32 7, ptr %248, align 8, !tbaa !38
  ret void

249:                                              ; preds = %246, %189, %129, %103, %82
  call void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %65) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #5
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %63) #5
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %62) #5
  call void @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %61) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %59) #5
  br label %250

250:                                              ; preds = %249
  %251 = load ptr, ptr %17, align 8
  %252 = load i32, ptr %18, align 4
  %253 = insertvalue { ptr, i32 } poison, ptr %251, 0
  %254 = insertvalue { ptr, i32 } %253, i32 %252, 1
  resume { ptr, i32 } %254
}

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding10PitchClassEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_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 @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

declare noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472)) #4

declare i32 @__gxx_personality_v0(...)

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

; 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 void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_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_cxxneIPKN12justkeydding3KeyEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_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 @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

declare noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856)) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #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)) #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0 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)) #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEES7_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { 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 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !28, i64 856}
!15 = !{!"_ZTSSt4pairIKN12justkeydding3KeyEdE", !16, i64 0, !28, i64 856}
!16 = !{!"_ZTSN12justkeydding3KeyE", !10, i64 0, !17, i64 8, !20, i64 40, !7, i64 88}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !21, i64 0}
!21 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !22, i64 0}
!22 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !23, i64 0, !25, i64 8}
!23 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !24, i64 0}
!24 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!25 = !{!"_ZTSSt15_Rb_tree_header", !26, i64 0, !19, i64 32}
!26 = !{!"_ZTSSt18_Rb_tree_node_base", !27, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!27 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!28 = !{!"double", !7, i64 0}
!29 = !{!28, !28, i64 0}
!30 = distinct !{!30, !12}
!31 = distinct !{!31, !12}
!32 = distinct !{!32, !12}
!33 = !{!34, !28, i64 472}
!34 = !{!"_ZTSSt4pairIKN12justkeydding10PitchClassEdE", !35, i64 0, !28, i64 472}
!35 = !{!"_ZTSN12justkeydding10PitchClassE", !10, i64 0, !17, i64 8, !20, i64 40, !7, i64 88}
!36 = distinct !{!36, !12}
!37 = distinct !{!37, !12}
!38 = !{!39, !10, i64 0}
!39 = !{!"_ZTSN12justkeydding17HiddenMarkovModelE", !10, i64 0, !40, i64 8, !40, i64 32, !44, i64 56, !49, i64 112, !49, i64 168, !28, i64 224, !51, i64 232, !55, i64 256}
!40 = !{!"_ZTSSt6vectorIiSaIiEE", !41, i64 0}
!41 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !42, i64 0}
!42 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!44 = !{!"_ZTSSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEE", !45, i64 0}
!45 = !{!"_ZTSSt10_HashtableIiSt4pairIKidESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !46, i64 16, !19, i64 24, !47, i64 32, !6, i64 48}
!46 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!47 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !48, i64 0, !19, i64 8}
!48 = !{!"float", !7, i64 0}
!49 = !{!"_ZTSSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEE", !50, i64 0}
!50 = !{!"_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, !19, i64 8, !46, i64 16, !19, i64 24, !47, i64 32, !6, i64 48}
!51 = !{!"_ZTSSt6vectorIdSaIdEE", !52, i64 0}
!52 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !54, i64 0}
!54 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!55 = !{!"_ZTSSt6vectorIN12justkeydding3KeyESaIS1_EE", !56, i64 0}
!56 = !{!"_ZTSSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE12_Vector_implE", !58, i64 0}
!58 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}


; 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.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.47" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.57" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.58" = type { ptr }
%"struct.std::_Rb_tree_const_iterator" = type { ptr }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::_Rb_tree_const_iterator.59" = type { ptr }
%"struct.std::_Rb_tree_iterator.60" = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<justkeydding::Key, std::pair<const justkeydding::Key, double>, std::_Select1st<std::pair<const justkeydding::Key, double>>, std::less<justkeydding::Key>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<justkeydding::Key, std::pair<const justkeydding::Key, double>, std::_Select1st<std::pair<const justkeydding::Key, double>>, std::less<justkeydding::Key>>::_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 }
%"struct.std::_Rb_tree_const_iterator.63" = type { ptr }
%"struct.std::_Rb_tree_iterator.64" = type { ptr }
%"class.std::map.67" = type { %"class.std::_Rb_tree.68" }
%"class.std::_Rb_tree.68" = type { %"struct.std::_Rb_tree<justkeydding::PitchClass, std::pair<const justkeydding::PitchClass, double>, std::_Select1st<std::pair<const justkeydding::PitchClass, double>>, std::less<justkeydding::PitchClass>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<justkeydding::PitchClass, std::pair<const justkeydding::PitchClass, double>, std::_Select1st<std::pair<const justkeydding::PitchClass, double>>, std::less<justkeydding::PitchClass>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_const_iterator.73" = type { ptr }
%"struct.std::_Rb_tree_iterator.74" = type { ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN12justkeydding17HiddenMarkovModelC2ESt6vectorINS_10PitchClassESaIS2_EES1_INS_3KeyESaIS5_EESt3mapIS5_dSt4lessIS5_ESaISt4pairIKS5_dEEES8_IS5_SF_SA_SaISB_ISC_SF_EEES8_IS5_S8_IS2_dS9_IS2_ESaISB_IKS2_dEEESA_SaISB_ISC_SN_EEE(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.47", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.57", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.58", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %16 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %17 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %18 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %19 = alloca i32, align 4
  %20 = alloca %"struct.std::_Rb_tree_const_iterator.59", align 8
  %21 = alloca %"struct.std::_Rb_tree_iterator.60", align 8
  %22 = alloca %"struct.std::_Rb_tree_const_iterator.59", align 8
  %23 = alloca %"struct.std::_Rb_tree_iterator.60", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::map", align 8
  %26 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %27 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %28 = alloca %"struct.std::_Rb_tree_const_iterator", align 8
  %29 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %30 = alloca i32, align 4
  %31 = alloca %"struct.std::_Rb_tree_const_iterator.63", align 8
  %32 = alloca %"struct.std::_Rb_tree_iterator.64", align 8
  %33 = alloca %"struct.std::_Rb_tree_const_iterator.63", align 8
  %34 = alloca %"struct.std::_Rb_tree_iterator.64", align 8
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::map.67", align 8
  %37 = alloca %"struct.std::_Rb_tree_const_iterator.73", align 8
  %38 = alloca %"struct.std::_Rb_tree_iterator.74", align 8
  %39 = alloca %"struct.std::_Rb_tree_const_iterator.73", align 8
  %40 = alloca %"struct.std::_Rb_tree_iterator.74", align 8
  %41 = alloca i32, align 4
  %42 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  %43 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZNSt6vectorIiSaIiEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  %44 = getelementptr inbounds i8, ptr %0, i64 56
  tail call void @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #5
  %45 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %45) #5
  %46 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #5
  %47 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZNSt6vectorIdSaIdEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  %48 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %49 = tail call ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %49, ptr %8, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %50 = call ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %50, ptr %9, align 8
  %51 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding10PitchClassEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %51, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %58, %6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %52 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %52, ptr %12, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %53 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %53, ptr %13, align 8
  %54 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding3KeyEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br i1 %54, label %.lr.ph21, label %._crit_edge22

.lr.ph:                                           ; preds = %6, %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %55 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %56 = invoke noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472) %55)
          to label %57 unwind label %62

57:                                               ; preds = %.lr.ph
  store i32 %56, ptr %10, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %42, ptr noundef nonnull align 4 dereferenceable(4) %10)
          to label %58 unwind label %62

58:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  %59 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %60 = call ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #5
  store ptr %60, ptr %9, align 8
  %61 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding10PitchClassEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br i1 %61, label %.lr.ph, label %._crit_edge, !llvm.loop !9

62:                                               ; preds = %57, %.lr.ph
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br label %161

._crit_edge22:                                    ; preds = %70, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #5
  %64 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  store ptr %64, ptr %16, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %65 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  store ptr %65, ptr %18, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %66 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %66, label %.lr.ph24, label %._crit_edge25

.lr.ph21:                                         ; preds = %._crit_edge, %70
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #5
  %67 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %68 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %67)
          to label %69 unwind label %74

69:                                               ; preds = %.lr.ph21
  store i32 %68, ptr %14, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIiSaIiEE9push_backEOi(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 4 dereferenceable(4) %14)
          to label %70 unwind label %74

70:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  %71 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %72 = call ptr @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #5
  store ptr %72, ptr %13, align 8
  %73 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN12justkeydding3KeyEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_EE(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  br i1 %73, label %.lr.ph21, label %._crit_edge22, !llvm.loop !11

74:                                               ; preds = %69, %.lr.ph21
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  br label %161

._crit_edge25:                                    ; preds = %86, %._crit_edge22
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #5
  %76 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  store ptr %76, ptr %21, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %77 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  store ptr %77, ptr %23, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %78 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br i1 %78, label %.lr.ph30, label %._crit_edge31

.lr.ph24:                                         ; preds = %._crit_edge22, %86
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #5
  %79 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %80 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %79)
          to label %81 unwind label %90

81:                                               ; preds = %.lr.ph24
  store i32 %80, ptr %19, align 4, !tbaa !5
  %82 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %83 = getelementptr inbounds i8, ptr %82, i64 856
  %84 = load double, ptr %83, align 8, !tbaa !12
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %86 unwind label %90

86:                                               ; preds = %81
  store double %84, ptr %85, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  %87 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #5
  %88 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %3) #5
  store ptr %88, ptr %18, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  %89 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #5
  br i1 %89, label %.lr.ph24, label %._crit_edge25, !llvm.loop !29

90:                                               ; preds = %81, %.lr.ph24
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  br label %161

._crit_edge31:                                    ; preds = %._crit_edge28, %._crit_edge25
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #5
  %92 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  store ptr %92, ptr %32, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #5
  %93 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  store ptr %93, ptr %34, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %94 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  br i1 %94, label %.lr.ph36, label %._crit_edge37

.lr.ph30:                                         ; preds = %._crit_edge25, %._crit_edge28
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #5
  %95 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %96 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %95)
          to label %97 unwind label %107

97:                                               ; preds = %.lr.ph30
  store i32 %96, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %25) #5
  %98 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  %99 = getelementptr inbounds i8, ptr %98, i64 856
  invoke void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %25, ptr noundef nonnull align 8 dereferenceable(48) %99)
          to label %100 unwind label %109

100:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #5
  %101 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  store ptr %101, ptr %27, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #5
  %102 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  store ptr %102, ptr %29, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  %103 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #5
  br i1 %103, label %.lr.ph27, label %._crit_edge28

._crit_edge28:                                    ; preds = %120, %100
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  %104 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #5
  %105 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %4) #5
  store ptr %105, ptr %23, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %106 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEESD_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #5
  br i1 %106, label %.lr.ph30, label %._crit_edge31, !llvm.loop !30

107:                                              ; preds = %.lr.ph30
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %127

109:                                              ; preds = %97
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %126

.lr.ph27:                                         ; preds = %100, %120
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #5
  %111 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  %112 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %111)
          to label %113 unwind label %124

113:                                              ; preds = %.lr.ph27
  store i32 %112, ptr %30, align 4, !tbaa !5
  %114 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  %115 = getelementptr inbounds i8, ptr %114, i64 856
  %116 = load double, ptr %115, align 8, !tbaa !12
  %117 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %45, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %118 unwind label %124

118:                                              ; preds = %113
  %119 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %117, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %120 unwind label %124

120:                                              ; preds = %118
  store double %116, ptr %119, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  %121 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #5
  %122 = call ptr @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  store ptr %122, ptr %29, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #5
  %123 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #5
  br i1 %123, label %.lr.ph27, label %._crit_edge28, !llvm.loop !31

124:                                              ; preds = %118, %113, %.lr.ph27
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #5
  call void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %25) #5
  br label %126

126:                                              ; preds = %124, %109
  %.pn15 = phi { ptr, i32 } [ %125, %124 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %25) #5
  br label %127

127:                                              ; preds = %126, %107
  %.pn15.pn = phi { ptr, i32 } [ %.pn15, %126 ], [ %108, %107 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #5
  br label %161

._crit_edge37:                                    ; preds = %._crit_edge34, %._crit_edge31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #5
  store i32 7, ptr %0, align 8, !tbaa !32
  ret void

.lr.ph36:                                         ; preds = %._crit_edge31, %._crit_edge34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %35) #5
  %128 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  %129 = invoke noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856) %128)
          to label %130 unwind label %140

130:                                              ; preds = %.lr.ph36
  store i32 %129, ptr %35, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %36) #5
  %131 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #5
  %132 = getelementptr inbounds i8, ptr %131, i64 856
  invoke void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef nonnull align 8 dereferenceable(48) %132)
          to label %133 unwind label %142

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %37) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %38) #5
  %134 = call ptr @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  store ptr %134, ptr %38, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %38) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #5
  %135 = call ptr @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  store ptr %135, ptr %40, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  %136 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #5
  br i1 %136, label %.lr.ph33, label %._crit_edge34

._crit_edge34:                                    ; preds = %153, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #5
  call void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #5
  %137 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %31, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #5
  %138 = call ptr @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %5) #5
  store ptr %138, ptr %34, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #5
  %139 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #5
  br i1 %139, label %.lr.ph36, label %._crit_edge37, !llvm.loop !53

140:                                              ; preds = %.lr.ph36
  %141 = landingpad { ptr, i32 }
          cleanup
  br label %160

142:                                              ; preds = %130
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %159

.lr.ph33:                                         ; preds = %133, %153
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %41) #5
  %144 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  %145 = invoke noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472) %144)
          to label %146 unwind label %157

146:                                              ; preds = %.lr.ph33
  store i32 %145, ptr %41, align 4, !tbaa !5
  %147 = call noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #5
  %148 = getelementptr inbounds i8, ptr %147, i64 472
  %149 = load double, ptr %148, align 8, !tbaa !54
  %150 = invoke noundef nonnull align 8 dereferenceable(56) ptr @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %46, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %151 unwind label %157

151:                                              ; preds = %146
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEEixERS5_(ptr noundef nonnull align 8 dereferenceable(56) %150, ptr noundef nonnull align 4 dereferenceable(4) %41)
          to label %153 unwind label %157

153:                                              ; preds = %151
  store double %149, ptr %152, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #5
  %154 = call ptr @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %37, i32 noundef 0) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %39) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %40) #5
  %155 = call ptr @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  store ptr %155, ptr %40, align 8
  call void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  %156 = call noundef zeroext i1 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEES7_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %39) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %40) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %39) #5
  br i1 %156, label %.lr.ph33, label %._crit_edge34, !llvm.loop !57

157:                                              ; preds = %151, %146, %.lr.ph33
  %158 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %41) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %37) #5
  call void @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  br label %159

159:                                              ; preds = %157, %142
  %.pn = phi { ptr, i32 } [ %158, %157 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %36) #5
  br label %160

160:                                              ; preds = %159, %140
  %.pn.pn = phi { ptr, i32 } [ %.pn, %159 ], [ %141, %140 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %35) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #5
  br label %161

161:                                              ; preds = %160, %127, %90, %74, %62
  %.pn18 = phi { ptr, i32 } [ %63, %62 ], [ %75, %74 ], [ %91, %90 ], [ %.pn15.pn, %127 ], [ %.pn.pn, %160 ]
  call void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #5
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %47) #5
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %46) #5
  call void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %45) #5
  call void @_ZNSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEED2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #5
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %42) #5
  resume { ptr, i32 } %.pn18
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN12justkeydding10PitchClassESaIS1_EE5beginEv(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_iteratorIPKN12justkeydding10PitchClassESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

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

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

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

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

declare noundef i32 @_ZNK12justkeydding10PitchClass6getIntEv(ptr noundef nonnull align 8 dereferenceable(472)) local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

; 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 void @_ZN9__gnu_cxx17__normal_iteratorIPKN12justkeydding3KeyESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_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_cxxneIPKN12justkeydding3KeyEPS2_St6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T1_EERKNS9_IT0_SB_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 @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

declare noundef i32 @_ZNK12justkeydding3Key6getIntEv(ptr noundef nonnull align 8 dereferenceable(856)) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEES7_(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 @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyEdEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) 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 #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEEC2ERKSt17_Rb_tree_iteratorISA_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapIS2_dSt4lessIS2_ESaIS0_IS3_dEEEEESD_(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 @_ZNSt3mapIN12justkeydding3KeyES_IS1_dSt4lessIS1_ESaISt4pairIKS1_dEEES3_SaIS4_IS5_S8_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt3mapIN12justkeydding3KeyEdSt4lessIS1_ESaISt4pairIKS1_dEEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0 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 #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEEC2ERKSt17_Rb_tree_iteratorISC_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding3KeyESt3mapINS1_10PitchClassEdSt4lessIS5_ESaIS0_IKS5_dEEEEESF_(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 @_ZNSt3mapIN12justkeydding3KeyES_INS0_10PitchClassEdSt4lessIS2_ESaISt4pairIKS2_dEEES3_IS1_ESaIS5_IKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEEC2ERKSt17_Rb_tree_iteratorIS4_E(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 @_ZStneRKSt23_Rb_tree_const_iteratorISt4pairIKN12justkeydding10PitchClassEdEES7_(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 @_ZNSt3mapIN12justkeydding10PitchClassEdSt4lessIS1_ESaISt4pairIKS1_dEEE3endEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #1 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN12justkeydding3KeyESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(56)) unnamed_addr #3 align 2

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !27, i64 856}
!13 = !{!"_ZTSSt4pairIKN12justkeydding3KeyEdE", !14, i64 0, !27, i64 856}
!14 = !{!"_ZTSN12justkeydding3KeyE", !6, i64 0, !15, i64 8, !19, i64 40, !7, i64 88}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !18, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"long", !7, i64 0}
!19 = !{!"_ZTSSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiSt4lessIS5_ESaISt4pairIKS5_iEEE", !20, i64 0}
!20 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE", !21, i64 0}
!21 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE13_Rb_tree_implISC_Lb1EEE", !22, i64 0, !24, i64 8}
!22 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !23, i64 0}
!23 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!24 = !{!"_ZTSSt15_Rb_tree_header", !25, i64 0, !18, i64 32}
!25 = !{!"_ZTSSt18_Rb_tree_node_base", !26, i64 0, !17, i64 8, !17, i64 16, !17, i64 24}
!26 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = !{!27, !27, i64 0}
!29 = distinct !{!29, !10}
!30 = distinct !{!30, !10}
!31 = distinct !{!31, !10}
!32 = !{!33, !6, i64 0}
!33 = !{!"_ZTSN12justkeydding17HiddenMarkovModelE", !6, i64 0, !34, i64 8, !34, i64 32, !38, i64 56, !43, i64 112, !43, i64 168, !27, i64 224, !45, i64 232, !49, i64 256}
!34 = !{!"_ZTSSt6vectorIiSaIiEE", !35, i64 0}
!35 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !36, i64 0}
!36 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!38 = !{!"_ZTSSt13unordered_mapIidSt4hashIiESt8equal_toIiESaISt4pairIKidEEE", !39, i64 0}
!39 = !{!"_ZTSSt10_HashtableIiSt4pairIKidESaIS2_ENSt8__detail10_Select1stESt8equal_toIiESt4hashIiENS4_18_Mod_range_hashingENS4_20_Default_ranged_hashENS4_20_Prime_rehash_policyENS4_17_Hashtable_traitsILb0ELb0ELb1EEEE", !17, i64 0, !18, i64 8, !40, i64 16, !18, i64 24, !41, i64 32, !17, i64 48}
!40 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !17, i64 0}
!41 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !42, i64 0, !18, i64 8}
!42 = !{!"float", !7, i64 0}
!43 = !{!"_ZTSSt13unordered_mapIiS_IidSt4hashIiESt8equal_toIiESaISt4pairIKidEEES1_S3_SaIS4_IS5_S8_EEE", !44, i64 0}
!44 = !{!"_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", !17, i64 0, !18, i64 8, !40, i64 16, !18, i64 24, !41, i64 32, !17, i64 48}
!45 = !{!"_ZTSSt6vectorIdSaIdEE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIdSaIdEE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIdSaIdEE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!49 = !{!"_ZTSSt6vectorIN12justkeydding3KeyESaIS1_EE", !50, i64 0}
!50 = !{!"_ZTSSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE", !51, i64 0}
!51 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE12_Vector_implE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseIN12justkeydding3KeyESaIS1_EE17_Vector_impl_dataE", !17, i64 0, !17, i64 8, !17, i64 16}
!53 = distinct !{!53, !10}
!54 = !{!55, !27, i64 472}
!55 = !{!"_ZTSSt4pairIKN12justkeydding10PitchClassEdE", !56, i64 0, !27, i64 472}
!56 = !{!"_ZTSN12justkeydding10PitchClassE", !6, i64 0, !15, i64 8, !19, i64 40, !7, i64 88}
!57 = distinct !{!57, !10}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass