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

; 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.ResolveModuleRef = type { i32, %"union.ResolveModuleRef::DataUnion" }
%"union.ResolveModuleRef::DataUnion" = type { ptr }
%class.ResolveItemRef_Macro = type { i32, %"union.ResolveItemRef_Macro::DataUnion" }
%"union.ResolveItemRef_Macro::DataUnion" = 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 { ptr, ptr }
%"struct.(anonymous namespace)::ResolveState" = type { ptr, ptr, %"class.std::vector.25" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ResolveItemRef = type { i32, %"union.ResolveItemRef::DataUnion" }
%"union.ResolveItemRef::DataUnion" = type { %class.ResolveItemRef_Type }
%class.ResolveItemRef_Type = type { i32, %"union.ResolveItemRef_Type::DataUnion" }
%"union.ResolveItemRef_Type::DataUnion" = type { ptr }
%"struct.ResolveItemRef_Macro::Data_None" = type { i8 }
%struct.Span = type { ptr }
%class.anon.107 = type { ptr }
%class.anon.161 = type { ptr }
%class.anon.162 = type { i8 }

@__func__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE = external hidden unnamed_addr constant [133 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveStateC2ERK4SpanRKN3AST5CrateE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1112)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState10get_moduleERKN3AST4PathES4_bPNS1_12AbsolutePathEb(ptr dead_on_unwind noalias writable sret(%class.ResolveModuleRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240), i1 noundef zeroext, ptr noundef, i1 noundef zeroext) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef_Macro) align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2, ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef %4, ptr noundef %5) #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %class.TraceLog, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.(anonymous namespace)::ResolveState", align 8
  %19 = alloca ptr, align 8
  %20 = alloca %class.ResolveModuleRef, align 8
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca i8, align 1
  %25 = alloca ptr, align 8
  %26 = alloca %class.ResolveItemRef, align 8
  %27 = alloca %"struct.ResolveItemRef_Macro::Data_None", align 1
  %28 = alloca %struct.Span, align 8
  %29 = alloca %"class.std::function", align 8
  %30 = alloca %class.anon.107, align 8
  %31 = alloca i8, align 1
  %32 = alloca ptr, align 8
  %33 = alloca %class.ResolveItemRef, align 8
  %34 = alloca %"struct.ResolveItemRef_Macro::Data_None", align 1
  %35 = alloca %struct.Span, align 8
  %36 = alloca %"class.std::function", align 8
  %37 = alloca %class.anon.161, align 8
  %38 = alloca i8, align 1
  %39 = alloca ptr, align 8
  %40 = alloca %struct.Span, align 8
  %41 = alloca %"class.std::function", align 8
  %42 = alloca %class.anon.162, align 1
  %43 = alloca i8, align 1
  %44 = alloca ptr, align 8
  %45 = alloca %"struct.ResolveItemRef_Macro::Data_None", align 1
  %46 = alloca %"struct.ResolveItemRef_Macro::Data_None", align 1
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #7
  %47 = call noundef zeroext i1 @_Z13debug_enabledv()
  %48 = zext i1 %47 to i64
  %49 = select i1 %47, ptr @__func__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #7
  %50 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 0
  store ptr %4, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds %class.anon, ptr %15, i32 0, i32 1
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %52, ptr %51, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(16) %15) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef %49, ptr noundef %14)
          to label %53 unwind label %69

53:                                               ; preds = %6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #7
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveStateC2ERK4SpanRKN3AST5CrateE(ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef nonnull align 8 dereferenceable(1112) %55)
          to label %56 unwind label %73

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %57 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %4)
          to label %58 unwind label %77

58:                                               ; preds = %56
  %59 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN3AST8PathNodeESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %57) #7
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %59)
          to label %61 unwind label %77

61:                                               ; preds = %58
  store ptr %60, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #7
  %62 = load ptr, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveState10get_moduleERKN3AST4PathES4_bPNS1_12AbsolutePathEb(ptr dead_on_unwind writable sret(%class.ResolveModuleRef) align 8 %20, ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(240) %62, ptr noundef nonnull align 8 dereferenceable(240) %4, i1 noundef zeroext true, ptr noundef %63, i1 noundef zeroext false)
          to label %64 unwind label %81

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #7
  store i8 1, ptr %21, align 1, !tbaa !9
  br label %65

