; LLVM IR from thepowersgang/mrustc :: src/hir (type)

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

%"class.HIR::Path" = type { %"class.HIR::Path::Data" }
%"class.HIR::Path::Data" = type { i32, %"union.HIR::Path::Data::DataUnion" }
%"union.HIR::Path::Data::DataUnion" = type { %"struct.HIR::Path::Data::Data_UfcsKnown" }
%"struct.HIR::Path::Data::Data_UfcsKnown" = type { %"class.HIR::TypeRef", %"class.HIR::GenericPath", %class.RcString, %"struct.HIR::PathParams", %"class.std::unique_ptr.25" }
%"class.HIR::TypeRef" = type { ptr }
%"class.HIR::GenericPath" = type { %"struct.HIR::SimplePath", %"struct.HIR::PathParams" }
%"struct.HIR::SimplePath" = type { %class.ThinVector }
%class.ThinVector = type { ptr }
%class.RcString = type { ptr }
%"struct.HIR::PathParams" = type { %class.ThinVector.22, %class.ThinVector.23, %class.ThinVector.24 }
%class.ThinVector.22 = type { ptr }
%class.ThinVector.23 = type { ptr }
%class.ThinVector.24 = type { ptr }
%"class.std::unique_ptr.25" = type { %"struct.std::__uniq_ptr_data.26" }
%"struct.std::__uniq_ptr_data.26" = type { %"class.std::__uniq_ptr_impl.27" }
%"class.std::__uniq_ptr_impl.27" = type { %"class.std::tuple.28" }
%"class.std::tuple.28" = type { %"struct.std::_Tuple_impl.29" }
%"struct.std::_Tuple_impl.29" = type { %"struct.std::_Head_base.32" }
%"struct.std::_Head_base.32" = type { ptr }
%"struct.HIR::Path::Data::Data_UfcsUnknown" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams" }
%"struct.HIR::Path::Data::Data_UfcsInherent" = type { %"class.HIR::TypeRef", %class.RcString, %"struct.HIR::PathParams", %"struct.HIR::PathParams" }

@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE = external hidden unnamed_addr constant [119 x i8], align 1
@g_debug_indent_level = external global i32, align 4
@__FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE = external hidden unnamed_addr constant [9 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [6 x i8], align 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) #0

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #4 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca i8, align 1
  %29 = alloca ptr, align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %32 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 2, ptr %11, align 4, !tbaa !9
  %33 = load ptr, ptr %8, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.HIR::Path", ptr %33, i32 0, i32 0
  %35 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %34)
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.HIR::Path", ptr %36, i32 0, i32 0
  %38 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %37)
  %39 = icmp ne i32 %35, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %5
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %257

41:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #7
  store i8 1, ptr %12, align 1, !tbaa !11
  br label %42

42:                                               ; preds = %255, %41
  %43 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %44 = trunc i8 %43 to i1
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 2, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #7
  br label %256

46:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.HIR::Path", ptr %47, i32 0, i32 0
  store ptr %48, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #7
  %49 = load ptr, ptr %9, align 8, !tbaa !5
  %50 = getelementptr inbounds %"class.HIR::Path", ptr %49, i32 0, i32 0
  store ptr %50, ptr %15, align 8, !tbaa !5
  br label %51

51:                                               ; preds = %253, %46
  %52 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %53 = trunc i8 %52 to i1
  br i1 %53, label %55, label %54

54:                                               ; preds = %51
  store i32 5, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  br label %254

55:                                               ; preds = %51
  %56 = load ptr, ptr %14, align 8, !tbaa !5
  %57 = call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %56)
  switch i32 %57, label %252 [
    i32 0, label %58
    i32 1, label %59
    i32 3, label %95
    i32 4, label %160
    i32 2, label %206
  ]

58:                                               ; preds = %55
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.18, i32 noundef 731, ptr noundef @__PRETTY_FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE) #8
  unreachable

59:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  store i8 1, ptr %16, align 1, !tbaa !11
  br label %60

60:                                               ; preds = %93, %59
  %61 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %62 = trunc i8 %61 to i1
  br i1 %62, label %64, label %63

63:                                               ; preds = %60
  store i32 9, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  br label %94

64:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %65 = load ptr, ptr %14, align 8, !tbaa !5
  %66 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %65)
  store ptr %66, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %67 = load ptr, ptr %15, align 8, !tbaa !5
  %68 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %67)
  store ptr %68, ptr %18, align 8, !tbaa !5
  br label %69

69:                                               ; preds = %91, %64
  %70 = load ptr, ptr %17, align 8, !tbaa !5
  %71 = load ptr, ptr %18, align 8, !tbaa !5
  %72 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %73 = trunc i8 %72 to i1
  br i1 %73, label %75, label %74

74:                                               ; preds = %69
  store i32 12, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  br label %92

75:                                               ; preds = %69
  %76 = load ptr, ptr %17, align 8, !tbaa !5
  %77 = getelementptr inbounds %"class.HIR::GenericPath", ptr %76, i32 0, i32 0
  %78 = load ptr, ptr %18, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.HIR::GenericPath", ptr %78, i32 0, i32 0
  %80 = call noundef zeroext i1 @_ZNK3HIR10SimplePathneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %79)
  br i1 %80, label %81, label %82

81:                                               ; preds = %75
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %90

82:                                               ; preds = %75
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load ptr, ptr %17, align 8, !tbaa !5
  %85 = getelementptr inbounds %"class.HIR::GenericPath", ptr %84, i32 0, i32 1
  %86 = load ptr, ptr %18, align 8, !tbaa !5
  %87 = getelementptr inbounds %"class.HIR::GenericPath", ptr %86, i32 0, i32 1
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 8 dereferenceable(24) %87, ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %89, ptr %11, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %82, %81
  br label %91

91:                                               ; preds = %90
  store i8 0, ptr %16, align 1, !tbaa !11
  br label %69, !llvm.loop !15

92:                                               ; preds = %74
  br label %93

93:                                               ; preds = %92
  store i8 0, ptr %16, align 1, !tbaa !11
  br label %60, !llvm.loop !17

94:                                               ; preds = %63
  br label %252

95:                                               ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #7
  store i8 1, ptr %19, align 1, !tbaa !11
  br label %96

96:                                               ; preds = %158, %95
  %97 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %98 = trunc i8 %97 to i1
  br i1 %98, label %100, label %99

99:                                               ; preds = %96
  store i32 15, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #7
  br label %159

100:                                              ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  %101 = load ptr, ptr %14, align 8, !tbaa !5
  %102 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %101)
  store ptr %102, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #7
  %103 = load ptr, ptr %15, align 8, !tbaa !5
  %104 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %103)
  store ptr %104, ptr %21, align 8, !tbaa !5
  br label %105

105:                                              ; preds = %156, %100
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  %107 = load ptr, ptr %21, align 8, !tbaa !5
  %108 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %109 = trunc i8 %108 to i1
  br i1 %109, label %111, label %110

110:                                              ; preds = %105
  store i32 18, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  br label %157

111:                                              ; preds = %105
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = load ptr, ptr %20, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %113, i32 0, i32 0
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %115, i32 0, i32 0
  %117 = load ptr, ptr %10, align 8, !tbaa !5
  %118 = load ptr, ptr %32, align 8, !tbaa !18
  %119 = getelementptr inbounds ptr, ptr %118, i64 0
  %120 = load ptr, ptr %119, align 8
  %121 = call noundef i32 %120(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(8) %114, ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull align 8 dereferenceable(8) %117)
  store i32 %121, ptr %11, align 4, !tbaa !9
  %122 = load ptr, ptr %20, align 8, !tbaa !5
  %123 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %122, i32 0, i32 1
  %124 = getelementptr inbounds %"class.HIR::GenericPath", ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %21, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %125, i32 0, i32 1
  %127 = getelementptr inbounds %"class.HIR::GenericPath", ptr %126, i32 0, i32 0
  %128 = call noundef zeroext i1 @_ZNK3HIR10SimplePathneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull align 8 dereferenceable(8) %127)
  br i1 %128, label %129, label %130

129:                                              ; preds = %111
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %130

