; LLVM IR from thepowersgang/mrustc :: src/parse/pattern.ll (Z14Parse_Pattern1R11TokenStream14AllowOrPattern)

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

%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"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.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.47" = 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.48" = 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 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"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.Position = type { %struct.Span, %class.RcString, i32, i32 }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"struct.AST::Pattern::TagMacro" = type { i8 }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.AST::MacroInvocation" = type <{ %struct.Span, %"class.AST::Path", %class.RcString, %class.TokenTree, i8, [7 x i8] }>
%class.TokenTree = type { ptr, i32, %"class.Ident::Hygiene", %class.Token, %"class.std::vector.64" }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PatternBinding" = type <{ %struct.Ident, i32, i8, [3 x i8], i32, [4 x i8] }>
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"struct.AST::Pattern::TagBind" = type { i8 }
%"struct.AST::Pattern::TagMaybeBind" = type { i8 }
%"class.__gnu_cxx::__normal_iterator.69" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [15 x i8], align 1
@g_debug_indent_level = external global i32, align 4
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 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 void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %struct.ProtoSpan, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.Token, align 8
  %12 = alloca %class.Token, align 8
  %13 = alloca %class.Token, align 8
  %14 = alloca %"struct.AST::Pattern::TagMacro", align 1
  %15 = alloca %struct.Span, align 8
  %16 = alloca %struct.ProtoSpan, align 8
  %17 = alloca %"class.std::unique_ptr.2", align 8
  %18 = alloca %"class.AST::MacroInvocation", align 8
  %19 = alloca %struct.ProtoSpan, align 8
  %20 = alloca %"class.AST::Path", align 8
  %21 = alloca %class.RcString, align 8
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i32, align 4
  %25 = alloca i8, align 1
  %26 = alloca %class.Token, align 8
  %27 = alloca %class.Token, align 8
  %28 = alloca %class.Token, align 8
  %29 = alloca %"class.AST::PatternBinding", align 8
  %30 = alloca %"class.AST::Pattern", align 8
  %31 = alloca %class.Token, align 8
  %32 = alloca i1, align 1
  %33 = alloca %struct.Ident, align 8
  %34 = alloca %class.Token, align 8
  %35 = alloca %class.Token, align 8
  %36 = alloca %"struct.AST::Pattern::TagBind", align 1
  %37 = alloca %struct.Span, align 8
  %38 = alloca %struct.ProtoSpan, align 8
  %39 = alloca %struct.Ident, align 8
  %40 = alloca %"class.AST::PatternBinding", align 8
  %41 = alloca %struct.Ident, align 8
  %42 = alloca %"class.AST::Pattern", align 8
  %43 = alloca %class.Token, align 8
  %44 = alloca %"class.AST::Pattern", align 8
  %45 = alloca %"class.AST::PatternBinding", align 8
  %46 = alloca %struct.Ident, align 8
  %47 = alloca %class.Token, align 8
  %48 = alloca %"class.AST::Pattern", align 8
  %49 = alloca %struct.Ident, align 8
  %50 = alloca %"struct.AST::Pattern::TagMaybeBind", align 1
  %51 = alloca %struct.Span, align 8
  %52 = alloca %struct.ProtoSpan, align 8
  %53 = alloca %struct.Ident, align 8
  %54 = alloca %class.Token, align 8
  %55 = alloca %"class.AST::Pattern", align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.69", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %58 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #8
  %59 = call noundef zeroext i1 @_Z13debug_enabledv()
  %60 = zext i1 %59 to i64
  %61 = select i1 %59, ptr @__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %61)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #8
  %62 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8 %8, ptr noundef nonnull align 8 dereferenceable(176) %62)
          to label %63 unwind label %93

63:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 88, ptr %11) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %64 unwind label %97

64:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 88, ptr %12) #8
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %12, ptr noundef nonnull align 8 dereferenceable(176) %65)
          to label %66 unwind label %101

66:                                               ; preds = %64
  %67 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %12)
          to label %68 unwind label %105

68:                                               ; preds = %66
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  %69 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %70 unwind label %110

70:                                               ; preds = %68
  %71 = icmp eq i32 %69, 14
  br i1 %71, label %72, label %148

72:                                               ; preds = %70
  %73 = load ptr, ptr %5, align 8, !tbaa !5
  %74 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %73, i32 noundef 0)
          to label %75 unwind label %110

75:                                               ; preds = %72
  %76 = icmp eq i32 %74, 43
  br i1 %76, label %77, label %148

77:                                               ; preds = %75
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %13, ptr noundef nonnull align 8 dereferenceable(176) %78)
          to label %79 unwind label %110

79:                                               ; preds = %77
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %81 unwind label %110

81:                                               ; preds = %79
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %80, ptr noundef %16)
          to label %82 unwind label %114

82:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 400, ptr %18) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %83 unwind label %118

83:                                               ; preds = %82
  %84 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %85 unwind label %122

85:                                               ; preds = %83
  %86 = getelementptr inbounds %struct.Ident, ptr %84, i32 0, i32 1
  invoke void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %86)
          to label %87 unwind label %122

87:                                               ; preds = %85
  invoke void @_ZN3AST4PathC2E8RcString(ptr noundef nonnull align 8 dereferenceable(240) %20, ptr noundef %21)
          to label %88 unwind label %126

88:                                               ; preds = %87
  %89 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z21Parse_MacroInvocation9ProtoSpanN3AST4PathER11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::MacroInvocation") align 8 %18, ptr noundef %19, ptr noundef %20, ptr noundef nonnull align 8 dereferenceable(176) %89)
          to label %90 unwind label %130

90:                                               ; preds = %88
  invoke void @_Z15make_unique_ptrIN3AST15MacroInvocationEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.2") align 8 %17, ptr noundef nonnull align 8 dereferenceable(393) %18)
          to label %91 unwind label %134

91:                                               ; preds = %90
  invoke void @_ZN3AST7PatternC2ENS0_8TagMacroE4SpanSt10unique_ptrINS_15MacroInvocationESt14default_deleteIS4_EE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %15, ptr noundef %17)
          to label %92 unwind label %138

92:                                               ; preds = %91
  call void @_ZNSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @_ZN3AST15MacroInvocationD2Ev(ptr noundef nonnull align 8 dereferenceable(393) %18) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %20) #8
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr %18) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  store i32 1, ptr %22, align 4
  br label %563

93:                                               ; preds = %3
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %9, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %10, align 4
  br label %566

97:                                               ; preds = %63
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  br label %565

101:                                              ; preds = %64
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %9, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %10, align 4
  br label %109

105:                                              ; preds = %66
  %106 = landingpad { ptr, i32 }
          cleanup
  %107 = extractvalue { ptr, i32 } %106, 0
  store ptr %107, ptr %9, align 8
  %108 = extractvalue { ptr, i32 } %106, 1
  store i32 %108, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #8
  br label %109

109:                                              ; preds = %105, %101
  call void @llvm.lifetime.end.p0(i64 88, ptr %12) #8
  br label %564

110:                                              ; preds = %154, %152, %148, %79, %77, %72, %68
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %9, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %10, align 4
  br label %564

114:                                              ; preds = %81
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %9, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %10, align 4
  br label %147

118:                                              ; preds = %82
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  br label %146

122:                                              ; preds = %85, %83
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %9, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %10, align 4
  br label %145

126:                                              ; preds = %87
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  br label %144

130:                                              ; preds = %88
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %9, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %10, align 4
  br label %143

134:                                              ; preds = %90
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %9, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %10, align 4
  br label %142

138:                                              ; preds = %91
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %9, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %10, align 4
  call void @_ZNSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %142

142:                                              ; preds = %138, %134
  call void @_ZN3AST15MacroInvocationD2Ev(ptr noundef nonnull align 8 dereferenceable(393) %18) #8
  br label %143

