; LLVM IR from thepowersgang/mrustc :: src/hir_conv/resolve_ufcs.ll (Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE)

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

%"class.std::function.262" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.265 = type { i8 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::function.266" = type { %"class.std::_Function_base", ptr }
%class.anon.269 = type { ptr }
%"struct.std::_Rb_tree_iterator.270" = type { ptr }
%"class.std::function.271" = type { %"class.std::_Function_base", ptr }
%class.anon.274 = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%"class.HIR::Crate" = type { %class.RcString, i32, %"class.HIR::Module", %"class.std::vector.38", %"class.std::vector.43", %"struct.HIR::Crate::ImplGroup", %"class.HIR::InherentCache", %"class.std::map.62", %"class.std::map.67", %"class.std::vector.72", %"struct.HIR::Crate::ImplGroup.77", %"class.std::map.88", %"class.std::map.93", %"class.std::vector.98", %"class.std::unordered_map.103", %"class.std::vector.98", %"class.std::unordered_map.122", %"class.std::vector.136", %"class.std::vector.141" }
%class.RcString = type { ptr }
%"class.HIR::Module" = type { %"class.std::vector", %"class.std::unordered_map", %"class.std::unordered_map.5", %"class.std::unordered_map.19", %"class.std::vector.33" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::SimplePath, std::allocator<HIR::SimplePath>>::_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.5" = type { %"class.std::_Hashtable.6" }
%"class.std::_Hashtable.6" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::unordered_map.19" = type { %"class.std::_Hashtable.20" }
%"class.std::_Hashtable.20" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::Static>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::Static>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.38" = type { %"struct.std::_Vector_base.39" }
%"struct.std::_Vector_base.39" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::TypeItem>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.43" = type { %"struct.std::_Vector_base.44" }
%"struct.std::_Vector_base.44" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>, std::allocator<std::pair<RcString, std::unique_ptr<HIR::VisEnt<HIR::ValueItem>>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::Crate::ImplGroup" = type { %"class.std::map", %"class.std::vector.51", %"class.std::vector.51" }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TypeImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::vector.51" = type { %"struct.std::_Vector_base.52" }
%"struct.std::_Vector_base.52" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeImpl>, std::allocator<std::unique_ptr<HIR::TypeImpl>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::InherentCache" = type { %"class.std::map.56" }
%"class.std::map.56" = type { %"class.std::_Rb_tree.57" }
%"class.std::_Rb_tree.57" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const RcString, HIR::InherentCache::Inner>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::InherentCache::Inner>, std::_Select1st<std::pair<const RcString, HIR::InherentCache::Inner>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.62" = type { %"class.std::_Rb_tree.63" }
%"class.std::_Rb_tree.63" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.67" = type { %"class.std::_Rb_tree.68" }
%"class.std::_Rb_tree.68" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.72" = type { %"struct.std::_Vector_base.73" }
%"struct.std::_Vector_base.73" = type { %"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GlobalAssembly, std::allocator<HIR::GlobalAssembly>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::Crate::ImplGroup.77" = type { %"class.std::map.78", %"class.std::vector.83", %"class.std::vector.83" }
%"class.std::map.78" = type { %"class.std::_Rb_tree.79" }
%"class.std::_Rb_tree.79" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<const HIR::TypeImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::TypeImpl *, std::allocator<const HIR::TypeImpl *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.88" = type { %"class.std::_Rb_tree.89" }
%"class.std::_Rb_tree.89" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::TraitImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.93" = type { %"class.std::_Rb_tree.94" }
%"class.std::_Rb_tree.94" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::Crate::ImplGroup<const HIR::MarkerImpl *>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::unordered_map.103" = type { %"class.std::_Hashtable.104" }
%"class.std::_Hashtable.104" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.98" = type { %"struct.std::_Vector_base.99" }
%"struct.std::_Vector_base.99" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map.122" = type { %"class.std::_Hashtable.123" }
%"class.std::_Hashtable.123" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.136" = type { %"struct.std::_Vector_base.137" }
%"struct.std::_Vector_base.137" = type { %"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExternLibrary, std::allocator<HIR::ExternLibrary>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.141" = type { %"struct.std::_Vector_base.142" }
%"struct.std::_Vector_base.142" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair" = type { %"struct.HIR::SimplePath", %"struct.HIR::Crate::ImplGroup.146" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%"struct.HIR::Crate::ImplGroup.146" = type { %"class.std::map.147", %"class.std::vector.152", %"class.std::vector.152" }
%"class.std::map.147" = type { %"class.std::_Rb_tree.148" }
%"class.std::_Rb_tree.148" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TraitImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::TraitImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.152" = type { %"struct.std::_Vector_base.153" }
%"struct.std::_Vector_base.153" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TraitImpl>, std::allocator<std::unique_ptr<HIR::TraitImpl>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TraitImpl>, std::allocator<std::unique_ptr<HIR::TraitImpl>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TraitImpl>, std::allocator<std::unique_ptr<HIR::TraitImpl>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TraitImpl>, std::allocator<std::unique_ptr<HIR::TraitImpl>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.169" = type { %"struct.HIR::SimplePath", %"struct.HIR::Crate::ImplGroup.171" }
%"struct.HIR::Crate::ImplGroup.171" = type { %"class.std::map.172", %"class.std::vector.177", %"class.std::vector.177" }
%"class.std::map.172" = type { %"class.std::_Rb_tree.173" }
%"class.std::_Rb_tree.173" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::MarkerImpl>>>, std::_Select1st<std::pair<const HIR::SimplePath, std::vector<std::unique_ptr<HIR::MarkerImpl>>>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.177" = type { %"struct.std::_Vector_base.178" }
%"struct.std::_Vector_base.178" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::MarkerImpl>, std::allocator<std::unique_ptr<HIR::MarkerImpl>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::MarkerImpl>, std::allocator<std::unique_ptr<HIR::MarkerImpl>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::MarkerImpl>, std::allocator<std::unique_ptr<HIR::MarkerImpl>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::MarkerImpl>, std::allocator<std::unique_ptr<HIR::MarkerImpl>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.275" = type { %class.RcString, %"class.HIR::ExternCrate" }
%"class.HIR::ExternCrate" = type { %"class.HIR::CratePtr", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.HIR::CratePtr" = type { ptr }
%"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] }

@g_debug_indent_level = external global i32, align 4
@__FUNCTION__._Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE = external hidden unnamed_addr constant [33 x i8], align 1
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(944)) #0

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(944) %0) #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.std::function.262", align 8
  %4 = alloca %class.anon.265, align 1
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.std::function.266", align 8
  %12 = alloca %class.anon.269, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.std::_Rb_tree_iterator.270", align 8
  %15 = alloca %"struct.std::_Rb_tree_iterator.270", align 8
  %16 = alloca ptr, align 8
  %17 = alloca %"class.std::function.271", align 8
  %18 = alloca %class.anon.274, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %21 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %26 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %27 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.HIR::Crate", ptr %28, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #5
  call void @"_ZNSt8functionIFvRSoRKN3HIR8TypeImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 1 dereferenceable(1) %4) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR8TypeImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %29, ptr noundef %3)
          to label %30 unwind label %57

30:                                               ; preds = %1
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  br label %31

31:                                               ; preds = %30
  %32 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %32, label %33, label %61

33:                                               ; preds = %31
  %34 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %34, ptr noundef @__FUNCTION__._Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE)
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef @.str)
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.HIR::Crate", ptr %37, i32 0, i32 5
  %39 = getelementptr inbounds %"struct.HIR::Crate::ImplGroup", ptr %38, i32 0, i32 0
  %40 = call noundef i64 @_ZNKSt3mapIN3HIR10SimplePathESt6vectorISt10unique_ptrINS0_8TypeImplESt14default_deleteIS4_EESaIS7_EESt4lessIS1_ESaISt4pairIKS1_S9_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %39) #5
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %36, i64 noundef %40)
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef @.str.1)
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %"class.HIR::Crate", ptr %43, i32 0, i32 5
  %45 = getelementptr inbounds %"struct.HIR::Crate::ImplGroup", ptr %44, i32 0, i32 1
  %46 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN3HIR8TypeImplESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %45) #5
  %47 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %42, i64 noundef %46)
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef @.str.2)
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.HIR::Crate", ptr %49, i32 0, i32 5
  %51 = getelementptr inbounds %"struct.HIR::Crate::ImplGroup", ptr %50, i32 0, i32 2
  %52 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN3HIR8TypeImplESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %51) #5
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %48, i64 noundef %52)
  %54 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef @.str.3)
  %55 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @_ZSt3decRSt8ios_base)
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %61

