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

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

%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.47" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.48" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%class.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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.AST::Pattern::TagBox" = type { i8 }
%"struct.AST::Pattern::TagReference" = type { i8 }
%"struct.AST::Pattern::TagValue" = type { i8 }
%"struct.AST::Pattern::TuplePat" = type { %"class.std::vector.49", i8, %"class.std::vector.49" }
%"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 }
%"struct.AST::Pattern::TagTuple" = type { i8 }

@g_debug_indent_level = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@__func__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [63 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #1

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

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

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z18Parse_PatternReal1R11TokenStream14AllowOrPattern(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %class.TraceLog, align 8
  %8 = alloca %struct.ProtoSpan, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %class.Token, align 8
  %12 = alloca %"class.AST::Path", align 8
  %13 = alloca %class.Token, align 8
  %14 = alloca %struct.Span, align 8
  %15 = alloca %struct.ProtoSpan, align 8
  %16 = alloca %"class.AST::Pattern::Data", align 8
  %17 = alloca i32, align 4
  %18 = alloca %"struct.AST::Pattern::TagBox", align 1
  %19 = alloca %struct.Span, align 8
  %20 = alloca %struct.ProtoSpan, align 8
  %21 = alloca %"class.AST::Pattern", align 8
  %22 = alloca %class.Token, align 8
  %23 = alloca i8, align 1
  %24 = alloca %class.Token, align 8
  %25 = alloca %class.Token, align 8
  %26 = alloca %"struct.AST::Pattern::TagReference", align 1
  %27 = alloca %struct.Span, align 8
  %28 = alloca %struct.ProtoSpan, align 8
  %29 = alloca %"class.AST::Pattern", align 8
  %30 = alloca %class.Token, align 8
  %31 = alloca %struct.ProtoSpan, align 8
  %32 = alloca %"class.AST::Path", align 8
  %33 = alloca %class.Token, align 8
  %34 = alloca %"struct.AST::Pattern::TagValue", align 1
  %35 = alloca %struct.Span, align 8
  %36 = alloca %struct.ProtoSpan, align 8
  %37 = alloca %"class.AST::Pattern::Value", align 8
  %38 = alloca %"class.AST::Pattern::Value", align 8
  %39 = alloca i8, align 1
  %40 = alloca %"struct.AST::Pattern::TuplePat", align 8
  %41 = alloca %"struct.AST::Pattern::TagTuple", align 1
  %42 = alloca %struct.Span, align 8
  %43 = alloca %struct.ProtoSpan, align 8
  %44 = alloca %"struct.AST::Pattern::TuplePat", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #8
  %45 = call noundef zeroext i1 @_Z13debug_enabledv()
  %46 = zext i1 %45 to i64
  %47 = select i1 %45, ptr @__func__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef %47)
  call void @llvm.lifetime.start.p0(i64 24, ptr %8) #8
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8 %8, ptr noundef nonnull align 8 dereferenceable(176) %48)
          to label %49 unwind label %58

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

50:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 240, ptr %12) #8
  invoke void @_ZN3AST4PathC2Ev(ptr noundef nonnull align 8 dereferenceable(240) %12)
          to label %51 unwind label %66

51:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 88, ptr %13) #8
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %13, ptr noundef nonnull align 8 dereferenceable(176) %52)
          to label %53 unwind label %70

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %13)
          to label %55 unwind label %74

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

57:                                               ; preds = %55
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  switch i32 %56, label %319 [
    i32 22, label %79
    i32 107, label %103
    i32 62, label %125
    i32 36, label %129
    i32 83, label %204
    i32 111, label %204
    i32 112, label %204
    i32 14, label %204
    i32 27, label %204
    i32 64, label %204
    i32 5, label %204
    i32 34, label %204
    i32 42, label %226
    i32 18, label %226
    i32 16, label %226
    i32 110, label %226
    i32 109, label %226
    i32 19, label %226
    i32 20, label %226
    i32 8, label %226
    i32 23, label %260
    i32 29, label %316
  ]

58:                                               ; preds = %3
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %9, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %10, align 4
  br label %331

62:                                               ; preds = %49
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %9, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %10, align 4
  br label %330

66:                                               ; preds = %50
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %9, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %10, align 4
  br label %329