143:                                              ; preds = %142, %130
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %20) #8
  br label %144

144:                                              ; preds = %143, %126
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br label %145

145:                                              ; preds = %144, %122
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %146

146:                                              ; preds = %145, %118
  call void @llvm.lifetime.end.p0(i64 400, ptr %18) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %147

147:                                              ; preds = %146, %114
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %564

148:                                              ; preds = %75, %70
  %149 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %150 unwind label %110

150:                                              ; preds = %148
  %151 = icmp eq i32 %149, 7
  br i1 %151, label %152, label %156

152:                                              ; preds = %150
  %153 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN5Token12frag_patternEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %154 unwind label %110

154:                                              ; preds = %152
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %153)
          to label %155 unwind label %110

155:                                              ; preds = %154
  store i32 1, ptr %22, align 4
  br label %563

156:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  store i8 0, ptr %23, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #8
  store i32 0, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  store i8 0, ptr %25, align 1, !tbaa !11
  %157 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %158 unwind label %175

158:                                              ; preds = %156
  %159 = icmp eq i32 %157, 108
  br i1 %159, label %160, label %199

160:                                              ; preds = %158
  store i8 1, ptr %23, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 88, ptr %26) #8
  %161 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %26, ptr noundef nonnull align 8 dereferenceable(176) %161)
          to label %162 unwind label %179

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %26)
          to label %164 unwind label %183

164:                                              ; preds = %162
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #8
  %165 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %166 unwind label %175

166:                                              ; preds = %164
  %167 = icmp eq i32 %165, 78
  br i1 %167, label %168, label %197

168:                                              ; preds = %166
  store i32 2, ptr %24, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 88, ptr %27) #8
  %169 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %169)
          to label %170 unwind label %188

170:                                              ; preds = %168
  %171 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %172 unwind label %192

172:                                              ; preds = %170
  %173 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %171)
          to label %174 unwind label %192

174:                                              ; preds = %172
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #8
  br label %198

175:                                              ; preds = %199, %164, %156
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  br label %562

179:                                              ; preds = %160
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %9, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %10, align 4
  br label %187

183:                                              ; preds = %162
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %9, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #8
  br label %187

187:                                              ; preds = %183, %179
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #8
  br label %562

188:                                              ; preds = %168
  %189 = landingpad { ptr, i32 }
          cleanup
  %190 = extractvalue { ptr, i32 } %189, 0
  store ptr %190, ptr %9, align 8
  %191 = extractvalue { ptr, i32 } %189, 1
  store i32 %191, ptr %10, align 4
  br label %196

192:                                              ; preds = %172, %170
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %9, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #8
  br label %196

196:                                              ; preds = %192, %188
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #8
  br label %562

197:                                              ; preds = %166
  store i32 1, ptr %24, align 4, !tbaa !13
  br label %198

198:                                              ; preds = %197, %174
  br label %221

199:                                              ; preds = %158
  %200 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %201 unwind label %175

201:                                              ; preds = %199
  %202 = icmp eq i32 %200, 78
  br i1 %202, label %203, label %219

203:                                              ; preds = %201
  store i8 1, ptr %25, align 1, !tbaa !11
  store i8 1, ptr %23, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 88, ptr %28) #8
  %204 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %28, ptr noundef nonnull align 8 dereferenceable(176) %204)
          to label %205 unwind label %210

205:                                              ; preds = %203
  %206 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %28)
          to label %207 unwind label %214

207:                                              ; preds = %205
  %208 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %206)
          to label %209 unwind label %214

209:                                              ; preds = %207
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #8
  br label %220

210:                                              ; preds = %203
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %9, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %10, align 4
  br label %218

214:                                              ; preds = %207, %205
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %9, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  br label %218

218:                                              ; preds = %214, %210
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #8
  br label %562

219:                                              ; preds = %201
  br label %220

220:                                              ; preds = %219, %209
  br label %221

221:                                              ; preds = %220, %198
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %29)
          to label %222 unwind label %251

222:                                              ; preds = %221
  call void @llvm.lifetime.start.p0(i64 544, ptr %30) #8
  invoke void @_ZN3AST7PatternC2Ev(ptr noundef nonnull align 8 dereferenceable(544) %30)
          to label %223 unwind label %255

223:                                              ; preds = %222
  %224 = load i8, ptr %23, align 1, !tbaa !11, !range !15, !noundef !16
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %383

226:                                              ; preds = %223
  br label %227

227:                                              ; preds = %226
  %228 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %229 unwind label %259

229:                                              ; preds = %227
  %230 = icmp ne i32 %228, 14
  br i1 %230, label %231, label %282

231:                                              ; preds = %229
  br label %232

232:                                              ; preds = %231
  %233 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %234 unwind label %259

234:                                              ; preds = %232
  br i1 %233, label %235, label %263

235:                                              ; preds = %234
  %236 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !17
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %236, ptr noundef @__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern)
          to label %238 unwind label %259

238:                                              ; preds = %235
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %237, ptr noundef @.str)
          to label %240 unwind label %259

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef @.str.1)
          to label %242 unwind label %259

242:                                              ; preds = %240
  %243 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %241, ptr noundef @.str.2)
          to label %244 unwind label %259

244:                                              ; preds = %242
  %245 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %243, i32 noundef 113)
          to label %246 unwind label %259

246:                                              ; preds = %244
  %247 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %245, ptr noundef @_ZSt3decRSt8ios_base)
          to label %248 unwind label %259

248:                                              ; preds = %246
  %249 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %247, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %250 unwind label %259

250:                                              ; preds = %248
  br label %263

251:                                              ; preds = %221
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %9, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %10, align 4
  br label %561

255:                                              ; preds = %222
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %9, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %10, align 4
  br label %560

259:                                              ; preds = %556, %540, %537, %514, %391, %387, %383, %248, %246, %244, %242, %240, %238, %235, %232, %227
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %9, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %10, align 4
  br label %559

263:                                              ; preds = %250, %234
  br label %264

264:                                              ; preds = %263
  br label %265

265:                                              ; preds = %264
  store i1 true, ptr %32, align 1
  %266 = call ptr @__cxa_allocate_exception(i64 96) #8
  %267 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %31, i32 noundef 14)
          to label %268 unwind label %270

268:                                              ; preds = %265
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %266, ptr noundef nonnull align 8 dereferenceable(176) %267, ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef %31)
          to label %269 unwind label %274

269:                                              ; preds = %268
  store i1 false, ptr %32, align 1
  invoke void @__cxa_throw(ptr %266, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %572 unwind label %274

270:                                              ; preds = %265
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %9, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %10, align 4
  br label %278

274:                                              ; preds = %269, %268
  %275 = landingpad { ptr, i32 }
          cleanup
  %276 = extractvalue { ptr, i32 } %275, 0
  store ptr %276, ptr %9, align 8
  %277 = extractvalue { ptr, i32 } %275, 1
  store i32 %277, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #8
  br label %278

278:                                              ; preds = %274, %270
  %279 = load i1, ptr %32, align 1
  br i1 %279, label %280, label %281

280:                                              ; preds = %278
  call void @__cxa_free_exception(ptr %266) #8
  br label %281

281:                                              ; preds = %280, %278
  br label %559

282:                                              ; preds = %229
  br label %283

283:                                              ; preds = %282
  br label %284

284:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #8
  %285 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %286 unwind label %307

286:                                              ; preds = %284
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %33, ptr noundef nonnull align 8 dereferenceable(16) %285)
          to label %287 unwind label %307

287:                                              ; preds = %286
  call void @llvm.lifetime.start.p0(i64 88, ptr %34) #8
  %288 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %34, ptr noundef nonnull align 8 dereferenceable(176) %288)
          to label %289 unwind label %311

289:                                              ; preds = %287
  %290 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %34)
          to label %291 unwind label %315

