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

; 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::GenericParams" = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.TraceLog = type { ptr, %"class.std::function" }
%"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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.HIR::GenericParams::PrintArgs" = type { ptr }
%struct.Span = type { ptr }
%class.anon = type { ptr, ptr }
%"class.Monomorphiser::PopOnDrop" = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::TraitPath" = type { %"class.std::unique_ptr", %"class.HIR::GenericPath", %"class.std::map", %"class.std::map.23", ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.19" }
%"struct.std::_Head_base.19" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector.17 }
%class.ThinVector.17 = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector, %class.ThinVector.15, %class.ThinVector.16 }
%class.ThinVector = type { ptr }
%class.ThinVector.15 = type { ptr }
%class.ThinVector.16 = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.MonomorphHrlsOnly = type { %class.Monomorphiser, ptr }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.122" }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.122" = type { %"struct.std::_Vector_base.123" }
%"struct.std::_Vector_base.123" = 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 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::GenericBound::Data_TraitBound" = type { %"class.std::unique_ptr", %"class.HIR::TypeRef", %"class.HIR::TraitPath" }
%"struct.std::pair.136" = type { %class.RcString, %"struct.HIR::TraitPath::AtyEqual" }
%"struct.HIR::TraitPath::AtyEqual" = type { %"class.HIR::GenericPath", %"class.HIR::TypeRef" }
%struct.Context = type { ptr, %"class.std::vector.56", %class.HMTypeInferrence, %class.TraitResolution, i32, %"class.std::vector.87", %"class.std::vector.92", %"class.std::vector.97", %"class.std::vector.102", %"class.std::vector.107", %"class.std::vector.111", %"class.std::map.116", %"struct.HIR::SimplePath" }
%"class.std::vector.56" = type { %"struct.std::_Vector_base.57" }
%"struct.std::_Vector_base.57" = type { %"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::Binding, std::allocator<Context::Binding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.HMTypeInferrence = type <{ %"class.std::vector.61", %"class.std::vector.66", i8, [7 x i8] }>
%"class.std::vector.61" = type { %"struct.std::_Vector_base.62" }
%"struct.std::_Vector_base.62" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl" }
%"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HMTypeInferrence::IVar, std::allocator<HMTypeInferrence::IVar>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl" }
%"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl" = type { %"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HMTypeInferrence::IVarValue, std::allocator<HMTypeInferrence::IVarValue>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.TraitResolution = type { %struct.TraitResolveCommon, ptr, ptr, ptr, ptr, ptr, %"class.std::vector.82" }
%struct.TraitResolveCommon = type { ptr, ptr, ptr, %"class.std::map.71", %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.71" = type { %"class.std::_Rb_tree.72" }
%"class.std::_Rb_tree.72" = 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.77", [8 x i8] }>
%"class.std::vector.77" = type { %"struct.std::_Vector_base.78" }
%"struct.std::_Vector_base.78" = 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.82" = type { %"struct.std::_Vector_base.83" }
%"struct.std::_Vector_base.83" = 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 }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Coercion>, std::allocator<std::unique_ptr<Context::Coercion>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::Associated, std::allocator<Context::Associated>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.97" = type { %"struct.std::_Vector_base.98" }
%"struct.std::_Vector_base.98" = type { %"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl" }
%"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl" = type { %"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<HIR::ExprNode *, std::allocator<HIR::ExprNode *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.102" = type { %"struct.std::_Vector_base.103" }
%"struct.std::_Vector_base.103" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<Context::Revisitor>, std::allocator<std::unique_ptr<Context::Revisitor>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.107" = type { %"struct.std::_Bvector_base" }
%"struct.std::_Bvector_base" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl" = type { %"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" }
%"struct.std::_Bvector_base<std::allocator<bool>>::_Bvector_impl_data" = type { %"struct.std::_Bit_iterator", %"struct.std::_Bit_iterator", ptr }
%"struct.std::_Bit_iterator" = type { %"struct.std::_Bit_iterator_base.base", [4 x i8] }
%"struct.std::_Bit_iterator_base.base" = type <{ ptr, i32 }>
%"class.std::vector.111" = type { %"struct.std::_Vector_base.112" }
%"struct.std::_Vector_base.112" = type { %"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl" }
%"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl" = type { %"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Context::IVarPossible, std::allocator<Context::IVarPossible>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map.116" = type { %"class.std::_Rb_tree.117" }
%"class.std::_Rb_tree.117" = type { %"struct.std::_Rb_tree<HIR::TypeData_ErasedType_AliasInner *, std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>, std::_Select1st<std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>>, std::less<HIR::TypeData_ErasedType_AliasInner *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<HIR::TypeData_ErasedType_AliasInner *, std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>, std::_Select1st<std::pair<HIR::TypeData_ErasedType_AliasInner *const, Context::TaitEntry>>, std::less<HIR::TypeData_ErasedType_AliasInner *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.HIR::GenericBound::Data_TypeEquality" = type { %"class.HIR::TypeRef", %"class.HIR::TypeRef" }
%"struct.HIR::TypeParamDef" = type <{ %class.RcString, %"class.HIR::TypeRef", i8, [7 x i8] }>

@__dso_handle = external hidden global i8
@g_debug_indent_level = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb = external hidden unnamed_addr constant [122 x i8], align 1
@_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb = external hidden global %"class.HIR::GenericParams", align 8
@_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb = external hidden global i64, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #0

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #4

declare i32 @__gxx_personality_v0(...)

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

; 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) #5

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 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)) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 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)) #5

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(96) %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i1 noundef zeroext %4) #6 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i8, align 1
  %11 = alloca %class.TraceLog, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca ptr, align 8
  %23 = alloca i8, align 1
  %24 = alloca ptr, align 8
  %25 = alloca i8, align 1
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  %29 = alloca %struct.Span, align 8
  %30 = alloca %"class.std::function", align 8
  %31 = alloca %class.anon, align 8
  %32 = alloca %"class.Monomorphiser::PopOnDrop", align 8
  %33 = alloca %"class.HIR::TypeRef", align 8
  %34 = alloca %"class.HIR::TraitPath", align 8
  %35 = alloca %"struct.HIR::PathParams", align 8
  %36 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  %37 = alloca %struct.MonomorphHrlsOnly, align 8
  %38 = alloca ptr, align 8
  %39 = alloca ptr, align 8
  %40 = alloca %"struct.HIR::PathParams", align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %43 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %44 = alloca ptr, align 8
  %45 = alloca %"class.HIR::TypeRef", align 8
  %46 = alloca %"struct.HIR::PathParams", align 8
  %47 = alloca i8, align 1
  %48 = alloca ptr, align 8
  %49 = alloca %"class.HIR::TypeRef", align 8
  %50 = alloca %"class.HIR::TypeRef", align 8
  %51 = alloca %"class.HIR::TypeRef", align 8
  %52 = alloca %"class.HIR::TypeRef", align 8
  %53 = alloca i64, align 8
  %54 = alloca %"class.HIR::TypeRef", align 8
  %55 = alloca %class.RcString, align 8
  %56 = alloca %"class.HIR::TypeRef", align 8
  %57 = alloca %struct.Span, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %58 = zext i1 %4 to i8
  store i8 %58, ptr %10, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #0
  %59 = call noundef zeroext i1 @_Z13debug_enabledv()
  %60 = zext i1 %59 to i64
  %61 = select i1 %59, ptr @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef %61)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #0
  %62 = load ptr, ptr %8, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.HIR::GenericParams", ptr %62, i32 0, i32 3
  store ptr %63, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #0
  %64 = load ptr, ptr %12, align 8, !tbaa !5
  %65 = call ptr @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #0
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %13, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #0
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = call ptr @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #0
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %14, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  br label %70

70:                                               ; preds = %553, %5
  %71 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #0
  br i1 %71, label %73, label %72

72:                                               ; preds = %70
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #0
  br label %555

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #0
  %74 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #0
  store ptr %74, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #0
  store i8 1, ptr %17, align 1, !tbaa !9
  br label %75

75:                                               ; preds = %551, %73
  %76 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %77 = trunc i8 %76 to i1
  br i1 %77, label %79, label %78

78:                                               ; preds = %75
  store i32 4, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #0
  br label %552

79:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #0
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  store ptr %80, ptr %18, align 8, !tbaa !5
  br label %81

81:                                               ; preds = %548, %79
  %82 = load i8, ptr %17, align 1, !tbaa !9, !range !11, !noundef !12
  %83 = trunc i8 %82 to i1
  br i1 %83, label %85, label %84

84:                                               ; preds = %81
  store i32 7, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  br label %550

85:                                               ; preds = %81
  %86 = load ptr, ptr %18, align 8, !tbaa !5
  %87 = invoke noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %86)
          to label %88 unwind label %89

88:                                               ; preds = %85
  switch i32 %87, label %547 [
    i32 0, label %93
    i32 1, label %94
    i32 2, label %117
    i32 3, label %140
    i32 4, label %474
  ]

89:                                               ; preds = %85
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %19, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %20, align 4
  br label %549

93:                                               ; preds = %88
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.3, i32 noundef 146, ptr noundef @__PRETTY_FUNCTION__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb) #9
  unreachable

94:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #0
  store i8 1, ptr %21, align 1, !tbaa !9
  br label %95

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

98:                                               ; preds = %95
  store i32 11, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #0
  br label %116

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #0
  %100 = load ptr, ptr %18, align 8, !tbaa !5
  %101 = invoke noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR12GenericBound11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %100)
          to label %102 unwind label %108