70:                                               ; preds = %51
  %71 = landingpad { ptr, i32 }
          cleanup
  %72 = extractvalue { ptr, i32 } %71, 0
  store ptr %72, ptr %9, align 8
  %73 = extractvalue { ptr, i32 } %71, 1
  store i32 %73, ptr %10, align 4
  br label %78

74:                                               ; preds = %55, %53
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %9, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #8
  br label %78

78:                                               ; preds = %74, %70
  call void @llvm.lifetime.end.p0(i64 88, ptr %13) #8
  br label %328

79:                                               ; preds = %57
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %81 unwind label %85

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

82:                                               ; preds = %81
  invoke void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504) %16)
          to label %83 unwind label %93

83:                                               ; preds = %82
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %14, ptr noundef %16)
          to label %84 unwind label %97

84:                                               ; preds = %83
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %16) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  store i32 1, ptr %17, align 4
  br label %327

85:                                               ; preds = %322, %316, %229, %226, %207, %204, %140, %138, %136, %133, %130, %125, %103, %79
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %9, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %10, align 4
  br label %328

89:                                               ; preds = %81
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %9, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %10, align 4
  br label %102

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

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %9, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %10, align 4
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %16) #8
  br label %101

101:                                              ; preds = %97, %93
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  br label %102

102:                                              ; preds = %101, %89
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #8
  br label %328

103:                                              ; preds = %57
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %105 unwind label %85

105:                                              ; preds = %103
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %19, ptr noundef nonnull align 8 dereferenceable(176) %104, ptr noundef %20)
          to label %106 unwind label %111

106:                                              ; preds = %105
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %21, ptr noundef nonnull align 8 dereferenceable(176) %107, i32 noundef %108)
          to label %109 unwind label %115

109:                                              ; preds = %106
  invoke void @_ZN3AST7PatternC2ENS0_6TagBoxE4SpanS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %19, ptr noundef %21)
          to label %110 unwind label %119

110:                                              ; preds = %109
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  store i32 1, ptr %17, align 4
  br label %327

111:                                              ; preds = %105
  %112 = landingpad { ptr, i32 }
          cleanup
  %113 = extractvalue { ptr, i32 } %112, 0
  store ptr %113, ptr %9, align 8
  %114 = extractvalue { ptr, i32 } %112, 1
  store i32 %114, ptr %10, align 4
  br label %124

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

119:                                              ; preds = %109
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %9, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  br label %123

123:                                              ; preds = %119, %115
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br label %124

124:                                              ; preds = %123, %111
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #8
  br label %328

125:                                              ; preds = %57
  %126 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %22, i32 noundef 36)
          to label %127 unwind label %85

127:                                              ; preds = %125
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %126, ptr noundef %22)
          to label %128 unwind label %143

128:                                              ; preds = %127
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  br label %129

129:                                              ; preds = %128, %57
  br label %130

130:                                              ; preds = %129
  %131 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %132 unwind label %85

132:                                              ; preds = %130
  br i1 %131, label %133, label %147

133:                                              ; preds = %132
  %134 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %135 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %134, ptr noundef @__func__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern)
          to label %136 unwind label %85

136:                                              ; preds = %133
  %137 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %135, ptr noundef @.str.9)
          to label %138 unwind label %85

138:                                              ; preds = %136
  %139 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %137, ptr noundef @_ZSt3decRSt8ios_base)
          to label %140 unwind label %85

140:                                              ; preds = %138
  %141 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %139, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %142 unwind label %85

142:                                              ; preds = %140
  br label %147

143:                                              ; preds = %127
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %9, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %22) #8
  br label %328

147:                                              ; preds = %142, %132
  br label %148

148:                                              ; preds = %147
  br label %149

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #8
  store i8 0, ptr %23, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 88, ptr %24) #8
  %150 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %24, ptr noundef nonnull align 8 dereferenceable(176) %150)
          to label %151 unwind label %158

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %11, ptr noundef nonnull align 8 dereferenceable(88) %24)
          to label %153 unwind label %162

153:                                              ; preds = %151
  %154 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %152)
          to label %155 unwind label %162

155:                                              ; preds = %153
  %156 = icmp eq i32 %154, 78
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #8
  br i1 %156, label %157, label %167

157:                                              ; preds = %155
  store i8 1, ptr %23, align 1, !tbaa !13
  br label %179