130:                                              ; preds = %129, %111
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = load ptr, ptr %20, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %132, i32 0, i32 1
  %134 = getelementptr inbounds %"class.HIR::GenericPath", ptr %133, i32 0, i32 1
  %135 = load ptr, ptr %21, align 8, !tbaa !5
  %136 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %135, i32 0, i32 1
  %137 = getelementptr inbounds %"class.HIR::GenericPath", ptr %136, i32 0, i32 1
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(24) %134, ptr noundef nonnull align 8 dereferenceable(24) %137, ptr noundef nonnull align 8 dereferenceable(8) %138, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %139, ptr %22, align 4, !tbaa !9
  %140 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %22)
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  %141 = load ptr, ptr %20, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %141, i32 0, i32 2
  %143 = load ptr, ptr %21, align 8, !tbaa !5
  %144 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %143, i32 0, i32 2
  %145 = call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef nonnull align 8 dereferenceable(8) %144)
  br i1 %145, label %146, label %147

146:                                              ; preds = %130
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %147

147:                                              ; preds = %146, %130
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = load ptr, ptr %20, align 8, !tbaa !5
  %150 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %149, i32 0, i32 3
  %151 = load ptr, ptr %21, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsKnown", ptr %151, i32 0, i32 3
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(24) %150, ptr noundef nonnull align 8 dereferenceable(24) %152, ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %154, ptr %23, align 4, !tbaa !9
  %155 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %23)
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %156

156:                                              ; preds = %147
  store i8 0, ptr %19, align 1, !tbaa !11
  br label %105, !llvm.loop !20

157:                                              ; preds = %110
  br label %158

158:                                              ; preds = %157
  store i8 0, ptr %19, align 1, !tbaa !11
  br label %96, !llvm.loop !21

159:                                              ; preds = %99
  br label %252

160:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 1, ptr %24, align 1, !tbaa !11
  br label %161

161:                                              ; preds = %204, %160
  %162 = load i8, ptr %24, align 1, !tbaa !11, !range !13, !noundef !14
  %163 = trunc i8 %162 to i1
  br i1 %163, label %165, label %164

164:                                              ; preds = %161
  store i32 21, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %205

165:                                              ; preds = %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %166 = load ptr, ptr %14, align 8, !tbaa !5
  %167 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %166)
  store ptr %167, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #7
  %168 = load ptr, ptr %15, align 8, !tbaa !5
  %169 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %168)
  store ptr %169, ptr %26, align 8, !tbaa !5
  br label %170

170:                                              ; preds = %202, %165
  %171 = load ptr, ptr %25, align 8, !tbaa !5
  %172 = load ptr, ptr %26, align 8, !tbaa !5
  %173 = load i8, ptr %24, align 1, !tbaa !11, !range !13, !noundef !14
  %174 = trunc i8 %173 to i1
  br i1 %174, label %176, label %175

175:                                              ; preds = %170
  store i32 24, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %203

176:                                              ; preds = %170
  %177 = load ptr, ptr %7, align 8, !tbaa !5
  %178 = load ptr, ptr %25, align 8, !tbaa !5
  %179 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %178, i32 0, i32 0
  %180 = load ptr, ptr %26, align 8, !tbaa !5
  %181 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %180, i32 0, i32 0
  %182 = load ptr, ptr %10, align 8, !tbaa !5
  %183 = load ptr, ptr %32, align 8, !tbaa !18
  %184 = getelementptr inbounds ptr, ptr %183, i64 0
  %185 = load ptr, ptr %184, align 8
  %186 = call noundef i32 %185(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %177, ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef nonnull align 8 dereferenceable(8) %181, ptr noundef nonnull align 8 dereferenceable(8) %182)
  store i32 %186, ptr %11, align 4, !tbaa !9
  %187 = load ptr, ptr %25, align 8, !tbaa !5
  %188 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %187, i32 0, i32 1
  %189 = load ptr, ptr %26, align 8, !tbaa !5
  %190 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %189, i32 0, i32 1
  %191 = call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %188, ptr noundef nonnull align 8 dereferenceable(8) %190)
  br i1 %191, label %192, label %193

192:                                              ; preds = %176
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %193

193:                                              ; preds = %192, %176
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  %194 = load ptr, ptr %7, align 8, !tbaa !5
  %195 = load ptr, ptr %25, align 8, !tbaa !5
  %196 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %195, i32 0, i32 2
  %197 = load ptr, ptr %26, align 8, !tbaa !5
  %198 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsUnknown", ptr %197, i32 0, i32 2
  %199 = load ptr, ptr %10, align 8, !tbaa !5
  %200 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef nonnull align 8 dereferenceable(24) %196, ptr noundef nonnull align 8 dereferenceable(24) %198, ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %200, ptr %27, align 4, !tbaa !9
  %201 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %27)
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #7
  br label %202