291:                                              ; preds = %289
  %292 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %290)
          to label %293 unwind label %315

293:                                              ; preds = %291
  %294 = icmp ne i32 %292, 70
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %34) #8
  br i1 %294, label %295, label %342

295:                                              ; preds = %293
  %296 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %35, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %297 unwind label %320

297:                                              ; preds = %295
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %296, ptr noundef %35)
          to label %298 unwind label %324

298:                                              ; preds = %297
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  %299 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %300 unwind label %320

300:                                              ; preds = %298
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %37, ptr noundef nonnull align 8 dereferenceable(176) %299, ptr noundef %38)
          to label %301 unwind label %328

301:                                              ; preds = %300
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %302 unwind label %332

302:                                              ; preds = %301
  %303 = load i32, ptr %24, align 4, !tbaa !13
  %304 = load i8, ptr %25, align 1, !tbaa !11, !range !15, !noundef !16
  %305 = trunc i8 %304 to i1
  invoke void @_ZN3AST7PatternC2ENS0_7TagBindE4Span5IdentNS_14PatternBinding4TypeEb(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %37, ptr noundef %39, i32 noundef %303, i1 noundef zeroext %305)
          to label %306 unwind label %336

306:                                              ; preds = %302
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  store i32 1, ptr %22, align 4
  br label %355

307:                                              ; preds = %286, %284
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %9, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %10, align 4
  br label %382

311:                                              ; preds = %287
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %9, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %10, align 4
  br label %319

315:                                              ; preds = %291, %289
  %316 = landingpad { ptr, i32 }
          cleanup
  %317 = extractvalue { ptr, i32 } %316, 0
  store ptr %317, ptr %9, align 8
  %318 = extractvalue { ptr, i32 } %316, 1
  store i32 %318, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #8
  br label %319

319:                                              ; preds = %315, %311
  call void @llvm.lifetime.end.p0(i64 88, ptr %34) #8
  br label %381

320:                                              ; preds = %298, %295
  %321 = landingpad { ptr, i32 }
          cleanup
  %322 = extractvalue { ptr, i32 } %321, 0
  store ptr %322, ptr %9, align 8
  %323 = extractvalue { ptr, i32 } %321, 1
  store i32 %323, ptr %10, align 4
  br label %381

324:                                              ; preds = %297
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %9, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  br label %381

328:                                              ; preds = %300
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %9, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %10, align 4
  br label %341

332:                                              ; preds = %301
  %333 = landingpad { ptr, i32 }
          cleanup
  %334 = extractvalue { ptr, i32 } %333, 0
  store ptr %334, ptr %9, align 8
  %335 = extractvalue { ptr, i32 } %333, 1
  store i32 %335, ptr %10, align 4
  br label %340

336:                                              ; preds = %302
  %337 = landingpad { ptr, i32 }
          cleanup
  %338 = extractvalue { ptr, i32 } %337, 0
  store ptr %338, ptr %9, align 8
  %339 = extractvalue { ptr, i32 } %337, 1
  store i32 %339, ptr %10, align 4
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %39) #8
  br label %340

340:                                              ; preds = %336, %332
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %37) #8
  br label %341

341:                                              ; preds = %340, %328
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  br label %381

342:                                              ; preds = %293
  call void @llvm.lifetime.start.p0(i64 32, ptr %40) #8
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %41, ptr noundef nonnull align 8 dereferenceable(16) %33)
          to label %343 unwind label %358

343:                                              ; preds = %342
  %344 = load i32, ptr %24, align 4, !tbaa !13
  %345 = load i8, ptr %25, align 1, !tbaa !11, !range !15, !noundef !16
  %346 = trunc i8 %345 to i1
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %40, ptr noundef %41, i32 noundef %344, i1 noundef zeroext %346)
          to label %347 unwind label %362

347:                                              ; preds = %343
  %348 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %29, ptr noundef nonnull align 8 dereferenceable(28) %40)
          to label %349 unwind label %366

349:                                              ; preds = %347
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %40) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %42) #8
  %350 = load ptr, ptr %5, align 8, !tbaa !5
  %351 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %42, ptr noundef nonnull align 8 dereferenceable(176) %350, i32 noundef %351)
          to label %352 unwind label %372

352:                                              ; preds = %349
  %353 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %30, ptr noundef nonnull align 8 dereferenceable(544) %42)
          to label %354 unwind label %376

354:                                              ; preds = %352
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %42) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %42) #8
  store i32 0, ptr %22, align 4
  br label %355

355:                                              ; preds = %354, %306
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  %356 = load i32, ptr %22, align 4
  switch i32 %356, label %558 [
    i32 0, label %357
  ]

357:                                              ; preds = %355
  br label %537

358:                                              ; preds = %342
  %359 = landingpad { ptr, i32 }
          cleanup
  %360 = extractvalue { ptr, i32 } %359, 0
  store ptr %360, ptr %9, align 8
  %361 = extractvalue { ptr, i32 } %359, 1
  store i32 %361, ptr %10, align 4
  br label %371

362:                                              ; preds = %343
  %363 = landingpad { ptr, i32 }
          cleanup
  %364 = extractvalue { ptr, i32 } %363, 0
  store ptr %364, ptr %9, align 8
  %365 = extractvalue { ptr, i32 } %363, 1
  store i32 %365, ptr %10, align 4
  br label %370

366:                                              ; preds = %347
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %9, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %10, align 4
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %40) #8
  br label %370

370:                                              ; preds = %366, %362
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #8
  br label %371

371:                                              ; preds = %370, %358
  call void @llvm.lifetime.end.p0(i64 32, ptr %40) #8
  br label %381

372:                                              ; preds = %349
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %9, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %10, align 4
  br label %380

376:                                              ; preds = %352
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %9, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %42) #8
  br label %380

380:                                              ; preds = %376, %372
  call void @llvm.lifetime.end.p0(i64 544, ptr %42) #8
  br label %381

381:                                              ; preds = %380, %371, %341, %324, %320, %319
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #8
  br label %382

382:                                              ; preds = %381, %307
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #8
  br label %559

383:                                              ; preds = %223
  %384 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %385 unwind label %259

385:                                              ; preds = %383
  %386 = icmp eq i32 %384, 14
  br i1 %386, label %387, label %514

387:                                              ; preds = %385
  %388 = load ptr, ptr %5, align 8, !tbaa !5
  %389 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %388, i32 noundef 0)
          to label %390 unwind label %259

390:                                              ; preds = %387
  switch i32 %389, label %466 [
    i32 34, label %391
    i32 25, label %391
    i32 23, label %391
    i32 47, label %391
    i32 49, label %391
    i32 48, label %391
    i32 70, label %413
  ]

391:                                              ; preds = %390, %390, %390, %390, %390, %390
  %392 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %43, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %393 unwind label %259

393:                                              ; preds = %391
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %392, ptr noundef %43)
          to label %394 unwind label %400

394:                                              ; preds = %393
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %44) #8
  %395 = load ptr, ptr %5, align 8, !tbaa !5
  %396 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %44, ptr noundef nonnull align 8 dereferenceable(176) %395, i32 noundef %396)
          to label %397 unwind label %404

397:                                              ; preds = %394
  %398 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %30, ptr noundef nonnull align 8 dereferenceable(544) %44)
          to label %399 unwind label %408

399:                                              ; preds = %397
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %44) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %44) #8
  br label %513

400:                                              ; preds = %393
  %401 = landingpad { ptr, i32 }
          cleanup
  %402 = extractvalue { ptr, i32 } %401, 0
  store ptr %402, ptr %9, align 8
  %403 = extractvalue { ptr, i32 } %401, 1
  store i32 %403, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #8
  br label %559

