; LLVM IR from thepowersgang/mrustc :: src/expand (mod)

; 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.MacroRef = type { i32, %"union.MacroRef::DataUnion" }
%"union.MacroRef::DataUnion" = type { ptr }
%struct.LList = type { ptr, ptr }
%struct.Span = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.264 = type { ptr }
%struct.reversion_wrapper = type { ptr }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator.266" }
%"class.__gnu_cxx::__normal_iterator.266" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.272" = type { ptr }
%class.ResolveItemRef_Macro = type { i32, %"union.ResolveItemRef_Macro::DataUnion" }
%"union.ResolveItemRef_Macro::DataUnion" = type { ptr }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.124", %"class.std::unique_ptr.132", %"class.std::vector.119" }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }
%"class.std::unique_ptr.132" = type { %"struct.std::__uniq_ptr_data.133" }
%"struct.std::__uniq_ptr_data.133" = type { %"class.std::__uniq_ptr_impl.134" }
%"class.std::__uniq_ptr_impl.134" = type { %"class.std::tuple.135" }
%"class.std::tuple.135" = type { %"struct.std::_Tuple_impl.136" }
%"struct.std::_Tuple_impl.136" = type { %"struct.std::_Head_base.139" }
%"struct.std::_Head_base.139" = type { ptr }
%"class.std::vector.119" = type { %"struct.std::_Vector_base.120" }
%"struct.std::_Vector_base.120" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.140", %"struct.AST::PathBinding.141" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.140" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.141" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"struct.AST::Named" = type { %struct.Span, %"class.AST::AttributeList", %"class.AST::Visibility", %class.RcString, %class.MacroRulesPtr }
%"class.AST::AttributeList" = type { %"class.std::vector.48" }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Visibility" = type <{ %"class.std::shared_ptr.249", %"class.std::shared_ptr.252", i32, [4 x i8] }>
%"class.std::shared_ptr.249" = type { %"class.std::__shared_ptr.250" }
%"class.std::__shared_ptr.250" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.252" = type { %"class.std::__shared_ptr.253" }
%"class.std::__shared_ptr.253" = type { ptr, %"class.std::__shared_count" }
%class.MacroRulesPtr = type { ptr }
%"class.AST::Module" = type { %"struct.AST::AbsolutePath", %"class.std::vector.59", %"class.std::vector.64", %"class.std::vector.69", %"struct.AST::Module::FileInfo", i8, i8, %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::unordered_map", %"class.std::vector.79", %"class.std::vector.84", %"class.std::vector.89" }
%"class.std::vector.59" = type { %"struct.std::_Vector_base.60" }
%"struct.std::_Vector_base.60" = type { %"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::unique_ptr<AST::Named<AST::Item>>, std::allocator<std::unique_ptr<AST::Named<AST::Item>>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<AST::Module>, std::allocator<std::shared_ptr<AST::Module>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.69" = type { %"struct.std::_Vector_base.70" }
%"struct.std::_Vector_base.70" = type { %"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Named<MacroRulesPtr>, std::allocator<AST::Named<MacroRulesPtr>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Module::FileInfo" = type { i8, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.79" = type { %"struct.std::_Vector_base.80" }
%"struct.std::_Vector_base.80" = type { %"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::AbsolutePath, std::allocator<AST::AbsolutePath>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.84" = type { %"struct.std::_Vector_base.85" }
%"struct.std::_Vector_base.85" = type { %"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Module::MacroImport, std::allocator<AST::Module::MacroImport>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.89" = type { %"struct.std::_Vector_base.90" }
%"struct.std::_Vector_base.90" = type { %"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Module::Import, std::allocator<AST::Module::Import>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Module::MacroImport" = type { i8, %class.RcString, %"struct.AST::AbsolutePath", %class.MacroRef }
%"struct.AST::Path::Class::Data_Absolute" = type { %class.RcString, %"class.std::vector.119" }

@g_debug_indent_level = external global i32, align 4
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE = external hidden unnamed_addr constant [111 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8)) #3

declare noundef zeroext i1 @_Z13debug_enabledv() #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) #4

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE(ptr dead_on_unwind noalias writable sret(%class.MacroRef) align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2, ptr %3, ptr %4, ptr noundef nonnull align 8 dereferenceable(240) %5) #3 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca %struct.LList, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %struct.Span, align 8
  %13 = alloca %"class.std::function", align 8
  %14 = alloca %class.anon.264, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca %struct.reversion_wrapper, align 8
  %24 = alloca %"class.std::reverse_iterator", align 8
  %25 = alloca %struct.reversion_wrapper, align 8
  %26 = alloca %"class.std::reverse_iterator", align 8
  %27 = alloca %struct.reversion_wrapper, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i1, align 1
  %30 = alloca ptr, align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.272", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.272", align 8
  %33 = alloca ptr, align 8
  %34 = alloca %class.MacroRef, align 8
  %35 = alloca ptr, align 8
  %36 = alloca ptr, align 8
  %37 = alloca %class.ResolveItemRef_Macro, align 8
  %38 = alloca %"class.AST::Path", align 8
  %39 = alloca %"class.AST::Path", align 8
  %40 = alloca i8, align 1
  %41 = alloca ptr, align 8
  %42 = alloca i8, align 1
  %43 = alloca ptr, align 8
  %44 = alloca i8, align 1
  %45 = alloca ptr, align 8
  %46 = alloca i8, align 1
  %47 = alloca ptr, align 8
  %48 = alloca i8, align 1
  %49 = alloca ptr, align 8
  store ptr %0, ptr %7, align 8
  %50 = getelementptr inbounds { ptr, ptr }, ptr %8, i32 0, i32 0
  store ptr %3, ptr %50, align 8
  %51 = getelementptr inbounds { ptr, ptr }, ptr %8, i32 0, i32 1
  store ptr %4, ptr %51, align 8
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store ptr %5, ptr %11, align 8, !tbaa !5
  br label %52

52:                                               ; preds = %6
  %53 = load ptr, ptr %11, align 8, !tbaa !5
  %54 = call noundef i64 @_ZNK3AST4Path4sizeEv(ptr noundef nonnull align 8 dereferenceable(240) %53)
  %55 = icmp ugt i64 %54, 0
  br i1 %55, label %71, label %56

56:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #9
  %57 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %58 = getelementptr inbounds %class.anon.264, ptr %14, i32 0, i32 0
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %59, ptr %58, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS7_6ModuleEERKNS7_4PathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #9
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %13)
          to label %60 unwind label %63

60:                                               ; preds = %56
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  %61 = call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %61, ptr noundef @.str.11)
          to label %62 unwind label %67

62:                                               ; preds = %60
  call void @__cxa_throw(ptr %61, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
  unreachable

63:                                               ; preds = %56
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %15, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %16, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #9
  br label %482

67:                                               ; preds = %60
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %15, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %16, align 4
  call void @__cxa_free_exception(ptr %61) #9
  br label %482

71:                                               ; preds = %52
  br label %72

72:                                               ; preds = %71
  %73 = load ptr, ptr %11, align 8, !tbaa !5
  %74 = call noundef zeroext i1 @_ZNK3AST4Path10is_trivialEv(ptr noundef nonnull align 8 dereferenceable(240) %73)
  br i1 %74, label %75, label %277

75:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  %76 = load ptr, ptr %11, align 8, !tbaa !5
  %77 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST4Path10as_trivialEv(ptr noundef nonnull align 8 dereferenceable(240) %76)
  store ptr %77, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #9
  %78 = load ptr, ptr %17, align 8, !tbaa !5
  %79 = call noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %78)
  store ptr %79, ptr %18, align 8, !tbaa !5
  %80 = load ptr, ptr %18, align 8, !tbaa !5
  %81 = icmp ne ptr %80, null
  br i1 %81, label %82, label %95

82:                                               ; preds = %75
  br label %83

83:                                               ; preds = %82
  %84 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %84, label %85, label %91

85:                                               ; preds = %83
  %86 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %87 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %86, ptr noundef @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef @.str.12)
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @_ZSt3decRSt8ios_base)
  %90 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %89, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %91

91:                                               ; preds = %85, %83
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  %94 = load ptr, ptr %18, align 8, !tbaa !5
  call void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %94)
  store i32 1, ptr %19, align 4
  br label %96

95:                                               ; preds = %75
  store i32 0, ptr %19, align 4
  br label %96

96:                                               ; preds = %95, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #9
  %97 = load i32, ptr %19, align 4
  switch i32 %97, label %274 [
    i32 0, label %98
  ]

98:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  store ptr %8, ptr %20, align 8, !tbaa !5
  br label %99

99:                                               ; preds = %250, %98
  %100 = load ptr, ptr %20, align 8, !tbaa !5
  %101 = icmp ne ptr %100, null
  br i1 %101, label %103, label %102

102:                                              ; preds = %99
  store i32 6, ptr %19, align 4
  br label %255

103:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #9
  %104 = load ptr, ptr %20, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.LList, ptr %104, i32 0, i32 1
  %106 = load ptr, ptr %105, align 8, !tbaa !11
  store ptr %106, ptr %21, align 8, !tbaa !5
  br label %107

107:                                              ; preds = %103
  %108 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %108, label %109, label %118

109:                                              ; preds = %107
  %110 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %110, ptr noundef @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef @.str.13)
  %113 = load ptr, ptr %21, align 8, !tbaa !5
  %114 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %113)
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(32) %114)
  %116 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %115, ptr noundef @_ZSt3decRSt8ios_base)
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %118