158:                                              ; preds = %149
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %9, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %10, align 4
  br label %166

162:                                              ; preds = %153, %151
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %9, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  br label %166

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 88, ptr %24) #8
  br label %203

167:                                              ; preds = %155
  %168 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %25, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %169 unwind label %171

169:                                              ; preds = %167
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %168, ptr noundef %25)
          to label %170 unwind label %175

170:                                              ; preds = %169
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  br label %179

171:                                              ; preds = %179, %167
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %9, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %10, align 4
  br label %203

175:                                              ; preds = %169
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %9, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #8
  br label %203

179:                                              ; preds = %170, %157
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %28, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %181 unwind label %171

181:                                              ; preds = %179
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %180, ptr noundef %28)
          to label %182 unwind label %189

182:                                              ; preds = %181
  %183 = load i8, ptr %23, align 1, !tbaa !13, !range !15, !noundef !16
  %184 = trunc i8 %183 to i1
  %185 = load ptr, ptr %5, align 8, !tbaa !5
  %186 = load i32, ptr %6, align 4, !tbaa !9
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %29, ptr noundef nonnull align 8 dereferenceable(176) %185, i32 noundef %186)
          to label %187 unwind label %193

187:                                              ; preds = %182
  invoke void @_ZN3AST7PatternC2ENS0_12TagReferenceE4SpanbS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %27, i1 noundef zeroext %184, ptr noundef %29)
          to label %188 unwind label %197

188:                                              ; preds = %187
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %29) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %327

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

193:                                              ; preds = %182
  %194 = landingpad { ptr, i32 }
          cleanup
  %195 = extractvalue { ptr, i32 } %194, 0
  store ptr %195, ptr %9, align 8
  %196 = extractvalue { ptr, i32 } %194, 1
  store i32 %196, ptr %10, align 4
  br label %201

197:                                              ; preds = %187
  %198 = landingpad { ptr, i32 }
          cleanup
  %199 = extractvalue { ptr, i32 } %198, 0
  store ptr %199, ptr %9, align 8
  %200 = extractvalue { ptr, i32 } %198, 1
  store i32 %200, ptr %10, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %29) #8
  br label %201

201:                                              ; preds = %197, %193
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br label %202

202:                                              ; preds = %201, %189
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #8
  br label %203

203:                                              ; preds = %202, %175, %171, %166
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #8
  br label %328

204:                                              ; preds = %57, %57, %57, %57, %57, %57, %57, %57
  %205 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %30, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %206 unwind label %85

206:                                              ; preds = %204
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %205, ptr noundef %30)
          to label %207 unwind label %213

207:                                              ; preds = %206
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #8
  %208 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %209 unwind label %85

209:                                              ; preds = %207
  %210 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z10Parse_PathR11TokenStream21eParsePathGenericMode(ptr dead_on_unwind writable sret(%"class.AST::Path") align 8 %32, ptr noundef nonnull align 8 dereferenceable(176) %210, i32 noundef 1)
          to label %211 unwind label %217

211:                                              ; preds = %209
  invoke void @_Z22Parse_PatternReal_PathR11TokenStream9ProtoSpanN3AST4PathE(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %208, ptr noundef %31, ptr noundef %32)
          to label %212 unwind label %221

212:                                              ; preds = %211
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %32) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  store i32 1, ptr %17, align 4
  br label %327

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

217:                                              ; preds = %209
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %9, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %10, align 4
  br label %225

221:                                              ; preds = %211
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %9, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %10, align 4
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %32) #8
  br label %225

225:                                              ; preds = %221, %217
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #8
  br label %328

226:                                              ; preds = %57, %57, %57, %57, %57, %57, %57, %57
  %227 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %33, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %228 unwind label %85

228:                                              ; preds = %226
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %227, ptr noundef %33)
          to label %229 unwind label %237

229:                                              ; preds = %228
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #8
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %231 unwind label %85

231:                                              ; preds = %229
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %35, ptr noundef nonnull align 8 dereferenceable(176) %230, ptr noundef %36)
          to label %232 unwind label %241

232:                                              ; preds = %231
  %233 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z18Parse_PatternValueR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::Pattern::Value") align 8 %37, ptr noundef nonnull align 8 dereferenceable(176) %233)
          to label %234 unwind label %245