102:                                              ; preds = %99
  store ptr %101, ptr %22, align 8, !tbaa !5
  br label %103

103:                                              ; preds = %113, %102
  %104 = load ptr, ptr %22, align 8, !tbaa !5
  %105 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %106 = trunc i8 %105 to i1
  br i1 %106, label %112, label %107

107:                                              ; preds = %103
  store i32 14, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #0
  br label %114

108:                                              ; preds = %99
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %19, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #0
  br label %549

112:                                              ; preds = %103
  br label %113

113:                                              ; preds = %112
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %103, !llvm.loop !13

114:                                              ; preds = %107
  br label %115

115:                                              ; preds = %114
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %95, !llvm.loop !15

116:                                              ; preds = %98
  br label %547

117:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #0
  store i8 1, ptr %23, align 1, !tbaa !9
  br label %118

118:                                              ; preds = %138, %117
  %119 = load i8, ptr %23, align 1, !tbaa !9, !range !11, !noundef !12
  %120 = trunc i8 %119 to i1
  br i1 %120, label %122, label %121

121:                                              ; preds = %118
  store i32 17, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #0
  br label %139

122:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #0
  %123 = load ptr, ptr %18, align 8, !tbaa !5
  %124 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR12GenericBound15as_TypeLifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %123)
          to label %125 unwind label %131

125:                                              ; preds = %122
  store ptr %124, ptr %24, align 8, !tbaa !5
  br label %126

126:                                              ; preds = %136, %125
  %127 = load ptr, ptr %24, align 8, !tbaa !5
  %128 = load i8, ptr %23, align 1, !tbaa !9, !range !11, !noundef !12
  %129 = trunc i8 %128 to i1
  br i1 %129, label %135, label %130

130:                                              ; preds = %126
  store i32 20, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #0
  br label %137

131:                                              ; preds = %122
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %19, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #0
  br label %549

135:                                              ; preds = %126
  br label %136

136:                                              ; preds = %135
  store i8 0, ptr %23, align 1, !tbaa !9
  br label %126, !llvm.loop !16

137:                                              ; preds = %130
  br label %138

138:                                              ; preds = %137
  store i8 0, ptr %23, align 1, !tbaa !9
  br label %118, !llvm.loop !17

139:                                              ; preds = %121
  br label %547

140:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #0
  store i8 1, ptr %25, align 1, !tbaa !9
  br label %141

141:                                              ; preds = %472, %140
  %142 = load i8, ptr %25, align 1, !tbaa !9, !range !11, !noundef !12
  %143 = trunc i8 %142 to i1
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  store i32 23, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #0
  br label %473

145:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #0
  %146 = load ptr, ptr %18, align 8, !tbaa !5
  %147 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %146)
          to label %148 unwind label %154

148:                                              ; preds = %145
  store ptr %147, ptr %26, align 8, !tbaa !5
  br label %149

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

153:                                              ; preds = %149
  store i32 26, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #0
  br label %471

154:                                              ; preds = %145
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %19, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %20, align 4
  br label %470

158:                                              ; preds = %149
  %159 = load atomic i8, ptr @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb acquire, align 8
  %160 = icmp eq i8 %159, 0
  br i1 %160, label %161, label %166, !prof !18

161:                                              ; preds = %158
  %162 = call i32 @__cxa_guard_acquire(ptr @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #0
  %163 = icmp ne i32 %162, 0
  br i1 %163, label %164, label %166

164:                                              ; preds = %161
  call void @_ZN3HIR13GenericParamsC2Ev(ptr noundef nonnull align 8 dereferenceable(96) @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #0
  %165 = call i32 @__cxa_atexit(ptr @_ZN3HIR13GenericParamsD2Ev, ptr @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #0
  br label %166

166:                                              ; preds = %164, %161, %158
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #0
  %167 = load ptr, ptr %26, align 8, !tbaa !5
  %168 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %167, i32 0, i32 0
  %169 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %168) #0
  br i1 %169, label %170, label %174

170:                                              ; preds = %166
  %171 = load ptr, ptr %26, align 8, !tbaa !5
  %172 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %171, i32 0, i32 0
  %173 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %172) #0
  br label %175

174:                                              ; preds = %166
  br label %175

175:                                              ; preds = %174, %170
  %176 = phi ptr [ %173, %170 ], [ @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, %174 ]
  store ptr %176, ptr %27, align 8, !tbaa !5
  br label %177

177:                                              ; preds = %175
  %178 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %179 unwind label %208

179:                                              ; preds = %177
  br i1 %178, label %180, label %216

180:                                              ; preds = %179
  %181 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !19
  %182 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %181, ptr noundef @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %183 unwind label %208

183:                                              ; preds = %180
  %184 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %182, ptr noundef @.str.4)
          to label %185 unwind label %208

185:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #0
  %186 = load ptr, ptr %27, align 8, !tbaa !5
  %187 = invoke ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %186)
          to label %188 unwind label %212

188:                                              ; preds = %185
  %189 = getelementptr inbounds %"struct.HIR::GenericParams::PrintArgs", ptr %28, i32 0, i32 0
  store ptr %187, ptr %189, align 8
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %184, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %191 unwind label %212

191:                                              ; preds = %188
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef @.str.5)
          to label %193 unwind label %212

193:                                              ; preds = %191
  %194 = load ptr, ptr %26, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %194, i32 0, i32 1
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(8) %195)
          to label %197 unwind label %212

197:                                              ; preds = %193
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @.str.6)
          to label %199 unwind label %212

199:                                              ; preds = %197
  %200 = load ptr, ptr %26, align 8, !tbaa !5
  %201 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %200, i32 0, i32 2
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8) %198, ptr noundef nonnull align 8 dereferenceable(144) %201)
          to label %203 unwind label %212

203:                                              ; preds = %199
  %204 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %202, ptr noundef @_ZSt3decRSt8ios_base)
          to label %205 unwind label %212

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %204, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %207 unwind label %212

207:                                              ; preds = %205
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #0
  br label %216

208:                                              ; preds = %252, %235, %219, %183, %180, %177
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %19, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %20, align 4
  br label %469

212:                                              ; preds = %205, %203, %199, %197, %193, %191, %188, %185
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %19, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #0
  br label %469

216:                                              ; preds = %207, %179
  br label %217

217:                                              ; preds = %216
  br label %218

218:                                              ; preds = %217
  br label %219

219:                                              ; preds = %218
  %220 = load ptr, ptr %27, align 8, !tbaa !5
  %221 = invoke noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %220)
          to label %222 unwind label %208

222:                                              ; preds = %219
  %223 = xor i1 %221, true
  %224 = zext i1 %223 to i32
  %225 = load ptr, ptr %26, align 8, !tbaa !5
  %226 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %225, i32 0, i32 2
  %227 = getelementptr inbounds %"class.HIR::TraitPath", ptr %226, i32 0, i32 0
  %228 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %227) #0
  br i1 %228, label %229, label %234

229:                                              ; preds = %222
  %230 = load ptr, ptr %26, align 8, !tbaa !5
  %231 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %230, i32 0, i32 2
  %232 = getelementptr inbounds %"class.HIR::TraitPath", ptr %231, i32 0, i32 0
  %233 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %232) #0
  br label %235

234:                                              ; preds = %222
  br label %235

235:                                              ; preds = %234, %229
  %236 = phi ptr [ %233, %229 ], [ @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, %234 ]
  %237 = invoke noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %236)
          to label %238 unwind label %208

238:                                              ; preds = %235
  %239 = xor i1 %237, true
  %240 = zext i1 %239 to i32
  %241 = add nsw i32 %224, %240
  %242 = icmp slt i32 %241, 2
  br i1 %242, label %266, label %243

243:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #0
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %244)
          to label %245 unwind label %253

245:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #0
  %246 = getelementptr inbounds %class.anon, ptr %31, i32 0, i32 0
  %247 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %247, ptr %246, align 8, !tbaa !5
  %248 = getelementptr inbounds %class.anon, ptr %31, i32 0, i32 1
  %249 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %249, ptr %248, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(16) %31) #0
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef %30)
          to label %250 unwind label %257

250:                                              ; preds = %245
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #0
  %251 = call ptr @__cxa_allocate_exception(i64 16) #0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %251, ptr noundef @.str.7)
          to label %252 unwind label %262

