; LLVM IR from thepowersgang/mrustc :: src/hir_typeck (helpers)

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

%"class.HIR::TypeRef" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.143 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.143 = type { i64, [8 x i8] }
%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.684 = type { ptr, ptr }
%struct.MonomorphStatePtr = type { %class.MonomorphiserPP, ptr, ptr, ptr, ptr }
%class.MonomorphiserPP = type { %class.Monomorphiser }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.181" }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.181" = type { %"struct.std::_Vector_base.182" }
%"struct.std::_Vector_base.182" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.598" = type { ptr }
%"struct.HIR::TypeData_Path" = type { %"class.HIR::Path", %"class.HIR::TypePathBinding", %"class.std::unique_ptr.29" }
%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.29" }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.26, %class.ThinVector.27, %class.ThinVector.28 }
%class.ThinVector.26 = type { ptr }
%class.ThinVector.27 = type { ptr }
%class.ThinVector.28 = type { ptr }
%"class.HIR::TypePathBinding" = type { i32, %"union.HIR::TypePathBinding::DataUnion" }
%"union.HIR::TypePathBinding::DataUnion" = type { ptr }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }
%"class.HIR::Struct" = type <{ %"class.HIR::GenericParams", i32, [4 x i8], %"class.HIR::Struct::Data", i32, i32, %"struct.HIR::TraitMarkings", %"struct.HIR::StructMarkings", i32, [4 x i8] }>
%"class.HIR::GenericParams" = type { %"class.std::vector.65", %"class.std::vector.70", %"class.std::vector.75", %"class.std::vector.80" }
%"class.std::vector.65" = type { %"struct.std::_Vector_base.66" }
%"struct.std::_Vector_base.66" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::TypeParamDef, std::allocator<HIR::TypeParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.70" = type { %"struct.std::_Vector_base.71" }
%"struct.std::_Vector_base.71" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::LifetimeDef, std::allocator<HIR::LifetimeDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.75" = type { %"struct.std::_Vector_base.76" }
%"struct.std::_Vector_base.76" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ValueParamDef, std::allocator<HIR::ValueParamDef>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.80" = type { %"struct.std::_Vector_base.81" }
%"struct.std::_Vector_base.81" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::GenericBound, std::allocator<HIR::GenericBound>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.HIR::Struct::Data" = type { i32, %"union.HIR::Struct::Data::DataUnion" }
%"union.HIR::Struct::Data::DataUnion" = type { %"class.std::vector.474" }
%"class.std::vector.474" = type { %"struct.std::_Vector_base.475" }
%"struct.std::_Vector_base.475" = type { %"struct.std::_Vector_base<HIR::VisEnt<HIR::TypeRef>, std::allocator<HIR::VisEnt<HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::VisEnt<HIR::TypeRef>, std::allocator<HIR::VisEnt<HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::VisEnt<HIR::TypeRef>, std::allocator<HIR::VisEnt<HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::VisEnt<HIR::TypeRef>, std::allocator<HIR::VisEnt<HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.HIR::TraitMarkings" = type { i8, i8, i8, %"class.std::map.469" }
%"class.std::map.469" = type { %"class.std::_Rb_tree.470" }
%"class.std::_Rb_tree.470" = type { %"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::TraitMarkings::AutoMarking>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::TraitMarkings::AutoMarking>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::SimplePath, std::pair<const HIR::SimplePath, HIR::TraitMarkings::AutoMarking>, std::_Select1st<std::pair<const HIR::SimplePath, HIR::TraitMarkings::AutoMarking>>, std::less<HIR::SimplePath>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"struct.HIR::StructMarkings" = type { i8, i32, i32, i32, i32, i32, i32, i8, i8, %class.U128 }
%class.U128 = type { i64, i64 }
%"struct.HIR::VisEnt" = type { %"class.HIR::Publicity", %"class.HIR::TypeRef" }
%"class.HIR::Publicity" = type { %"class.std::shared_ptr.595" }
%"class.std::shared_ptr.595" = type { %"class.std::__shared_ptr.596" }
%"class.std::__shared_ptr.596" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%class.TraitResolution = type { %struct.TraitResolveCommon, ptr, ptr, ptr, ptr, ptr, %"class.std::vector.216" }
%struct.TraitResolveCommon = type { ptr, ptr, ptr, %"class.std::map.205", %class.RangeVecMap, %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath", %"struct.HIR::SimplePath" }
%"class.std::map.205" = type { %"class.std::_Rb_tree.206" }
%"class.std::_Rb_tree.206" = type { %"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>, std::_Select1st<std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeRef, std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>, std::_Select1st<std::pair<const HIR::TypeRef, TraitResolveCommon::CachedEquality>>, std::less<HIR::TypeRef>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%class.RangeVecMap = type <{ %"class.std::vector.211", [8 x i8] }>
%"class.std::vector.211" = type { %"struct.std::_Vector_base.212" }
%"struct.std::_Vector_base.212" = type { %"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>, std::allocator<std::unique_ptr<std::pair<std::pair<HIR::TypeRef, HIR::GenericPath>, TraitResolveCommon::CachedBound>>>>::_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::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<HIR::TypeRef>, std::allocator<std::unique_ptr<HIR::TypeRef>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.std::pair.599" = type { %class.RcString, %"struct.HIR::VisEnt" }
%"class.HIR::Union" = type { %"class.HIR::GenericParams", i32, %"class.std::vector.479", %"struct.HIR::TraitMarkings" }
%"class.std::vector.479" = type { %"struct.std::_Vector_base.480" }
%"struct.std::_Vector_base.480" = type { %"struct.std::_Vector_base<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>, std::allocator<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>, std::allocator<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>, std::allocator<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>, std::allocator<std::pair<RcString, HIR::VisEnt<HIR::TypeRef>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@g_debug_indent_level = external global i32, align 4
@.str.7 = external hidden unnamed_addr constant [81 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [3 x i8], align 1
@__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_ = external hidden unnamed_addr constant [113 x i8], align 1
@__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_ = external hidden unnamed_addr constant [11 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #3 align 2

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

declare void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_(ptr noundef nonnull align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca %struct.Span, align 8
  %20 = alloca %"class.std::function", align 8
  %21 = alloca %class.anon.684, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca i8, align 1
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %struct.MonomorphStatePtr, 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 i32, align 4
  %38 = alloca %"class.std::__cxx11::basic_string", align 8
  %39 = alloca i1, align 1
  %40 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %41 = alloca i1, align 1
  %42 = alloca i1, align 1
  %43 = alloca i1, align 1
  %44 = alloca %"class.HIR::TypeRef", align 8
  %45 = alloca i8, align 1
  %46 = alloca ptr, align 8
  %47 = alloca ptr, align 8
  %48 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %49 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %50 = alloca ptr, align 8
  %51 = alloca %"class.HIR::TypeRef", align 8
  %52 = alloca i8, align 1
  %53 = alloca ptr, align 8
  %54 = alloca i8, align 1
  %55 = alloca ptr, align 8
  %56 = alloca i8, align 1
  %57 = alloca ptr, align 8
  %58 = alloca ptr, align 8
  %59 = alloca ptr, align 8
  %60 = alloca %struct.MonomorphStatePtr, align 8
  %61 = alloca ptr, align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %64 = alloca ptr, align 8
  %65 = alloca %"class.HIR::TypeRef", align 8
  %66 = alloca ptr, align 8
  %67 = alloca i32, align 4
  %68 = alloca %"class.std::__cxx11::basic_string", align 8
  %69 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %70 = alloca %"class.HIR::TypeRef", align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %72 = load ptr, ptr %9, align 8, !tbaa !5
  %73 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %72)
  %74 = call noundef ptr @_ZNK3HIR8TypeData8opt_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %73)
  store ptr %74, ptr %12, align 8, !tbaa !5
  %75 = load ptr, ptr %12, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %660

77:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  store i8 1, ptr %13, align 1, !tbaa !9
  br label %78

78:                                               ; preds = %656, %77
  %79 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %80 = trunc i8 %79 to i1
  br i1 %80, label %82, label %81

81:                                               ; preds = %78
  store i32 2, ptr %14, align 4
  br label %657

82:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %83, i32 0, i32 1
  store ptr %84, ptr %15, align 8, !tbaa !5
  br label %85

85:                                               ; preds = %651, %82
  %86 = load i8, ptr %13, align 1, !tbaa !9, !range !11, !noundef !12
  %87 = trunc i8 %86 to i1
  br i1 %87, label %89, label %88

88:                                               ; preds = %85
  store i32 5, ptr %14, align 4
  br label %652

89:                                               ; preds = %85
  %90 = load ptr, ptr %15, align 8, !tbaa !5
  %91 = call noundef i32 @_ZNK3HIR15TypePathBinding3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %90)
  switch i32 %91, label %650 [
    i32 0, label %92
    i32 1, label %93
    i32 2, label %130
    i32 4, label %148
    i32 6, label %523
    i32 3, label %541
    i32 5, label %559
  ]

92:                                               ; preds = %89
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 5182, ptr noundef @__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_) #9
  unreachable

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 1, ptr %16, align 1, !tbaa !9
  br label %94

94:                                               ; preds = %128, %93
  %95 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %96 = trunc i8 %95 to i1
  br i1 %96, label %98, label %97

97:                                               ; preds = %94
  store i32 9, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %129

98:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %99 = load ptr, ptr %15, align 8, !tbaa !5
  %100 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR15TypePathBinding10as_UnboundEv(ptr noundef nonnull align 8 dereferenceable(16) %99)
  store ptr %100, ptr %17, align 8, !tbaa !5
  br label %101

101:                                              ; preds = %126, %98
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  %103 = load i8, ptr %16, align 1, !tbaa !9, !range !11, !noundef !12
  %104 = trunc i8 %103 to i1
  br i1 %104, label %106, label %105

105:                                              ; preds = %101
  store i32 12, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  br label %127

106:                                              ; preds = %101
  br label %107

107:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  store ptr @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %108)
  call void @llvm.lifetime.start.p0(i64 16, ptr %21) #8
  %109 = getelementptr inbounds %class.anon.684, ptr %21, i32 0, i32 0
  store ptr %18, ptr %109, align 8, !tbaa !5
  %110 = getelementptr inbounds %class.anon.684, ptr %21, i32 0, i32 1
  %111 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %111, ptr %110, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS9_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(16) %21) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %20)
          to label %112 unwind label %115

112:                                              ; preds = %107
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  %113 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %113, ptr noundef @.str.70)
          to label %114 unwind label %119

114:                                              ; preds = %112
  call void @__cxa_throw(ptr %113, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

115:                                              ; preds = %107
  %116 = landingpad { ptr, i32 }
          cleanup
  %117 = extractvalue { ptr, i32 } %116, 0
  store ptr %117, ptr %22, align 8
  %118 = extractvalue { ptr, i32 } %116, 1
  store i32 %118, ptr %23, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %21) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %123

119:                                              ; preds = %112
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %22, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %23, align 4
  call void @__cxa_free_exception(ptr %113) #8
  br label %123

123:                                              ; preds = %119, %115
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  br label %654

124:                                              ; No predecessors!
  br label %125

125:                                              ; preds = %124
  br label %126

126:                                              ; preds = %125
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %101, !llvm.loop !13

127:                                              ; preds = %105
  br label %128

128:                                              ; preds = %127
  store i8 0, ptr %16, align 1, !tbaa !9
  br label %94, !llvm.loop !15

129:                                              ; preds = %97
  br label %650

130:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %131

131:                                              ; preds = %146, %130
  %132 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %133 = trunc i8 %132 to i1
  br i1 %133, label %135, label %134

134:                                              ; preds = %131
  store i32 17, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  br label %147

135:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %136 = load ptr, ptr %15, align 8, !tbaa !5
  %137 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR15TypePathBinding9as_OpaqueEv(ptr noundef nonnull align 8 dereferenceable(16) %136)
  store ptr %137, ptr %25, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %144, %135
  %139 = load ptr, ptr %25, align 8, !tbaa !5
  %140 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %141 = trunc i8 %140 to i1
  br i1 %141, label %143, label %142

142:                                              ; preds = %138
  store i32 20, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %145

143:                                              ; preds = %138
  br label %144

144:                                              ; preds = %143
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %138, !llvm.loop !16

145:                                              ; preds = %142
  br label %146

146:                                              ; preds = %145
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %131, !llvm.loop !17

147:                                              ; preds = %134
  br label %650

148:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #8
  store i8 1, ptr %26, align 1, !tbaa !9
  br label %149

149:                                              ; preds = %519, %148
  %150 = load i8, ptr %26, align 1, !tbaa !9, !range !11, !noundef !12
  %151 = trunc i8 %150 to i1
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  store i32 23, ptr %14, align 4
  br label %520

153:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %154 = load ptr, ptr %15, align 8, !tbaa !5
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding9as_StructEv(ptr noundef nonnull align 8 dereferenceable(16) %154)
  store ptr %155, ptr %27, align 8, !tbaa !5
  br label %156

156:                                              ; preds = %515, %153
  %157 = load ptr, ptr %27, align 8, !tbaa !5
  %158 = load i8, ptr %26, align 1, !tbaa !9, !range !11, !noundef !12
  %159 = trunc i8 %158 to i1
  br i1 %159, label %161, label %160

160:                                              ; preds = %156
  store i32 26, ptr %14, align 4
  br label %516

161:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %162 = load ptr, ptr %27, align 8, !tbaa !5
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  store ptr %163, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  %164 = load ptr, ptr %12, align 8, !tbaa !5
  %165 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %164, i32 0, i32 0
  %166 = getelementptr inbounds %"class.HIR::Path", ptr %165, i32 0, i32 0
  %167 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %166)
  %168 = getelementptr inbounds %"class.HIR::GenericPath", ptr %167, i32 0, i32 1
  store ptr %168, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 128, ptr %30) #8
  %169 = load ptr, ptr %29, align 8, !tbaa !5
  call void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128) %30, ptr noundef null, ptr noundef %169, ptr noundef null, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %170