404:                                              ; preds = %394
  %405 = landingpad { ptr, i32 }
          cleanup
  %406 = extractvalue { ptr, i32 } %405, 0
  store ptr %406, ptr %9, align 8
  %407 = extractvalue { ptr, i32 } %405, 1
  store i32 %407, ptr %10, align 4
  br label %412

408:                                              ; preds = %397
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %9, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %44) #8
  br label %412

412:                                              ; preds = %408, %404
  call void @llvm.lifetime.end.p0(i64 544, ptr %44) #8
  br label %559

413:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 32, ptr %45) #8
  %414 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %415 unwind label %434

415:                                              ; preds = %413
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 8 dereferenceable(16) %414)
          to label %416 unwind label %434

416:                                              ; preds = %415
  %417 = load i32, ptr %24, align 4, !tbaa !13
  %418 = load i8, ptr %25, align 1, !tbaa !11, !range !15, !noundef !16
  %419 = trunc i8 %418 to i1
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %45, ptr noundef %46, i32 noundef %417, i1 noundef zeroext %419)
          to label %420 unwind label %438

420:                                              ; preds = %416
  %421 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %29, ptr noundef nonnull align 8 dereferenceable(28) %45)
          to label %422 unwind label %442

422:                                              ; preds = %420
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %45) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr %47) #8
  %423 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %47, ptr noundef nonnull align 8 dereferenceable(176) %423)
          to label %424 unwind label %448

424:                                              ; preds = %422
  %425 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %47)
          to label %426 unwind label %452

426:                                              ; preds = %424
  %427 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %425)
          to label %428 unwind label %452

428:                                              ; preds = %426
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %47) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %47) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %48) #8
  %429 = load ptr, ptr %5, align 8, !tbaa !5
  %430 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %48, ptr noundef nonnull align 8 dereferenceable(176) %429, i32 noundef %430)
          to label %431 unwind label %457

431:                                              ; preds = %428
  %432 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %30, ptr noundef nonnull align 8 dereferenceable(544) %48)
          to label %433 unwind label %461

433:                                              ; preds = %431
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %48) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %48) #8
  br label %513

434:                                              ; preds = %415, %413
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %9, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %10, align 4
  br label %447

438:                                              ; preds = %416
  %439 = landingpad { ptr, i32 }
          cleanup
  %440 = extractvalue { ptr, i32 } %439, 0
  store ptr %440, ptr %9, align 8
  %441 = extractvalue { ptr, i32 } %439, 1
  store i32 %441, ptr %10, align 4
  br label %446

442:                                              ; preds = %420
  %443 = landingpad { ptr, i32 }
          cleanup
  %444 = extractvalue { ptr, i32 } %443, 0
  store ptr %444, ptr %9, align 8
  %445 = extractvalue { ptr, i32 } %443, 1
  store i32 %445, ptr %10, align 4
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %45) #8
  br label %446

446:                                              ; preds = %442, %438
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #8
  br label %447

447:                                              ; preds = %446, %434
  call void @llvm.lifetime.end.p0(i64 32, ptr %45) #8
  br label %559

448:                                              ; preds = %422
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %9, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %10, align 4
  br label %456

452:                                              ; preds = %426, %424
  %453 = landingpad { ptr, i32 }
          cleanup
  %454 = extractvalue { ptr, i32 } %453, 0
  store ptr %454, ptr %9, align 8
  %455 = extractvalue { ptr, i32 } %453, 1
  store i32 %455, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %47) #8
  br label %456

456:                                              ; preds = %452, %448
  call void @llvm.lifetime.end.p0(i64 88, ptr %47) #8
  br label %559

457:                                              ; preds = %428
  %458 = landingpad { ptr, i32 }
          cleanup
  %459 = extractvalue { ptr, i32 } %458, 0
  store ptr %459, ptr %9, align 8
  %460 = extractvalue { ptr, i32 } %458, 1
  store i32 %460, ptr %10, align 4
  br label %465

461:                                              ; preds = %431
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %9, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %48) #8
  br label %465

465:                                              ; preds = %461, %457
  call void @llvm.lifetime.end.p0(i64 544, ptr %48) #8
  br label %559

466:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 16, ptr %49) #8
  %467 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %468 unwind label %474

468:                                              ; preds = %466
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %467)
          to label %469 unwind label %474

469:                                              ; preds = %468
  %470 = load i32, ptr %24, align 4, !tbaa !13
  %471 = icmp eq i32 %470, 0
  br i1 %471, label %472, label %473

472:                                              ; preds = %469
  br label %479

473:                                              ; preds = %469
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 154, ptr noundef @__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern) #10
  unreachable

474:                                              ; preds = %468, %466
  %475 = landingpad { ptr, i32 }
          cleanup
  %476 = extractvalue { ptr, i32 } %475, 0
  store ptr %476, ptr %9, align 8
  %477 = extractvalue { ptr, i32 } %475, 1
  store i32 %477, ptr %10, align 4
  br label %512

478:                                              ; No predecessors!
  br label %479

479:                                              ; preds = %478, %472
  %480 = load i8, ptr %25, align 1, !tbaa !11, !range !15, !noundef !16
  %481 = trunc i8 %480 to i1
  %482 = zext i1 %481 to i32
  %483 = icmp eq i32 %482, 0
  br i1 %483, label %484, label %485

484:                                              ; preds = %479
  br label %487

485:                                              ; preds = %479
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 155, ptr noundef @__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern) #10
  unreachable

486:                                              ; No predecessors!
  br label %487

487:                                              ; preds = %486, %484
  %488 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %489 unwind label %493

489:                                              ; preds = %487
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %51, ptr noundef nonnull align 8 dereferenceable(176) %488, ptr noundef %52)
          to label %490 unwind label %497

490:                                              ; preds = %489
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %53, ptr noundef nonnull align 8 dereferenceable(16) %49)
          to label %491 unwind label %501

491:                                              ; preds = %490
  invoke void @_ZN3AST7PatternC2ENS0_12TagMaybeBindE4Span5Ident(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %51, ptr noundef %53)
          to label %492 unwind label %505

492:                                              ; preds = %491
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  store i32 1, ptr %22, align 4
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #8
  br label %558

493:                                              ; preds = %487
  %494 = landingpad { ptr, i32 }
          cleanup
  %495 = extractvalue { ptr, i32 } %494, 0
  store ptr %495, ptr %9, align 8
  %496 = extractvalue { ptr, i32 } %494, 1
  store i32 %496, ptr %10, align 4
  br label %511

497:                                              ; preds = %489
  %498 = landingpad { ptr, i32 }
          cleanup
  %499 = extractvalue { ptr, i32 } %498, 0
  store ptr %499, ptr %9, align 8
  %500 = extractvalue { ptr, i32 } %498, 1
  store i32 %500, ptr %10, align 4
  br label %510

501:                                              ; preds = %490
  %502 = landingpad { ptr, i32 }
          cleanup
  %503 = extractvalue { ptr, i32 } %502, 0
  store ptr %503, ptr %9, align 8
  %504 = extractvalue { ptr, i32 } %502, 1
  store i32 %504, ptr %10, align 4
  br label %509

505:                                              ; preds = %491
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %9, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %10, align 4
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %53) #8
  br label %509

509:                                              ; preds = %505, %501
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %51) #8
  br label %510

510:                                              ; preds = %509, %497
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  br label %511

511:                                              ; preds = %510, %493
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %49) #8
  br label %512

512:                                              ; preds = %511, %474
  call void @llvm.lifetime.end.p0(i64 16, ptr %49) #8
  br label %559

513:                                              ; preds = %433, %399
  br label %536

514:                                              ; preds = %385
  %515 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %54, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %516 unwind label %259

516:                                              ; preds = %514
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %515, ptr noundef %54)
          to label %517 unwind label %523

