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

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

%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%struct.Span = type { ptr }
%"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.RcString = type { ptr }
%"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 }
%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%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::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.89 = type { i8 }
%"struct.AST::Pattern::Data::Data_SplitSlice" = type { %"class.std::vector.49", %"class.AST::PatternBinding", %"class.std::vector.49" }
%"struct.AST::Pattern::Data::Data_Slice" = type { %"class.std::vector.49" }

@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
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

declare void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

; 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 #5 align 2

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #0 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) #5

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

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 #2

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

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 #0 align 2

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

; 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 #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6 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 #0 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)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #6 align 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 noundef zeroext i1 @_ZNK3AST14PatternBinding8is_validEv(ptr noundef nonnull align 8 dereferenceable(28)) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23Parse_PatternReal_SliceR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ProtoSpan, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector.49", align 8
  %10 = alloca %"class.std::vector.49", align 8
  %11 = alloca %"class.AST::PatternBinding", align 8
  %12 = alloca i8, align 1
  %13 = alloca %class.Token, align 8
  %14 = alloca i8, align 1
  %15 = alloca %"class.AST::PatternBinding", align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca %"class.AST::PatternBinding", align 8
  %18 = alloca %struct.Ident, align 8
  %19 = alloca %"class.AST::PatternBinding", align 8
  %20 = alloca %struct.Ident, align 8
  %21 = alloca %class.Token, align 8
  %22 = alloca %struct.Span, align 8
  %23 = alloca %struct.ProtoSpan, align 8
  %24 = alloca %"class.std::function", align 8
  %25 = alloca %class.anon.89, align 1
  %26 = alloca %class.Token, align 8
  %27 = alloca %class.Token, align 8
  %28 = alloca i1, align 1
  %29 = alloca %class.Token, align 8
  %30 = alloca %class.Token, align 8
  %31 = alloca i1, align 1
  %32 = alloca %class.Token, align 8
  %33 = alloca %"class.AST::Pattern", align 8
  %34 = alloca %"class.AST::Pattern", align 8
  %35 = alloca %class.Token, align 8
  %36 = alloca i32, align 4
  %37 = alloca %class.Token, align 8
  %38 = alloca i1, align 1
  %39 = alloca %struct.Span, align 8
  %40 = alloca %struct.ProtoSpan, align 8
  %41 = alloca %"class.AST::Pattern::Data", align 8
  %42 = alloca %"struct.AST::Pattern::Data::Data_SplitSlice", align 8
  %43 = alloca %struct.Span, align 8
  %44 = alloca %struct.ProtoSpan, align 8
  %45 = alloca %"class.AST::Pattern::Data", align 8
  %46 = alloca %"struct.AST::Pattern::Data::Data_Slice", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %5) #8
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8 %5, ptr noundef nonnull align 8 dereferenceable(176) %47)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %48 unwind label %96

48:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %49 unwind label %100

49:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #8
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %50

50:                                               ; preds = %439, %49
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #8
  %51 = load ptr, ptr %4, 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) %51)
          to label %52 unwind label %104

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %13)
          to label %54 unwind label %108

54:                                               ; preds = %52
  %55 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %53)
          to label %56 unwind label %108

56:                                               ; preds = %54
  %57 = icmp ne i32 %55, 30
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  br i1 %57, label %58, label %442

58:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  store i8 1, ptr %14, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %15)
          to label %59 unwind label %113

59:                                               ; preds = %58
  %60 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %61 unwind label %117

61:                                               ; preds = %59
  %62 = icmp eq i32 %60, 108
  br i1 %62, label %63, label %144

63:                                               ; preds = %61
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %64, i32 noundef 0)
          to label %66 unwind label %117

66:                                               ; preds = %63
  %67 = icmp eq i32 %65, 14
  br i1 %67, label %68, label %144

68:                                               ; preds = %66
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %69, i32 noundef 1)
          to label %71 unwind label %117

71:                                               ; preds = %68
  %72 = icmp eq i32 %70, 47
  br i1 %72, label %83, label %73

73:                                               ; preds = %71
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %74, i32 noundef 1)
          to label %76 unwind label %117

76:                                               ; preds = %73
  %77 = icmp eq i32 %75, 70
  br i1 %77, label %78, label %144

78:                                               ; preds = %76
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %79, i32 noundef 2)
          to label %81 unwind label %117

81:                                               ; preds = %78
  %82 = icmp eq i32 %80, 47
  br i1 %82, label %83, label %144

83:                                               ; preds = %81, %71
  call void @llvm.lifetime.start.p0(i64 88, ptr %16) #8
  %84 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %16, ptr noundef nonnull align 8 dereferenceable(176) %84)
          to label %85 unwind label %121

85:                                               ; preds = %83
  %86 = 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 %87 unwind label %125

87:                                               ; preds = %85
  %88 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %86)
          to label %89 unwind label %125

89:                                               ; preds = %87
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #8
  %90 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %91 unwind label %130

91:                                               ; preds = %89
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef nonnull align 8 dereferenceable(16) %90)
          to label %92 unwind label %130

92:                                               ; preds = %91
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %17, ptr noundef %18, i32 noundef 1, i1 noundef zeroext false)
          to label %93 unwind label %134

93:                                               ; preds = %92
  %94 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull align 8 dereferenceable(28) %17)
          to label %95 unwind label %138

95:                                               ; preds = %93
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %17) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %220

96:                                               ; preds = %2
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %560

100:                                              ; preds = %48
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  br label %559

104:                                              ; preds = %50
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  br label %112

108:                                              ; preds = %54, %52
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %7, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  br label %112

112:                                              ; preds = %108, %104
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  br label %558

113:                                              ; preds = %58
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %8, align 4
  br label %441

117:                                              ; preds = %381, %347, %345, %343, %341, %339, %337, %334, %331, %287, %285, %283, %281, %279, %277, %274, %271, %256, %254, %233, %208, %204, %198, %193, %188, %184, %158, %153, %148, %144, %78, %73, %68, %63, %59
  %118 = landingpad { ptr, i32 }
          cleanup
  %119 = extractvalue { ptr, i32 } %118, 0
  store ptr %119, ptr %7, align 8
  %120 = extractvalue { ptr, i32 } %118, 1
  store i32 %120, ptr %8, align 4
  br label %440

121:                                              ; preds = %83
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %7, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %8, align 4
  br label %129

125:                                              ; preds = %87, %85
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %7, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  br label %129

129:                                              ; preds = %125, %121
  call void @llvm.lifetime.end.p0(i64 88, ptr %16) #8
  br label %440

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

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

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

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

143:                                              ; preds = %142, %130
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #8
  br label %440

144:                                              ; preds = %81, %76, %66, %61
  %145 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %146 unwind label %117

146:                                              ; preds = %144
  %147 = icmp eq i32 %145, 14
  br i1 %147, label %148, label %184

148:                                              ; preds = %146
  %149 = load ptr, ptr %4, align 8, !tbaa !5
  %150 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %149, i32 noundef 0)
          to label %151 unwind label %117

151:                                              ; preds = %148
  %152 = icmp eq i32 %150, 47
  br i1 %152, label %163, label %153

153:                                              ; preds = %151
  %154 = load ptr, ptr %4, align 8, !tbaa !5
  %155 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %154, i32 noundef 0)
          to label %156 unwind label %117