170:                                              ; preds = %508, %161
  %171 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %172 = trunc i8 %171 to i1
  br i1 %172, label %174, label %173

173:                                              ; preds = %170
  store i32 29, ptr %14, align 4
  br label %509

174:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %175 = load ptr, ptr %28, align 8, !tbaa !5
  %176 = getelementptr inbounds %"class.HIR::Struct", ptr %175, i32 0, i32 3
  store ptr %176, ptr %32, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %503, %174
  %178 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %179 = trunc i8 %178 to i1
  br i1 %179, label %181, label %180

180:                                              ; preds = %177
  store i32 32, ptr %14, align 4
  br label %504

181:                                              ; preds = %177
  %182 = load ptr, ptr %32, align 8, !tbaa !5
  %183 = invoke noundef i32 @_ZNK3HIR6Struct4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %182)
          to label %184 unwind label %185

184:                                              ; preds = %181
  switch i32 %183, label %502 [
    i32 0, label %189
    i32 1, label %190
    i32 2, label %213
    i32 3, label %379
  ]

185:                                              ; preds = %181
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %22, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %23, align 4
  br label %506

189:                                              ; preds = %184
  call void @__assert_fail(ptr noundef @.str.13, ptr noundef @.str.7, i32 noundef 5195, ptr noundef @__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_) #9
  unreachable

190:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  store i8 1, ptr %33, align 1, !tbaa !9
  br label %191

191:                                              ; preds = %211, %190
  %192 = load i8, ptr %33, align 1, !tbaa !9, !range !11, !noundef !12
  %193 = trunc i8 %192 to i1
  br i1 %193, label %195, label %194

194:                                              ; preds = %191
  store i32 36, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %212

195:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %196 = load ptr, ptr %32, align 8, !tbaa !5
  %197 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR6Struct4Data7as_UnitEv(ptr noundef nonnull align 8 dereferenceable(32) %196)
          to label %198 unwind label %204

198:                                              ; preds = %195
  store ptr %197, ptr %34, align 8, !tbaa !5
  br label %199

199:                                              ; preds = %209, %198
  %200 = load ptr, ptr %34, align 8, !tbaa !5
  %201 = load i8, ptr %33, align 1, !tbaa !9, !range !11, !noundef !12
  %202 = trunc i8 %201 to i1
  br i1 %202, label %208, label %203

203:                                              ; preds = %199
  store i32 39, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %210

204:                                              ; preds = %195
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %22, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %506

208:                                              ; preds = %199
  br label %209

209:                                              ; preds = %208
  store i8 0, ptr %33, align 1, !tbaa !9
  br label %199, !llvm.loop !18

210:                                              ; preds = %203
  br label %211

211:                                              ; preds = %210
  store i8 0, ptr %33, align 1, !tbaa !9
  br label %191, !llvm.loop !19

212:                                              ; preds = %194
  br label %502

213:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  store i8 1, ptr %35, align 1, !tbaa !9
  br label %214

214:                                              ; preds = %375, %213
  %215 = load i8, ptr %35, align 1, !tbaa !9, !range !11, !noundef !12
  %216 = trunc i8 %215 to i1
  br i1 %216, label %218, label %217

217:                                              ; preds = %214
  store i32 42, ptr %14, align 4
  br label %376

218:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %219 = load ptr, ptr %32, align 8, !tbaa !5
  %220 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR6Struct4Data8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(32) %219)
          to label %221 unwind label %227

221:                                              ; preds = %218
  store ptr %220, ptr %36, align 8, !tbaa !5
  br label %222

222:                                              ; preds = %370, %221
  %223 = load ptr, ptr %36, align 8, !tbaa !5
  %224 = load i8, ptr %35, align 1, !tbaa !9, !range !11, !noundef !12
  %225 = trunc i8 %224 to i1
  br i1 %225, label %231, label %226

226:                                              ; preds = %222
  store i32 45, ptr %14, align 4
  br label %371

227:                                              ; preds = %218
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %22, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %23, align 4
  br label %373

231:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  store i32 0, ptr %37, align 4, !tbaa !20
  br label %232

232:                                              ; preds = %363, %231
  %233 = load i32, ptr %37, align 4, !tbaa !20
  %234 = zext i32 %233 to i64
  %235 = load ptr, ptr %36, align 8, !tbaa !5
  %236 = call noundef i64 @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %235) #8
  %237 = icmp ult i64 %234, %236
  br i1 %237, label %239, label %238

238:                                              ; preds = %232
  store i32 48, ptr %14, align 4
  br label %366

239:                                              ; preds = %232
  br label %240

240:                                              ; preds = %239
  %241 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %242 unwind label %278

242:                                              ; preds = %240
  br i1 %241, label %243, label %282

243:                                              ; preds = %242
  %244 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !20
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %244, ptr noundef @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_)
          to label %246 unwind label %278

246:                                              ; preds = %243
  %247 = load i32, ptr %37, align 4, !tbaa !20
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %245, i32 noundef %247)
          to label %249 unwind label %278

249:                                              ; preds = %246
  %250 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %248, ptr noundef @.str.179)
          to label %251 unwind label %278

251:                                              ; preds = %249
  %252 = load ptr, ptr %36, align 8, !tbaa !5
  %253 = load i32, ptr %37, align 4, !tbaa !20
  %254 = zext i32 %253 to i64
  %255 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %252, i64 noundef %254) #8
  %256 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %255, i32 0, i32 0
  %257 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8) %250, ptr noundef nonnull align 8 dereferenceable(16) %256)
          to label %258 unwind label %278

258:                                              ; preds = %251
  %259 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %257, ptr noundef @.str.225)
          to label %260 unwind label %278

260:                                              ; preds = %258
  %261 = getelementptr inbounds %class.TraitResolution, ptr %71, i32 0, i32 3
  %262 = load ptr, ptr %261, align 8, !tbaa !22
  %263 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef nonnull align 8 dereferenceable(8) %262)
          to label %264 unwind label %278