252:                                              ; preds = %250
  invoke void @__cxa_throw(ptr %251, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %629 unwind label %208

253:                                              ; preds = %243
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %19, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %20, align 4
  br label %261

257:                                              ; preds = %245
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %19, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %20, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #0
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #0
  br label %261

261:                                              ; preds = %257, %253
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #0
  br label %469

262:                                              ; preds = %250
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %19, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %20, align 4
  call void @__cxa_free_exception(ptr %251) #0
  br label %469

266:                                              ; preds = %238
  br label %267

267:                                              ; preds = %266
  br label %268

268:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #0
  %269 = load ptr, ptr %9, align 8, !tbaa !5
  %270 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZNK13Monomorphiser8push_hrbERKN3HIR13GenericParamsE(ptr dead_on_unwind writable sret(%"class.Monomorphiser::PopOnDrop") align 8 %32, ptr noundef nonnull align 8 dereferenceable(96) %269, ptr noundef nonnull align 8 dereferenceable(96) %270)
          to label %271 unwind label %306

271:                                              ; preds = %268
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #0
  %272 = load ptr, ptr %9, align 8, !tbaa !5
  %273 = load ptr, ptr %7, align 8, !tbaa !5
  %274 = load ptr, ptr %26, align 8, !tbaa !5
  %275 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %274, i32 0, i32 1
  %276 = load ptr, ptr %272, align 8, !tbaa !21
  %277 = getelementptr inbounds ptr, ptr %276, i64 5
  %278 = load ptr, ptr %277, align 8
  invoke void %278(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %33, ptr noundef nonnull align 8 dereferenceable(96) %272, ptr noundef nonnull align 8 dereferenceable(8) %273, ptr noundef nonnull align 8 dereferenceable(8) %275, i1 noundef zeroext true)
          to label %279 unwind label %310

279:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 144, ptr %34) #0
  %280 = load ptr, ptr %9, align 8, !tbaa !5
  %281 = load ptr, ptr %7, align 8, !tbaa !5
  %282 = load ptr, ptr %26, align 8, !tbaa !5
  %283 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %282, i32 0, i32 2
  invoke void @_ZNK13Monomorphiser19monomorph_traitpathERK4SpanRKN3HIR9TraitPathEbb(ptr dead_on_unwind writable sret(%"class.HIR::TraitPath") align 8 %34, ptr noundef nonnull align 8 dereferenceable(96) %280, ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef nonnull align 8 dereferenceable(144) %283, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %284 unwind label %314

284:                                              ; preds = %279
  br label %285

285:                                              ; preds = %284
  %286 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %287 unwind label %318

287:                                              ; preds = %285
  br i1 %286, label %288, label %322

288:                                              ; preds = %287
  %289 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !19
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %289, ptr noundef @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %291 unwind label %318

291:                                              ; preds = %288
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef @.str.8)
          to label %293 unwind label %318

293:                                              ; preds = %291
  %294 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %292, ptr noundef nonnull align 8 dereferenceable(8) %33)
          to label %295 unwind label %318

295:                                              ; preds = %293
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %294, ptr noundef @.str.1)
          to label %297 unwind label %318

297:                                              ; preds = %295
  %298 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8) %296, ptr noundef nonnull align 8 dereferenceable(144) %34)
          to label %299 unwind label %318

299:                                              ; preds = %297
  %300 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %298, ptr noundef @.str.9)
          to label %301 unwind label %318

301:                                              ; preds = %299
  %302 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %300, ptr noundef @_ZSt3decRSt8ios_base)
          to label %303 unwind label %318

303:                                              ; preds = %301
  %304 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %302, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %305 unwind label %318

305:                                              ; preds = %303
  br label %322

306:                                              ; preds = %268
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %19, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %20, align 4
  br label %468

310:                                              ; preds = %271
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %19, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %20, align 4
  br label %467

314:                                              ; preds = %279
  %315 = landingpad { ptr, i32 }
          cleanup
  %316 = extractvalue { ptr, i32 } %315, 0
  store ptr %316, ptr %19, align 8
  %317 = extractvalue { ptr, i32 } %315, 1
  store i32 %317, ptr %20, align 4
  br label %466

318:                                              ; preds = %303, %301, %299, %297, %295, %293, %291, %288, %285
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %19, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %20, align 4
  br label %465

322:                                              ; preds = %305, %287
  br label %323

323:                                              ; preds = %322
  br label %324

324:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #0
  %325 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 0
  %326 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %325) #0
  br i1 %326, label %327, label %336

327:                                              ; preds = %324
  %328 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 0
  %329 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %328) #0
  %330 = invoke noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %329)
          to label %331 unwind label %363

331:                                              ; preds = %327
  br i1 %330, label %336, label %332

332:                                              ; preds = %331
  %333 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 0
  %334 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %333) #0
  invoke void @_ZNK3HIR13GenericParams17make_empty_paramsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %35, ptr noundef nonnull align 8 dereferenceable(96) %334, i1 noundef zeroext true)
          to label %335 unwind label %363

335:                                              ; preds = %332
  br label %339

336:                                              ; preds = %331, %324
  %337 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZNK3HIR13GenericParams17make_empty_paramsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %35, ptr noundef nonnull align 8 dereferenceable(96) %337, i1 noundef zeroext true)
          to label %338 unwind label %363

338:                                              ; preds = %336
  br label %339

339:                                              ; preds = %338, %335
  br label %340

340:                                              ; preds = %339
  %341 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %342 unwind label %367

342:                                              ; preds = %340
  br i1 %341, label %343, label %375

343:                                              ; preds = %342
  %344 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !19
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %344, ptr noundef @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %346 unwind label %367

346:                                              ; preds = %343
  %347 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %345, ptr noundef @.str.10)
          to label %348 unwind label %367

348:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #0
  %349 = load ptr, ptr %27, align 8, !tbaa !5
  %350 = invoke ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %349)
          to label %351 unwind label %371

351:                                              ; preds = %348
  %352 = getelementptr inbounds %"struct.HIR::GenericParams::PrintArgs", ptr %36, i32 0, i32 0
  store ptr %350, ptr %352, align 8
  %353 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %347, ptr noundef nonnull align 8 dereferenceable(8) %36)
          to label %354 unwind label %371

354:                                              ; preds = %351
  %355 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %353, ptr noundef @.str.11)
          to label %356 unwind label %371

356:                                              ; preds = %354
  %357 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %355, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %358 unwind label %371

358:                                              ; preds = %356
  %359 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %357, ptr noundef @_ZSt3decRSt8ios_base)
          to label %360 unwind label %371

360:                                              ; preds = %358
  %361 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %359, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %362 unwind label %371

362:                                              ; preds = %360
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #0
  br label %375

363:                                              ; preds = %336, %332, %327
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %19, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %20, align 4
  br label %464

367:                                              ; preds = %346, %343, %340
  %368 = landingpad { ptr, i32 }
          cleanup
  %369 = extractvalue { ptr, i32 } %368, 0
  store ptr %369, ptr %19, align 8
  %370 = extractvalue { ptr, i32 } %368, 1
  store i32 %370, ptr %20, align 4
  br label %463

371:                                              ; preds = %360, %358, %356, %354, %351, %348
  %372 = landingpad { ptr, i32 }
          cleanup
  %373 = extractvalue { ptr, i32 } %372, 0
  store ptr %373, ptr %19, align 8
  %374 = extractvalue { ptr, i32 } %372, 1
  store i32 %374, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #0
  br label %463

375:                                              ; preds = %362, %342
  br label %376

376:                                              ; preds = %375
  br label %377

377:                                              ; preds = %376
  call void @llvm.lifetime.start.p0(i64 104, ptr %37) #0
  invoke void @_ZN17MonomorphHrlsOnlyC2ERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(104) %37, ptr noundef nonnull align 8 dereferenceable(24) %35)
          to label %378 unwind label %396

378:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #0
  %379 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 1
  %380 = getelementptr inbounds %"class.HIR::GenericPath", ptr %379, i32 0, i32 0
  store ptr %380, ptr %38, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #0
  %381 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 1
  %382 = getelementptr inbounds %"class.HIR::GenericPath", ptr %381, i32 0, i32 1
  store ptr %382, ptr %39, align 8, !tbaa !5
  %383 = load ptr, ptr %26, align 8, !tbaa !5
  %384 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %383, i32 0, i32 2
  %385 = getelementptr inbounds %"class.HIR::TraitPath", ptr %384, i32 0, i32 2
  %386 = call noundef i64 @_ZNKSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %385) #0
  %387 = icmp eq i64 %386, 0
  br i1 %387, label %388, label %408

388:                                              ; preds = %378
  %389 = load ptr, ptr %6, align 8, !tbaa !5
  %390 = load ptr, ptr %7, align 8, !tbaa !5
  %391 = load ptr, ptr %38, align 8, !tbaa !5
  %392 = load ptr, ptr %7, align 8, !tbaa !5
  %393 = load ptr, ptr %39, align 8, !tbaa !5
  invoke void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %40, ptr noundef nonnull align 8 dereferenceable(96) %37, ptr noundef nonnull align 8 dereferenceable(8) %392, ptr noundef nonnull align 8 dereferenceable(24) %393, i1 noundef zeroext true)
          to label %394 unwind label %400

394:                                              ; preds = %388
  invoke void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592) %389, ptr noundef nonnull align 8 dereferenceable(8) %390, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %391, ptr noundef %40)
          to label %395 unwind label %404

395:                                              ; preds = %394
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #0
  br label %408

396:                                              ; preds = %377
  %397 = landingpad { ptr, i32 }
          cleanup
  %398 = extractvalue { ptr, i32 } %397, 0
  store ptr %398, ptr %19, align 8
  %399 = extractvalue { ptr, i32 } %397, 1
  store i32 %399, ptr %20, align 4
  br label %462

400:                                              ; preds = %388
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %19, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %20, align 4
  br label %461

404:                                              ; preds = %394
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %19, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %20, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #0
  br label %461

408:                                              ; preds = %395, %378
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #0
  %409 = getelementptr inbounds %"class.HIR::TraitPath", ptr %34, i32 0, i32 2
  store ptr %409, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #0
  %410 = load ptr, ptr %41, align 8, !tbaa !5
  %411 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %410) #0
  %412 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %42, i32 0, i32 0
  store ptr %411, ptr %412, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #0
  %413 = load ptr, ptr %41, align 8, !tbaa !5
  %414 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %413) #0
  %415 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %43, i32 0, i32 0
  store ptr %414, ptr %415, align 8
  br label %416