57:                                               ; preds = %1
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %5, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %6, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #5
  br label %169

61:                                               ; preds = %33, %31
  br label %62

62:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.HIR::Crate", ptr %63, i32 0, i32 7
  store ptr %64, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_9TraitImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %65) #5
  %67 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %8, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_9TraitImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %68) #5
  %70 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %9, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  br label %71

71:                                               ; preds = %81, %62
  %72 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %72, label %74, label %73

73:                                               ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %87

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %75 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  store ptr %75, ptr %10, align 8, !tbaa !5
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.std::pair", ptr %76, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %78 = getelementptr inbounds %class.anon.269, ptr %12, i32 0, i32 0
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %79, ptr %78, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoRKN3HIR9TraitImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR9TraitImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %77, ptr noundef %11)
          to label %80 unwind label %83

80:                                               ; preds = %74
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %81

81:                                               ; preds = %80
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br label %71

83:                                               ; preds = %74
  %84 = landingpad { ptr, i32 }
          cleanup
  %85 = extractvalue { ptr, i32 } %84, 0
  store ptr %85, ptr %5, align 8
  %86 = extractvalue { ptr, i32 } %84, 1
  store i32 %86, ptr %6, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %169

87:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %"class.HIR::Crate", ptr %88, i32 0, i32 8
  store ptr %89, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %90 = load ptr, ptr %13, align 8, !tbaa !5
  %91 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_10MarkerImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %90) #5
  %92 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.270", ptr %14, i32 0, i32 0
  store ptr %91, ptr %92, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  %94 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_10MarkerImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %93) #5
  %95 = getelementptr inbounds %"struct.std::_Rb_tree_iterator.270", ptr %15, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  br label %96