264:                                              ; preds = %260
  %265 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %263, ptr noundef @.str.147)
          to label %266 unwind label %278

266:                                              ; preds = %264
  %267 = load ptr, ptr %36, align 8, !tbaa !5
  %268 = load i32, ptr %37, align 4, !tbaa !20
  %269 = zext i32 %268 to i64
  %270 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %267, i64 noundef %269) #8
  %271 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %270, i32 0, i32 1
  %272 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %265, ptr noundef nonnull align 8 dereferenceable(8) %271)
          to label %273 unwind label %278

273:                                              ; preds = %266
  %274 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %272, ptr noundef @_ZSt3decRSt8ios_base)
          to label %275 unwind label %278

275:                                              ; preds = %273
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %274, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %277 unwind label %278

277:                                              ; preds = %275
  br label %282

278:                                              ; preds = %284, %275, %273, %266, %264, %260, %258, %251, %249, %246, %243, %240
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %22, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %23, align 4
  br label %368

282:                                              ; preds = %277, %242
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  %285 = load ptr, ptr %36, align 8, !tbaa !5
  %286 = load i32, ptr %37, align 4, !tbaa !20
  %287 = zext i32 %286 to i64
  %288 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %285, i64 noundef %287) #8
  %289 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %288, i32 0, i32 0
  %290 = getelementptr inbounds %class.TraitResolution, ptr %71, i32 0, i32 3
  %291 = load ptr, ptr %290, align 8, !tbaa !22
  store i1 false, ptr %39, align 1
  store i1 false, ptr %41, align 1
  store i1 false, ptr %42, align 1
  store i1 false, ptr %43, align 1
  %292 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %289, ptr noundef nonnull align 8 dereferenceable(8) %291)
          to label %293 unwind label %278

293:                                              ; preds = %284
  br i1 %292, label %294, label %302

294:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 32, ptr %38) #8
  store i1 true, ptr %39, align 1
  call void @llvm.lifetime.start.p0(i64 376, ptr %40) #8
  store i1 true, ptr %41, align 1
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40)
          to label %295 unwind label %327

295:                                              ; preds = %294
  store i1 true, ptr %42, align 1
  %296 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEjEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %40, ptr noundef nonnull align 4 dereferenceable(4) %37)
          to label %297 unwind label %331

297:                                              ; preds = %295
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %38, ptr noundef nonnull align 8 dereferenceable(112) %296)
          to label %298 unwind label %331

298:                                              ; preds = %297
  store i1 true, ptr %43, align 1
  %299 = load ptr, ptr %10, align 8, !tbaa !5
  %300 = invoke noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(8) %299)
          to label %301 unwind label %335

301:                                              ; preds = %298
  br label %302

302:                                              ; preds = %301, %293
  %303 = phi i1 [ false, %293 ], [ %300, %301 ]
  %304 = load i1, ptr %43, align 1
  br i1 %304, label %305, label %306

305:                                              ; preds = %302
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %306

306:                                              ; preds = %305, %302
  %307 = load i1, ptr %42, align 1
  br i1 %307, label %308, label %309

308:                                              ; preds = %306
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #8
  br label %309

309:                                              ; preds = %308, %306
  %310 = load i1, ptr %41, align 1
  br i1 %310, label %311, label %312

311:                                              ; preds = %309
  call void @llvm.lifetime.end.p0(i64 376, ptr %40) #8
  br label %312

312:                                              ; preds = %311, %309
  %313 = load i1, ptr %39, align 1
  br i1 %313, label %314, label %315

314:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  br label %315

315:                                              ; preds = %314, %312
  br i1 %303, label %316, label %362

316:                                              ; preds = %315
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %317 = load ptr, ptr %8, align 8, !tbaa !5
  %318 = load ptr, ptr %36, align 8, !tbaa !5
  %319 = load i32, ptr %37, align 4, !tbaa !20
  %320 = zext i32 %319 to i64
  %321 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %318, i64 noundef %320) #8
  %322 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %321, i32 0, i32 1
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %44, ptr noundef nonnull align 8 dereferenceable(96) %30, ptr noundef nonnull align 8 dereferenceable(8) %317, ptr noundef nonnull align 8 dereferenceable(8) %322, i1 noundef zeroext true)
          to label %323 unwind label %353

323:                                              ; preds = %316
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %324, ptr noundef nonnull align 8 dereferenceable(8) %44)
          to label %326 unwind label %357

326:                                              ; preds = %323
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %366

327:                                              ; preds = %294
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %22, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %23, align 4
  br label %346

331:                                              ; preds = %297, %295
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %22, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %23, align 4
  br label %342

335:                                              ; preds = %298
  %336 = landingpad { ptr, i32 }
          cleanup
  %337 = extractvalue { ptr, i32 } %336, 0
  store ptr %337, ptr %22, align 8
  %338 = extractvalue { ptr, i32 } %336, 1
  store i32 %338, ptr %23, align 4
  %339 = load i1, ptr %43, align 1
  br i1 %339, label %340, label %341

340:                                              ; preds = %335
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #8
  br label %341

341:                                              ; preds = %340, %335
  br label %342

342:                                              ; preds = %341, %331
  %343 = load i1, ptr %42, align 1
  br i1 %343, label %344, label %345

344:                                              ; preds = %342
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %40) #8
  br label %345

345:                                              ; preds = %344, %342
  br label %346

346:                                              ; preds = %345, %327
  %347 = load i1, ptr %41, align 1
  br i1 %347, label %348, label %349

348:                                              ; preds = %346
  call void @llvm.lifetime.end.p0(i64 376, ptr %40) #8
  br label %349

349:                                              ; preds = %348, %346
  %350 = load i1, ptr %39, align 1
  br i1 %350, label %351, label %352

351:                                              ; preds = %349
  call void @llvm.lifetime.end.p0(i64 32, ptr %38) #8
  br label %352

352:                                              ; preds = %351, %349
  br label %368

353:                                              ; preds = %316
  %354 = landingpad { ptr, i32 }
          cleanup
  %355 = extractvalue { ptr, i32 } %354, 0
  store ptr %355, ptr %22, align 8
  %356 = extractvalue { ptr, i32 } %354, 1
  store i32 %356, ptr %23, align 4
  br label %361

357:                                              ; preds = %323
  %358 = landingpad { ptr, i32 }
          cleanup
  %359 = extractvalue { ptr, i32 } %358, 0
  store ptr %359, ptr %22, align 8
  %360 = extractvalue { ptr, i32 } %358, 1
  store i32 %360, ptr %23, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  br label %361

361:                                              ; preds = %357, %353
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %368

362:                                              ; preds = %315
  br label %363

363:                                              ; preds = %362
  %364 = load i32, ptr %37, align 4, !tbaa !20
  %365 = add i32 %364, 1
  store i32 %365, ptr %37, align 4, !tbaa !20
  br label %232, !llvm.loop !46

366:                                              ; preds = %326, %238
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  %367 = load i32, ptr %14, align 4
  switch i32 %367, label %371 [
    i32 48, label %369
  ]

368:                                              ; preds = %361, %352, %278
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %373

369:                                              ; preds = %366
  br label %370

370:                                              ; preds = %369
  store i8 0, ptr %35, align 1, !tbaa !9
  br label %222, !llvm.loop !47

371:                                              ; preds = %366, %226
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  %372 = load i32, ptr %14, align 4
  switch i32 %372, label %376 [
    i32 45, label %374
  ]

373:                                              ; preds = %368, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %506

374:                                              ; preds = %371
  br label %375

375:                                              ; preds = %374
  store i8 0, ptr %35, align 1, !tbaa !9
  br label %214, !llvm.loop !48

376:                                              ; preds = %371, %217
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  %377 = load i32, ptr %14, align 4
  switch i32 %377, label %504 [
    i32 42, label %378
  ]

378:                                              ; preds = %376
  br label %502

379:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #8
  store i8 1, ptr %45, align 1, !tbaa !9
  br label %380

380:                                              ; preds = %498, %379
  %381 = load i8, ptr %45, align 1, !tbaa !9, !range !11, !noundef !12
  %382 = trunc i8 %381 to i1
  br i1 %382, label %384, label %383

383:                                              ; preds = %380
  store i32 53, ptr %14, align 4
  br label %499

384:                                              ; preds = %380
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %385 = load ptr, ptr %32, align 8, !tbaa !5
  %386 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR6Struct4Data8as_NamedEv(ptr noundef nonnull align 8 dereferenceable(32) %385)
          to label %387 unwind label %393

387:                                              ; preds = %384
  store ptr %386, ptr %46, align 8, !tbaa !5
  br label %388

388:                                              ; preds = %493, %387
  %389 = load ptr, ptr %46, align 8, !tbaa !5
  %390 = load i8, ptr %45, align 1, !tbaa !9, !range !11, !noundef !12
  %391 = trunc i8 %390 to i1
  br i1 %391, label %397, label %392

392:                                              ; preds = %388
  store i32 56, ptr %14, align 4
  br label %494

393:                                              ; preds = %384
  %394 = landingpad { ptr, i32 }
          cleanup
  %395 = extractvalue { ptr, i32 } %394, 0
  store ptr %395, ptr %22, align 8
  %396 = extractvalue { ptr, i32 } %394, 1
  store i32 %396, ptr %23, align 4
  br label %496

397:                                              ; preds = %388
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %398 = load ptr, ptr %46, align 8, !tbaa !5
  store ptr %398, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %399 = load ptr, ptr %47, align 8, !tbaa !5
  %400 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %399) #8
  %401 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.598", ptr %48, i32 0, i32 0
  store ptr %400, ptr %401, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #8
  %402 = load ptr, ptr %47, align 8, !tbaa !5
  %403 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %402) #8
  %404 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.598", ptr %49, i32 0, i32 0
  store ptr %403, ptr %404, align 8
  br label %405