416:                                              ; preds = %443, %408
  %417 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #0
  br i1 %417, label %419, label %418

418:                                              ; preds = %416
  store i32 37, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #0
  br label %459

419:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #0
  %420 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #0
  store ptr %420, ptr %44, align 8, !tbaa !5
  %421 = load ptr, ptr %6, align 8, !tbaa !5
  %422 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #0
  %423 = load ptr, ptr %7, align 8, !tbaa !5
  %424 = load ptr, ptr %44, align 8, !tbaa !5
  %425 = getelementptr inbounds %"struct.std::pair.136", ptr %424, i32 0, i32 1
  %426 = getelementptr inbounds %"struct.HIR::TraitPath::AtyEqual", ptr %425, i32 0, i32 1
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %45, ptr noundef nonnull align 8 dereferenceable(96) %37, ptr noundef nonnull align 8 dereferenceable(8) %423, ptr noundef nonnull align 8 dereferenceable(8) %426, i1 noundef zeroext true)
          to label %427 unwind label %445

427:                                              ; preds = %419
  %428 = load ptr, ptr %44, align 8, !tbaa !5
  %429 = getelementptr inbounds %"struct.std::pair.136", ptr %428, i32 0, i32 1
  %430 = getelementptr inbounds %"struct.HIR::TraitPath::AtyEqual", ptr %429, i32 0, i32 0
  %431 = getelementptr inbounds %"class.HIR::GenericPath", ptr %430, i32 0, i32 0
  %432 = load ptr, ptr %7, align 8, !tbaa !5
  %433 = load ptr, ptr %44, align 8, !tbaa !5
  %434 = getelementptr inbounds %"struct.std::pair.136", ptr %433, i32 0, i32 1
  %435 = getelementptr inbounds %"struct.HIR::TraitPath::AtyEqual", ptr %434, i32 0, i32 0
  %436 = getelementptr inbounds %"class.HIR::GenericPath", ptr %435, i32 0, i32 1
  invoke void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8 %46, ptr noundef nonnull align 8 dereferenceable(96) %37, ptr noundef nonnull align 8 dereferenceable(8) %432, ptr noundef nonnull align 8 dereferenceable(24) %436, i1 noundef zeroext true)
          to label %437 unwind label %449

437:                                              ; preds = %427
  %438 = load ptr, ptr %44, align 8, !tbaa !5
  %439 = getelementptr inbounds %"struct.std::pair.136", ptr %438, i32 0, i32 0
  %440 = invoke noundef ptr @_ZNK8RcString5c_strEv(ptr noundef nonnull align 8 dereferenceable(8) %439)
          to label %441 unwind label %453

441:                                              ; preds = %437
  invoke void @_ZN7Context18equate_types_assocERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsES6_PKcb(ptr noundef nonnull align 8 dereferenceable(592) %421, ptr noundef nonnull align 8 dereferenceable(8) %422, ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %431, ptr noundef %46, ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef %440, i1 noundef zeroext false)
          to label %442 unwind label %453

442:                                              ; preds = %441
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #0
  br label %443

443:                                              ; preds = %442
  %444 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #0
  br label %416

445:                                              ; preds = %419
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %19, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %20, align 4
  br label %458

449:                                              ; preds = %427
  %450 = landingpad { ptr, i32 }
          cleanup
  %451 = extractvalue { ptr, i32 } %450, 0
  store ptr %451, ptr %19, align 8
  %452 = extractvalue { ptr, i32 } %450, 1
  store i32 %452, ptr %20, align 4
  br label %457

453:                                              ; preds = %441, %437
  %454 = landingpad { ptr, i32 }
          cleanup
  %455 = extractvalue { ptr, i32 } %454, 0
  store ptr %455, ptr %19, align 8
  %456 = extractvalue { ptr, i32 } %454, 1
  store i32 %456, ptr %20, align 4
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #0
  br label %457

457:                                              ; preds = %453, %449
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %45) #0
  br label %458

458:                                              ; preds = %457, %445
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #0
  br label %461

459:                                              ; preds = %418
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #0
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %37) #0
  call void @llvm.lifetime.end.p0(i64 104, ptr %37) #0
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #0
  call void @_ZN3HIR9TraitPathD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %34) #0
  call void @llvm.lifetime.end.p0(i64 144, ptr %34) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #0
  call void @_ZN13Monomorphiser9PopOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #0
  br label %460

460:                                              ; preds = %459
  store i8 0, ptr %25, align 1, !tbaa !9
  br label %149, !llvm.loop !23

461:                                              ; preds = %458, %404, %400
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #0
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %37) #0
  br label %462

462:                                              ; preds = %461, %396
  call void @llvm.lifetime.end.p0(i64 104, ptr %37) #0
  br label %463

463:                                              ; preds = %462, %371, %367
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #0
  br label %464

464:                                              ; preds = %463, %363
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #0
  br label %465

465:                                              ; preds = %464, %318
  call void @_ZN3HIR9TraitPathD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %34) #0
  br label %466

466:                                              ; preds = %465, %314
  call void @llvm.lifetime.end.p0(i64 144, ptr %34) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #0
  br label %467

467:                                              ; preds = %466, %310
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #0
  call void @_ZN13Monomorphiser9PopOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #0
  br label %468

468:                                              ; preds = %467, %306
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #0
  br label %469

469:                                              ; preds = %468, %262, %261, %212, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #0
  br label %470

470:                                              ; preds = %469, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #0
  br label %549

471:                                              ; preds = %153
  br label %472

472:                                              ; preds = %471
  store i8 0, ptr %25, align 1, !tbaa !9
  br label %141, !llvm.loop !24

473:                                              ; preds = %144
  br label %547

474:                                              ; preds = %88
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #0
  store i8 1, ptr %47, align 1, !tbaa !9
  br label %475

475:                                              ; preds = %545, %474
  %476 = load i8, ptr %47, align 1, !tbaa !9, !range !11, !noundef !12
  %477 = trunc i8 %476 to i1
  br i1 %477, label %479, label %478

478:                                              ; preds = %475
  store i32 39, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #0
  br label %546

479:                                              ; preds = %475
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #0
  %480 = load ptr, ptr %18, align 8, !tbaa !5
  %481 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR12GenericBound15as_TypeEqualityEv(ptr noundef nonnull align 8 dereferenceable(168) %480)
          to label %482 unwind label %488

482:                                              ; preds = %479
  store ptr %481, ptr %48, align 8, !tbaa !5
  br label %483

483:                                              ; preds = %520, %482
  %484 = load ptr, ptr %48, align 8, !tbaa !5
  %485 = load i8, ptr %47, align 1, !tbaa !9, !range !11, !noundef !12
  %486 = trunc i8 %485 to i1
  br i1 %486, label %492, label %487

487:                                              ; preds = %483
  store i32 42, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #0
  br label %544

488:                                              ; preds = %479
  %489 = landingpad { ptr, i32 }
          cleanup
  %490 = extractvalue { ptr, i32 } %489, 0
  store ptr %490, ptr %19, align 8
  %491 = extractvalue { ptr, i32 } %489, 1
  store i32 %491, ptr %20, align 4
  br label %543

492:                                              ; preds = %483
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #0
  %493 = load ptr, ptr %6, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.Context, ptr %493, i32 0, i32 3
  %495 = load ptr, ptr %7, align 8, !tbaa !5
  %496 = load ptr, ptr %9, align 8, !tbaa !5
  %497 = load ptr, ptr %7, align 8, !tbaa !5
  %498 = load ptr, ptr %48, align 8, !tbaa !5
  %499 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TypeEquality", ptr %498, i32 0, i32 0
  %500 = load ptr, ptr %496, align 8, !tbaa !21
  %501 = getelementptr inbounds ptr, ptr %500, i64 5
  %502 = load ptr, ptr %501, align 8
  invoke void %502(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %50, ptr noundef nonnull align 8 dereferenceable(96) %496, ptr noundef nonnull align 8 dereferenceable(8) %497, ptr noundef nonnull align 8 dereferenceable(8) %499, i1 noundef zeroext true)
          to label %503 unwind label %521

503:                                              ; preds = %492
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %49, ptr noundef nonnull align 8 dereferenceable(280) %494, ptr noundef nonnull align 8 dereferenceable(8) %495, ptr noundef %50)
          to label %504 unwind label %525

504:                                              ; preds = %503
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #0
  %505 = load ptr, ptr %6, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.Context, ptr %505, i32 0, i32 3
  %507 = load ptr, ptr %7, align 8, !tbaa !5
  %508 = load ptr, ptr %9, align 8, !tbaa !5
  %509 = load ptr, ptr %7, align 8, !tbaa !5
  %510 = load ptr, ptr %48, align 8, !tbaa !5
  %511 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TypeEquality", ptr %510, i32 0, i32 1
  %512 = load ptr, ptr %508, align 8, !tbaa !21
  %513 = getelementptr inbounds ptr, ptr %512, i64 5
  %514 = load ptr, ptr %513, align 8
  invoke void %514(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %52, ptr noundef nonnull align 8 dereferenceable(96) %508, ptr noundef nonnull align 8 dereferenceable(8) %509, ptr noundef nonnull align 8 dereferenceable(8) %511, i1 noundef zeroext true)
          to label %515 unwind label %529

515:                                              ; preds = %504
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %51, ptr noundef nonnull align 8 dereferenceable(280) %506, ptr noundef nonnull align 8 dereferenceable(8) %507, ptr noundef %52)
          to label %516 unwind label %533

