; LLVM IR from thepowersgang/mrustc :: src/hir/hir_ops.ll (ZNK3HIR9TraitImpl18more_specific_thanERKS0_)

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

%struct.Span = type { 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.anon = type { i8 }
%"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.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.58 = type { ptr, ptr, ptr }
%"class.HIR::TraitImpl" = type { %"class.HIR::GenericParams", %"struct.HIR::PathParams", %"class.HIR::TypeRef", %"class.std::map", %"class.std::map.20", %"class.std::map.25", %"class.std::map.30", %"struct.HIR::SimplePath" }
%"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 }
%"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.HIR::TypeRef" = 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::TraitImpl::ImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Function>>>, 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.20" = type { %"class.std::_Rb_tree.21" }
%"class.std::_Rb_tree.21" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Constant>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.25" = type { %"class.std::_Rb_tree.26" }
%"class.std::_Rb_tree.26" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::Static>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::map.30" = type { %"class.std::_Rb_tree.31" }
%"class.std::_Rb_tree.31" = type { %"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>>, std::less<RcString>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<RcString, std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>, std::_Select1st<std::pair<const RcString, HIR::TraitImpl::ImplEnt<HIR::TypeRef>>>, std::less<RcString>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.HIR::SimplePath" = type { %class.ThinVector.35 }
%class.ThinVector.35 = type { ptr }
%"struct.HIR::GenericBound::Data_TraitBound" = type { %"class.std::unique_ptr", %"class.HIR::TypeRef", %"class.HIR::TraitPath" }
%"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.47" }
%"struct.std::_Head_base.47" = type { ptr }
%"class.HIR::TraitPath" = type { %"class.std::unique_ptr", %"class.HIR::GenericPath", %"class.std::map.48", %"class.std::map.53", ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"class.std::map.48" = type { %"class.std::_Rb_tree.49" }
%"class.std::_Rb_tree.49" = 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" }
%"class.std::map.53" = type { %"class.std::_Rb_tree.54" }
%"class.std::_Rb_tree.54" = 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" }

@__dso_handle = external hidden global i8
@_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp = external hidden global %struct.Span, align 8
@_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp = external hidden global i64, align 8
@__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_ = external hidden unnamed_addr constant [19 x i8], align 1
@_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE = external hidden constant { ptr, ptr }, align 8
@g_debug_indent_level = external global i32, align 4
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 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 [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3HIR9TraitImpl18more_specific_thanERKS0_(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(328) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca %class.TraceLog, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon, align 1
  %16 = alloca %"class.std::vector.10", align 8
  %17 = alloca %"class.std::vector.10", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i8, align 1
  %21 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca i32, align 4
  %29 = alloca ptr, align 8
  %30 = alloca %struct.Span, align 8
  %31 = alloca %"class.std::function", align 8
  %32 = alloca %class.anon.58, align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %34 = load ptr, ptr %4, align 8
  %35 = load atomic i8, ptr @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp acquire, align 8
  %36 = icmp eq i8 %35, 0
  br i1 %36, label %37, label %43, !prof !9

37:                                               ; preds = %2
  %38 = call i32 @__cxa_guard_acquire(ptr @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp) #0
  %39 = icmp ne i32 %38, 0
  br i1 %39, label %40, label %43

40:                                               ; preds = %37
  invoke void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
          to label %41 unwind label %81

41:                                               ; preds = %40
  %42 = call i32 @__cxa_atexit(ptr @_ZN4SpanD1Ev, ptr @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr @__dso_handle) #0
  call void @__cxa_guard_release(ptr @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp) #0
  br label %43

43:                                               ; preds = %41, %37, %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #0
  store ptr @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #0
  %44 = call noundef zeroext i1 @_Z13debug_enabledv()
  %45 = zext i1 %44 to i64
  %46 = select i1 %44, ptr @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #0
  %47 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %34, i32 0, i32 1
  %48 = getelementptr inbounds %"struct.HIR::PathParams", ptr %47, i32 0, i32 1
  %49 = load ptr, ptr %5, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %49, i32 0, i32 1
  %51 = getelementptr inbounds %"struct.HIR::PathParams", ptr %50, i32 0, i32 1
  %52 = invoke noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %53 unwind label %85

53:                                               ; preds = %43
  store i32 %52, ptr %10, align 4, !tbaa !10
  %54 = load i32, ptr %10, align 4, !tbaa !10
  %55 = icmp ne i32 %54, 0
  br i1 %55, label %56, label %106

56:                                               ; preds = %53
  br label %57

57:                                               ; preds = %56
  %58 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %59 unwind label %85

59:                                               ; preds = %57
  br i1 %58, label %60, label %101

60:                                               ; preds = %59
  %61 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %61, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %63 unwind label %85

63:                                               ; preds = %60
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @.str)
          to label %65 unwind label %85

65:                                               ; preds = %63
  %66 = load i32, ptr %10, align 4, !tbaa !10
  %67 = icmp eq i32 %66, -1
  br i1 %67, label %68, label %69

68:                                               ; preds = %65
  br label %70

69:                                               ; preds = %65
  br label %70

70:                                               ; preds = %69, %68
  %71 = phi ptr [ @.str.1, %68 ], [ @.str.2, %69 ]
  %72 = getelementptr inbounds [5 x i8], ptr %71, i64 0, i64 0
  %73 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef %72)
          to label %74 unwind label %85

74:                                               ; preds = %70
  %75 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %73, ptr noundef @.str.3)
          to label %76 unwind label %85

76:                                               ; preds = %74
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef @_ZSt3decRSt8ios_base)
          to label %78 unwind label %85

78:                                               ; preds = %76
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %80 unwind label %85

80:                                               ; preds = %78
  br label %101

81:                                               ; preds = %40
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %6, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %7, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp) #0
  br label %541

85:                                               ; preds = %145, %143, %139, %137, %133, %126, %123, %121, %118, %115, %106, %78, %76, %74, %70, %63, %60, %57, %43
  %86 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %6, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  br label %89

89:                                               ; preds = %85
  %90 = load i32, ptr %7, align 4
  %91 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE) #0
  %92 = icmp eq i32 %90, %91
  br i1 %92, label %93, label %540

93:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #0
  %94 = load ptr, ptr %6, align 8
  %95 = call ptr @__cxa_begin_catch(ptr %94) #0
  store ptr %95, ptr %12, align 8
  br label %96

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #0
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
          to label %97 unwind label %157

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #0
  call void @"_ZNSt8functionIFvRSoEEC2IZNK3HIR9TraitImpl18more_specific_thanERKS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 1 dereferenceable(1) %15) #0
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef %14)
          to label %98 unwind label %161

98:                                               ; preds = %97
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #0
  %99 = call ptr @__cxa_allocate_exception(i64 16) #0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %99, ptr noundef @.str.7)
          to label %100 unwind label %166