234:                                              ; preds = %232
  invoke void @_ZN3AST7Pattern5ValueC2Ev(ptr noundef nonnull align 8 dereferenceable(248) %38)
          to label %235 unwind label %249

235:                                              ; preds = %234
  invoke void @_ZN3AST7PatternC2ENS0_8TagValueE4SpanNS0_5ValueES3_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %35, ptr noundef %37, ptr noundef %38)
          to label %236 unwind label %253

236:                                              ; preds = %235
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %38) #8
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %37) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  store i32 1, ptr %17, align 4
  br label %327

237:                                              ; preds = %228
  %238 = landingpad { ptr, i32 }
          cleanup
  %239 = extractvalue { ptr, i32 } %238, 0
  store ptr %239, ptr %9, align 8
  %240 = extractvalue { ptr, i32 } %238, 1
  store i32 %240, ptr %10, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #8
  br label %328

241:                                              ; preds = %231
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %9, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %10, align 4
  br label %259

245:                                              ; preds = %232
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %9, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %10, align 4
  br label %258

249:                                              ; preds = %234
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %9, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %10, align 4
  br label %257

253:                                              ; preds = %235
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %9, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %10, align 4
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %38) #8
  br label %257

257:                                              ; preds = %253, %249
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %37) #8
  br label %258

258:                                              ; preds = %257, %245
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #8
  br label %259

259:                                              ; preds = %258, %241
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  br label %328

260:                                              ; preds = %57
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  store i8 0, ptr %39, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 56, ptr %40) #8
  %261 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z18Parse_PatternTupleR11TokenStreamPb(ptr dead_on_unwind writable sret(%"struct.AST::Pattern::TuplePat") align 8 %40, ptr noundef nonnull align 8 dereferenceable(176) %261, ptr noundef %39)
          to label %262 unwind label %271

262:                                              ; preds = %260
  %263 = load i8, ptr %39, align 1, !tbaa !13, !range !15, !noundef !16
  %264 = trunc i8 %263 to i1
  br i1 %264, label %265, label %299

265:                                              ; preds = %262
  %266 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %40, i32 0, i32 0
  %267 = call noundef i64 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %266) #8
  %268 = icmp eq i64 %267, 1
  br i1 %268, label %269, label %270

269:                                              ; preds = %265
  br label %276

270:                                              ; preds = %265
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.1, i32 noundef 349, ptr noundef @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

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

275:                                              ; No predecessors!
  br label %276

276:                                              ; preds = %275, %269
  %277 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %40, i32 0, i32 1
  %278 = load i8, ptr %277, align 8, !tbaa !17, !range !15, !noundef !16
  %279 = trunc i8 %278 to i1
  %280 = xor i1 %279, true
  br i1 %280, label %281, label %282

281:                                              ; preds = %276
  br label %284

282:                                              ; preds = %276
  call void @__assert_fail(ptr noundef @.str.11, ptr noundef @.str.1, i32 noundef 350, ptr noundef @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

283:                                              ; No predecessors!
  br label %284

284:                                              ; preds = %283, %281
  %285 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %40, i32 0, i32 2
  %286 = call noundef i64 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %285) #8
  %287 = icmp eq i64 %286, 0
  br i1 %287, label %288, label %289

288:                                              ; preds = %284
  br label %291

289:                                              ; preds = %284
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.1, i32 noundef 351, ptr noundef @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

290:                                              ; No predecessors!
  br label %291

291:                                              ; preds = %290, %288
  %292 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %40, i32 0, i32 0
  %293 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %292) #8
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %293)
          to label %294 unwind label %295

294:                                              ; preds = %291
  store i32 1, ptr %17, align 4
  br label %313

295:                                              ; preds = %299, %291
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %9, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %10, align 4
  br label %314

299:                                              ; preds = %262
  %300 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %43, ptr noundef nonnull align 8 dereferenceable(24) %8)
          to label %301 unwind label %295

301:                                              ; preds = %299
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %42, ptr noundef nonnull align 8 dereferenceable(176) %300, ptr noundef %43)
          to label %302 unwind label %304