156:                                              ; preds = %153
  %157 = icmp eq i32 %155, 70
  br i1 %157, label %158, label %184

158:                                              ; preds = %156
  %159 = load ptr, ptr %4, align 8, !tbaa !5
  %160 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %159, i32 noundef 1)
          to label %161 unwind label %117

161:                                              ; preds = %158
  %162 = icmp eq i32 %160, 47
  br i1 %162, label %163, label %184

163:                                              ; preds = %161, %151
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #8
  %164 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %165 unwind label %170

165:                                              ; preds = %163
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(16) %164)
          to label %166 unwind label %170

166:                                              ; preds = %165
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %19, ptr noundef %20, i32 noundef 0, i1 noundef zeroext false)
          to label %167 unwind label %174

167:                                              ; preds = %166
  %168 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %15, ptr noundef nonnull align 8 dereferenceable(28) %19)
          to label %169 unwind label %178

169:                                              ; preds = %167
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %219

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

174:                                              ; preds = %166
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  br label %182

178:                                              ; preds = %167
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %7, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %8, align 4
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %19) #8
  br label %182

182:                                              ; preds = %178, %174
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #8
  br label %183

183:                                              ; preds = %182, %170
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #8
  br label %440

184:                                              ; preds = %161, %156, %146
  %185 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %186 unwind label %117

186:                                              ; preds = %184
  %187 = icmp eq i32 %185, 22
  br i1 %187, label %188, label %204

188:                                              ; preds = %186
  %189 = load ptr, ptr %4, align 8, !tbaa !5
  %190 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %189, i32 noundef 0)
          to label %191 unwind label %117

191:                                              ; preds = %188
  %192 = icmp eq i32 %190, 47
  br i1 %192, label %203, label %193

193:                                              ; preds = %191
  %194 = load ptr, ptr %4, align 8, !tbaa !5
  %195 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %194, i32 noundef 0)
          to label %196 unwind label %117

196:                                              ; preds = %193
  %197 = icmp eq i32 %195, 70
  br i1 %197, label %198, label %204

198:                                              ; preds = %196
  %199 = load ptr, ptr %4, align 8, !tbaa !5
  %200 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %199, i32 noundef 1)
          to label %201 unwind label %117

201:                                              ; preds = %198
  %202 = icmp eq i32 %200, 47
  br i1 %202, label %203, label %204

203:                                              ; preds = %201, %191
  br label %218

204:                                              ; preds = %201, %196, %186
  %205 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %206 unwind label %117

206:                                              ; preds = %204
  %207 = icmp eq i32 %205, 47
  br i1 %207, label %208, label %216

208:                                              ; preds = %206
  %209 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %210 unwind label %117

210:                                              ; preds = %208
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %209, ptr noundef %21)
          to label %211 unwind label %212

211:                                              ; preds = %210
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %217

212:                                              ; preds = %210
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %7, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %440

216:                                              ; preds = %206
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %217

217:                                              ; preds = %216, %211
  br label %218

218:                                              ; preds = %217, %203
  br label %219

219:                                              ; preds = %218, %169
  br label %220

220:                                              ; preds = %219, %95
  %221 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %222 = trunc i8 %221 to i1
  br i1 %222, label %223, label %381

223:                                              ; preds = %220
  %224 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %254

226:                                              ; preds = %223
  br label %227

227:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %228 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %229 unwind label %234

229:                                              ; preds = %227
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %22, ptr noundef nonnull align 8 dereferenceable(176) %228, ptr noundef %23)
          to label %230 unwind label %238

230:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ23Parse_PatternReal_SliceR11TokenStreamE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 1 dereferenceable(1) %25) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0, ptr noundef %24)
          to label %231 unwind label %242

231:                                              ; preds = %230
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %232 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %232, ptr noundef @.str.13)
          to label %233 unwind label %248

233:                                              ; preds = %231
  invoke void @__cxa_throw(ptr %232, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %566 unwind label %117

234:                                              ; preds = %227
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %7, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %8, align 4
  br label %247

238:                                              ; preds = %229
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %7, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %8, align 4
  br label %246

242:                                              ; preds = %230
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %7, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %8, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br label %246

246:                                              ; preds = %242, %238
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #8
  br label %247

247:                                              ; preds = %246, %234
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %440

248:                                              ; preds = %231
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %7, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %8, align 4
  call void @__cxa_free_exception(ptr %232) #8
  br label %440

252:                                              ; No predecessors!
  br label %253

253:                                              ; preds = %252
  br label %254

254:                                              ; preds = %253, %223
  %255 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %11, ptr noundef nonnull align 8 dereferenceable(28) %15)
          to label %256 unwind label %117

256:                                              ; preds = %254
  store i8 1, ptr %12, align 1, !tbaa !9
  %257 = load ptr, ptr %4, align 8, !tbaa !5
  %258 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %257, i32 noundef 0)
          to label %259 unwind label %117

259:                                              ; preds = %256
  %260 = icmp eq i32 %258, 70
  br i1 %260, label %261, label %321

261:                                              ; preds = %259
  br label %262

262:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 88, ptr %26) #8
  %263 = load ptr, ptr %4, 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) %263)
          to label %264 unwind label %290

264:                                              ; preds = %262
  %265 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %26)
          to label %266 unwind label %294

266:                                              ; preds = %264
  %267 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %265)
          to label %268 unwind label %294

268:                                              ; preds = %266
  %269 = icmp ne i32 %267, 70
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #8
  br i1 %269, label %270, label %318

270:                                              ; preds = %268
  br label %271

271:                                              ; preds = %270
  %272 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %273 unwind label %117

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

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

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

279:                                              ; preds = %277
  %280 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %278, ptr noundef @.str.1)
          to label %281 unwind label %117

281:                                              ; preds = %279
  %282 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %280, ptr noundef @.str.2)
          to label %283 unwind label %117

283:                                              ; preds = %281
  %284 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %282, i32 noundef 431)
          to label %285 unwind label %117

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

287:                                              ; preds = %285
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %286, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %289 unwind label %117

289:                                              ; preds = %287
  br label %299

290:                                              ; preds = %262
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %7, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %8, align 4
  br label %298

294:                                              ; preds = %266, %264
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %7, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %26) #8
  br label %298

298:                                              ; preds = %294, %290
  call void @llvm.lifetime.end.p0(i64 88, ptr %26) #8
  br label %440

299:                                              ; preds = %289, %273
  br label %300

300:                                              ; preds = %299
  br label %301

301:                                              ; preds = %300
  store i1 true, ptr %28, align 1
  %302 = call ptr @__cxa_allocate_exception(i64 96) #8
  %303 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %27, i32 noundef 70)
          to label %304 unwind label %306

304:                                              ; preds = %301
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %302, ptr noundef nonnull align 8 dereferenceable(176) %303, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %27)
          to label %305 unwind label %310