65:                                               ; preds = %332, %64
  %66 = load i8, ptr %21, align 1, !tbaa !9, !range !11, !noundef !12
  %67 = trunc i8 %66 to i1
  br i1 %67, label %85, label %68

68:                                               ; preds = %65
  store i32 2, ptr %22, align 4
  br label %333

69:                                               ; preds = %6
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %16, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #7
  br label %346

73:                                               ; preds = %53
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %16, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %17, align 4
  br label %345

77:                                               ; preds = %58, %56
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %16, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %17, align 4
  br label %344

81:                                               ; preds = %61
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %16, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %17, align 4
  br label %343

85:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #7
  store ptr %20, ptr %23, align 8, !tbaa !5
  br label %86

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

89:                                               ; preds = %86
  store i32 5, ptr %22, align 4
  br label %328

90:                                               ; preds = %86
  %91 = load ptr, ptr %23, align 8, !tbaa !5
  %92 = invoke noundef i32 @_ZNK16ResolveModuleRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %91)
          to label %93 unwind label %94

93:                                               ; preds = %90
  switch i32 %92, label %326 [
    i32 0, label %98
    i32 3, label %99
    i32 4, label %176
    i32 2, label %253
    i32 1, label %298
  ]

94:                                               ; preds = %90
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %16, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %17, align 4
  br label %330

98:                                               ; preds = %93
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.5, i32 noundef 826, ptr noundef @__PRETTY_FUNCTION__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE) #8
  unreachable

99:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 1, ptr %24, align 1, !tbaa !9
  br label %100

100:                                              ; preds = %172, %99
  %101 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %102 = trunc i8 %101 to i1
  br i1 %102, label %104, label %103

103:                                              ; preds = %100
  store i32 9, ptr %22, align 4
  br label %173

104:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %105 = load ptr, ptr %23, align 8, !tbaa !5
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN16ResolveModuleRef6as_AstEv(ptr noundef nonnull align 8 dereferenceable(16) %105)
          to label %107 unwind label %113

107:                                              ; preds = %104
  store ptr %106, ptr %25, align 8, !tbaa !5
  br label %108

108:                                              ; preds = %167, %107
  %109 = load ptr, ptr %25, align 8, !tbaa !5
  %110 = load i8, ptr %24, align 1, !tbaa !9, !range !11, !noundef !12
  %111 = trunc i8 %110 to i1
  br i1 %111, label %117, label %112

112:                                              ; preds = %108
  store i32 12, ptr %22, align 4
  br label %168

113:                                              ; preds = %104
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %16, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %17, align 4
  br label %170

117:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  %118 = load ptr, ptr %25, align 8, !tbaa !5
  %119 = load ptr, ptr %118, align 8, !tbaa !5
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveState9find_itemERKN3AST6ModuleERK8RcString16ResolveNamespacePNS1_12AbsolutePathE(ptr dead_on_unwind writable sret(%class.ResolveItemRef) align 8 %26, ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(480) %119, ptr noundef nonnull align 8 dereferenceable(8) %120, i32 noundef 2, ptr noundef %121)
          to label %122 unwind label %127

122:                                              ; preds = %117
  %123 = invoke noundef zeroext i1 @_ZNK14ResolveItemRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %124 unwind label %131

124:                                              ; preds = %122
  br i1 %123, label %125, label %135

125:                                              ; preds = %124
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %126 unwind label %131

126:                                              ; preds = %125
  store i32 1, ptr %22, align 4
  br label %164

127:                                              ; preds = %117
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %16, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %17, align 4
  br label %166

131:                                              ; preds = %161, %145, %136, %125, %122
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %16, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %17, align 4
  br label %165

135:                                              ; preds = %124
  br label %136

136:                                              ; preds = %135
  %137 = invoke noundef zeroext i1 @_ZNK14ResolveItemRef8is_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %138 unwind label %131

138:                                              ; preds = %136
  br i1 %137, label %159, label %139

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %140 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %140)
          to label %141 unwind label %146

141:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %142 = getelementptr inbounds %class.anon.107, ptr %30, i32 0, i32 0
  store ptr %26, ptr %142, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef %29)
          to label %143 unwind label %150

143:                                              ; preds = %141
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %144 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %144, ptr noundef @.str.6)
          to label %145 unwind label %155

145:                                              ; preds = %143
  invoke void @__cxa_throw(ptr %144, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %352 unwind label %131

146:                                              ; preds = %139
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %16, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %17, align 4
  br label %154

150:                                              ; preds = %141
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %16, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br label %154

154:                                              ; preds = %150, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %165

155:                                              ; preds = %143
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %16, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %17, align 4
  call void @__cxa_free_exception(ptr %144) #7
  br label %165

159:                                              ; preds = %138
  br label %160

160:                                              ; preds = %159
  br label %161

161:                                              ; preds = %160
  %162 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN14ResolveItemRef8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %163 unwind label %131

163:                                              ; preds = %161
  call void @_ZN20ResolveItemRef_MacroC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %162) #7
  store i32 1, ptr %22, align 4
  br label %164

164:                                              ; preds = %163, %126
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %168

165:                                              ; preds = %155, %154, %131
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %166

166:                                              ; preds = %165, %127
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %170

167:                                              ; No predecessors!
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %108, !llvm.loop !13

168:                                              ; preds = %164, %112
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  %169 = load i32, ptr %22, align 4
  switch i32 %169, label %173 [
    i32 12, label %171
  ]

170:                                              ; preds = %166, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  br label %330

171:                                              ; preds = %168
  br label %172

172:                                              ; preds = %171
  store i8 0, ptr %24, align 1, !tbaa !9
  br label %100, !llvm.loop !15

173:                                              ; preds = %168, %103
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #7
  %174 = load i32, ptr %22, align 4
  switch i32 %174, label %328 [
    i32 9, label %175
  ]

175:                                              ; preds = %173
  br label %326

176:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %177

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

180:                                              ; preds = %177
  store i32 17, ptr %22, align 4
  br label %250

181:                                              ; preds = %177
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %182 = load ptr, ptr %23, align 8, !tbaa !5
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN16ResolveModuleRef6as_HirEv(ptr noundef nonnull align 8 dereferenceable(16) %182)
          to label %184 unwind label %190

184:                                              ; preds = %181
  store ptr %183, ptr %32, align 8, !tbaa !5
  br label %185

185:                                              ; preds = %244, %184
  %186 = load ptr, ptr %32, align 8, !tbaa !5
  %187 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %188 = trunc i8 %187 to i1
  br i1 %188, label %194, label %189

189:                                              ; preds = %185
  store i32 20, ptr %22, align 4
  br label %245

190:                                              ; preds = %181
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %16, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %17, align 4
  br label %247

194:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %195 = load ptr, ptr %32, align 8, !tbaa !5
  %196 = load ptr, ptr %195, align 8, !tbaa !5
  %197 = load ptr, ptr %19, align 8, !tbaa !5
  %198 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveState13find_item_hirERKN3HIR6ModuleERK8RcString16ResolveNamespacePN3AST12AbsolutePathE(ptr dead_on_unwind writable sret(%class.ResolveItemRef) align 8 %33, ptr noundef nonnull align 8 dereferenceable(40) %18, ptr noundef nonnull align 8 dereferenceable(216) %196, ptr noundef nonnull align 8 dereferenceable(8) %197, i32 noundef 2, ptr noundef %198)
          to label %199 unwind label %204

199:                                              ; preds = %194
  %200 = invoke noundef zeroext i1 @_ZNK14ResolveItemRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %201 unwind label %208

201:                                              ; preds = %199
  br i1 %200, label %202, label %212

202:                                              ; preds = %201
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %203 unwind label %208

203:                                              ; preds = %202
  store i32 1, ptr %22, align 4
  br label %241

204:                                              ; preds = %194
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %16, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %17, align 4
  br label %243

208:                                              ; preds = %238, %222, %213, %202, %199
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %16, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %17, align 4
  br label %242

212:                                              ; preds = %201
  br label %213

213:                                              ; preds = %212
  %214 = invoke noundef zeroext i1 @_ZNK14ResolveItemRef8is_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %215 unwind label %208