302:                                              ; preds = %301
  call void @_ZN3AST7Pattern8TuplePatC2EOS1_(ptr noundef nonnull align 8 dereferenceable(56) %44, ptr noundef nonnull align 8 dereferenceable(56) %40) #8
  invoke void @_ZN3AST7PatternC2ENS0_8TagTupleE4SpanNS0_8TuplePatE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %42, ptr noundef %44)
          to label %303 unwind label %308

303:                                              ; preds = %302
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  store i32 1, ptr %17, align 4
  br label %313

304:                                              ; preds = %301
  %305 = landingpad { ptr, i32 }
          cleanup
  %306 = extractvalue { ptr, i32 } %305, 0
  store ptr %306, ptr %9, align 8
  %307 = extractvalue { ptr, i32 } %305, 1
  store i32 %307, ptr %10, align 4
  br label %312

308:                                              ; preds = %302
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %9, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %10, align 4
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %44) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %312

312:                                              ; preds = %308, %304
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %43) #8
  br label %314

313:                                              ; preds = %303, %294
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %40) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %327

314:                                              ; preds = %312, %295
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %40) #8
  br label %315

315:                                              ; preds = %314, %271
  call void @llvm.lifetime.end.p0(i64 56, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %328

316:                                              ; preds = %57
  %317 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_Z23Parse_PatternReal_SliceR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %317)
          to label %318 unwind label %85

318:                                              ; preds = %316
  store i32 1, ptr %17, align 4
  br label %327

319:                                              ; preds = %57
  %320 = call ptr @__cxa_allocate_exception(i64 96) #8
  %321 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5Token(ptr noundef nonnull align 8 dereferenceable(96) %320, ptr noundef nonnull align 8 dereferenceable(176) %321, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %322 unwind label %323

322:                                              ; preds = %319
  invoke void @__cxa_throw(ptr %320, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %337 unwind label %85

323:                                              ; preds = %319
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %9, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %10, align 4
  call void @__cxa_free_exception(ptr %320) #8
  br label %328

327:                                              ; preds = %318, %313, %236, %212, %188, %110, %84
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %12) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr %12) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  ret void

328:                                              ; preds = %323, %315, %259, %237, %225, %213, %203, %143, %124, %102, %85, %78
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %12) #8
  br label %329

329:                                              ; preds = %328, %66
  call void @llvm.lifetime.end.p0(i64 240, ptr %12) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #8
  br label %330

330:                                              ; preds = %329, %62
  call void @llvm.lifetime.end.p0(i64 88, ptr %11) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #8
  br label %331

331:                                              ; preds = %330, %58
  call void @llvm.lifetime.end.p0(i64 24, ptr %8) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #8
  br label %332

332:                                              ; preds = %331
  %333 = load ptr, ptr %9, align 8
  %334 = load i32, ptr %10, align 4
  %335 = insertvalue { ptr, i32 } poison, ptr %333, 0
  %336 = insertvalue { ptr, i32 } %335, i32 %334, 1
  resume { ptr, i32 } %336

337:                                              ; preds = %322
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.47" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.48" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%class.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.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"struct.AST::Pattern::TuplePat" = type { %"class.std::vector.49", i8, %"class.std::vector.49" }
%"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 }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@__func__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [19 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [23 x i8], align 1
@__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern = external hidden unnamed_addr constant [63 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [21 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

37:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 240, ptr nonnull %7) #8
  invoke void @_ZN3AST4PathC2Ev(ptr noundef nonnull align 8 dereferenceable(240) %7)
          to label %38 unwind label %47

38:                                               ; preds = %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 %39 unwind label %49

39:                                               ; preds = %38
  %40 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %8)
          to label %41 unwind label %51

41:                                               ; preds = %39
  %42 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %40)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  switch i32 %42, label %201 [
    i32 22, label %54
    i32 107, label %69
    i32 62, label %82
    i32 36, label %85
    i32 83, label %130
    i32 111, label %130
    i32 112, label %130
    i32 14, label %130
    i32 27, label %130
    i32 64, label %130
    i32 5, label %130
    i32 34, label %130
    i32 42, label %143
    i32 18, label %143
    i32 16, label %143
    i32 110, label %143
    i32 109, label %143
    i32 19, label %143
    i32 20, label %143
    i32 8, label %143
    i32 23, label %164
    i32 29, label %200
  ]

43:                                               ; preds = %3
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %210

45:                                               ; preds = %36
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %209