305:                                              ; preds = %304
  store i1 false, ptr %28, align 1
  invoke void @__cxa_throw(ptr %302, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %566 unwind label %310

306:                                              ; preds = %301
  %307 = landingpad { ptr, i32 }
          cleanup
  %308 = extractvalue { ptr, i32 } %307, 0
  store ptr %308, ptr %7, align 8
  %309 = extractvalue { ptr, i32 } %307, 1
  store i32 %309, ptr %8, align 4
  br label %314

310:                                              ; preds = %305, %304
  %311 = landingpad { ptr, i32 }
          cleanup
  %312 = extractvalue { ptr, i32 } %311, 0
  store ptr %312, ptr %7, align 8
  %313 = extractvalue { ptr, i32 } %311, 1
  store i32 %313, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #8
  br label %314

314:                                              ; preds = %310, %306
  %315 = load i1, ptr %28, align 1
  br i1 %315, label %316, label %317

316:                                              ; preds = %314
  call void @__cxa_free_exception(ptr %302) #8
  br label %317

317:                                              ; preds = %316, %314
  br label %440

318:                                              ; preds = %268
  br label %319

319:                                              ; preds = %318
  br label %320

320:                                              ; preds = %319
  br label %321

321:                                              ; preds = %320, %259
  br label %322

322:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 88, ptr %29) #8
  %323 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %29, ptr noundef nonnull align 8 dereferenceable(176) %323)
          to label %324 unwind label %350

324:                                              ; preds = %322
  %325 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %29)
          to label %326 unwind label %354

326:                                              ; preds = %324
  %327 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %325)
          to label %328 unwind label %354

328:                                              ; preds = %326
  %329 = icmp ne i32 %327, 47
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #8
  br i1 %329, label %330, label %378

330:                                              ; preds = %328
  br label %331

331:                                              ; preds = %330
  %332 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %333 unwind label %117

333:                                              ; preds = %331
  br i1 %332, label %334, label %359

334:                                              ; preds = %333
  %335 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %336 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %335, ptr noundef @__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream)
          to label %337 unwind label %117

337:                                              ; preds = %334
  %338 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %336, ptr noundef @.str.14)
          to label %339 unwind label %117

339:                                              ; preds = %337
  %340 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %338, ptr noundef @.str.1)
          to label %341 unwind label %117

341:                                              ; preds = %339
  %342 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %340, ptr noundef @.str.2)
          to label %343 unwind label %117

343:                                              ; preds = %341
  %344 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %342, i32 noundef 432)
          to label %345 unwind label %117

345:                                              ; preds = %343
  %346 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef @_ZSt3decRSt8ios_base)
          to label %347 unwind label %117

347:                                              ; preds = %345
  %348 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %346, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %349 unwind label %117

349:                                              ; preds = %347
  br label %359

350:                                              ; preds = %322
  %351 = landingpad { ptr, i32 }
          cleanup
  %352 = extractvalue { ptr, i32 } %351, 0
  store ptr %352, ptr %7, align 8
  %353 = extractvalue { ptr, i32 } %351, 1
  store i32 %353, ptr %8, align 4
  br label %358

354:                                              ; preds = %326, %324
  %355 = landingpad { ptr, i32 }
          cleanup
  %356 = extractvalue { ptr, i32 } %355, 0
  store ptr %356, ptr %7, align 8
  %357 = extractvalue { ptr, i32 } %355, 1
  store i32 %357, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %29) #8
  br label %358

358:                                              ; preds = %354, %350
  call void @llvm.lifetime.end.p0(i64 88, ptr %29) #8
  br label %440

359:                                              ; preds = %349, %333
  br label %360

360:                                              ; preds = %359
  br label %361

361:                                              ; preds = %360
  store i1 true, ptr %31, align 1
  %362 = call ptr @__cxa_allocate_exception(i64 96) #8
  %363 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %30, i32 noundef 47)
          to label %364 unwind label %366

364:                                              ; preds = %361
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %362, ptr noundef nonnull align 8 dereferenceable(176) %363, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %30)
          to label %365 unwind label %370

365:                                              ; preds = %364
  store i1 false, ptr %31, align 1
  invoke void @__cxa_throw(ptr %362, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %566 unwind label %370

366:                                              ; preds = %361
  %367 = landingpad { ptr, i32 }
          cleanup
  %368 = extractvalue { ptr, i32 } %367, 0
  store ptr %368, ptr %7, align 8
  %369 = extractvalue { ptr, i32 } %367, 1
  store i32 %369, ptr %8, align 4
  br label %374

370:                                              ; preds = %365, %364
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %7, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #8
  br label %374

374:                                              ; preds = %370, %366
  %375 = load i1, ptr %31, align 1
  br i1 %375, label %376, label %377

376:                                              ; preds = %374
  call void @__cxa_free_exception(ptr %362) #8
  br label %377

377:                                              ; preds = %376, %374
  br label %440

378:                                              ; preds = %328
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379
  br label %418

381:                                              ; preds = %220
  %382 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %32, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %383 unwind label %117

383:                                              ; preds = %381
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %382, ptr noundef %32)
          to label %384 unwind label %391

384:                                              ; preds = %383
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #8
  %385 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %386 = trunc i8 %385 to i1
  br i1 %386, label %404, label %387

387:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 544, ptr %33) #8
  %388 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %33, ptr noundef nonnull align 8 dereferenceable(176) %388, i32 noundef 1)
          to label %389 unwind label %395

389:                                              ; preds = %387
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(544) %33)
          to label %390 unwind label %399

390:                                              ; preds = %389
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %33) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %33) #8
  br label %417

391:                                              ; preds = %383
  %392 = landingpad { ptr, i32 }
          cleanup
  %393 = extractvalue { ptr, i32 } %392, 0
  store ptr %393, ptr %7, align 8
  %394 = extractvalue { ptr, i32 } %392, 1
  store i32 %394, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #8
  br label %440

395:                                              ; preds = %387
  %396 = landingpad { ptr, i32 }
          cleanup
  %397 = extractvalue { ptr, i32 } %396, 0
  store ptr %397, ptr %7, align 8
  %398 = extractvalue { ptr, i32 } %396, 1
  store i32 %398, ptr %8, align 4
  br label %403

399:                                              ; preds = %389
  %400 = landingpad { ptr, i32 }
          cleanup
  %401 = extractvalue { ptr, i32 } %400, 0
  store ptr %401, ptr %7, align 8
  %402 = extractvalue { ptr, i32 } %400, 1
  store i32 %402, ptr %8, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %33) #8
  br label %403

403:                                              ; preds = %399, %395
  call void @llvm.lifetime.end.p0(i64 544, ptr %33) #8
  br label %440

404:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 544, ptr %34) #8
  %405 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %34, ptr noundef nonnull align 8 dereferenceable(176) %405, i32 noundef 1)
          to label %406 unwind label %408

406:                                              ; preds = %404
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(544) %34)
          to label %407 unwind label %412

407:                                              ; preds = %406
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %34) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %34) #8
  br label %417

408:                                              ; preds = %404
  %409 = landingpad { ptr, i32 }
          cleanup
  %410 = extractvalue { ptr, i32 } %409, 0
  store ptr %410, ptr %7, align 8
  %411 = extractvalue { ptr, i32 } %409, 1
  store i32 %411, ptr %8, align 4
  br label %416

412:                                              ; preds = %406
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %7, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %8, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %34) #8
  br label %416

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

417:                                              ; preds = %407, %390
  br label %418

418:                                              ; preds = %417, %380
  call void @llvm.lifetime.start.p0(i64 88, ptr %35) #8
  %419 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %35, ptr noundef nonnull align 8 dereferenceable(176) %419)
          to label %420 unwind label %427

420:                                              ; preds = %418
  %421 = 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 %422 unwind label %431

422:                                              ; preds = %420
  %423 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %421)
          to label %424 unwind label %431