202:                                              ; preds = %193
  store i8 0, ptr %24, align 1, !tbaa !11
  br label %170, !llvm.loop !22

203:                                              ; preds = %175
  br label %204

204:                                              ; preds = %203
  store i8 0, ptr %24, align 1, !tbaa !11
  br label %161, !llvm.loop !23

205:                                              ; preds = %164
  br label %252

206:                                              ; preds = %55
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #7
  store i8 1, ptr %28, align 1, !tbaa !11
  br label %207

207:                                              ; preds = %250, %206
  %208 = load i8, ptr %28, align 1, !tbaa !11, !range !13, !noundef !14
  %209 = trunc i8 %208 to i1
  br i1 %209, label %211, label %210

210:                                              ; preds = %207
  store i32 27, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #7
  br label %251

211:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #7
  %212 = load ptr, ptr %14, align 8, !tbaa !5
  %213 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %212)
  store ptr %213, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %214 = load ptr, ptr %15, align 8, !tbaa !5
  %215 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %214)
  store ptr %215, ptr %30, align 8, !tbaa !5
  br label %216

216:                                              ; preds = %248, %211
  %217 = load ptr, ptr %29, align 8, !tbaa !5
  %218 = load ptr, ptr %30, align 8, !tbaa !5
  %219 = load i8, ptr %28, align 1, !tbaa !11, !range !13, !noundef !14
  %220 = trunc i8 %219 to i1
  br i1 %220, label %222, label %221

221:                                              ; preds = %216
  store i32 30, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #7
  br label %249

222:                                              ; preds = %216
  %223 = load ptr, ptr %7, align 8, !tbaa !5
  %224 = load ptr, ptr %29, align 8, !tbaa !5
  %225 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %224, i32 0, i32 0
  %226 = load ptr, ptr %30, align 8, !tbaa !5
  %227 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %226, i32 0, i32 0
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  %229 = load ptr, ptr %32, align 8, !tbaa !18
  %230 = getelementptr inbounds ptr, ptr %229, i64 0
  %231 = load ptr, ptr %230, align 8
  %232 = call noundef i32 %231(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %223, ptr noundef nonnull align 8 dereferenceable(8) %225, ptr noundef nonnull align 8 dereferenceable(8) %227, ptr noundef nonnull align 8 dereferenceable(8) %228)
  store i32 %232, ptr %11, align 4, !tbaa !9
  %233 = load ptr, ptr %29, align 8, !tbaa !5
  %234 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %233, i32 0, i32 1
  %235 = load ptr, ptr %30, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %235, i32 0, i32 1
  %237 = call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %234, ptr noundef nonnull align 8 dereferenceable(8) %236)
  br i1 %237, label %238, label %239

238:                                              ; preds = %222
  store i32 2, ptr %11, align 4, !tbaa !9
  br label %239

239:                                              ; preds = %238, %222
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #7
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = load ptr, ptr %29, align 8, !tbaa !5
  %242 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %241, i32 0, i32 2
  %243 = load ptr, ptr %30, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.HIR::Path::Data::Data_UfcsInherent", ptr %243, i32 0, i32 2
  %245 = load ptr, ptr %10, align 8, !tbaa !5
  %246 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %240, ptr noundef nonnull align 8 dereferenceable(24) %242, ptr noundef nonnull align 8 dereferenceable(24) %244, ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %246, ptr %31, align 4, !tbaa !9
  %247 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %11, ptr noundef nonnull align 4 dereferenceable(4) %31)
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #7
  br label %248

248:                                              ; preds = %239
  store i8 0, ptr %28, align 1, !tbaa !11
  br label %216, !llvm.loop !24

249:                                              ; preds = %221
  br label %250

250:                                              ; preds = %249
  store i8 0, ptr %28, align 1, !tbaa !11
  br label %207, !llvm.loop !25

251:                                              ; preds = %210
  br label %252

252:                                              ; preds = %251, %205, %159, %94, %55
  br label %253