100:                                              ; preds = %98
  invoke void @__cxa_throw(ptr %99, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %549 unwind label %170

101:                                              ; preds = %80, %59
  br label %102

102:                                              ; preds = %101
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %10, align 4, !tbaa !10
  %105 = icmp eq i32 %104, 1
  store i1 %105, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %154

106:                                              ; preds = %53
  %107 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %34, i32 0, i32 2
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %108, i32 0, i32 2
  %110 = invoke noundef i32 @_ZN12_GLOBAL__N_117type_ord_specificERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %107, ptr noundef nonnull align 8 dereferenceable(8) %109)
          to label %111 unwind label %85

111:                                              ; preds = %106
  store i32 %110, ptr %10, align 4, !tbaa !10
  %112 = load i32, ptr %10, align 4, !tbaa !10
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %153

114:                                              ; preds = %111
  br label %115

115:                                              ; preds = %114
  %116 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %117 unwind label %85

117:                                              ; preds = %115
  br i1 %116, label %118, label %148

118:                                              ; preds = %117
  %119 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %120 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %119, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %121 unwind label %85

121:                                              ; preds = %118
  %122 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %120, ptr noundef @.str.4)
          to label %123 unwind label %85

123:                                              ; preds = %121
  %124 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %34, i32 0, i32 2
  %125 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull align 8 dereferenceable(8) %124)
          to label %126 unwind label %85

126:                                              ; preds = %123
  %127 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef @.str.5)
          to label %128 unwind label %85

128:                                              ; preds = %126
  %129 = load i32, ptr %10, align 4, !tbaa !10
  %130 = icmp eq i32 %129, -1
  br i1 %130, label %131, label %132

131:                                              ; preds = %128
  br label %133

132:                                              ; preds = %128
  br label %133

133:                                              ; preds = %132, %131
  %134 = phi ptr [ @.str.1, %131 ], [ @.str.2, %132 ]
  %135 = getelementptr inbounds [5 x i8], ptr %134, i64 0, i64 0
  %136 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %127, ptr noundef %135)
          to label %137 unwind label %85

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

139:                                              ; preds = %137
  %140 = load ptr, ptr %5, align 8, !tbaa !5
  %141 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %140, i32 0, i32 2
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 8 dereferenceable(8) %141)
          to label %143 unwind label %85

143:                                              ; preds = %139
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @_ZSt3decRSt8ios_base)
          to label %145 unwind label %85

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %147 unwind label %85

147:                                              ; preds = %145
  br label %148

148:                                              ; preds = %147, %117
  br label %149

149:                                              ; preds = %148
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %10, align 4, !tbaa !10
  %152 = icmp eq i32 %151, 1
  store i1 %152, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %154

153:                                              ; preds = %111
  store i32 0, ptr %11, align 4
  br label %154

154:                                              ; preds = %153, %150, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #0
  %155 = load i32, ptr %11, align 4
  switch i32 %155, label %538 [
    i32 0, label %156
  ]

156:                                              ; preds = %154
  br label %177

157:                                              ; preds = %96
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %6, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %7, align 4
  br label %165

161:                                              ; preds = %97
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %6, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #0
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #0
  br label %165

165:                                              ; preds = %161, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #0
  br label %204

166:                                              ; preds = %98
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %6, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %7, align 4
  call void @__cxa_free_exception(ptr %99) #0
  br label %204

170:                                              ; preds = %100
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %6, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %7, align 4
  br label %204

174:                                              ; No predecessors!
  br label %175

175:                                              ; preds = %174
  invoke void @__cxa_end_catch()
          to label %176 unwind label %200

176:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #0
  br label %177

177:                                              ; preds = %176, %156
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #0
  %178 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %34, i32 0, i32 0
  %179 = getelementptr inbounds %"class.HIR::GenericParams", ptr %178, i32 0, i32 3
  invoke void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector.10") align 8 %16, ptr noundef nonnull align 8 dereferenceable(24) %179)
          to label %180 unwind label %207

180:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 24, ptr %17) #0
  %181 = load ptr, ptr %5, align 8, !tbaa !5
  %182 = getelementptr inbounds %"class.HIR::TraitImpl", ptr %181, i32 0, i32 0
  %183 = getelementptr inbounds %"class.HIR::GenericParams", ptr %182, i32 0, i32 3
  invoke void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind writable sret(%"class.std::vector.10") align 8 %17, ptr noundef nonnull align 8 dereferenceable(24) %183)
          to label %184 unwind label %211

184:                                              ; preds = %180
  br label %185

185:                                              ; preds = %184
  %186 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %187 unwind label %215

187:                                              ; preds = %185
  br i1 %186, label %188, label %219

188:                                              ; preds = %187
  %189 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %190 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %189, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %191 unwind label %215

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.8)
          to label %193 unwind label %215

193:                                              ; preds = %191
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIN3HIR12GenericBoundEERSoS2_RKSt6vectorIT_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %195 unwind label %215

195:                                              ; preds = %193
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef @_ZSt3decRSt8ios_base)
          to label %197 unwind label %215

197:                                              ; preds = %195
  %198 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %196, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %199 unwind label %215

199:                                              ; preds = %197
  br label %219

200:                                              ; preds = %175
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %6, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %7, align 4
  br label %206

204:                                              ; preds = %170, %166, %165
  invoke void @__cxa_end_catch()
          to label %205 unwind label %546

205:                                              ; preds = %204
  br label %206

206:                                              ; preds = %205, %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #0
  br label %540

207:                                              ; preds = %177
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %6, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %7, align 4
  br label %537

211:                                              ; preds = %180
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %6, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %7, align 4
  br label %536

215:                                              ; preds = %254, %252, %250, %247, %244, %234, %232, %230, %228, %225, %222, %197, %195, %193, %191, %188, %185
  %216 = landingpad { ptr, i32 }
          cleanup
  %217 = extractvalue { ptr, i32 } %216, 0
  store ptr %217, ptr %6, align 8
  %218 = extractvalue { ptr, i32 } %216, 1
  store i32 %218, ptr %7, align 4
  br label %535

219:                                              ; preds = %199, %187
  br label %220

220:                                              ; preds = %219
  br label %221

221:                                              ; preds = %220
  br label %222

222:                                              ; preds = %221
  %223 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %224 unwind label %215

224:                                              ; preds = %222
  br i1 %223, label %225, label %237

225:                                              ; preds = %224
  %226 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %227 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %226, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %228 unwind label %215

228:                                              ; preds = %225
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef @.str.9)
          to label %230 unwind label %215

230:                                              ; preds = %228
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIN3HIR12GenericBoundEERSoS2_RKSt6vectorIT_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull align 8 dereferenceable(24) %17)
          to label %232 unwind label %215

232:                                              ; preds = %230
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef @_ZSt3decRSt8ios_base)
          to label %234 unwind label %215

234:                                              ; preds = %232
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %236 unwind label %215

236:                                              ; preds = %234
  br label %237

237:                                              ; preds = %236, %224
  br label %238

238:                                              ; preds = %237
  br label %239