96:                                               ; preds = %106, %87
  %97 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %97, label %99, label %98

98:                                               ; preds = %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %112

99:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %100 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  store ptr %100, ptr %16, align 8, !tbaa !5
  %101 = load ptr, ptr %16, align 8, !tbaa !5
  %102 = getelementptr inbounds %"struct.std::pair.169", ptr %101, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %103 = getelementptr inbounds %class.anon.274, ptr %18, i32 0, i32 0
  %104 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %104, ptr %103, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoRKN3HIR10MarkerImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(8) %18) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR10MarkerImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %102, ptr noundef %17)
          to label %105 unwind label %108

105:                                              ; preds = %99
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %106

106:                                              ; preds = %105
  %107 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  br label %96

108:                                              ; preds = %99
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %5, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %6, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %169

112:                                              ; preds = %98
  %113 = load ptr, ptr %2, align 8, !tbaa !5
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944) %113, ptr noundef nonnull align 8 dereferenceable(944) %114)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %115 = load ptr, ptr %2, align 8, !tbaa !5
  %116 = getelementptr inbounds %"class.HIR::Crate", ptr %115, i32 0, i32 16
  store ptr %116, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %117 = load ptr, ptr %19, align 8, !tbaa !5
  %118 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %117) #5
  %119 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %20, i32 0, i32 0
  %120 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %119, i32 0, i32 0
  store ptr %118, ptr %120, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %121 = load ptr, ptr %19, align 8, !tbaa !5
  %122 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %121) #5
  %123 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %21, i32 0, i32 0
  %124 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %123, i32 0, i32 0
  store ptr %122, ptr %124, align 8
  br label %125

125:                                              ; preds = %135, %112
  %126 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  br i1 %126, label %128, label %127

127:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  br label %137

128:                                              ; preds = %125
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %129 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  store ptr %129, ptr %22, align 8, !tbaa !5
  %130 = load ptr, ptr %2, align 8, !tbaa !5
  %131 = load ptr, ptr %22, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.std::pair.275", ptr %131, i32 0, i32 1
  %133 = getelementptr inbounds %"class.HIR::ExternCrate", ptr %132, i32 0, i32 0
  %134 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %133)
  call void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944) %130, ptr noundef nonnull align 8 dereferenceable(944) %134)
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  br label %135

135:                                              ; preds = %128
  %136 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #5
  br label %125

137:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %138 = load ptr, ptr %2, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR5Crate22get_lang_item_path_optEPKc(ptr noundef nonnull align 8 dereferenceable(944) %138, ptr noundef @.str.4)
  store ptr %139, ptr %23, align 8, !tbaa !5
  %140 = load ptr, ptr %2, align 8, !tbaa !5
  %141 = getelementptr inbounds %"class.HIR::Crate", ptr %140, i32 0, i32 6
  %142 = load ptr, ptr %23, align 8, !tbaa !5
  %143 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN12resolve_ufcs27push_index_inherent_methodsERN3HIR13InherentCacheERKNS0_10SimplePathERKNS0_5CrateE(ptr noundef nonnull align 8 dereferenceable(48) %141, ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(944) %143)
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %"class.HIR::Crate", ptr %144, i32 0, i32 16
  store ptr %145, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %146 = load ptr, ptr %24, align 8, !tbaa !5
  %147 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %146) #5
  %148 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %25, i32 0, i32 0
  %149 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %148, i32 0, i32 0
  store ptr %147, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %150 = load ptr, ptr %24, align 8, !tbaa !5
  %151 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %150) #5
  %152 = getelementptr inbounds %"struct.std::__detail::_Node_iterator", ptr %26, i32 0, i32 0
  %153 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %152, i32 0, i32 0
  store ptr %151, ptr %153, align 8
  br label %154

154:                                              ; preds = %166, %137
  %155 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  br i1 %155, label %157, label %156

156:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %168

157:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %158 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  store ptr %158, ptr %27, align 8, !tbaa !5
  %159 = load ptr, ptr %2, align 8, !tbaa !5
  %160 = getelementptr inbounds %"class.HIR::Crate", ptr %159, i32 0, i32 6
  %161 = load ptr, ptr %23, align 8, !tbaa !5
  %162 = load ptr, ptr %27, align 8, !tbaa !5
  %163 = getelementptr inbounds %"struct.std::pair.275", ptr %162, i32 0, i32 1
  %164 = getelementptr inbounds %"class.HIR::ExternCrate", ptr %163, i32 0, i32 0
  %165 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %164)
  call void @_ZN12resolve_ufcs27push_index_inherent_methodsERN3HIR13InherentCacheERKNS0_10SimplePathERKNS0_5CrateE(ptr noundef nonnull align 8 dereferenceable(48) %160, ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull align 8 dereferenceable(944) %165)
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %166

166:                                              ; preds = %157
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  br label %154

168:                                              ; preds = %156
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  ret void

169:                                              ; preds = %108, %83, %57
  %170 = load ptr, ptr %5, align 8
  %171 = load i32, ptr %6, align 4
  %172 = insertvalue { ptr, i32 } poison, ptr %170, 0
  %173 = insertvalue { ptr, i32 } %172, i32 %171, 1
  resume { ptr, i32 } %173
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR8TypeImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR8TypeImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR9TraitImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR9TraitImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR10MarkerImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR10MarkerImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR5Crate22get_lang_item_path_optEPKc(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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}


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