47:                                               ; preds = %37
  %48 = landingpad { ptr, i32 }
          cleanup
  br label %208

49:                                               ; preds = %38
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %39
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #8
  br label %53

53:                                               ; preds = %51, %49
  %.pn = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #8
  br label %207

54:                                               ; preds = %41
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %55 unwind label %59

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

56:                                               ; preds = %55
  invoke void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504) %11)
          to label %57 unwind label %63

57:                                               ; preds = %56
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %9, ptr noundef nonnull %11)
          to label %58 unwind label %65

58:                                               ; preds = %57
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %11) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %206

59:                                               ; preds = %203, %200, %145, %143, %132, %130, %95, %93, %91, %88, %85, %82, %69, %54
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %207

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          cleanup
  br label %68

63:                                               ; preds = %56
  %64 = landingpad { ptr, i32 }
          cleanup
  br label %67

65:                                               ; preds = %57
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %11) #8
  br label %67

67:                                               ; preds = %65, %63
  %.pn66 = phi { ptr, i32 } [ %66, %65 ], [ %64, %63 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #8
  br label %68

68:                                               ; preds = %67, %61
  %.pn66.pn = phi { ptr, i32 } [ %.pn66, %67 ], [ %62, %61 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #8
  br label %207

69:                                               ; preds = %41
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %70 unwind label %59

70:                                               ; preds = %69
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %12, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %13)
          to label %71 unwind label %74

71:                                               ; preds = %70
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %14, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %72 unwind label %76

72:                                               ; preds = %71
  invoke void @_ZN3AST7PatternC2ENS0_6TagBoxE4SpanS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %12, ptr noundef nonnull %14)
          to label %73 unwind label %78

73:                                               ; preds = %72
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %14) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  br label %206

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

76:                                               ; preds = %71
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

78:                                               ; preds = %72
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %14) #8
  br label %80

80:                                               ; preds = %78, %76
  %.pn63 = phi { ptr, i32 } [ %79, %78 ], [ %77, %76 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  br label %81

81:                                               ; preds = %80, %74
  %.pn63.pn = phi { ptr, i32 } [ %.pn63, %80 ], [ %75, %74 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #8
  br label %207

82:                                               ; preds = %41
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %15, i32 noundef 36)
          to label %83 unwind label %59

83:                                               ; preds = %82
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %15)
          to label %84 unwind label %97

84:                                               ; preds = %83
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #8
  br label %85

85:                                               ; preds = %41, %84
  %86 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %87 unwind label %59

87:                                               ; preds = %85
  br i1 %86, label %88, label %99

88:                                               ; preds = %87
  %89 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %89, ptr noundef nonnull @__func__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern)
          to label %91 unwind label %59

91:                                               ; preds = %88
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @.str.9)
          to label %93 unwind label %59

93:                                               ; preds = %91
  %94 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %92, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %95 unwind label %59

95:                                               ; preds = %93
  %96 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %94, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %99 unwind label %59

97:                                               ; preds = %83
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #8
  br label %207

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

100:                                              ; preds = %99
  %101 = 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 %102 unwind label %107

102:                                              ; preds = %100
  %103 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %101)
  %104 = icmp eq i32 %103, 78
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #8
  br i1 %104, label %117, label %110

105:                                              ; preds = %99
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %109

107:                                              ; preds = %100
  %108 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #8
  br label %109

109:                                              ; preds = %107, %105
  %.pn57 = phi { ptr, i32 } [ %108, %107 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #8
  br label %207

110:                                              ; preds = %102
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %17, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %111 unwind label %113

111:                                              ; preds = %110
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %17)
          to label %112 unwind label %115

112:                                              ; preds = %111
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %17) #8
  br label %117

113:                                              ; preds = %117, %110
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %207

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

117:                                              ; preds = %102, %112
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %118 unwind label %113

118:                                              ; preds = %117
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %18, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %19)
          to label %119 unwind label %122

119:                                              ; preds = %118
  invoke void @_Z14Parse_Pattern1R11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %20, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef %2)
          to label %120 unwind label %124

120:                                              ; preds = %119
  invoke void @_ZN3AST7PatternC2ENS0_12TagReferenceE4SpanbS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %18, i1 noundef zeroext %104, ptr noundef nonnull %20)
          to label %121 unwind label %126