424:                                              ; preds = %422
  %425 = icmp ne i32 %423, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %35) #8
  br i1 %425, label %426, label %436

426:                                              ; preds = %424
  store i32 3, ptr %36, align 4
  br label %437

427:                                              ; preds = %418
  %428 = landingpad { ptr, i32 }
          cleanup
  %429 = extractvalue { ptr, i32 } %428, 0
  store ptr %429, ptr %7, align 8
  %430 = extractvalue { ptr, i32 } %428, 1
  store i32 %430, ptr %8, align 4
  br label %435

431:                                              ; preds = %422, %420
  %432 = landingpad { ptr, i32 }
          cleanup
  %433 = extractvalue { ptr, i32 } %432, 0
  store ptr %433, ptr %7, align 8
  %434 = extractvalue { ptr, i32 } %432, 1
  store i32 %434, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #8
  br label %435

435:                                              ; preds = %431, %427
  call void @llvm.lifetime.end.p0(i64 88, ptr %35) #8
  br label %440

436:                                              ; preds = %424
  store i32 0, ptr %36, align 4
  br label %437

437:                                              ; preds = %436, %426
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  %438 = load i32, ptr %36, align 4
  switch i32 %438, label %566 [
    i32 0, label %439
    i32 3, label %442
  ]

439:                                              ; preds = %437
  br label %50, !llvm.loop !15

440:                                              ; preds = %435, %416, %403, %391, %377, %358, %317, %298, %248, %247, %212, %183, %143, %129, %117
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %15) #8
  br label %441

441:                                              ; preds = %440, %113
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %558

442:                                              ; preds = %437, %56
  br label %443

443:                                              ; preds = %442
  %444 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %445 unwind label %467

445:                                              ; preds = %443
  %446 = icmp ne i32 %444, 30
  br i1 %446, label %447, label %490

447:                                              ; preds = %445
  br label %448

448:                                              ; preds = %447
  %449 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %450 unwind label %467

450:                                              ; preds = %448
  br i1 %449, label %451, label %471

451:                                              ; preds = %450
  %452 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !13
  %453 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %452, ptr noundef @__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream)
          to label %454 unwind label %467

454:                                              ; preds = %451
  %455 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %453, ptr noundef @.str)
          to label %456 unwind label %467

456:                                              ; preds = %454
  %457 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %455, ptr noundef @.str.1)
          to label %458 unwind label %467

458:                                              ; preds = %456
  %459 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %457, ptr noundef @.str.2)
          to label %460 unwind label %467

460:                                              ; preds = %458
  %461 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %459, i32 noundef 447)
          to label %462 unwind label %467

462:                                              ; preds = %460
  %463 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %461, ptr noundef @_ZSt3decRSt8ios_base)
          to label %464 unwind label %467

464:                                              ; preds = %462
  %465 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %463, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %466 unwind label %467

466:                                              ; preds = %464
  br label %471

467:                                              ; preds = %536, %524, %495, %464, %462, %460, %458, %456, %454, %451, %448, %443
  %468 = landingpad { ptr, i32 }
          cleanup
  %469 = extractvalue { ptr, i32 } %468, 0
  store ptr %469, ptr %7, align 8
  %470 = extractvalue { ptr, i32 } %468, 1
  store i32 %470, ptr %8, align 4
  br label %558

471:                                              ; preds = %466, %450
  br label %472

472:                                              ; preds = %471
  br label %473

473:                                              ; preds = %472
  store i1 true, ptr %38, align 1
  %474 = call ptr @__cxa_allocate_exception(i64 96) #8
  %475 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %37, i32 noundef 30)
          to label %476 unwind label %478

476:                                              ; preds = %473
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %474, ptr noundef nonnull align 8 dereferenceable(176) %475, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %37)
          to label %477 unwind label %482

477:                                              ; preds = %476
  store i1 false, ptr %38, align 1
  invoke void @__cxa_throw(ptr %474, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %566 unwind label %482

478:                                              ; preds = %473
  %479 = landingpad { ptr, i32 }
          cleanup
  %480 = extractvalue { ptr, i32 } %479, 0
  store ptr %480, ptr %7, align 8
  %481 = extractvalue { ptr, i32 } %479, 1
  store i32 %481, ptr %8, align 4
  br label %486

482:                                              ; preds = %477, %476
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %7, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %37) #8
  br label %486

486:                                              ; preds = %482, %478
  %487 = load i1, ptr %38, align 1
  br i1 %487, label %488, label %489

488:                                              ; preds = %486
  call void @__cxa_free_exception(ptr %474) #8
  br label %489

489:                                              ; preds = %488, %486
  br label %558

490:                                              ; preds = %445
  br label %491

491:                                              ; preds = %490
  br label %492

492:                                              ; preds = %491
  %493 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %494 = trunc i8 %493 to i1
  br i1 %494, label %495, label %524

495:                                              ; preds = %492
  %496 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %40, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %497 unwind label %467

497:                                              ; preds = %495
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %39, ptr noundef nonnull align 8 dereferenceable(176) %496, ptr noundef %40)
          to label %498 unwind label %505

498:                                              ; preds = %497
  %499 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_SplitSlice", ptr %42, i32 0, i32 0
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %499, ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  %500 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_SplitSlice", ptr %42, i32 0, i32 1
  invoke void @_ZN3AST14PatternBindingC2EOS0_(ptr noundef nonnull align 8 dereferenceable(28) %500, ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %501 unwind label %509

501:                                              ; preds = %498
  %502 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_SplitSlice", ptr %42, i32 0, i32 2
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %502, ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  invoke void @_ZN3AST7Pattern4Data15make_SplitSliceENS1_15Data_SplitSliceE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Data") align 8 %41, ptr noundef %42)
          to label %503 unwind label %513

503:                                              ; preds = %501
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %39, ptr noundef %41)
          to label %504 unwind label %517

504:                                              ; preds = %503
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %41) #8
  call void @_ZN3AST7Pattern4Data15Data_SplitSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %42) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  store i32 1, ptr %36, align 4
  br label %557

505:                                              ; preds = %497
  %506 = landingpad { ptr, i32 }
          cleanup
  %507 = extractvalue { ptr, i32 } %506, 0
  store ptr %507, ptr %7, align 8
  %508 = extractvalue { ptr, i32 } %506, 1
  store i32 %508, ptr %8, align 4
  br label %523

509:                                              ; preds = %498
  %510 = landingpad { ptr, i32 }
          cleanup
  %511 = extractvalue { ptr, i32 } %510, 0
  store ptr %511, ptr %7, align 8
  %512 = extractvalue { ptr, i32 } %510, 1
  store i32 %512, ptr %8, align 4
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %499) #8
  br label %522

513:                                              ; preds = %501
  %514 = landingpad { ptr, i32 }
          cleanup
  %515 = extractvalue { ptr, i32 } %514, 0
  store ptr %515, ptr %7, align 8
  %516 = extractvalue { ptr, i32 } %514, 1
  store i32 %516, ptr %8, align 4
  br label %521

517:                                              ; preds = %503
  %518 = landingpad { ptr, i32 }
          cleanup
  %519 = extractvalue { ptr, i32 } %518, 0
  store ptr %519, ptr %7, align 8
  %520 = extractvalue { ptr, i32 } %518, 1
  store i32 %520, ptr %8, align 4
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %41) #8
  br label %521