%"class.std::function.262" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.265 = type { i8 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"class.std::function.266" = type { %"class.std::_Function_base", ptr }
%class.anon.269 = type { ptr }
%"struct.std::_Rb_tree_iterator.270" = type { ptr }
%"class.std::function.271" = type { %"class.std::_Function_base", ptr }
%class.anon.274 = type { ptr }
%"struct.std::__detail::_Node_iterator" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@__FUNCTION__._Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE = external hidden unnamed_addr constant [33 x i8], align 1
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef nonnull align 8 dereferenceable(944)) local_unnamed_addr #0

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs27push_index_inherent_methodsERN3HIR13InherentCacheERKNS0_10SimplePathERKNS0_5CrateE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(944)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE(ptr noundef nonnull align 8 dereferenceable(944) %0) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.std::function.262", align 8
  %3 = alloca %class.anon.265, align 1
  %4 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %5 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %6 = alloca %"class.std::function.266", align 8
  %7 = alloca %class.anon.269, align 8
  %8 = alloca %"struct.std::_Rb_tree_iterator.270", align 8
  %9 = alloca %"struct.std::_Rb_tree_iterator.270", align 8
  %10 = alloca %"class.std::function.271", align 8
  %11 = alloca %class.anon.274, align 8
  %12 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %13 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %14 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %15 = alloca %"struct.std::__detail::_Node_iterator", align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 280
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #5
  call void @"_ZNSt8functionIFvRSoRKN3HIR8TypeImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %2, ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR8TypeImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %16, ptr noundef nonnull %2)
          to label %17 unwind label %36

17:                                               ; preds = %1
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  %18 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %18, label %19, label %38

19:                                               ; preds = %17
  %20 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %20, ptr noundef nonnull @__FUNCTION__._Z32ConvertHIR_ResolveUFCS_SortImplsRN3HIR5CrateE)
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @.str)
  %23 = call noundef i64 @_ZNKSt3mapIN3HIR10SimplePathESt6vectorISt10unique_ptrINS0_8TypeImplESt14default_deleteIS4_EESaIS7_EESt4lessIS1_ESaISt4pairIKS1_S9_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %16) #5
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %22, i64 noundef %23)
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull @.str.1)
  %26 = getelementptr inbounds i8, ptr %0, i64 328
  %27 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN3HIR8TypeImplESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %26) #5
  %28 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %25, i64 noundef %27)
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull @.str.2)
  %30 = getelementptr inbounds i8, ptr %0, i64 352
  %31 = call noundef i64 @_ZNKSt6vectorISt10unique_ptrIN3HIR8TypeImplESt14default_deleteIS2_EESaIS5_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %29, i64 noundef %31)
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull @.str.3)
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %38

36:                                               ; preds = %1
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %2) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  br label %80

38:                                               ; preds = %17, %19
  %39 = getelementptr inbounds i8, ptr %0, i64 424
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #5
  %40 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_9TraitImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %39) #5
  store ptr %40, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #5
  %41 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_9TraitImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %39) #5
  store ptr %41, ptr %5, align 8
  %42 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %42, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %49, %38
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  %43 = getelementptr inbounds i8, ptr %0, i64 472
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %44 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_10MarkerImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  store ptr %44, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %45 = call ptr @_ZNSt3mapIN3HIR10SimplePathENS0_5Crate9ImplGroupISt10unique_ptrINS0_10MarkerImplESt14default_deleteIS5_EEEESt4lessIS1_ESaISt4pairIKS1_S9_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %43) #5
  store ptr %45, ptr %9, align 8
  %46 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %46, label %.lr.ph35, label %._crit_edge36

.lr.ph:                                           ; preds = %38, %49
  %47 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store ptr %47, ptr %7, align 8, !tbaa !9
  call void @"_ZNSt8functionIFvRSoRKN3HIR9TraitImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR9TraitImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %48, ptr noundef nonnull %6)
          to label %49 unwind label %52

49:                                               ; preds = %.lr.ph
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #5
  %51 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #5
  br i1 %51, label %.lr.ph, label %._crit_edge

52:                                               ; preds = %.lr.ph
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #5
  br label %80

._crit_edge36:                                    ; preds = %60, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  call void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull align 8 dereferenceable(944) %0)
  %54 = getelementptr inbounds i8, ptr %0, i64 840
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #5
  %55 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %54) #5
  store ptr %55, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #5
  %56 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %54) #5
  store ptr %56, ptr %13, align 8
  %57 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %57, label %.lr.ph38, label %._crit_edge39