121:                                              ; preds = %120
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %20) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %206

122:                                              ; preds = %118
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %129

124:                                              ; preds = %119
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %120
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %20) #8
  br label %128

128:                                              ; preds = %126, %124
  %.pn59 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  br label %129

129:                                              ; preds = %128, %122
  %.pn59.pn = phi { ptr, i32 } [ %.pn59, %128 ], [ %123, %122 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #8
  br label %207

130:                                              ; preds = %41, %41, %41, %41, %41, %41, %41, %41
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %21, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %131 unwind label %59

131:                                              ; preds = %130
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %21)
          to label %132 unwind label %136

132:                                              ; preds = %131
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %133 unwind label %59

133:                                              ; preds = %132
  invoke void @_Z10Parse_PathR11TokenStream21eParsePathGenericMode(ptr dead_on_unwind nonnull writable sret(%"class.AST::Path") align 8 %23, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %134 unwind label %138

134:                                              ; preds = %133
  invoke void @_Z22Parse_PatternReal_PathR11TokenStream9ProtoSpanN3AST4PathE(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %22, ptr noundef nonnull %23)
          to label %135 unwind label %140

135:                                              ; preds = %134
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %23) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %206

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

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

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

142:                                              ; preds = %140, %138
  %.pn55 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #8
  br label %207

143:                                              ; preds = %41, %41, %41, %41, %41, %41, %41, %41
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %144 unwind label %59

144:                                              ; preds = %143
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %24)
          to label %145 unwind label %151

145:                                              ; preds = %144
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %26, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %146 unwind label %59

146:                                              ; preds = %145
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %26)
          to label %147 unwind label %153

147:                                              ; preds = %146
  invoke void @_Z18Parse_PatternValueR11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern::Value") align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %148 unwind label %155

148:                                              ; preds = %147
  invoke void @_ZN3AST7Pattern5ValueC2Ev(ptr noundef nonnull align 8 dereferenceable(248) %28)
          to label %149 unwind label %157

149:                                              ; preds = %148
  invoke void @_ZN3AST7PatternC2ENS0_8TagValueE4SpanNS0_5ValueES3_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %25, ptr noundef nonnull %27, ptr noundef nonnull %28)
          to label %150 unwind label %159

150:                                              ; preds = %149
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %28) #8
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %27) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br label %206

151:                                              ; preds = %144
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #8
  br label %207

153:                                              ; preds = %146
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %163

155:                                              ; preds = %147
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %162

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

159:                                              ; preds = %149
  %160 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %28) #8
  br label %161

161:                                              ; preds = %159, %157
  %.pn51 = phi { ptr, i32 } [ %160, %159 ], [ %158, %157 ]
  call void @_ZN3AST7Pattern5ValueD2Ev(ptr noundef nonnull align 8 dereferenceable(248) %27) #8
  br label %162

162:                                              ; preds = %161, %155
  %.pn51.pn = phi { ptr, i32 } [ %.pn51, %161 ], [ %156, %155 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  br label %163

163:                                              ; preds = %162, %153
  %.pn51.pn.pn = phi { ptr, i32 } [ %.pn51.pn, %162 ], [ %154, %153 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #8
  br label %207

164:                                              ; preds = %41
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #8
  store i8 0, ptr %29, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 56, ptr nonnull %30) #8
  invoke void @_Z18Parse_PatternTupleR11TokenStreamPb(ptr dead_on_unwind nonnull writable sret(%"struct.AST::Pattern::TuplePat") align 8 %30, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %29)
          to label %165 unwind label %172

165:                                              ; preds = %164
  %166 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %167 = trunc nuw i8 %166 to i1
  br i1 %167, label %168, label %188

168:                                              ; preds = %165
  %169 = call noundef i64 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  %170 = icmp eq i64 %169, 1
  br i1 %170, label %174, label %171

171:                                              ; preds = %168
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.1, i32 noundef 349, ptr noundef nonnull @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

172:                                              ; preds = %164
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %199

174:                                              ; preds = %168
  %175 = getelementptr inbounds i8, ptr %30, i64 24
  %176 = load i8, ptr %175, align 8, !tbaa !13, !range !11, !noundef !12
  %177 = trunc nuw i8 %176 to i1
  br i1 %177, label %178, label %179

178:                                              ; preds = %174
  call void @__assert_fail(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.1, i32 noundef 350, ptr noundef nonnull @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

179:                                              ; preds = %174
  %180 = getelementptr inbounds i8, ptr %30, i64 32
  %181 = call noundef i64 @_ZNKSt6vectorIN3AST7PatternESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %180) #8
  %182 = icmp eq i64 %181, 0
  br i1 %182, label %184, label %183

183:                                              ; preds = %179
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.1, i32 noundef 351, ptr noundef nonnull @__PRETTY_FUNCTION__._Z18Parse_PatternReal1R11TokenStream14AllowOrPattern) #9
  unreachable