239:                                              ; preds = %238
  %240 = call noundef i64 @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  %241 = call noundef i64 @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #0
  %242 = icmp ult i64 %240, %241
  br i1 %242, label %243, label %260

243:                                              ; preds = %239
  br label %244

244:                                              ; preds = %243
  %245 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %246 unwind label %215

246:                                              ; preds = %244
  br i1 %245, label %247, label %257

247:                                              ; preds = %246
  %248 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %248, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %250 unwind label %215

250:                                              ; preds = %247
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %249, ptr noundef @.str.10)
          to label %252 unwind label %215

252:                                              ; preds = %250
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef @_ZSt3decRSt8ios_base)
          to label %254 unwind label %215

254:                                              ; preds = %252
  %255 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %256 unwind label %215

256:                                              ; preds = %254
  br label %257

257:                                              ; preds = %256, %246
  br label %258

258:                                              ; preds = %257
  br label %259

259:                                              ; preds = %258
  store i1 false, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %534

260:                                              ; preds = %239
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #0
  %261 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  %262 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %261, ptr %262, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #0
  %263 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #0
  %264 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %263, ptr %264, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #0
  store i8 1, ptr %20, align 1, !tbaa !14
  br label %265

265:                                              ; preds = %482, %480, %260
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #0
  %266 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  %267 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %21, i32 0, i32 0
  store ptr %266, ptr %267, align 8
  %268 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %21) #0
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #0
  br i1 %268, label %269, label %273

269:                                              ; preds = %265
  %270 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %17) #0
  %271 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %22, i32 0, i32 0
  store ptr %270, ptr %271, align 8
  %272 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull align 8 dereferenceable(8) %22) #0
  br label %273

273:                                              ; preds = %269, %265
  %274 = phi i1 [ false, %265 ], [ %272, %269 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #0
  br i1 %274, label %275, label %484

275:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #0
  %276 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %277 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #0
  %278 = invoke noundef i32 @_Z3ordIN3HIR12GenericBoundEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(168) %276, ptr noundef nonnull align 8 dereferenceable(168) %277)
          to label %279 unwind label %285

279:                                              ; preds = %275
  store i32 %278, ptr %23, align 4, !tbaa !10
  %280 = load i32, ptr %23, align 4, !tbaa !10
  %281 = icmp eq i32 %280, 0
  br i1 %281, label %282, label %289

282:                                              ; preds = %279
  %283 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %284 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #0
  store i32 14, ptr %11, align 4
  br label %480, !llvm.loop !16

285:                                              ; preds = %473, %471, %468, %466, %463, %461, %458, %455, %452, %297, %292, %289, %275
  %286 = landingpad { ptr, i32 }
          cleanup
  %287 = extractvalue { ptr, i32 } %286, 0
  store ptr %287, ptr %6, align 8
  %288 = extractvalue { ptr, i32 } %286, 1
  store i32 %288, ptr %7, align 4
  br label %483

289:                                              ; preds = %279
  %290 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %291 = invoke noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %290)
          to label %292 unwind label %285

292:                                              ; preds = %289
  %293 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #0
  %294 = invoke noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %293)
          to label %295 unwind label %285

295:                                              ; preds = %292
  %296 = icmp eq i32 %291, %294
  br i1 %296, label %297, label %446

297:                                              ; preds = %295
  %298 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %299 = invoke noundef zeroext i1 @_ZNK3HIR12GenericBound13is_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %298)
          to label %300 unwind label %285

300:                                              ; preds = %297
  br i1 %299, label %301, label %446

301:                                              ; preds = %300
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #0
  %302 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %303 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %302)
          to label %304 unwind label %340

304:                                              ; preds = %301
  store ptr %303, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #0
  %305 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #0
  %306 = invoke noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %305)
          to label %307 unwind label %344

307:                                              ; preds = %304
  store ptr %306, ptr %25, align 8, !tbaa !5
  %308 = load ptr, ptr %24, align 8, !tbaa !5
  %309 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %308, i32 0, i32 1
  %310 = load ptr, ptr %25, align 8, !tbaa !5
  %311 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %310, i32 0, i32 1
  %312 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %309, ptr noundef nonnull align 8 dereferenceable(8) %311)
          to label %313 unwind label %344

313:                                              ; preds = %307
  br i1 %312, label %314, label %440

314:                                              ; preds = %313
  %315 = load ptr, ptr %24, align 8, !tbaa !5
  %316 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %315, i32 0, i32 2
  %317 = getelementptr inbounds %"class.HIR::TraitPath", ptr %316, i32 0, i32 1
  %318 = getelementptr inbounds %"class.HIR::GenericPath", ptr %317, i32 0, i32 0
  %319 = load ptr, ptr %25, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %319, i32 0, i32 2
  %321 = getelementptr inbounds %"class.HIR::TraitPath", ptr %320, i32 0, i32 1
  %322 = getelementptr inbounds %"class.HIR::GenericPath", ptr %321, i32 0, i32 0
  %323 = invoke noundef zeroext i1 @_ZNK3HIR10SimplePatheqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %318, ptr noundef nonnull align 8 dereferenceable(8) %322)
          to label %324 unwind label %344

324:                                              ; preds = %314
  br i1 %323, label %325, label %440

325:                                              ; preds = %324
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #0
  %326 = load ptr, ptr %24, align 8, !tbaa !5
  %327 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %326, i32 0, i32 2
  %328 = getelementptr inbounds %"class.HIR::TraitPath", ptr %327, i32 0, i32 1
  %329 = getelementptr inbounds %"class.HIR::GenericPath", ptr %328, i32 0, i32 1
  store ptr %329, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #0
  %330 = load ptr, ptr %25, align 8, !tbaa !5
  %331 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %330, i32 0, i32 2
  %332 = getelementptr inbounds %"class.HIR::TraitPath", ptr %331, i32 0, i32 1
  %333 = getelementptr inbounds %"class.HIR::GenericPath", ptr %332, i32 0, i32 1
  store ptr %333, ptr %27, align 8, !tbaa !5
  %334 = load ptr, ptr %26, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.HIR::PathParams", ptr %334, i32 0, i32 1
  %336 = load ptr, ptr %27, align 8, !tbaa !5
  %337 = getelementptr inbounds %"struct.HIR::PathParams", ptr %336, i32 0, i32 1
  %338 = invoke noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %335, ptr noundef nonnull align 8 dereferenceable(8) %337)
          to label %339 unwind label %348

339:                                              ; preds = %325
  switch i32 %338, label %354 [
    i32 -1, label %352
    i32 1, label %353
    i32 0, label %354
  ]

340:                                              ; preds = %301
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %6, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %7, align 4
  br label %445

344:                                              ; preds = %314, %307, %304
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %6, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %7, align 4
  br label %444

348:                                              ; preds = %325
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %6, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %7, align 4
  br label %439

352:                                              ; preds = %339
  store i1 false, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %436

353:                                              ; preds = %339
  store i1 true, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %436