118:                                              ; preds = %109, %107
  br label %119

119:                                              ; preds = %118
  br label %120

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  %121 = load ptr, ptr %21, align 8, !tbaa !5
  %122 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST6Module6macrosEv(ptr noundef nonnull align 8 dereferenceable(480) %121)
  %123 = call ptr @_Z7reverseIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEE17reversion_wrapperIT_EOSA_(ptr noundef nonnull align 8 dereferenceable(24) %122)
  %124 = getelementptr inbounds %struct.reversion_wrapper, ptr %23, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  store ptr %23, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #9
  %125 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %25, ptr align 8 %125, i64 8, i1 false), !tbaa.struct !13
  %126 = getelementptr inbounds %struct.reversion_wrapper, ptr %25, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8
  call void @_Z5beginIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %24, ptr %127)
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  %128 = load ptr, ptr %22, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %27, ptr align 8 %128, i64 8, i1 false), !tbaa.struct !13
  %129 = getelementptr inbounds %struct.reversion_wrapper, ptr %27, i32 0, i32 0
  %130 = load ptr, ptr %129, align 8
  call void @_Z3endIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind writable sret(%"class.std::reverse_iterator") align 8 %26, ptr %130)
  br label %131

131:                                              ; preds = %166, %120
  %132 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEbRKSt16reverse_iteratorIT_ESG_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %26)
  br i1 %132, label %134, label %133

133:                                              ; preds = %131
  store i32 11, ptr %19, align 4
  br label %168

134:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  %135 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %24)
  store ptr %135, ptr %28, align 8, !tbaa !5
  %136 = load ptr, ptr %28, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.AST::Named", ptr %136, i32 0, i32 3
  %138 = load ptr, ptr %17, align 8, !tbaa !5
  %139 = call noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef nonnull align 8 dereferenceable(8) %138)
  br i1 %139, label %140, label %162

140:                                              ; preds = %134
  br label %141

141:                                              ; preds = %140
  %142 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %142, label %143, label %156

143:                                              ; preds = %141
  %144 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %144, ptr noundef @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %146 = load ptr, ptr %21, align 8, !tbaa !5
  %147 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %146)
  %148 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(8) %145, ptr noundef nonnull align 8 dereferenceable(32) %147)
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @.str.14)
  %150 = load ptr, ptr %28, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.AST::Named", ptr %150, i32 0, i32 3
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %149, ptr noundef nonnull align 8 dereferenceable(8) %151)
  %153 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %152, ptr noundef @.str.15)
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef @_ZSt3decRSt8ios_base)
  %155 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %154, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %156

156:                                              ; preds = %143, %141
  br label %157

157:                                              ; preds = %156
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %28, align 8, !tbaa !5
  %160 = getelementptr inbounds %"struct.AST::Named", ptr %159, i32 0, i32 4
  %161 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK13MacroRulesPtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %160)
  call void @_ZN8MacroRefC2EPK10MacroRules(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %161)
  store i32 1, ptr %19, align 4
  br label %163

162:                                              ; preds = %134
  store i32 0, ptr %19, align 4
  br label %163

163:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  %164 = load i32, ptr %19, align 4
  switch i32 %164, label %168 [
    i32 0, label %165
  ]

165:                                              ; preds = %163
  br label %166

166:                                              ; preds = %165
  %167 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %24)
  br label %131

168:                                              ; preds = %163, %133
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #9
  %169 = load i32, ptr %19, align 4
  switch i32 %169, label %247 [
    i32 11, label %170
  ]