253:                                              ; preds = %252
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %51, !llvm.loop !26

254:                                              ; preds = %54
  br label %255

255:                                              ; preds = %254
  store i8 0, ptr %12, align 1, !tbaa !11
  br label %42, !llvm.loop !27

256:                                              ; preds = %45
  br label %257

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

258:                                              ; preds = %257
  %259 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %259, label %260, label %267

260:                                              ; preds = %258
  %261 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !28
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %261, ptr noundef @__FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE)
  %263 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %262, ptr noundef @.str.75)
  %264 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7CompareE(ptr noundef nonnull align 8 dereferenceable(8) %263, ptr noundef nonnull align 4 dereferenceable(4) %11)
  %265 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %264, ptr noundef @_ZSt3decRSt8ios_base)
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %265, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %267

267:                                              ; preds = %260, %258
  br label %268

268:                                              ; preds = %267
  br label %269

269:                                              ; preds = %268
  %270 = load i32, ptr %11, align 4, !tbaa !9
  store i32 1, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  ret i32 %270
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #5

declare noundef zeroext i1 @_Z13debug_enabledv() #6

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

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

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

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

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

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

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


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

@.str.18 = external hidden unnamed_addr constant [71 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [39 x i8], align 1
@__PRETTY_FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE = external hidden unnamed_addr constant [119 x i8], align 1
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@__FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE = external hidden unnamed_addr constant [9 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [6 x i8], align 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 #0

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(88) %2, ptr noundef nonnull align 8 dereferenceable(88) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) local_unnamed_addr #4 align 2 {
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #7
  store i32 2, ptr %6, align 4, !tbaa !5
  %11 = tail call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %12 = tail call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %.not = icmp eq i32 %11, %12
  br i1 %.not, label %.lr.ph, label %13

13:                                               ; preds = %5
  store i32 2, ptr %6, align 4, !tbaa !5
  br label %.loopexit94

.lr.ph:                                           ; preds = %5
  %14 = tail call noundef i32 @_ZNK3HIR4Path4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  switch i32 %14, label %.loopexit94 [
    i32 0, label %52
    i32 1, label %.preheader
    i32 3, label %.preheader85
    i32 4, label %.preheader87
    i32 2, label %.preheader89
  ]

.preheader89:                                     ; preds = %.lr.ph
  %15 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %16 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK3HIR4Path4Data15as_UfcsInherentEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %17 = getelementptr inbounds i8, ptr %15, i64 8
  %18 = getelementptr inbounds i8, ptr %16, i64 8
  %19 = getelementptr inbounds i8, ptr %15, i64 16
  %20 = getelementptr inbounds i8, ptr %16, i64 16
  %21 = load ptr, ptr %0, align 8, !tbaa !9
  %22 = load ptr, ptr %21, align 8
  %23 = tail call noundef i32 %22(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i32 %23, ptr %6, align 4, !tbaa !5
  %24 = tail call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %18)
  br i1 %24, label %68, label %..loopexit83_crit_edge

.preheader87:                                     ; preds = %.lr.ph
  %25 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %26 = tail call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK3HIR4Path4Data14as_UfcsUnknownEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %27 = getelementptr inbounds i8, ptr %25, i64 8
  %28 = getelementptr inbounds i8, ptr %26, i64 8
  %29 = getelementptr inbounds i8, ptr %25, i64 16
  %30 = getelementptr inbounds i8, ptr %26, i64 16
  %31 = load ptr, ptr %0, align 8, !tbaa !9
  %32 = load ptr, ptr %31, align 8
  %33 = tail call noundef i32 %32(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i32 %33, ptr %6, align 4, !tbaa !5
  %34 = tail call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28)
  br i1 %34, label %65, label %..loopexit82_crit_edge

.preheader85:                                     ; preds = %.lr.ph
  %35 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %36 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZNK3HIR4Path4Data12as_UfcsKnownEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %37 = getelementptr inbounds i8, ptr %35, i64 8
  %38 = getelementptr inbounds i8, ptr %36, i64 8
  %39 = getelementptr inbounds i8, ptr %35, i64 16
  %40 = getelementptr inbounds i8, ptr %36, i64 16
  %41 = getelementptr inbounds i8, ptr %35, i64 40
  %42 = getelementptr inbounds i8, ptr %36, i64 40
  %43 = getelementptr inbounds i8, ptr %35, i64 48
  %44 = getelementptr inbounds i8, ptr %36, i64 48
  %45 = load ptr, ptr %0, align 8, !tbaa !9
  %46 = load ptr, ptr %45, align 8
  %47 = tail call noundef i32 %46(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %4)
  store i32 %47, ptr %6, align 4, !tbaa !5
  %48 = tail call noundef zeroext i1 @_ZNK3HIR10SimplePathneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %37, ptr noundef nonnull align 8 dereferenceable(8) %38)
  br i1 %48, label %57, label %58