184:                                              ; preds = %179
  %185 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5frontEv(ptr noundef nonnull align 8 dereferenceable(24) %30) #8
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull align 8 dereferenceable(544) %185)
          to label %197 unwind label %186

186:                                              ; preds = %188, %184
  %187 = landingpad { ptr, i32 }
          cleanup
  br label %198

188:                                              ; preds = %165
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %189 unwind label %186

189:                                              ; preds = %188
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %31, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %32)
          to label %190 unwind label %192

190:                                              ; preds = %189
  call void @_ZN3AST7Pattern8TuplePatC2EOS1_(ptr noundef nonnull align 8 dereferenceable(56) %33, ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  invoke void @_ZN3AST7PatternC2ENS0_8TagTupleE4SpanNS0_8TuplePatE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %31, ptr noundef nonnull %33)
          to label %191 unwind label %194

191:                                              ; preds = %190
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %197

192:                                              ; preds = %189
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %196

194:                                              ; preds = %190
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  br label %196

196:                                              ; preds = %194, %192
  %.pn46 = phi { ptr, i32 } [ %195, %194 ], [ %193, %192 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #8
  br label %198

197:                                              ; preds = %184, %191
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  br label %206

198:                                              ; preds = %196, %186
  %.pn48 = phi { ptr, i32 } [ %187, %186 ], [ %.pn46, %196 ]
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %30) #8
  br label %199

199:                                              ; preds = %198, %172
  %.pn48.pn = phi { ptr, i32 } [ %.pn48, %198 ], [ %173, %172 ]
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #8
  br label %207

200:                                              ; preds = %41
  invoke void @_Z23Parse_PatternReal_SliceR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %206 unwind label %59

201:                                              ; preds = %41
  %202 = call ptr @__cxa_allocate_exception(i64 96) #8
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5Token(ptr noundef nonnull align 8 dereferenceable(96) %202, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %203 unwind label %204

203:                                              ; preds = %201
  invoke void @__cxa_throw(ptr nonnull %202, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %211 unwind label %59

204:                                              ; preds = %201
  %205 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %202) #8
  br label %207

206:                                              ; preds = %200, %197, %150, %135, %121, %73, %58
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #8
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  ret void

207:                                              ; preds = %109, %113, %115, %129, %204, %199, %163, %151, %142, %136, %97, %81, %68, %59, %53
  %.pn69 = phi { ptr, i32 } [ %60, %59 ], [ %205, %204 ], [ %.pn48.pn, %199 ], [ %.pn51.pn.pn, %163 ], [ %152, %151 ], [ %.pn55, %142 ], [ %137, %136 ], [ %98, %97 ], [ %.pn63.pn, %81 ], [ %.pn66.pn, %68 ], [ %.pn, %53 ], [ %.pn59.pn, %129 ], [ %114, %113 ], [ %116, %115 ], [ %.pn57, %109 ]
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %7) #8
  br label %208

208:                                              ; preds = %207, %47
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %207 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 240, ptr nonnull %7) #8
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #8
  br label %209

209:                                              ; preds = %208, %45
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %208 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #8
  br label %210

210:                                              ; preds = %209, %43
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %209 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn69.pn.pn.pn

211:                                              ; preds = %203
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !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, !10, i64 24}
!14 = !{!"_ZTSN3AST7Pattern8TuplePatE", !15, i64 0, !10, i64 24, !15, i64 32}
!15 = !{!"_ZTSSt6vectorIN3AST7PatternESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIN3AST7PatternESaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE17_Vector_impl_dataE", !19, i64 0, !19, i64 8, !19, i64 16}
!19 = !{!"any pointer", !7, i64 0}


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