405:                                              ; preds = %487, %397
  %406 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %49) #8
  br i1 %406, label %408, label %407

407:                                              ; preds = %405
  store i32 59, ptr %14, align 4
  br label %490

408:                                              ; preds = %405
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %409 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  store ptr %409, ptr %50, align 8, !tbaa !5
  br label %410

410:                                              ; preds = %408
  %411 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %412 unwind label %445

412:                                              ; preds = %410
  br i1 %411, label %413, label %449

413:                                              ; preds = %412
  %414 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !20
  %415 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %414, ptr noundef @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_)
          to label %416 unwind label %445

416:                                              ; preds = %413
  %417 = load ptr, ptr %50, align 8, !tbaa !5
  %418 = getelementptr inbounds %"struct.std::pair.599", ptr %417, i32 0, i32 0
  %419 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %415, ptr noundef nonnull align 8 dereferenceable(8) %418)
          to label %420 unwind label %445

420:                                              ; preds = %416
  %421 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %419, ptr noundef @.str.179)
          to label %422 unwind label %445

422:                                              ; preds = %420
  %423 = load ptr, ptr %50, align 8, !tbaa !5
  %424 = getelementptr inbounds %"struct.std::pair.599", ptr %423, i32 0, i32 1
  %425 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %424, i32 0, i32 0
  %426 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8) %421, ptr noundef nonnull align 8 dereferenceable(16) %425)
          to label %427 unwind label %445

427:                                              ; preds = %422
  %428 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %426, ptr noundef @.str.225)
          to label %429 unwind label %445

429:                                              ; preds = %427
  %430 = getelementptr inbounds %class.TraitResolution, ptr %71, i32 0, i32 3
  %431 = load ptr, ptr %430, align 8, !tbaa !22
  %432 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %428, ptr noundef nonnull align 8 dereferenceable(8) %431)
          to label %433 unwind label %445

433:                                              ; preds = %429
  %434 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %432, ptr noundef @.str.147)
          to label %435 unwind label %445

435:                                              ; preds = %433
  %436 = load ptr, ptr %50, align 8, !tbaa !5
  %437 = getelementptr inbounds %"struct.std::pair.599", ptr %436, i32 0, i32 1
  %438 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %437, i32 0, i32 1
  %439 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %434, ptr noundef nonnull align 8 dereferenceable(8) %438)
          to label %440 unwind label %445

440:                                              ; preds = %435
  %441 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %439, ptr noundef @_ZSt3decRSt8ios_base)
          to label %442 unwind label %445

442:                                              ; preds = %440
  %443 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %441, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %444 unwind label %445

444:                                              ; preds = %442
  br label %449

445:                                              ; preds = %459, %451, %442, %440, %435, %433, %429, %427, %422, %420, %416, %413, %410
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %22, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %23, align 4
  br label %489

449:                                              ; preds = %444, %412
  br label %450

450:                                              ; preds = %449
  br label %451

451:                                              ; preds = %450
  %452 = load ptr, ptr %50, align 8, !tbaa !5
  %453 = getelementptr inbounds %"struct.std::pair.599", ptr %452, i32 0, i32 1
  %454 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %453, i32 0, i32 0
  %455 = getelementptr inbounds %class.TraitResolution, ptr %71, i32 0, i32 3
  %456 = load ptr, ptr %455, align 8, !tbaa !22
  %457 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %454, ptr noundef nonnull align 8 dereferenceable(8) %456)
          to label %458 unwind label %445

458:                                              ; preds = %451
  br i1 %457, label %459, label %483

459:                                              ; preds = %458
  %460 = load ptr, ptr %50, align 8, !tbaa !5
  %461 = getelementptr inbounds %"struct.std::pair.599", ptr %460, i32 0, i32 0
  %462 = load ptr, ptr %10, align 8, !tbaa !5
  %463 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %461, ptr noundef nonnull align 8 dereferenceable(8) %462)
          to label %464 unwind label %445

464:                                              ; preds = %459
  br i1 %463, label %465, label %483

465:                                              ; preds = %464
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %466 = load ptr, ptr %8, align 8, !tbaa !5
  %467 = load ptr, ptr %50, align 8, !tbaa !5
  %468 = getelementptr inbounds %"struct.std::pair.599", ptr %467, i32 0, i32 1
  %469 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %468, i32 0, i32 1
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %51, ptr noundef nonnull align 8 dereferenceable(96) %30, ptr noundef nonnull align 8 dereferenceable(8) %466, ptr noundef nonnull align 8 dereferenceable(8) %469, i1 noundef zeroext true)
          to label %470 unwind label %474

470:                                              ; preds = %465
  %471 = load ptr, ptr %11, align 8, !tbaa !5
  %472 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %471, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %473 unwind label %478

473:                                              ; preds = %470
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %484

474:                                              ; preds = %465
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %22, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %23, align 4
  br label %482

478:                                              ; preds = %470
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %22, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %23, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br label %482

482:                                              ; preds = %478, %474
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  br label %489

483:                                              ; preds = %464, %458
  store i32 0, ptr %14, align 4
  br label %484

484:                                              ; preds = %483, %473
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  %485 = load i32, ptr %14, align 4
  switch i32 %485, label %490 [
    i32 0, label %486
  ]

486:                                              ; preds = %484
  br label %487

487:                                              ; preds = %486
  %488 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %405

489:                                              ; preds = %482, %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  br label %496

490:                                              ; preds = %484, %407
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  %491 = load i32, ptr %14, align 4
  switch i32 %491, label %494 [
    i32 59, label %492
  ]

492:                                              ; preds = %490
  br label %493

493:                                              ; preds = %492
  store i8 0, ptr %45, align 1, !tbaa !9
  br label %388, !llvm.loop !49

494:                                              ; preds = %490, %392
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  %495 = load i32, ptr %14, align 4
  switch i32 %495, label %499 [
    i32 56, label %497
  ]

496:                                              ; preds = %489, %393
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  br label %506

497:                                              ; preds = %494
  br label %498

498:                                              ; preds = %497
  store i8 0, ptr %45, align 1, !tbaa !9
  br label %380, !llvm.loop !50

499:                                              ; preds = %494, %383
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #8
  %500 = load i32, ptr %14, align 4
  switch i32 %500, label %504 [
    i32 53, label %501
  ]

501:                                              ; preds = %499
  br label %502

502:                                              ; preds = %501, %378, %212, %184
  br label %503

503:                                              ; preds = %502
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %177, !llvm.loop !51

504:                                              ; preds = %499, %376, %180
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  %505 = load i32, ptr %14, align 4
  switch i32 %505, label %509 [
    i32 32, label %507
  ]

506:                                              ; preds = %496, %373, %204, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  br label %654

507:                                              ; preds = %504
  br label %508

508:                                              ; preds = %507
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %170, !llvm.loop !52

509:                                              ; preds = %504, %173
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  %510 = load i32, ptr %14, align 4
  switch i32 %510, label %512 [
    i32 29, label %511
  ]

511:                                              ; preds = %509
  store i32 0, ptr %14, align 4
  br label %512

512:                                              ; preds = %511, %509
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %30) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %513 = load i32, ptr %14, align 4
  switch i32 %513, label %516 [
    i32 0, label %514
  ]

514:                                              ; preds = %512
  br label %515

515:                                              ; preds = %514
  store i8 0, ptr %26, align 1, !tbaa !9
  br label %156, !llvm.loop !53

516:                                              ; preds = %512, %160
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  %517 = load i32, ptr %14, align 4
  switch i32 %517, label %520 [
    i32 26, label %518
  ]

518:                                              ; preds = %516
  br label %519

519:                                              ; preds = %518
  store i8 0, ptr %26, align 1, !tbaa !9
  br label %149, !llvm.loop !54

520:                                              ; preds = %516, %152
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #8
  %521 = load i32, ptr %14, align 4
  switch i32 %521, label %652 [
    i32 23, label %522
  ]

522:                                              ; preds = %520
  br label %650

523:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #8
  store i8 1, ptr %52, align 1, !tbaa !9
  br label %524

524:                                              ; preds = %539, %523
  %525 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %526 = trunc i8 %525 to i1
  br i1 %526, label %528, label %527

527:                                              ; preds = %524
  store i32 63, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #8
  br label %540

528:                                              ; preds = %524
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %529 = load ptr, ptr %15, align 8, !tbaa !5
  %530 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(16) %529)
  store ptr %530, ptr %53, align 8, !tbaa !5
  br label %531

531:                                              ; preds = %537, %528
  %532 = load ptr, ptr %53, align 8, !tbaa !5
  %533 = load i8, ptr %52, align 1, !tbaa !9, !range !11, !noundef !12
  %534 = trunc i8 %533 to i1
  br i1 %534, label %536, label %535

535:                                              ; preds = %531
  store i32 66, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  br label %538

536:                                              ; preds = %531
  br label %537

537:                                              ; preds = %536
  store i8 0, ptr %52, align 1, !tbaa !9
  br label %531, !llvm.loop !55

538:                                              ; preds = %535
  br label %539

539:                                              ; preds = %538
  store i8 0, ptr %52, align 1, !tbaa !9
  br label %524, !llvm.loop !56

540:                                              ; preds = %527
  br label %650

541:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %54) #8
  store i8 1, ptr %54, align 1, !tbaa !9
  br label %542

542:                                              ; preds = %557, %541
  %543 = load i8, ptr %54, align 1, !tbaa !9, !range !11, !noundef !12
  %544 = trunc i8 %543 to i1
  br i1 %544, label %546, label %545

545:                                              ; preds = %542
  store i32 69, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %54) #8
  br label %558

546:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %547 = load ptr, ptr %15, align 8, !tbaa !5
  %548 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding13as_ExternTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %547)
  store ptr %548, ptr %55, align 8, !tbaa !5
  br label %549

549:                                              ; preds = %555, %546
  %550 = load ptr, ptr %55, align 8, !tbaa !5
  %551 = load i8, ptr %54, align 1, !tbaa !9, !range !11, !noundef !12
  %552 = trunc i8 %551 to i1
  br i1 %552, label %554, label %553