170:                                              ; preds = %168
  store i1 false, ptr %29, align 1
  call void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %171 = load ptr, ptr %21, align 8, !tbaa !5
  %172 = getelementptr inbounds %"class.AST::Module", ptr %171, i32 0, i32 12
  store ptr %172, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %173 = load ptr, ptr %30, align 8, !tbaa !5
  %174 = call ptr @_ZNKSt6vectorIN3AST6Module11MacroImportESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %173) #9
  %175 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.272", ptr %31, i32 0, i32 0
  store ptr %174, ptr %175, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %176 = load ptr, ptr %30, align 8, !tbaa !5
  %177 = call ptr @_ZNKSt6vectorIN3AST6Module11MacroImportESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %176) #9
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.272", ptr %32, i32 0, i32 0
  store ptr %177, ptr %178, align 8
  br label %179

179:                                              ; preds = %231, %170
  %180 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #9
  br i1 %180, label %182, label %181

181:                                              ; preds = %179
  store i32 15, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %234

182:                                              ; preds = %179
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %183 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  store ptr %183, ptr %33, align 8, !tbaa !5
  %184 = load ptr, ptr %33, align 8, !tbaa !5
  %185 = getelementptr inbounds %"struct.AST::Module::MacroImport", ptr %184, i32 0, i32 1
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull align 8 dereferenceable(8) %186)
          to label %188 unwind label %209

188:                                              ; preds = %182
  br i1 %187, label %189, label %230

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  %191 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %192 unwind label %209

192:                                              ; preds = %190
  br i1 %191, label %193, label %213

193:                                              ; preds = %192
  %194 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %194, ptr noundef @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
          to label %196 unwind label %209

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

198:                                              ; preds = %196
  %199 = load ptr, ptr %33, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.AST::Module::MacroImport", ptr %199, i32 0, i32 1
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %197, ptr noundef nonnull align 8 dereferenceable(8) %200)
          to label %202 unwind label %209

202:                                              ; preds = %198
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef @.str.17)
          to label %204 unwind label %209

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

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

208:                                              ; preds = %206
  br label %213

209:                                              ; preds = %206, %204, %202, %198, %196, %193, %190, %182
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %15, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %16, align 4
  br label %233

213:                                              ; preds = %208, %192
  br label %214

214:                                              ; preds = %213
  br label %215

215:                                              ; preds = %214
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #9
  %216 = load ptr, ptr %33, align 8, !tbaa !5
  %217 = getelementptr inbounds %"struct.AST::Module::MacroImport", ptr %216, i32 0, i32 3
  invoke void @_ZNK8MacroRef5cloneEv(ptr dead_on_unwind writable sret(%class.MacroRef) align 8 %34, ptr noundef nonnull align 8 dereferenceable(16) %217)
          to label %218 unwind label %221

218:                                              ; preds = %215
  %219 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZN8MacroRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %34)
          to label %220 unwind label %225

220:                                              ; preds = %218
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  br label %230

221:                                              ; preds = %215
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %15, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %16, align 4
  br label %229

225:                                              ; preds = %218
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %15, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %16, align 4
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #9
  br label %229

229:                                              ; preds = %225, %221
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #9
  br label %233

230:                                              ; preds = %220, %188
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %231

231:                                              ; preds = %230
  %232 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #9
  br label %179

233:                                              ; preds = %229, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  br label %254

234:                                              ; preds = %181
  %235 = invoke noundef zeroext i1 @_ZNK8MacroRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %236 unwind label %238

236:                                              ; preds = %234
  br i1 %235, label %242, label %237

237:                                              ; preds = %236
  store i1 true, ptr %29, align 1
  store i32 1, ptr %19, align 4
  br label %243

238:                                              ; preds = %234
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %15, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %16, align 4
  br label %254

242:                                              ; preds = %236
  store i32 0, ptr %19, align 4
  br label %243

243:                                              ; preds = %242, %237
  %244 = load i1, ptr %29, align 1
  br i1 %244, label %246, label %245

245:                                              ; preds = %243
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  br label %246

246:                                              ; preds = %245, %243
  br label %247

247:                                              ; preds = %246, %168
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  %248 = load i32, ptr %19, align 4
  switch i32 %248, label %255 [
    i32 0, label %249
  ]

249:                                              ; preds = %247
  br label %250

250:                                              ; preds = %249
  %251 = load ptr, ptr %20, align 8, !tbaa !5
  %252 = getelementptr inbounds %struct.LList, ptr %251, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8, !tbaa !14
  store ptr %253, ptr %20, align 8, !tbaa !5
  br label %99, !llvm.loop !15

254:                                              ; preds = %238, %233
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  br label %482

255:                                              ; preds = %247, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  %256 = load i32, ptr %19, align 4
  switch i32 %256, label %274 [
    i32 6, label %257
  ]

257:                                              ; preds = %255
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = getelementptr inbounds %"class.AST::Path", ptr %258, i32 0, i32 1
  %260 = call noundef zeroext i1 @_ZNK3AST4Path5Class8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(48) %259)
  br i1 %260, label %261, label %273

261:                                              ; preds = %257
  br label %262

262:                                              ; preds = %261
  %263 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %263, label %264, label %270

264:                                              ; preds = %262
  %265 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %266 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %265, ptr noundef @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %267 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %266, ptr noundef @.str.18)
  %268 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %267, ptr noundef @_ZSt3decRSt8ios_base)
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %268, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %270

270:                                              ; preds = %264, %262
  br label %271

271:                                              ; preds = %270
  br label %272

272:                                              ; preds = %271
  call void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 1, ptr %19, align 4
  br label %274

273:                                              ; preds = %257
  store i32 0, ptr %19, align 4
  br label %274

274:                                              ; preds = %273, %272, %255, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  %275 = load i32, ptr %19, align 4
  switch i32 %275, label %487 [
    i32 0, label %276
    i32 1, label %481
  ]

276:                                              ; preds = %274
  br label %277

277:                                              ; preds = %276, %72
  %278 = load ptr, ptr %11, align 8, !tbaa !5
  %279 = call noundef zeroext i1 @_ZNK3AST4Path11is_absoluteEv(ptr noundef nonnull align 8 dereferenceable(240) %278)
  br i1 %279, label %280, label %309

280:                                              ; preds = %277
  %281 = load ptr, ptr %11, align 8, !tbaa !5
  %282 = getelementptr inbounds %"class.AST::Path", ptr %281, i32 0, i32 1
  %283 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %282)
  %284 = getelementptr inbounds %"struct.AST::Path::Class::Data_Absolute", ptr %283, i32 0, i32 0
  %285 = call noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %284, ptr noundef @.str.19)
  br i1 %285, label %286, label %309