516:                                              ; preds = %515
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #0
  %517 = load ptr, ptr %6, align 8, !tbaa !5
  %518 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592) %517, ptr noundef nonnull align 8 dereferenceable(8) %518, ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %519 unwind label %537

519:                                              ; preds = %516
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #0
  br label %520

520:                                              ; preds = %519
  store i8 0, ptr %47, align 1, !tbaa !9
  br label %483, !llvm.loop !25

521:                                              ; preds = %492
  %522 = landingpad { ptr, i32 }
          cleanup
  %523 = extractvalue { ptr, i32 } %522, 0
  store ptr %523, ptr %19, align 8
  %524 = extractvalue { ptr, i32 } %522, 1
  store i32 %524, ptr %20, align 4
  br label %542

525:                                              ; preds = %503
  %526 = landingpad { ptr, i32 }
          cleanup
  %527 = extractvalue { ptr, i32 } %526, 0
  store ptr %527, ptr %19, align 8
  %528 = extractvalue { ptr, i32 } %526, 1
  store i32 %528, ptr %20, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %50) #0
  br label %542

529:                                              ; preds = %504
  %530 = landingpad { ptr, i32 }
          cleanup
  %531 = extractvalue { ptr, i32 } %530, 0
  store ptr %531, ptr %19, align 8
  %532 = extractvalue { ptr, i32 } %530, 1
  store i32 %532, ptr %20, align 4
  br label %541

533:                                              ; preds = %515
  %534 = landingpad { ptr, i32 }
          cleanup
  %535 = extractvalue { ptr, i32 } %534, 0
  store ptr %535, ptr %19, align 8
  %536 = extractvalue { ptr, i32 } %534, 1
  store i32 %536, ptr %20, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %52) #0
  br label %541

537:                                              ; preds = %516
  %538 = landingpad { ptr, i32 }
          cleanup
  %539 = extractvalue { ptr, i32 } %538, 0
  store ptr %539, ptr %19, align 8
  %540 = extractvalue { ptr, i32 } %538, 1
  store i32 %540, ptr %20, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #0
  br label %541

541:                                              ; preds = %537, %533, %529
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %49) #0
  br label %542

542:                                              ; preds = %541, %525, %521
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #0
  br label %543

543:                                              ; preds = %542, %488
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #0
  br label %549

544:                                              ; preds = %487
  br label %545

545:                                              ; preds = %544
  store i8 0, ptr %47, align 1, !tbaa !9
  br label %475, !llvm.loop !26

546:                                              ; preds = %478
  br label %547

547:                                              ; preds = %546, %473, %139, %116, %88
  br label %548

548:                                              ; preds = %547
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %81, !llvm.loop !27

549:                                              ; preds = %543, %470, %131, %108, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #0
  br label %623

550:                                              ; preds = %84
  br label %551

551:                                              ; preds = %550
  store i8 0, ptr %17, align 1, !tbaa !9
  br label %75, !llvm.loop !28

552:                                              ; preds = %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #0
  br label %553

553:                                              ; preds = %552
  %554 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #0
  br label %70

555:                                              ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #0
  store i64 0, ptr %53, align 8, !tbaa !29
  br label %556

556:                                              ; preds = %619, %555
  %557 = load i64, ptr %53, align 8, !tbaa !29
  %558 = load ptr, ptr %8, align 8, !tbaa !5
  %559 = getelementptr inbounds %"class.HIR::GenericParams", ptr %558, i32 0, i32 0
  %560 = call noundef i64 @_ZNKSt6vectorIN3HIR12TypeParamDefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %559) #0
  %561 = icmp ult i64 %557, %560
  br i1 %561, label %563, label %562

562:                                              ; preds = %556
  store i32 45, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #0
  br label %622

563:                                              ; preds = %556
  %564 = load ptr, ptr %8, align 8, !tbaa !5
  %565 = getelementptr inbounds %"class.HIR::GenericParams", ptr %564, i32 0, i32 0
  %566 = load i64, ptr %53, align 8, !tbaa !29
  %567 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt6vectorIN3HIR12TypeParamDefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %565, i64 noundef %566) #0
  %568 = getelementptr inbounds %"struct.HIR::TypeParamDef", ptr %567, i32 0, i32 2
  %569 = load i8, ptr %568, align 8, !tbaa !31, !range !11, !noundef !12
  %570 = trunc i8 %569 to i1
  br i1 %570, label %571, label %618

571:                                              ; preds = %563
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #0
  invoke void @_ZN8RcStringC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %55, ptr noundef @.str.12)
          to label %572 unwind label %595

572:                                              ; preds = %571
  %573 = load i8, ptr %10, align 1, !tbaa !9, !range !11, !noundef !12
  %574 = trunc i8 %573 to i1
  %575 = zext i1 %574 to i64
  %576 = select i1 %574, i32 0, i32 256
  %577 = sext i32 %576 to i64
  %578 = load i64, ptr %53, align 8, !tbaa !29
  %579 = add i64 %577, %578
  %580 = trunc i64 %579 to i32
  invoke void @_ZN3HIR7TypeRefC2E8RcStringj(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef %55, i32 noundef %580)
          to label %581 unwind label %599

581:                                              ; preds = %572
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %55) #0
  %582 = load ptr, ptr %6, align 8, !tbaa !5
  %583 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #0
  %584 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #0
  invoke void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %585 unwind label %603

585:                                              ; preds = %581
  %586 = invoke noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %54)
          to label %587 unwind label %607

587:                                              ; preds = %585
  %588 = invoke noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %586)
          to label %589 unwind label %607

589:                                              ; preds = %587
  %590 = load ptr, ptr %584, align 8, !tbaa !21
  %591 = getelementptr inbounds ptr, ptr %590, i64 2
  %592 = load ptr, ptr %591, align 8
  invoke void %592(ptr dead_on_unwind writable sret(%"class.HIR::TypeRef") align 8 %56, ptr noundef nonnull align 8 dereferenceable(96) %584, ptr noundef nonnull align 8 dereferenceable(8) %57, ptr noundef nonnull align 8 dereferenceable(12) %588)
          to label %593 unwind label %607

593:                                              ; preds = %589
  invoke void @_ZN7Context13require_sizedERK4SpanRKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592) %582, ptr noundef nonnull align 8 dereferenceable(8) %583, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %594 unwind label %611

594:                                              ; preds = %593
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %56) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #0
  br label %618

595:                                              ; preds = %571
  %596 = landingpad { ptr, i32 }
          cleanup
  %597 = extractvalue { ptr, i32 } %596, 0
  store ptr %597, ptr %19, align 8
  %598 = extractvalue { ptr, i32 } %596, 1
  store i32 %598, ptr %20, align 4
  br label %617

599:                                              ; preds = %572
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %19, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %20, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %55) #0
  br label %617

603:                                              ; preds = %581
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %19, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %20, align 4
  br label %616

607:                                              ; preds = %589, %587, %585
  %608 = landingpad { ptr, i32 }
          cleanup
  %609 = extractvalue { ptr, i32 } %608, 0
  store ptr %609, ptr %19, align 8
  %610 = extractvalue { ptr, i32 } %608, 1
  store i32 %610, ptr %20, align 4
  br label %615

611:                                              ; preds = %593
  %612 = landingpad { ptr, i32 }
          cleanup
  %613 = extractvalue { ptr, i32 } %612, 0
  store ptr %613, ptr %19, align 8
  %614 = extractvalue { ptr, i32 } %612, 1
  store i32 %614, ptr %20, align 4
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %56) #0
  br label %615

615:                                              ; preds = %611, %607
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %57) #0
  br label %616

616:                                              ; preds = %615, %603
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #0
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %54) #0
  br label %617

617:                                              ; preds = %616, %599, %595
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #0
  br label %623

618:                                              ; preds = %594, %563
  br label %619

619:                                              ; preds = %618
  %620 = load i64, ptr %53, align 8, !tbaa !29
  %621 = add i64 %620, 1
  store i64 %621, ptr %53, align 8, !tbaa !29
  br label %556, !llvm.loop !35

622:                                              ; preds = %562
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #0
  ret void

623:                                              ; preds = %617, %549
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #0
  br label %624

624:                                              ; preds = %623
  %625 = load ptr, ptr %19, align 8
  %626 = load i32, ptr %20, align 4
  %627 = insertvalue { ptr, i32 } poison, ptr %625, 0
  %628 = insertvalue { ptr, i32 } %627, i32 %626, 1
  resume { ptr, i32 } %628

629:                                              ; preds = %252
  unreachable
}

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #4

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #0

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

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

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #0

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(144)) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96)) #6 align 2

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13Monomorphiser8push_hrbERKN3HIR13GenericParamsE(ptr dead_on_unwind noalias writable sret(%"class.Monomorphiser::PopOnDrop") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) #6 align 2

declare void @_ZNK13Monomorphiser19monomorph_traitpathERK4SpanRKN3HIR9TraitPathEbb(ptr dead_on_unwind writable sret(%"class.HIR::TraitPath") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext, i1 noundef zeroext) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR13GenericParams17make_empty_paramsEb(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(96), i1 noundef zeroext) #6 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17MonomorphHrlsOnlyC2ERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 align 2

declare void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) #4

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

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

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

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

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

declare void @_ZN7Context18equate_types_assocERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsES6_PKcb(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i1 noundef zeroext) #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #6 align 2

declare void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), 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(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRefC2E8RcStringj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef) unnamed_addr #5 align 2

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