354:                                              ; preds = %339, %339
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #0
  store i32 0, ptr %28, align 4, !tbaa !12
  br label %355

355:                                              ; preds = %396, %354
  %356 = load i32, ptr %28, align 4, !tbaa !12
  %357 = zext i32 %356 to i64
  %358 = load ptr, ptr %26, align 8, !tbaa !5
  %359 = getelementptr inbounds %"struct.HIR::PathParams", ptr %358, i32 0, i32 1
  %360 = invoke noundef i64 @_ZNK10ThinVectorIN3HIR7TypeRefEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %359)
          to label %361 unwind label %364

361:                                              ; preds = %355
  %362 = icmp ult i64 %357, %360
  br i1 %362, label %368, label %363

363:                                              ; preds = %361
  store i32 17, ptr %11, align 4
  br label %399

364:                                              ; preds = %389, %383, %380, %374, %368, %355
  %365 = landingpad { ptr, i32 }
          cleanup
  %366 = extractvalue { ptr, i32 } %365, 0
  store ptr %366, ptr %6, align 8
  %367 = extractvalue { ptr, i32 } %365, 1
  store i32 %367, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #0
  br label %439

368:                                              ; preds = %361
  %369 = load ptr, ptr %26, align 8, !tbaa !5
  %370 = getelementptr inbounds %"struct.HIR::PathParams", ptr %369, i32 0, i32 1
  %371 = load i32, ptr %28, align 4, !tbaa !12
  %372 = zext i32 %371 to i64
  %373 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %370, i64 noundef %372)
          to label %374 unwind label %364

374:                                              ; preds = %368
  %375 = load ptr, ptr %27, align 8, !tbaa !5
  %376 = getelementptr inbounds %"struct.HIR::PathParams", ptr %375, i32 0, i32 1
  %377 = load i32, ptr %28, align 4, !tbaa !12
  %378 = zext i32 %377 to i64
  %379 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %376, i64 noundef %378)
          to label %380 unwind label %364

380:                                              ; preds = %374
  %381 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %373, ptr noundef nonnull align 8 dereferenceable(8) %379)
          to label %382 unwind label %364

382:                                              ; preds = %380
  br i1 %381, label %383, label %395

383:                                              ; preds = %382
  %384 = load ptr, ptr %26, align 8, !tbaa !5
  %385 = getelementptr inbounds %"struct.HIR::PathParams", ptr %384, i32 0, i32 1
  %386 = load i32, ptr %28, align 4, !tbaa !12
  %387 = zext i32 %386 to i64
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %385, i64 noundef %387)
          to label %389 unwind label %364

389:                                              ; preds = %383
  %390 = load ptr, ptr %24, align 8, !tbaa !5
  %391 = getelementptr inbounds %"struct.HIR::GenericBound::Data_TraitBound", ptr %390, i32 0, i32 1
  %392 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %388, ptr noundef nonnull align 8 dereferenceable(8) %391)
          to label %393 unwind label %364

393:                                              ; preds = %389
  br i1 %392, label %394, label %395

394:                                              ; preds = %393
  store i1 true, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %399

395:                                              ; preds = %393, %382
  br label %396

396:                                              ; preds = %395
  %397 = load i32, ptr %28, align 4, !tbaa !12
  %398 = add i32 %397, 1
  store i32 %398, ptr %28, align 4, !tbaa !12
  br label %355, !llvm.loop !18

399:                                              ; preds = %394, %363
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #0
  %400 = load i32, ptr %11, align 4
  switch i32 %400, label %436 [
    i32 17, label %401
  ]

401:                                              ; preds = %399
  br label %402

402:                                              ; preds = %401
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #0
  store ptr @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #0
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
          to label %403 unwind label %411

403:                                              ; preds = %402
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #0
  %404 = getelementptr inbounds %class.anon.58, ptr %32, i32 0, i32 0
  store ptr %29, ptr %404, align 8, !tbaa !5
  %405 = getelementptr inbounds %class.anon.58, ptr %32, i32 0, i32 1
  store ptr %18, ptr %405, align 8, !tbaa !5
  %406 = getelementptr inbounds %class.anon.58, ptr %32, i32 0, i32 2
  store ptr %19, ptr %406, align 8, !tbaa !5
  invoke void @"_ZNSt8functionIFvRSoEEC2IZNK3HIR9TraitImpl18more_specific_thanERKS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(24) %32)
          to label %407 unwind label %415

407:                                              ; preds = %403
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %31)
          to label %408 unwind label %419

408:                                              ; preds = %407
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #0
  %409 = call ptr @__cxa_allocate_exception(i64 16) #0
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %409, ptr noundef @.str.11)
          to label %410 unwind label %425

410:                                              ; preds = %408
  invoke void @__cxa_throw(ptr %409, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %549 unwind label %429

411:                                              ; preds = %402
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %6, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %7, align 4
  br label %424

415:                                              ; preds = %403
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %6, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %7, align 4
  br label %423

419:                                              ; preds = %407
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %6, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %7, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #0
  br label %423

423:                                              ; preds = %419, %415
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #0
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #0
  br label %424

424:                                              ; preds = %423, %411
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #0
  br label %433

425:                                              ; preds = %408
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %6, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %7, align 4
  call void @__cxa_free_exception(ptr %409) #0
  br label %433

429:                                              ; preds = %410
  %430 = landingpad { ptr, i32 }
          cleanup
  %431 = extractvalue { ptr, i32 } %430, 0
  store ptr %431, ptr %6, align 8
  %432 = extractvalue { ptr, i32 } %430, 1
  store i32 %432, ptr %7, align 4
  br label %433

433:                                              ; preds = %429, %425, %424
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #0
  br label %439

434:                                              ; No predecessors!
  br label %435

435:                                              ; preds = %434
  store i32 0, ptr %11, align 4
  br label %436

436:                                              ; preds = %435, %399, %353, %352
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #0
  %437 = load i32, ptr %11, align 4
  switch i32 %437, label %441 [
    i32 0, label %438
  ]

438:                                              ; preds = %436
  br label %440

439:                                              ; preds = %433, %364, %348
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #0
  br label %444

440:                                              ; preds = %438, %324, %313
  store i32 0, ptr %11, align 4
  br label %441

441:                                              ; preds = %440, %436
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #0
  %442 = load i32, ptr %11, align 4
  switch i32 %442, label %480 [
    i32 0, label %443
  ]

443:                                              ; preds = %441
  br label %446

444:                                              ; preds = %439, %344
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #0
  br label %445

445:                                              ; preds = %444, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #0
  br label %483

446:                                              ; preds = %443, %300, %295
  %447 = load i32, ptr %23, align 4, !tbaa !10
  %448 = icmp eq i32 %447, -1
  br i1 %448, label %449, label %451

449:                                              ; preds = %446
  store i8 0, ptr %20, align 1, !tbaa !14
  %450 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  br label %479

451:                                              ; preds = %446
  br label %452

452:                                              ; preds = %451
  %453 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %454 unwind label %285

454:                                              ; preds = %452
  br i1 %453, label %455, label %476

455:                                              ; preds = %454
  %456 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %457 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %456, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %458 unwind label %285

458:                                              ; preds = %455
  %459 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %460 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %457, ptr noundef nonnull align 8 dereferenceable(168) %459)
          to label %461 unwind label %285