215:                                              ; preds = %213
  br i1 %214, label %236, label %216

216:                                              ; preds = %215
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %217)
          to label %218 unwind label %223

218:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #7
  %219 = getelementptr inbounds %class.anon.161, ptr %37, i32 0, i32 0
  store ptr %33, ptr %219, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(8) %37) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef %36)
          to label %220 unwind label %227

220:                                              ; preds = %218
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  %221 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %221, ptr noundef @.str.6)
          to label %222 unwind label %232

222:                                              ; preds = %220
  invoke void @__cxa_throw(ptr %221, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %352 unwind label %208

223:                                              ; preds = %216
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %16, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %17, align 4
  br label %231

227:                                              ; preds = %218
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %16, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  br label %231

231:                                              ; preds = %227, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %242

232:                                              ; preds = %220
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %16, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %17, align 4
  call void @__cxa_free_exception(ptr %221) #7
  br label %242

236:                                              ; preds = %215
  br label %237

237:                                              ; preds = %236
  br label %238

238:                                              ; preds = %237
  %239 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN14ResolveItemRef8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %33)
          to label %240 unwind label %208

240:                                              ; preds = %238
  call void @_ZN20ResolveItemRef_MacroC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %239) #7
  store i32 1, ptr %22, align 4
  br label %241

241:                                              ; preds = %240, %203
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %245

242:                                              ; preds = %232, %231, %208
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br label %243

243:                                              ; preds = %242, %204
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  br label %247

244:                                              ; No predecessors!
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %185, !llvm.loop !16

245:                                              ; preds = %241, %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  %246 = load i32, ptr %22, align 4
  switch i32 %246, label %250 [
    i32 20, label %248
  ]

247:                                              ; preds = %243, %190
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  br label %330

248:                                              ; preds = %245
  br label %249

249:                                              ; preds = %248
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %177, !llvm.loop !17

250:                                              ; preds = %245, %180
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  %251 = load i32, ptr %22, align 4
  switch i32 %251, label %328 [
    i32 17, label %252
  ]

252:                                              ; preds = %250
  br label %326

253:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  store i8 1, ptr %38, align 1, !tbaa !9
  br label %254

254:                                              ; preds = %296, %253
  %255 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %256 = trunc i8 %255 to i1
  br i1 %256, label %258, label %257

257:                                              ; preds = %254
  store i32 25, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  br label %297

258:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #7
  %259 = load ptr, ptr %23, align 8, !tbaa !5
  %260 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN16ResolveModuleRef18as_ImplicitPreludeEv(ptr noundef nonnull align 8 dereferenceable(16) %259)
          to label %261 unwind label %267

261:                                              ; preds = %258
  store ptr %260, ptr %39, align 8, !tbaa !5
  br label %262

262:                                              ; preds = %293, %261
  %263 = load ptr, ptr %39, align 8, !tbaa !5
  %264 = load i8, ptr %38, align 1, !tbaa !9, !range !11, !noundef !12
  %265 = trunc i8 %264 to i1
  br i1 %265, label %271, label %266

266:                                              ; preds = %262
  store i32 28, ptr %22, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  br label %295

267:                                              ; preds = %277, %258
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %16, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %17, align 4
  br label %294

271:                                              ; preds = %262
  br label %272

272:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #7
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %273)
          to label %274 unwind label %278

274:                                              ; preds = %272
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 1 dereferenceable(1) %42) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef %41)
          to label %275 unwind label %282

275:                                              ; preds = %274
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  %276 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %276, ptr noundef @.str.6)
          to label %277 unwind label %287