declare void @_ZN7Context13require_sizedERK4SpanRKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

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

attributes #0 = { nounwind }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #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 = !{!"branch_weights", i32 1, i32 1048575}
!19 = !{!20, !20, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = distinct !{!23, !14}
!24 = distinct !{!24, !14}
!25 = distinct !{!25, !14}
!26 = distinct !{!26, !14}
!27 = distinct !{!27, !14}
!28 = distinct !{!28, !14}
!29 = !{!30, !30, i64 0}
!30 = !{!"long", !7, i64 0}
!31 = !{!32, !10, i64 16}
!32 = !{!"_ZTSN3HIR12TypeParamDefE", !33, i64 0, !34, i64 8, !10, i64 16}
!33 = !{!"_ZTS8RcString", !6, i64 0}
!34 = !{!"_ZTSN3HIR7TypeRefE", !6, i64 0}
!35 = distinct !{!35, !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::GenericParams" = type { %"class.std::vector", %"class.std::vector.0", %"class.std::vector.5", %"class.std::vector.10" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = 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.5" = type { %"struct.std::_Vector_base.6" }
%"struct.std::_Vector_base.6" = 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.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = 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.TraceLog = type { ptr, %"class.std::function" }
%"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.__gnu_cxx::__normal_iterator" = type { ptr }
%"struct.HIR::GenericParams::PrintArgs" = type { ptr }
%struct.Span = type { ptr }
%class.anon = type { ptr, ptr }
%"class.Monomorphiser::PopOnDrop" = type { ptr }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::TraitPath" = type { %"class.std::unique_ptr", %"class.HIR::GenericPath", %"class.std::map", %"class.std::map.23", ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.19" }
%"struct.std::_Head_base.19" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector.17 }
%class.ThinVector.17 = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector, %class.ThinVector.15, %class.ThinVector.16 }
%class.ThinVector = type { ptr }
%class.ThinVector.15 = type { ptr }
%class.ThinVector.16 = type { ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyEqual>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyEqual>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::map.23" = type { %"class.std::_Rb_tree.24" }
%"class.std::_Rb_tree.24" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitPath::AtyBound>, std::_Select1st<std::pair<const RcString, HIR::TraitPath::AtyBound>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%struct.MonomorphHrlsOnly = type { %class.Monomorphiser, ptr }
%class.Monomorphiser = type { ptr, ptr, %"class.HIR::ItemPath", %"class.std::vector.122" }
%"class.HIR::ItemPath" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"class.std::vector.122" = type { %"struct.std::_Vector_base.123" }
%"struct.std::_Vector_base.123" = 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 }
%"struct.std::_Rb_tree_iterator" = type { ptr }
%class.RcString = type { ptr }

@__dso_handle = external hidden global i8
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [3 x i8], align 1
@__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb = external hidden unnamed_addr constant [22 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [87 x i8], align 1
@__PRETTY_FUNCTION__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb = external hidden unnamed_addr constant [122 x i8], align 1
@_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb = external hidden global %"class.HIR::GenericParams", align 8
@_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb = external hidden global i64, align 8
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #0

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

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

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

; 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 #3 align 2

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

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

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

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

; 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 #6 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)) #5

; 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 #6 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)) #5

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(96) %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i1 noundef zeroext %4) local_unnamed_addr #6 personality ptr @__gxx_personality_v0 {
.split298:
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  %9 = alloca %struct.Span, align 8
  %10 = alloca %"class.std::function", align 8
  %11 = alloca %class.anon, align 8
  %12 = alloca %"class.Monomorphiser::PopOnDrop", align 8
  %13 = alloca %"class.HIR::TypeRef", align 8
  %14 = alloca %"class.HIR::TraitPath", align 8
  %15 = alloca %"struct.HIR::PathParams", align 8
  %16 = alloca %"struct.HIR::GenericParams::PrintArgs", align 8
  %17 = alloca %struct.MonomorphHrlsOnly, align 8
  %18 = alloca %"struct.HIR::PathParams", align 8
  %19 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %20 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %21 = alloca %"class.HIR::TypeRef", align 8
  %22 = alloca %"struct.HIR::PathParams", align 8
  %23 = alloca %"class.HIR::TypeRef", align 8
  %24 = alloca %"class.HIR::TypeRef", align 8
  %25 = alloca %"class.HIR::TypeRef", align 8
  %26 = alloca %"class.HIR::TypeRef", align 8
  %27 = alloca %"class.HIR::TypeRef", align 8
  %28 = alloca %class.RcString, align 8
  %29 = alloca %"class.HIR::TypeRef", align 8
  %30 = alloca %struct.Span, align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #9
  %31 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %32 = select i1 %31, ptr @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %32)
  %33 = getelementptr inbounds i8, ptr %2, i64 72
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %34 = call ptr @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  store ptr %34, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #9
  %35 = call ptr @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #9
  store ptr %35, ptr %7, align 8
  %36 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br i1 %36, label %.split296.lr.ph, label %._crit_edge299

.split296.lr.ph:                                  ; preds = %.split298
  %37 = getelementptr inbounds i8, ptr %0, i64 88
  %38 = getelementptr inbounds i8, ptr %14, i64 8
  %39 = getelementptr inbounds i8, ptr %14, i64 16
  %40 = getelementptr inbounds i8, ptr %14, i64 40
  br label %.lr.ph

._crit_edge299:                                   ; preds = %.loopexit145, %.split298
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  %41 = call noundef i64 @_ZNKSt6vectorIN3HIR12TypeParamDefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %.not304 = icmp eq i64 %41, 0
  br i1 %.not304, label %._crit_edge303, label %.lr.ph302

.lr.ph302:                                        ; preds = %._crit_edge299
  %42 = select i1 %4, i64 0, i64 256
  br label %245

.loopexit145:                                     ; preds = %.preheader138, %.preheader, %.lr.ph, %..loopexit136_crit_edge, %..loopexit134_crit_edge
  %43 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESD_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #9
  br i1 %44, label %.lr.ph, label %._crit_edge299

.lr.ph:                                           ; preds = %.loopexit145, %.split296.lr.ph
  %45 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  %46 = call noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %45)
  switch i32 %46, label %.loopexit145 [
    i32 0, label %54
    i32 1, label %.preheader
    i32 2, label %.preheader138
    i32 3, label %.lr.ph241
    i32 4, label %.preheader142
  ]

.preheader142:                                    ; preds = %.lr.ph
  %47 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3HIR12GenericBound15as_TypeEqualityEv(ptr noundef nonnull align 8 dereferenceable(168) %45)
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #9
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %49, i64 40
  %51 = load ptr, ptr %50, align 8
  invoke void %51(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %24, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %47, i1 noundef zeroext true)
          to label %230 unwind label %.split.split

.preheader138:                                    ; preds = %.lr.ph
  %52 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR12GenericBound15as_TypeLifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %45)
  br label %.loopexit145

.preheader:                                       ; preds = %.lr.ph
  %53 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNK3HIR12GenericBound11as_LifetimeEv(ptr noundef nonnull align 8 dereferenceable(168) %45)
  br label %.loopexit145

54:                                               ; preds = %.lr.ph
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, i32 noundef 146, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb) #10
  unreachable

.lr.ph241:                                        ; preds = %.lr.ph
  %55 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZNK3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %45)
  %56 = getelementptr inbounds i8, ptr %55, i64 8
  %57 = getelementptr inbounds i8, ptr %55, i64 16
  %58 = getelementptr inbounds i8, ptr %55, i64 56
  %59 = load atomic i8, ptr @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb acquire, align 8
  %60 = icmp eq i8 %59, 0
  br i1 %60, label %61, label %65, !prof !8

61:                                               ; preds = %.lr.ph241
  %62 = call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #9
  %.not = icmp eq i32 %62, 0
  br i1 %.not, label %65, label %63

63:                                               ; preds = %61
  call void @_ZN3HIR13GenericParamsC2Ev(ptr noundef nonnull align 8 dereferenceable(96) @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #9
  %64 = call i32 @__cxa_atexit(ptr nonnull @_ZN3HIR13GenericParamsD2Ev, ptr nonnull @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, ptr nonnull @__dso_handle) #9
  call void @__cxa_guard_release(ptr nonnull @_ZGVZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb) #9
  br label %65

65:                                               ; preds = %63, %61, %.lr.ph241
  %66 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #9
  br i1 %66, label %67, label %69

67:                                               ; preds = %65
  %68 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #9
  br label %69

69:                                               ; preds = %65, %67
  %70 = phi ptr [ %68, %67 ], [ @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, %65 ]
  %71 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %72 unwind label %.loopexit135

72:                                               ; preds = %69
  br i1 %71, label %73, label %97

73:                                               ; preds = %72
  %74 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %74, ptr noundef nonnull @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %76 unwind label %.loopexit135

76:                                               ; preds = %73
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull @.str.4)
          to label %78 unwind label %.loopexit135

78:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  %79 = invoke ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %70)
          to label %80 unwind label %95

80:                                               ; preds = %78
  store ptr %79, ptr %8, align 8
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %82 unwind label %95

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.5)
          to label %84 unwind label %95

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %56)
          to label %86 unwind label %95

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull @.str.6)
          to label %88 unwind label %95

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 8 dereferenceable(144) %57)
          to label %90 unwind label %95

90:                                               ; preds = %88
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %92 unwind label %95

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

94:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %97

.loopexit135:                                     ; preds = %69, %73, %76
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %244

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