461:                                              ; preds = %458
  %462 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %460, ptr noundef @.str.12)
          to label %463 unwind label %285

463:                                              ; preds = %461
  %464 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #0
  %465 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %462, ptr noundef nonnull align 8 dereferenceable(168) %464)
          to label %466 unwind label %285

466:                                              ; preds = %463
  %467 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %465, ptr noundef @.str.13)
          to label %468 unwind label %285

468:                                              ; preds = %466
  %469 = load i32, ptr %23, align 4, !tbaa !10
  %470 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %467, i32 noundef %469)
          to label %471 unwind label %285

471:                                              ; preds = %468
  %472 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %470, ptr noundef @_ZSt3decRSt8ios_base)
          to label %473 unwind label %285

473:                                              ; preds = %471
  %474 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %472, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %475 unwind label %285

475:                                              ; preds = %473
  br label %476

476:                                              ; preds = %475, %454
  br label %477

477:                                              ; preds = %476
  br label %478

478:                                              ; preds = %477
  store i1 false, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %480

479:                                              ; preds = %449
  store i32 0, ptr %11, align 4
  br label %480

480:                                              ; preds = %479, %478, %441, %282
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #0
  %481 = load i32, ptr %11, align 4
  switch i32 %481, label %532 [
    i32 0, label %482
    i32 14, label %265
  ]

482:                                              ; preds = %480
  br label %265, !llvm.loop !16

483:                                              ; preds = %445, %285
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #0
  br label %533

484:                                              ; preds = %273
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #0
  %485 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  %486 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %485, ptr %486, align 8
  %487 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %33) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #0
  br i1 %487, label %488, label %512

488:                                              ; preds = %484
  br label %489

489:                                              ; preds = %488
  %490 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %491 unwind label %505

491:                                              ; preds = %489
  br i1 %490, label %492, label %509

492:                                              ; preds = %491
  %493 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %494 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %493, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %495 unwind label %505

495:                                              ; preds = %492
  %496 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %494, ptr noundef @.str.14)
          to label %497 unwind label %505

497:                                              ; preds = %495
  %498 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #0
  %499 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %496, ptr noundef nonnull align 8 dereferenceable(168) %498)
          to label %500 unwind label %505

500:                                              ; preds = %497
  %501 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %499, ptr noundef @_ZSt3decRSt8ios_base)
          to label %502 unwind label %505

502:                                              ; preds = %500
  %503 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %501, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %504 unwind label %505

504:                                              ; preds = %502
  br label %509

505:                                              ; preds = %523, %521, %519, %516, %513, %502, %500, %497, %495, %492, %489
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %6, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %7, align 4
  br label %533

509:                                              ; preds = %504, %491
  br label %510

510:                                              ; preds = %509
  br label %511

511:                                              ; preds = %510
  store i1 true, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %532

512:                                              ; preds = %484
  br label %513

513:                                              ; preds = %512
  %514 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %515 unwind label %505

515:                                              ; preds = %513
  br i1 %514, label %516, label %526

516:                                              ; preds = %515
  %517 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %518 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %517, ptr noundef @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %519 unwind label %505

519:                                              ; preds = %516
  %520 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %518, ptr noundef @.str.15)
          to label %521 unwind label %505

521:                                              ; preds = %519
  %522 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %520, ptr noundef @_ZSt3decRSt8ios_base)
          to label %523 unwind label %505

523:                                              ; preds = %521
  %524 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %522, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %525 unwind label %505

525:                                              ; preds = %523
  br label %526

526:                                              ; preds = %525, %515
  br label %527

527:                                              ; preds = %526
  br label %528

528:                                              ; preds = %527
  %529 = load i8, ptr %20, align 1, !tbaa !14, !range !19, !noundef !20
  %530 = trunc i8 %529 to i1
  %531 = xor i1 %530, true
  store i1 %531, ptr %3, align 1
  store i32 1, ptr %11, align 4
  br label %532

532:                                              ; preds = %528, %511, %480
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  br label %534

533:                                              ; preds = %505, %483
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #0
  br label %535

534:                                              ; preds = %532, %259
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #0
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #0
  br label %538

535:                                              ; preds = %533, %215
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #0
  br label %536

536:                                              ; preds = %535, %211
  call void @llvm.lifetime.end.p0(i64 24, ptr %17) #0
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #0
  br label %537

537:                                              ; preds = %536, %207
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #0
  br label %540

538:                                              ; preds = %534, %154
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #0
  %539 = load i1, ptr %3, align 1
  ret i1 %539

540:                                              ; preds = %537, %206, %89
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #0
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #0
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #0
  br label %541

541:                                              ; preds = %540, %81
  %542 = load ptr, ptr %6, align 8
  %543 = load i32, ptr %7, align 4
  %544 = insertvalue { ptr, i32 } poison, ptr %542, 0
  %545 = insertvalue { ptr, i32 } %544, i32 %543, 1
  resume { ptr, i32 } %545

546:                                              ; preds = %204
  %547 = landingpad { ptr, i32 }
          catch ptr null
  %548 = extractvalue { ptr, i32 } %547, 0
  call void @__clang_call_terminate(ptr %548) #11
  unreachable

549:                                              ; preds = %410, %100
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #5

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_117type_ord_specificERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr)

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.10") align 8, ptr noundef nonnull align 8 dereferenceable(24)) #1

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3HIR12GenericBound13is_TraitBoundEv(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 @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168)) #2 align 2

declare noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(168)) #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!"branch_weights", i32 1, i32 1048575}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTS8Ordering", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{i8 0, i8 2}
!20 = !{}


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

%struct.Span = type { 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.anon = type { i8 }
%"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.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon.58 = type { ptr, ptr, ptr }

@__dso_handle = external hidden global i8
@_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp = external hidden global %struct.Span, align 8
@_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp = external hidden global i64, align 8
@__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_ = external hidden unnamed_addr constant [19 x i8], align 1
@_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE = external hidden constant { ptr, ptr }, align 8
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [19 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 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 [12 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK3HIR9TraitImpl18more_specific_thanERKS0_(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(328) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.TraceLog, align 8
  %4 = alloca %struct.Span, align 8
  %5 = alloca %"class.std::function", align 8
  %6 = alloca %class.anon, align 1
  %7 = alloca %"class.std::vector.10", align 8
  %8 = alloca %"class.std::vector.10", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %13 = alloca ptr, align 8
  %14 = alloca %struct.Span, align 8
  %15 = alloca %"class.std::function", align 8
  %16 = alloca %class.anon.58, align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %18 = load atomic i8, ptr @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp acquire, align 8
  %19 = icmp eq i8 %18, 0
  br i1 %19, label %20, label %24, !prof !5

20:                                               ; preds = %2
  %21 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp) #10
  %.not = icmp eq i32 %21, 0
  br i1 %.not, label %24, label %22

22:                                               ; preds = %20
  tail call void @_ZN4SpanC2Ev(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
  %23 = tail call i32 @__cxa_atexit(ptr nonnull @_ZN4SpanD1Ev, ptr nonnull @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr nonnull @__dso_handle) #10
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp) #10
  br label %24

24:                                               ; preds = %22, %20, %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #10
  %25 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %26 = select i1 %25, ptr @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %26)
  %27 = getelementptr inbounds i8, ptr %0, i64 104
  %28 = getelementptr inbounds i8, ptr %1, i64 104
  %29 = invoke noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
          to label %30 unwind label %48

30:                                               ; preds = %24
  %.not83 = icmp eq i32 %29, 0
  br i1 %.not83, label %62, label %31

31:                                               ; preds = %30
  %32 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %33 unwind label %48

33:                                               ; preds = %31
  br i1 %32, label %34, label %60

34:                                               ; preds = %33
  %35 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %35, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %37 unwind label %48

37:                                               ; preds = %34
  %38 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull @.str)
          to label %39 unwind label %48

39:                                               ; preds = %37
  %40 = icmp eq i32 %29, -1
  %.str.1..str.2 = select i1 %40, ptr @.str.1, ptr @.str.2
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull %.str.1..str.2)
          to label %42 unwind label %48

42:                                               ; preds = %39
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull @.str.3)
          to label %44 unwind label %48

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %46 unwind label %48

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %60 unwind label %48

48:                                               ; preds = %88, %86, %84, %82, %79, %77, %75, %73, %70, %67, %62, %46, %44, %42, %39, %37, %34, %31, %24
  %49 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE
  %50 = extractvalue { ptr, i32 } %49, 1
  %51 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN12_GLOBAL__N_129TypeOrdSpecific_MixedOrderingE) #10
  %52 = icmp eq i32 %50, %51
  br i1 %52, label %53, label %307

53:                                               ; preds = %48
  %54 = extractvalue { ptr, i32 } %49, 0
  %55 = call ptr @__cxa_begin_catch(ptr %54) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #10
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
          to label %56 unwind label %92

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #10
  call void @"_ZNSt8functionIFvRSoEEC2IZNK3HIR9TraitImpl18more_specific_thanERKS5_E3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(1) %6) #10
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull %5)
          to label %57 unwind label %94

57:                                               ; preds = %56
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  %58 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr noundef nonnull @.str.7)
          to label %59 unwind label %97

59:                                               ; preds = %57
  invoke void @__cxa_throw(ptr nonnull %58, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #11
          to label %311 unwind label %99

60:                                               ; preds = %46, %33
  %61 = icmp eq i32 %29, 1
  br label %.thread

62:                                               ; preds = %30
  %63 = getelementptr inbounds i8, ptr %0, i64 120
  %64 = getelementptr inbounds i8, ptr %1, i64 120
  %65 = invoke noundef i32 @_ZN12_GLOBAL__N_117type_ord_specificERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %64)
          to label %66 unwind label %48

66:                                               ; preds = %62
  %.not84 = icmp eq i32 %65, 0
  br i1 %.not84, label %101, label %67

67:                                               ; preds = %66
  %68 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %69 unwind label %48

69:                                               ; preds = %67
  br i1 %68, label %70, label %90

70:                                               ; preds = %69
  %71 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %71, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %73 unwind label %48

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull @.str.4)
          to label %75 unwind label %48

75:                                               ; preds = %73
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7TypeRefE(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull align 8 dereferenceable(8) %63)
          to label %77 unwind label %48

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

79:                                               ; preds = %77
  %80 = icmp eq i32 %65, -1
  %.str.1..str.24 = select i1 %80, ptr @.str.1, ptr @.str.2
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %78, ptr noundef nonnull %.str.1..str.24)
          to label %82 unwind label %48

82:                                               ; preds = %79
  %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.6)
          to label %84 unwind label %48

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) %64)
          to label %86 unwind label %48

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %88 unwind label %48

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %90 unwind label %48

90:                                               ; preds = %88, %69
  %91 = icmp eq i32 %65, 1
  br label %.thread

92:                                               ; preds = %53
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %96

94:                                               ; preds = %56
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #10
  br label %96

96:                                               ; preds = %94, %92
  %.pn = phi { ptr, i32 } [ %95, %94 ], [ %93, %92 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #10
  br label %119

97:                                               ; preds = %57
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %58) #10
  br label %119

99:                                               ; preds = %59
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %119

101:                                              ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #10
  %102 = getelementptr inbounds i8, ptr %0, i64 72
  invoke void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.10") align 8 %7, ptr noundef nonnull align 8 dereferenceable(24) %102)
          to label %103 unwind label %120

103:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #10
  %104 = getelementptr inbounds i8, ptr %1, i64 72
  invoke void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.10") align 8 %8, ptr noundef nonnull align 8 dereferenceable(24) %104)
          to label %105 unwind label %122

105:                                              ; preds = %103
  %106 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %107 unwind label %124

107:                                              ; preds = %105
  br i1 %106, label %108, label %126

108:                                              ; preds = %107
  %109 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %109, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %111 unwind label %124

111:                                              ; preds = %108
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull @.str.8)
          to label %113 unwind label %124

113:                                              ; preds = %111
  %114 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIN3HIR12GenericBoundEERSoS2_RKSt6vectorIT_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %115 unwind label %124

115:                                              ; preds = %113
  %116 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %117 unwind label %124

117:                                              ; preds = %115
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %126 unwind label %124

119:                                              ; preds = %99, %97, %96
  %.pn86 = phi { ptr, i32 } [ %100, %99 ], [ %98, %97 ], [ %.pn, %96 ]
  invoke void @__cxa_end_catch()
          to label %307 unwind label %308

120:                                              ; preds = %101
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %306

122:                                              ; preds = %103
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %305

124:                                              ; preds = %154, %152, %150, %147, %144, %138, %136, %134, %132, %129, %126, %117, %115, %113, %111, %108, %105
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %304

126:                                              ; preds = %107, %117
  %127 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %128 unwind label %124

128:                                              ; preds = %126
  br i1 %127, label %129, label %140

129:                                              ; preds = %128
  %130 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %130, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %132 unwind label %124

132:                                              ; preds = %129
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @.str.9)
          to label %134 unwind label %124