521:                                              ; preds = %517, %513
  call void @_ZN3AST7Pattern4Data15Data_SplitSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %42) #8
  br label %522

522:                                              ; preds = %521, %509
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %39) #8
  br label %523

523:                                              ; preds = %522, %505
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  br label %558

524:                                              ; preds = %492
  %525 = invoke noundef zeroext i1 @_ZNK3AST14PatternBinding8is_validEv(ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %526 unwind label %467

526:                                              ; preds = %524
  %527 = xor i1 %525, true
  br i1 %527, label %528, label %529

528:                                              ; preds = %526
  br label %531

529:                                              ; preds = %526
  call void @__assert_fail(ptr noundef @.str.15, ptr noundef @.str.1, i32 noundef 455, ptr noundef @__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream) #10
  unreachable

530:                                              ; No predecessors!
  br label %531

531:                                              ; preds = %530, %528
  %532 = call noundef zeroext i1 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br i1 %532, label %533, label %534

533:                                              ; preds = %531
  br label %536

534:                                              ; preds = %531
  call void @__assert_fail(ptr noundef @.str.16, ptr noundef @.str.1, i32 noundef 456, ptr noundef @__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream) #10
  unreachable

535:                                              ; No predecessors!
  br label %536

536:                                              ; preds = %535, %533
  %537 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %538 unwind label %467

538:                                              ; preds = %536
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %43, ptr noundef nonnull align 8 dereferenceable(176) %537, ptr noundef %44)
          to label %539 unwind label %543

539:                                              ; preds = %538
  %540 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Slice", ptr %46, i32 0, i32 0
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %540, ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  invoke void @_ZN3AST7Pattern4Data10make_SliceENS1_10Data_SliceE(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Data") align 8 %45, ptr noundef %46)
          to label %541 unwind label %547

541:                                              ; preds = %539
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %43, ptr noundef %45)
          to label %542 unwind label %551

542:                                              ; preds = %541
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %45) #8
  call void @_ZN3AST7Pattern4Data10Data_SliceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  store i32 1, ptr %36, align 4
  br label %557

543:                                              ; preds = %538
  %544 = landingpad { ptr, i32 }
          cleanup
  %545 = extractvalue { ptr, i32 } %544, 0
  store ptr %545, ptr %7, align 8
  %546 = extractvalue { ptr, i32 } %544, 1
  store i32 %546, ptr %8, align 4
  br label %556

547:                                              ; preds = %539
  %548 = landingpad { ptr, i32 }
          cleanup
  %549 = extractvalue { ptr, i32 } %548, 0
  store ptr %549, ptr %7, align 8
  %550 = extractvalue { ptr, i32 } %548, 1
  store i32 %550, ptr %8, align 4
  br label %555

551:                                              ; preds = %541
  %552 = landingpad { ptr, i32 }
          cleanup
  %553 = extractvalue { ptr, i32 } %552, 0
  store ptr %553, ptr %7, align 8
  %554 = extractvalue { ptr, i32 } %552, 1
  store i32 %554, ptr %8, align 4
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %45) #8
  br label %555

555:                                              ; preds = %551, %547
  call void @_ZN3AST7Pattern4Data10Data_SliceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  br label %556

556:                                              ; preds = %555, %543
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  br label %558

557:                                              ; preds = %542, %504
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %11) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  ret void

558:                                              ; preds = %556, %523, %489, %467, %441, %112
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %11) #8
  br label %559

559:                                              ; preds = %558, %100
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  br label %560

560:                                              ; preds = %559, %96
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %5) #8
  br label %561

561:                                              ; preds = %560
  %562 = load ptr, ptr %7, align 8
  %563 = load i32, ptr %8, align 4
  %564 = insertvalue { ptr, i32 } poison, ptr %562, 0
  %565 = insertvalue { ptr, i32 } %564, i32 %563, 1
  resume { ptr, i32 } %565

566:                                              ; preds = %477, %437, %365, %305, %233
  unreachable
}

declare void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4Data15make_SplitSliceENS1_15Data_SplitSliceE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Data") align 8, ptr noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4Data10make_SliceENS1_10Data_SliceE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Data") align 8, ptr noundef) #0 align 2

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

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

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

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


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

%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%struct.Span = type { ptr }
%"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.RcString = type { ptr }
%"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 }
%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%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::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_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.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.89 = type { i8 }
%"struct.AST::Pattern::Data::Data_SplitSlice" = type { %"class.std::vector.49", %"class.AST::PatternBinding", %"class.std::vector.49" }
%"struct.AST::Pattern::Data::Data_Slice" = type { %"class.std::vector.49" }

@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
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [26 x i8], align 1
@__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream = external hidden unnamed_addr constant [52 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

declare void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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 #2

; 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 #5 align 2

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

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

; 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 #0 align 2

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

; 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 #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #0 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 #5

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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 #2

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

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 #0 align 2

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

; 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 #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #6 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 #0 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 #0 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23Parse_PatternReal_SliceR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.ProtoSpan, align 8
  %4 = alloca %class.Token, align 8
  %5 = alloca %"class.std::vector.49", align 8
  %6 = alloca %"class.std::vector.49", align 8
  %7 = alloca %"class.AST::PatternBinding", align 8
  %8 = alloca %class.Token, align 8
  %9 = alloca %"class.AST::PatternBinding", align 8
  %10 = alloca %class.Token, align 8
  %11 = alloca %"class.AST::PatternBinding", align 8
  %12 = alloca %struct.Ident, align 8
  %13 = alloca %"class.AST::PatternBinding", align 8
  %14 = alloca %struct.Ident, align 8
  %15 = alloca %class.Token, align 8
  %16 = alloca %struct.Span, align 8
  %17 = alloca %struct.ProtoSpan, align 8
  %18 = alloca %"class.std::function", align 8
  %19 = alloca %class.anon.89, align 1
  %20 = alloca %class.Token, align 8
  %21 = alloca %class.Token, align 8
  %22 = alloca %class.Token, align 8
  %23 = alloca %class.Token, align 8
  %24 = alloca %class.Token, align 8
  %25 = alloca %"class.AST::Pattern", align 8
  %26 = alloca %"class.AST::Pattern", align 8
  %27 = alloca %class.Token, align 8
  %28 = alloca %class.Token, align 8
  %29 = alloca %struct.Span, align 8
  %30 = alloca %struct.ProtoSpan, align 8
  %31 = alloca %"class.AST::Pattern::Data", align 8
  %32 = alloca %"struct.AST::Pattern::Data::Data_SplitSlice", align 8
  %33 = alloca %struct.Span, align 8
  %34 = alloca %struct.ProtoSpan, align 8
  %35 = alloca %"class.AST::Pattern::Data", align 8
  %36 = alloca %"struct.AST::Pattern::Data::Data_Slice", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #8
  call void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.ProtoSpan) align 8 %3, ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %37 unwind label %73

37:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %7)
          to label %.preheader unwind label %75

.preheader:                                       ; preds = %37, %272
  %.042 = phi i8 [ %.143, %272 ], [ 0, %37 ]
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %8) #8
  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 %38 unwind label %77

38:                                               ; preds = %.preheader
  %39 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %8)
          to label %40 unwind label %79

40:                                               ; preds = %38
  %41 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %39)
  %.not = icmp eq i32 %41, 30
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  br i1 %.not, label %281, label %42

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  invoke void @_ZN3AST14PatternBindingC2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9)
          to label %43 unwind label %82