.preheader:                                       ; preds = %.lr.ph
  %49 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %2)
  %50 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3HIR4Path4Data10as_GenericEv(ptr noundef nonnull align 8 dereferenceable(88) %3)
  %51 = tail call noundef zeroext i1 @_ZNK3HIR10SimplePathneERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %50)
  br i1 %51, label %..loopexit_crit_edge, label %53

52:                                               ; preds = %.lr.ph
  tail call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.18, i32 noundef 731, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE) #8
  unreachable

53:                                               ; preds = %.preheader
  %54 = getelementptr inbounds i8, ptr %50, i64 8
  %55 = getelementptr inbounds i8, ptr %49, i64 8
  %56 = tail call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %55, ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %0)
  br label %..loopexit_crit_edge

..loopexit_crit_edge:                             ; preds = %.preheader, %53
  %storemerge = phi i32 [ %56, %53 ], [ 2, %.preheader ]
  store i32 %storemerge, ptr %6, align 4, !tbaa !5
  br label %.loopexit94

57:                                               ; preds = %.preheader85
  store i32 2, ptr %6, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %57, %.preheader85
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  %59 = tail call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %0)
  store i32 %59, ptr %7, align 4, !tbaa !5
  %60 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %61 = call noundef zeroext i1 @_ZNK8RcStringneERKS_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %42)
  br i1 %61, label %62, label %..loopexit81_crit_edge

62:                                               ; preds = %58
  store i32 2, ptr %6, align 4, !tbaa !5
  br label %..loopexit81_crit_edge

..loopexit81_crit_edge:                           ; preds = %62, %58
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  %63 = call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %0)
  store i32 %63, ptr %8, align 4, !tbaa !5
  %64 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %8)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  br label %.loopexit94

65:                                               ; preds = %.preheader87
  store i32 2, ptr %6, align 4, !tbaa !5
  br label %..loopexit82_crit_edge

..loopexit82_crit_edge:                           ; preds = %65, %.preheader87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  %66 = tail call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %29, ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %0)
  store i32 %66, ptr %9, align 4, !tbaa !5
  %67 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %.loopexit94

68:                                               ; preds = %.preheader89
  store i32 2, ptr %6, align 4, !tbaa !5
  br label %..loopexit83_crit_edge

..loopexit83_crit_edge:                           ; preds = %68, %.preheader89
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  %69 = tail call noundef i32 @_ZN12_GLOBAL__N_117match_generics_ppERK4SpanRKN3HIR10PathParamsES6_RKNS3_19ResolvePlaceholdersERNS3_13MatchGenericsE(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %0)
  store i32 %69, ptr %10, align 4, !tbaa !5
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %10)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  br label %.loopexit94

.loopexit94:                                      ; preds = %..loopexit83_crit_edge, %..loopexit82_crit_edge, %..loopexit81_crit_edge, %..loopexit_crit_edge, %.lr.ph, %13
  %71 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %71, label %72, label %79

72:                                               ; preds = %.loopexit94
  %73 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %74 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %73, ptr noundef nonnull @__FUNCTION__._ZN3HIR13MatchGenerics8cmp_pathERK4SpanRKNS_4PathES6_RKNS_19ResolvePlaceholdersE)
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %74, ptr noundef nonnull @.str.75)
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3HIRlsERSoRKNS_7CompareE(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %78 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %79

79:                                               ; preds = %72, %.loopexit94
  %80 = load i32, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #7
  ret i32 %80
}

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(4) ptr @_ZN3HIRaNERNS_7CompareERKS0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #6

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

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

; 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 #4 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)) #0

; 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 #4 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)) #0

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


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