277:                                              ; preds = %275
  invoke void @__cxa_throw(ptr %276, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %352 unwind label %267

278:                                              ; preds = %272
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %16, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %17, align 4
  br label %286

282:                                              ; preds = %274
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %16, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %17, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #7
  br label %286

286:                                              ; preds = %282, %278
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #7
  br label %294

287:                                              ; preds = %275
  %288 = landingpad { ptr, i32 }
          cleanup
  %289 = extractvalue { ptr, i32 } %288, 0
  store ptr %289, ptr %16, align 8
  %290 = extractvalue { ptr, i32 } %288, 1
  store i32 %290, ptr %17, align 4
  call void @__cxa_free_exception(ptr %276) #7
  br label %294

291:                                              ; No predecessors!
  br label %292

292:                                              ; preds = %291
  br label %293

293:                                              ; preds = %292
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %262, !llvm.loop !18

294:                                              ; preds = %287, %286, %267
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  br label %330

295:                                              ; preds = %266
  br label %296

296:                                              ; preds = %295
  store i8 0, ptr %38, align 1, !tbaa !9
  br label %254, !llvm.loop !19

297:                                              ; preds = %257
  br label %326

298:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #7
  store i8 1, ptr %43, align 1, !tbaa !9
  br label %299

299:                                              ; preds = %322, %298
  %300 = load i8, ptr %43, align 1, !tbaa !9, !range !11, !noundef !12
  %301 = trunc i8 %300 to i1
  br i1 %301, label %303, label %302

302:                                              ; preds = %299
  store i32 33, ptr %22, align 4
  br label %323

303:                                              ; preds = %299
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #7
  %304 = load ptr, ptr %23, align 8, !tbaa !5
  %305 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN16ResolveModuleRef7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %304)
          to label %306 unwind label %312

306:                                              ; preds = %303
  store ptr %305, ptr %44, align 8, !tbaa !5
  br label %307

307:                                              ; preds = %318, %306
  %308 = load ptr, ptr %44, align 8, !tbaa !5
  %309 = load i8, ptr %43, align 1, !tbaa !9, !range !11, !noundef !12
  %310 = trunc i8 %309 to i1
  br i1 %310, label %316, label %311

311:                                              ; preds = %307
  store i32 36, ptr %22, align 4
  br label %319

312:                                              ; preds = %316, %303
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %16, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  br label %330

316:                                              ; preds = %307
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %317 unwind label %312

317:                                              ; preds = %316
  store i32 1, ptr %22, align 4
  br label %319

318:                                              ; No predecessors!
  store i8 0, ptr %43, align 1, !tbaa !9
  br label %307, !llvm.loop !20

319:                                              ; preds = %317, %311
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #7
  %320 = load i32, ptr %22, align 4
  switch i32 %320, label %323 [
    i32 36, label %321
  ]

321:                                              ; preds = %319
  br label %322

322:                                              ; preds = %321
  store i8 0, ptr %43, align 1, !tbaa !9
  br label %299, !llvm.loop !21

323:                                              ; preds = %319, %302
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #7
  %324 = load i32, ptr %22, align 4
  switch i32 %324, label %328 [
    i32 33, label %325
  ]

325:                                              ; preds = %323
  br label %326

326:                                              ; preds = %325, %297, %252, %175, %93
  br label %327

327:                                              ; preds = %326
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %86, !llvm.loop !22

328:                                              ; preds = %323, %250, %173, %89
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  %329 = load i32, ptr %22, align 4
  switch i32 %329, label %333 [
    i32 5, label %331
  ]

330:                                              ; preds = %312, %294, %247, %170, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  br label %342

331:                                              ; preds = %328
  br label %332

332:                                              ; preds = %331
  store i8 0, ptr %21, align 1, !tbaa !9
  br label %65, !llvm.loop !23

333:                                              ; preds = %328, %68
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #7
  %334 = load i32, ptr %22, align 4
  switch i32 %334, label %341 [
    i32 2, label %335
  ]

335:                                              ; preds = %333
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %336 unwind label %337

336:                                              ; preds = %335
  store i32 1, ptr %22, align 4
  br label %341

337:                                              ; preds = %335
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %16, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %17, align 4
  br label %342

341:                                              ; preds = %336, %333
  call void @_ZN16ResolveModuleRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @_ZN12_GLOBAL__N_112ResolveStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #7
  ret void

342:                                              ; preds = %337, %330
  call void @_ZN16ResolveModuleRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #7
  br label %343

343:                                              ; preds = %342, %81
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #7
  br label %344

344:                                              ; preds = %343, %77
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @_ZN12_GLOBAL__N_112ResolveStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #7
  br label %345

345:                                              ; preds = %344, %73
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #7
  br label %346