95:                                               ; preds = %92, %90, %88, %86, %84, %82, %80, %78
  %96 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  br label %244

97:                                               ; preds = %72, %94
  %98 = call noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %70)
  %99 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #9
  br i1 %99, label %100, label %102

100:                                              ; preds = %97
  %101 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %57) #9
  br label %102

102:                                              ; preds = %97, %100
  %103 = phi ptr [ %101, %100 ], [ @_ZZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE10empty_hrtb, %97 ]
  %104 = call noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %103)
  %.demorgan = or i1 %98, %104
  br i1 %.demorgan, label %118, label %105

105:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %106 unwind label %111

106:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  store ptr %70, ptr %11, align 8, !tbaa !12
  %107 = getelementptr inbounds i8, ptr %11, i64 8
  store ptr %55, ptr %107, align 8, !tbaa !12
  call void @"_ZNSt8functionIFvRSoEEC2IZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13MonomorphiserbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(16) %11) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull %10)
          to label %108 unwind label %113

108:                                              ; preds = %106
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  %109 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %109, ptr noundef nonnull @.str.7)
          to label %110 unwind label %116

110:                                              ; preds = %108
  invoke void @__cxa_throw(ptr nonnull %109, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #11
          to label %277 unwind label %.loopexit.split-lp

111:                                              ; preds = %105
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %115

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

115:                                              ; preds = %113, %111
  %.pn117 = phi { ptr, i32 } [ %114, %113 ], [ %112, %111 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  br label %244

116:                                              ; preds = %108
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %109) #9
  br label %244

118:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  invoke void @_ZNK13Monomorphiser8push_hrbERKN3HIR13GenericParamsE(ptr dead_on_unwind nonnull writable sret(%"class.Monomorphiser::PopOnDrop") align 8 %12, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(96) %70)
          to label %119 unwind label %144

119:                                              ; preds = %118
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %120 = load ptr, ptr %3, align 8, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %120, i64 40
  %122 = load ptr, ptr %121, align 8
  invoke void %122(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %13, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %56, i1 noundef zeroext true)
          to label %123 unwind label %146

123:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %14) #9
  invoke void @_ZNK13Monomorphiser19monomorph_traitpathERK4SpanRKN3HIR9TraitPathEbb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TraitPath") align 8 %14, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(144) %57, i1 noundef zeroext false, i1 noundef zeroext false)
          to label %124 unwind label %148

124:                                              ; preds = %123
  %125 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %126 unwind label %150

126:                                              ; preds = %124
  br i1 %125, label %127, label %152

127:                                              ; preds = %126
  %128 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %128, ptr noundef nonnull @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %130 unwind label %150

130:                                              ; preds = %127
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @.str.8)
          to label %132 unwind label %150

132:                                              ; preds = %130
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %134 unwind label %150

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull @.str.1)
          to label %136 unwind label %150

136:                                              ; preds = %134
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull align 8 dereferenceable(144) %14)
          to label %138 unwind label %150

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @.str.9)
          to label %140 unwind label %150

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %142 unwind label %150

142:                                              ; preds = %140
  %143 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %152 unwind label %150

144:                                              ; preds = %118
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %229

146:                                              ; preds = %119
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %228

148:                                              ; preds = %123
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %227

150:                                              ; preds = %142, %140, %138, %136, %134, %132, %130, %127, %124
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %226

152:                                              ; preds = %142, %126
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #9
  %153 = call noundef zeroext i1 @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br i1 %153, label %154, label %.invoke

154:                                              ; preds = %152
  %155 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  %156 = call noundef zeroext i1 @_ZNK3HIR13GenericParams8is_emptyEv(ptr noundef nonnull align 8 dereferenceable(96) %155)
  br i1 %156, label %.invoke, label %157

157:                                              ; preds = %154
  %158 = call noundef ptr @_ZNKSt10unique_ptrIN3HIR13GenericParamsESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  br label %.invoke

.invoke:                                          ; preds = %152, %154, %157
  %159 = phi ptr [ %158, %157 ], [ %70, %154 ], [ %70, %152 ]
  invoke void @_ZNK3HIR13GenericParams17make_empty_paramsEb(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %15, ptr noundef nonnull align 8 dereferenceable(96) %159, i1 noundef zeroext true)
          to label %160 unwind label %181

160:                                              ; preds = %.invoke
  %161 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %162 unwind label %183

162:                                              ; preds = %160
  br i1 %161, label %163, label %187

163:                                              ; preds = %162
  %164 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %164, ptr noundef nonnull @__func__._ZN9typecheck21apply_bounds_as_rulesER7ContextRK4SpanRKN3HIR13GenericParamsERK13Monomorphiserb)
          to label %166 unwind label %183

166:                                              ; preds = %163
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull @.str.10)
          to label %168 unwind label %183

168:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %169 = invoke ptr @_ZNK3HIR13GenericParams8fmt_argsEv(ptr noundef nonnull align 8 dereferenceable(96) %70)
          to label %170 unwind label %185

170:                                              ; preds = %168
  store ptr %169, ptr %16, align 8
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %172 unwind label %185

172:                                              ; preds = %170
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull @.str.11)
          to label %174 unwind label %185

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %176 unwind label %185

176:                                              ; preds = %174
  %177 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %175, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %178 unwind label %185

178:                                              ; preds = %176
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %177, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %180 unwind label %185

180:                                              ; preds = %178
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %187

181:                                              ; preds = %.invoke
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %225

183:                                              ; preds = %166, %163, %160
  %184 = landingpad { ptr, i32 }
          cleanup
  br label %224

185:                                              ; preds = %178, %176, %174, %172, %170, %168
  %186 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %224

187:                                              ; preds = %180, %162
  call void @llvm.lifetime.start.p0(i64 104, ptr nonnull %17) #9
  invoke void @_ZN17MonomorphHrlsOnlyC2ERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(104) %17, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %188 unwind label %194

188:                                              ; preds = %187
  %189 = call noundef i64 @_ZNKSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(48) %58) #9
  %190 = icmp eq i64 %189, 0
  br i1 %190, label %191, label %200

191:                                              ; preds = %188
  invoke void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %18, ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %39, i1 noundef zeroext true)
          to label %192 unwind label %196

192:                                              ; preds = %191
  invoke void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull %18)
          to label %193 unwind label %198

193:                                              ; preds = %192
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  br label %200

194:                                              ; preds = %187
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %223

196:                                              ; preds = %191
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %222

198:                                              ; preds = %192
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #9
  br label %222

200:                                              ; preds = %193, %188
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #9
  %201 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %40) #9
  store ptr %201, ptr %19, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #9
  %202 = call ptr @_ZNSt3mapI8RcStringN3HIR9TraitPath8AtyEqualESt4lessIS0_ESaISt4pairIKS0_S3_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %40) #9
  store ptr %202, ptr %20, align 8
  %203 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br i1 %203, label %.lr.ph239, label %..loopexit134_crit_edge

..loopexit134_crit_edge:                          ; preds = %211, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %17) #9
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %17) #9
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  call void @_ZN3HIR9TraitPathD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #9
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %14) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN13Monomorphiser9PopOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %.loopexit145

.lr.ph239:                                        ; preds = %200, %211
  %204 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #9
  %205 = getelementptr inbounds i8, ptr %204, i64 8
  %206 = getelementptr inbounds i8, ptr %204, i64 40
  invoke void @_ZNK13Monomorphiser14monomorph_typeERK4SpanRKN3HIR7TypeRefEb(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %21, ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %206, i1 noundef zeroext true)
          to label %207 unwind label %214

207:                                              ; preds = %.lr.ph239
  %208 = getelementptr inbounds i8, ptr %204, i64 16
  invoke void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind nonnull writable sret(%"struct.HIR::PathParams") align 8 %22, ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %208, i1 noundef zeroext true)
          to label %209 unwind label %216

209:                                              ; preds = %207
  %210 = call noundef ptr @_ZNK8RcString5c_strEv(ptr noundef nonnull align 8 dereferenceable(8) %204)
  invoke void @_ZN7Context18equate_types_assocERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsES6_PKcb(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef nonnull %22, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef %210, i1 noundef zeroext false)
          to label %211 unwind label %218

211:                                              ; preds = %209
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  %212 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #9
  %213 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIK8RcStringN3HIR9TraitPath8AtyEqualEEES9_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %20) #9
  br i1 %213, label %.lr.ph239, label %..loopexit134_crit_edge

214:                                              ; preds = %.lr.ph239
  %215 = landingpad { ptr, i32 }
          cleanup
  br label %221

216:                                              ; preds = %207
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %220

218:                                              ; preds = %209
  %219 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #9
  br label %220

220:                                              ; preds = %218, %216
  %.pn119 = phi { ptr, i32 } [ %219, %218 ], [ %217, %216 ]
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #9
  br label %221

221:                                              ; preds = %220, %214
  %.pn119.pn = phi { ptr, i32 } [ %.pn119, %220 ], [ %215, %214 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #9
  br label %222

222:                                              ; preds = %221, %198, %196
  %.pn119.pn.pn = phi { ptr, i32 } [ %.pn119.pn, %221 ], [ %199, %198 ], [ %197, %196 ]
  call void @_ZN13MonomorphiserD2Ev(ptr noundef nonnull align 8 dereferenceable(104) %17) #9
  br label %223

223:                                              ; preds = %222, %194
  %.pn119.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn, %222 ], [ %195, %194 ]
  call void @llvm.lifetime.end.p0(i64 104, ptr nonnull %17) #9
  br label %224