553:                                              ; preds = %549
  store i32 72, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %556

554:                                              ; preds = %549
  br label %555

555:                                              ; preds = %554
  store i8 0, ptr %54, align 1, !tbaa !9
  br label %549, !llvm.loop !57

556:                                              ; preds = %553
  br label %557

557:                                              ; preds = %556
  store i8 0, ptr %54, align 1, !tbaa !9
  br label %542, !llvm.loop !58

558:                                              ; preds = %545
  br label %650

559:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 1, ptr %56) #8
  store i8 1, ptr %56, align 1, !tbaa !9
  br label %560

560:                                              ; preds = %646, %559
  %561 = load i8, ptr %56, align 1, !tbaa !9, !range !11, !noundef !12
  %562 = trunc i8 %561 to i1
  br i1 %562, label %564, label %563

563:                                              ; preds = %560
  store i32 75, ptr %14, align 4
  br label %647

564:                                              ; preds = %560
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  %565 = load ptr, ptr %15, align 8, !tbaa !5
  %566 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding8as_UnionEv(ptr noundef nonnull align 8 dereferenceable(16) %565)
  store ptr %566, ptr %57, align 8, !tbaa !5
  br label %567

567:                                              ; preds = %642, %564
  %568 = load ptr, ptr %57, align 8, !tbaa !5
  %569 = load i8, ptr %56, align 1, !tbaa !9, !range !11, !noundef !12
  %570 = trunc i8 %569 to i1
  br i1 %570, label %572, label %571

571:                                              ; preds = %567
  store i32 78, ptr %14, align 4
  br label %643

572:                                              ; preds = %567
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  %573 = load ptr, ptr %57, align 8, !tbaa !5
  %574 = load ptr, ptr %573, align 8, !tbaa !5
  store ptr %574, ptr %58, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #8
  %575 = load ptr, ptr %12, align 8, !tbaa !5
  %576 = getelementptr inbounds %"struct.HIR::TypeData_Path", ptr %575, i32 0, i32 0
  %577 = getelementptr inbounds %"class.HIR::Path", ptr %576, i32 0, i32 0
  %578 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %577)
  %579 = getelementptr inbounds %"class.HIR::GenericPath", ptr %578, i32 0, i32 1
  store ptr %579, ptr %59, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 128, ptr %60) #8
  %580 = load ptr, ptr %59, align 8, !tbaa !5
  call void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128) %60, ptr noundef null, ptr noundef %580, ptr noundef null, ptr noundef null, ptr noundef null)
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #8
  %581 = load ptr, ptr %58, align 8, !tbaa !5
  %582 = getelementptr inbounds %"class.HIR::Union", ptr %581, i32 0, i32 2
  store ptr %582, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  %583 = load ptr, ptr %61, align 8, !tbaa !5
  %584 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %583) #8
  %585 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.598", ptr %62, i32 0, i32 0
  store ptr %584, ptr %585, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #8
  %586 = load ptr, ptr %61, align 8, !tbaa !5
  %587 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %586) #8
  %588 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.598", ptr %63, i32 0, i32 0
  store ptr %587, ptr %588, align 8
  br label %589

589:                                              ; preds = %633, %572
  %590 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  br i1 %590, label %592, label %591

591:                                              ; preds = %589
  store i32 81, ptr %14, align 4
  br label %636

592:                                              ; preds = %589
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #8
  %593 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  store ptr %593, ptr %64, align 8, !tbaa !5
  %594 = load ptr, ptr %64, align 8, !tbaa !5
  %595 = getelementptr inbounds %"struct.std::pair.599", ptr %594, i32 0, i32 1
  %596 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %595, i32 0, i32 0
  %597 = getelementptr inbounds %class.TraitResolution, ptr %71, i32 0, i32 3
  %598 = load ptr, ptr %597, align 8, !tbaa !22
  %599 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %596, ptr noundef nonnull align 8 dereferenceable(8) %598)
          to label %600 unwind label %616

600:                                              ; preds = %592
  br i1 %599, label %601, label %629

601:                                              ; preds = %600
  %602 = load ptr, ptr %64, align 8, !tbaa !5
  %603 = getelementptr inbounds %"struct.std::pair.599", ptr %602, i32 0, i32 0
  %604 = load ptr, ptr %10, align 8, !tbaa !5
  %605 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %603, ptr noundef nonnull align 8 dereferenceable(8) %604)
          to label %606 unwind label %616

606:                                              ; preds = %601
  br i1 %605, label %607, label %629

607:                                              ; preds = %606
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  %608 = load ptr, ptr %8, align 8, !tbaa !5
  %609 = load ptr, ptr %64, align 8, !tbaa !5
  %610 = getelementptr inbounds %"struct.std::pair.599", ptr %609, i32 0, i32 1
  %611 = getelementptr inbounds %"struct.HIR::VisEnt", ptr %610, i32 0, i32 1
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %65, ptr noundef nonnull align 8 dereferenceable(96) %60, ptr noundef nonnull align 8 dereferenceable(8) %608, ptr noundef nonnull align 8 dereferenceable(8) %611, i1 noundef zeroext true)
          to label %612 unwind label %620

612:                                              ; preds = %607
  %613 = load ptr, ptr %11, align 8, !tbaa !5
  %614 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %613, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %615 unwind label %624

615:                                              ; preds = %612
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %630

616:                                              ; preds = %601, %592
  %617 = landingpad { ptr, i32 }
          cleanup
  %618 = extractvalue { ptr, i32 } %617, 0
  store ptr %618, ptr %22, align 8
  %619 = extractvalue { ptr, i32 } %617, 1
  store i32 %619, ptr %23, align 4
  br label %635

620:                                              ; preds = %607
  %621 = landingpad { ptr, i32 }
          cleanup
  %622 = extractvalue { ptr, i32 } %621, 0
  store ptr %622, ptr %22, align 8
  %623 = extractvalue { ptr, i32 } %621, 1
  store i32 %623, ptr %23, align 4
  br label %628

624:                                              ; preds = %612
  %625 = landingpad { ptr, i32 }
          cleanup
  %626 = extractvalue { ptr, i32 } %625, 0
  store ptr %626, ptr %22, align 8
  %627 = extractvalue { ptr, i32 } %625, 1
  store i32 %627, ptr %23, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  br label %628

628:                                              ; preds = %624, %620
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  br label %635

629:                                              ; preds = %606, %600
  store i32 0, ptr %14, align 4
  br label %630

630:                                              ; preds = %629, %615
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  %631 = load i32, ptr %14, align 4
  switch i32 %631, label %636 [
    i32 0, label %632
  ]

632:                                              ; preds = %630
  br label %633

633:                                              ; preds = %632
  %634 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  br label %589

635:                                              ; preds = %628, %616
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %60) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  br label %654

636:                                              ; preds = %630, %591
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  %637 = load i32, ptr %14, align 4
  switch i32 %637, label %639 [
    i32 81, label %638
  ]

638:                                              ; preds = %636
  store i32 0, ptr %14, align 4
  br label %639

639:                                              ; preds = %638, %636
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %60) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  %640 = load i32, ptr %14, align 4
  switch i32 %640, label %643 [
    i32 0, label %641
  ]

641:                                              ; preds = %639
  br label %642

642:                                              ; preds = %641
  store i8 0, ptr %56, align 1, !tbaa !9
  br label %567, !llvm.loop !59

643:                                              ; preds = %639, %571
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  %644 = load i32, ptr %14, align 4
  switch i32 %644, label %647 [
    i32 78, label %645
  ]

645:                                              ; preds = %643
  br label %646

646:                                              ; preds = %645
  store i8 0, ptr %56, align 1, !tbaa !9
  br label %560, !llvm.loop !60

647:                                              ; preds = %643, %563
  call void @llvm.lifetime.end.p0(i64 1, ptr %56) #8
  %648 = load i32, ptr %14, align 4
  switch i32 %648, label %652 [
    i32 75, label %649
  ]

649:                                              ; preds = %647
  br label %650

650:                                              ; preds = %649, %558, %540, %522, %147, %129, %89
  br label %651

651:                                              ; preds = %650
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %85, !llvm.loop !61

652:                                              ; preds = %647, %520, %88
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  %653 = load i32, ptr %14, align 4
  switch i32 %653, label %657 [
    i32 5, label %655
  ]

654:                                              ; preds = %635, %506, %123
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %719

655:                                              ; preds = %652
  br label %656

656:                                              ; preds = %655
  store i8 0, ptr %13, align 1, !tbaa !9
  br label %78, !llvm.loop !62

657:                                              ; preds = %652, %81
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  %658 = load i32, ptr %14, align 4
  switch i32 %658, label %716 [
    i32 2, label %659
  ]

659:                                              ; preds = %657
  br label %715

660:                                              ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %661 = load ptr, ptr %9, align 8, !tbaa !5
  %662 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %661)
  %663 = call noundef ptr @_ZNK3HIR8TypeData9opt_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %662)
  store ptr %663, ptr %66, align 8, !tbaa !5
  %664 = load ptr, ptr %66, align 8, !tbaa !5
  %665 = icmp ne ptr %664, null
  br i1 %665, label %666, label %710

666:                                              ; preds = %660
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #8
  store i32 0, ptr %67, align 4, !tbaa !20
  br label %667

667:                                              ; preds = %703, %666
  %668 = load i32, ptr %67, align 4, !tbaa !20
  %669 = zext i32 %668 to i64
  %670 = load ptr, ptr %66, align 8, !tbaa !5
  %671 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %670) #8
  %672 = icmp ult i64 %669, %671
  br i1 %672, label %674, label %673

673:                                              ; preds = %667
  store i32 83, ptr %14, align 4
  br label %706

674:                                              ; preds = %667
  call void @llvm.lifetime.start.p0(i64 32, ptr %68) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr %69) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %69)
  %675 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEjEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %69, ptr noundef nonnull align 4 dereferenceable(4) %67)
          to label %676 unwind label %689