43:                                               ; preds = %42
  %44 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %45 = icmp eq i32 %44, 108
  br i1 %45, label %46, label %97

46:                                               ; preds = %43
  %47 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %48 unwind label %.loopexit

48:                                               ; preds = %46
  %49 = icmp eq i32 %47, 14
  br i1 %49, label %50, label %97

50:                                               ; preds = %48
  %51 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %52 unwind label %.loopexit

52:                                               ; preds = %50
  %53 = icmp eq i32 %51, 47
  br i1 %53, label %62, label %54

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

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

58:                                               ; preds = %56
  %59 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 2)
          to label %60 unwind label %.loopexit

60:                                               ; preds = %58
  %61 = icmp eq i32 %59, 47
  br i1 %61, label %62, label %97

62:                                               ; preds = %60, %52
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %10) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %10, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %63 unwind label %84

63:                                               ; preds = %62
  %64 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %65 unwind label %86

65:                                               ; preds = %63
  %66 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %64)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %10) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  %67 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %68 unwind label %89

68:                                               ; preds = %65
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %67)
          to label %69 unwind label %89

69:                                               ; preds = %68
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %11, ptr noundef nonnull %12, i32 noundef 1, i1 noundef zeroext false)
          to label %70 unwind label %91

70:                                               ; preds = %69
  %71 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %9, ptr noundef nonnull align 8 dereferenceable(28) %11)
          to label %72 unwind label %93

72:                                               ; preds = %70
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %11) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %.critedge

73:                                               ; preds = %2
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %356

75:                                               ; preds = %37
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %355

77:                                               ; preds = %.preheader
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %38
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  br label %81

81:                                               ; preds = %79, %77
  %.pn = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  br label %354

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

.loopexit:                                        ; preds = %46, %50, %54, %58, %100, %104, %108, %130, %134, %138, %145, %167, %169, %247
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %279

.loopexit.split-lp:                               ; preds = %156, %178, %181, %184, %186, %188, %190, %192, %194, %215, %218, %221, %223, %225, %227, %229, %231
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %279

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

86:                                               ; preds = %63
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  br label %88

88:                                               ; preds = %86, %84
  %.pn77 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %10) #8
  br label %279

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

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

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

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

96:                                               ; preds = %95, %89
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %95 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %279

97:                                               ; preds = %60, %56, %48, %43
  %98 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %99 = icmp eq i32 %98, 14
  br i1 %99, label %100, label %127

100:                                              ; preds = %97
  %101 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %102 unwind label %.loopexit

102:                                              ; preds = %100
  %103 = icmp eq i32 %101, 47
  br i1 %103, label %112, label %104

104:                                              ; preds = %102
  %105 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %106 unwind label %.loopexit

106:                                              ; preds = %104
  %107 = icmp eq i32 %105, 70
  br i1 %107, label %108, label %127

108:                                              ; preds = %106
  %109 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %110 unwind label %.loopexit

110:                                              ; preds = %108
  %111 = icmp eq i32 %109, 47
  br i1 %111, label %112, label %127

112:                                              ; preds = %110, %102
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #8
  %113 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %114 unwind label %119

114:                                              ; preds = %112
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef nonnull align 8 dereferenceable(16) %113)
          to label %115 unwind label %119

115:                                              ; preds = %114
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %13, ptr noundef nonnull %14, i32 noundef 0, i1 noundef zeroext false)
          to label %116 unwind label %121

116:                                              ; preds = %115
  %117 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %9, ptr noundef nonnull align 8 dereferenceable(28) %13)
          to label %118 unwind label %123

118:                                              ; preds = %116
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %13) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %.critedge

119:                                              ; preds = %114, %112
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %126

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

123:                                              ; preds = %116
  %124 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %13) #8
  br label %125

125:                                              ; preds = %123, %121
  %.pn74 = phi { ptr, i32 } [ %124, %123 ], [ %122, %121 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #8
  br label %126

126:                                              ; preds = %125, %119
  %.pn74.pn = phi { ptr, i32 } [ %.pn74, %125 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #8
  br label %279

127:                                              ; preds = %110, %106, %97
  %128 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %129 = icmp eq i32 %128, 22
  br i1 %129, label %130, label %142

130:                                              ; preds = %127
  %131 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %132 unwind label %.loopexit

132:                                              ; preds = %130
  %133 = icmp eq i32 %131, 47
  br i1 %133, label %.critedge, label %134

134:                                              ; preds = %132
  %135 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %136 unwind label %.loopexit

136:                                              ; preds = %134
  %137 = icmp eq i32 %135, 70
  br i1 %137, label %138, label %142

138:                                              ; preds = %136
  %139 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %140 unwind label %.loopexit

140:                                              ; preds = %138
  %141 = icmp eq i32 %139, 47
  br i1 %141, label %.critedge, label %142

142:                                              ; preds = %140, %136, %127
  %143 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %144 = icmp eq i32 %143, 47
  br i1 %144, label %145, label %247

145:                                              ; preds = %142
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %15, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %146 unwind label %.loopexit

146:                                              ; preds = %145
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %15)
          to label %147 unwind label %148

147:                                              ; preds = %146
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #8
  br label %.critedge

148:                                              ; preds = %146
  %149 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #8
  br label %279

.critedge:                                        ; preds = %147, %140, %132, %118, %72
  %150 = trunc nuw i8 %.042 to i1
  br i1 %150, label %151, label %167

151:                                              ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %17, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %152 unwind label %157

152:                                              ; preds = %151
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %16, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %17)
          to label %153 unwind label %159

153:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ23Parse_PatternReal_SliceR11TokenStreamE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 1 dereferenceable(1) %19) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %16, i32 noundef 0, ptr noundef nonnull %18)
          to label %154 unwind label %161

154:                                              ; preds = %153
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  %155 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %155, ptr noundef nonnull @.str.13)
          to label %156 unwind label %165

156:                                              ; preds = %154
  invoke void @__cxa_throw(ptr nonnull %155, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #9
          to label %357 unwind label %.loopexit.split-lp

157:                                              ; preds = %151
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %164

159:                                              ; preds = %152
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %163

161:                                              ; preds = %153
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  br label %163

163:                                              ; preds = %161, %159
  %.pn109 = phi { ptr, i32 } [ %162, %161 ], [ %160, %159 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #8
  br label %164

164:                                              ; preds = %163, %157
  %.pn109.pn = phi { ptr, i32 } [ %.pn109, %163 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  br label %279

165:                                              ; preds = %154
  %166 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %155) #8
  br label %279

167:                                              ; preds = %.critedge
  %168 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN3AST14PatternBindingaSEOS0_(ptr noundef nonnull align 8 dereferenceable(28) %7, ptr noundef nonnull align 8 dereferenceable(28) %9)
          to label %169 unwind label %.loopexit

169:                                              ; preds = %167
  %170 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %171 unwind label %.loopexit

171:                                              ; preds = %169
  %172 = icmp eq i32 %170, 70
  br i1 %172, label %173, label %210

173:                                              ; preds = %171
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %20) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %20, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %174 unwind label %196

174:                                              ; preds = %173
  %175 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %20)
          to label %176 unwind label %198

176:                                              ; preds = %174
  %177 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %175)
  %.not88 = icmp eq i32 %177, 70
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #8
  br i1 %.not88, label %210, label %178