134:                                              ; preds = %132
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIN3HIR12GenericBoundEERSoS2_RKSt6vectorIT_SaIS4_EE(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %136 unwind label %124

136:                                              ; preds = %134
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %138 unwind label %124

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %140 unwind label %124

140:                                              ; preds = %138, %128
  %141 = call noundef i64 @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  %142 = call noundef i64 @_ZNKSt6vectorIN3HIR12GenericBoundESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  %143 = icmp ult i64 %141, %142
  br i1 %143, label %144, label %156

144:                                              ; preds = %140
  %145 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %146 unwind label %124

146:                                              ; preds = %144
  br i1 %145, label %147, label %303

147:                                              ; preds = %146
  %148 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %148, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %150 unwind label %124

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

152:                                              ; preds = %150
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %151, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %154 unwind label %124

154:                                              ; preds = %152
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %303 unwind label %124

156:                                              ; preds = %140
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %157 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %157, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %158 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  store ptr %158, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %159 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %159, ptr %11, align 8
  %160 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  br i1 %160, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %156, %265
  %.076132 = phi i1 [ %.177, %265 ], [ true, %156 ]
  %161 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  store ptr %161, ptr %12, align 8
  %162 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br i1 %162, label %163, label %.loopexit

163:                                              ; preds = %.lr.ph
  %164 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %165 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %166 = invoke noundef i32 @_Z3ordIN3HIR12GenericBoundEE8OrderingRKT_S5_(ptr noundef nonnull align 8 dereferenceable(168) %164, ptr noundef nonnull align 8 dereferenceable(168) %165)
          to label %167 unwind label %.loopexit117

167:                                              ; preds = %163
  %168 = icmp eq i32 %166, 0
  br i1 %168, label %169, label %171

169:                                              ; preds = %167
  %170 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  br label %265, !llvm.loop !10

.loopexit117:                                     ; preds = %163
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %302

.loopexit.split-lp:                               ; preds = %243, %246, %249, %252, %254, %257, %259, %261, %263
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %302

171:                                              ; preds = %167
  %172 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %173 = call noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %172)
  %174 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %175 = call noundef i32 @_ZNK3HIR12GenericBound3tagEv(ptr noundef nonnull align 8 dereferenceable(168) %174)
  %176 = icmp eq i32 %173, %175
  br i1 %176, label %177, label %241

177:                                              ; preds = %171
  %178 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %179 = call noundef zeroext i1 @_ZNK3HIR12GenericBound13is_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %178)
  br i1 %179, label %180, label %241

180:                                              ; preds = %177
  %181 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %182 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %181)
  %183 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %184 = call noundef nonnull align 8 dereferenceable(160) ptr @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168) %183)
  %185 = getelementptr inbounds i8, ptr %182, i64 8
  %186 = getelementptr inbounds i8, ptr %184, i64 8
  %187 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(8) %186)
          to label %188 unwind label %199

188:                                              ; preds = %180
  br i1 %187, label %189, label %241

189:                                              ; preds = %188
  %190 = getelementptr inbounds i8, ptr %182, i64 24
  %191 = getelementptr inbounds i8, ptr %184, i64 24
  %192 = invoke noundef zeroext i1 @_ZNK3HIR10SimplePatheqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %190, ptr noundef nonnull align 8 dereferenceable(8) %191)
          to label %193 unwind label %199

193:                                              ; preds = %189
  br i1 %192, label %194, label %241

194:                                              ; preds = %193
  %195 = getelementptr inbounds i8, ptr %182, i64 40
  %196 = getelementptr inbounds i8, ptr %184, i64 40
  %197 = invoke noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp, ptr noundef nonnull align 8 dereferenceable(8) %195, ptr noundef nonnull align 8 dereferenceable(8) %196)
          to label %198 unwind label %201

198:                                              ; preds = %194
  switch i32 %197, label %.preheader [
    i32 -1, label %.thread113
    i32 1, label %203
  ]

199:                                              ; preds = %189, %180
  %200 = landingpad { ptr, i32 }
          cleanup
  br label %302

201:                                              ; preds = %194
  %202 = landingpad { ptr, i32 }
          cleanup
  br label %302

203:                                              ; preds = %198
  br label %.thread113

.preheader:                                       ; preds = %198, %218
  %.0 = phi i32 [ %219, %218 ], [ 0, %198 ]
  %204 = zext i32 %.0 to i64
  %205 = invoke noundef i64 @_ZNK10ThinVectorIN3HIR7TypeRefEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(8) %195)
          to label %206 unwind label %207

206:                                              ; preds = %.preheader
  %.not88 = icmp ugt i64 %205, %204
  br i1 %.not88, label %209, label %220

207:                                              ; preds = %214, %209, %.preheader
  %208 = landingpad { ptr, i32 }
          cleanup
  br label %302

209:                                              ; preds = %206
  %210 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %195, i64 noundef %204)
  %211 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %196, i64 noundef %204)
  %212 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef nonnull align 8 dereferenceable(8) %211)
          to label %213 unwind label %207

213:                                              ; preds = %209
  br i1 %212, label %214, label %218

214:                                              ; preds = %213
  %215 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK10ThinVectorIN3HIR7TypeRefEEixEm(ptr noundef nonnull align 8 dereferenceable(8) %195, i64 noundef %204)
  %216 = invoke noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %215, ptr noundef nonnull align 8 dereferenceable(8) %185)
          to label %217 unwind label %207

217:                                              ; preds = %214
  br i1 %216, label %.thread113, label %218

218:                                              ; preds = %213, %217
  %219 = add i32 %.0, 1
  br label %.preheader, !llvm.loop !12

220:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  store ptr @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_, ptr %13, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) @_ZZNK3HIR9TraitImpl18more_specific_thanERKS0_E3_sp)
          to label %221 unwind label %228

221:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #10
  store ptr %13, ptr %16, align 8, !tbaa !13
  %222 = getelementptr inbounds i8, ptr %16, i64 8
  store ptr %9, ptr %222, align 8, !tbaa !13
  %223 = getelementptr inbounds i8, ptr %16, i64 16
  store ptr %10, ptr %223, align 8, !tbaa !13
  invoke void @"_ZNSt8functionIFvRSoEEC2IZNK3HIR9TraitImpl18more_specific_thanERKS5_E3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(24) %16)
          to label %224 unwind label %230

224:                                              ; preds = %221
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull %15)
          to label %225 unwind label %232

225:                                              ; preds = %224
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  %226 = call ptr @__cxa_allocate_exception(i64 16) #10
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %226, ptr noundef nonnull @.str.11)
          to label %227 unwind label %236