517:                                              ; preds = %516
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %54) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %55) #8
  %518 = load ptr, ptr %5, align 8, !tbaa !5
  %519 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %55, ptr noundef nonnull align 8 dereferenceable(176) %518, i32 noundef %519)
          to label %520 unwind label %527

520:                                              ; preds = %517
  %521 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %30, ptr noundef nonnull align 8 dereferenceable(544) %55)
          to label %522 unwind label %531

522:                                              ; preds = %520
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %55) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %55) #8
  br label %536

523:                                              ; preds = %516
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %9, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %54) #8
  br label %559

527:                                              ; preds = %517
  %528 = landingpad { ptr, i32 }
          cleanup
  %529 = extractvalue { ptr, i32 } %528, 0
  store ptr %529, ptr %9, align 8
  %530 = extractvalue { ptr, i32 } %528, 1
  store i32 %530, ptr %10, align 4
  br label %535

531:                                              ; preds = %520
  %532 = landingpad { ptr, i32 }
          cleanup
  %533 = extractvalue { ptr, i32 } %532, 0
  store ptr %533, ptr %9, align 8
  %534 = extractvalue { ptr, i32 } %532, 1
  store i32 %534, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %55) #8
  br label %535

535:                                              ; preds = %531, %527
  call void @llvm.lifetime.end.p0(i64 544, ptr %55) #8
  br label %559

536:                                              ; preds = %522, %513
  br label %537

537:                                              ; preds = %536, %357
  %538 = invoke noundef zeroext i1 @_ZNK3AST14PatternBinding8is_validEv(ptr noundef nonnull align 8 dereferenceable(28) %29)
          to label %539 unwind label %259

539:                                              ; preds = %537
  br i1 %538, label %540, label %556

540:                                              ; preds = %539
  %541 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %30)
          to label %542 unwind label %259

542:                                              ; preds = %540
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  %543 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %30)
          to label %544 unwind label %552

544:                                              ; preds = %542
  %545 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %543) #8
  %546 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %57, i32 0, i32 0
  store ptr %545, ptr %546, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %57) #8
  %547 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.69", ptr %56, i32 0, i32 0
  %548 = load ptr, ptr %547, align 8
  %549 = invoke ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %541, ptr %548, ptr noundef nonnull align 8 dereferenceable(28) %29)
          to label %550 unwind label %552

550:                                              ; preds = %544
  %551 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %58, i32 0, i32 0
  store ptr %549, ptr %551, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %556

552:                                              ; preds = %544, %542
  %553 = landingpad { ptr, i32 }
          cleanup
  %554 = extractvalue { ptr, i32 } %553, 0
  store ptr %554, ptr %9, align 8
  %555 = extractvalue { ptr, i32 } %553, 1
  store i32 %555, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  br label %559

556:                                              ; preds = %550, %539
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %30)
          to label %557 unwind label %259

557:                                              ; preds = %556
  store i32 1, ptr %22, align 4
  br label %558

558:                                              ; preds = %557, %492, %355
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %30) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %30) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %563

559:                                              ; preds = %552, %535, %523, %512, %465, %456, %447, %412, %400, %382, %281, %259
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %30) #8
  br label %560

560:                                              ; preds = %559, %255
  call void @llvm.lifetime.end.p0(i64 544, ptr %30) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %29) #8
  br label %561

561:                                              ; preds = %560, %251
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #8
  br label %562

562:                                              ; preds = %561, %218, %196, %187, %175
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %564

563:                                              ; preds = %558, %155, %92
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  ret void

564:                                              ; preds = %562, %147, %110, %109
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #8
  br label %565

565:                                              ; preds = %564, %97
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  br label %566

566:                                              ; preds = %565, %93
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  br label %567

567:                                              ; preds = %566
  %568 = load ptr, ptr %9, align 8
  %569 = load i32, ptr %10, align 4
  %570 = insertvalue { ptr, i32 } poison, ptr %568, 0
  %571 = insertvalue { ptr, i32 } %570, i32 %569, 1
  resume { ptr, i32 } %571

572:                                              ; preds = %269
  unreachable
}

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #1

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

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

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

declare void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

declare void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15make_unique_ptrIN3AST15MacroInvocationEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.2") align 8, ptr noundef nonnull align 8 dereferenceable(393)) #2

declare void @_Z21Parse_MacroInvocation9ProtoSpanN3AST4PathER11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::MacroInvocation") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(176)) #1

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

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

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

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

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

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

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

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

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

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

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

; 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 @_Z12debug_outputiPKc(i32 noundef, ptr noundef) #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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) #2 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) #2 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

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #1

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #1

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7PatternC2ENS0_7TagBindE4Span5IdentNS_14PatternBinding4TypeEb(ptr noundef nonnull align 8 dereferenceable(544), ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8, ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) #2

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

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

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

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

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

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

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

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

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"_ZTS14AllowOrPattern", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN3AST14PatternBinding4TypeE", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}


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

%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"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.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = 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.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = 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.47" = 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.48" = 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 }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"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.Position = type { %struct.Span, %class.RcString, i32, i32 }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.AST::MacroInvocation" = type <{ %struct.Span, %"class.AST::Path", %class.RcString, %class.TokenTree, i8, [7 x i8] }>
%class.TokenTree = type { ptr, i32, %"class.Ident::Hygiene", %class.Token, %"class.std::vector.64" }
%"class.std::vector.64" = type { %"struct.std::_Vector_base.65" }
%"struct.std::_Vector_base.65" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl" = type { %"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" }
%"struct.std::_Vector_base<TokenTree, std::allocator<TokenTree>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PatternBinding" = type <{ %struct.Ident, i32, i8, [3 x i8], i32, [4 x i8] }>
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"class.__gnu_cxx::__normal_iterator.69" = type { ptr }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [15 x i8], align 1
@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.3 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [59 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [16 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 void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.TraceLog, align 8
  %5 = alloca %struct.ProtoSpan, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca %class.Token, align 8
  %8 = alloca %class.Token, align 8
  %9 = alloca %struct.Span, align 8
  %10 = alloca %struct.ProtoSpan, align 8
  %11 = alloca %"class.std::unique_ptr.2", align 8
  %12 = alloca %"class.AST::MacroInvocation", align 8
  %13 = alloca %struct.ProtoSpan, align 8
  %14 = alloca %"class.AST::Path", align 8
  %15 = alloca %class.RcString, align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca %class.Token, align 8
  %18 = alloca %class.Token, align 8
  %19 = alloca %"class.AST::PatternBinding", align 8
  %20 = alloca %"class.AST::Pattern", align 8
  %21 = alloca %class.Token, align 8
  %22 = alloca %struct.Ident, align 8
  %23 = alloca %class.Token, align 8
  %24 = alloca %class.Token, align 8
  %25 = alloca %struct.Span, align 8
  %26 = alloca %struct.ProtoSpan, align 8
  %27 = alloca %struct.Ident, align 8
  %28 = alloca %"class.AST::PatternBinding", align 8
  %29 = alloca %struct.Ident, align 8
  %30 = alloca %"class.AST::Pattern", align 8
  %31 = alloca %class.Token, align 8
  %32 = alloca %"class.AST::Pattern", align 8
  %33 = alloca %"class.AST::PatternBinding", align 8
  %34 = alloca %struct.Ident, align 8
  %35 = alloca %class.Token, align 8
  %36 = alloca %"class.AST::Pattern", align 8
  %37 = alloca %struct.Ident, align 8
  %38 = alloca %struct.Span, align 8
  %39 = alloca %struct.ProtoSpan, align 8
  %40 = alloca %struct.Ident, align 8
  %41 = alloca %class.Token, align 8
  %42 = alloca %"class.AST::Pattern", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.69", align 8
  %44 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #8
  %45 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %46 = select i1 %45, ptr @__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef %46)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  invoke void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.ProtoSpan) align 8 %5, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %47 unwind label %70

47:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %48 unwind label %72

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %7) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %7, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %49 unwind label %74

49:                                               ; preds = %48
  %50 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %7)
          to label %51 unwind label %76

51:                                               ; preds = %49
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %7) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %7) #8
  %52 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %53 = icmp eq i32 %52, 14
  br i1 %53, label %54, label %101

54:                                               ; preds = %51
  %55 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %56 unwind label %79

56:                                               ; preds = %54
  %57 = icmp eq i32 %55, 43
  br i1 %57, label %58, label %101

58:                                               ; preds = %56
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %8, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %59 unwind label %79

59:                                               ; preds = %58
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %60 unwind label %79

60:                                               ; preds = %59
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %9, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %10)
          to label %61 unwind label %81

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 400, ptr nonnull %12) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %62 unwind label %83

62:                                               ; preds = %61
  %63 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %64 unwind label %85

64:                                               ; preds = %62
  %65 = getelementptr inbounds i8, ptr %63, i64 8
  call void @_ZN8RcStringC2ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %65)
  invoke void @_ZN3AST4PathC2E8RcString(ptr noundef nonnull align 8 dereferenceable(240) %14, ptr noundef nonnull %15)
          to label %66 unwind label %87

66:                                               ; preds = %64
  invoke void @_Z21Parse_MacroInvocation9ProtoSpanN3AST4PathER11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::MacroInvocation") align 8 %12, ptr noundef nonnull %13, ptr noundef nonnull %14, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %67 unwind label %89

67:                                               ; preds = %66
  invoke void @_Z15make_unique_ptrIN3AST15MacroInvocationEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.2") align 8 %11, ptr noundef nonnull align 8 dereferenceable(393) %12)
          to label %68 unwind label %91

68:                                               ; preds = %67
  invoke void @_ZN3AST7PatternC2ENS0_8TagMacroE4SpanSt10unique_ptrINS_15MacroInvocationESt14default_deleteIS4_EE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %9, ptr noundef nonnull %11)
          to label %69 unwind label %93

69:                                               ; preds = %68
  call void @_ZNSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  call void @_ZN3AST15MacroInvocationD2Ev(ptr noundef nonnull align 8 dereferenceable(393) %12) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %14) #8
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %12) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %342

70:                                               ; preds = %3
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %345

72:                                               ; preds = %47
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %344

74:                                               ; preds = %48
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %49
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %7) #8
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %7) #8
  br label %343

79:                                               ; preds = %106, %104, %59, %58, %54
  %80 = landingpad { ptr, i32 }
          cleanup
  br label %343

81:                                               ; preds = %60
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %100

83:                                               ; preds = %61
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %99

85:                                               ; preds = %62
  %86 = landingpad { ptr, i32 }
          cleanup
  br label %98

87:                                               ; preds = %64
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %97

89:                                               ; preds = %66
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %96

91:                                               ; preds = %67
  %92 = landingpad { ptr, i32 }
          cleanup
  br label %95

93:                                               ; preds = %68
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br label %95

95:                                               ; preds = %93, %91
  %.pn123 = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @_ZN3AST15MacroInvocationD2Ev(ptr noundef nonnull align 8 dereferenceable(393) %12) #8
  br label %96

96:                                               ; preds = %95, %89
  %.pn123.pn = phi { ptr, i32 } [ %.pn123, %95 ], [ %90, %89 ]
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %14) #8
  br label %97

97:                                               ; preds = %96, %87
  %.pn123.pn.pn = phi { ptr, i32 } [ %.pn123.pn, %96 ], [ %88, %87 ]
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br label %98

98:                                               ; preds = %97, %85
  %.pn123.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn, %97 ], [ %86, %85 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  br label %99

99:                                               ; preds = %98, %83
  %.pn123.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn.pn, %98 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 400, ptr nonnull %12) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br label %100

100:                                              ; preds = %99, %81
  %.pn123.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn.pn.pn, %99 ], [ %82, %81 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %343

101:                                              ; preds = %56, %51
  %102 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %103 = icmp eq i32 %102, 7
  br i1 %103, label %104, label %107

104:                                              ; preds = %101
  %105 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN5Token12frag_patternEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %106 unwind label %79

106:                                              ; preds = %104
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %105)
          to label %342 unwind label %79

107:                                              ; preds = %101
  %108 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not = icmp eq i32 %108, 108
  br i1 %.not, label %109, label %130

109:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %16) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %16, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %110 unwind label %120

110:                                              ; preds = %109
  %111 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %16)
          to label %112 unwind label %122

112:                                              ; preds = %110
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #8
  %113 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %114 = icmp eq i32 %113, 78
  br i1 %114, label %115, label %143

115:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %17) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %17, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %116 unwind label %125

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %17)
          to label %118 unwind label %127

118:                                              ; preds = %116
  %119 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %117)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #8
  br label %143

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

122:                                              ; preds = %110
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  br label %124

124:                                              ; preds = %122, %120
  %.pn83 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #8
  br label %343

125:                                              ; preds = %115
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %129

127:                                              ; preds = %116
  %128 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #8
  br label %129

129:                                              ; preds = %127, %125
  %.pn85 = phi { ptr, i32 } [ %128, %127 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %17) #8
  br label %343

130:                                              ; preds = %107
  %131 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %132 = icmp eq i32 %131, 78
  br i1 %132, label %133, label %143

133:                                              ; preds = %130
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %18) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %18, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %134 unwind label %138

134:                                              ; preds = %133
  %135 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %18)
          to label %136 unwind label %140

136:                                              ; preds = %134
  %137 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %135)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #8
  br label %143

138:                                              ; preds = %133
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %134
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #8
  br label %142

142:                                              ; preds = %140, %138
  %.pn81 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #8
  br label %343

143:                                              ; preds = %112, %136, %130, %118
  %.042 = phi i1 [ true, %118 ], [ true, %136 ], [ false, %130 ], [ true, %112 ]
  %.041 = phi i32 [ 2, %118 ], [ 0, %136 ], [ 0, %130 ], [ 1, %112 ]
  %.040 = phi i1 [ false, %118 ], [ true, %136 ], [ false, %130 ], [ false, %112 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19)
          to label %144 unwind label %166

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %20) #8
  invoke void @_ZN3AST7PatternC2Ev(ptr noundef nonnull align 8 dereferenceable(544) %20)
          to label %145 unwind label %168

145:                                              ; preds = %144
  %146 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not103 = icmp eq i32 %146, 14
  br i1 %.042, label %147, label %237

147:                                              ; preds = %145
  br i1 %.not103, label %181, label %148

148:                                              ; preds = %147
  %149 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %150 unwind label %170

150:                                              ; preds = %148
  br i1 %149, label %151, label %172

151:                                              ; preds = %150
  %152 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %153 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %152, ptr noundef nonnull @__func__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern)
          to label %154 unwind label %170

154:                                              ; preds = %151
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %153, ptr noundef nonnull @.str)
          to label %156 unwind label %170

156:                                              ; preds = %154
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef nonnull @.str.1)
          to label %158 unwind label %170

158:                                              ; preds = %156
  %159 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %157, ptr noundef nonnull @.str.2)
          to label %160 unwind label %170

160:                                              ; preds = %158
  %161 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %159, i32 noundef 113)
          to label %162 unwind label %170

162:                                              ; preds = %160
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %161, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %164 unwind label %170

164:                                              ; preds = %162
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %172 unwind label %170

166:                                              ; preds = %143
  %167 = landingpad { ptr, i32 }
          cleanup
  br label %341

168:                                              ; preds = %144
  %169 = landingpad { ptr, i32 }
          cleanup
  br label %340

170:                                              ; preds = %337, %325, %312, %241, %238, %164, %162, %160, %158, %156, %154, %151, %148
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %339