178:                                              ; preds = %176
  %179 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %180 unwind label %.loopexit.split-lp

180:                                              ; preds = %178
  br i1 %179, label %181, label %201

181:                                              ; preds = %180
  %182 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %182, ptr noundef nonnull @__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream)
          to label %184 unwind label %.loopexit.split-lp

184:                                              ; preds = %181
  %185 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %183, ptr noundef nonnull @.str.14)
          to label %186 unwind label %.loopexit.split-lp

186:                                              ; preds = %184
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %185, ptr noundef nonnull @.str.1)
          to label %188 unwind label %.loopexit.split-lp

188:                                              ; preds = %186
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef nonnull @.str.2)
          to label %190 unwind label %.loopexit.split-lp

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %189, i32 noundef 431)
          to label %192 unwind label %.loopexit.split-lp

192:                                              ; preds = %190
  %193 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %191, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %194 unwind label %.loopexit.split-lp

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %201 unwind label %.loopexit.split-lp

196:                                              ; preds = %173
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %200

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

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

201:                                              ; preds = %194, %180
  %202 = call ptr @__cxa_allocate_exception(i64 96) #8
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef 70)
          to label %203 unwind label %.thread

203:                                              ; preds = %201
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %202, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %21)
          to label %205 unwind label %.thread121

.thread121:                                       ; preds = %203
  %204 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %209

205:                                              ; preds = %203
  invoke void @__cxa_throw(ptr nonnull %202, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %357 unwind label %207

.thread:                                          ; preds = %201
  %206 = landingpad { ptr, i32 }
          cleanup
  br label %209

207:                                              ; preds = %205
  %208 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  br label %279

209:                                              ; preds = %.thread121, %.thread
  %.pn107120 = phi { ptr, i32 } [ %206, %.thread ], [ %204, %.thread121 ]
  call void @__cxa_free_exception(ptr %202) #8
  br label %279

210:                                              ; preds = %171, %176
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %22) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %22, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %211 unwind label %233

211:                                              ; preds = %210
  %212 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %22)
          to label %213 unwind label %235

213:                                              ; preds = %211
  %214 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %212)
  %.not91 = icmp eq i32 %214, 47
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #8
  br i1 %.not91, label %269, label %215

215:                                              ; preds = %213
  %216 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %217 unwind label %.loopexit.split-lp

217:                                              ; preds = %215
  br i1 %216, label %218, label %238

218:                                              ; preds = %217
  %219 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %219, ptr noundef nonnull @__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream)
          to label %221 unwind label %.loopexit.split-lp

221:                                              ; preds = %218
  %222 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %220, ptr noundef nonnull @.str.14)
          to label %223 unwind label %.loopexit.split-lp

223:                                              ; preds = %221
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %222, ptr noundef nonnull @.str.1)
          to label %225 unwind label %.loopexit.split-lp

225:                                              ; preds = %223
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %224, ptr noundef nonnull @.str.2)
          to label %227 unwind label %.loopexit.split-lp

227:                                              ; preds = %225
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %226, i32 noundef 432)
          to label %229 unwind label %.loopexit.split-lp

229:                                              ; preds = %227
  %230 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %228, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %231 unwind label %.loopexit.split-lp

231:                                              ; preds = %229
  %232 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %230, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %238 unwind label %.loopexit.split-lp

233:                                              ; preds = %210
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

235:                                              ; preds = %211
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  br label %237

237:                                              ; preds = %235, %233
  %.pn89 = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %22) #8
  br label %279

238:                                              ; preds = %231, %217
  %239 = call ptr @__cxa_allocate_exception(i64 96) #8
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %23, i32 noundef 47)
          to label %240 unwind label %.thread123

240:                                              ; preds = %238
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %239, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %23)
          to label %242 unwind label %.thread127

.thread127:                                       ; preds = %240
  %241 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  br label %246

242:                                              ; preds = %240
  invoke void @__cxa_throw(ptr nonnull %239, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %357 unwind label %244

.thread123:                                       ; preds = %238
  %243 = landingpad { ptr, i32 }
          cleanup
  br label %246

244:                                              ; preds = %242
  %245 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #8
  br label %279

246:                                              ; preds = %.thread127, %.thread123
  %.pn105126 = phi { ptr, i32 } [ %243, %.thread123 ], [ %241, %.thread127 ]
  call void @__cxa_free_exception(ptr %239) #8
  br label %279

247:                                              ; preds = %142
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %248 unwind label %.loopexit

248:                                              ; preds = %247
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %24)
          to label %249 unwind label %254

249:                                              ; preds = %248
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  %250 = trunc nuw i8 %.042 to i1
  br i1 %250, label %261, label %251

251:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %25) #8
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %252 unwind label %256

252:                                              ; preds = %251
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(544) %25)
          to label %253 unwind label %258

253:                                              ; preds = %252
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %25) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %25) #8
  br label %269

254:                                              ; preds = %248
  %255 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  br label %279

256:                                              ; preds = %251
  %257 = landingpad { ptr, i32 }
          cleanup
  br label %260

258:                                              ; preds = %252
  %259 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %25) #8
  br label %260

260:                                              ; preds = %258, %256
  %.pn82 = phi { ptr, i32 } [ %259, %258 ], [ %257, %256 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %25) #8
  br label %279

261:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %26) #8
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %26, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %262 unwind label %264

262:                                              ; preds = %261
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(544) %26)
          to label %263 unwind label %266

263:                                              ; preds = %262
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %26) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %26) #8
  br label %269

264:                                              ; preds = %261
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %268

266:                                              ; preds = %262
  %267 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %26) #8
  br label %268

268:                                              ; preds = %266, %264
  %.pn84 = phi { ptr, i32 } [ %267, %266 ], [ %265, %264 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %26) #8
  br label %279

269:                                              ; preds = %253, %263, %213
  %.143 = phi i8 [ 1, %213 ], [ %.042, %263 ], [ %.042, %253 ]
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %27) #8
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %270 unwind label %274

270:                                              ; preds = %269
  %271 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %272 unwind label %276

272:                                              ; preds = %270
  %273 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %271)
  %.not94 = icmp eq i32 %273, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %27) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br i1 %.not94, label %.preheader, label %281

274:                                              ; preds = %269
  %275 = landingpad { ptr, i32 }
          cleanup
  br label %278

276:                                              ; preds = %270
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #8
  br label %278

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

279:                                              ; preds = %.loopexit, %.loopexit.split-lp, %244, %207, %246, %209, %278, %268, %260, %254, %237, %200, %165, %164, %148, %126, %96, %88
  %.pn112 = phi { ptr, i32 } [ %166, %165 ], [ %.pn109.pn, %164 ], [ %.pn107120, %209 ], [ %208, %207 ], [ %.pn105126, %246 ], [ %245, %244 ], [ %.pn92, %278 ], [ %.pn89, %237 ], [ %.pn86, %200 ], [ %.pn84, %268 ], [ %.pn82, %260 ], [ %255, %254 ], [ %.pn79.pn, %96 ], [ %.pn77, %88 ], [ %.pn74.pn, %126 ], [ %149, %148 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #8
  br label %280

280:                                              ; preds = %279, %82
  %.pn112.pn = phi { ptr, i32 } [ %.pn112, %279 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %354

281:                                              ; preds = %272, %40
  %.2 = phi i8 [ %.143, %272 ], [ %.042, %40 ]
  %282 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %.not95 = icmp eq i32 %282, 30
  br i1 %.not95, label %312, label %283

283:                                              ; preds = %281
  %284 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %285 unwind label %301

285:                                              ; preds = %283
  br i1 %284, label %286, label %303

286:                                              ; preds = %285
  %287 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %288 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %287, ptr noundef nonnull @__FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream)
          to label %289 unwind label %301

289:                                              ; preds = %286
  %290 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %288, ptr noundef nonnull @.str)
          to label %291 unwind label %301