286:                                              ; preds = %280
  %287 = load ptr, ptr %11, align 8, !tbaa !5
  %288 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %287)
  %289 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %288) #9
  %290 = icmp eq i64 %289, 1
  br i1 %290, label %291, label %309

291:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #9
  %292 = load ptr, ptr %11, align 8, !tbaa !5
  %293 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %292)
  %294 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %293, i64 noundef 0) #9
  %295 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %294)
  store ptr %295, ptr %35, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %296 = load ptr, ptr %35, align 8, !tbaa !5
  %297 = call noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %296)
  store ptr %297, ptr %36, align 8, !tbaa !5
  %298 = load ptr, ptr %36, align 8, !tbaa !5
  %299 = icmp ne ptr %298, null
  br i1 %299, label %300, label %302

300:                                              ; preds = %291
  %301 = load ptr, ptr %36, align 8, !tbaa !5
  call void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %301)
  store i32 1, ptr %19, align 4
  br label %303

302:                                              ; preds = %291
  store i32 0, ptr %19, align 4
  br label %303

303:                                              ; preds = %302, %300
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  %304 = load i32, ptr %19, align 4
  switch i32 %304, label %306 [
    i32 0, label %305
  ]

305:                                              ; preds = %303
  store i32 0, ptr %19, align 4
  br label %306

306:                                              ; preds = %305, %303
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #9
  %307 = load i32, ptr %19, align 4
  switch i32 %307, label %487 [
    i32 0, label %308
    i32 1, label %481
  ]

308:                                              ; preds = %306
  br label %309

309:                                              ; preds = %308, %286, %280, %277
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #9
  %310 = load ptr, ptr %9, align 8, !tbaa !5
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 240, ptr %38) #9
  %312 = getelementptr inbounds %struct.LList, ptr %8, i32 0, i32 1
  %313 = load ptr, ptr %312, align 8, !tbaa !11
  %314 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %313)
  call void @_ZN3AST4PathC2ERKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(240) %38, ptr noundef nonnull align 8 dereferenceable(32) %314)
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %39, ptr noundef nonnull align 8 dereferenceable(240) %315)
          to label %316 unwind label %322

316:                                              ; preds = %309
  invoke void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8 %37, ptr noundef nonnull align 8 dereferenceable(8) %310, ptr noundef nonnull align 8 dereferenceable(1112) %311, ptr noundef nonnull align 8 dereferenceable(240) %38, ptr noundef %39, ptr noundef null)
          to label %317 unwind label %326

317:                                              ; preds = %316
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %39) #9
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %38) #9
  call void @llvm.lifetime.end.p0(i64 240, ptr %38) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #9
  store i8 1, ptr %40, align 1, !tbaa !17
  br label %318

318:                                              ; preds = %469, %317
  %319 = load i8, ptr %40, align 1, !tbaa !17, !range !19, !noundef !20
  %320 = trunc i8 %319 to i1
  br i1 %320, label %331, label %321

321:                                              ; preds = %318
  store i32 21, ptr %19, align 4
  br label %470

322:                                              ; preds = %309
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %15, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %16, align 4
  br label %330

326:                                              ; preds = %316
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %15, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %16, align 4
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %39) #9
  br label %330

330:                                              ; preds = %326, %322
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %38) #9
  call void @llvm.lifetime.end.p0(i64 240, ptr %38) #9
  br label %480

331:                                              ; preds = %318
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #9
  store ptr %37, ptr %41, align 8, !tbaa !5
  br label %332

332:                                              ; preds = %464, %331
  %333 = load i8, ptr %40, align 1, !tbaa !17, !range !19, !noundef !20
  %334 = trunc i8 %333 to i1
  br i1 %334, label %336, label %335

335:                                              ; preds = %332
  store i32 24, ptr %19, align 4
  br label %465

336:                                              ; preds = %332
  %337 = load ptr, ptr %41, align 8, !tbaa !5
  %338 = invoke noundef i32 @_ZNK20ResolveItemRef_Macro3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %337)
          to label %339 unwind label %340

339:                                              ; preds = %336
  switch i32 %338, label %463 [
    i32 0, label %344
    i32 1, label %345
    i32 2, label %373
    i32 3, label %403
    i32 4, label %433
  ]

340:                                              ; preds = %336
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %15, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %16, align 4
  br label %467

344:                                              ; preds = %339
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 388, ptr noundef @__PRETTY_FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE) #11
  unreachable

345:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #9
  store i8 1, ptr %42, align 1, !tbaa !17
  br label %346

346:                                              ; preds = %369, %345
  %347 = load i8, ptr %42, align 1, !tbaa !17, !range !19, !noundef !20
  %348 = trunc i8 %347 to i1
  br i1 %348, label %350, label %349

349:                                              ; preds = %346
  store i32 28, ptr %19, align 4
  br label %370

350:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #9
  %351 = load ptr, ptr %41, align 8, !tbaa !5
  %352 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN20ResolveItemRef_Macro7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %351)
          to label %353 unwind label %359

353:                                              ; preds = %350
  store ptr %352, ptr %43, align 8, !tbaa !5
  br label %354

354:                                              ; preds = %365, %353
  %355 = load ptr, ptr %43, align 8, !tbaa !5
  %356 = load i8, ptr %42, align 1, !tbaa !17, !range !19, !noundef !20
  %357 = trunc i8 %356 to i1
  br i1 %357, label %363, label %358

358:                                              ; preds = %354
  store i32 31, ptr %19, align 4
  br label %366

359:                                              ; preds = %363, %350
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %15, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  br label %467

363:                                              ; preds = %354
  invoke void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %364 unwind label %359

364:                                              ; preds = %363
  store i32 1, ptr %19, align 4
  br label %366

365:                                              ; No predecessors!
  store i8 0, ptr %42, align 1, !tbaa !17
  br label %354, !llvm.loop !21

366:                                              ; preds = %364, %358
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #9
  %367 = load i32, ptr %19, align 4
  switch i32 %367, label %370 [
    i32 31, label %368
  ]

368:                                              ; preds = %366
  br label %369

369:                                              ; preds = %368
  store i8 0, ptr %42, align 1, !tbaa !17
  br label %346, !llvm.loop !22

370:                                              ; preds = %366, %349
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #9
  %371 = load i32, ptr %19, align 4
  switch i32 %371, label %465 [
    i32 28, label %372
  ]

372:                                              ; preds = %370
  br label %463

373:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #9
  store i8 1, ptr %44, align 1, !tbaa !17
  br label %374

374:                                              ; preds = %399, %373
  %375 = load i8, ptr %44, align 1, !tbaa !17, !range !19, !noundef !20
  %376 = trunc i8 %375 to i1
  br i1 %376, label %378, label %377