224:                                              ; preds = %223, %185, %183
  %.pn119.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn, %223 ], [ %186, %185 ], [ %184, %183 ]
  call void @_ZN3HIR10PathParamsD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  br label %225

225:                                              ; preds = %224, %181
  %.pn119.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn.pn, %224 ], [ %182, %181 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  br label %226

226:                                              ; preds = %225, %150
  %.pn119.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn.pn.pn, %225 ], [ %151, %150 ]
  call void @_ZN3HIR9TraitPathD2Ev(ptr noundef nonnull align 8 dereferenceable(144) %14) #9
  br label %227

227:                                              ; preds = %226, %148
  %.pn119.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn.pn.pn.pn, %226 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %14) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #9
  br label %228

228:                                              ; preds = %227, %146
  %.pn119.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn.pn.pn.pn.pn, %227 ], [ %147, %146 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  call void @_ZN13Monomorphiser9PopOnDropD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  br label %229

229:                                              ; preds = %228, %144
  %.pn119.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn119.pn.pn.pn.pn.pn.pn.pn.pn, %228 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  br label %244

230:                                              ; preds = %.preheader142
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %23, ptr noundef nonnull align 8 dereferenceable(280) %37, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull %24)
          to label %231 unwind label %.split177.split

231:                                              ; preds = %230
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #9
  %232 = load ptr, ptr %3, align 8, !tbaa !5
  %233 = getelementptr inbounds i8, ptr %232, i64 40
  %234 = load ptr, ptr %233, align 8
  invoke void %234(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %26, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %48, i1 noundef zeroext true)
          to label %235 unwind label %.split180.split

235:                                              ; preds = %231
  invoke void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %25, ptr noundef nonnull align 8 dereferenceable(280) %37, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull %26)
          to label %236 unwind label %.split183.split

236:                                              ; preds = %235
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  invoke void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %..loopexit136_crit_edge unwind label %.split186.split

..loopexit136_crit_edge:                          ; preds = %236
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %.loopexit145

.split.split:                                     ; preds = %.preheader142
  %237 = landingpad { ptr, i32 }
          cleanup
  br label %243

.split177.split:                                  ; preds = %230
  %238 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #9
  br label %243

.split180.split:                                  ; preds = %231
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %242

.split183.split:                                  ; preds = %235
  %240 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br label %242

.split186.split:                                  ; preds = %236
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #9
  br label %242

242:                                              ; preds = %.split186.split, %.split183.split, %.split180.split
  %.pn114 = phi { ptr, i32 } [ %241, %.split186.split ], [ %240, %.split183.split ], [ %239, %.split180.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #9
  br label %243

243:                                              ; preds = %242, %.split177.split, %.split.split
  %.pn114.pn = phi { ptr, i32 } [ %.pn114, %242 ], [ %238, %.split177.split ], [ %237, %.split.split ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #9
  br label %244

244:                                              ; preds = %.loopexit135, %.loopexit.split-lp, %95, %115, %116, %229, %243
  %.pn114.pn.pn = phi { ptr, i32 } [ %.pn114.pn, %243 ], [ %.pn119.pn.pn.pn.pn.pn.pn.pn.pn.pn, %229 ], [ %117, %116 ], [ %.pn117, %115 ], [ %96, %95 ], [ %lpad.loopexit, %.loopexit135 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %276

._crit_edge303:                                   ; preds = %272, %._crit_edge299
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  ret void

245:                                              ; preds = %.lr.ph302, %272
  %.0300 = phi i64 [ 0, %.lr.ph302 ], [ %273, %272 ]
  %246 = call noundef nonnull align 8 dereferenceable(17) ptr @_ZNKSt6vectorIN3HIR12TypeParamDefESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %2, i64 noundef %.0300) #9
  %247 = getelementptr inbounds i8, ptr %246, i64 16
  %248 = load i8, ptr %247, align 8, !tbaa !14, !range !19, !noundef !20
  %249 = trunc nuw i8 %248 to i1
  br i1 %249, label %250, label %272

250:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #9
  invoke void @_ZN8RcStringC2EPKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull @.str.12)
          to label %251 unwind label %262

251:                                              ; preds = %250
  %252 = add i64 %.0300, %42
  %253 = trunc i64 %252 to i32
  invoke void @_ZN3HIR7TypeRefC2E8RcStringj(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull %28, i32 noundef %253)
          to label %254 unwind label %264

254:                                              ; preds = %251
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #9
  call void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30)
  %255 = call noundef nonnull align 8 dereferenceable(184) ptr @_ZNK3HIR7TypeRef4dataEv(ptr noundef nonnull align 8 dereferenceable(8) %27)
  %256 = call noundef nonnull align 8 dereferenceable(12) ptr @_ZNK3HIR8TypeData10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(184) %255)
  %257 = load ptr, ptr %3, align 8, !tbaa !5
  %258 = getelementptr inbounds i8, ptr %257, i64 16
  %259 = load ptr, ptr %258, align 8
  invoke void %259(ptr dead_on_unwind nonnull writable sret(%"class.HIR::TypeRef") align 8 %29, ptr noundef nonnull align 8 dereferenceable(96) %3, ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(12) %256)
          to label %260 unwind label %266

260:                                              ; preds = %254
  invoke void @_ZN7Context13require_sizedERK4SpanRKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %29)
          to label %261 unwind label %268

261:                                              ; preds = %260
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br label %272

262:                                              ; preds = %250
  %263 = landingpad { ptr, i32 }
          cleanup
  br label %271

264:                                              ; preds = %251
  %265 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #9
  br label %271

266:                                              ; preds = %254
  %267 = landingpad { ptr, i32 }
          cleanup
  br label %270

268:                                              ; preds = %260
  %269 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #9
  br label %270

270:                                              ; preds = %268, %266
  %.pn = phi { ptr, i32 } [ %269, %268 ], [ %267, %266 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #9
  call void @_ZN3HIR7TypeRefD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #9
  br label %271

271:                                              ; preds = %270, %264, %262
  %.pn.pn = phi { ptr, i32 } [ %.pn, %270 ], [ %265, %264 ], [ %263, %262 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #9
  br label %276

272:                                              ; preds = %245, %261
  %273 = add nuw i64 %.0300, 1
  %274 = call noundef i64 @_ZNKSt6vectorIN3HIR12TypeParamDefESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #9
  %275 = icmp ult i64 %273, %274
  br i1 %275, label %245, label %._crit_edge303, !llvm.loop !21

276:                                              ; preds = %271, %244
  %.pn114.pn.pn.pn = phi { ptr, i32 } [ %.pn114.pn.pn, %244 ], [ %.pn.pn, %271 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  resume { ptr, i32 } %.pn114.pn.pn.pn

277:                                              ; preds = %110
  unreachable
}

declare void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) unnamed_addr #4

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

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

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

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

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

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

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

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

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

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #0

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

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #0

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_9TraitPathE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_13GenericParams9PrintArgsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK13Monomorphiser8push_hrbERKN3HIR13GenericParamsE(ptr dead_on_unwind noalias writable sret(%"class.Monomorphiser::PopOnDrop") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(96)) local_unnamed_addr #6 align 2

declare void @_ZNK13Monomorphiser19monomorph_traitpathERK4SpanRKN3HIR9TraitPathEbb(ptr dead_on_unwind writable sret(%"class.HIR::TraitPath") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(144), i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK3HIR13GenericParams17make_empty_paramsEb(ptr dead_on_unwind noalias writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(96), i1 noundef zeroext) local_unnamed_addr #6 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN17MonomorphHrlsOnlyC2ERKN3HIR10PathParamsE(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7Context15add_trait_boundERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsE(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6 align 2

declare void @_ZNK13Monomorphiser21monomorph_path_paramsERK4SpanRKN3HIR10PathParamsEb(ptr dead_on_unwind writable sret(%"struct.HIR::PathParams") align 8, ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(24), i1 noundef zeroext) local_unnamed_addr #4

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

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

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

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

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

declare void @_ZN7Context18equate_types_assocERK4SpanRKN3HIR7TypeRefERKNS3_10SimplePathENS3_10PathParamsES6_PKcb(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK15TraitResolution23expand_associated_typesERK4SpanN3HIR7TypeRefE(ptr dead_on_unwind noalias writable sret(%"class.HIR::TypeRef") align 8, ptr noundef nonnull align 8 dereferenceable(280), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #6 align 2

declare void @_ZN7Context12equate_typesERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(592), ptr noundef nonnull align 8 dereferenceable(8), 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(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3HIR7TypeRefC2E8RcStringj(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, i32 noundef) unnamed_addr #5 align 2

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

declare void @_ZN7Context13require_sizedERK4SpanRKN3HIR7TypeRefE(ptr noundef nonnull align 8 dereferenceable(592), 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 void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

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

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

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

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

attributes #0 = { nofree nounwind }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!"branch_weights", i32 1, i32 1048575}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !11, i64 0}
!11 = !{!"omnipotent char", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !11, i64 0}
!14 = !{!15, !18, i64 16}
!15 = !{!"_ZTSN3HIR12TypeParamDefE", !16, i64 0, !17, i64 8, !18, i64 16}
!16 = !{!"_ZTS8RcString", !13, i64 0}
!17 = !{!"_ZTSN3HIR7TypeRefE", !13, i64 0}
!18 = !{!"bool", !11, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


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