291:                                              ; preds = %289
  %292 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %290, ptr noundef nonnull @.str.1)
          to label %293 unwind label %301

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

295:                                              ; preds = %293
  %296 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %294, i32 noundef 447)
          to label %297 unwind label %301

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

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

301:                                              ; preds = %340, %333, %314, %299, %297, %295, %293, %291, %289, %286, %283
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %354

303:                                              ; preds = %299, %285
  %304 = call ptr @__cxa_allocate_exception(i64 96) #8
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %28, i32 noundef 30)
          to label %305 unwind label %.thread129

305:                                              ; preds = %303
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %304, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %28)
          to label %307 unwind label %.thread133

.thread133:                                       ; preds = %305
  %306 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  br label %311

307:                                              ; preds = %305
  invoke void @__cxa_throw(ptr nonnull %304, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %357 unwind label %309

.thread129:                                       ; preds = %303
  %308 = landingpad { ptr, i32 }
          cleanup
  br label %311

309:                                              ; preds = %307
  %310 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  br label %354

311:                                              ; preds = %.thread133, %.thread129
  %.pn103132 = phi { ptr, i32 } [ %308, %.thread129 ], [ %306, %.thread133 ]
  call void @__cxa_free_exception(ptr %304) #8
  br label %354

312:                                              ; preds = %281
  %313 = trunc nuw i8 %.2 to i1
  br i1 %313, label %314, label %333

314:                                              ; preds = %312
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %30, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %315 unwind label %301

315:                                              ; preds = %314
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %29, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %30)
          to label %316 unwind label %322

316:                                              ; preds = %315
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  %317 = getelementptr inbounds i8, ptr %32, i64 24
  invoke void @_ZN3AST14PatternBindingC2EOS0_(ptr noundef nonnull align 8 dereferenceable(28) %317, ptr noundef nonnull align 8 dereferenceable(28) %7)
          to label %318 unwind label %324

318:                                              ; preds = %316
  %319 = getelementptr inbounds i8, ptr %32, i64 56
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %319, ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  invoke void @_ZN3AST7Pattern4Data15make_SplitSliceENS1_15Data_SplitSliceE(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern::Data") align 8 %31, ptr noundef nonnull %32)
          to label %320 unwind label %326

320:                                              ; preds = %318
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %29, ptr noundef nonnull %31)
          to label %321 unwind label %328

321:                                              ; preds = %320
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %31) #8
  call void @_ZN3AST7Pattern4Data15Data_SplitSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #8
  br label %353

322:                                              ; preds = %315
  %323 = landingpad { ptr, i32 }
          cleanup
  br label %332

324:                                              ; preds = %316
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %331

326:                                              ; preds = %318
  %327 = landingpad { ptr, i32 }
          cleanup
  br label %330

328:                                              ; preds = %320
  %329 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %31) #8
  br label %330

330:                                              ; preds = %328, %326
  %.pn99 = phi { ptr, i32 } [ %329, %328 ], [ %327, %326 ]
  call void @_ZN3AST7Pattern4Data15Data_SplitSliceD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %32) #8
  br label %331

331:                                              ; preds = %330, %324
  %.pn99.pn = phi { ptr, i32 } [ %.pn99, %330 ], [ %325, %324 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  br label %332

332:                                              ; preds = %331, %322
  %.pn99.pn.pn = phi { ptr, i32 } [ %.pn99.pn, %331 ], [ %323, %322 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  br label %354

333:                                              ; preds = %312
  %334 = invoke noundef zeroext i1 @_ZNK3AST14PatternBinding8is_validEv(ptr noundef nonnull align 8 dereferenceable(28) %7)
          to label %335 unwind label %301

335:                                              ; preds = %333
  br i1 %334, label %336, label %337

336:                                              ; preds = %335
  call void @__assert_fail(ptr noundef nonnull @.str.15, ptr noundef nonnull @.str.1, i32 noundef 455, ptr noundef nonnull @__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream) #10
  unreachable

337:                                              ; preds = %335
  %338 = call noundef zeroext i1 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  br i1 %338, label %340, label %339

339:                                              ; preds = %337
  call void @__assert_fail(ptr noundef nonnull @.str.16, ptr noundef nonnull @.str.1, i32 noundef 456, ptr noundef nonnull @__PRETTY_FUNCTION__._Z23Parse_PatternReal_SliceR11TokenStream) #10
  unreachable

340:                                              ; preds = %337
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %341 unwind label %301

341:                                              ; preds = %340
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %33, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %34)
          to label %342 unwind label %345

342:                                              ; preds = %341
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  invoke void @_ZN3AST7Pattern4Data10make_SliceENS1_10Data_SliceE(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern::Data") align 8 %35, ptr noundef nonnull %36)
          to label %343 unwind label %347

343:                                              ; preds = %342
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %33, ptr noundef nonnull %35)
          to label %344 unwind label %349

344:                                              ; preds = %343
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %35) #8
  call void @_ZN3AST7Pattern4Data10Data_SliceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  br label %353

345:                                              ; preds = %341
  %346 = landingpad { ptr, i32 }
          cleanup
  br label %352

347:                                              ; preds = %342
  %348 = landingpad { ptr, i32 }
          cleanup
  br label %351

349:                                              ; preds = %343
  %350 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %35) #8
  br label %351

351:                                              ; preds = %349, %347
  %.pn96 = phi { ptr, i32 } [ %350, %349 ], [ %348, %347 ]
  call void @_ZN3AST7Pattern4Data10Data_SliceD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  br label %352

352:                                              ; preds = %351, %345
  %.pn96.pn = phi { ptr, i32 } [ %.pn96, %351 ], [ %346, %345 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #8
  br label %354

353:                                              ; preds = %344, %321
  %.sink135 = phi ptr [ %33, %344 ], [ %29, %321 ]
  %.sink = phi ptr [ %34, %344 ], [ %30, %321 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %.sink135) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %.sink) #8
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %7) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  ret void

354:                                              ; preds = %309, %311, %352, %332, %301, %280, %81
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn112.pn, %280 ], [ %.pn103132, %311 ], [ %310, %309 ], [ %302, %301 ], [ %.pn99.pn.pn, %332 ], [ %.pn96.pn, %352 ], [ %.pn, %81 ]
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %7) #8
  br label %355

355:                                              ; preds = %354, %75
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %354 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #8
  br label %356

356:                                              ; preds = %355, %73
  %.pn112.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn, %355 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn112.pn.pn.pn.pn

357:                                              ; preds = %307, %242, %205, %156
  unreachable
}

declare void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, ptr noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4Data15make_SplitSliceENS1_15Data_SplitSliceE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Data") align 8, ptr noundef) local_unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4Data10make_SliceENS1_10Data_SliceE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern::Data") align 8, ptr noundef) local_unnamed_addr #0 align 2

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

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

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

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


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