377:                                              ; preds = %374
  store i32 34, ptr %19, align 4
  br label %400

378:                                              ; preds = %374
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #9
  %379 = load ptr, ptr %41, align 8, !tbaa !5
  %380 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro16as_InternalMacroEv(ptr noundef nonnull align 8 dereferenceable(16) %379)
          to label %381 unwind label %387

381:                                              ; preds = %378
  store ptr %380, ptr %45, align 8, !tbaa !5
  br label %382

382:                                              ; preds = %395, %381
  %383 = load ptr, ptr %45, align 8, !tbaa !5
  %384 = load i8, ptr %44, align 1, !tbaa !17, !range !19, !noundef !20
  %385 = trunc i8 %384 to i1
  br i1 %385, label %391, label %386

386:                                              ; preds = %382
  store i32 37, ptr %19, align 4
  br label %396

387:                                              ; preds = %391, %378
  %388 = landingpad { ptr, i32 }
          cleanup
  %389 = extractvalue { ptr, i32 } %388, 0
  store ptr %389, ptr %15, align 8
  %390 = extractvalue { ptr, i32 } %388, 1
  store i32 %390, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #9
  br label %467

391:                                              ; preds = %382
  %392 = load ptr, ptr %45, align 8, !tbaa !5
  %393 = load ptr, ptr %392, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %393)
          to label %394 unwind label %387

394:                                              ; preds = %391
  store i32 1, ptr %19, align 4
  br label %396

395:                                              ; No predecessors!
  store i8 0, ptr %44, align 1, !tbaa !17
  br label %382, !llvm.loop !23

396:                                              ; preds = %394, %386
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #9
  %397 = load i32, ptr %19, align 4
  switch i32 %397, label %400 [
    i32 37, label %398
  ]

398:                                              ; preds = %396
  br label %399

399:                                              ; preds = %398
  store i8 0, ptr %44, align 1, !tbaa !17
  br label %374, !llvm.loop !24

400:                                              ; preds = %396, %377
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #9
  %401 = load i32, ptr %19, align 4
  switch i32 %401, label %465 [
    i32 34, label %402
  ]

402:                                              ; preds = %400
  br label %463

403:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #9
  store i8 1, ptr %46, align 1, !tbaa !17
  br label %404

404:                                              ; preds = %429, %403
  %405 = load i8, ptr %46, align 1, !tbaa !17, !range !19, !noundef !20
  %406 = trunc i8 %405 to i1
  br i1 %406, label %408, label %407

407:                                              ; preds = %404
  store i32 40, ptr %19, align 4
  br label %430

408:                                              ; preds = %404
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #9
  %409 = load ptr, ptr %41, align 8, !tbaa !5
  %410 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro12as_ProcMacroEv(ptr noundef nonnull align 8 dereferenceable(16) %409)
          to label %411 unwind label %417

411:                                              ; preds = %408
  store ptr %410, ptr %47, align 8, !tbaa !5
  br label %412

412:                                              ; preds = %425, %411
  %413 = load ptr, ptr %47, align 8, !tbaa !5
  %414 = load i8, ptr %46, align 1, !tbaa !17, !range !19, !noundef !20
  %415 = trunc i8 %414 to i1
  br i1 %415, label %421, label %416

416:                                              ; preds = %412
  store i32 43, ptr %19, align 4
  br label %426

417:                                              ; preds = %421, %408
  %418 = landingpad { ptr, i32 }
          cleanup
  %419 = extractvalue { ptr, i32 } %418, 0
  store ptr %419, ptr %15, align 8
  %420 = extractvalue { ptr, i32 } %418, 1
  store i32 %420, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #9
  br label %467

421:                                              ; preds = %412
  %422 = load ptr, ptr %47, align 8, !tbaa !5
  %423 = load ptr, ptr %422, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EPKN3HIR9ProcMacroE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %423)
          to label %424 unwind label %417

424:                                              ; preds = %421
  store i32 1, ptr %19, align 4
  br label %426

425:                                              ; No predecessors!
  store i8 0, ptr %46, align 1, !tbaa !17
  br label %412, !llvm.loop !25

426:                                              ; preds = %424, %416
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #9
  %427 = load i32, ptr %19, align 4
  switch i32 %427, label %430 [
    i32 43, label %428
  ]

428:                                              ; preds = %426
  br label %429

429:                                              ; preds = %428
  store i8 0, ptr %46, align 1, !tbaa !17
  br label %404, !llvm.loop !26

430:                                              ; preds = %426, %407
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #9
  %431 = load i32, ptr %19, align 4
  switch i32 %431, label %465 [
    i32 40, label %432
  ]

432:                                              ; preds = %430
  br label %463

433:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #9
  store i8 1, ptr %48, align 1, !tbaa !17
  br label %434

434:                                              ; preds = %459, %433
  %435 = load i8, ptr %48, align 1, !tbaa !17, !range !19, !noundef !20
  %436 = trunc i8 %435 to i1
  br i1 %436, label %438, label %437

437:                                              ; preds = %434
  store i32 46, ptr %19, align 4
  br label %460

438:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %439 = load ptr, ptr %41, align 8, !tbaa !5
  %440 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro13as_MacroRulesEv(ptr noundef nonnull align 8 dereferenceable(16) %439)
          to label %441 unwind label %447

441:                                              ; preds = %438
  store ptr %440, ptr %49, align 8, !tbaa !5
  br label %442

442:                                              ; preds = %455, %441
  %443 = load ptr, ptr %49, align 8, !tbaa !5
  %444 = load i8, ptr %48, align 1, !tbaa !17, !range !19, !noundef !20
  %445 = trunc i8 %444 to i1
  br i1 %445, label %451, label %446

446:                                              ; preds = %442
  store i32 49, ptr %19, align 4
  br label %456

447:                                              ; preds = %451, %438
  %448 = landingpad { ptr, i32 }
          cleanup
  %449 = extractvalue { ptr, i32 } %448, 0
  store ptr %449, ptr %15, align 8
  %450 = extractvalue { ptr, i32 } %448, 1
  store i32 %450, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  br label %467

451:                                              ; preds = %442
  %452 = load ptr, ptr %49, align 8, !tbaa !5
  %453 = load ptr, ptr %452, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EPK10MacroRules(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %453)
          to label %454 unwind label %447

454:                                              ; preds = %451
  store i32 1, ptr %19, align 4
  br label %456

455:                                              ; No predecessors!
  store i8 0, ptr %48, align 1, !tbaa !17
  br label %442, !llvm.loop !27

456:                                              ; preds = %454, %446
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  %457 = load i32, ptr %19, align 4
  switch i32 %457, label %460 [
    i32 49, label %458
  ]