.lr.ph35:                                         ; preds = %._crit_edge, %60
  %58 = call noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  store ptr %58, ptr %11, align 8, !tbaa !9
  call void @"_ZNSt8functionIFvRSoRKN3HIR10MarkerImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  invoke void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR10MarkerImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96) %59, ptr noundef nonnull %10)
          to label %60 unwind label %63

60:                                               ; preds = %.lr.ph35
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  %62 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEESF_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br i1 %62, label %.lr.ph35, label %._crit_edge36

63:                                               ; preds = %.lr.ph35
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  br label %80

._crit_edge39:                                    ; preds = %.lr.ph38, %._crit_edge36
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #5
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR5Crate22get_lang_item_path_optEPKc(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull @.str.4)
  %66 = getelementptr inbounds i8, ptr %0, i64 376
  call void @_ZN12resolve_ufcs27push_index_inherent_methodsERN3HIR13InherentCacheERKNS0_10SimplePathERKNS0_5CrateE(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(944) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #5
  %67 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(56) %54) #5
  store ptr %67, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #5
  %68 = call ptr @_ZNSt13unordered_mapI8RcStringN3HIR11ExternCrateESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S2_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %54) #5
  store ptr %68, ptr %15, align 8
  %69 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %69, label %.lr.ph41, label %._crit_edge42

.lr.ph38:                                         ; preds = %._crit_edge36, %.lr.ph38
  %70 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %71 = getelementptr inbounds i8, ptr %70, i64 8
  %72 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %71)
  call void @_ZN12resolve_ufcs16push_index_implsERN3HIR5CrateERKS1_(ptr noundef nonnull align 8 dereferenceable(944) %0, ptr noundef nonnull align 8 dereferenceable(944) %72)
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %74 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  br i1 %74, label %.lr.ph38, label %._crit_edge39

._crit_edge42:                                    ; preds = %.lr.ph41, %._crit_edge39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #5
  ret void

.lr.ph41:                                         ; preds = %._crit_edge39, %.lr.ph41
  %75 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %76 = getelementptr inbounds i8, ptr %75, i64 8
  %77 = call noundef nonnull align 8 dereferenceable(944) ptr @_ZNK3HIR8CratePtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %76)
  call void @_ZN12resolve_ufcs27push_index_inherent_methodsERN3HIR13InherentCacheERKNS0_10SimplePathERKNS0_5CrateE(ptr noundef nonnull align 8 dereferenceable(48) %66, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(944) %77)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #5
  %79 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br i1 %79, label %.lr.ph41, label %._crit_edge42

80:                                               ; preds = %63, %52, %36
  %.pn = phi { ptr, i32 } [ %53, %52 ], [ %64, %63 ], [ %37, %36 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR8TypeImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR8TypeImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt3decRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEESF_(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 noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_9TraitImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR9TraitImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR9TraitImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEESF_(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 noundef nonnull align 8 dereferenceable(104) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKN3HIR10SimplePathENS1_5Crate9ImplGroupISt10unique_ptrINS1_10MarkerImplESt14default_deleteIS7_EEEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12resolve_ufcs15sort_impl_groupIN3HIR10MarkerImplEEEvRNS1_5Crate9ImplGroupISt10unique_ptrIT_St14default_deleteIS6_EEEESt8functionIFvRSoRKS6_EE(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @"_ZNSt8functionIFvRSoRKN3HIR10MarkerImplEEEC2IZ32ConvertHIR_ResolveUFCS_SortImplsRNS1_5CrateEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3HIR11ExternCrateEELb0EEES9_(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 noundef nonnull align 8 dereferenceable(80) ptr @_ZNKSt8__detail14_Node_iteratorISt4pairIK8RcStringN3HIR11ExternCrateEELb0ELb0EEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR5Crate22get_lang_item_path_optEPKc(ptr noundef nonnull align 8 dereferenceable(944), ptr noundef) local_unnamed_addr #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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


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