346:                                              ; preds = %345, %69
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #7
  br label %347

347:                                              ; preds = %346
  %348 = load ptr, ptr %16, align 8
  %349 = load i32, ptr %17, align 4
  %350 = insertvalue { ptr, i32 } poison, ptr %348, 0
  %351 = insertvalue { ptr, i32 } %350, i32 %349, 1
  resume { ptr, i32 } %351

352:                                              ; preds = %277, %222, %145
  unreachable
}

declare noundef zeroext i1 @_Z13debug_enabledv() #4

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState9find_itemERKN3AST6ModuleERK8RcString16ResolveNamespacePNS1_12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef_Macro) align 8) #2 align 2

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState13find_item_hirERKN3HIR6ModuleERK8RcString16ResolveNamespacePN3AST12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #2 align 2

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

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

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

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

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

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

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

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

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


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

%class.ResolveModuleRef = type { i32, %"union.ResolveModuleRef::DataUnion" }
%"union.ResolveModuleRef::DataUnion" = type { ptr }
%class.ResolveItemRef_Macro = type { i32, %"union.ResolveItemRef_Macro::DataUnion" }
%"union.ResolveItemRef_Macro::DataUnion" = 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 { ptr, ptr }
%"struct.(anonymous namespace)::ResolveState" = type { ptr, ptr, %"class.std::vector.25" }
%"class.std::vector.25" = type { %"struct.std::_Vector_base.26" }
%"struct.std::_Vector_base.26" = type { %"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::pair<const AST::Module *, RcString>, std::allocator<std::pair<const AST::Module *, RcString>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.ResolveItemRef = type { i32, %"union.ResolveItemRef::DataUnion" }
%"union.ResolveItemRef::DataUnion" = type { %class.ResolveItemRef_Type }
%class.ResolveItemRef_Type = type { i32, %"union.ResolveItemRef_Type::DataUnion" }
%"union.ResolveItemRef_Type::DataUnion" = type { ptr }
%struct.Span = type { ptr }
%class.anon.107 = type { ptr }
%class.anon.161 = type { ptr }
%class.anon.162 = type { i8 }

@__func__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE = external hidden unnamed_addr constant [21 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [77 x i8], align 1
@__PRETTY_FUNCTION__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE = external hidden unnamed_addr constant [133 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveStateC2ERK4SpanRKN3AST5CrateE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1112)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState10get_moduleERKN3AST4PathES4_bPNS1_12AbsolutePathEb(ptr dead_on_unwind noalias writable sret(%class.ResolveModuleRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240), i1 noundef zeroext, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef_Macro) align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2, ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef %4, ptr noundef %5) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon, align 8
  %10 = alloca %"struct.(anonymous namespace)::ResolveState", align 8
  %11 = alloca %class.ResolveModuleRef, align 8
  %12 = alloca %class.ResolveItemRef, align 8
  %13 = alloca %struct.Span, align 8
  %14 = alloca %"class.std::function", align 8
  %15 = alloca %class.anon.107, align 8
  %16 = alloca %class.ResolveItemRef, align 8
  %17 = alloca %struct.Span, align 8
  %18 = alloca %"class.std::function", align 8
  %19 = alloca %class.anon.161, align 8
  %20 = alloca %struct.Span, align 8
  %21 = alloca %"class.std::function", align 8
  %22 = alloca %class.anon.162, align 1
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #7
  %23 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %24 = select i1 %23, ptr @__func__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE, ptr null
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #7
  store ptr %4, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %9, i64 8
  store ptr %3, ptr %25, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(16) %9) #7
  invoke void @_ZN8TraceLogC1EPKcSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %24, ptr noundef nonnull %8)
          to label %26 unwind label %31

26:                                               ; preds = %6
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #7
  call void @_ZN12_GLOBAL__N_112ResolveStateC2ERK4SpanRKN3AST5CrateE(ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2)
  %27 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %4)
          to label %28 unwind label %33