458:                                              ; preds = %456
  br label %459

459:                                              ; preds = %458
  store i8 0, ptr %48, align 1, !tbaa !17
  br label %434, !llvm.loop !28

460:                                              ; preds = %456, %437
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #9
  %461 = load i32, ptr %19, align 4
  switch i32 %461, label %465 [
    i32 46, label %462
  ]

462:                                              ; preds = %460
  br label %463

463:                                              ; preds = %462, %432, %402, %372, %339
  br label %464

464:                                              ; preds = %463
  store i8 0, ptr %40, align 1, !tbaa !17
  br label %332, !llvm.loop !29

465:                                              ; preds = %460, %430, %400, %370, %335
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  %466 = load i32, ptr %19, align 4
  switch i32 %466, label %470 [
    i32 24, label %468
  ]

467:                                              ; preds = %447, %417, %387, %359, %340
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #9
  br label %479

468:                                              ; preds = %465
  br label %469

469:                                              ; preds = %468
  store i8 0, ptr %40, align 1, !tbaa !17
  br label %318, !llvm.loop !30

470:                                              ; preds = %465, %321
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #9
  %471 = load i32, ptr %19, align 4
  switch i32 %471, label %478 [
    i32 21, label %472
  ]

472:                                              ; preds = %470
  invoke void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %473 unwind label %474

473:                                              ; preds = %472
  store i32 1, ptr %19, align 4
  br label %478

474:                                              ; preds = %472
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %15, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %16, align 4
  br label %479

478:                                              ; preds = %473, %470
  call void @_ZN20ResolveItemRef_MacroD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  br label %481

479:                                              ; preds = %474, %467
  call void @_ZN20ResolveItemRef_MacroD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #9
  br label %480

480:                                              ; preds = %479, %330
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #9
  br label %482

481:                                              ; preds = %478, %306, %274
  ret void

482:                                              ; preds = %480, %254, %67, %63
  %483 = load ptr, ptr %15, align 8
  %484 = load i32, ptr %16, align 4
  %485 = insertvalue { ptr, i32 } poison, ptr %483, 0
  %486 = insertvalue { ptr, i32 } %485, i32 %484, 1
  resume { ptr, i32 } %486

487:                                              ; preds = %306, %274
  unreachable
}

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #3

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5beginIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3endIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) #6

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8MacroRef5cloneEv(ptr dead_on_unwind noalias writable sret(%class.MacroRef) align 8, ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #6 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)) #6 align 2

declare void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1112), ptr noundef nonnull align 8 dereferenceable(240), ptr noundef, ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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


; 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.MacroRef = type { i32, %"union.MacroRef::DataUnion" }
%"union.MacroRef::DataUnion" = type { ptr }
%struct.LList = type { ptr, ptr }
%struct.Span = type { ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.264 = type { ptr }
%"class.std::reverse_iterator" = type { %"class.__gnu_cxx::__normal_iterator.266" }
%"class.__gnu_cxx::__normal_iterator.266" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.272" = type { ptr }
%class.ResolveItemRef_Macro = type { i32, %"union.ResolveItemRef_Macro::DataUnion" }
%"union.ResolveItemRef_Macro::DataUnion" = type { ptr }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.124", %"class.std::unique_ptr.132", %"class.std::vector.119" }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }
%"class.std::unique_ptr.132" = type { %"struct.std::__uniq_ptr_data.133" }
%"struct.std::__uniq_ptr_data.133" = type { %"class.std::__uniq_ptr_impl.134" }
%"class.std::__uniq_ptr_impl.134" = type { %"class.std::tuple.135" }
%"class.std::tuple.135" = type { %"struct.std::_Tuple_impl.136" }
%"struct.std::_Tuple_impl.136" = type { %"struct.std::_Head_base.139" }
%"struct.std::_Head_base.139" = type { ptr }
%"class.std::vector.119" = type { %"struct.std::_Vector_base.120" }
%"struct.std::_Vector_base.120" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.140", %"struct.AST::PathBinding.141" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.140" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.141" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.11 = external hidden unnamed_addr constant [17 x i8], align 1
@_ZTISt13runtime_error = external constant ptr
@__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@__PRETTY_FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE = external hidden unnamed_addr constant [111 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE(ptr dead_on_unwind noalias writable sret(%class.MacroRef) align 8 %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2, ptr %3, ptr %4, ptr noundef nonnull align 8 dereferenceable(240) %5) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %7 = alloca %struct.LList, align 8
  %8 = alloca %struct.Span, align 8
  %9 = alloca %"class.std::function", align 8
  %10 = alloca %class.anon.264, align 8
  %11 = alloca %"class.std::reverse_iterator", align 8
  %12 = alloca %"class.std::reverse_iterator", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.272", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.272", align 8
  %15 = alloca %class.MacroRef, align 8
  %16 = alloca %class.ResolveItemRef_Macro, align 8
  %17 = alloca %"class.AST::Path", align 8
  %18 = alloca %"class.AST::Path", align 8
  store ptr %3, ptr %7, align 8
  %19 = getelementptr inbounds i8, ptr %7, i64 8
  store ptr %4, ptr %19, align 8
  %20 = tail call noundef i64 @_ZNK3AST4Path4sizeEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  %.not = icmp eq i64 %20, 0
  br i1 %.not, label %21, label %29

21:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #8
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  store ptr %5, ptr %10, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS7_6ModuleEERKNS7_4PathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  invoke void @_ZNK4Span3bugESt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull %9)
          to label %22 unwind label %25

22:                                               ; preds = %21
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  %23 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull @.str.11)
          to label %24 unwind label %27

24:                                               ; preds = %22
  call void @__cxa_throw(ptr nonnull %23, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
  unreachable

25:                                               ; preds = %21
  %26 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #8
  br label %171

27:                                               ; preds = %22
  %28 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %23) #8
  br label %171

29:                                               ; preds = %6
  %30 = tail call noundef zeroext i1 @_ZNK3AST4Path10is_trivialEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  br i1 %30, label %31, label %127

31:                                               ; preds = %29
  %32 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST4Path10as_trivialEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  %33 = tail call noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %32)
  %.not118 = icmp eq ptr %33, null
  br i1 %.not118, label %.critedge.preheader, label %34

34:                                               ; preds = %31
  %35 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %35, label %36, label %42

36:                                               ; preds = %34
  %37 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %38 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %37, ptr noundef nonnull @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %39 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull @.str.12)
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %41 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %42

42:                                               ; preds = %36, %34
  tail call void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %33)
  br label %.thread146