172:                                              ; preds = %164, %150
  %173 = call ptr @__cxa_allocate_exception(i64 96) #8
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef 14)
          to label %174 unwind label %.thread

174:                                              ; preds = %172
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %173, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %21)
          to label %176 unwind label %.thread136

.thread136:                                       ; preds = %174
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %180

176:                                              ; preds = %174
  invoke void @__cxa_throw(ptr nonnull %173, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %346 unwind label %178

.thread:                                          ; preds = %172
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %176
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %339

180:                                              ; preds = %.thread136, %.thread
  %.pn117135 = phi { ptr, i32 } [ %177, %.thread ], [ %175, %.thread136 ]
  call void @__cxa_free_exception(ptr %173) #8
  br label %339

181:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %22) #8
  %182 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %183 unwind label %195

183:                                              ; preds = %181
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef nonnull align 8 dereferenceable(16) %182)
          to label %184 unwind label %195

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %23) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %23, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %185 unwind label %197

185:                                              ; preds = %184
  %186 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %187 unwind label %199

187:                                              ; preds = %185
  %188 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %186)
  %.not106 = icmp eq i32 %188, 70
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %23) #8
  br i1 %.not106, label %214, label %189

189:                                              ; preds = %187
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %190 unwind label %202

190:                                              ; preds = %189
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %24)
          to label %191 unwind label %204

191:                                              ; preds = %190
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %192 unwind label %202

192:                                              ; preds = %191
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %26)
          to label %193 unwind label %206

193:                                              ; preds = %192
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %194 unwind label %208

194:                                              ; preds = %193
  invoke void @_ZN3AST7PatternC2ENS0_7TagBindE4Span5IdentNS_14PatternBinding4TypeEb(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %25, ptr noundef nonnull %27, i32 noundef %.041, i1 noundef zeroext %.040)
          to label %221 unwind label %210

195:                                              ; preds = %183, %181
  %196 = landingpad { ptr, i32 }
          cleanup
  br label %236

197:                                              ; preds = %184
  %198 = landingpad { ptr, i32 }
          cleanup
  br label %201

199:                                              ; preds = %185
  %200 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  br label %201

201:                                              ; preds = %199, %197
  %.pn104 = phi { ptr, i32 } [ %200, %199 ], [ %198, %197 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %23) #8
  br label %235

202:                                              ; preds = %191, %189
  %203 = landingpad { ptr, i32 }
          cleanup
  br label %235

204:                                              ; preds = %190
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  br label %235

206:                                              ; preds = %192
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %213

208:                                              ; preds = %193
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %212

210:                                              ; preds = %194
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  br label %212

212:                                              ; preds = %210, %208
  %.pn112 = phi { ptr, i32 } [ %211, %210 ], [ %209, %208 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br label %213

213:                                              ; preds = %212, %206
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %212 ], [ %207, %206 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br label %235

214:                                              ; preds = %187
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #8
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr noundef nonnull align 8 dereferenceable(16) %22)
          to label %215 unwind label %222

215:                                              ; preds = %214
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %28, ptr noundef nonnull %29, i32 noundef %.041, i1 noundef zeroext %.040)
          to label %216 unwind label %224

216:                                              ; preds = %215
  %217 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %19, ptr noundef nonnull align 8 dereferenceable(28) %28)
          to label %218 unwind label %226

218:                                              ; preds = %216
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %28) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %30) #8
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %30, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %219 unwind label %230

219:                                              ; preds = %218
  %220 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %20, ptr noundef nonnull align 8 dereferenceable(544) %30)
          to label %.thread138 unwind label %232

.thread138:                                       ; preds = %219
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %30) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %30) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br label %325

221:                                              ; preds = %194
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %27) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br label %338

222:                                              ; preds = %214
  %223 = landingpad { ptr, i32 }
          cleanup
  br label %229

224:                                              ; preds = %215
  %225 = landingpad { ptr, i32 }
          cleanup
  br label %228

226:                                              ; preds = %216
  %227 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %28) #8
  br label %228

228:                                              ; preds = %226, %224
  %.pn107 = phi { ptr, i32 } [ %227, %226 ], [ %225, %224 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %29) #8
  br label %229

229:                                              ; preds = %228, %222
  %.pn107.pn = phi { ptr, i32 } [ %.pn107, %228 ], [ %223, %222 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #8
  br label %235

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

232:                                              ; preds = %219
  %233 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %30) #8
  br label %234

234:                                              ; preds = %232, %230
  %.pn110 = phi { ptr, i32 } [ %233, %232 ], [ %231, %230 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %30) #8
  br label %235

235:                                              ; preds = %234, %229, %213, %204, %202, %201
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn112.pn, %213 ], [ %203, %202 ], [ %205, %204 ], [ %.pn110, %234 ], [ %.pn107.pn, %229 ], [ %.pn104, %201 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %22) #8
  br label %236

236:                                              ; preds = %235, %195
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %235 ], [ %196, %195 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %22) #8
  br label %339

237:                                              ; preds = %145
  br i1 %.not103, label %238, label %312

238:                                              ; preds = %237
  %239 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %240 unwind label %170

240:                                              ; preds = %238
  switch i32 %239, label %286 [
    i32 34, label %241
    i32 25, label %241
    i32 23, label %241
    i32 47, label %241
    i32 49, label %241
    i32 48, label %241
    i32 70, label %254
  ]

241:                                              ; preds = %240, %240, %240, %240, %240, %240
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %31, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %242 unwind label %170

242:                                              ; preds = %241
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %31)
          to label %243 unwind label %247

243:                                              ; preds = %242
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %32) #8
  invoke void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %32, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %244 unwind label %249

244:                                              ; preds = %243
  %245 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %20, ptr noundef nonnull align 8 dereferenceable(544) %32)
          to label %246 unwind label %251

246:                                              ; preds = %244
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %32) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %32) #8
  br label %325

247:                                              ; preds = %242
  %248 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #8
  br label %339

249:                                              ; preds = %243
  %250 = landingpad { ptr, i32 }
          cleanup
  br label %253

251:                                              ; preds = %244
  %252 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %32) #8
  br label %253

253:                                              ; preds = %251, %249
  %.pn96 = phi { ptr, i32 } [ %252, %251 ], [ %250, %249 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %32) #8
  br label %339

254:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %33) #8
  %255 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %256 unwind label %268

256:                                              ; preds = %254
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %34, ptr noundef nonnull align 8 dereferenceable(16) %255)
          to label %257 unwind label %268

257:                                              ; preds = %256
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %33, ptr noundef nonnull %34, i32 noundef %.041, i1 noundef zeroext %.040)
          to label %258 unwind label %270

258:                                              ; preds = %257
  %259 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %19, ptr noundef nonnull align 8 dereferenceable(28) %33)
          to label %260 unwind label %272

260:                                              ; preds = %258
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %33) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %35) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %35, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %261 unwind label %276

261:                                              ; preds = %260
  %262 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %35)
          to label %263 unwind label %278

263:                                              ; preds = %261
  %264 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %262)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %35) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %36) #8
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %36, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %265 unwind label %281

265:                                              ; preds = %263
  %266 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %20, ptr noundef nonnull align 8 dereferenceable(544) %36)
          to label %267 unwind label %283

267:                                              ; preds = %265
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %36) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %36) #8
  br label %325

268:                                              ; preds = %256, %254
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %275

270:                                              ; preds = %257
  %271 = landingpad { ptr, i32 }
          cleanup
  br label %274

272:                                              ; preds = %258
  %273 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %33) #8
  br label %274