676:                                              ; preds = %674
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %68, ptr noundef nonnull align 8 dereferenceable(112) %675)
          to label %677 unwind label %689

677:                                              ; preds = %676
  %678 = load ptr, ptr %10, align 8, !tbaa !5
  %679 = invoke noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(8) %678)
          to label %680 unwind label %693

680:                                              ; preds = %677
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %69) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  br i1 %679, label %681, label %702

681:                                              ; preds = %680
  call void @llvm.lifetime.start.p0(i64 8, ptr %70) #8
  %682 = load ptr, ptr %66, align 8, !tbaa !5
  %683 = load i32, ptr %67, align 4, !tbaa !20
  %684 = zext i32 %683 to i64
  %685 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %682, i64 noundef %684) #8
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %70, ptr noundef nonnull align 8 dereferenceable(8) %685)
  %686 = load ptr, ptr %11, align 8, !tbaa !5
  %687 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %686, ptr noundef nonnull align 8 dereferenceable(8) %70)
          to label %688 unwind label %698

688:                                              ; preds = %681
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %706

689:                                              ; preds = %676, %674
  %690 = landingpad { ptr, i32 }
          cleanup
  %691 = extractvalue { ptr, i32 } %690, 0
  store ptr %691, ptr %22, align 8
  %692 = extractvalue { ptr, i32 } %690, 1
  store i32 %692, ptr %23, align 4
  br label %697

693:                                              ; preds = %677
  %694 = landingpad { ptr, i32 }
          cleanup
  %695 = extractvalue { ptr, i32 } %694, 0
  store ptr %695, ptr %22, align 8
  %696 = extractvalue { ptr, i32 } %694, 1
  store i32 %696, ptr %23, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #8
  br label %697

697:                                              ; preds = %693, %689
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %69) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr %69) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %68) #8
  br label %708

698:                                              ; preds = %681
  %699 = landingpad { ptr, i32 }
          cleanup
  %700 = extractvalue { ptr, i32 } %699, 0
  store ptr %700, ptr %22, align 8
  %701 = extractvalue { ptr, i32 } %699, 1
  store i32 %701, ptr %23, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %70) #8
  br label %708

702:                                              ; preds = %680
  br label %703

703:                                              ; preds = %702
  %704 = load i32, ptr %67, align 4, !tbaa !20
  %705 = add i32 %704, 1
  store i32 %705, ptr %67, align 4, !tbaa !20
  br label %667, !llvm.loop !63

706:                                              ; preds = %688, %673
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  %707 = load i32, ptr %14, align 4
  switch i32 %707, label %712 [
    i32 83, label %709
  ]

708:                                              ; preds = %698, %697
  call void @llvm.lifetime.end.p0(i64 4, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %719

709:                                              ; preds = %706
  br label %711

710:                                              ; preds = %660
  br label %711

711:                                              ; preds = %710, %709
  store i32 0, ptr %14, align 4
  br label %712

712:                                              ; preds = %711, %706
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  %713 = load i32, ptr %14, align 4
  switch i32 %713, label %716 [
    i32 0, label %714
  ]

714:                                              ; preds = %712
  br label %715

715:                                              ; preds = %714, %659
  store i32 0, ptr %14, align 4
  br label %716

716:                                              ; preds = %715, %712, %657
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  %717 = load i32, ptr %14, align 4
  switch i32 %717, label %727 [
    i32 0, label %718
    i32 1, label %720
  ]

718:                                              ; preds = %716
  store i1 false, ptr %6, align 1
  br label %720

719:                                              ; preds = %708, %654
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  br label %722

720:                                              ; preds = %718, %716
  %721 = load i1, ptr %6, align 1
  ret i1 %721

722:                                              ; preds = %719
  %723 = load ptr, ptr %22, align 8
  %724 = load i32, ptr %23, align 4
  %725 = insertvalue { ptr, i32 } poison, ptr %723, 0
  %726 = insertvalue { ptr, i32 } %725, i32 %724, 1
  resume { ptr, i32 } %726

727:                                              ; preds = %716
  unreachable
}

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) #1

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

declare noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3HIR8TypeData9opt_TupleEv(ptr noundef nonnull align 8 dereferenceable(184)) #5 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 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { noreturn }

!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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = !{!21, !21, i64 0}
!21 = !{!"int", !7, i64 0}
!22 = !{!23, !6, i64 232}
!23 = !{!"_ZTS15TraitResolution", !24, i64 0, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !42, i64 256}
!24 = !{!"_ZTS18TraitResolveCommon", !6, i64 0, !6, i64 8, !6, i64 16, !25, i64 24, !34, i64 72, !40, i64 104, !40, i64 112, !40, i64 120, !40, i64 128, !40, i64 136, !40, i64 144, !40, i64 152, !40, i64 160, !40, i64 168, !40, i64 176, !40, i64 184, !40, i64 192, !40, i64 200, !40, i64 208}
!25 = !{!"_ZTSSt3mapIN3HIR7TypeRefEN18TraitResolveCommon14CachedEqualityESt4lessIS1_ESaISt4pairIKS1_S3_EEE", !26, i64 0}
!26 = !{!"_ZTSSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE", !27, i64 0}
!27 = !{!"_ZTSNSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !28, i64 0, !30, i64 8}
!28 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3HIR7TypeRefEEE", !29, i64 0}
!29 = !{!"_ZTSSt4lessIN3HIR7TypeRefEE"}
!30 = !{!"_ZTSSt15_Rb_tree_header", !31, i64 0, !33, i64 32}
!31 = !{!"_ZTSSt18_Rb_tree_node_base", !32, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!32 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!33 = !{!"long", !7, i64 0}
!34 = !{!"_ZTS11RangeVecMapISt4pairIN3HIR7TypeRefENS1_11GenericPathEEN18TraitResolveCommon11CachedBoundENS5_14CachedBoundCmpEE", !35, i64 0, !39, i64 24}
!35 = !{!"_ZTSSt6vectorISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !36, i64 0}
!36 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !37, i64 0}
!37 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE12_Vector_implE", !38, i64 0}
!38 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!39 = !{!"_ZTSN18TraitResolveCommon14CachedBoundCmpE"}
!40 = !{!"_ZTSN3HIR10SimplePathE", !41, i64 0}
!41 = !{!"_ZTS10ThinVectorI8RcStringE", !6, i64 0}
!42 = !{!"_ZTSSt6vectorISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !43, i64 0}
!43 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !45, i64 0}
!45 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!46 = distinct !{!46, !14}
!47 = distinct !{!47, !14}
!48 = distinct !{!48, !14}
!49 = distinct !{!49, !14}
!50 = distinct !{!50, !14}
!51 = distinct !{!51, !14}
!52 = distinct !{!52, !14}
!53 = distinct !{!53, !14}
!54 = distinct !{!54, !14}
!55 = distinct !{!55, !14}
!56 = distinct !{!56, !14}
!57 = distinct !{!57, !14}
!58 = distinct !{!58, !14}
!59 = distinct !{!59, !14}
!60 = distinct !{!60, !14}
!61 = distinct !{!61, !14}
!62 = distinct !{!62, !14}
!63 = distinct !{!63, !14}


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

%"class.HIR::TypeRef" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon.143 }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon.143 = type { i64, [8 x i8] }
%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.684 = type { ptr, ptr }
%struct.MonomorphStatePtr = type { %class.MonomorphiserPP, ptr, ptr, ptr, ptr }
%class.MonomorphiserPP = type { %class.Monomorphiser }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.181" }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.181" = type { %"struct.std::_Vector_base.182" }
%"struct.std::_Vector_base.182" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl" = type { %"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<const HIR::GenericParams *, std::allocator<const HIR::GenericParams *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::__cxx11::basic_ostringstream" = type { %"class.std::basic_ostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.__gnu_cxx::__normal_iterator.598" = type { ptr }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.7 = external hidden unnamed_addr constant [81 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.70 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [3 x i8], align 1
@__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_ = external hidden unnamed_addr constant [113 x i8], align 1
@__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_ = external hidden unnamed_addr constant [11 x i8], align 1
@.str.225 = external hidden unnamed_addr constant [3 x i8], align 1

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4 align 2

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

declare void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

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

declare void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) unnamed_addr #3 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(112)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112)) unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_(ptr nocapture noundef nonnull readonly align 8 dereferenceable(280) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %2, ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca %struct.Span, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.684, align 8
  %10 = alloca %struct.MonomorphStatePtr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  %13 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %14 = alloca %"class.HIR::TypeRef", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %17 = alloca %"class.HIR::TypeRef", align 8
  %18 = alloca %struct.MonomorphStatePtr, align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.598", align 8
  %21 = alloca %"class.HIR::TypeRef", align 8
  %22 = alloca i32, align 4
  %23 = alloca %"class.std::__cxx11::basic_string", align 8
  %24 = alloca %"class.std::__cxx11::basic_ostringstream", align 8
  %25 = alloca %"class.HIR::TypeRef", align 8
  %26 = tail call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %27 = tail call noundef ptr @_ZNK3HIR8TypeData8opt_PathEv(ptr noundef nonnull align 8 dereferenceable(184) %26)
  %.not = icmp eq ptr %27, null
  br i1 %.not, label %204, label %.lr.ph442

.lr.ph442:                                        ; preds = %5
  %28 = getelementptr inbounds i8, ptr %27, i64 88
  %29 = getelementptr inbounds i8, ptr %0, i64 232
  %30 = tail call noundef i32 @_ZNK3HIR15TypePathBinding3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  switch i32 %30, label %.thread276 [
    i32 0, label %42
    i32 1, label %43
    i32 2, label %.preheader301
    i32 4, label %.lr.ph417
    i32 6, label %.preheader304
    i32 3, label %.preheader306
    i32 5, label %.preheader308
  ]