.critedge.preheader:                              ; preds = %31, %.critedge
  %.0111165 = phi ptr [ %114, %.critedge ], [ %7, %31 ]
  %43 = getelementptr inbounds i8, ptr %.0111165, i64 8
  %44 = load ptr, ptr %43, align 8, !tbaa !11
  %45 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %45, label %46, label %54

46:                                               ; preds = %.critedge.preheader
  %47 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %47, ptr noundef nonnull @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %49 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str.13)
  %50 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %44)
  %51 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(32) %50)
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %54

54:                                               ; preds = %46, %.critedge.preheader
  %55 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST6Module6macrosEv(ptr noundef nonnull align 8 dereferenceable(480) %44)
  %56 = call ptr @_Z7reverseIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEE17reversion_wrapperIT_EOSA_(ptr noundef nonnull align 8 dereferenceable(24) %55)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  call void @_Z5beginIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %11, ptr %56)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  call void @_Z3endIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind nonnull writable sret(%"class.std::reverse_iterator") align 8 %12, ptr %56)
  %57 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEbRKSt16reverse_iteratorIT_ESG_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  br i1 %57, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %54, %.critedge131
  %58 = call noundef nonnull align 8 dereferenceable(88) ptr @_ZNKSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  %59 = getelementptr inbounds i8, ptr %58, i64 72
  %60 = call noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %59, ptr noundef nonnull align 8 dereferenceable(8) %32)
  br i1 %60, label %61, label %.critedge131

61:                                               ; preds = %.lr.ph
  %62 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %62, label %63, label %.thread139

63:                                               ; preds = %61
  %64 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %64, ptr noundef nonnull @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %66 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %44)
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3ASTlsERSoRKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull align 8 dereferenceable(32) %66)
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull @.str.14)
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(8) %59)
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %69, ptr noundef nonnull @.str.15)
  %71 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %72 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %.thread139

.thread139:                                       ; preds = %63, %61
  %73 = getelementptr inbounds i8, ptr %58, i64 80
  %74 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK13MacroRulesPtrdeEv(ptr noundef nonnull align 8 dereferenceable(8) %73)
  call void @_ZN8MacroRefC2EPK10MacroRules(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %74)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  br label %.thread146

.critedge131:                                     ; preds = %.lr.ph
  %75 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt16reverse_iteratorIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %11)
  %76 = call noundef zeroext i1 @_ZStneIN9__gnu_cxx17__normal_iteratorIPKN3AST5NamedI13MacroRulesPtrEESt6vectorIS5_SaIS5_EEEEEbRKSt16reverse_iteratorIT_ESG_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %12)
  br i1 %76, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.critedge131, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
  %77 = getelementptr inbounds i8, ptr %44, i64 432
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %78 = call ptr @_ZNKSt6vectorIN3AST6Module11MacroImportESaIS2_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  store ptr %78, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %79 = call ptr @_ZNKSt6vectorIN3AST6Module11MacroImportESaIS2_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %77) #8
  store ptr %79, ptr %14, align 8
  %80 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %80, label %.lr.ph163, label %._crit_edge164

._crit_edge164:                                   ; preds = %110, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  %81 = call noundef zeroext i1 @_ZNK8MacroRef7is_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  br i1 %81, label %.critedge, label %.thread146

.lr.ph163:                                        ; preds = %._crit_edge, %110
  %82 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %83 = getelementptr inbounds i8, ptr %82, i64 8
  %84 = invoke noundef zeroext i1 @_ZNK8RcStringeqERKS_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %32)
          to label %85 unwind label %102

85:                                               ; preds = %.lr.ph163
  br i1 %84, label %86, label %110

86:                                               ; preds = %85
  %87 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %88 unwind label %102

88:                                               ; preds = %86
  br i1 %87, label %89, label %104

89:                                               ; preds = %88
  %90 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %91 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %90, ptr noundef nonnull @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
          to label %92 unwind label %102

92:                                               ; preds = %89
  %93 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull @.str.16)
          to label %94 unwind label %102

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

96:                                               ; preds = %94
  %97 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %95, ptr noundef nonnull @.str.17)
          to label %98 unwind label %102

98:                                               ; preds = %96
  %99 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %97, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %100 unwind label %102

100:                                              ; preds = %98
  %101 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %99, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %104 unwind label %102

102:                                              ; preds = %100, %98, %96, %94, %92, %89, %86, %.lr.ph163
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %113

104:                                              ; preds = %100, %88
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #8
  %105 = getelementptr inbounds i8, ptr %82, i64 48
  invoke void @_ZNK8MacroRef5cloneEv(ptr dead_on_unwind nonnull writable sret(%class.MacroRef) align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %105)
          to label %106 unwind label %108

106:                                              ; preds = %104
  %107 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN8MacroRefaSEOS_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %110

108:                                              ; preds = %104
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #8
  br label %113

110:                                              ; preds = %106, %85
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  %112 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKN3AST6Module11MacroImportESt6vectorIS3_SaIS3_EEEEbRKNS_17__normal_iteratorIT_T0_EESE_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br i1 %112, label %.lr.ph163, label %._crit_edge164

113:                                              ; preds = %108, %102
  %.pn127 = phi { ptr, i32 } [ %109, %108 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #8
  br label %171

.critedge:                                        ; preds = %._crit_edge164
  call void @_ZN8MacroRefD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0) #8
  %114 = load ptr, ptr %.0111165, align 8, !tbaa !13
  %.not119 = icmp eq ptr %114, null
  br i1 %.not119, label %115, label %.critedge.preheader, !llvm.loop !14

115:                                              ; preds = %.critedge
  %116 = getelementptr inbounds i8, ptr %5, i64 8
  %117 = call noundef zeroext i1 @_ZNK3AST4Path5Class8is_LocalEv(ptr noundef nonnull align 8 dereferenceable(48) %116)
  br i1 %117, label %118, label %127

118:                                              ; preds = %115
  %119 = call noundef zeroext i1 @_Z13debug_enabledv()
  br i1 %119, label %120, label %126

120:                                              ; preds = %118
  %121 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !9
  %122 = call noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %121, ptr noundef nonnull @__FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE)
  %123 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %122, ptr noundef nonnull @.str.18)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %123, ptr noundef nonnull @_ZSt3decRSt8ios_base)
  %125 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %124, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  br label %126

126:                                              ; preds = %120, %118
  call void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
  br label %.thread146

127:                                              ; preds = %115, %29
  %128 = call noundef zeroext i1 @_ZNK3AST4Path11is_absoluteEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  br i1 %128, label %129, label %.thread149