28:                                               ; preds = %26
  %29 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNSt6vectorIN3AST8PathNodeESaIS1_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %27) #7
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %29)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #7
  invoke void @_ZN12_GLOBAL__N_112ResolveState10get_moduleERKN3AST4PathES4_bPNS1_12AbsolutePathEb(ptr dead_on_unwind nonnull writable sret(%class.ResolveModuleRef) align 8 %11, ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(240) %3, ptr noundef nonnull align 8 dereferenceable(240) %4, i1 noundef zeroext true, ptr noundef %5, i1 noundef zeroext false)
          to label %.preheader unwind label %35

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

33:                                               ; preds = %26
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %116

35:                                               ; preds = %28
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %115

.preheader:                                       ; preds = %28
  %37 = call noundef i32 @_ZNK16ResolveModuleRef3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  switch i32 %37, label %.critedge99 [
    i32 0, label %.split.us
    i32 3, label %.split107.us
    i32 4, label %.split109.us
    i32 2, label %.split112.us
    i32 1, label %.split114.us
  ], !llvm.loop !9

.split.us:                                        ; preds = %.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, i32 noundef 826, ptr noundef nonnull @__PRETTY_FUNCTION__._Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE) #8
  unreachable

.split107.us:                                     ; preds = %.preheader
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN16ResolveModuleRef6as_AstEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveState9find_itemERKN3AST6ModuleERK8RcString16ResolveNamespacePNS1_12AbsolutePathE(ptr dead_on_unwind nonnull writable sret(%class.ResolveItemRef) align 8 %12, ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(480) %39, ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 2, ptr noundef %5)
          to label %40 unwind label %43

40:                                               ; preds = %.split107.us
  %41 = call noundef zeroext i1 @_ZNK14ResolveItemRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  br i1 %41, label %42, label %47

42:                                               ; preds = %40
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %63 unwind label %45

43:                                               ; preds = %.split107.us
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %65

45:                                               ; preds = %53, %42
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %64

47:                                               ; preds = %40
  %48 = call noundef zeroext i1 @_ZNK14ResolveItemRef8is_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  br i1 %48, label %61, label %49

49:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %50 unwind label %54

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  store ptr %12, ptr %15, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull %14)
          to label %51 unwind label %56

51:                                               ; preds = %50
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  %52 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull @.str.6)
          to label %53 unwind label %59

53:                                               ; preds = %51
  invoke void @__cxa_throw(ptr nonnull %52, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %118 unwind label %45

54:                                               ; preds = %49
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %58

56:                                               ; preds = %50
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %58

58:                                               ; preds = %56, %54
  %.pn86 = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %64

59:                                               ; preds = %51
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %52) #7
  br label %64

61:                                               ; preds = %47
  %62 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN14ResolveItemRef8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %12)
  call void @_ZN20ResolveItemRef_MacroC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %62) #7
  br label %63

63:                                               ; preds = %42, %61
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %113

64:                                               ; preds = %59, %58, %45
  %.pn88 = phi { ptr, i32 } [ %46, %45 ], [ %60, %59 ], [ %.pn86, %58 ]
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  br label %65

65:                                               ; preds = %64, %43
  %.pn88.pn = phi { ptr, i32 } [ %.pn88, %64 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %114

.split109.us:                                     ; preds = %.preheader
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN16ResolveModuleRef6as_HirEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %16) #7
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  invoke void @_ZN12_GLOBAL__N_112ResolveState13find_item_hirERKN3HIR6ModuleERK8RcString16ResolveNamespacePN3AST12AbsolutePathE(ptr dead_on_unwind nonnull writable sret(%class.ResolveItemRef) align 8 %16, ptr noundef nonnull align 8 dereferenceable(40) %10, ptr noundef nonnull align 8 dereferenceable(216) %67, ptr noundef nonnull align 8 dereferenceable(8) %30, i32 noundef 2, ptr noundef %5)
          to label %68 unwind label %71

68:                                               ; preds = %.split109.us
  %69 = call noundef zeroext i1 @_ZNK14ResolveItemRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  br i1 %69, label %70, label %75

70:                                               ; preds = %68
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %91 unwind label %73

71:                                               ; preds = %.split109.us
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %93

73:                                               ; preds = %81, %70
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %92

75:                                               ; preds = %68
  %76 = call noundef zeroext i1 @_ZNK14ResolveItemRef8is_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  br i1 %76, label %89, label %77

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %78 unwind label %82

78:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #7
  store ptr %16, ptr %19, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_2vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull %18)
          to label %79 unwind label %84

79:                                               ; preds = %78
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  %80 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef nonnull @.str.6)
          to label %81 unwind label %87

81:                                               ; preds = %79
  invoke void @__cxa_throw(ptr nonnull %80, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %118 unwind label %73

82:                                               ; preds = %77
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %78
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %86

86:                                               ; preds = %84, %82
  %.pn81 = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  br label %92

87:                                               ; preds = %79
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %80) #7
  br label %92

89:                                               ; preds = %75
  %90 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN14ResolveItemRef8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @_ZN20ResolveItemRef_MacroC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %90) #7
  br label %91

91:                                               ; preds = %70, %89
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %113

92:                                               ; preds = %87, %86, %73
  %.pn83 = phi { ptr, i32 } [ %74, %73 ], [ %88, %87 ], [ %.pn81, %86 ]
  call void @_ZN14ResolveItemRefD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #7
  br label %93

93:                                               ; preds = %92, %71
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %92 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %16) #7
  br label %114

.split112.us:                                     ; preds = %.preheader
  %94 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN16ResolveModuleRef18as_ImplicitPreludeEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #7
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %1)
          to label %97 unwind label %101

95:                                               ; preds = %100
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %114

97:                                               ; preds = %.split112.us
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %22) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZ20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS7_4PathESB_PNS7_12AbsolutePathEE3$_3vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(1) %22) #7
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull %21)
          to label %98 unwind label %103

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

100:                                              ; preds = %98
  invoke void @__cxa_throw(ptr nonnull %99, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %118 unwind label %95

101:                                              ; preds = %.split112.us
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %105

103:                                              ; preds = %97
  %104 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %22) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br label %105

105:                                              ; preds = %103, %101
  %.pn = phi { ptr, i32 } [ %104, %103 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #7
  br label %114

106:                                              ; preds = %98
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %99) #7
  br label %114

.split114.us:                                     ; preds = %.preheader
  %108 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN16ResolveModuleRef7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %11)
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %113 unwind label %109

109:                                              ; preds = %.split114.us
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %114

.critedge99:                                      ; preds = %.preheader
  invoke void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %0)
          to label %113 unwind label %111

111:                                              ; preds = %.critedge99
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %114

113:                                              ; preds = %.split114.us, %91, %63, %.critedge99
  call void @_ZN16ResolveModuleRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  call void @_ZN12_GLOBAL__N_112ResolveStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  ret void

114:                                              ; preds = %65, %93, %109, %106, %105, %95, %111
  %.pn93 = phi { ptr, i32 } [ %112, %111 ], [ %110, %109 ], [ %.pn83.pn, %93 ], [ %.pn88.pn, %65 ], [ %96, %95 ], [ %107, %106 ], [ %.pn, %105 ]
  call void @_ZN16ResolveModuleRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #7
  br label %115

115:                                              ; preds = %114, %35
  %.pn93.pn = phi { ptr, i32 } [ %.pn93, %114 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #7
  br label %116

116:                                              ; preds = %115, %33
  %.pn93.pn.pn = phi { ptr, i32 } [ %.pn93.pn, %115 ], [ %34, %33 ]
  call void @_ZN12_GLOBAL__N_112ResolveStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #7
  br label %117

117:                                              ; preds = %116, %31
  %.pn93.pn.pn.pn = phi { ptr, i32 } [ %.pn93.pn.pn, %116 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #7
  resume { ptr, i32 } %.pn93.pn.pn.pn

118:                                              ; preds = %100, %81, %53
  unreachable
}

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState9find_itemERKN3AST6ModuleERK8RcString16ResolveNamespacePNS1_12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(480), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN20ResolveItemRef_Macro9make_NoneENS_9Data_NoneE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef_Macro) align 8) local_unnamed_addr #2 align 2

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN12_GLOBAL__N_112ResolveState13find_item_hirERKN3HIR6ModuleERK8RcString16ResolveNamespacePN3AST12AbsolutePathE(ptr dead_on_unwind noalias writable sret(%class.ResolveItemRef) align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(216), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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


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