227:                                              ; preds = %225
  invoke void @__cxa_throw(ptr nonnull %226, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #11
          to label %311 unwind label %238

228:                                              ; preds = %220
  %229 = landingpad { ptr, i32 }
          cleanup
  br label %235

230:                                              ; preds = %221
  %231 = landingpad { ptr, i32 }
          cleanup
  br label %234

232:                                              ; preds = %224
  %233 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  br label %234

234:                                              ; preds = %232, %230
  %.pn89 = phi { ptr, i32 } [ %233, %232 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #10
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %235

235:                                              ; preds = %234, %228
  %.pn89.pn = phi { ptr, i32 } [ %.pn89, %234 ], [ %229, %228 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %240

236:                                              ; preds = %225
  %237 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %226) #10
  br label %240

238:                                              ; preds = %227
  %239 = landingpad { ptr, i32 }
          cleanup
  br label %240

240:                                              ; preds = %238, %236, %235
  %.pn92 = phi { ptr, i32 } [ %239, %238 ], [ %237, %236 ], [ %.pn89.pn, %235 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br label %302

241:                                              ; preds = %193, %188, %177, %171
  %242 = icmp eq i32 %166, -1
  br i1 %242, label %265, label %243

243:                                              ; preds = %241
  %244 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %245 unwind label %.loopexit.split-lp

245:                                              ; preds = %243
  br i1 %244, label %246, label %.thread113

246:                                              ; preds = %245
  %247 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %248 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %247, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %249 unwind label %.loopexit.split-lp

249:                                              ; preds = %246
  %250 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %251 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %248, ptr noundef nonnull align 8 dereferenceable(168) %250)
          to label %252 unwind label %.loopexit.split-lp

252:                                              ; preds = %249
  %253 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %251, ptr noundef nonnull @.str.12)
          to label %254 unwind label %.loopexit.split-lp

254:                                              ; preds = %252
  %255 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %256 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %253, ptr noundef nonnull align 8 dereferenceable(168) %255)
          to label %257 unwind label %.loopexit.split-lp

257:                                              ; preds = %254
  %258 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %256, ptr noundef nonnull @.str.13)
          to label %259 unwind label %.loopexit.split-lp

259:                                              ; preds = %257
  %260 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %258, i32 noundef %166)
          to label %261 unwind label %.loopexit.split-lp

261:                                              ; preds = %259
  %262 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %260, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %263 unwind label %.loopexit.split-lp

263:                                              ; preds = %261
  %264 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.thread113 unwind label %.loopexit.split-lp

265:                                              ; preds = %241, %169
  %.sink = phi ptr [ %10, %169 ], [ %9, %241 ]
  %.177 = phi i1 [ %.076132, %169 ], [ false, %241 ]
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %.sink) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  %267 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %267, ptr %11, align 8
  %268 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #10
  br i1 %268, label %.lr.ph, label %.critedge

.critedge:                                        ; preds = %265, %156
  %.076.lcssa = phi i1 [ true, %156 ], [ %.177, %265 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph, %.critedge
  %.076128 = phi i1 [ %.076.lcssa, %.critedge ], [ %.076132, %.lr.ph ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #10
  %269 = call ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  store ptr %269, ptr %17, align 8
  %270 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #10
  br i1 %270, label %271, label %288

271:                                              ; preds = %.loopexit
  %272 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %273 unwind label %286

273:                                              ; preds = %271
  br i1 %272, label %274, label %.thread113

274:                                              ; preds = %273
  %275 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %276 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %275, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %277 unwind label %286

277:                                              ; preds = %274
  %278 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %276, ptr noundef nonnull @.str.14)
          to label %279 unwind label %286

279:                                              ; preds = %277
  %280 = call noundef nonnull align 8 dereferenceable(168) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #10
  %281 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef nonnull align 8 dereferenceable(168) %280)
          to label %282 unwind label %286

282:                                              ; preds = %279
  %283 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %281, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %284 unwind label %286

284:                                              ; preds = %282
  %285 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %283, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.thread113 unwind label %286

286:                                              ; preds = %298, %296, %294, %291, %288, %284, %282, %279, %277, %274, %271
  %287 = landingpad { ptr, i32 }
          cleanup
  br label %302

288:                                              ; preds = %.loopexit
  %289 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %290 unwind label %286

290:                                              ; preds = %288
  br i1 %289, label %291, label %300

291:                                              ; preds = %290
  %292 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !6
  %293 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %292, ptr noundef nonnull @__func__._ZNK3HIR9TraitImpl18more_specific_thanERKS0_)
          to label %294 unwind label %286

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

296:                                              ; preds = %294
  %297 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %295, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %298 unwind label %286

298:                                              ; preds = %296
  %299 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %297, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %300 unwind label %286

300:                                              ; preds = %298, %290
  %301 = xor i1 %.076128, true
  br label %.thread113

.thread113:                                       ; preds = %217, %198, %203, %245, %263, %273, %284, %300
  %.8 = phi i1 [ %301, %300 ], [ true, %284 ], [ true, %273 ], [ false, %245 ], [ false, %263 ], [ false, %198 ], [ true, %203 ], [ true, %217 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %303

302:                                              ; preds = %.loopexit117, %.loopexit.split-lp, %201, %207, %240, %199, %286
  %.pn92.pn.pn.pn.pn = phi { ptr, i32 } [ %287, %286 ], [ %200, %199 ], [ %.pn92, %240 ], [ %208, %207 ], [ %202, %201 ], [ %lpad.loopexit, %.loopexit117 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %304

303:                                              ; preds = %146, %154, %.thread113
  %.9 = phi i1 [ %.8, %.thread113 ], [ false, %154 ], [ false, %146 ]
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %.thread

304:                                              ; preds = %302, %124
  %.pn98 = phi { ptr, i32 } [ %125, %124 ], [ %.pn92.pn.pn.pn.pn, %302 ]
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #10
  br label %305

305:                                              ; preds = %304, %122
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %304 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #10
  call void @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #10
  br label %306

306:                                              ; preds = %305, %120
  %.pn98.pn.pn = phi { ptr, i32 } [ %.pn98.pn, %305 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #10
  br label %307

.thread:                                          ; preds = %90, %60, %303
  %.10 = phi i1 [ %.9, %303 ], [ %91, %90 ], [ %61, %60 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #10
  ret i1 %.10

307:                                              ; preds = %119, %306, %48
  %.merged = phi { ptr, i32 } [ %.pn98.pn.pn, %306 ], [ %49, %48 ], [ %.pn86, %119 ]
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #10
  resume { ptr, i32 } %.merged

308:                                              ; preds = %119
  %309 = landingpad { ptr, i32 }
          catch ptr null
  %310 = extractvalue { ptr, i32 } %309, 0
  call void @__clang_call_terminate(ptr %310) #12
  unreachable

311:                                              ; preds = %227, %59
  unreachable
}

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(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) #4

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_121typelist_ord_specificERK4SpanRK10ThinVectorIN3HIR7TypeRefEES8_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN12_GLOBAL__N_117type_ord_specificERK4SpanRKN3HIR7TypeRefES6_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #7

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_114flatten_boundsERKSt6vectorIN3HIR12GenericBoundESaIS2_EE(ptr dead_on_unwind noalias writable sret(%"class.std::vector.10") align 8, ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIN3HIR12GenericBoundESaIS1_EE5beginEv(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_cxxneIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #9

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3HIR12GenericBoundESt6vectorIS2_SaIS2_EEEptEv(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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK3HIR12GenericBound13is_TraitBoundEv(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 @_ZN3HIR12GenericBound13as_TraitBoundEv(ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #2 align 2

declare noundef zeroext i1 @_ZNK3HIR7TypeRefeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_12GenericBoundE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(168)) local_unnamed_addr #5

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = distinct !{!12, !11}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !8, i64 0}


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