129:                                              ; preds = %127
  %130 = getelementptr inbounds i8, ptr %5, i64 8
  %131 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST4Path5Class11as_AbsoluteEv(ptr noundef nonnull align 8 dereferenceable(48) %130)
  %132 = call noundef zeroext i1 @_ZNK8RcStringeqEPKc(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull @.str.19)
  br i1 %132, label %133, label %.thread149

133:                                              ; preds = %129
  %134 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  %135 = call noundef i64 @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #8
  %136 = icmp eq i64 %135, 1
  br i1 %136, label %137, label %.thread149

137:                                              ; preds = %133
  %138 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3AST4Path5nodesEv(ptr noundef nonnull align 8 dereferenceable(240) %5)
  %139 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %138, i64 noundef 0) #8
  %140 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST8PathNode4nameEv(ptr noundef nonnull align 8 dereferenceable(40) %139)
  %141 = call noundef ptr @_Z20Expand_FindProcMacroRK8RcString(ptr noundef nonnull align 8 dereferenceable(8) %140)
  %.not120.not = icmp eq ptr %141, null
  br i1 %.not120.not, label %.thread149, label %142

142:                                              ; preds = %137
  call void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %141)
  br label %.thread146

.thread149:                                       ; preds = %137, %133, %129, %127
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %17) #8
  %143 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK3AST6Module4pathEv(ptr noundef nonnull align 8 dereferenceable(480) %4)
  call void @_ZN3AST4PathC2ERKNS_12AbsolutePathE(ptr noundef nonnull align 8 dereferenceable(240) %17, ptr noundef nonnull align 8 dereferenceable(32) %143)
  invoke void @_ZN3AST4PathC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(240) %18, ptr noundef nonnull align 8 dereferenceable(240) %5)
          to label %144 unwind label %146

144:                                              ; preds = %.thread149
  invoke void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind nonnull writable sret(%class.ResolveItemRef_Macro) align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef nonnull align 8 dereferenceable(1112) %2, ptr noundef nonnull align 8 dereferenceable(240) %17, ptr noundef nonnull %18, ptr noundef null)
          to label %.preheader unwind label %148

.preheader:                                       ; preds = %144
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %18) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %17) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %17) #8
  %145 = call noundef i32 @_ZNK20ResolveItemRef_Macro3tagEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  switch i32 %145, label %.critedge137 [
    i32 0, label %.split168.us
    i32 1, label %.split170.us
    i32 2, label %.split172.us
    i32 3, label %.split175.us
    i32 4, label %.split178.us
  ], !llvm.loop !16

146:                                              ; preds = %.thread149
  %147 = landingpad { ptr, i32 }
          cleanup
  br label %150

148:                                              ; preds = %144
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %18) #8
  br label %150

150:                                              ; preds = %148, %146
  %.pn = phi { ptr, i32 } [ %149, %148 ], [ %147, %146 ]
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %17) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %17) #8
  br label %170

.split168.us:                                     ; preds = %.preheader
  call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 388, ptr noundef nonnull @__PRETTY_FUNCTION__._Z18Expand_LookupMacroRK4SpanRKN3AST5CrateE5LListIPKNS2_6ModuleEERKNS2_4PathE) #10
  unreachable

.split170.us:                                     ; preds = %.preheader
  %151 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN20ResolveItemRef_Macro7as_NoneEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  invoke void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %168 unwind label %152

152:                                              ; preds = %.split170.us
  %153 = landingpad { ptr, i32 }
          cleanup
  br label %169

.split172.us:                                     ; preds = %.preheader
  %154 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro16as_InternalMacroEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %155 = load ptr, ptr %154, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EP15ExpandProcMacro(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %155)
          to label %168 unwind label %156

156:                                              ; preds = %.split172.us
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %169

.split175.us:                                     ; preds = %.preheader
  %158 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro12as_ProcMacroEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %159 = load ptr, ptr %158, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EPKN3HIR9ProcMacroE(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %159)
          to label %168 unwind label %160

160:                                              ; preds = %.split175.us
  %161 = landingpad { ptr, i32 }
          cleanup
  br label %169

.split178.us:                                     ; preds = %.preheader
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN20ResolveItemRef_Macro13as_MacroRulesEv(ptr noundef nonnull align 8 dereferenceable(16) %16)
  %163 = load ptr, ptr %162, align 8, !tbaa !5
  invoke void @_ZN8MacroRefC2EPK10MacroRules(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef %163)
          to label %168 unwind label %164

164:                                              ; preds = %.split178.us
  %165 = landingpad { ptr, i32 }
          cleanup
  br label %169

.critedge137:                                     ; preds = %.preheader
  invoke void @_ZN8MacroRefC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %0)
          to label %168 unwind label %166

166:                                              ; preds = %.critedge137
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %169

168:                                              ; preds = %.split178.us, %.split175.us, %.split172.us, %.split170.us, %.critedge137
  call void @_ZN20ResolveItemRef_MacroD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %.thread146

169:                                              ; preds = %152, %156, %160, %164, %166
  %.pn124 = phi { ptr, i32 } [ %167, %166 ], [ %165, %164 ], [ %161, %160 ], [ %157, %156 ], [ %153, %152 ]
  call void @_ZN20ResolveItemRef_MacroD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #8
  br label %170

170:                                              ; preds = %169, %150
  %.pn124.pn = phi { ptr, i32 } [ %.pn124, %169 ], [ %.pn, %150 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #8
  br label %171

.thread146:                                       ; preds = %._crit_edge164, %.thread139, %42, %126, %142, %168
  ret void

171:                                              ; preds = %170, %113, %27, %25
  %.pn127.pn = phi { ptr, i32 } [ %.pn127, %113 ], [ %.pn124.pn, %170 ], [ %28, %27 ], [ %26, %25 ]
  resume { ptr, i32 } %.pn127.pn
}

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5beginIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z3endIRKSt6vectorIN3AST5NamedI13MacroRulesPtrEESaIS4_EEEDa17reversion_wrapperIT_E(ptr dead_on_unwind noalias writable sret(%"class.std::reverse_iterator") align 8, ptr) local_unnamed_addr #5

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK8MacroRef5cloneEv(ptr dead_on_unwind noalias writable sret(%class.MacroRef) align 8, ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZNKSt6vectorIN3AST8PathNodeESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 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 #5 align 2

declare void @_Z20Resolve_Lookup_MacroRK4SpanRKN3AST5CrateERKNS2_4PathES6_PNS2_12AbsolutePathE(ptr dead_on_unwind writable sret(%class.ResolveItemRef_Macro) align 8, ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(1112), ptr noundef nonnull align 8 dereferenceable(240), ptr noundef, ptr noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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


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