.preheader308:                                    ; preds = %.lr.ph442
  %31 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding8as_UnionEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  %32 = load ptr, ptr %31, align 8, !tbaa !5
  %33 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
  %34 = getelementptr inbounds i8, ptr %33, i64 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %18) #8
  call void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef null, ptr noundef nonnull %34, ptr noundef null, ptr noundef null, ptr noundef null)
  %35 = getelementptr inbounds i8, ptr %32, i64 104
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %36 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  store ptr %36, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %37 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #8
  store ptr %37, ptr %20, align 8
  %38 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br i1 %38, label %.lr.ph, label %..loopexit300_crit_edge

.preheader306:                                    ; preds = %.lr.ph442
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding13as_ExternTypeEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  br label %.thread276

.preheader304:                                    ; preds = %.lr.ph442
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding7as_EnumEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  br label %.thread276

.preheader301:                                    ; preds = %.lr.ph442
  %41 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR15TypePathBinding9as_OpaqueEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  br label %.thread276

42:                                               ; preds = %.lr.ph442
  tail call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 5182, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_) #9
  unreachable

43:                                               ; preds = %.lr.ph442
  %44 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR15TypePathBinding10as_UnboundEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  store ptr @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  store ptr %6, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %2, ptr %45, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS9_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(16) %9) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull %8)
          to label %46 unwind label %49

46:                                               ; preds = %43
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %47 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull @.str.70)
          to label %48 unwind label %51

48:                                               ; preds = %46
  call void @__cxa_throw(ptr nonnull %47, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
  unreachable

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

51:                                               ; preds = %46
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %47) #8
  br label %53

53:                                               ; preds = %51, %49
  %.pn225 = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  br label %230

.lr.ph417:                                        ; preds = %.lr.ph442
  %54 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3HIR15TypePathBinding9as_StructEv(ptr noundef nonnull align 8 dereferenceable(16) %28)
  %55 = load ptr, ptr %54, align 8, !tbaa !5
  %56 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %27)
  %57 = getelementptr inbounds i8, ptr %56, i64 8
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %10) #8
  call void @_ZN17MonomorphStatePtrC2EPKN3HIR7TypeRefEPKNS0_10PathParamsES6_S6_S6_(ptr noundef nonnull align 8 dereferenceable(128) %10, ptr noundef null, ptr noundef nonnull %57, ptr noundef null, ptr noundef null, ptr noundef null)
  %58 = getelementptr inbounds i8, ptr %55, i64 104
  %59 = call noundef i32 @_ZNK3HIR6Struct4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  switch i32 %59, label %..loopexit297_crit_edge [
    i32 0, label %61
    i32 1, label %.preheader
    i32 2, label %.lr.ph404
    i32 3, label %.lr.ph397
  ]

.preheader:                                       ; preds = %.lr.ph417
  %60 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3HIR6Struct4Data7as_UnitEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  br label %..loopexit297_crit_edge

61:                                               ; preds = %.lr.ph417
  call void @__assert_fail(ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.7, i32 noundef 5195, ptr noundef nonnull @__PRETTY_FUNCTION__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_) #9
  unreachable

.lr.ph404:                                        ; preds = %.lr.ph417
  %62 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR6Struct4Data8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #8
  store i32 0, ptr %11, align 4, !tbaa !9
  %63 = call noundef i64 @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %.not224399.not = icmp eq i64 %63, 0
  br i1 %.not224399.not, label %..loopexit289_crit_edge, label %.lr.ph401

.lr.ph401:                                        ; preds = %.lr.ph404, %.critedge230.thread
  %64 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %65 unwind label %96

65:                                               ; preds = %.lr.ph401
  br i1 %64, label %66, label %98

66:                                               ; preds = %65
  %67 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %67, ptr noundef nonnull @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_)
          to label %69 unwind label %96

69:                                               ; preds = %66
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEj(ptr noundef nonnull align 8 dereferenceable(8) %68, i32 noundef %70)
          to label %72 unwind label %96

72:                                               ; preds = %69
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull @.str.179)
          to label %74 unwind label %96

74:                                               ; preds = %72
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = zext i32 %75 to i64
  %77 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %76) #8
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef nonnull align 8 dereferenceable(16) %77)
          to label %79 unwind label %96

79:                                               ; preds = %74
  %80 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull @.str.225)
          to label %81 unwind label %96

81:                                               ; preds = %79
  %82 = load ptr, ptr %29, align 8, !tbaa !11
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %82)
          to label %84 unwind label %96

84:                                               ; preds = %81
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull @.str.147)
          to label %86 unwind label %96

86:                                               ; preds = %84
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = zext i32 %87 to i64
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %88) #8
  %90 = getelementptr inbounds i8, ptr %89, i64 16
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull align 8 dereferenceable(8) %90)
          to label %92 unwind label %96

92:                                               ; preds = %86
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %94 unwind label %96

94:                                               ; preds = %92
  %95 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %98 unwind label %96

96:                                               ; preds = %98, %94, %92, %86, %84, %81, %79, %74, %72, %69, %66, %.lr.ph401
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %130

98:                                               ; preds = %94, %65
  %99 = load i32, ptr %11, align 4, !tbaa !9
  %100 = zext i32 %99 to i64
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %100) #8
  %102 = load ptr, ptr %29, align 8, !tbaa !11
  %103 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %101, ptr noundef nonnull align 8 dereferenceable(8) %102)
          to label %104 unwind label %96

104:                                              ; preds = %98
  br i1 %103, label %105, label %.critedge230.thread

105:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %13) #8
  invoke void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13)
          to label %106 unwind label %116

106:                                              ; preds = %105
  %107 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEjEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %13, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %108 unwind label %118

108:                                              ; preds = %106
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, ptr noundef nonnull align 8 dereferenceable(112) %107)
          to label %109 unwind label %118

109:                                              ; preds = %108
  %110 = invoke noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.critedge230 unwind label %120

.critedge230:                                     ; preds = %109
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br i1 %110, label %111, label %.critedge230.thread

111:                                              ; preds = %.critedge230
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %112 = load i32, ptr %11, align 4, !tbaa !9
  %113 = zext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %62, i64 noundef %113) #8
  %115 = getelementptr inbounds i8, ptr %114, i64 16
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %115, i1 noundef zeroext true)
          to label %131 unwind label %124

116:                                              ; preds = %105
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %123

118:                                              ; preds = %108, %106
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %122

120:                                              ; preds = %109
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #8
  br label %122

122:                                              ; preds = %118, %120
  %.pn218 = phi { ptr, i32 } [ %121, %120 ], [ %119, %118 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %13) #8
  br label %123

123:                                              ; preds = %116, %122
  %.pn218.pn = phi { ptr, i32 } [ %.pn218, %122 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #8
  br label %130

124:                                              ; preds = %111
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %130

.critedge230.thread:                              ; preds = %104, %.critedge230
  %126 = load i32, ptr %11, align 4, !tbaa !9
  %127 = add i32 %126, 1
  store i32 %127, ptr %11, align 4, !tbaa !9
  %128 = zext i32 %127 to i64
  %129 = call noundef i64 @_ZNKSt6vectorIN3HIR6VisEntINS0_7TypeRefEEESaIS3_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %62) #8
  %.not224 = icmp ugt i64 %129, %128
  br i1 %.not224, label %.lr.ph401, label %..loopexit289_crit_edge, !llvm.loop !35

..loopexit289_crit_edge:                          ; preds = %.critedge230.thread, %.lr.ph404
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  br label %..loopexit297_crit_edge

130:                                              ; preds = %123, %124, %96
  %.pn221 = phi { ptr, i32 } [ %125, %124 ], [ %.pn218.pn, %123 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  br label %184

131:                                              ; preds = %111
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #8
  br label %185

.lr.ph397:                                        ; preds = %.lr.ph417
  %133 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3HIR6Struct4Data8as_NamedEv(ptr noundef nonnull align 8 dereferenceable(32) %58)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %134 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #8
  store ptr %134, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %135 = call ptr @_ZNKSt6vectorISt4pairI8RcStringN3HIR6VisEntINS2_7TypeRefEEEESaIS6_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %133) #8
  store ptr %135, ptr %16, align 8
  %136 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %136, label %.lr.ph394, label %..loopexit290_crit_edge

.lr.ph394:                                        ; preds = %.lr.ph397, %178
  %137 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %138 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %139 unwind label %164

139:                                              ; preds = %.lr.ph394
  br i1 %138, label %140, label %166

140:                                              ; preds = %139
  %141 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %141, ptr noundef nonnull @__func__._ZNK15TraitResolution10find_fieldERK4SpanRKN3HIR7TypeRefERK8RcStringRS4_)
          to label %143 unwind label %164

143:                                              ; preds = %140
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(8) %137)
          to label %145 unwind label %164

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull @.str.179)
          to label %147 unwind label %164

147:                                              ; preds = %145
  %148 = getelementptr inbounds i8, ptr %137, i64 8
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8) %146, ptr noundef nonnull align 8 dereferenceable(16) %148)
          to label %150 unwind label %164

150:                                              ; preds = %147
  %151 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull @.str.225)
          to label %152 unwind label %164

152:                                              ; preds = %150
  %153 = load ptr, ptr %29, align 8, !tbaa !11
  %154 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull align 8 dereferenceable(8) %153)
          to label %155 unwind label %164

155:                                              ; preds = %152
  %156 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef nonnull @.str.147)
          to label %157 unwind label %164

157:                                              ; preds = %155
  %158 = getelementptr inbounds i8, ptr %137, i64 24
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef nonnull align 8 dereferenceable(8) %158)
          to label %160 unwind label %164

160:                                              ; preds = %157
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %159, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %162 unwind label %164

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %166 unwind label %164

164:                                              ; preds = %171, %166, %162, %160, %157, %155, %152, %150, %147, %145, %143, %140, %.lr.ph394
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %181