274:                                              ; preds = %272, %270
  %.pn89 = phi { ptr, i32 } [ %273, %272 ], [ %271, %270 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #8
  br label %275

275:                                              ; preds = %274, %268
  %.pn89.pn = phi { ptr, i32 } [ %.pn89, %274 ], [ %269, %268 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %33) #8
  br label %339

276:                                              ; preds = %260
  %277 = landingpad { ptr, i32 }
          cleanup
  br label %280

278:                                              ; preds = %261
  %279 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  br label %280

280:                                              ; preds = %278, %276
  %.pn92 = phi { ptr, i32 } [ %279, %278 ], [ %277, %276 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %35) #8
  br label %339

281:                                              ; preds = %263
  %282 = landingpad { ptr, i32 }
          cleanup
  br label %285

283:                                              ; preds = %265
  %284 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %36) #8
  br label %285

285:                                              ; preds = %283, %281
  %.pn94 = phi { ptr, i32 } [ %284, %283 ], [ %282, %281 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %36) #8
  br label %339

286:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %37) #8
  %287 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %288 unwind label %291

288:                                              ; preds = %286
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %37, ptr noundef nonnull align 8 dereferenceable(16) %287)
          to label %289 unwind label %291

289:                                              ; preds = %288
  br i1 %.not, label %290, label %293

290:                                              ; preds = %289
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 154, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern) #10
  unreachable

291:                                              ; preds = %288, %286
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %311

293:                                              ; preds = %289
  br i1 %.040, label %294, label %295

294:                                              ; preds = %293
  call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 155, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14Parse_Pattern1R11TokenStream14AllowOrPattern) #10
  unreachable

295:                                              ; preds = %293
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %296 unwind label %300

296:                                              ; preds = %295
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %38, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %39)
          to label %297 unwind label %302

297:                                              ; preds = %296
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %40, ptr noundef nonnull align 8 dereferenceable(16) %37)
          to label %298 unwind label %304

298:                                              ; preds = %297
  invoke void @_ZN3AST7PatternC2ENS0_12TagMaybeBindE4Span5Ident(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %38, ptr noundef nonnull %40)
          to label %299 unwind label %306

299:                                              ; preds = %298
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #8
  br label %338

300:                                              ; preds = %295
  %301 = landingpad { ptr, i32 }
          cleanup
  br label %310

302:                                              ; preds = %296
  %303 = landingpad { ptr, i32 }
          cleanup
  br label %309

304:                                              ; preds = %297
  %305 = landingpad { ptr, i32 }
          cleanup
  br label %308

306:                                              ; preds = %298
  %307 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %40) #8
  br label %308

308:                                              ; preds = %306, %304
  %.pn98 = phi { ptr, i32 } [ %307, %306 ], [ %305, %304 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %38) #8
  br label %309

309:                                              ; preds = %308, %302
  %.pn98.pn = phi { ptr, i32 } [ %.pn98, %308 ], [ %303, %302 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #8
  br label %310

310:                                              ; preds = %309, %300
  %.pn98.pn.pn = phi { ptr, i32 } [ %.pn98.pn, %309 ], [ %301, %300 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %37) #8
  br label %311

311:                                              ; preds = %310, %291
  %.pn98.pn.pn.pn = phi { ptr, i32 } [ %.pn98.pn.pn, %310 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %37) #8
  br label %339

312:                                              ; preds = %237
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %41, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %313 unwind label %170

313:                                              ; preds = %312
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %41)
          to label %314 unwind label %318

314:                                              ; preds = %313
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %41) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %42) #8
  invoke void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %42, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %315 unwind label %320

315:                                              ; preds = %314
  %316 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %20, ptr noundef nonnull align 8 dereferenceable(544) %42)
          to label %317 unwind label %322

317:                                              ; preds = %315
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %42) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %42) #8
  br label %325

318:                                              ; preds = %313
  %319 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %41) #8
  br label %339

320:                                              ; preds = %314
  %321 = landingpad { ptr, i32 }
          cleanup
  br label %324

322:                                              ; preds = %315
  %323 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %42) #8
  br label %324

324:                                              ; preds = %322, %320
  %.pn87 = phi { ptr, i32 } [ %323, %322 ], [ %321, %320 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %42) #8
  br label %339

325:                                              ; preds = %.thread138, %317, %267, %246
  %326 = invoke noundef zeroext i1 @_ZNK3AST14PatternBinding8is_validEv(ptr noundef nonnull align 8 dereferenceable(28) %19)
          to label %327 unwind label %170

327:                                              ; preds = %325
  br i1 %326, label %328, label %337

328:                                              ; preds = %327
  %329 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %20)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %44) #8
  %330 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %20)
  %331 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %330) #8
  store ptr %331, ptr %44, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %44) #8
  %332 = load ptr, ptr %43, align 8
  %333 = invoke ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE6insertEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %329, ptr %332, ptr noundef nonnull align 8 dereferenceable(28) %19)
          to label %334 unwind label %335

334:                                              ; preds = %328
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #8
  br label %337

335:                                              ; preds = %328
  %336 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %44) #8
  br label %339

337:                                              ; preds = %334, %327
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %20)
          to label %338 unwind label %170

338:                                              ; preds = %221, %337, %299
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %20) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %20) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  br label %342

339:                                              ; preds = %178, %180, %335, %324, %318, %311, %285, %280, %275, %253, %247, %236, %170
  %.pn117.pn = phi { ptr, i32 } [ %.pn117135, %180 ], [ %179, %178 ], [ %171, %170 ], [ %336, %335 ], [ %.pn112.pn.pn.pn, %236 ], [ %.pn98.pn.pn.pn, %311 ], [ %.pn94, %285 ], [ %.pn92, %280 ], [ %.pn89.pn, %275 ], [ %.pn96, %253 ], [ %248, %247 ], [ %.pn87, %324 ], [ %319, %318 ]
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %20) #8
  br label %340

340:                                              ; preds = %339, %168
  %.pn117.pn.pn = phi { ptr, i32 } [ %.pn117.pn, %339 ], [ %169, %168 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %20) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #8
  br label %341

341:                                              ; preds = %340, %166
  %.pn117.pn.pn.pn = phi { ptr, i32 } [ %.pn117.pn.pn, %340 ], [ %167, %166 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #8
  br label %343

342:                                              ; preds = %106, %338, %69
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  ret void

343:                                              ; preds = %124, %129, %142, %341, %100, %79, %78
  %.pn123.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn.pn.pn.pn, %100 ], [ %80, %79 ], [ %.pn, %78 ], [ %.pn117.pn.pn.pn, %341 ], [ %.pn85, %129 ], [ %.pn83, %124 ], [ %.pn81, %142 ]
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  br label %344

344:                                              ; preds = %343, %72
  %.pn123.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn.pn.pn.pn.pn, %343 ], [ %73, %72 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %345

345:                                              ; preds = %344, %70
  %.pn123.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn123.pn.pn.pn.pn.pn.pn.pn, %344 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn123.pn.pn.pn.pn.pn.pn.pn.pn

346:                                              ; preds = %176
  unreachable
}

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #1

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

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

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

declare void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

declare void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z15make_unique_ptrIN3AST15MacroInvocationEESt10unique_ptrIT_St14default_deleteIS3_EEOS3_(ptr dead_on_unwind noalias writable sret(%"class.std::unique_ptr.2") align 8, ptr noundef nonnull align 8 dereferenceable(393)) local_unnamed_addr #2

declare void @_Z21Parse_MacroInvocation9ProtoSpanN3AST4PathER11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::MacroInvocation") align 8, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

; 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 @_Z12debug_outputiPKc(i32 noundef, ptr noundef) local_unnamed_addr #1

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 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 #2 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 #2 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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88), i32 noundef) unnamed_addr #1

declare void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef nonnull align 8 dereferenceable(88), ptr noundef) unnamed_addr #1

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7PatternC2ENS0_7TagBindE4Span5IdentNS_14PatternBinding4TypeEb(ptr noundef nonnull align 8 dereferenceable(544), ptr noundef, ptr noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z17Parse_PatternRealR11TokenStream14AllowOrPattern(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8, ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass