; LLVM IR from thepowersgang/mrustc :: src/resolve (index)

; 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"

%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.61", %"struct.AST::PathBinding.62" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.61" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.62" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"struct.std::__detail::_Node_const_iterator.586" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%struct.Span = type { ptr }
%"class.std::function" = 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.610 = type { ptr, ptr }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.45", %"class.std::unique_ptr.53", %"class.std::vector.40" }
%"class.std::unique_ptr.45" = type { %"struct.std::__uniq_ptr_data.46" }
%"struct.std::__uniq_ptr_data.46" = type { %"class.std::__uniq_ptr_impl.47" }
%"class.std::__uniq_ptr_impl.47" = type { %"class.std::tuple.48" }
%"class.std::tuple.48" = type { %"struct.std::_Tuple_impl.49" }
%"struct.std::_Tuple_impl.49" = type { %"struct.std::_Head_base.52" }
%"struct.std::_Head_base.52" = type { ptr }
%"class.std::unique_ptr.53" = type { %"struct.std::__uniq_ptr_data.54" }
%"struct.std::__uniq_ptr_data.54" = type { %"class.std::__uniq_ptr_impl.55" }
%"class.std::__uniq_ptr_impl.55" = type { %"class.std::tuple.56" }
%"class.std::tuple.56" = type { %"struct.std::_Tuple_impl.57" }
%"struct.std::_Tuple_impl.57" = type { %"struct.std::_Head_base.60" }
%"struct.std::_Head_base.60" = type { ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.611 = type { ptr, ptr }
%class.anon.612 = type { ptr }
%"struct.AST::Path::Class::Data_Absolute" = type { %class.RcString, %"class.std::vector.40" }
%"class.AST::Crate" = type { %"class.AST::AttributeList", %"class.std::map", %"class.AST::Module", %"class.std::vector", %"class.std::map.200", %"class.std::map.206", %class.RcString, %class.RcString, %class.RcString, %class.RcString, i8, %"class.std::vector.211", %"class.std::vector.216", %"class.std::vector.221", i32, i32, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %class.RcString, %"class.AST::Path" }
%"class.AST::AttributeList" = type { %"class.std::vector.81" }
%"class.std::vector.81" = type { %"struct.std::_Vector_base.82" }
%"struct.std::_Vector_base.82" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, AST::AbsolutePath>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, AST::AbsolutePath>>, 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>, AST::AbsolutePath>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, AST::AbsolutePath>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.AST::Module" = type { %"struct.AST::AbsolutePath", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10", %"struct.AST::Module::FileInfo", i8, i8, %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::vector.23", %"class.std::vector.28", %"class.std::vector.33" }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = type { %"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Module::FileInfo" = type { i8, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"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::vector.23" = type { %"struct.std::_Vector_base.24" }
%"struct.std::_Vector_base.24" = type { %"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.28" = type { %"struct.std::_Vector_base.29" }
%"struct.std::_Vector_base.29" = type { %"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.33" = type { %"struct.std::_Vector_base.34" }
%"struct.std::_Vector_base.34" = type { %"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.200" = type { %"class.std::_Rb_tree.201" }
%"class.std::_Rb_tree.201" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, AST::ExternCrate>, std::_Select1st<std::pair<const RcString, AST::ExternCrate>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, AST::ExternCrate>, std::_Select1st<std::pair<const RcString, AST::ExternCrate>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.206" = type { %"class.std::_Rb_tree.207" }
%"class.std::_Rb_tree.207" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, const MacroRules *>, std::_Select1st<std::pair<const RcString, const MacroRules *>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, const MacroRules *>, std::_Select1st<std::pair<const RcString, const MacroRules *>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::vector.211" = type { %"struct.std::_Vector_base.212" }
%"struct.std::_Vector_base.212" = type { %"struct.std::_Vector_base<AST::TestDesc, std::allocator<AST::TestDesc>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::TestDesc, std::allocator<AST::TestDesc>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::TestDesc, std::allocator<AST::TestDesc>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::TestDesc, std::allocator<AST::TestDesc>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.216" = type { %"struct.std::_Vector_base.217" }
%"struct.std::_Vector_base.217" = 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 }
%"class.std::vector.221" = type { %"struct.std::_Vector_base.222" }
%"struct.std::_Vector_base.222" = type { %"struct.std::_Vector_base<AST::ProcMacroDef, std::allocator<AST::ProcMacroDef>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::ProcMacroDef, std::allocator<AST::ProcMacroDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::ProcMacroDef, std::allocator<AST::ProcMacroDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::ProcMacroDef, std::allocator<AST::ProcMacroDef>>::_Vector_impl_data" = type { ptr, ptr, 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] }
%"struct.std::pair.587" = type { %class.RcString, %"struct.AST::Module::IndexEnt" }
%"struct.AST::Module::IndexEnt" = type { i8, [7 x i8], %"class.AST::Visibility", %"class.AST::Path" }
%"class.AST::Visibility" = type <{ %"class.std::shared_ptr", %"class.std::shared_ptr.65", i32, [4 x i8] }>
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.65" = type { %"class.std::__shared_ptr.66" }
%"class.std::__shared_ptr.66" = type { ptr, %"class.std::__shared_count" }
%"struct.AST::PathBinding_Type::Data_Crate" = type { ptr }

@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName = external hidden unnamed_addr constant [103 x i8], align 1

declare ptr @__cxa_allocate_exception(i64)

declare void @__cxa_throw(ptr, ptr, ptr)

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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #3

declare void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #4

declare void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST4Path8Bindings5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::Path::Bindings") align 8, ptr noundef nonnull align 8 dereferenceable(184)) #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZN3AST4Path8BindingsaSEOS1_(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3) #5 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %16 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %17 = alloca %struct.Span, align 8
  %18 = alloca %"class.std::function", align 8
  %19 = alloca %class.anon.610, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"class.AST::Path", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"struct.AST::Path::Bindings", align 8
  %26 = alloca i8, align 1
  %27 = alloca ptr, align 8
  %28 = alloca %struct.Span, align 8
  %29 = alloca %"class.std::function", align 8
  %30 = alloca %class.anon.611, align 8
  %31 = alloca i8, align 1
  %32 = alloca ptr, align 8
  %33 = alloca i8, align 1
  %34 = alloca ptr, align 8
  %35 = alloca i8, align 1
  %36 = alloca ptr, align 8
  %37 = alloca ptr, align 8
  %38 = alloca ptr, align 8
  %39 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %40 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %41 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %42 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %43 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %44 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %45 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %46 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %47 = alloca %struct.Span, align 8
  %48 = alloca %"class.std::function", align 8
  %49 = alloca %class.anon.612, align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"class.AST::Path", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %52 = load ptr, ptr %8, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.AST::Path", ptr %52, i32 0, i32 1
  %54 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %53)
  store ptr %54, ptr %10, align 8, !tbaa !5
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %55, i32 0, i32 0
  %57 = call noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef @.str.4)
  br i1 %57, label %58, label %73

58:                                               ; preds = %4
  %59 = load ptr, ptr %10, align 8, !tbaa !5
  %60 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %59, i32 0, i32 0
  %61 = call noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef @.str.35)
  br i1 %61, label %62, label %63

62:                                               ; preds = %58
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %447

63:                                               ; preds = %58
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = load ptr, ptr %7, align 8, !tbaa !5
  %66 = load ptr, ptr %8, align 8, !tbaa !5
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  %69 = getelementptr inbounds %"class.AST::Crate", ptr %68, i32 0, i32 4
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %70, i32 0, i32 0
  %72 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt3mapI8RcStringN3AST11ExternCrateESt4lessIS0_ESaISt4pairIKS0_S2_EEE2atERS6_(ptr noundef nonnull align 8 dereferenceable(48) %69, ptr noundef nonnull align 8 dereferenceable(8) %71)
  call void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112) %64, ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(240) %66, i32 noundef %67, ptr noundef nonnull align 8 dereferenceable(56) %72, i32 noundef 0)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %447

73:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.AST::Crate", ptr %74, i32 0, i32 2
  store ptr %75, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !11
  br label %76

76:                                               ; preds = %316, %73
  %77 = load i32, ptr %13, align 4, !tbaa !11
  %78 = zext i32 %77 to i64
  %79 = load ptr, ptr %10, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %79, i32 0, i32 1
  %81 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %80) #8
  %82 = sub i64 %81, 1
  %83 = icmp ult i64 %78, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %76
  store i32 2, ptr %11, align 4
  br label %321

85:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %86, i32 0, i32 1
  %88 = load i32, ptr %13, align 4, !tbaa !11
  %89 = zext i32 %88 to i64
  %90 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %87, i64 noundef %89) #8
  store ptr %90, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %91 = load ptr, ptr %12, align 8, !tbaa !5
  %92 = getelementptr inbounds %"class.AST::Module", ptr %91, i32 0, i32 7
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %93)
  %95 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %92, ptr noundef nonnull align 8 dereferenceable(8) %94)
  %96 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %15, i32 0, i32 0
  %97 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %96, i32 0, i32 0
  store ptr %95, ptr %97, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %98 = load ptr, ptr %12, align 8, !tbaa !5
  %99 = getelementptr inbounds %"class.AST::Module", ptr %98, i32 0, i32 7
  %100 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %99) #8
  %101 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %16, i32 0, i32 0
  %102 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %101, i32 0, i32 0
  store ptr %100, ptr %102, align 8
  %103 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br i1 %103, label %104, label %123

104:                                              ; preds = %85
  br label %105

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %106)
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #8
  %107 = getelementptr inbounds %class.anon.610, ptr %19, i32 0, i32 0
  store ptr %13, ptr %107, align 8, !tbaa !5
  %108 = getelementptr inbounds %class.anon.610, ptr %19, i32 0, i32 1
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %109, ptr %108, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(16) %19) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0, ptr noundef %18)
          to label %110 unwind label %113

110:                                              ; preds = %105
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  %111 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %111, ptr noundef @.str.12)
          to label %112 unwind label %117

112:                                              ; preds = %110
  call void @__cxa_throw(ptr %111, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
  unreachable

113:                                              ; preds = %105
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %20, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %21, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %320

117:                                              ; preds = %110
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %20, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %21, align 4
  call void @__cxa_free_exception(ptr %111) #8
  br label %320

121:                                              ; No predecessors!
  br label %122

122:                                              ; preds = %121
  br label %123

123:                                              ; preds = %122, %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %124 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %125 = getelementptr inbounds %"struct.std::pair.587", ptr %124, i32 0, i32 1
  store ptr %125, ptr %22, align 8, !tbaa !5
  %126 = load ptr, ptr %22, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.AST::Module::IndexEnt", ptr %126, i32 0, i32 0
  %128 = load i8, ptr %127, align 8, !tbaa !13, !range !42, !noundef !43
  %129 = trunc i8 %128 to i1
  br i1 %129, label %130, label %189

130:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 240, ptr %23) #8
  %131 = load ptr, ptr %22, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.AST::Module::IndexEnt", ptr %131, i32 0, i32 3
  call void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %23, ptr noundef nonnull align 8 dereferenceable(240) %132)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  %133 = load i32, ptr %13, align 4, !tbaa !11
  %134 = add i32 %133, 1
  store i32 %134, ptr %24, align 4, !tbaa !11
  br label %135

135:                                              ; preds = %152, %130
  %136 = load i32, ptr %24, align 4, !tbaa !11
  %137 = zext i32 %136 to i64
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %138, i32 0, i32 1
  %140 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %139) #8
  %141 = icmp ult i64 %137, %140
  br i1 %141, label %143, label %142

142:                                              ; preds = %135
  store i32 7, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %159

143:                                              ; preds = %135
  %144 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %23)
          to label %145 unwind label %155

145:                                              ; preds = %143
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %146, i32 0, i32 1
  %148 = load i32, ptr %24, align 4, !tbaa !11
  %149 = zext i32 %148 to i64
  %150 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %147, i64 noundef %149) #8
  invoke void @_ZNSt6vectorIN3AST8PathNodeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %144, ptr noundef nonnull align 8 dereferenceable(40) %150)
          to label %151 unwind label %155

151:                                              ; preds = %145
  br label %152

152:                                              ; preds = %151
  %153 = load i32, ptr %24, align 4, !tbaa !11
  %154 = add i32 %153, 1
  store i32 %154, ptr %24, align 4, !tbaa !11
  br label %135, !llvm.loop !44

155:                                              ; preds = %145, %143
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %20, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  br label %188

159:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 184, ptr %25) #8
  %160 = load ptr, ptr %8, align 8, !tbaa !5
  %161 = getelementptr inbounds %"class.AST::Path", ptr %160, i32 0, i32 2
  invoke void @_ZNK3AST4Path8Bindings5cloneEv(ptr dead_on_unwind writable sret(%"struct.AST::Path::Bindings") align 8 %25, ptr noundef nonnull align 8 dereferenceable(184) %161)
          to label %162 unwind label %175

162:                                              ; preds = %159
  %163 = getelementptr inbounds %"class.AST::Path", ptr %23, i32 0, i32 2
  %164 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZN3AST4Path8BindingsaSEOS1_(ptr noundef nonnull align 8 dereferenceable(184) %163, ptr noundef nonnull align 8 dereferenceable(184) %25)
          to label %165 unwind label %179

165:                                              ; preds = %162
  call void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %25) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr %25) #8
  %166 = load ptr, ptr %8, align 8, !tbaa !5
  %167 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZN3AST4PathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(240) %166, ptr noundef nonnull align 8 dereferenceable(240) %23)
          to label %168 unwind label %184

168:                                              ; preds = %165
  %169 = load ptr, ptr %6, align 8, !tbaa !5
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load ptr, ptr %8, align 8, !tbaa !5
  %172 = load i32, ptr %9, align 4, !tbaa !9
  %173 = invoke noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %169, ptr noundef nonnull align 8 dereferenceable(8) %170, ptr noundef nonnull align 8 dereferenceable(240) %171, i32 noundef %172)
          to label %174 unwind label %184

174:                                              ; preds = %168
  store i1 %173, ptr %5, align 1
  store i32 1, ptr %11, align 4
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %23) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %23) #8
  br label %313

175:                                              ; preds = %159
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %20, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %21, align 4
  br label %183

179:                                              ; preds = %162
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %20, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %21, align 4
  call void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %25) #8
  br label %183

183:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 184, ptr %25) #8
  br label %188

184:                                              ; preds = %168, %165
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %20, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %21, align 4
  br label %188

188:                                              ; preds = %184, %183, %155
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %23) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %23) #8
  br label %319

189:                                              ; preds = %123
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  store i8 1, ptr %26, align 1, !tbaa !46
  br label %190

190:                                              ; preds = %308, %189
  %191 = load i8, ptr %26, align 1, !tbaa !46, !range !42, !noundef !43
  %192 = trunc i8 %191 to i1
  br i1 %192, label %194, label %193

193:                                              ; preds = %190
  store i32 10, ptr %11, align 4
  br label %309

194:                                              ; preds = %190
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %195 = load ptr, ptr %22, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.AST::Module::IndexEnt", ptr %195, i32 0, i32 3
  %197 = getelementptr inbounds %"class.AST::Path", ptr %196, i32 0, i32 2
  %198 = getelementptr inbounds %"struct.AST::Path::Bindings", ptr %197, i32 0, i32 1
  %199 = getelementptr inbounds %"struct.AST::PathBinding.61", ptr %198, i32 0, i32 1
  store ptr %199, ptr %27, align 8, !tbaa !5
  br label %200

200:                                              ; preds = %303, %194
  %201 = load i8, ptr %26, align 1, !tbaa !46, !range !42, !noundef !43
  %202 = trunc i8 %201 to i1
  br i1 %202, label %204, label %203

203:                                              ; preds = %200
  store i32 13, ptr %11, align 4
  br label %304

204:                                              ; preds = %200
  %205 = load ptr, ptr %27, align 8, !tbaa !5
  %206 = call noundef i32 @_ZNK3AST16PathBinding_Type3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %205)
  switch i32 %206, label %208 [
    i32 0, label %207
    i32 3, label %228
    i32 2, label %249
    i32 5, label %280
  ]

207:                                              ; preds = %204
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.21, i32 noundef 831, ptr noundef @__PRETTY_FUNCTION__._Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName) #10
  unreachable

208:                                              ; preds = %204
  br label %209

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %210)
  call void @llvm.lifetime.start.p0(i64 16, ptr %30) #8
  %211 = getelementptr inbounds %class.anon.611, ptr %30, i32 0, i32 0
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %212, ptr %211, align 8, !tbaa !5
  %213 = getelementptr inbounds %class.anon.611, ptr %30, i32 0, i32 1
  %214 = load ptr, ptr %22, align 8, !tbaa !5
  store ptr %214, ptr %213, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(16) %30) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef %29)
          to label %215 unwind label %218

215:                                              ; preds = %209
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %216 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %216, ptr noundef @.str.5)
          to label %217 unwind label %222

217:                                              ; preds = %215
  call void @__cxa_throw(ptr %216, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
  unreachable

218:                                              ; preds = %209
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %20, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %21, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %30) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  br label %306

222:                                              ; preds = %215
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %20, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %21, align 4
  call void @__cxa_free_exception(ptr %216) #8
  br label %306

226:                                              ; No predecessors!
  br label %227

227:                                              ; preds = %226
  br label %302

228:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  store i8 1, ptr %31, align 1, !tbaa !46
  br label %229

229:                                              ; preds = %247, %228
  %230 = load i8, ptr %31, align 1, !tbaa !46, !range !42, !noundef !43
  %231 = trunc i8 %230 to i1
  br i1 %231, label %233, label %232

232:                                              ; preds = %229
  store i32 19, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  br label %248

233:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %234 = load ptr, ptr %27, align 8, !tbaa !5
  %235 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST16PathBinding_Type9as_ModuleEv(ptr noundef nonnull align 8 dereferenceable(32) %234)
  store ptr %235, ptr %32, align 8, !tbaa !5
  br label %236

236:                                              ; preds = %245, %233
  %237 = load ptr, ptr %32, align 8, !tbaa !5
  %238 = load i8, ptr %31, align 1, !tbaa !46, !range !42, !noundef !43
  %239 = trunc i8 %238 to i1
  br i1 %239, label %241, label %240

240:                                              ; preds = %236
  store i32 22, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %246

241:                                              ; preds = %236
  %242 = load ptr, ptr %32, align 8, !tbaa !5
  %243 = getelementptr inbounds %"struct.AST::PathBinding_Type::Data_Module", ptr %242, i32 0, i32 0
  %244 = load ptr, ptr %243, align 8, !tbaa !47
  store ptr %244, ptr %12, align 8, !tbaa !5
  br label %245

245:                                              ; preds = %241
  store i8 0, ptr %31, align 1, !tbaa !46
  br label %236, !llvm.loop !50

246:                                              ; preds = %240
  br label %247

247:                                              ; preds = %246
  store i8 0, ptr %31, align 1, !tbaa !46
  br label %229, !llvm.loop !51

248:                                              ; preds = %232
  br label %302

249:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  store i8 1, ptr %33, align 1, !tbaa !46
  br label %250

250:                                              ; preds = %276, %249
  %251 = load i8, ptr %33, align 1, !tbaa !46, !range !42, !noundef !43
  %252 = trunc i8 %251 to i1
  br i1 %252, label %254, label %253

253:                                              ; preds = %250
  store i32 25, ptr %11, align 4
  br label %277

254:                                              ; preds = %250
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %255 = load ptr, ptr %27, align 8, !tbaa !5
  %256 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST16PathBinding_Type8as_CrateEv(ptr noundef nonnull align 8 dereferenceable(32) %255)
  store ptr %256, ptr %34, align 8, !tbaa !5
  br label %257

257:                                              ; preds = %272, %254
  %258 = load ptr, ptr %34, align 8, !tbaa !5
  %259 = load i8, ptr %33, align 1, !tbaa !46, !range !42, !noundef !43
  %260 = trunc i8 %259 to i1
  br i1 %260, label %262, label %261

261:                                              ; preds = %257
  store i32 28, ptr %11, align 4
  br label %273

262:                                              ; preds = %257
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = load ptr, ptr %8, align 8, !tbaa !5
  %266 = load i32, ptr %9, align 4, !tbaa !9
  %267 = load ptr, ptr %34, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.AST::PathBinding_Type::Data_Crate", ptr %267, i32 0, i32 0
  %269 = load ptr, ptr %268, align 8, !tbaa !52
  %270 = load i32, ptr %13, align 4, !tbaa !11
  %271 = add i32 %270, 1
  call void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112) %263, ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef nonnull align 8 dereferenceable(240) %265, i32 noundef %266, ptr noundef nonnull align 8 dereferenceable(56) %269, i32 noundef %271)
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %273

272:                                              ; No predecessors!
  store i8 0, ptr %33, align 1, !tbaa !46
  br label %257, !llvm.loop !54

273:                                              ; preds = %262, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  %274 = load i32, ptr %11, align 4
  switch i32 %274, label %277 [
    i32 28, label %275
  ]

275:                                              ; preds = %273
  br label %276

276:                                              ; preds = %275
  store i8 0, ptr %33, align 1, !tbaa !46
  br label %250, !llvm.loop !55

277:                                              ; preds = %273, %253
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  %278 = load i32, ptr %11, align 4
  switch i32 %278, label %304 [
    i32 25, label %279
  ]

279:                                              ; preds = %277
  br label %302

280:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  store i8 1, ptr %35, align 1, !tbaa !46
  br label %281

281:                                              ; preds = %298, %280
  %282 = load i8, ptr %35, align 1, !tbaa !46, !range !42, !noundef !43
  %283 = trunc i8 %282 to i1
  br i1 %283, label %285, label %284

284:                                              ; preds = %281
  store i32 31, ptr %11, align 4
  br label %299

285:                                              ; preds = %281
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %286 = load ptr, ptr %27, align 8, !tbaa !5
  %287 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST16PathBinding_Type7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(32) %286)
  store ptr %287, ptr %36, align 8, !tbaa !5
  br label %288

288:                                              ; preds = %294, %285
  %289 = load ptr, ptr %36, align 8, !tbaa !5
  %290 = load i8, ptr %35, align 1, !tbaa !46, !range !42, !noundef !43
  %291 = trunc i8 %290 to i1
  br i1 %291, label %293, label %292

292:                                              ; preds = %288
  store i32 34, ptr %11, align 4
  br label %295

293:                                              ; preds = %288
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %295

294:                                              ; No predecessors!
  store i8 0, ptr %35, align 1, !tbaa !46
  br label %288, !llvm.loop !56

295:                                              ; preds = %293, %292
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  %296 = load i32, ptr %11, align 4
  switch i32 %296, label %299 [
    i32 34, label %297
  ]

297:                                              ; preds = %295
  br label %298

298:                                              ; preds = %297
  store i8 0, ptr %35, align 1, !tbaa !46
  br label %281, !llvm.loop !57

299:                                              ; preds = %295, %284
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  %300 = load i32, ptr %11, align 4
  switch i32 %300, label %304 [
    i32 31, label %301
  ]

301:                                              ; preds = %299
  br label %302

302:                                              ; preds = %301, %279, %248, %227
  br label %303

303:                                              ; preds = %302
  store i8 0, ptr %26, align 1, !tbaa !46
  br label %200, !llvm.loop !58

304:                                              ; preds = %299, %277, %203
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  %305 = load i32, ptr %11, align 4
  switch i32 %305, label %309 [
    i32 13, label %307
  ]

306:                                              ; preds = %222, %218
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  br label %319

307:                                              ; preds = %304
  br label %308

308:                                              ; preds = %307
  store i8 0, ptr %26, align 1, !tbaa !46
  br label %190, !llvm.loop !59

309:                                              ; preds = %304, %193
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  %310 = load i32, ptr %11, align 4
  switch i32 %310, label %313 [
    i32 10, label %311
  ]

311:                                              ; preds = %309
  br label %312

312:                                              ; preds = %311
  store i32 0, ptr %11, align 4
  br label %313

313:                                              ; preds = %312, %309, %174
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  %314 = load i32, ptr %11, align 4
  switch i32 %314, label %321 [
    i32 0, label %315
  ]

315:                                              ; preds = %313
  br label %316

316:                                              ; preds = %315
  %317 = load i32, ptr %13, align 4, !tbaa !11
  %318 = add i32 %317, 1
  store i32 %318, ptr %13, align 4, !tbaa !11
  br label %76, !llvm.loop !60

319:                                              ; preds = %306, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %320

320:                                              ; preds = %319, %117, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %446

321:                                              ; preds = %313, %84
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  %322 = load i32, ptr %11, align 4
  switch i32 %322, label %445 [
    i32 2, label %323
  ]

323:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #8
  %324 = load ptr, ptr %10, align 8, !tbaa !5
  %325 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %324, i32 0, i32 1
  %326 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %325) #8
  store ptr %326, ptr %37, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  store ptr null, ptr %38, align 8, !tbaa !5
  %327 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %327, label %400 [
    i32 0, label %328
    i32 2, label %346
    i32 1, label %364
    i32 3, label %382
  ]

328:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  %329 = load ptr, ptr %12, align 8, !tbaa !5
  %330 = getelementptr inbounds %"class.AST::Module", ptr %329, i32 0, i32 7
  %331 = load ptr, ptr %37, align 8, !tbaa !5
  %332 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %331)
  %333 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %330, ptr noundef nonnull align 8 dereferenceable(8) %332)
  %334 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %39, i32 0, i32 0
  %335 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %334, i32 0, i32 0
  store ptr %333, ptr %335, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %336 = load ptr, ptr %12, align 8, !tbaa !5
  %337 = getelementptr inbounds %"class.AST::Module", ptr %336, i32 0, i32 7
  %338 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %337) #8
  %339 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %40, i32 0, i32 0
  %340 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %339, i32 0, i32 0
  store ptr %338, ptr %340, align 8
  %341 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br i1 %341, label %342, label %345

342:                                              ; preds = %328
  %343 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  %344 = getelementptr inbounds %"struct.std::pair.587", ptr %343, i32 0, i32 1
  store ptr %344, ptr %38, align 8, !tbaa !5
  br label %345

345:                                              ; preds = %342, %328
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %400

346:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %347 = load ptr, ptr %12, align 8, !tbaa !5
  %348 = getelementptr inbounds %"class.AST::Module", ptr %347, i32 0, i32 9
  %349 = load ptr, ptr %37, align 8, !tbaa !5
  %350 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %349)
  %351 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %348, ptr noundef nonnull align 8 dereferenceable(8) %350)
  %352 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %41, i32 0, i32 0
  %353 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %352, i32 0, i32 0
  store ptr %351, ptr %353, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %354 = load ptr, ptr %12, align 8, !tbaa !5
  %355 = getelementptr inbounds %"class.AST::Module", ptr %354, i32 0, i32 9
  %356 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %355) #8
  %357 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %42, i32 0, i32 0
  %358 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %357, i32 0, i32 0
  store ptr %356, ptr %358, align 8
  %359 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br i1 %359, label %360, label %363

360:                                              ; preds = %346
  %361 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  %362 = getelementptr inbounds %"struct.std::pair.587", ptr %361, i32 0, i32 1
  store ptr %362, ptr %38, align 8, !tbaa !5
  br label %363

363:                                              ; preds = %360, %346
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %400

364:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %365 = load ptr, ptr %12, align 8, !tbaa !5
  %366 = getelementptr inbounds %"class.AST::Module", ptr %365, i32 0, i32 8
  %367 = load ptr, ptr %37, align 8, !tbaa !5
  %368 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %367)
  %369 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %366, ptr noundef nonnull align 8 dereferenceable(8) %368)
  %370 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %43, i32 0, i32 0
  %371 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %370, i32 0, i32 0
  store ptr %369, ptr %371, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %372 = load ptr, ptr %12, align 8, !tbaa !5
  %373 = getelementptr inbounds %"class.AST::Module", ptr %372, i32 0, i32 8
  %374 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %373) #8
  %375 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %44, i32 0, i32 0
  %376 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %375, i32 0, i32 0
  store ptr %374, ptr %376, align 8
  %377 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br i1 %377, label %378, label %381

378:                                              ; preds = %364
  %379 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  %380 = getelementptr inbounds %"struct.std::pair.587", ptr %379, i32 0, i32 1
  store ptr %380, ptr %38, align 8, !tbaa !5
  br label %381

381:                                              ; preds = %378, %364
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %400

382:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %383 = load ptr, ptr %12, align 8, !tbaa !5
  %384 = getelementptr inbounds %"class.AST::Module", ptr %383, i32 0, i32 10
  %385 = load ptr, ptr %37, align 8, !tbaa !5
  %386 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %385)
  %387 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %384, ptr noundef nonnull align 8 dereferenceable(8) %386)
  %388 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %45, i32 0, i32 0
  %389 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %388, i32 0, i32 0
  store ptr %387, ptr %389, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %390 = load ptr, ptr %12, align 8, !tbaa !5
  %391 = getelementptr inbounds %"class.AST::Module", ptr %390, i32 0, i32 10
  %392 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %391) #8
  %393 = getelementptr inbounds %"struct.std::__detail::_Node_const_iterator.586", ptr %46, i32 0, i32 0
  %394 = getelementptr inbounds %"struct.std::__detail::_Node_iterator_base", ptr %393, i32 0, i32 0
  store ptr %392, ptr %394, align 8
  %395 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  br i1 %395, label %396, label %399

396:                                              ; preds = %382
  %397 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  %398 = getelementptr inbounds %"struct.std::pair.587", ptr %397, i32 0, i32 1
  store ptr %398, ptr %38, align 8, !tbaa !5
  br label %399

399:                                              ; preds = %396, %382
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %400

400:                                              ; preds = %399, %381, %363, %345, %323
  %401 = load ptr, ptr %38, align 8, !tbaa !5
  %402 = icmp ne ptr %401, null
  br i1 %402, label %421, label %403

403:                                              ; preds = %400
  br label %404

404:                                              ; preds = %403
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %405 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %405)
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %406 = getelementptr inbounds %class.anon.612, ptr %49, i32 0, i32 0
  %407 = load ptr, ptr %8, align 8, !tbaa !5
  store ptr %407, ptr %406, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %47, i32 noundef 0, ptr noundef %48)
          to label %408 unwind label %411

408:                                              ; preds = %404
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  %409 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %409, ptr noundef @.str.12)
          to label %410 unwind label %415

410:                                              ; preds = %408
  call void @__cxa_throw(ptr %409, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
  unreachable

411:                                              ; preds = %404
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %20, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %21, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %444

415:                                              ; preds = %408
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %20, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %21, align 4
  call void @__cxa_free_exception(ptr %409) #8
  br label %444

419:                                              ; No predecessors!
  br label %420

420:                                              ; preds = %419
  br label %421

421:                                              ; preds = %420, %400
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %422 = load ptr, ptr %38, align 8, !tbaa !5
  store ptr %422, ptr %50, align 8, !tbaa !5
  %423 = load ptr, ptr %50, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.AST::Module::IndexEnt", ptr %423, i32 0, i32 0
  %425 = load i8, ptr %424, align 8, !tbaa !13, !range !42, !noundef !43
  %426 = trunc i8 %425 to i1
  br i1 %426, label %427, label %442

427:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 240, ptr %51) #8
  %428 = load ptr, ptr %50, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.AST::Module::IndexEnt", ptr %428, i32 0, i32 3
  call void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %51, ptr noundef nonnull align 8 dereferenceable(240) %429)
  %430 = load ptr, ptr %8, align 8, !tbaa !5
  %431 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZN3AST4PathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(240) %430, ptr noundef nonnull align 8 dereferenceable(240) %51)
          to label %432 unwind label %438

432:                                              ; preds = %427
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %51) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %51) #8
  %433 = load ptr, ptr %6, align 8, !tbaa !5
  %434 = load ptr, ptr %7, align 8, !tbaa !5
  %435 = load ptr, ptr %8, align 8, !tbaa !5
  %436 = load i32, ptr %9, align 4, !tbaa !9
  %437 = call noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %433, ptr noundef nonnull align 8 dereferenceable(8) %434, ptr noundef nonnull align 8 dereferenceable(240) %435, i32 noundef %436)
  store i1 true, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %443

438:                                              ; preds = %427
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %20, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %21, align 4
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %51) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %444

442:                                              ; preds = %421
  store i1 false, ptr %5, align 1
  store i32 1, ptr %11, align 4
  br label %443

443:                                              ; preds = %442, %432
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %445

444:                                              ; preds = %438, %415, %411
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #8
  br label %446

445:                                              ; preds = %443, %321
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %447

446:                                              ; preds = %444, %320
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %449

447:                                              ; preds = %445, %63, %62
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  %448 = load i1, ptr %5, align 1
  ret i1 %448

449:                                              ; preds = %446
  %450 = load ptr, ptr %20, align 8
  %451 = load i32, ptr %21, align 4
  %452 = insertvalue { ptr, i32 } poison, ptr %450, 0
  %453 = insertvalue { ptr, i32 } %452, i32 %451, 1
  resume { ptr, i32 } %453
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #5 align 2

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

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn }
attributes #10 = { noreturn 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 = !{!"_ZTS9IndexName", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !15, i64 0}
!14 = !{!"_ZTSN3AST6Module8IndexEntE", !15, i64 0, !16, i64 8, !23, i64 48}
!15 = !{!"bool", !7, i64 0}
!16 = !{!"_ZTSN3AST10VisibilityE", !17, i64 0, !20, i64 16, !22, i64 32}
!17 = !{!"_ZTSSt10shared_ptrIN3AST4PathEE", !18, i64 0}
!18 = !{!"_ZTSSt12__shared_ptrIN3AST4PathELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!19 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0}
!20 = !{!"_ZTSSt10shared_ptrIN3AST12AbsolutePathEE", !21, i64 0}
!21 = !{!"_ZTSSt12__shared_ptrIN3AST12AbsolutePathELN9__gnu_cxx12_Lock_policyE2EE", !6, i64 0, !19, i64 8}
!22 = !{!"_ZTSN3AST10Visibility2TyE", !7, i64 0}
!23 = !{!"_ZTSN3AST4PathE", !24, i64 8, !26, i64 56}
!24 = !{!"_ZTSN3AST4Path5ClassE", !25, i64 0, !7, i64 8}
!25 = !{!"_ZTSN3AST4Path5Class3TagE", !7, i64 0}
!26 = !{!"_ZTSN3AST4Path8BindingsE", !27, i64 0, !36, i64 64, !39, i64 128}
!27 = !{!"_ZTSN3AST11PathBindingINS_17PathBinding_ValueEEE", !28, i64 0, !34, i64 32}
!28 = !{!"_ZTSN3AST12AbsolutePathE", !29, i64 0, !30, i64 8}
!29 = !{!"_ZTS8RcString", !6, i64 0}
!30 = !{!"_ZTSSt6vectorI8RcStringSaIS0_EE", !31, i64 0}
!31 = !{!"_ZTSSt12_Vector_baseI8RcStringSaIS0_EE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseI8RcStringSaIS0_EE12_Vector_implE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseI8RcStringSaIS0_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!34 = !{!"_ZTSN3AST17PathBinding_ValueE", !35, i64 0, !7, i64 8}
!35 = !{!"_ZTSN3AST17PathBinding_Value3TagE", !7, i64 0}
!36 = !{!"_ZTSN3AST11PathBindingINS_16PathBinding_TypeEEE", !28, i64 0, !37, i64 32}
!37 = !{!"_ZTSN3AST16PathBinding_TypeE", !38, i64 0, !7, i64 8}
!38 = !{!"_ZTSN3AST16PathBinding_Type3TagE", !7, i64 0}
!39 = !{!"_ZTSN3AST11PathBindingINS_17PathBinding_MacroEEE", !28, i64 0, !40, i64 32}
!40 = !{!"_ZTSN3AST17PathBinding_MacroE", !41, i64 0, !7, i64 8}
!41 = !{!"_ZTSN3AST17PathBinding_Macro3TagE", !7, i64 0}
!42 = !{i8 0, i8 2}
!43 = !{}
!44 = distinct !{!44, !45}
!45 = !{!"llvm.loop.mustprogress"}
!46 = !{!15, !15, i64 0}
!47 = !{!48, !6, i64 0}
!48 = !{!"_ZTSN3AST16PathBinding_Type11Data_ModuleE", !6, i64 0, !49, i64 8}
!49 = !{!"_ZTSN3AST16PathBinding_Type11Data_Module3HirE", !6, i64 0, !6, i64 8}
!50 = distinct !{!50, !45}
!51 = distinct !{!51, !45}
!52 = !{!53, !6, i64 0}
!53 = !{!"_ZTSN3AST16PathBinding_Type10Data_CrateE", !6, i64 0}
!54 = distinct !{!54, !45}
!55 = distinct !{!55, !45}
!56 = distinct !{!56, !45}
!57 = distinct !{!57, !45}
!58 = distinct !{!58, !45}
!59 = distinct !{!59, !45}
!60 = distinct !{!60, !45}


; 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"

%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.61", %"struct.AST::PathBinding.62" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.61" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.62" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"struct.std::__detail::_Node_const_iterator.586" = type { %"struct.std::__detail::_Node_iterator_base" }
%"struct.std::__detail::_Node_iterator_base" = type { ptr }
%struct.Span = type { ptr }
%"class.std::function" = 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.610 = type { ptr, ptr }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.45", %"class.std::unique_ptr.53", %"class.std::vector.40" }
%"class.std::unique_ptr.45" = type { %"struct.std::__uniq_ptr_data.46" }
%"struct.std::__uniq_ptr_data.46" = type { %"class.std::__uniq_ptr_impl.47" }
%"class.std::__uniq_ptr_impl.47" = type { %"class.std::tuple.48" }
%"class.std::tuple.48" = type { %"struct.std::_Tuple_impl.49" }
%"struct.std::_Tuple_impl.49" = type { %"struct.std::_Head_base.52" }
%"struct.std::_Head_base.52" = type { ptr }
%"class.std::unique_ptr.53" = type { %"struct.std::__uniq_ptr_data.54" }
%"struct.std::__uniq_ptr_data.54" = type { %"class.std::__uniq_ptr_impl.55" }
%"class.std::__uniq_ptr_impl.55" = type { %"class.std::tuple.56" }
%"class.std::tuple.56" = type { %"struct.std::_Tuple_impl.57" }
%"struct.std::_Tuple_impl.57" = type { %"struct.std::_Head_base.60" }
%"struct.std::_Head_base.60" = type { ptr }
%"class.std::vector.40" = type { %"struct.std::_Vector_base.41" }
%"struct.std::_Vector_base.41" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.611 = type { ptr, ptr }
%class.anon.612 = type { ptr }

@.str.4 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.12 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [10 x i8], align 1
@__PRETTY_FUNCTION__._Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName = external hidden unnamed_addr constant [103 x i8], align 1

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

declare void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

declare void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #3

declare void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #1

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt13runtime_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #3

declare void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(240), i32 noundef, ptr noundef nonnull align 8 dereferenceable(56), i32 noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3AST4Path8Bindings5cloneEv(ptr dead_on_unwind noalias writable sret(%"struct.AST::Path::Bindings") align 8, ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZN3AST4Path8BindingsaSEOS1_(ptr noundef nonnull align 8 dereferenceable(184), ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3) local_unnamed_addr #5 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %7 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %8 = alloca %struct.Span, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon.610, align 8
  %11 = alloca %"class.AST::Path", align 8
  %12 = alloca %"struct.AST::Path::Bindings", align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon.611, align 8
  %16 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %17 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %18 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %19 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %20 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %21 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %22 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %23 = alloca %"struct.std::__detail::_Node_const_iterator.586", align 8
  %24 = alloca %struct.Span, align 8
  %25 = alloca %"class.std::function", align 8
  %26 = alloca %class.anon.612, align 8
  %27 = alloca %"class.AST::Path", align 8
  %28 = getelementptr inbounds i8, ptr %2, i64 8
  %29 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZN3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
  %30 = tail call noundef zeroext i1 @_ZNK8RcStringneEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.4)
  br i1 %30, label %31, label %36

31:                                               ; preds = %4
  %32 = tail call noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.35)
  br i1 %32, label %177, label %33

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %0, i64 576
  %35 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt3mapI8RcStringN3AST11ExternCrateESt4lessIS0_ESaISt4pairIKS0_S2_EEE2atERS6_(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef nonnull align 8 dereferenceable(8) %29)
  tail call void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(56) %35, i32 noundef 0)
  br label %177

36:                                               ; preds = %4
  %37 = getelementptr inbounds i8, ptr %0, i64 72
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  %38 = getelementptr inbounds i8, ptr %29, i64 8
  store i32 0, ptr %5, align 4, !tbaa !5
  %39 = tail call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %.not291.not = icmp eq i64 %39, 1
  br i1 %.not291.not, label %.loopexit, label %.lr.ph294

.lr.ph294:                                        ; preds = %36, %.preheader
  %40 = phi i32 [ %97, %.preheader ], [ 0, %36 ]
  %.0110292 = phi ptr [ %95, %.preheader ], [ %37, %36 ]
  %41 = zext i32 %40 to i64
  %42 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %41) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  %43 = getelementptr inbounds i8, ptr %.0110292, i64 184
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %42)
  %45 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %43, ptr noundef nonnull align 8 dereferenceable(8) %44)
  store ptr %45, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  %46 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %43) #8
  store ptr %46, ptr %7, align 8
  %47 = call noundef zeroext i1 @_ZNSt8__detaileqERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  br i1 %47, label %48, label %57

48:                                               ; preds = %.lr.ph294
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #8
  store ptr %5, ptr %10, align 8, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %10, i64 8
  store ptr %2, ptr %49, align 8, !tbaa !9
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(16) %10) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %8, i32 noundef 0, ptr noundef nonnull %9)
          to label %50 unwind label %53

50:                                               ; preds = %48
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %51 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull @.str.12)
          to label %52 unwind label %55

52:                                               ; preds = %50
  call void @__cxa_throw(ptr nonnull %51, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
  unreachable

53:                                               ; preds = %48
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %115

55:                                               ; preds = %50
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %51) #8
  br label %115

57:                                               ; preds = %.lr.ph294
  %58 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #8
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load i8, ptr %59, align 8, !tbaa !11, !range !40, !noundef !41
  %61 = trunc nuw i8 %60 to i1
  br i1 %61, label %64, label %.preheader173.split

.preheader173.split:                              ; preds = %57
  %62 = getelementptr inbounds i8, ptr %58, i64 208
  %63 = call noundef i32 @_ZNK3AST16PathBinding_Type3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  switch i32 %63, label %.split234.split [
    i32 0, label %.split236
    i32 3, label %.preheader
    i32 2, label %.split238
    i32 5, label %.split243
  ]

64:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %11) #8
  %65 = getelementptr inbounds i8, ptr %58, i64 56
  call void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %11, ptr noundef nonnull align 8 dereferenceable(240) %65)
  %66 = load i32, ptr %5, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %75, %64
  %.0137.in = phi i32 [ %66, %64 ], [ %.0137, %75 ]
  %.0137 = add i32 %.0137.in, 1
  %68 = zext i32 %.0137 to i64
  %69 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %70 = icmp ugt i64 %69, %68
  br i1 %70, label %73, label %71

71:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 184, ptr nonnull %12) #8
  %72 = getelementptr inbounds i8, ptr %2, i64 56
  invoke void @_ZNK3AST4Path8Bindings5cloneEv(ptr dead_on_unwind nonnull writable sret(%"struct.AST::Path::Bindings") align 8 %12, ptr noundef nonnull align 8 dereferenceable(184) %72)
          to label %79 unwind label %86

73:                                               ; preds = %67
  %74 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %11)
          to label %75 unwind label %77

75:                                               ; preds = %73
  %76 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %68) #8
  invoke void @_ZNSt6vectorIN3AST8PathNodeESaIS1_EE9push_backERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(40) %76)
          to label %67 unwind label %77, !llvm.loop !42

77:                                               ; preds = %75, %73
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %93

79:                                               ; preds = %71
  %80 = getelementptr inbounds i8, ptr %11, i64 56
  %81 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZN3AST4Path8BindingsaSEOS1_(ptr noundef nonnull align 8 dereferenceable(184) %80, ptr noundef nonnull align 8 dereferenceable(184) %12)
          to label %82 unwind label %88

82:                                               ; preds = %79
  call void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %12) #8
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %12) #8
  %83 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZN3AST4PathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(240) %2, ptr noundef nonnull align 8 dereferenceable(240) %11)
          to label %84 unwind label %91

84:                                               ; preds = %82
  %85 = invoke noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3)
          to label %.thread154 unwind label %91

.thread154:                                       ; preds = %84
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %11) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %116

86:                                               ; preds = %71
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %90

88:                                               ; preds = %79
  %89 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST4Path8BindingsD2Ev(ptr noundef nonnull align 8 dereferenceable(184) %12) #8
  br label %90

90:                                               ; preds = %88, %86
  %.pn142 = phi { ptr, i32 } [ %89, %88 ], [ %87, %86 ]
  call void @llvm.lifetime.end.p0(i64 184, ptr nonnull %12) #8
  br label %93

91:                                               ; preds = %84, %82
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %93

93:                                               ; preds = %91, %90, %77
  %.pn147 = phi { ptr, i32 } [ %78, %77 ], [ %92, %91 ], [ %.pn142, %90 ]
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %11) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %11) #8
  br label %115

.preheader:                                       ; preds = %.preheader173.split
  %94 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST16PathBinding_Type9as_ModuleEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  %95 = load ptr, ptr %94, align 8, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  %96 = load i32, ptr %5, align 4, !tbaa !5
  %97 = add i32 %96, 1
  store i32 %97, ptr %5, align 4, !tbaa !5
  %98 = zext i32 %97 to i64
  %99 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %100 = add i64 %99, -1
  %.not = icmp ugt i64 %100, %98
  br i1 %.not, label %.lr.ph294, label %.loopexit, !llvm.loop !47

.split236:                                        ; preds = %.preheader173.split
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.21, i32 noundef 831, ptr noundef nonnull @__PRETTY_FUNCTION__._Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName) #10
  unreachable

.split234.split:                                  ; preds = %.preheader173.split
  %101 = getelementptr inbounds i8, ptr %58, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  store ptr %2, ptr %15, align 8, !tbaa !9
  %102 = getelementptr inbounds i8, ptr %15, i64 8
  store ptr %101, ptr %102, align 8, !tbaa !9
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %14)
          to label %103 unwind label %106

103:                                              ; preds = %.split234.split
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %104 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %104, ptr noundef nonnull @.str.5)
          to label %105 unwind label %108

105:                                              ; preds = %103
  call void @__cxa_throw(ptr nonnull %104, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
  unreachable

106:                                              ; preds = %.split234.split
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  br label %115

108:                                              ; preds = %103
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %104) #8
  br label %115

.split238:                                        ; preds = %.preheader173.split
  %110 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST16PathBinding_Type8as_CrateEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  %111 = load ptr, ptr %110, align 8, !tbaa !48
  %112 = load i32, ptr %5, align 4, !tbaa !5
  %113 = add i32 %112, 1
  call void @_Z39Resolve_Index_Module_Normalise_Path_extRKN3AST5CrateERK4SpanRNS_4PathE9IndexNameRKNS_11ExternCrateEj(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(56) %111, i32 noundef %113)
  br label %.loopexit174

.split243:                                        ; preds = %.preheader173.split
  %114 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3AST16PathBinding_Type7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(32) %62)
  br label %.loopexit174

.loopexit174:                                     ; preds = %.split243, %.split238
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %116

115:                                              ; preds = %93, %108, %106, %55, %53
  %.pn150 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ], [ %.pn147, %93 ], [ %109, %108 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %176

116:                                              ; preds = %.loopexit174, %.thread154
  %.13 = phi i1 [ %85, %.thread154 ], [ false, %.loopexit174 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  br label %177

.loopexit:                                        ; preds = %.preheader, %36
  %.0110.lcssa = phi ptr [ %37, %36 ], [ %95, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  %117 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  switch i32 %3, label %.thread168 [
    i32 0, label %118
    i32 2, label %128
    i32 1, label %138
    i32 3, label %148
  ]

118:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %119 = getelementptr inbounds i8, ptr %.0110.lcssa, i64 184
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %121 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %119, ptr noundef nonnull align 8 dereferenceable(8) %120)
  store ptr %121, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %122 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %119) #8
  store ptr %122, ptr %17, align 8
  %123 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br i1 %123, label %124, label %127

124:                                              ; preds = %118
  %125 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  %126 = getelementptr inbounds i8, ptr %125, i64 8
  br label %127

127:                                              ; preds = %124, %118
  %.097 = phi ptr [ %126, %124 ], [ null, %118 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %158

128:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %129 = getelementptr inbounds i8, ptr %.0110.lcssa, i64 296
  %130 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %131 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %129, ptr noundef nonnull align 8 dereferenceable(8) %130)
  store ptr %131, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %132 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %129) #8
  store ptr %132, ptr %19, align 8
  %133 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  br i1 %133, label %134, label %137

134:                                              ; preds = %128
  %135 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %136 = getelementptr inbounds i8, ptr %135, i64 8
  br label %137

137:                                              ; preds = %134, %128
  %.198 = phi ptr [ %136, %134 ], [ null, %128 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %158

138:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %139 = getelementptr inbounds i8, ptr %.0110.lcssa, i64 240
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %141 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %139, ptr noundef nonnull align 8 dereferenceable(8) %140)
  store ptr %141, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %142 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %139) #8
  store ptr %142, ptr %21, align 8
  %143 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br i1 %143, label %144, label %147

144:                                              ; preds = %138
  %145 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %146 = getelementptr inbounds i8, ptr %145, i64 8
  br label %147

147:                                              ; preds = %144, %138
  %.299 = phi ptr [ %146, %144 ], [ null, %138 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  br label %158

148:                                              ; preds = %.loopexit
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  %149 = getelementptr inbounds i8, ptr %.0110.lcssa, i64 352
  %150 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %117)
  %151 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE4findERS9_(ptr noundef nonnull align 8 dereferenceable(56) %149, ptr noundef nonnull align 8 dereferenceable(8) %150)
  store ptr %151, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %152 = call ptr @_ZNKSt13unordered_mapI8RcStringN3AST6Module8IndexEntESt4hashIS0_ESt8equal_toIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(56) %149) #8
  store ptr %152, ptr %23, align 8
  %153 = call noundef zeroext i1 @_ZNSt8__detailneERKNS_19_Node_iterator_baseISt4pairIK8RcStringN3AST6Module8IndexEntEELb0EEESA_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br i1 %153, label %154, label %157

154:                                              ; preds = %148
  %155 = call noundef ptr @_ZNKSt8__detail20_Node_const_iteratorISt4pairIK8RcStringN3AST6Module8IndexEntEELb0ELb0EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  %156 = getelementptr inbounds i8, ptr %155, i64 8
  br label %157

157:                                              ; preds = %154, %148
  %.3100 = phi ptr [ %156, %154 ], [ null, %148 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %158

158:                                              ; preds = %157, %147, %137, %127
  %.4101 = phi ptr [ %.3100, %157 ], [ %.299, %147 ], [ %.198, %137 ], [ %.097, %127 ]
  %.not144 = icmp eq ptr %.4101, null
  br i1 %.not144, label %.thread168, label %166

.thread168:                                       ; preds = %.loopexit, %158
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #8
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  store ptr %2, ptr %26, align 8, !tbaa !9
  call void @"_ZNSt8functionIFvRSoEEC2IZ35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS4_4PathE9IndexNameE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %24, i32 noundef 0, ptr noundef nonnull %25)
          to label %159 unwind label %162

159:                                              ; preds = %.thread168
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  %160 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %160, ptr noundef nonnull @.str.12)
          to label %161 unwind label %164

161:                                              ; preds = %159
  call void @__cxa_throw(ptr nonnull %160, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
  unreachable

162:                                              ; preds = %.thread168
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #8
  br label %176

164:                                              ; preds = %159
  %165 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %160) #8
  br label %176

166:                                              ; preds = %158
  %167 = load i8, ptr %.4101, align 8, !tbaa !11, !range !40, !noundef !41
  %168 = trunc nuw i8 %167 to i1
  br i1 %168, label %169, label %177

169:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %27) #8
  %170 = getelementptr inbounds i8, ptr %.4101, i64 48
  call void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %27, ptr noundef nonnull align 8 dereferenceable(240) %170)
  %171 = invoke noundef nonnull align 8 dereferenceable(240) ptr @_ZN3AST4PathaSEOS0_(ptr noundef nonnull align 8 dereferenceable(240) %2, ptr noundef nonnull align 8 dereferenceable(240) %27)
          to label %172 unwind label %174

172:                                              ; preds = %169
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %27) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %27) #8
  %173 = call noundef zeroext i1 @_Z35Resolve_Index_Module_Normalise_PathRKN3AST5CrateERK4SpanRNS_4PathE9IndexName(ptr noundef nonnull align 8 dereferenceable(1112) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(240) %2, i32 noundef %3)
  br label %177

174:                                              ; preds = %169
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %27) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %27) #8
  br label %176

176:                                              ; preds = %162, %164, %174, %115
  %.pn150.pn = phi { ptr, i32 } [ %.pn150, %115 ], [ %175, %174 ], [ %165, %164 ], [ %163, %162 ]
  resume { ptr, i32 } %.pn150.pn

177:                                              ; preds = %116, %166, %172, %31, %33
  %.16 = phi i1 [ false, %33 ], [ false, %31 ], [ %.13, %116 ], [ false, %166 ], [ true, %172 ]
  ret i1 %.16
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN3AST6Module8IndexEntE", !13, i64 0, !14, i64 8, !21, i64 48}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN3AST10VisibilityE", !15, i64 0, !18, i64 16, !20, i64 32}
!15 = !{!"_ZTSSt10shared_ptrIN3AST4PathEE", !16, i64 0}
!16 = !{!"_ZTSSt12__shared_ptrIN3AST4PathELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !17, i64 8}
!17 = !{!"_ZTSSt14__shared_countILN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0}
!18 = !{!"_ZTSSt10shared_ptrIN3AST12AbsolutePathEE", !19, i64 0}
!19 = !{!"_ZTSSt12__shared_ptrIN3AST12AbsolutePathELN9__gnu_cxx12_Lock_policyE2EE", !10, i64 0, !17, i64 8}
!20 = !{!"_ZTSN3AST10Visibility2TyE", !7, i64 0}
!21 = !{!"_ZTSN3AST4PathE", !22, i64 8, !24, i64 56}
!22 = !{!"_ZTSN3AST4Path5ClassE", !23, i64 0, !7, i64 8}
!23 = !{!"_ZTSN3AST4Path5Class3TagE", !7, i64 0}
!24 = !{!"_ZTSN3AST4Path8BindingsE", !25, i64 0, !34, i64 64, !37, i64 128}
!25 = !{!"_ZTSN3AST11PathBindingINS_17PathBinding_ValueEEE", !26, i64 0, !32, i64 32}
!26 = !{!"_ZTSN3AST12AbsolutePathE", !27, i64 0, !28, i64 8}
!27 = !{!"_ZTS8RcString", !10, i64 0}
!28 = !{!"_ZTSSt6vectorI8RcStringSaIS0_EE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseI8RcStringSaIS0_EE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseI8RcStringSaIS0_EE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseI8RcStringSaIS0_EE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!32 = !{!"_ZTSN3AST17PathBinding_ValueE", !33, i64 0, !7, i64 8}
!33 = !{!"_ZTSN3AST17PathBinding_Value3TagE", !7, i64 0}
!34 = !{!"_ZTSN3AST11PathBindingINS_16PathBinding_TypeEEE", !26, i64 0, !35, i64 32}
!35 = !{!"_ZTSN3AST16PathBinding_TypeE", !36, i64 0, !7, i64 8}
!36 = !{!"_ZTSN3AST16PathBinding_Type3TagE", !7, i64 0}
!37 = !{!"_ZTSN3AST11PathBindingINS_17PathBinding_MacroEEE", !26, i64 0, !38, i64 32}
!38 = !{!"_ZTSN3AST17PathBinding_MacroE", !39, i64 0, !7, i64 8}
!39 = !{!"_ZTSN3AST17PathBinding_Macro3TagE", !7, i64 0}
!40 = !{i8 0, i8 2}
!41 = !{}
!42 = distinct !{!42, !43}
!43 = !{!"llvm.loop.mustprogress"}
!44 = !{!45, !10, i64 0}
!45 = !{!"_ZTSN3AST16PathBinding_Type11Data_ModuleE", !10, i64 0, !46, i64 8}
!46 = !{!"_ZTSN3AST16PathBinding_Type11Data_Module3HirE", !10, i64 0, !10, i64 8}
!47 = distinct !{!47, !43}
!48 = !{!49, !10, i64 0}
!49 = !{!"_ZTSN3AST16PathBinding_Type10Data_CrateE", !10, i64 0}


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