166:                                              ; preds = %162, %139
  %167 = getelementptr inbounds i8, ptr %137, i64 8
  %168 = load ptr, ptr %29, align 8, !tbaa !11
  %169 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef nonnull align 8 dereferenceable(8) %168)
          to label %170 unwind label %164

170:                                              ; preds = %166
  br i1 %169, label %171, label %178

171:                                              ; preds = %170
  %172 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %173 unwind label %164

173:                                              ; preds = %171
  br i1 %172, label %174, label %178

174:                                              ; preds = %173
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %175 = getelementptr inbounds i8, ptr %137, i64 24
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %17, ptr noundef nonnull align 8 dereferenceable(96) %10, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %175, i1 noundef zeroext true)
          to label %182 unwind label %176

176:                                              ; preds = %174
  %177 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  br label %181

178:                                              ; preds = %173, %170
  %179 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  %180 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br i1 %180, label %.lr.ph394, label %..loopexit290_crit_edge

181:                                              ; preds = %176, %164
  %.pn215 = phi { ptr, i32 } [ %177, %176 ], [ %165, %164 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %184

..loopexit290_crit_edge:                          ; preds = %178, %.lr.ph397
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %..loopexit297_crit_edge

182:                                              ; preds = %174
  %183 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %17)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  br label %185

184:                                              ; preds = %181, %130
  %.pn215.pn = phi { ptr, i32 } [ %.pn215, %181 ], [ %.pn221, %130 ]
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %10) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #8
  br label %230

..loopexit297_crit_edge:                          ; preds = %.preheader, %.lr.ph417, %..loopexit289_crit_edge, %..loopexit290_crit_edge
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %10) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #8
  br label %.thread276

185:                                              ; preds = %182, %131
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %10) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %10) #8
  br label %.thread276

.lr.ph:                                           ; preds = %.preheader308, %198
  %186 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  %187 = getelementptr inbounds i8, ptr %186, i64 8
  %188 = load ptr, ptr %29, align 8, !tbaa !11
  %189 = invoke noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16) %187, ptr noundef nonnull align 8 dereferenceable(8) %188)
          to label %190 unwind label %.split.split

190:                                              ; preds = %.lr.ph
  br i1 %189, label %191, label %198

191:                                              ; preds = %190
  %192 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %193 unwind label %.split.split

193:                                              ; preds = %191
  br i1 %192, label %.split332, label %198

.split332:                                        ; preds = %193
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %194 = getelementptr inbounds i8, ptr %186, i64 24
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %21, ptr noundef nonnull align 8 dereferenceable(96) %18, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %194, i1 noundef zeroext true)
          to label %202 unwind label %196

.split.split:                                     ; preds = %191, %.lr.ph
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %201

196:                                              ; preds = %.split332
  %197 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  br label %201

198:                                              ; preds = %193, %190
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  %200 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKSt4pairI8RcStringN3HIR6VisEntINS3_7TypeRefEEEESt6vectorIS7_SaIS7_EEEEbRKNS_17__normal_iteratorIT_T0_EESI_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  br i1 %200, label %.lr.ph, label %..loopexit300_crit_edge

201:                                              ; preds = %196, %.split.split
  %.pn213 = phi { ptr, i32 } [ %197, %196 ], [ %195, %.split.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %18) #8
  br label %230

..loopexit300_crit_edge:                          ; preds = %198, %.preheader308
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %18) #8
  br label %.thread276

202:                                              ; preds = %.split332
  %203 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %21)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #8
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %18) #8
  br label %.thread276

204:                                              ; preds = %5
  %205 = tail call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %2)
  %206 = tail call noundef ptr @_ZNK3HIR8TypeData9opt_TupleEv(ptr noundef nonnull align 8 dereferenceable(184) %205)
  %.not210 = icmp eq ptr %206, null
  br i1 %.not210, label %.thread276, label %207

207:                                              ; preds = %204
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #8
  store i32 0, ptr %22, align 4, !tbaa !9
  %208 = tail call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %206) #8
  %.not212444.not = icmp eq i64 %208, 0
  br i1 %.not212444.not, label %._crit_edge447, label %.lr.ph446

.lr.ph446:                                        ; preds = %207, %219
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %23) #8
  call void @llvm.lifetime.start.p0(i64 376, ptr nonnull %24) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24)
  %209 = invoke noundef nonnull align 8 dereferenceable(112) ptr @_ZStlsINSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEEjEOT_S7_RKT0_(ptr noundef nonnull align 8 dereferenceable(112) %24, ptr noundef nonnull align 4 dereferenceable(4) %22)
          to label %210 unwind label %214

210:                                              ; preds = %.lr.ph446
  invoke void @_ZNKSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %23, ptr noundef nonnull align 8 dereferenceable(112) %209)
          to label %211 unwind label %214

211:                                              ; preds = %210
  %212 = invoke noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %213 unwind label %216

213:                                              ; preds = %211
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  br i1 %212, label %224, label %219

214:                                              ; preds = %210, %.lr.ph446
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %218

216:                                              ; preds = %211
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  br label %218

218:                                              ; preds = %216, %214
  %.pn = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(112) %24) #8
  call void @llvm.lifetime.end.p0(i64 376, ptr nonnull %24) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %23) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  br label %230

219:                                              ; preds = %213
  %220 = load i32, ptr %22, align 4, !tbaa !9
  %221 = add i32 %220, 1
  store i32 %221, ptr %22, align 4, !tbaa !9
  %222 = zext i32 %221 to i64
  %223 = call noundef i64 @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %206) #8
  %.not212 = icmp ugt i64 %223, %222
  br i1 %.not212, label %.lr.ph446, label %._crit_edge447, !llvm.loop !37

._crit_edge447:                                   ; preds = %219, %207
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  br label %.thread276

224:                                              ; preds = %213
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #8
  %225 = load i32, ptr %22, align 4, !tbaa !9
  %226 = zext i32 %225 to i64
  %227 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorIN3HIR7TypeRefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %206, i64 noundef %226) #8
  call void @_ZNK3HIR7TypeRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %25, ptr noundef nonnull align 8 dereferenceable(8) %227)
  %228 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIR7TypeRefaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %25)
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #8
  br label %.thread276

.thread276:                                       ; preds = %..loopexit297_crit_edge, %..loopexit300_crit_edge, %.lr.ph442, %.preheader301, %.preheader304, %.preheader306, %185, %202, %224, %204, %._crit_edge447
  %229 = phi i1 [ false, %._crit_edge447 ], [ false, %204 ], [ true, %224 ], [ true, %202 ], [ true, %185 ], [ false, %.preheader306 ], [ false, %.preheader304 ], [ false, %.preheader301 ], [ false, %.lr.ph442 ], [ false, %..loopexit300_crit_edge ], [ false, %..loopexit297_crit_edge ]
  ret i1 %229

230:                                              ; preds = %53, %184, %201, %218
  %.pn213.pn.pn = phi { ptr, i32 } [ %.pn, %218 ], [ %.pn213, %201 ], [ %.pn215.pn, %184 ], [ %.pn225, %53 ]
  resume { ptr, i32 } %.pn213.pn.pn
}

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9PublicityE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #1

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

declare noundef zeroext i1 @_ZNK3HIR9Publicity10is_visibleERKNS_10SimplePathE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef zeroext i1 @_ZSteqRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK8RcString(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK3HIR8TypeData9opt_TupleEv(ptr noundef nonnull align 8 dereferenceable(184)) local_unnamed_addr #5 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 = { 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 #3 = { 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 #4 = { 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 #5 = { 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 #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }
attributes #10 = { noreturn }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 232}
!12 = !{!"_ZTS15TraitResolution", !13, i64 0, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !31, i64 256}
!13 = !{!"_ZTS18TraitResolveCommon", !6, i64 0, !6, i64 8, !6, i64 16, !14, i64 24, !23, i64 72, !29, i64 104, !29, i64 112, !29, i64 120, !29, i64 128, !29, i64 136, !29, i64 144, !29, i64 152, !29, i64 160, !29, i64 168, !29, i64 176, !29, i64 184, !29, i64 192, !29, i64 200, !29, i64 208}
!14 = !{!"_ZTSSt3mapIN3HIR7TypeRefEN18TraitResolveCommon14CachedEqualityESt4lessIS1_ESaISt4pairIKS1_S3_EEE", !15, i64 0}
!15 = !{!"_ZTSSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE", !16, i64 0}
!16 = !{!"_ZTSNSt8_Rb_treeIN3HIR7TypeRefESt4pairIKS1_N18TraitResolveCommon14CachedEqualityEESt10_Select1stIS6_ESt4lessIS1_ESaIS6_EE13_Rb_tree_implISA_Lb1EEE", !17, i64 0, !19, i64 8}
!17 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIN3HIR7TypeRefEEE", !18, i64 0}
!18 = !{!"_ZTSSt4lessIN3HIR7TypeRefEE"}
!19 = !{!"_ZTSSt15_Rb_tree_header", !20, i64 0, !22, i64 32}
!20 = !{!"_ZTSSt18_Rb_tree_node_base", !21, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!21 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTS11RangeVecMapISt4pairIN3HIR7TypeRefENS1_11GenericPathEEN18TraitResolveCommon11CachedBoundENS5_14CachedBoundCmpEE", !24, i64 0, !28, i64 24}
!24 = !{!"_ZTSSt6vectorISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrISt4pairIS1_IN3HIR7TypeRefENS2_11GenericPathEEN18TraitResolveCommon11CachedBoundEESt14default_deleteIS8_EESaISB_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN18TraitResolveCommon14CachedBoundCmpE"}
!29 = !{!"_ZTSN3HIR10SimplePathE", !30, i64 0}
!30 = !{!"_ZTS10ThinVectorI8RcStringE", !6, i64 0}
!31 = !{!"_ZTSSt6vectorISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !32, i64 0}
!32 = !{!"_ZTSSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE", !33, i64 0}
!33 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE12_Vector_implE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseISt10unique_ptrIN3HIR7TypeRefESt14default_deleteIS2_EESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}


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