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

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

%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%struct.Span = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%class.RcString = type { ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.47" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.48" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, AST::Pattern>, std::_Select1st<std::pair<const unsigned int, AST::Pattern>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, AST::Pattern>, std::_Select1st<std::pair<const unsigned int, AST::Pattern>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.U128 = type { i64, i64 }
%"struct.std::pair" = type <{ %"struct.std::_Rb_tree_iterator", i8, [7 x i8] }>
%"struct.std::_Rb_tree_iterator" = type { ptr }
%"struct.std::pair.93" = type { i32, %"class.AST::Pattern" }
%class.anon.95 = type { i8 }
%"class.std::vector.49" = type { %"struct.std::_Vector_base.50" }
%"struct.std::_Vector_base.50" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.anon.99 = type { ptr }
%"struct.AST::Pattern::TagNamedTuple" = type { i8 }
%"struct.AST::Pattern::TuplePat" = type { %"class.std::vector.49", i8, %"class.std::vector.49" }
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::AttributeList" = type { %"class.std::vector.83" }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"class.AST::PatternBinding" = type <{ %struct.Ident, i32, i8, [3 x i8], i32, [4 x i8] }>
%"struct.AST::Pattern::TagBox" = type { i8 }
%"struct.AST::StructPatternEntry" = type { %"class.AST::AttributeList", %class.RcString, %"class.AST::Pattern" }
%"struct.AST::Pattern::TagStruct" = type { i8 }
%"struct.std::pair.97" = type { i32, %"class.AST::Pattern" }

@g_debug_indent_level = external global i32, align 4
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88)) #3 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504)) unnamed_addr #0 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 #0 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 @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef %2, ptr noundef %3) #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %class.TraceLog, align 8
  %10 = alloca %class.Token, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i8, align 1
  %14 = alloca %"class.std::map", align 8
  %15 = alloca %class.Token, align 8
  %16 = alloca i32, align 4
  %17 = alloca %class.U128, align 8
  %18 = alloca %class.Token, align 8
  %19 = alloca %class.Token, align 8
  %20 = alloca i1, align 1
  %21 = alloca %"class.AST::Pattern", align 8
  %22 = alloca %"struct.std::pair", align 8
  %23 = alloca %"struct.std::pair.93", align 8
  %24 = alloca { ptr, i8 }, align 8
  %25 = alloca %struct.Span, align 8
  %26 = alloca %"class.std::function", align 8
  %27 = alloca %class.anon.95, align 1
  %28 = alloca %class.Token, align 8
  %29 = alloca i32, align 4
  %30 = alloca %class.Token, align 8
  %31 = alloca i1, align 1
  %32 = alloca %class.Token, align 8
  %33 = alloca %class.Token, align 8
  %34 = alloca i1, align 1
  %35 = alloca i8, align 1
  %36 = alloca %"class.std::vector.49", align 8
  %37 = alloca %"class.std::vector.49", align 8
  %38 = alloca i32, align 4
  %39 = alloca ptr, align 8
  %40 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %41 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %42 = alloca ptr, align 8
  %43 = alloca %struct.Span, align 8
  %44 = alloca %"class.std::function", align 8
  %45 = alloca %class.anon.99, align 8
  %46 = alloca %"struct.AST::Pattern::TagNamedTuple", align 1
  %47 = alloca %struct.Span, align 8
  %48 = alloca %struct.ProtoSpan, align 8
  %49 = alloca %"class.AST::Path", align 8
  %50 = alloca %"struct.AST::Pattern::TuplePat", align 8
  %51 = alloca i8, align 1
  %52 = alloca %"class.std::vector.54", align 8
  %53 = alloca %class.Token, align 8
  %54 = alloca %class.Token, align 8
  %55 = alloca %class.Token, align 8
  %56 = alloca i1, align 1
  %57 = alloca %class.Token, align 8
  %58 = alloca %"class.AST::AttributeList", align 8
  %59 = alloca %class.Token, align 8
  %60 = alloca %struct.ProtoSpan, align 8
  %61 = alloca i8, align 1
  %62 = alloca i8, align 1
  %63 = alloca i32, align 4
  %64 = alloca i8, align 1
  %65 = alloca %class.Token, align 8
  %66 = alloca %class.Token, align 8
  %67 = alloca %class.Token, align 8
  %68 = alloca %class.Token, align 8
  %69 = alloca %class.Token, align 8
  %70 = alloca i1, align 1
  %71 = alloca %struct.Ident, align 8
  %72 = alloca %class.RcString, align 8
  %73 = alloca %class.Token, align 8
  %74 = alloca %"class.AST::Pattern", align 8
  %75 = alloca %class.Token, align 8
  %76 = alloca %"class.AST::Pattern", align 8
  %77 = alloca %struct.Span, align 8
  %78 = alloca %struct.ProtoSpan, align 8
  %79 = alloca %"class.AST::Pattern::Data", align 8
  %80 = alloca %"class.AST::PatternBinding", align 8
  %81 = alloca %struct.Ident, align 8
  %82 = alloca %"class.AST::Pattern", align 8
  %83 = alloca %"struct.AST::Pattern::TagBox", align 1
  %84 = alloca %struct.Span, align 8
  %85 = alloca %struct.ProtoSpan, align 8
  %86 = alloca %"class.AST::Pattern", align 8
  %87 = alloca %class.Token, align 8
  %88 = alloca i1, align 1
  %89 = alloca %"class.AST::Pattern", align 8
  %90 = alloca %"struct.AST::StructPatternEntry", align 8
  %91 = alloca %class.Token, align 8
  %92 = alloca %class.Token, align 8
  %93 = alloca i1, align 1
  %94 = alloca %"struct.AST::Pattern::TagStruct", align 1
  %95 = alloca %struct.Span, align 8
  %96 = alloca %struct.ProtoSpan, align 8
  %97 = alloca %"class.AST::Path", align 8
  %98 = alloca %"class.std::vector.54", align 8
  store ptr %0, ptr %5, align 8
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #8
  %99 = call noundef zeroext i1 @_Z13debug_enabledv()
  %100 = zext i1 %99 to i64
  %101 = select i1 %99, ptr @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef %101)
  call void @llvm.lifetime.start.p0(i64 88, ptr %10) #8
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %102 unwind label %154

102:                                              ; preds = %4
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %103, i32 noundef 0)
          to label %105 unwind label %158

105:                                              ; preds = %102
  %106 = icmp eq i32 %104, 16
  br i1 %106, label %107, label %502

107:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #8
  store i8 0, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #8
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  br label %108

108:                                              ; preds = %325, %107
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #8
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %109)
          to label %110 unwind label %162

110:                                              ; preds = %108
  %111 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %112 unwind label %166

112:                                              ; preds = %110
  %113 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %111)
          to label %114 unwind label %166

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

116:                                              ; preds = %114
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #8
  %117 = invoke { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %118 unwind label %171

118:                                              ; preds = %116
  %119 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 0
  %120 = extractvalue { i64, i64 } %117, 0
  store i64 %120, ptr %119, align 8
  %121 = getelementptr inbounds { i64, i64 }, ptr %17, i32 0, i32 1
  %122 = extractvalue { i64, i64 } %117, 1
  store i64 %122, ptr %121, align 8
  %123 = invoke noundef i64 @_ZNK4U12812truncate_u64Ev(ptr noundef nonnull align 8 dereferenceable(16) %17)
          to label %124 unwind label %171

124:                                              ; preds = %118
  %125 = trunc i64 %123 to i32
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  store i32 %125, ptr %16, align 4, !tbaa !11
  br label %126

126:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 88, ptr %18) #8
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %18, ptr noundef nonnull align 8 dereferenceable(176) %127)
          to label %128 unwind label %175

128:                                              ; preds = %126
  %129 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %18)
          to label %130 unwind label %179

130:                                              ; preds = %128
  %131 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %129)
          to label %132 unwind label %179

132:                                              ; preds = %130
  %133 = icmp ne i32 %131, 33
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %18) #8
  br i1 %133, label %134, label %207

134:                                              ; preds = %132
  br label %135

135:                                              ; preds = %134
  %136 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %137 unwind label %184

137:                                              ; preds = %135
  br i1 %136, label %138, label %188

138:                                              ; preds = %137
  %139 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %140 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %139, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %141 unwind label %184

141:                                              ; preds = %138
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef @.str.14)
          to label %143 unwind label %184

143:                                              ; preds = %141
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @.str.1)
          to label %145 unwind label %184

145:                                              ; preds = %143
  %146 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef @.str.2)
          to label %147 unwind label %184

147:                                              ; preds = %145
  %148 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %146, i32 noundef 522)
          to label %149 unwind label %184

149:                                              ; preds = %147
  %150 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef @_ZSt3decRSt8ios_base)
          to label %151 unwind label %184

151:                                              ; preds = %149
  %152 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %150, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %153 unwind label %184

153:                                              ; preds = %151
  br label %188

154:                                              ; preds = %4
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %11, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %12, align 4
  br label %1112

158:                                              ; preds = %102
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %11, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %12, align 4
  br label %1111

162:                                              ; preds = %108
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %11, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %12, align 4
  br label %170

166:                                              ; preds = %112, %110
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %11, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #8
  br label %170

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

171:                                              ; preds = %118, %116
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %11, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #8
  br label %328

175:                                              ; preds = %126
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %11, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %12, align 4
  br label %183

179:                                              ; preds = %130, %128
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %11, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #8
  br label %183

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

184:                                              ; preds = %151, %149, %147, %145, %143, %141, %138, %135
  %185 = landingpad { ptr, i32 }
          cleanup
  %186 = extractvalue { ptr, i32 } %185, 0
  store ptr %186, ptr %11, align 8
  %187 = extractvalue { ptr, i32 } %185, 1
  store i32 %187, ptr %12, align 4
  br label %328

188:                                              ; preds = %153, %137
  br label %189

189:                                              ; preds = %188
  br label %190

190:                                              ; preds = %189
  store i1 true, ptr %20, align 1
  %191 = call ptr @__cxa_allocate_exception(i64 96) #8
  %192 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %19, i32 noundef 33)
          to label %193 unwind label %195

193:                                              ; preds = %190
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %191, ptr noundef nonnull align 8 dereferenceable(176) %192, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %19)
          to label %194 unwind label %199

194:                                              ; preds = %193
  store i1 false, ptr %20, align 1
  invoke void @__cxa_throw(ptr %191, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %199

195:                                              ; preds = %190
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %11, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %12, align 4
  br label %203

199:                                              ; preds = %194, %193
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %11, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #8
  br label %203

203:                                              ; preds = %199, %195
  %204 = load i1, ptr %20, align 1
  br i1 %204, label %205, label %206

205:                                              ; preds = %203
  call void @__cxa_free_exception(ptr %191) #8
  br label %206

206:                                              ; preds = %205, %203
  br label %328

207:                                              ; preds = %132
  br label %208

208:                                              ; preds = %207
  br label %209

209:                                              ; preds = %208
  call void @llvm.lifetime.start.p0(i64 544, ptr %21) #8
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %21, ptr noundef nonnull align 8 dereferenceable(176) %210, i32 noundef 1)
          to label %211 unwind label %226

211:                                              ; preds = %209
  call void @llvm.lifetime.start.p0(i64 16, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 552, ptr %23) #8
  invoke void @_ZSt9make_pairIRjN3AST7PatternEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind writable sret(%"struct.std::pair.93") align 8 %23, ptr noundef nonnull align 4 dereferenceable(4) %16, ptr noundef nonnull align 8 dereferenceable(544) %21)
          to label %212 unwind label %230

212:                                              ; preds = %211
  %213 = invoke { ptr, i8 } @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE6insertIS4_IjS1_EEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %14, ptr noundef nonnull align 8 dereferenceable(552) %23)
          to label %214 unwind label %234

214:                                              ; preds = %212
  store { ptr, i8 } %213, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %22, ptr align 8 %24, i64 9, i1 false)
  %215 = getelementptr inbounds %"struct.std::pair", ptr %22, i32 0, i32 1
  %216 = load i8, ptr %215, align 8, !tbaa !13, !range !16, !noundef !17
  %217 = trunc i8 %216 to i1
  %218 = xor i1 %217, true
  call void @_ZNSt4pairIjN3AST7PatternEED2Ev(ptr noundef nonnull align 8 dereferenceable(552) %23) #8
  call void @llvm.lifetime.end.p0(i64 552, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br i1 %218, label %219, label %258

219:                                              ; preds = %214
  br label %220

220:                                              ; preds = %219
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %221)
          to label %222 unwind label %239

222:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 1 dereferenceable(1) %27) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0, ptr noundef %26)
          to label %223 unwind label %243

223:                                              ; preds = %222
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  %224 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %224, ptr noundef @.str.13)
          to label %225 unwind label %248

225:                                              ; preds = %223
  invoke void @__cxa_throw(ptr %224, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1118 unwind label %252

226:                                              ; preds = %209
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %11, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %12, align 4
  br label %327

230:                                              ; preds = %211
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %11, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %12, align 4
  br label %238

234:                                              ; preds = %212
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %11, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %12, align 4
  call void @_ZNSt4pairIjN3AST7PatternEED2Ev(ptr noundef nonnull align 8 dereferenceable(552) %23) #8
  br label %238

238:                                              ; preds = %234, %230
  call void @llvm.lifetime.end.p0(i64 552, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %22) #8
  br label %326

239:                                              ; preds = %220
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %11, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %12, align 4
  br label %247

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

247:                                              ; preds = %243, %239
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %326

248:                                              ; preds = %223
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %11, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %12, align 4
  call void @__cxa_free_exception(ptr %224) #8
  br label %326

252:                                              ; preds = %298, %296, %294, %292, %290, %288, %285, %282, %277, %225
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %11, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %12, align 4
  br label %326

256:                                              ; No predecessors!
  br label %257

257:                                              ; preds = %256
  br label %258

258:                                              ; preds = %257, %214
  call void @llvm.lifetime.start.p0(i64 88, ptr %28) #8
  %259 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %28, ptr noundef nonnull align 8 dereferenceable(176) %259)
          to label %260 unwind label %267

260:                                              ; preds = %258
  %261 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %28)
          to label %262 unwind label %271

262:                                              ; preds = %260
  %263 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %261)
          to label %264 unwind label %271

264:                                              ; preds = %262
  %265 = icmp eq i32 %263, 26
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #8
  br i1 %265, label %266, label %276

266:                                              ; preds = %264
  store i32 3, ptr %29, align 4
  br label %323

267:                                              ; preds = %258
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %11, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %12, align 4
  br label %275

271:                                              ; preds = %262, %260
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %11, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #8
  br label %275

275:                                              ; preds = %271, %267
  call void @llvm.lifetime.end.p0(i64 88, ptr %28) #8
  br label %326

276:                                              ; preds = %264
  br label %277

277:                                              ; preds = %276
  %278 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %279 unwind label %252

279:                                              ; preds = %277
  %280 = icmp ne i32 %278, 31
  br i1 %280, label %281, label %320

281:                                              ; preds = %279
  br label %282

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

284:                                              ; preds = %282
  br i1 %283, label %285, label %301

285:                                              ; preds = %284
  %286 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %287 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %286, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %288 unwind label %252

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

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

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

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

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

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

300:                                              ; preds = %298
  br label %301

301:                                              ; preds = %300, %284
  br label %302

302:                                              ; preds = %301
  br label %303

303:                                              ; preds = %302
  store i1 true, ptr %31, align 1
  %304 = call ptr @__cxa_allocate_exception(i64 96) #8
  %305 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %30, i32 noundef 31)
          to label %306 unwind label %308

306:                                              ; preds = %303
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %304, ptr noundef nonnull align 8 dereferenceable(176) %305, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %30)
          to label %307 unwind label %312

307:                                              ; preds = %306
  store i1 false, ptr %31, align 1
  invoke void @__cxa_throw(ptr %304, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %312

308:                                              ; preds = %303
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %11, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %12, align 4
  br label %316

312:                                              ; preds = %307, %306
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %11, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %30) #8
  br label %316

316:                                              ; preds = %312, %308
  %317 = load i1, ptr %31, align 1
  br i1 %317, label %318, label %319

318:                                              ; preds = %316
  call void @__cxa_free_exception(ptr %304) #8
  br label %319

319:                                              ; preds = %318, %316
  br label %326

320:                                              ; preds = %279
  br label %321

321:                                              ; preds = %320
  br label %322

322:                                              ; preds = %321
  store i32 0, ptr %29, align 4
  br label %323

323:                                              ; preds = %322, %266
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  %324 = load i32, ptr %29, align 4
  switch i32 %324, label %1118 [
    i32 0, label %325
    i32 3, label %329
  ]

325:                                              ; preds = %323
  br label %108, !llvm.loop !18

326:                                              ; preds = %319, %275, %252, %248, %247, %238
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  br label %327

327:                                              ; preds = %326, %226
  call void @llvm.lifetime.end.p0(i64 544, ptr %21) #8
  br label %328

328:                                              ; preds = %327, %206, %184, %183, %171
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  br label %501

329:                                              ; preds = %323, %114
  %330 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %331 unwind label %340

331:                                              ; preds = %329
  %332 = icmp eq i32 %330, 47
  br i1 %332, label %333, label %353

333:                                              ; preds = %331
  store i8 1, ptr %13, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %32) #8
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %32, ptr noundef nonnull align 8 dereferenceable(176) %334)
          to label %335 unwind label %344

335:                                              ; preds = %333
  %336 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %32)
          to label %337 unwind label %348

337:                                              ; preds = %335
  %338 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %336)
          to label %339 unwind label %348

339:                                              ; preds = %337
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %32) #8
  br label %353

340:                                              ; preds = %375, %373, %371, %369, %367, %365, %362, %359, %354, %329
  %341 = landingpad { ptr, i32 }
          cleanup
  %342 = extractvalue { ptr, i32 } %341, 0
  store ptr %342, ptr %11, align 8
  %343 = extractvalue { ptr, i32 } %341, 1
  store i32 %343, ptr %12, align 4
  br label %501

344:                                              ; preds = %333
  %345 = landingpad { ptr, i32 }
          cleanup
  %346 = extractvalue { ptr, i32 } %345, 0
  store ptr %346, ptr %11, align 8
  %347 = extractvalue { ptr, i32 } %345, 1
  store i32 %347, ptr %12, align 4
  br label %352

348:                                              ; preds = %337, %335
  %349 = landingpad { ptr, i32 }
          cleanup
  %350 = extractvalue { ptr, i32 } %349, 0
  store ptr %350, ptr %11, align 8
  %351 = extractvalue { ptr, i32 } %349, 1
  store i32 %351, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %32) #8
  br label %352

352:                                              ; preds = %348, %344
  call void @llvm.lifetime.end.p0(i64 88, ptr %32) #8
  br label %501

353:                                              ; preds = %339, %331
  br label %354

354:                                              ; preds = %353
  %355 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %356 unwind label %340

356:                                              ; preds = %354
  %357 = icmp ne i32 %355, 26
  br i1 %357, label %358, label %397

358:                                              ; preds = %356
  br label %359

359:                                              ; preds = %358
  %360 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %361 unwind label %340

361:                                              ; preds = %359
  br i1 %360, label %362, label %378

362:                                              ; preds = %361
  %363 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %364 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %363, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %365 unwind label %340

365:                                              ; preds = %362
  %366 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %364, ptr noundef @.str)
          to label %367 unwind label %340

367:                                              ; preds = %365
  %368 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %366, ptr noundef @.str.1)
          to label %369 unwind label %340

369:                                              ; preds = %367
  %370 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %368, ptr noundef @.str.2)
          to label %371 unwind label %340

371:                                              ; preds = %369
  %372 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %370, i32 noundef 536)
          to label %373 unwind label %340

373:                                              ; preds = %371
  %374 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %372, ptr noundef @_ZSt3decRSt8ios_base)
          to label %375 unwind label %340

375:                                              ; preds = %373
  %376 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %374, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %377 unwind label %340

377:                                              ; preds = %375
  br label %378

378:                                              ; preds = %377, %361
  br label %379

379:                                              ; preds = %378
  br label %380

380:                                              ; preds = %379
  store i1 true, ptr %34, align 1
  %381 = call ptr @__cxa_allocate_exception(i64 96) #8
  %382 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %33, i32 noundef 26)
          to label %383 unwind label %385

383:                                              ; preds = %380
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %381, ptr noundef nonnull align 8 dereferenceable(176) %382, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %33)
          to label %384 unwind label %389

384:                                              ; preds = %383
  store i1 false, ptr %34, align 1
  invoke void @__cxa_throw(ptr %381, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %389

385:                                              ; preds = %380
  %386 = landingpad { ptr, i32 }
          cleanup
  %387 = extractvalue { ptr, i32 } %386, 0
  store ptr %387, ptr %11, align 8
  %388 = extractvalue { ptr, i32 } %386, 1
  store i32 %388, ptr %12, align 4
  br label %393

389:                                              ; preds = %384, %383
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %11, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #8
  br label %393

393:                                              ; preds = %389, %385
  %394 = load i1, ptr %34, align 1
  br i1 %394, label %395, label %396

395:                                              ; preds = %393
  call void @__cxa_free_exception(ptr %381) #8
  br label %396

396:                                              ; preds = %395, %393
  br label %501

397:                                              ; preds = %356
  br label %398

398:                                              ; preds = %397
  br label %399

399:                                              ; preds = %398
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  store i8 0, ptr %35, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %36) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #8
  store i32 0, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #8
  store ptr %14, ptr %39, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %400 = load ptr, ptr %39, align 8, !tbaa !5
  %401 = call ptr @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %400) #8
  %402 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %40, i32 0, i32 0
  store ptr %401, ptr %402, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %403 = load ptr, ptr %39, align 8, !tbaa !5
  %404 = call ptr @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %403) #8
  %405 = getelementptr inbounds %"struct.std::_Rb_tree_iterator", ptr %41, i32 0, i32 0
  store ptr %404, ptr %405, align 8
  br label %406

406:                                              ; preds = %467, %399
  %407 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %40, ptr noundef nonnull align 8 dereferenceable(8) %41) #8
  br i1 %407, label %409, label %408

408:                                              ; preds = %406
  store i32 18, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %470

409:                                              ; preds = %406
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %410 = call noundef nonnull align 8 dereferenceable(552) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  store ptr %410, ptr %42, align 8, !tbaa !5
  %411 = load ptr, ptr %42, align 8, !tbaa !5
  %412 = getelementptr inbounds %"struct.std::pair.97", ptr %411, i32 0, i32 0
  %413 = load i32, ptr %412, align 8, !tbaa !20
  %414 = load i32, ptr %38, align 4, !tbaa !11
  %415 = icmp ne i32 %413, %414
  br i1 %415, label %416, label %453

416:                                              ; preds = %409
  %417 = load i8, ptr %35, align 1, !tbaa !9, !range !16, !noundef !17
  %418 = trunc i8 %417 to i1
  br i1 %418, label %422, label %419

419:                                              ; preds = %416
  %420 = load i8, ptr %13, align 1, !tbaa !9, !range !16, !noundef !17
  %421 = trunc i8 %420 to i1
  br i1 %421, label %449, label %422

422:                                              ; preds = %419, %416
  br label %423

423:                                              ; preds = %422
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %424 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind writable sret(%struct.Span) align 8 %43, ptr noundef nonnull align 8 dereferenceable(176) %424)
          to label %425 unwind label %430

425:                                              ; preds = %423
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %426 = getelementptr inbounds %class.anon.99, ptr %45, i32 0, i32 0
  store ptr %38, ptr %426, align 8, !tbaa !5
  call void @"_ZNSt8functionIFvRSoEEC2IZ19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(8) %45) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %43, i32 noundef 0, ptr noundef %44)
          to label %427 unwind label %434

427:                                              ; preds = %425
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  %428 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %428, ptr noundef @.str.13)
          to label %429 unwind label %439

429:                                              ; preds = %427
  invoke void @__cxa_throw(ptr %428, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #9
          to label %1118 unwind label %443

430:                                              ; preds = %423
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %11, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %12, align 4
  br label %438

434:                                              ; preds = %425
  %435 = landingpad { ptr, i32 }
          cleanup
  %436 = extractvalue { ptr, i32 } %435, 0
  store ptr %436, ptr %11, align 8
  %437 = extractvalue { ptr, i32 } %435, 1
  store i32 %437, ptr %12, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  br label %438

438:                                              ; preds = %434, %430
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  br label %469

439:                                              ; preds = %427
  %440 = landingpad { ptr, i32 }
          cleanup
  %441 = extractvalue { ptr, i32 } %440, 0
  store ptr %441, ptr %11, align 8
  %442 = extractvalue { ptr, i32 } %440, 1
  store i32 %442, ptr %12, align 4
  call void @__cxa_free_exception(ptr %428) #8
  br label %469

443:                                              ; preds = %460, %456, %429
  %444 = landingpad { ptr, i32 }
          cleanup
  %445 = extractvalue { ptr, i32 } %444, 0
  store ptr %445, ptr %11, align 8
  %446 = extractvalue { ptr, i32 } %444, 1
  store i32 %446, ptr %12, align 4
  br label %469

447:                                              ; No predecessors!
  br label %448

448:                                              ; preds = %447
  br label %449

449:                                              ; preds = %448, %419
  store i8 1, ptr %35, align 1, !tbaa !9
  %450 = load ptr, ptr %42, align 8, !tbaa !5
  %451 = getelementptr inbounds %"struct.std::pair.97", ptr %450, i32 0, i32 0
  %452 = load i32, ptr %451, align 8, !tbaa !20
  store i32 %452, ptr %38, align 4, !tbaa !11
  br label %453

453:                                              ; preds = %449, %409
  %454 = load i8, ptr %35, align 1, !tbaa !9, !range !16, !noundef !17
  %455 = trunc i8 %454 to i1
  br i1 %455, label %460, label %456

456:                                              ; preds = %453
  %457 = load ptr, ptr %42, align 8, !tbaa !5
  %458 = getelementptr inbounds %"struct.std::pair.97", ptr %457, i32 0, i32 1
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %36, ptr noundef nonnull align 8 dereferenceable(544) %458)
          to label %459 unwind label %443

459:                                              ; preds = %456
  br label %464

460:                                              ; preds = %453
  %461 = load ptr, ptr %42, align 8, !tbaa !5
  %462 = getelementptr inbounds %"struct.std::pair.97", ptr %461, i32 0, i32 1
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(544) %462)
          to label %463 unwind label %443

463:                                              ; preds = %460
  br label %464

464:                                              ; preds = %463, %459
  %465 = load i32, ptr %38, align 4, !tbaa !11
  %466 = add i32 %465, 1
  store i32 %466, ptr %38, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  br label %467

467:                                              ; preds = %464
  %468 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #8
  br label %406

469:                                              ; preds = %443, %439, %438
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #8
  br label %500

470:                                              ; preds = %408
  %471 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %472 unwind label %482

472:                                              ; preds = %470
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %47, ptr noundef nonnull align 8 dereferenceable(176) %471, ptr noundef %48)
          to label %473 unwind label %486

473:                                              ; preds = %472
  invoke void @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240) %49, ptr noundef nonnull align 8 dereferenceable(240) %3)
          to label %474 unwind label %490

474:                                              ; preds = %473
  %475 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %50, i32 0, i32 0
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %475, ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  %476 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %50, i32 0, i32 1
  %477 = load i8, ptr %35, align 1, !tbaa !9, !range !16, !noundef !17
  %478 = trunc i8 %477 to i1
  %479 = zext i1 %478 to i8
  store i8 %479, ptr %476, align 8, !tbaa !30
  %480 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %50, i32 0, i32 2
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %480, ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  invoke void @_ZN3AST7PatternC2ENS0_13TagNamedTupleE4SpanNS_4PathENS0_8TuplePatE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %47, ptr noundef %49, ptr noundef %50)
          to label %481 unwind label %494

481:                                              ; preds = %474
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %49) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  store i32 1, ptr %29, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %1110

482:                                              ; preds = %470
  %483 = landingpad { ptr, i32 }
          cleanup
  %484 = extractvalue { ptr, i32 } %483, 0
  store ptr %484, ptr %11, align 8
  %485 = extractvalue { ptr, i32 } %483, 1
  store i32 %485, ptr %12, align 4
  br label %500

486:                                              ; preds = %472
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %11, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %12, align 4
  br label %499

490:                                              ; preds = %473
  %491 = landingpad { ptr, i32 }
          cleanup
  %492 = extractvalue { ptr, i32 } %491, 0
  store ptr %492, ptr %11, align 8
  %493 = extractvalue { ptr, i32 } %491, 1
  store i32 %493, ptr %12, align 4
  br label %498

494:                                              ; preds = %474
  %495 = landingpad { ptr, i32 }
          cleanup
  %496 = extractvalue { ptr, i32 } %495, 0
  store ptr %496, ptr %11, align 8
  %497 = extractvalue { ptr, i32 } %495, 1
  store i32 %497, ptr %12, align 4
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %50) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %49) #8
  br label %498

498:                                              ; preds = %494, %490
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br label %499

499:                                              ; preds = %498, %486
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #8
  br label %500

500:                                              ; preds = %499, %482, %469
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #8
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %36) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %36) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %501

501:                                              ; preds = %500, %396, %352, %340, %328, %170
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #8
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #8
  br label %1111

502:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #8
  store i8 1, ptr %51, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %52) #8
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  br label %503

503:                                              ; preds = %1007, %502
  %504 = load ptr, ptr %6, align 8, !tbaa !5
  %505 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %504, i32 noundef 0)
          to label %506 unwind label %515

506:                                              ; preds = %503
  %507 = icmp eq i32 %505, 26
  br i1 %507, label %508, label %528

508:                                              ; preds = %506
  call void @llvm.lifetime.start.p0(i64 88, ptr %53) #8
  %509 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %53, ptr noundef nonnull align 8 dereferenceable(176) %509)
          to label %510 unwind label %519

510:                                              ; preds = %508
  %511 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %53)
          to label %512 unwind label %523

512:                                              ; preds = %510
  %513 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %511)
          to label %514 unwind label %523

514:                                              ; preds = %512
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %53) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %53) #8
  br label %1009

515:                                              ; preds = %1087, %1031, %1029, %1027, %1025, %1023, %1021, %1018, %1015, %1010, %559, %557, %555, %553, %551, %549, %546, %543, %528, %503
  %516 = landingpad { ptr, i32 }
          cleanup
  %517 = extractvalue { ptr, i32 } %516, 0
  store ptr %517, ptr %11, align 8
  %518 = extractvalue { ptr, i32 } %516, 1
  store i32 %518, ptr %12, align 4
  br label %1109

519:                                              ; preds = %508
  %520 = landingpad { ptr, i32 }
          cleanup
  %521 = extractvalue { ptr, i32 } %520, 0
  store ptr %521, ptr %11, align 8
  %522 = extractvalue { ptr, i32 } %520, 1
  store i32 %522, ptr %12, align 4
  br label %527

523:                                              ; preds = %512, %510
  %524 = landingpad { ptr, i32 }
          cleanup
  %525 = extractvalue { ptr, i32 } %524, 0
  store ptr %525, ptr %11, align 8
  %526 = extractvalue { ptr, i32 } %524, 1
  store i32 %526, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %53) #8
  br label %527

527:                                              ; preds = %523, %519
  call void @llvm.lifetime.end.p0(i64 88, ptr %53) #8
  br label %1109

528:                                              ; preds = %506
  %529 = load ptr, ptr %6, align 8, !tbaa !5
  %530 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %529, i32 noundef 0)
          to label %531 unwind label %515

531:                                              ; preds = %528
  %532 = icmp eq i32 %530, 47
  br i1 %532, label %533, label %608

533:                                              ; preds = %531
  br label %534

534:                                              ; preds = %533
  call void @llvm.lifetime.start.p0(i64 88, ptr %54) #8
  %535 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %54, ptr noundef nonnull align 8 dereferenceable(176) %535)
          to label %536 unwind label %562

536:                                              ; preds = %534
  %537 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %54)
          to label %538 unwind label %566

538:                                              ; preds = %536
  %539 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %537)
          to label %540 unwind label %566

540:                                              ; preds = %538
  %541 = icmp ne i32 %539, 47
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %54) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %54) #8
  br i1 %541, label %542, label %590

542:                                              ; preds = %540
  br label %543

543:                                              ; preds = %542
  %544 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %545 unwind label %515

545:                                              ; preds = %543
  br i1 %544, label %546, label %571

546:                                              ; preds = %545
  %547 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %548 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %547, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %549 unwind label %515

549:                                              ; preds = %546
  %550 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %548, ptr noundef @.str.14)
          to label %551 unwind label %515

551:                                              ; preds = %549
  %552 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %550, ptr noundef @.str.1)
          to label %553 unwind label %515

553:                                              ; preds = %551
  %554 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %552, ptr noundef @.str.2)
          to label %555 unwind label %515

555:                                              ; preds = %553
  %556 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %554, i32 noundef 571)
          to label %557 unwind label %515

557:                                              ; preds = %555
  %558 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %556, ptr noundef @_ZSt3decRSt8ios_base)
          to label %559 unwind label %515

559:                                              ; preds = %557
  %560 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %558, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %561 unwind label %515

561:                                              ; preds = %559
  br label %571

562:                                              ; preds = %534
  %563 = landingpad { ptr, i32 }
          cleanup
  %564 = extractvalue { ptr, i32 } %563, 0
  store ptr %564, ptr %11, align 8
  %565 = extractvalue { ptr, i32 } %563, 1
  store i32 %565, ptr %12, align 4
  br label %570

566:                                              ; preds = %538, %536
  %567 = landingpad { ptr, i32 }
          cleanup
  %568 = extractvalue { ptr, i32 } %567, 0
  store ptr %568, ptr %11, align 8
  %569 = extractvalue { ptr, i32 } %567, 1
  store i32 %569, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %54) #8
  br label %570

570:                                              ; preds = %566, %562
  call void @llvm.lifetime.end.p0(i64 88, ptr %54) #8
  br label %1109

571:                                              ; preds = %561, %545
  br label %572

572:                                              ; preds = %571
  br label %573

573:                                              ; preds = %572
  store i1 true, ptr %56, align 1
  %574 = call ptr @__cxa_allocate_exception(i64 96) #8
  %575 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %55, i32 noundef 47)
          to label %576 unwind label %578

576:                                              ; preds = %573
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %574, ptr noundef nonnull align 8 dereferenceable(176) %575, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %55)
          to label %577 unwind label %582

577:                                              ; preds = %576
  store i1 false, ptr %56, align 1
  invoke void @__cxa_throw(ptr %574, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %582

578:                                              ; preds = %573
  %579 = landingpad { ptr, i32 }
          cleanup
  %580 = extractvalue { ptr, i32 } %579, 0
  store ptr %580, ptr %11, align 8
  %581 = extractvalue { ptr, i32 } %579, 1
  store i32 %581, ptr %12, align 4
  br label %586

582:                                              ; preds = %577, %576
  %583 = landingpad { ptr, i32 }
          cleanup
  %584 = extractvalue { ptr, i32 } %583, 0
  store ptr %584, ptr %11, align 8
  %585 = extractvalue { ptr, i32 } %583, 1
  store i32 %585, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %55) #8
  br label %586

586:                                              ; preds = %582, %578
  %587 = load i1, ptr %56, align 1
  br i1 %587, label %588, label %589

588:                                              ; preds = %586
  call void @__cxa_free_exception(ptr %574) #8
  br label %589

589:                                              ; preds = %588, %586
  br label %1109

590:                                              ; preds = %540
  br label %591

591:                                              ; preds = %590
  br label %592

592:                                              ; preds = %591
  store i8 0, ptr %51, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %57) #8
  %593 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %57, ptr noundef nonnull align 8 dereferenceable(176) %593)
          to label %594 unwind label %599

594:                                              ; preds = %592
  %595 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %57)
          to label %596 unwind label %603

596:                                              ; preds = %594
  %597 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %595)
          to label %598 unwind label %603

598:                                              ; preds = %596
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %57) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %57) #8
  br label %1009

599:                                              ; preds = %592
  %600 = landingpad { ptr, i32 }
          cleanup
  %601 = extractvalue { ptr, i32 } %600, 0
  store ptr %601, ptr %11, align 8
  %602 = extractvalue { ptr, i32 } %600, 1
  store i32 %602, ptr %12, align 4
  br label %607

603:                                              ; preds = %596, %594
  %604 = landingpad { ptr, i32 }
          cleanup
  %605 = extractvalue { ptr, i32 } %604, 0
  store ptr %605, ptr %11, align 8
  %606 = extractvalue { ptr, i32 } %604, 1
  store i32 %606, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %57) #8
  br label %607

607:                                              ; preds = %603, %599
  call void @llvm.lifetime.end.p0(i64 88, ptr %57) #8
  br label %1109

608:                                              ; preds = %531
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #8
  %609 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8 %58, ptr noundef nonnull align 8 dereferenceable(176) %609)
          to label %610 unwind label %632

610:                                              ; preds = %608
  call void @llvm.lifetime.start.p0(i64 88, ptr %59) #8
  %611 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %59, ptr noundef nonnull align 8 dereferenceable(176) %611)
          to label %612 unwind label %636

612:                                              ; preds = %610
  %613 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %59)
          to label %614 unwind label %640

614:                                              ; preds = %612
  %615 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %613)
          to label %616 unwind label %640

616:                                              ; preds = %614
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %59) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %59) #8
  br label %617

617:                                              ; preds = %616
  %618 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %619 unwind label %645

619:                                              ; preds = %617
  br i1 %618, label %620, label %649

620:                                              ; preds = %619
  %621 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %622 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %621, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %623 unwind label %645

623:                                              ; preds = %620
  %624 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %622, ptr noundef @.str.17)
          to label %625 unwind label %645

625:                                              ; preds = %623
  %626 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Token(ptr noundef nonnull align 8 dereferenceable(8) %624, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %627 unwind label %645

627:                                              ; preds = %625
  %628 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %626, ptr noundef @_ZSt3decRSt8ios_base)
          to label %629 unwind label %645

629:                                              ; preds = %627
  %630 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %628, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %631 unwind label %645

631:                                              ; preds = %629
  br label %649

632:                                              ; preds = %608
  %633 = landingpad { ptr, i32 }
          cleanup
  %634 = extractvalue { ptr, i32 } %633, 0
  store ptr %634, ptr %11, align 8
  %635 = extractvalue { ptr, i32 } %633, 1
  store i32 %635, ptr %12, align 4
  br label %1056

636:                                              ; preds = %610
  %637 = landingpad { ptr, i32 }
          cleanup
  %638 = extractvalue { ptr, i32 } %637, 0
  store ptr %638, ptr %11, align 8
  %639 = extractvalue { ptr, i32 } %637, 1
  store i32 %639, ptr %12, align 4
  br label %644

640:                                              ; preds = %614, %612
  %641 = landingpad { ptr, i32 }
          cleanup
  %642 = extractvalue { ptr, i32 } %641, 0
  store ptr %642, ptr %11, align 8
  %643 = extractvalue { ptr, i32 } %641, 1
  store i32 %643, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %59) #8
  br label %644

644:                                              ; preds = %640, %636
  call void @llvm.lifetime.end.p0(i64 88, ptr %59) #8
  br label %1055

645:                                              ; preds = %629, %627, %625, %623, %620, %617
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %11, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %12, align 4
  br label %1055

649:                                              ; preds = %631, %619
  br label %650

650:                                              ; preds = %649
  br label %651

651:                                              ; preds = %650
  call void @llvm.lifetime.start.p0(i64 24, ptr %60) #8
  %652 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind writable sret(%struct.ProtoSpan) align 8 %60, ptr noundef nonnull align 8 dereferenceable(176) %652)
          to label %653 unwind label %664

653:                                              ; preds = %651
  call void @llvm.lifetime.start.p0(i64 1, ptr %61) #8
  store i8 0, ptr %61, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #8
  store i8 0, ptr %62, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #8
  store i32 0, ptr %63, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 1, ptr %64) #8
  store i8 0, ptr %64, align 1, !tbaa !9
  %654 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %655 unwind label %668

655:                                              ; preds = %653
  %656 = icmp eq i32 %654, 107
  br i1 %656, label %657, label %681

657:                                              ; preds = %655
  store i8 1, ptr %62, align 1, !tbaa !9
  store i8 1, ptr %61, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %65) #8
  %658 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %65, ptr noundef nonnull align 8 dereferenceable(176) %658)
          to label %659 unwind label %672

659:                                              ; preds = %657
  %660 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %65)
          to label %661 unwind label %676

661:                                              ; preds = %659
  %662 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %660)
          to label %663 unwind label %676

663:                                              ; preds = %661
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %65) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %65) #8
  br label %681

664:                                              ; preds = %651
  %665 = landingpad { ptr, i32 }
          cleanup
  %666 = extractvalue { ptr, i32 } %665, 0
  store ptr %666, ptr %11, align 8
  %667 = extractvalue { ptr, i32 } %665, 1
  store i32 %667, ptr %12, align 4
  br label %1054

668:                                              ; preds = %765, %763, %761, %759, %757, %755, %752, %749, %744, %722, %691, %681, %653
  %669 = landingpad { ptr, i32 }
          cleanup
  %670 = extractvalue { ptr, i32 } %669, 0
  store ptr %670, ptr %11, align 8
  %671 = extractvalue { ptr, i32 } %669, 1
  store i32 %671, ptr %12, align 4
  br label %1053

672:                                              ; preds = %657
  %673 = landingpad { ptr, i32 }
          cleanup
  %674 = extractvalue { ptr, i32 } %673, 0
  store ptr %674, ptr %11, align 8
  %675 = extractvalue { ptr, i32 } %673, 1
  store i32 %675, ptr %12, align 4
  br label %680

676:                                              ; preds = %661, %659
  %677 = landingpad { ptr, i32 }
          cleanup
  %678 = extractvalue { ptr, i32 } %677, 0
  store ptr %678, ptr %11, align 8
  %679 = extractvalue { ptr, i32 } %677, 1
  store i32 %679, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %65) #8
  br label %680

680:                                              ; preds = %676, %672
  call void @llvm.lifetime.end.p0(i64 88, ptr %65) #8
  br label %1053

681:                                              ; preds = %663, %655
  %682 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %683 unwind label %668

683:                                              ; preds = %681
  %684 = icmp eq i32 %682, 108
  br i1 %684, label %685, label %722

685:                                              ; preds = %683
  store i8 1, ptr %61, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %66) #8
  %686 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %66, ptr noundef nonnull align 8 dereferenceable(176) %686)
          to label %687 unwind label %702

687:                                              ; preds = %685
  %688 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %66)
          to label %689 unwind label %706

689:                                              ; preds = %687
  %690 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %688)
          to label %691 unwind label %706

691:                                              ; preds = %689
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %66) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %66) #8
  %692 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %693 unwind label %668

693:                                              ; preds = %691
  %694 = icmp eq i32 %692, 78
  br i1 %694, label %695, label %720

695:                                              ; preds = %693
  store i32 2, ptr %63, align 4, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 88, ptr %67) #8
  %696 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %67, ptr noundef nonnull align 8 dereferenceable(176) %696)
          to label %697 unwind label %711

697:                                              ; preds = %695
  %698 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %67)
          to label %699 unwind label %715

699:                                              ; preds = %697
  %700 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %698)
          to label %701 unwind label %715

701:                                              ; preds = %699
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %67) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %67) #8
  br label %721

702:                                              ; preds = %685
  %703 = landingpad { ptr, i32 }
          cleanup
  %704 = extractvalue { ptr, i32 } %703, 0
  store ptr %704, ptr %11, align 8
  %705 = extractvalue { ptr, i32 } %703, 1
  store i32 %705, ptr %12, align 4
  br label %710

706:                                              ; preds = %689, %687
  %707 = landingpad { ptr, i32 }
          cleanup
  %708 = extractvalue { ptr, i32 } %707, 0
  store ptr %708, ptr %11, align 8
  %709 = extractvalue { ptr, i32 } %707, 1
  store i32 %709, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %66) #8
  br label %710

710:                                              ; preds = %706, %702
  call void @llvm.lifetime.end.p0(i64 88, ptr %66) #8
  br label %1053

711:                                              ; preds = %695
  %712 = landingpad { ptr, i32 }
          cleanup
  %713 = extractvalue { ptr, i32 } %712, 0
  store ptr %713, ptr %11, align 8
  %714 = extractvalue { ptr, i32 } %712, 1
  store i32 %714, ptr %12, align 4
  br label %719

715:                                              ; preds = %699, %697
  %716 = landingpad { ptr, i32 }
          cleanup
  %717 = extractvalue { ptr, i32 } %716, 0
  store ptr %717, ptr %11, align 8
  %718 = extractvalue { ptr, i32 } %716, 1
  store i32 %718, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %67) #8
  br label %719

719:                                              ; preds = %715, %711
  call void @llvm.lifetime.end.p0(i64 88, ptr %67) #8
  br label %1053

720:                                              ; preds = %693
  store i32 1, ptr %63, align 4, !tbaa !36
  br label %721

721:                                              ; preds = %720, %701
  br label %743

722:                                              ; preds = %683
  %723 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %724 unwind label %668

724:                                              ; preds = %722
  %725 = icmp eq i32 %723, 78
  br i1 %725, label %726, label %742

726:                                              ; preds = %724
  store i8 1, ptr %64, align 1, !tbaa !9
  store i8 1, ptr %61, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 88, ptr %68) #8
  %727 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %68, ptr noundef nonnull align 8 dereferenceable(176) %727)
          to label %728 unwind label %733

728:                                              ; preds = %726
  %729 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %68)
          to label %730 unwind label %737

730:                                              ; preds = %728
  %731 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %729)
          to label %732 unwind label %737

732:                                              ; preds = %730
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %68) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %68) #8
  br label %742

733:                                              ; preds = %726
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %11, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %12, align 4
  br label %741

737:                                              ; preds = %730, %728
  %738 = landingpad { ptr, i32 }
          cleanup
  %739 = extractvalue { ptr, i32 } %738, 0
  store ptr %739, ptr %11, align 8
  %740 = extractvalue { ptr, i32 } %738, 1
  store i32 %740, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %68) #8
  br label %741

741:                                              ; preds = %737, %733
  call void @llvm.lifetime.end.p0(i64 88, ptr %68) #8
  br label %1053

742:                                              ; preds = %732, %724
  br label %743

743:                                              ; preds = %742, %721
  br label %744

744:                                              ; preds = %743
  %745 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %746 unwind label %668

746:                                              ; preds = %744
  %747 = icmp ne i32 %745, 14
  br i1 %747, label %748, label %787

748:                                              ; preds = %746
  br label %749

749:                                              ; preds = %748
  %750 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %751 unwind label %668

751:                                              ; preds = %749
  br i1 %750, label %752, label %768

752:                                              ; preds = %751
  %753 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %754 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %753, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %755 unwind label %668

755:                                              ; preds = %752
  %756 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %754, ptr noundef @.str)
          to label %757 unwind label %668

757:                                              ; preds = %755
  %758 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %756, ptr noundef @.str.1)
          to label %759 unwind label %668

759:                                              ; preds = %757
  %760 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %758, ptr noundef @.str.2)
          to label %761 unwind label %668

761:                                              ; preds = %759
  %762 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %760, i32 noundef 610)
          to label %763 unwind label %668

763:                                              ; preds = %761
  %764 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %762, ptr noundef @_ZSt3decRSt8ios_base)
          to label %765 unwind label %668

765:                                              ; preds = %763
  %766 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %764, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %767 unwind label %668

767:                                              ; preds = %765
  br label %768

768:                                              ; preds = %767, %751
  br label %769

769:                                              ; preds = %768
  br label %770

770:                                              ; preds = %769
  store i1 true, ptr %70, align 1
  %771 = call ptr @__cxa_allocate_exception(i64 96) #8
  %772 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %69, i32 noundef 14)
          to label %773 unwind label %775

773:                                              ; preds = %770
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %771, ptr noundef nonnull align 8 dereferenceable(176) %772, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %69)
          to label %774 unwind label %779

774:                                              ; preds = %773
  store i1 false, ptr %70, align 1
  invoke void @__cxa_throw(ptr %771, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %779

775:                                              ; preds = %770
  %776 = landingpad { ptr, i32 }
          cleanup
  %777 = extractvalue { ptr, i32 } %776, 0
  store ptr %777, ptr %11, align 8
  %778 = extractvalue { ptr, i32 } %776, 1
  store i32 %778, ptr %12, align 4
  br label %783

779:                                              ; preds = %774, %773
  %780 = landingpad { ptr, i32 }
          cleanup
  %781 = extractvalue { ptr, i32 } %780, 0
  store ptr %781, ptr %11, align 8
  %782 = extractvalue { ptr, i32 } %780, 1
  store i32 %782, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %69) #8
  br label %783

783:                                              ; preds = %779, %775
  %784 = load i1, ptr %70, align 1
  br i1 %784, label %785, label %786

785:                                              ; preds = %783
  call void @__cxa_free_exception(ptr %771) #8
  br label %786

786:                                              ; preds = %785, %783
  br label %1053

787:                                              ; preds = %746
  br label %788

788:                                              ; preds = %787
  br label %789

789:                                              ; preds = %788
  call void @llvm.lifetime.start.p0(i64 16, ptr %71) #8
  %790 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %791 unwind label %839

791:                                              ; preds = %789
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %71, ptr noundef nonnull align 8 dereferenceable(16) %790)
          to label %792 unwind label %839

792:                                              ; preds = %791
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  invoke void @_ZN8RcStringC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %793 unwind label %843

793:                                              ; preds = %792
  call void @llvm.lifetime.start.p0(i64 88, ptr %73) #8
  %794 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %73, ptr noundef nonnull align 8 dereferenceable(176) %794)
          to label %795 unwind label %847

795:                                              ; preds = %793
  %796 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %73)
          to label %797 unwind label %851

797:                                              ; preds = %795
  %798 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %796)
          to label %799 unwind label %851

799:                                              ; preds = %797
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %73) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %73) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %74) #8
  invoke void @_ZN3AST7PatternC2Ev(ptr noundef nonnull align 8 dereferenceable(544) %74)
          to label %800 unwind label %856

800:                                              ; preds = %799
  %801 = load i8, ptr %61, align 1, !tbaa !9, !range !16, !noundef !17
  %802 = trunc i8 %801 to i1
  br i1 %802, label %807, label %803

803:                                              ; preds = %800
  %804 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %805 unwind label %860

805:                                              ; preds = %803
  %806 = icmp ne i32 %804, 33
  br i1 %806, label %807, label %931

807:                                              ; preds = %805, %800
  %808 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %75, ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %809 unwind label %860

809:                                              ; preds = %807
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %808, ptr noundef %75)
          to label %810 unwind label %864

810:                                              ; preds = %809
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %75) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr %76) #8
  %811 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %78, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %812 unwind label %868

812:                                              ; preds = %810
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %77, ptr noundef nonnull align 8 dereferenceable(176) %811, ptr noundef %78)
          to label %813 unwind label %872

813:                                              ; preds = %812
  invoke void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504) %79)
          to label %814 unwind label %876

814:                                              ; preds = %813
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %76, ptr noundef %77, ptr noundef %79)
          to label %815 unwind label %880

815:                                              ; preds = %814
  %816 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %74, ptr noundef nonnull align 8 dereferenceable(544) %76)
          to label %817 unwind label %884

817:                                              ; preds = %815
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %76) #8
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %79) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %76) #8
  %818 = getelementptr inbounds %struct.Ident, ptr %71, i32 0, i32 1
  %819 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %818)
          to label %820 unwind label %860

820:                                              ; preds = %817
  %821 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %74)
          to label %822 unwind label %860

822:                                              ; preds = %820
  call void @llvm.lifetime.start.p0(i64 32, ptr %80) #8
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(16) %71)
          to label %823 unwind label %892

823:                                              ; preds = %822
  %824 = load i32, ptr %63, align 4, !tbaa !36
  %825 = load i8, ptr %64, align 1, !tbaa !9, !range !16, !noundef !17
  %826 = trunc i8 %825 to i1
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %80, ptr noundef %81, i32 noundef %824, i1 noundef zeroext %826)
          to label %827 unwind label %896

827:                                              ; preds = %823
  invoke void @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %821, ptr noundef nonnull align 8 dereferenceable(28) %80)
          to label %828 unwind label %900

828:                                              ; preds = %827
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %80) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %81) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #8
  %829 = load i8, ptr %62, align 1, !tbaa !9, !range !16, !noundef !17
  %830 = trunc i8 %829 to i1
  br i1 %830, label %831, label %930

831:                                              ; preds = %828
  call void @llvm.lifetime.start.p0(i64 544, ptr %82) #8
  %832 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %85, ptr noundef nonnull align 8 dereferenceable(24) %60)
          to label %833 unwind label %906

833:                                              ; preds = %831
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %84, ptr noundef nonnull align 8 dereferenceable(176) %832, ptr noundef %85)
          to label %834 unwind label %910

834:                                              ; preds = %833
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %86, ptr noundef nonnull align 8 dereferenceable(544) %74)
          to label %835 unwind label %914

835:                                              ; preds = %834
  invoke void @_ZN3AST7PatternC2ENS0_6TagBoxE4SpanS0_(ptr noundef nonnull align 8 dereferenceable(544) %82, ptr noundef %84, ptr noundef %86)
          to label %836 unwind label %918

836:                                              ; preds = %835
  %837 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %74, ptr noundef nonnull align 8 dereferenceable(544) %82)
          to label %838 unwind label %922

838:                                              ; preds = %836
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %82) #8
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %86) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %82) #8
  br label %930

839:                                              ; preds = %791, %789
  %840 = landingpad { ptr, i32 }
          cleanup
  %841 = extractvalue { ptr, i32 } %840, 0
  store ptr %841, ptr %11, align 8
  %842 = extractvalue { ptr, i32 } %840, 1
  store i32 %842, ptr %12, align 4
  br label %1052

843:                                              ; preds = %792
  %844 = landingpad { ptr, i32 }
          cleanup
  %845 = extractvalue { ptr, i32 } %844, 0
  store ptr %845, ptr %11, align 8
  %846 = extractvalue { ptr, i32 } %844, 1
  store i32 %846, ptr %12, align 4
  br label %1051

847:                                              ; preds = %793
  %848 = landingpad { ptr, i32 }
          cleanup
  %849 = extractvalue { ptr, i32 } %848, 0
  store ptr %849, ptr %11, align 8
  %850 = extractvalue { ptr, i32 } %848, 1
  store i32 %850, ptr %12, align 4
  br label %855

851:                                              ; preds = %797, %795
  %852 = landingpad { ptr, i32 }
          cleanup
  %853 = extractvalue { ptr, i32 } %852, 0
  store ptr %853, ptr %11, align 8
  %854 = extractvalue { ptr, i32 } %852, 1
  store i32 %854, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %73) #8
  br label %855

855:                                              ; preds = %851, %847
  call void @llvm.lifetime.end.p0(i64 88, ptr %73) #8
  br label %1050

856:                                              ; preds = %799
  %857 = landingpad { ptr, i32 }
          cleanup
  %858 = extractvalue { ptr, i32 } %857, 0
  store ptr %858, ptr %11, align 8
  %859 = extractvalue { ptr, i32 } %857, 1
  store i32 %859, ptr %12, align 4
  br label %1049

860:                                              ; preds = %977, %953, %951, %949, %947, %945, %943, %940, %937, %932, %820, %817, %807, %803
  %861 = landingpad { ptr, i32 }
          cleanup
  %862 = extractvalue { ptr, i32 } %861, 0
  store ptr %862, ptr %11, align 8
  %863 = extractvalue { ptr, i32 } %861, 1
  store i32 %863, ptr %12, align 4
  br label %1048

864:                                              ; preds = %809
  %865 = landingpad { ptr, i32 }
          cleanup
  %866 = extractvalue { ptr, i32 } %865, 0
  store ptr %866, ptr %11, align 8
  %867 = extractvalue { ptr, i32 } %865, 1
  store i32 %867, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %75) #8
  br label %1048

868:                                              ; preds = %810
  %869 = landingpad { ptr, i32 }
          cleanup
  %870 = extractvalue { ptr, i32 } %869, 0
  store ptr %870, ptr %11, align 8
  %871 = extractvalue { ptr, i32 } %869, 1
  store i32 %871, ptr %12, align 4
  br label %891

872:                                              ; preds = %812
  %873 = landingpad { ptr, i32 }
          cleanup
  %874 = extractvalue { ptr, i32 } %873, 0
  store ptr %874, ptr %11, align 8
  %875 = extractvalue { ptr, i32 } %873, 1
  store i32 %875, ptr %12, align 4
  br label %890

876:                                              ; preds = %813
  %877 = landingpad { ptr, i32 }
          cleanup
  %878 = extractvalue { ptr, i32 } %877, 0
  store ptr %878, ptr %11, align 8
  %879 = extractvalue { ptr, i32 } %877, 1
  store i32 %879, ptr %12, align 4
  br label %889

880:                                              ; preds = %814
  %881 = landingpad { ptr, i32 }
          cleanup
  %882 = extractvalue { ptr, i32 } %881, 0
  store ptr %882, ptr %11, align 8
  %883 = extractvalue { ptr, i32 } %881, 1
  store i32 %883, ptr %12, align 4
  br label %888

884:                                              ; preds = %815
  %885 = landingpad { ptr, i32 }
          cleanup
  %886 = extractvalue { ptr, i32 } %885, 0
  store ptr %886, ptr %11, align 8
  %887 = extractvalue { ptr, i32 } %885, 1
  store i32 %887, ptr %12, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %76) #8
  br label %888

888:                                              ; preds = %884, %880
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %79) #8
  br label %889

889:                                              ; preds = %888, %876
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  br label %890

890:                                              ; preds = %889, %872
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %78) #8
  br label %891

891:                                              ; preds = %890, %868
  call void @llvm.lifetime.end.p0(i64 544, ptr %76) #8
  br label %1048

892:                                              ; preds = %822
  %893 = landingpad { ptr, i32 }
          cleanup
  %894 = extractvalue { ptr, i32 } %893, 0
  store ptr %894, ptr %11, align 8
  %895 = extractvalue { ptr, i32 } %893, 1
  store i32 %895, ptr %12, align 4
  br label %905

896:                                              ; preds = %823
  %897 = landingpad { ptr, i32 }
          cleanup
  %898 = extractvalue { ptr, i32 } %897, 0
  store ptr %898, ptr %11, align 8
  %899 = extractvalue { ptr, i32 } %897, 1
  store i32 %899, ptr %12, align 4
  br label %904

900:                                              ; preds = %827
  %901 = landingpad { ptr, i32 }
          cleanup
  %902 = extractvalue { ptr, i32 } %901, 0
  store ptr %902, ptr %11, align 8
  %903 = extractvalue { ptr, i32 } %901, 1
  store i32 %903, ptr %12, align 4
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %80) #8
  br label %904

904:                                              ; preds = %900, %896
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %81) #8
  br label %905

905:                                              ; preds = %904, %892
  call void @llvm.lifetime.end.p0(i64 32, ptr %80) #8
  br label %1048

906:                                              ; preds = %831
  %907 = landingpad { ptr, i32 }
          cleanup
  %908 = extractvalue { ptr, i32 } %907, 0
  store ptr %908, ptr %11, align 8
  %909 = extractvalue { ptr, i32 } %907, 1
  store i32 %909, ptr %12, align 4
  br label %929

910:                                              ; preds = %833
  %911 = landingpad { ptr, i32 }
          cleanup
  %912 = extractvalue { ptr, i32 } %911, 0
  store ptr %912, ptr %11, align 8
  %913 = extractvalue { ptr, i32 } %911, 1
  store i32 %913, ptr %12, align 4
  br label %928

914:                                              ; preds = %834
  %915 = landingpad { ptr, i32 }
          cleanup
  %916 = extractvalue { ptr, i32 } %915, 0
  store ptr %916, ptr %11, align 8
  %917 = extractvalue { ptr, i32 } %915, 1
  store i32 %917, ptr %12, align 4
  br label %927

918:                                              ; preds = %835
  %919 = landingpad { ptr, i32 }
          cleanup
  %920 = extractvalue { ptr, i32 } %919, 0
  store ptr %920, ptr %11, align 8
  %921 = extractvalue { ptr, i32 } %919, 1
  store i32 %921, ptr %12, align 4
  br label %926

922:                                              ; preds = %836
  %923 = landingpad { ptr, i32 }
          cleanup
  %924 = extractvalue { ptr, i32 } %923, 0
  store ptr %924, ptr %11, align 8
  %925 = extractvalue { ptr, i32 } %923, 1
  store i32 %925, ptr %12, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %82) #8
  br label %926

926:                                              ; preds = %922, %918
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %86) #8
  br label %927

927:                                              ; preds = %926, %914
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  br label %928

928:                                              ; preds = %927, %910
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %85) #8
  br label %929

929:                                              ; preds = %928, %906
  call void @llvm.lifetime.end.p0(i64 544, ptr %82) #8
  br label %1048

930:                                              ; preds = %838, %828
  br label %994

931:                                              ; preds = %805
  br label %932

932:                                              ; preds = %931
  %933 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %934 unwind label %860

934:                                              ; preds = %932
  %935 = icmp ne i32 %933, 33
  br i1 %935, label %936, label %975

936:                                              ; preds = %934
  br label %937

937:                                              ; preds = %936
  %938 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %939 unwind label %860

939:                                              ; preds = %937
  br i1 %938, label %940, label %956

940:                                              ; preds = %939
  %941 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %942 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %941, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %943 unwind label %860

943:                                              ; preds = %940
  %944 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %942, ptr noundef @.str)
          to label %945 unwind label %860

945:                                              ; preds = %943
  %946 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %944, ptr noundef @.str.1)
          to label %947 unwind label %860

947:                                              ; preds = %945
  %948 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %946, ptr noundef @.str.2)
          to label %949 unwind label %860

949:                                              ; preds = %947
  %950 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %948, i32 noundef 627)
          to label %951 unwind label %860

951:                                              ; preds = %949
  %952 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %950, ptr noundef @_ZSt3decRSt8ios_base)
          to label %953 unwind label %860

953:                                              ; preds = %951
  %954 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %952, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %955 unwind label %860

955:                                              ; preds = %953
  br label %956

956:                                              ; preds = %955, %939
  br label %957

957:                                              ; preds = %956
  br label %958

958:                                              ; preds = %957
  store i1 true, ptr %88, align 1
  %959 = call ptr @__cxa_allocate_exception(i64 96) #8
  %960 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %87, i32 noundef 33)
          to label %961 unwind label %963

961:                                              ; preds = %958
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %959, ptr noundef nonnull align 8 dereferenceable(176) %960, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %87)
          to label %962 unwind label %967

962:                                              ; preds = %961
  store i1 false, ptr %88, align 1
  invoke void @__cxa_throw(ptr %959, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %967

963:                                              ; preds = %958
  %964 = landingpad { ptr, i32 }
          cleanup
  %965 = extractvalue { ptr, i32 } %964, 0
  store ptr %965, ptr %11, align 8
  %966 = extractvalue { ptr, i32 } %964, 1
  store i32 %966, ptr %12, align 4
  br label %971

967:                                              ; preds = %962, %961
  %968 = landingpad { ptr, i32 }
          cleanup
  %969 = extractvalue { ptr, i32 } %968, 0
  store ptr %969, ptr %11, align 8
  %970 = extractvalue { ptr, i32 } %968, 1
  store i32 %970, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %87) #8
  br label %971

971:                                              ; preds = %967, %963
  %972 = load i1, ptr %88, align 1
  br i1 %972, label %973, label %974

973:                                              ; preds = %971
  call void @__cxa_free_exception(ptr %959) #8
  br label %974

974:                                              ; preds = %973, %971
  br label %1048

975:                                              ; preds = %934
  br label %976

976:                                              ; preds = %975
  br label %977

977:                                              ; preds = %976
  %978 = getelementptr inbounds %struct.Ident, ptr %71, i32 0, i32 1
  %979 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSEOS_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef nonnull align 8 dereferenceable(8) %978)
          to label %980 unwind label %860

980:                                              ; preds = %977
  call void @llvm.lifetime.start.p0(i64 544, ptr %89) #8
  %981 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %89, ptr noundef nonnull align 8 dereferenceable(176) %981, i32 noundef 1)
          to label %982 unwind label %985

982:                                              ; preds = %980
  %983 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %74, ptr noundef nonnull align 8 dereferenceable(544) %89)
          to label %984 unwind label %989

984:                                              ; preds = %982
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %89) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %89) #8
  br label %994

985:                                              ; preds = %980
  %986 = landingpad { ptr, i32 }
          cleanup
  %987 = extractvalue { ptr, i32 } %986, 0
  store ptr %987, ptr %11, align 8
  %988 = extractvalue { ptr, i32 } %986, 1
  store i32 %988, ptr %12, align 4
  br label %993

989:                                              ; preds = %982
  %990 = landingpad { ptr, i32 }
          cleanup
  %991 = extractvalue { ptr, i32 } %990, 0
  store ptr %991, ptr %11, align 8
  %992 = extractvalue { ptr, i32 } %990, 1
  store i32 %992, ptr %12, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %89) #8
  br label %993

993:                                              ; preds = %989, %985
  call void @llvm.lifetime.end.p0(i64 544, ptr %89) #8
  br label %1048

994:                                              ; preds = %984, %930
  call void @llvm.lifetime.start.p0(i64 576, ptr %90) #8
  %995 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %90, i32 0, i32 0
  call void @_ZN3AST13AttributeListC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %995, ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %996 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %90, i32 0, i32 1
  invoke void @_ZN8RcStringC2EOS_(ptr noundef nonnull align 8 dereferenceable(8) %996, ptr noundef nonnull align 8 dereferenceable(8) %72)
          to label %997 unwind label %1034

997:                                              ; preds = %994
  %998 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %90, i32 0, i32 2
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %998, ptr noundef nonnull align 8 dereferenceable(544) %74)
          to label %999 unwind label %1038

999:                                              ; preds = %997
  invoke void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %52, ptr noundef nonnull align 8 dereferenceable(576) %90)
          to label %1000 unwind label %1043

1000:                                             ; preds = %999
  call void @_ZN3AST18StructPatternEntryD2Ev(ptr noundef nonnull align 8 dereferenceable(576) %90) #8
  call void @llvm.lifetime.end.p0(i64 576, ptr %90) #8
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %74) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %74) #8
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #8
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  br label %1001

1001:                                             ; preds = %1000
  call void @llvm.lifetime.start.p0(i64 88, ptr %91) #8
  %1002 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %91, ptr noundef nonnull align 8 dereferenceable(176) %1002)
          to label %1003 unwind label %1057

1003:                                             ; preds = %1001
  %1004 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef nonnull align 8 dereferenceable(88) %91)
          to label %1005 unwind label %1061

1005:                                             ; preds = %1003
  %1006 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %1004)
          to label %1007 unwind label %1061

1007:                                             ; preds = %1005
  %1008 = icmp eq i32 %1006, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %91) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %91) #8
  br i1 %1008, label %503, label %1009, !llvm.loop !38

1009:                                             ; preds = %1007, %598, %514
  br label %1010

1010:                                             ; preds = %1009
  %1011 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %10)
          to label %1012 unwind label %515

1012:                                             ; preds = %1010
  %1013 = icmp ne i32 %1011, 26
  br i1 %1013, label %1014, label %1085

1014:                                             ; preds = %1012
  br label %1015

1015:                                             ; preds = %1014
  %1016 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %1017 unwind label %515

1017:                                             ; preds = %1015
  br i1 %1016, label %1018, label %1066

1018:                                             ; preds = %1017
  %1019 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !11
  %1020 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %1019, ptr noundef @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %1021 unwind label %515

1021:                                             ; preds = %1018
  %1022 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1020, ptr noundef @.str)
          to label %1023 unwind label %515

1023:                                             ; preds = %1021
  %1024 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1022, ptr noundef @.str.1)
          to label %1025 unwind label %515

1025:                                             ; preds = %1023
  %1026 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %1024, ptr noundef @.str.2)
          to label %1027 unwind label %515

1027:                                             ; preds = %1025
  %1028 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %1026, i32 noundef 634)
          to label %1029 unwind label %515

1029:                                             ; preds = %1027
  %1030 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %1028, ptr noundef @_ZSt3decRSt8ios_base)
          to label %1031 unwind label %515

1031:                                             ; preds = %1029
  %1032 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %1030, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %1033 unwind label %515

1033:                                             ; preds = %1031
  br label %1066

1034:                                             ; preds = %994
  %1035 = landingpad { ptr, i32 }
          cleanup
  %1036 = extractvalue { ptr, i32 } %1035, 0
  store ptr %1036, ptr %11, align 8
  %1037 = extractvalue { ptr, i32 } %1035, 1
  store i32 %1037, ptr %12, align 4
  br label %1042

1038:                                             ; preds = %997
  %1039 = landingpad { ptr, i32 }
          cleanup
  %1040 = extractvalue { ptr, i32 } %1039, 0
  store ptr %1040, ptr %11, align 8
  %1041 = extractvalue { ptr, i32 } %1039, 1
  store i32 %1041, ptr %12, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %996) #8
  br label %1042

1042:                                             ; preds = %1038, %1034
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %995) #8
  br label %1047

1043:                                             ; preds = %999
  %1044 = landingpad { ptr, i32 }
          cleanup
  %1045 = extractvalue { ptr, i32 } %1044, 0
  store ptr %1045, ptr %11, align 8
  %1046 = extractvalue { ptr, i32 } %1044, 1
  store i32 %1046, ptr %12, align 4
  call void @_ZN3AST18StructPatternEntryD2Ev(ptr noundef nonnull align 8 dereferenceable(576) %90) #8
  br label %1047

1047:                                             ; preds = %1043, %1042
  call void @llvm.lifetime.end.p0(i64 576, ptr %90) #8
  br label %1048

1048:                                             ; preds = %1047, %993, %974, %929, %905, %891, %864, %860
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %74) #8
  br label %1049

1049:                                             ; preds = %1048, %856
  call void @llvm.lifetime.end.p0(i64 544, ptr %74) #8
  br label %1050

1050:                                             ; preds = %1049, %855
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %72) #8
  br label %1051

1051:                                             ; preds = %1050, %843
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %71) #8
  br label %1052

1052:                                             ; preds = %1051, %839
  call void @llvm.lifetime.end.p0(i64 16, ptr %71) #8
  br label %1053

1053:                                             ; preds = %1052, %786, %741, %719, %710, %680, %668
  call void @llvm.lifetime.end.p0(i64 1, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %61) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #8
  br label %1054

1054:                                             ; preds = %1053, %664
  call void @llvm.lifetime.end.p0(i64 24, ptr %60) #8
  br label %1055

1055:                                             ; preds = %1054, %645, %644
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  br label %1056

1056:                                             ; preds = %1055, %632
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #8
  br label %1109

1057:                                             ; preds = %1001
  %1058 = landingpad { ptr, i32 }
          cleanup
  %1059 = extractvalue { ptr, i32 } %1058, 0
  store ptr %1059, ptr %11, align 8
  %1060 = extractvalue { ptr, i32 } %1058, 1
  store i32 %1060, ptr %12, align 4
  br label %1065

1061:                                             ; preds = %1005, %1003
  %1062 = landingpad { ptr, i32 }
          cleanup
  %1063 = extractvalue { ptr, i32 } %1062, 0
  store ptr %1063, ptr %11, align 8
  %1064 = extractvalue { ptr, i32 } %1062, 1
  store i32 %1064, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %91) #8
  br label %1065

1065:                                             ; preds = %1061, %1057
  call void @llvm.lifetime.end.p0(i64 88, ptr %91) #8
  br label %1109

1066:                                             ; preds = %1033, %1017
  br label %1067

1067:                                             ; preds = %1066
  br label %1068

1068:                                             ; preds = %1067
  store i1 true, ptr %93, align 1
  %1069 = call ptr @__cxa_allocate_exception(i64 96) #8
  %1070 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %92, i32 noundef 26)
          to label %1071 unwind label %1073

1071:                                             ; preds = %1068
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %1069, ptr noundef nonnull align 8 dereferenceable(176) %1070, ptr noundef nonnull align 8 dereferenceable(88) %10, ptr noundef %92)
          to label %1072 unwind label %1077

1072:                                             ; preds = %1071
  store i1 false, ptr %93, align 1
  invoke void @__cxa_throw(ptr %1069, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #9
          to label %1118 unwind label %1077

1073:                                             ; preds = %1068
  %1074 = landingpad { ptr, i32 }
          cleanup
  %1075 = extractvalue { ptr, i32 } %1074, 0
  store ptr %1075, ptr %11, align 8
  %1076 = extractvalue { ptr, i32 } %1074, 1
  store i32 %1076, ptr %12, align 4
  br label %1081

1077:                                             ; preds = %1072, %1071
  %1078 = landingpad { ptr, i32 }
          cleanup
  %1079 = extractvalue { ptr, i32 } %1078, 0
  store ptr %1079, ptr %11, align 8
  %1080 = extractvalue { ptr, i32 } %1078, 1
  store i32 %1080, ptr %12, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %92) #8
  br label %1081

1081:                                             ; preds = %1077, %1073
  %1082 = load i1, ptr %93, align 1
  br i1 %1082, label %1083, label %1084

1083:                                             ; preds = %1081
  call void @__cxa_free_exception(ptr %1069) #8
  br label %1084

1084:                                             ; preds = %1083, %1081
  br label %1109

1085:                                             ; preds = %1012
  br label %1086

1086:                                             ; preds = %1085
  br label %1087

1087:                                             ; preds = %1086
  %1088 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %96, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %1089 unwind label %515

1089:                                             ; preds = %1087
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind writable sret(%struct.Span) align 8 %95, ptr noundef nonnull align 8 dereferenceable(176) %1088, ptr noundef %96)
          to label %1090 unwind label %1095

1090:                                             ; preds = %1089
  invoke void @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240) %97, ptr noundef nonnull align 8 dereferenceable(240) %3)
          to label %1091 unwind label %1099

1091:                                             ; preds = %1090
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %98, ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  %1092 = load i8, ptr %51, align 1, !tbaa !9, !range !16, !noundef !17
  %1093 = trunc i8 %1092 to i1
  invoke void @_ZN3AST7PatternC2ENS0_9TagStructE4SpanNS_4PathESt6vectorINS_18StructPatternEntryESaIS5_EEb(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef %95, ptr noundef %97, ptr noundef %98, i1 noundef zeroext %1093)
          to label %1094 unwind label %1103

1094:                                             ; preds = %1091
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %97) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  store i32 1, ptr %29, align 4
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %1110

1095:                                             ; preds = %1089
  %1096 = landingpad { ptr, i32 }
          cleanup
  %1097 = extractvalue { ptr, i32 } %1096, 0
  store ptr %1097, ptr %11, align 8
  %1098 = extractvalue { ptr, i32 } %1096, 1
  store i32 %1098, ptr %12, align 4
  br label %1108

1099:                                             ; preds = %1090
  %1100 = landingpad { ptr, i32 }
          cleanup
  %1101 = extractvalue { ptr, i32 } %1100, 0
  store ptr %1101, ptr %11, align 8
  %1102 = extractvalue { ptr, i32 } %1100, 1
  store i32 %1102, ptr %12, align 4
  br label %1107

1103:                                             ; preds = %1091
  %1104 = landingpad { ptr, i32 }
          cleanup
  %1105 = extractvalue { ptr, i32 } %1104, 0
  store ptr %1105, ptr %11, align 8
  %1106 = extractvalue { ptr, i32 } %1104, 1
  store i32 %1106, ptr %12, align 4
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %98) #8
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %97) #8
  br label %1107

1107:                                             ; preds = %1103, %1099
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %95) #8
  br label %1108

1108:                                             ; preds = %1107, %1095
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %96) #8
  br label %1109

1109:                                             ; preds = %1108, %1084, %1065, %1056, %607, %589, %570, %527, %515
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %52) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #8
  br label %1111

1110:                                             ; preds = %1094, %481
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  ret void

1111:                                             ; preds = %1109, %501, %158
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #8
  br label %1112

1112:                                             ; preds = %1111, %154
  call void @llvm.lifetime.end.p0(i64 88, ptr %10) #8
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #8
  br label %1113

1113:                                             ; preds = %1112
  %1114 = load ptr, ptr %11, align 8
  %1115 = load i32, ptr %12, align 4
  %1116 = insertvalue { ptr, i32 } poison, ptr %1114, 0
  %1117 = insertvalue { ptr, i32 } %1116, i32 %1115, 1
  resume { ptr, i32 } %1117

1118:                                             ; preds = %1072, %962, %774, %577, %429, %384, %323, %307, %225, %194
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE6insertIS4_IjS1_EEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(552)) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRjN3AST7PatternEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.93") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(544)) #0

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

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

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

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

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

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

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

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

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

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

declare void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8, ptr noundef nonnull align 8 dereferenceable(176)) #2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Token(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"_ZTSSt4pairISt17_Rb_tree_iteratorIS_IKjN3AST7PatternEEEbE", !15, i64 0, !10, i64 8}
!15 = !{!"_ZTSSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEE", !6, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!21, !12, i64 0}
!21 = !{!"_ZTSSt4pairIKjN3AST7PatternEE", !12, i64 0, !22, i64 8}
!22 = !{!"_ZTSN3AST7PatternE", !23, i64 8, !24, i64 16, !28, i64 40}
!23 = !{!"_ZTS4Span", !6, i64 0}
!24 = !{!"_ZTSSt6vectorIN3AST14PatternBindingESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN3AST7Pattern4DataE", !29, i64 0, !7, i64 8}
!29 = !{!"_ZTSN3AST7Pattern4Data3TagE", !7, i64 0}
!30 = !{!31, !10, i64 24}
!31 = !{!"_ZTSN3AST7Pattern8TuplePatE", !32, i64 0, !10, i64 24, !32, i64 32}
!32 = !{!"_ZTSSt6vectorIN3AST7PatternESaIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt12_Vector_baseIN3AST7PatternESaIS1_EE", !34, i64 0}
!34 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE12_Vector_implE", !35, i64 0}
!35 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!36 = !{!37, !37, i64 0}
!37 = !{!"_ZTSN3AST14PatternBinding4TypeE", !7, i64 0}
!38 = distinct !{!38, !19}


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

%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector", %"class.AST::Pattern::Data" }
%struct.Span = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PatternBinding, std::allocator<AST::PatternBinding>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern::Data" = type { i32, %"union.AST::Pattern::Data::DataUnion" }
%"union.AST::Pattern::Data::DataUnion" = type { %"struct.AST::Pattern::Data::Data_Value" }
%"struct.AST::Pattern::Data::Data_Value" = type { %"class.AST::Pattern::Value", %"class.AST::Pattern::Value" }
%"class.AST::Pattern::Value" = type { i32, %"union.AST::Pattern::Value::DataUnion" }
%"union.AST::Pattern::Value::DataUnion" = type { %"class.AST::Path" }
%"class.AST::Path" = type { ptr, %"class.AST::Path::Class", %"struct.AST::Path::Bindings" }
%"class.AST::Path::Class" = type { i32, %"union.AST::Path::Class::DataUnion" }
%"union.AST::Path::Class::DataUnion" = type { %"struct.AST::Path::Class::Data_UFCS" }
%"struct.AST::Path::Class::Data_UFCS" = type { %"class.std::unique_ptr.26", %"class.std::unique_ptr.34", %"class.std::vector.21" }
%"class.std::unique_ptr.26" = type { %"struct.std::__uniq_ptr_data.27" }
%"struct.std::__uniq_ptr_data.27" = type { %"class.std::__uniq_ptr_impl.28" }
%"class.std::__uniq_ptr_impl.28" = type { %"class.std::tuple.29" }
%"class.std::tuple.29" = type { %"struct.std::_Tuple_impl.30" }
%"struct.std::_Tuple_impl.30" = type { %"struct.std::_Head_base.33" }
%"struct.std::_Head_base.33" = type { ptr }
%"class.std::unique_ptr.34" = type { %"struct.std::__uniq_ptr_data.35" }
%"struct.std::__uniq_ptr_data.35" = type { %"class.std::__uniq_ptr_impl.36" }
%"class.std::__uniq_ptr_impl.36" = type { %"class.std::tuple.37" }
%"class.std::tuple.37" = type { %"struct.std::_Tuple_impl.38" }
%"struct.std::_Tuple_impl.38" = type { %"struct.std::_Head_base.41" }
%"struct.std::_Head_base.41" = type { ptr }
%"class.std::vector.21" = type { %"struct.std::_Vector_base.22" }
%"struct.std::_Vector_base.22" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::PathNode, std::allocator<AST::PathNode>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Path::Bindings" = type { %"struct.AST::PathBinding", %"struct.AST::PathBinding.47", %"struct.AST::PathBinding.48" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.42" }
%class.RcString = type { ptr }
%"class.std::vector.42" = type { %"struct.std::_Vector_base.43" }
%"struct.std::_Vector_base.43" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl" = type { %"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" }
%"struct.std::_Vector_base<RcString, std::allocator<RcString>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::PathBinding_Value" = type { i32, %"union.AST::PathBinding_Value::DataUnion" }
%"union.AST::PathBinding_Value::DataUnion" = type { %"struct.AST::PathBinding_Value::Data_EnumVar" }
%"struct.AST::PathBinding_Value::Data_EnumVar" = type { ptr, i32, ptr }
%"struct.AST::PathBinding.47" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Type" }
%"class.AST::PathBinding_Type" = type { i32, %"union.AST::PathBinding_Type::DataUnion" }
%"union.AST::PathBinding_Type::DataUnion" = type { %"struct.AST::PathBinding_Type::Data_Module" }
%"struct.AST::PathBinding_Type::Data_Module" = type { ptr, %"struct.AST::PathBinding_Type::(anonymous struct)::Hir" }
%"struct.AST::PathBinding_Type::(anonymous struct)::Hir" = type { ptr, ptr }
%"struct.AST::PathBinding.48" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%struct.ProtoSpan = type { %struct.Span, %class.RcString, i32, i32 }
%class.Token = type { ptr, i32, %"class.Token::Data", %class.Position, %"class.Ident::Hygiene" }
%"class.Token::Data" = type { i32, %"union.Token::Data::DataUnion" }
%"union.Token::Data::DataUnion" = type { %"class.std::__cxx11::basic_string" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.Position = type { %struct.Span, %class.RcString, i32, i32 }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr" }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%class.TraceLog = type { ptr, %"class.std::function" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, AST::Pattern>, std::_Select1st<std::pair<const unsigned int, AST::Pattern>>, std::less<unsigned int>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<unsigned int, std::pair<const unsigned int, AST::Pattern>, std::_Select1st<std::pair<const unsigned int, AST::Pattern>>, std::less<unsigned int>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%class.U128 = type { i64, i64 }
%"struct.std::pair.93" = type { i32, %"class.AST::Pattern" }
%class.anon.95 = type { i8 }
%"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.std::_Rb_tree_iterator" = type { ptr }
%class.anon.99 = type { ptr }
%"struct.AST::Pattern::TuplePat" = type { %"class.std::vector.49", i8, %"class.std::vector.49" }
%"class.std::vector.54" = type { %"struct.std::_Vector_base.55" }
%"struct.std::_Vector_base.55" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::AttributeList" = type { %"class.std::vector.83" }
%"class.std::vector.83" = type { %"struct.std::_Vector_base.84" }
%"struct.std::_Vector_base.84" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"class.AST::PatternBinding" = type <{ %struct.Ident, i32, i8, [3 x i8], i32, [4 x i8] }>
%"struct.AST::StructPatternEntry" = type { %"class.AST::AttributeList", %class.RcString, %"class.AST::Pattern" }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [11 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@_ZTISt13runtime_error = external constant ptr
@.str.13 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [15 x i8], align 1
@__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE = external hidden unnamed_addr constant [20 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504)) unnamed_addr #0 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 #0 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 @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240), ptr noundef nonnull align 8 dereferenceable(240)) unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE(ptr dead_on_unwind noalias writable sret(%"class.AST::Pattern") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca %"class.std::map", align 8
  %8 = alloca %class.Token, align 8
  %9 = alloca i32, align 4
  %10 = alloca %class.U128, align 8
  %11 = alloca %class.Token, align 8
  %12 = alloca %class.Token, align 8
  %13 = alloca %"class.AST::Pattern", align 8
  %14 = alloca %"struct.std::pair.93", align 8
  %15 = alloca %struct.Span, align 8
  %16 = alloca %"class.std::function", align 8
  %17 = alloca %class.anon.95, align 1
  %18 = alloca %class.Token, align 8
  %19 = alloca %class.Token, align 8
  %20 = alloca %class.Token, align 8
  %21 = alloca %class.Token, align 8
  %22 = alloca %"class.std::vector.49", align 8
  %23 = alloca %"class.std::vector.49", align 8
  %24 = alloca i32, align 4
  %25 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %26 = alloca %"struct.std::_Rb_tree_iterator", align 8
  %27 = alloca %struct.Span, align 8
  %28 = alloca %"class.std::function", align 8
  %29 = alloca %class.anon.99, align 8
  %30 = alloca %struct.Span, align 8
  %31 = alloca %struct.ProtoSpan, align 8
  %32 = alloca %"class.AST::Path", align 8
  %33 = alloca %"struct.AST::Pattern::TuplePat", align 8
  %34 = alloca %"class.std::vector.54", align 8
  %35 = alloca %class.Token, align 8
  %36 = alloca %class.Token, align 8
  %37 = alloca %class.Token, align 8
  %38 = alloca %class.Token, align 8
  %39 = alloca %"class.AST::AttributeList", align 8
  %40 = alloca %class.Token, align 8
  %41 = alloca %struct.ProtoSpan, align 8
  %42 = alloca %class.Token, align 8
  %43 = alloca %class.Token, align 8
  %44 = alloca %class.Token, align 8
  %45 = alloca %class.Token, align 8
  %46 = alloca %class.Token, align 8
  %47 = alloca %struct.Ident, align 8
  %48 = alloca %class.RcString, align 8
  %49 = alloca %class.Token, align 8
  %50 = alloca %"class.AST::Pattern", align 8
  %51 = alloca %class.Token, align 8
  %52 = alloca %"class.AST::Pattern", align 8
  %53 = alloca %struct.Span, align 8
  %54 = alloca %struct.ProtoSpan, align 8
  %55 = alloca %"class.AST::Pattern::Data", align 8
  %56 = alloca %"class.AST::PatternBinding", align 8
  %57 = alloca %struct.Ident, align 8
  %58 = alloca %"class.AST::Pattern", align 8
  %59 = alloca %struct.Span, align 8
  %60 = alloca %struct.ProtoSpan, align 8
  %61 = alloca %"class.AST::Pattern", align 8
  %62 = alloca %class.Token, align 8
  %63 = alloca %"class.AST::Pattern", align 8
  %64 = alloca %"struct.AST::StructPatternEntry", align 8
  %65 = alloca %class.Token, align 8
  %66 = alloca %class.Token, align 8
  %67 = alloca %struct.Span, align 8
  %68 = alloca %struct.ProtoSpan, align 8
  %69 = alloca %"class.AST::Path", align 8
  %70 = alloca %"class.std::vector.54", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #7
  %71 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %72 = select i1 %71, ptr @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %72)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %6) #7
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %73 unwind label %113

73:                                               ; preds = %4
  %74 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %75 unwind label %115

75:                                               ; preds = %73
  %76 = icmp eq i32 %74, 16
  br i1 %76, label %77, label %309

77:                                               ; preds = %75
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #7
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEEC2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  %78 = getelementptr inbounds i8, ptr %10, i64 8
  br label %79

79:                                               ; preds = %205, %77
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %8) #7
  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 %80 unwind label %117

80:                                               ; preds = %79
  %81 = 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 %82 unwind label %119

82:                                               ; preds = %80
  %83 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %81)
  %84 = icmp eq i32 %83, 16
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %8) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #7
  br i1 %84, label %85, label %.loopexit288

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  %86 = call { i64, i64 } @_ZNK5Token6intvalEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %87 = extractvalue { i64, i64 } %86, 0
  store i64 %87, ptr %10, align 8
  %88 = extractvalue { i64, i64 } %86, 1
  store i64 %88, ptr %78, align 8
  %89 = call noundef i64 @_ZNK4U12812truncate_u64Ev(ptr noundef nonnull align 8 dereferenceable(16) %10)
  %90 = trunc i64 %89 to i32
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  store i32 %90, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %11) #7
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %11, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %91 unwind label %122

91:                                               ; preds = %85
  %92 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %11)
          to label %93 unwind label %124

93:                                               ; preds = %91
  %94 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %92)
  %.not206 = icmp eq i32 %94, 33
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #7
  br i1 %.not206, label %138, label %95

95:                                               ; preds = %93
  %96 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %97 unwind label %127

97:                                               ; preds = %95
  br i1 %96, label %98, label %129

98:                                               ; preds = %97
  %99 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %100 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %99, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %101 unwind label %127

101:                                              ; preds = %98
  %102 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %100, ptr noundef nonnull @.str.14)
          to label %103 unwind label %127

103:                                              ; preds = %101
  %104 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %102, ptr noundef nonnull @.str.1)
          to label %105 unwind label %127

105:                                              ; preds = %103
  %106 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %104, ptr noundef nonnull @.str.2)
          to label %107 unwind label %127

107:                                              ; preds = %105
  %108 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %106, i32 noundef 522)
          to label %109 unwind label %127

109:                                              ; preds = %107
  %110 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %111 unwind label %127

111:                                              ; preds = %109
  %112 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %110, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %129 unwind label %127

113:                                              ; preds = %4
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %681

115:                                              ; preds = %73
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %680

117:                                              ; preds = %79
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %121

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

121:                                              ; preds = %119, %117
  %.pn202 = phi { ptr, i32 } [ %120, %119 ], [ %118, %117 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %8) #7
  br label %308

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

124:                                              ; preds = %91
  %125 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %11) #7
  br label %126

126:                                              ; preds = %124, %122
  %.pn204 = phi { ptr, i32 } [ %125, %124 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %11) #7
  br label %208

127:                                              ; preds = %111, %109, %107, %105, %103, %101, %98, %95
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %208

129:                                              ; preds = %111, %97
  %130 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %12, i32 noundef 33)
          to label %131 unwind label %.thread

131:                                              ; preds = %129
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %130, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %12)
          to label %133 unwind label %.thread243

.thread243:                                       ; preds = %131
  %132 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #7
  br label %137

133:                                              ; preds = %131
  invoke void @__cxa_throw(ptr nonnull %130, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %135

.thread:                                          ; preds = %129
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %137

135:                                              ; preds = %133
  %136 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #7
  br label %208

137:                                              ; preds = %.thread243, %.thread
  %.pn233242 = phi { ptr, i32 } [ %134, %.thread ], [ %132, %.thread243 ]
  call void @__cxa_free_exception(ptr %130) #7
  br label %208

138:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %13) #7
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %13, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %139 unwind label %149

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 552, ptr nonnull %14) #7
  invoke void @_ZSt9make_pairIRjN3AST7PatternEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind nonnull writable sret(%"struct.std::pair.93") align 8 %14, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 8 dereferenceable(544) %13)
          to label %140 unwind label %151

140:                                              ; preds = %139
  %141 = invoke { ptr, i8 } @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE6insertIS4_IjS1_EEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48) %7, ptr noundef nonnull align 8 dereferenceable(552) %14)
          to label %142 unwind label %153

142:                                              ; preds = %140
  %.fca.1.extract = extractvalue { ptr, i8 } %141, 1
  %143 = trunc i8 %.fca.1.extract to i1
  call void @_ZNSt4pairIjN3AST7PatternEED2Ev(ptr noundef nonnull align 8 dereferenceable(552) %14) #7
  call void @llvm.lifetime.end.p0(i64 552, ptr nonnull %14) #7
  br i1 %143, label %165, label %144

144:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %145 unwind label %156

145:                                              ; preds = %144
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #7
  call void @"_ZNSt8functionIFvRSoEEC2IZ19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathEE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 1 dereferenceable(1) %17) #7
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %15, i32 noundef 0, ptr noundef nonnull %16)
          to label %146 unwind label %158

146:                                              ; preds = %145
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  %147 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %147, ptr noundef nonnull @.str.13)
          to label %148 unwind label %161

148:                                              ; preds = %146
  invoke void @__cxa_throw(ptr nonnull %147, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %682 unwind label %163

149:                                              ; preds = %138
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %207

151:                                              ; preds = %139
  %152 = landingpad { ptr, i32 }
          cleanup
  br label %155

153:                                              ; preds = %140
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt4pairIjN3AST7PatternEED2Ev(ptr noundef nonnull align 8 dereferenceable(552) %14) #7
  br label %155

155:                                              ; preds = %153, %151
  %.pn207 = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 552, ptr nonnull %14) #7
  br label %206

156:                                              ; preds = %144
  %157 = landingpad { ptr, i32 }
          cleanup
  br label %160

158:                                              ; preds = %145
  %159 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  br label %160

160:                                              ; preds = %158, %156
  %.pn228 = phi { ptr, i32 } [ %159, %158 ], [ %157, %156 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %206

161:                                              ; preds = %146
  %162 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %147) #7
  br label %206

163:                                              ; preds = %194, %192, %190, %188, %186, %184, %181, %178, %148
  %164 = landingpad { ptr, i32 }
          cleanup
  br label %206

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

166:                                              ; preds = %165
  %167 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %18)
          to label %168 unwind label %173

168:                                              ; preds = %166
  %169 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %167)
  %170 = icmp eq i32 %169, 26
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #7
  br i1 %170, label %.thread251, label %176

.thread251:                                       ; preds = %168
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %13) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %.loopexit288

171:                                              ; preds = %165
  %172 = landingpad { ptr, i32 }
          cleanup
  br label %175

173:                                              ; preds = %166
  %174 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #7
  br label %175

175:                                              ; preds = %173, %171
  %.pn209 = phi { ptr, i32 } [ %174, %173 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #7
  br label %206

176:                                              ; preds = %168
  %177 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not211 = icmp eq i32 %177, 31
  br i1 %.not211, label %205, label %178

178:                                              ; preds = %176
  %179 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %180 unwind label %163

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

181:                                              ; preds = %180
  %182 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %183 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %182, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %184 unwind label %163

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

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

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

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %189, i32 noundef 530)
          to label %192 unwind label %163

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

194:                                              ; preds = %192
  %195 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %193, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %196 unwind label %163

196:                                              ; preds = %194, %180
  %197 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %19, i32 noundef 31)
          to label %198 unwind label %.thread245

198:                                              ; preds = %196
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %197, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %19)
          to label %200 unwind label %.thread249

.thread249:                                       ; preds = %198
  %199 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #7
  br label %204

200:                                              ; preds = %198
  invoke void @__cxa_throw(ptr nonnull %197, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %202

.thread245:                                       ; preds = %196
  %201 = landingpad { ptr, i32 }
          cleanup
  br label %204

202:                                              ; preds = %200
  %203 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #7
  br label %206

204:                                              ; preds = %.thread249, %.thread245
  %.pn212248 = phi { ptr, i32 } [ %201, %.thread245 ], [ %199, %.thread249 ]
  call void @__cxa_free_exception(ptr %197) #7
  br label %206

205:                                              ; preds = %176
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %13) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %79

206:                                              ; preds = %202, %204, %175, %163, %161, %160, %155
  %.pn230 = phi { ptr, i32 } [ %164, %163 ], [ %162, %161 ], [ %.pn228, %160 ], [ %.pn212248, %204 ], [ %203, %202 ], [ %.pn209, %175 ], [ %.pn207, %155 ]
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %13) #7
  br label %207

207:                                              ; preds = %206, %149
  %.pn230.pn = phi { ptr, i32 } [ %.pn230, %206 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %13) #7
  br label %208

208:                                              ; preds = %135, %137, %207, %127, %126
  %.pn233.pn = phi { ptr, i32 } [ %.pn233242, %137 ], [ %136, %135 ], [ %128, %127 ], [ %.pn230.pn, %207 ], [ %.pn204, %126 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  br label %308

.loopexit288:                                     ; preds = %82, %.thread251
  %209 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not308 = icmp eq i32 %209, 47
  br i1 %.not308, label %210, label %222

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

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

213:                                              ; preds = %211
  %214 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %212)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #7
  br label %222

215:                                              ; preds = %240, %238, %236, %234, %232, %230, %227, %224
  %216 = landingpad { ptr, i32 }
          cleanup
  br label %308

217:                                              ; preds = %210
  %218 = landingpad { ptr, i32 }
          cleanup
  br label %221

219:                                              ; preds = %211
  %220 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #7
  br label %221

221:                                              ; preds = %219, %217
  %.pn214 = phi { ptr, i32 } [ %220, %219 ], [ %218, %217 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #7
  br label %308

222:                                              ; preds = %.loopexit288, %213
  %223 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not216 = icmp eq i32 %223, 26
  br i1 %.not216, label %251, label %224

224:                                              ; preds = %222
  %225 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %226 unwind label %215

226:                                              ; preds = %224
  br i1 %225, label %227, label %242

227:                                              ; preds = %226
  %228 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %229 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %228, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %230 unwind label %215

230:                                              ; preds = %227
  %231 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %229, ptr noundef nonnull @.str)
          to label %232 unwind label %215

232:                                              ; preds = %230
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %231, ptr noundef nonnull @.str.1)
          to label %234 unwind label %215

234:                                              ; preds = %232
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef nonnull @.str.2)
          to label %236 unwind label %215

236:                                              ; preds = %234
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %235, i32 noundef 536)
          to label %238 unwind label %215

238:                                              ; preds = %236
  %239 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %237, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %240 unwind label %215

240:                                              ; preds = %238
  %241 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %239, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %242 unwind label %215

242:                                              ; preds = %240, %226
  %243 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef 26)
          to label %244 unwind label %.thread254

244:                                              ; preds = %242
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %243, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %21)
          to label %246 unwind label %.thread258

.thread258:                                       ; preds = %244
  %245 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  br label %250

246:                                              ; preds = %244
  invoke void @__cxa_throw(ptr nonnull %243, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %248

.thread254:                                       ; preds = %242
  %247 = landingpad { ptr, i32 }
          cleanup
  br label %250

248:                                              ; preds = %246
  %249 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #7
  br label %308

250:                                              ; preds = %.thread258, %.thread254
  %.pn226257 = phi { ptr, i32 } [ %247, %.thread254 ], [ %245, %.thread258 ]
  call void @__cxa_free_exception(ptr %243) #7
  br label %308

251:                                              ; preds = %222
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #7
  store i32 0, ptr %24, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #7
  %252 = call ptr @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE5beginEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  store ptr %252, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #7
  %253 = call ptr @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE3endEv(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  store ptr %253, ptr %26, align 8
  %254 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %254, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %251
  br i1 %.not308, label %.lr.ph.split, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph, %260
  %255 = phi i32 [ %261, %260 ], [ 0, %.lr.ph ]
  %256 = call noundef nonnull align 8 dereferenceable(552) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %257 = load i32, ptr %256, align 8, !tbaa !9
  %.not220.us = icmp eq i32 %257, %255
  br i1 %.not220.us, label %258, label %.split.us

258:                                              ; preds = %.lr.ph.split.us
  %259 = getelementptr inbounds i8, ptr %256, i64 8
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(544) %259)
          to label %260 unwind label %.loopexit.split.us

260:                                              ; preds = %258
  %261 = add i32 %255, 1
  store i32 %261, ptr %24, align 4, !tbaa !5
  %262 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %263 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %263, label %.lr.ph.split.us, label %._crit_edge

.loopexit.split.us:                               ; preds = %258
  %lpad.loopexit.us = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

._crit_edge.loopexit:                             ; preds = %286
  %264 = and i8 %.1132262, 1
  br label %._crit_edge

._crit_edge:                                      ; preds = %260, %._crit_edge.loopexit, %251
  %.0131.lcssa = phi i8 [ 0, %251 ], [ %264, %._crit_edge.loopexit ], [ 0, %260 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %291 unwind label %297

.lr.ph.split:                                     ; preds = %.lr.ph, %286
  %265 = phi i32 [ %288, %286 ], [ 0, %.lr.ph ]
  %.0131306 = phi i8 [ %.1132262, %286 ], [ 0, %.lr.ph ]
  %266 = call noundef nonnull align 8 dereferenceable(552) ptr @_ZNKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %267 = load i32, ptr %266, align 8, !tbaa !9
  %.not220 = icmp eq i32 %267, %265
  %268 = trunc nuw i8 %.0131306 to i1
  br i1 %.not220, label %281, label %269

269:                                              ; preds = %.lr.ph.split
  br i1 %268, label %.split.us, label %.thread260

.split.us:                                        ; preds = %.lr.ph.split.us, %269
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #7
  invoke void @_ZNK11TokenStream10point_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %270 unwind label %274

270:                                              ; preds = %.split.us
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #7
  store ptr %24, ptr %29, align 8, !tbaa !20
  call void @"_ZNSt8functionIFvRSoEEC2IZ19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathEE3$_1vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(8) %29) #7
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %27, i32 noundef 0, ptr noundef nonnull %28)
          to label %271 unwind label %276

271:                                              ; preds = %270
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #7
  %272 = call ptr @__cxa_allocate_exception(i64 16) #7
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %272, ptr noundef nonnull @.str.13)
          to label %273 unwind label %279

273:                                              ; preds = %271
  invoke void @__cxa_throw(ptr nonnull %272, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #8
          to label %682 unwind label %.loopexit.split-lp

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

276:                                              ; preds = %270
  %277 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %27) #7
  br label %278

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

279:                                              ; preds = %271
  %280 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %272) #7
  br label %.loopexit

.loopexit.split:                                  ; preds = %282, %.thread260
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

.loopexit.split-lp:                               ; preds = %273
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %.loopexit

281:                                              ; preds = %.lr.ph.split
  br i1 %268, label %.thread260, label %282

282:                                              ; preds = %281
  %283 = getelementptr inbounds i8, ptr %266, i64 8
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(544) %283)
          to label %286 unwind label %.loopexit.split

.thread260:                                       ; preds = %269, %281
  %284 = phi i32 [ %265, %281 ], [ %267, %269 ]
  %.1132263 = phi i8 [ %.0131306, %281 ], [ 1, %269 ]
  %285 = getelementptr inbounds i8, ptr %266, i64 8
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(544) %285)
          to label %286 unwind label %.loopexit.split

286:                                              ; preds = %.thread260, %282
  %287 = phi i32 [ %284, %.thread260 ], [ %265, %282 ]
  %.1132262 = phi i8 [ %.1132263, %.thread260 ], [ %.0131306, %282 ]
  %288 = add i32 %287, 1
  store i32 %288, ptr %24, align 4, !tbaa !5
  %289 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %290 = call noundef zeroext i1 @_ZStneRKSt17_Rb_tree_iteratorISt4pairIKjN3AST7PatternEEES7_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #7
  br i1 %290, label %.lr.ph.split, label %._crit_edge.loopexit

.loopexit:                                        ; preds = %.loopexit.split-lp, %.loopexit.split.us, %.loopexit.split, %279, %278
  %.pn223 = phi { ptr, i32 } [ %280, %279 ], [ %.pn221, %278 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.loopexit, %.loopexit.split ], [ %lpad.loopexit.us, %.loopexit.split.us ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #7
  br label %307

291:                                              ; preds = %._crit_edge
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %30, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %31)
          to label %292 unwind label %299

292:                                              ; preds = %291
  invoke void @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240) %32, ptr noundef nonnull align 8 dereferenceable(240) %3)
          to label %293 unwind label %301

293:                                              ; preds = %292
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  %294 = getelementptr inbounds i8, ptr %33, i64 24
  store i8 %.0131.lcssa, ptr %294, align 8, !tbaa !21
  %295 = getelementptr inbounds i8, ptr %33, i64 32
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %295, ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  invoke void @_ZN3AST7PatternC2ENS0_13TagNamedTupleE4SpanNS_4PathENS0_8TuplePatE(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %30, ptr noundef nonnull %32, ptr noundef nonnull %33)
          to label %296 unwind label %303

296:                                              ; preds = %293
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #7
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %32) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  br label %679

297:                                              ; preds = %._crit_edge
  %298 = landingpad { ptr, i32 }
          cleanup
  br label %307

299:                                              ; preds = %291
  %300 = landingpad { ptr, i32 }
          cleanup
  br label %306

301:                                              ; preds = %292
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %305

303:                                              ; preds = %293
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7Pattern8TuplePatD2Ev(ptr noundef nonnull align 8 dereferenceable(56) %33) #7
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %32) #7
  br label %305

305:                                              ; preds = %303, %301
  %.pn217 = phi { ptr, i32 } [ %304, %303 ], [ %302, %301 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  br label %306

306:                                              ; preds = %305, %299
  %.pn217.pn = phi { ptr, i32 } [ %.pn217, %305 ], [ %300, %299 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  br label %307

307:                                              ; preds = %306, %297, %.loopexit
  %.pn223.pn = phi { ptr, i32 } [ %.pn223, %.loopexit ], [ %.pn217.pn, %306 ], [ %298, %297 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @_ZNSt6vectorIN3AST7PatternESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  br label %308

308:                                              ; preds = %248, %250, %307, %221, %215, %208, %121
  %.pn233.pn.pn = phi { ptr, i32 } [ %.pn233.pn, %208 ], [ %.pn226257, %250 ], [ %249, %248 ], [ %216, %215 ], [ %.pn223.pn, %307 ], [ %.pn214, %221 ], [ %.pn202, %121 ]
  call void @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %7) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #7
  br label %680

309:                                              ; preds = %75
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %34) #7
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  %310 = getelementptr inbounds i8, ptr %47, i64 8
  %311 = getelementptr inbounds i8, ptr %64, i64 24
  %312 = getelementptr inbounds i8, ptr %64, i64 32
  br label %313

313:                                              ; preds = %616, %309
  %314 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %315 unwind label %.loopexit289

315:                                              ; preds = %313
  %316 = icmp eq i32 %314, 26
  br i1 %316, label %317, label %327

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

318:                                              ; preds = %317
  %319 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %35)
          to label %320 unwind label %324

320:                                              ; preds = %318
  %321 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %319)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %35) #7
  br label %.loopexit299

.loopexit289:                                     ; preds = %313, %327
  %lpad.loopexit291 = landingpad { ptr, i32 }
          cleanup
  br label %678

.loopexit.split-lp290:                            ; preds = %336, %339, %342, %344, %346, %348, %350, %352, %620, %623, %626, %628, %630, %632, %634, %636, %665
  %lpad.loopexit.split-lp292 = landingpad { ptr, i32 }
          cleanup
  br label %678

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

324:                                              ; preds = %318
  %325 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %35) #7
  br label %326

326:                                              ; preds = %324, %322
  %.pn193 = phi { ptr, i32 } [ %325, %324 ], [ %323, %322 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %35) #7
  br label %678

327:                                              ; preds = %315
  %328 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %329 unwind label %.loopexit289

329:                                              ; preds = %327
  %330 = icmp eq i32 %328, 47
  br i1 %330, label %331, label %378

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

332:                                              ; preds = %331
  %333 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %36)
          to label %334 unwind label %356

334:                                              ; preds = %332
  %335 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %333)
  %.not188 = icmp eq i32 %335, 47
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %36) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %36) #7
  br i1 %.not188, label %368, label %336

336:                                              ; preds = %334
  %337 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %338 unwind label %.loopexit.split-lp290

338:                                              ; preds = %336
  br i1 %337, label %339, label %359

339:                                              ; preds = %338
  %340 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %341 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %340, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %342 unwind label %.loopexit.split-lp290

342:                                              ; preds = %339
  %343 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %341, ptr noundef nonnull @.str.14)
          to label %344 unwind label %.loopexit.split-lp290

344:                                              ; preds = %342
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %343, ptr noundef nonnull @.str.1)
          to label %346 unwind label %.loopexit.split-lp290

346:                                              ; preds = %344
  %347 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %345, ptr noundef nonnull @.str.2)
          to label %348 unwind label %.loopexit.split-lp290

348:                                              ; preds = %346
  %349 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %347, i32 noundef 571)
          to label %350 unwind label %.loopexit.split-lp290

350:                                              ; preds = %348
  %351 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %349, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %352 unwind label %.loopexit.split-lp290

352:                                              ; preds = %350
  %353 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %351, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %359 unwind label %.loopexit.split-lp290

354:                                              ; preds = %331
  %355 = landingpad { ptr, i32 }
          cleanup
  br label %358

356:                                              ; preds = %332
  %357 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %36) #7
  br label %358

358:                                              ; preds = %356, %354
  %.pn186 = phi { ptr, i32 } [ %357, %356 ], [ %355, %354 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %36) #7
  br label %678

359:                                              ; preds = %352, %338
  %360 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %37, i32 noundef 47)
          to label %361 unwind label %.thread264

361:                                              ; preds = %359
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %360, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %37)
          to label %363 unwind label %.thread268

.thread268:                                       ; preds = %361
  %362 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %37) #7
  br label %367

363:                                              ; preds = %361
  invoke void @__cxa_throw(ptr nonnull %360, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %365

.thread264:                                       ; preds = %359
  %364 = landingpad { ptr, i32 }
          cleanup
  br label %367

365:                                              ; preds = %363
  %366 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %37) #7
  br label %678

367:                                              ; preds = %.thread268, %.thread264
  %.pn191267 = phi { ptr, i32 } [ %364, %.thread264 ], [ %362, %.thread268 ]
  call void @__cxa_free_exception(ptr %360) #7
  br label %678

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

369:                                              ; preds = %368
  %370 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %38)
          to label %371 unwind label %375

371:                                              ; preds = %369
  %372 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %370)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %38) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %38) #7
  br label %.loopexit299

373:                                              ; preds = %368
  %374 = landingpad { ptr, i32 }
          cleanup
  br label %377

375:                                              ; preds = %369
  %376 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %38) #7
  br label %377

377:                                              ; preds = %375, %373
  %.pn189 = phi { ptr, i32 } [ %376, %375 ], [ %374, %373 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %38) #7
  br label %678

378:                                              ; preds = %329
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %39) #7
  invoke void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::AttributeList") align 8 %39, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %379 unwind label %397

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

380:                                              ; preds = %379
  %381 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %40)
          to label %382 unwind label %401

382:                                              ; preds = %380
  %383 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %381)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %40) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %40) #7
  %384 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %385 unwind label %404

385:                                              ; preds = %382
  br i1 %384, label %386, label %406

386:                                              ; preds = %385
  %387 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %388 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %387, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %389 unwind label %404

389:                                              ; preds = %386
  %390 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %388, ptr noundef nonnull @.str.17)
          to label %391 unwind label %404

391:                                              ; preds = %389
  %392 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Token(ptr noundef nonnull align 8 dereferenceable(8) %390, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %393 unwind label %404

393:                                              ; preds = %391
  %394 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %392, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %395 unwind label %404

395:                                              ; preds = %393
  %396 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %394, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %406 unwind label %404

397:                                              ; preds = %378
  %398 = landingpad { ptr, i32 }
          cleanup
  br label %650

399:                                              ; preds = %379
  %400 = landingpad { ptr, i32 }
          cleanup
  br label %403

401:                                              ; preds = %380
  %402 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %40) #7
  br label %403

403:                                              ; preds = %401, %399
  %.pn = phi { ptr, i32 } [ %402, %401 ], [ %400, %399 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %40) #7
  br label %649

404:                                              ; preds = %395, %393, %391, %389, %386, %382
  %405 = landingpad { ptr, i32 }
          cleanup
  br label %649

406:                                              ; preds = %395, %385
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %41) #7
  invoke void @_ZNK11TokenStream10start_spanEv(ptr dead_on_unwind nonnull writable sret(%struct.ProtoSpan) align 8 %41, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %407 unwind label %415

407:                                              ; preds = %406
  %408 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %409 = icmp eq i32 %408, 107
  br i1 %409, label %410, label %424

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

411:                                              ; preds = %410
  %412 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %42)
          to label %413 unwind label %421

413:                                              ; preds = %411
  %414 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %412)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %42) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %42) #7
  br label %424

415:                                              ; preds = %406
  %416 = landingpad { ptr, i32 }
          cleanup
  br label %648

417:                                              ; preds = %480, %478, %476, %474, %472, %470, %467, %464
  %418 = landingpad { ptr, i32 }
          cleanup
  br label %647

419:                                              ; preds = %410
  %420 = landingpad { ptr, i32 }
          cleanup
  br label %423

421:                                              ; preds = %411
  %422 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %42) #7
  br label %423

423:                                              ; preds = %421, %419
  %.pn143 = phi { ptr, i32 } [ %422, %421 ], [ %420, %419 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %42) #7
  br label %647

424:                                              ; preds = %413, %407
  %.066 = phi i8 [ 1, %413 ], [ 0, %407 ]
  %425 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %426 = icmp eq i32 %425, 108
  br i1 %426, label %427, label %449

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

428:                                              ; preds = %427
  %429 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %43)
          to label %430 unwind label %441

430:                                              ; preds = %428
  %431 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %429)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %43) #7
  %432 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %433 = icmp eq i32 %432, 78
  br i1 %433, label %434, label %462

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

435:                                              ; preds = %434
  %436 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %44)
          to label %437 unwind label %446

437:                                              ; preds = %435
  %438 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %436)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %44) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %44) #7
  br label %462

439:                                              ; preds = %427
  %440 = landingpad { ptr, i32 }
          cleanup
  br label %443

441:                                              ; preds = %428
  %442 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %43) #7
  br label %443

443:                                              ; preds = %441, %439
  %.pn147 = phi { ptr, i32 } [ %442, %441 ], [ %440, %439 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %43) #7
  br label %647

444:                                              ; preds = %434
  %445 = landingpad { ptr, i32 }
          cleanup
  br label %448

446:                                              ; preds = %435
  %447 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %44) #7
  br label %448

448:                                              ; preds = %446, %444
  %.pn149 = phi { ptr, i32 } [ %447, %446 ], [ %445, %444 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %44) #7
  br label %647

449:                                              ; preds = %424
  %450 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %451 = icmp eq i32 %450, 78
  br i1 %451, label %452, label %462

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

453:                                              ; preds = %452
  %454 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %45)
          to label %455 unwind label %459

455:                                              ; preds = %453
  %456 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %454)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %45) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %45) #7
  br label %462

457:                                              ; preds = %452
  %458 = landingpad { ptr, i32 }
          cleanup
  br label %461

459:                                              ; preds = %453
  %460 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %45) #7
  br label %461

461:                                              ; preds = %459, %457
  %.pn145 = phi { ptr, i32 } [ %460, %459 ], [ %458, %457 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %45) #7
  br label %647

462:                                              ; preds = %430, %437, %455, %449
  %.168 = phi i8 [ 1, %437 ], [ 1, %455 ], [ %.066, %449 ], [ 1, %430 ]
  %.065 = phi i32 [ 2, %437 ], [ 0, %455 ], [ 0, %449 ], [ 1, %430 ]
  %.064 = phi i1 [ false, %437 ], [ true, %455 ], [ false, %449 ], [ false, %430 ]
  %463 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not = icmp eq i32 %463, 14
  br i1 %.not, label %491, label %464

464:                                              ; preds = %462
  %465 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %466 unwind label %417

466:                                              ; preds = %464
  br i1 %465, label %467, label %482

467:                                              ; preds = %466
  %468 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %469 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %468, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %470 unwind label %417

470:                                              ; preds = %467
  %471 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %469, ptr noundef nonnull @.str)
          to label %472 unwind label %417

472:                                              ; preds = %470
  %473 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %471, ptr noundef nonnull @.str.1)
          to label %474 unwind label %417

474:                                              ; preds = %472
  %475 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %473, ptr noundef nonnull @.str.2)
          to label %476 unwind label %417

476:                                              ; preds = %474
  %477 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %475, i32 noundef 610)
          to label %478 unwind label %417

478:                                              ; preds = %476
  %479 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %477, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %480 unwind label %417

480:                                              ; preds = %478
  %481 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %479, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %482 unwind label %417

482:                                              ; preds = %480, %466
  %483 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %46, i32 noundef 14)
          to label %484 unwind label %.thread270

484:                                              ; preds = %482
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %483, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %46)
          to label %486 unwind label %.thread274

.thread274:                                       ; preds = %484
  %485 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %46) #7
  br label %490

486:                                              ; preds = %484
  invoke void @__cxa_throw(ptr nonnull %483, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %488

.thread270:                                       ; preds = %482
  %487 = landingpad { ptr, i32 }
          cleanup
  br label %490

488:                                              ; preds = %486
  %489 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %46) #7
  br label %647

490:                                              ; preds = %.thread274, %.thread270
  %.pn180273 = phi { ptr, i32 } [ %487, %.thread270 ], [ %485, %.thread274 ]
  call void @__cxa_free_exception(ptr %483) #7
  br label %647

491:                                              ; preds = %462
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %47) #7
  %492 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNK5Token5identEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %493 unwind label %525

493:                                              ; preds = %491
  invoke void @_ZN5IdentC2ERKS_(ptr noundef nonnull align 8 dereferenceable(16) %47, ptr noundef nonnull align 8 dereferenceable(16) %492)
          to label %494 unwind label %525

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

495:                                              ; preds = %494
  %496 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %49)
          to label %497 unwind label %529

497:                                              ; preds = %495
  %498 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %496)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %49) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %49) #7
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %50) #7
  invoke void @_ZN3AST7PatternC2Ev(ptr noundef nonnull align 8 dereferenceable(544) %50)
          to label %499 unwind label %532

499:                                              ; preds = %497
  %500 = trunc nuw i8 %.168 to i1
  br i1 %500, label %503, label %501

501:                                              ; preds = %499
  %502 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not153 = icmp eq i32 %502, 33
  br i1 %.not153, label %572, label %503

503:                                              ; preds = %501, %499
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %51, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %504 unwind label %.loopexit294

504:                                              ; preds = %503
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %51)
          to label %505 unwind label %534

505:                                              ; preds = %504
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %51) #7
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %52) #7
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %54, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %506 unwind label %536

506:                                              ; preds = %505
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %53, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %54)
          to label %507 unwind label %538

507:                                              ; preds = %506
  invoke void @_ZN3AST7Pattern4DataC2Ev(ptr noundef nonnull align 8 dereferenceable(504) %55)
          to label %508 unwind label %540

508:                                              ; preds = %507
  invoke void @_ZN3AST7PatternC2E4SpanNS0_4DataE(ptr noundef nonnull align 8 dereferenceable(544) %52, ptr noundef nonnull %53, ptr noundef nonnull %55)
          to label %509 unwind label %542

509:                                              ; preds = %508
  %510 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %50, ptr noundef nonnull align 8 dereferenceable(544) %52)
          to label %511 unwind label %544

511:                                              ; preds = %509
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %52) #7
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %55) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %52) #7
  %512 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSERKS_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %310)
  %513 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %50)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %56) #7
  invoke void @_ZN5IdentC2EOS_(ptr noundef nonnull align 8 dereferenceable(16) %57, ptr noundef nonnull align 8 dereferenceable(16) %47)
          to label %514 unwind label %550

514:                                              ; preds = %511
  invoke void @_ZN3AST14PatternBindingC2E5IdentNS0_4TypeEb(ptr noundef nonnull align 8 dereferenceable(28) %56, ptr noundef nonnull %57, i32 noundef %.065, i1 noundef zeroext %.064)
          to label %515 unwind label %552

515:                                              ; preds = %514
  invoke void @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %513, ptr noundef nonnull align 8 dereferenceable(28) %56)
          to label %516 unwind label %554

516:                                              ; preds = %515
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %56) #7
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #7
  %517 = trunc nuw i8 %.066 to i1
  br i1 %517, label %518, label %611

518:                                              ; preds = %516
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %58) #7
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %60, ptr noundef nonnull align 8 dereferenceable(24) %41)
          to label %519 unwind label %558

519:                                              ; preds = %518
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %59, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %60)
          to label %520 unwind label %560

520:                                              ; preds = %519
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %61, ptr noundef nonnull align 8 dereferenceable(544) %50)
          to label %521 unwind label %562

521:                                              ; preds = %520
  invoke void @_ZN3AST7PatternC2ENS0_6TagBoxE4SpanS0_(ptr noundef nonnull align 8 dereferenceable(544) %58, ptr noundef nonnull %59, ptr noundef nonnull %61)
          to label %522 unwind label %564

522:                                              ; preds = %521
  %523 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %50, ptr noundef nonnull align 8 dereferenceable(544) %58)
          to label %524 unwind label %566

524:                                              ; preds = %522
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %58) #7
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %61) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #7
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %58) #7
  br label %611

525:                                              ; preds = %493, %491
  %526 = landingpad { ptr, i32 }
          cleanup
  br label %646

527:                                              ; preds = %494
  %528 = landingpad { ptr, i32 }
          cleanup
  br label %531

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

531:                                              ; preds = %529, %527
  %.pn151 = phi { ptr, i32 } [ %530, %529 ], [ %528, %527 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %49) #7
  br label %645

532:                                              ; preds = %497
  %533 = landingpad { ptr, i32 }
          cleanup
  br label %644

.loopexit294:                                     ; preds = %503
  %lpad.loopexit296 = landingpad { ptr, i32 }
          cleanup
  br label %643

.loopexit.split-lp295:                            ; preds = %574, %577, %580, %582, %584, %586, %588, %590
  %lpad.loopexit.split-lp297 = landingpad { ptr, i32 }
          cleanup
  br label %643

534:                                              ; preds = %504
  %535 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %51) #7
  br label %643

536:                                              ; preds = %505
  %537 = landingpad { ptr, i32 }
          cleanup
  br label %549

538:                                              ; preds = %506
  %539 = landingpad { ptr, i32 }
          cleanup
  br label %548

540:                                              ; preds = %507
  %541 = landingpad { ptr, i32 }
          cleanup
  br label %547

542:                                              ; preds = %508
  %543 = landingpad { ptr, i32 }
          cleanup
  br label %546

544:                                              ; preds = %509
  %545 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %52) #7
  br label %546

546:                                              ; preds = %544, %542
  %.pn159 = phi { ptr, i32 } [ %545, %544 ], [ %543, %542 ]
  call void @_ZN3AST7Pattern4DataD2Ev(ptr noundef nonnull align 8 dereferenceable(504) %55) #7
  br label %547

547:                                              ; preds = %546, %540
  %.pn159.pn = phi { ptr, i32 } [ %.pn159, %546 ], [ %541, %540 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %53) #7
  br label %548

548:                                              ; preds = %547, %538
  %.pn159.pn.pn = phi { ptr, i32 } [ %.pn159.pn, %547 ], [ %539, %538 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %54) #7
  br label %549

549:                                              ; preds = %548, %536
  %.pn159.pn.pn.pn = phi { ptr, i32 } [ %.pn159.pn.pn, %548 ], [ %537, %536 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %52) #7
  br label %643

550:                                              ; preds = %511
  %551 = landingpad { ptr, i32 }
          cleanup
  br label %557

552:                                              ; preds = %514
  %553 = landingpad { ptr, i32 }
          cleanup
  br label %556

554:                                              ; preds = %515
  %555 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST14PatternBindingD2Ev(ptr noundef nonnull align 8 dereferenceable(28) %56) #7
  br label %556

556:                                              ; preds = %554, %552
  %.pn164 = phi { ptr, i32 } [ %555, %554 ], [ %553, %552 ]
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %57) #7
  br label %557

557:                                              ; preds = %556, %550
  %.pn164.pn = phi { ptr, i32 } [ %.pn164, %556 ], [ %551, %550 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %56) #7
  br label %643

558:                                              ; preds = %518
  %559 = landingpad { ptr, i32 }
          cleanup
  br label %571

560:                                              ; preds = %519
  %561 = landingpad { ptr, i32 }
          cleanup
  br label %570

562:                                              ; preds = %520
  %563 = landingpad { ptr, i32 }
          cleanup
  br label %569

564:                                              ; preds = %521
  %565 = landingpad { ptr, i32 }
          cleanup
  br label %568

566:                                              ; preds = %522
  %567 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %58) #7
  br label %568

568:                                              ; preds = %566, %564
  %.pn167 = phi { ptr, i32 } [ %567, %566 ], [ %565, %564 ]
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %61) #7
  br label %569

569:                                              ; preds = %568, %562
  %.pn167.pn = phi { ptr, i32 } [ %.pn167, %568 ], [ %563, %562 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #7
  br label %570

570:                                              ; preds = %569, %560
  %.pn167.pn.pn = phi { ptr, i32 } [ %.pn167.pn, %569 ], [ %561, %560 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %60) #7
  br label %571

571:                                              ; preds = %570, %558
  %.pn167.pn.pn.pn = phi { ptr, i32 } [ %.pn167.pn.pn, %570 ], [ %559, %558 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %58) #7
  br label %643

572:                                              ; preds = %501
  %573 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not154 = icmp eq i32 %573, 33
  br i1 %.not154, label %601, label %574

574:                                              ; preds = %572
  %575 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %576 unwind label %.loopexit.split-lp295

576:                                              ; preds = %574
  br i1 %575, label %577, label %592

577:                                              ; preds = %576
  %578 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %579 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %578, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %580 unwind label %.loopexit.split-lp295

580:                                              ; preds = %577
  %581 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %579, ptr noundef nonnull @.str)
          to label %582 unwind label %.loopexit.split-lp295

582:                                              ; preds = %580
  %583 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %581, ptr noundef nonnull @.str.1)
          to label %584 unwind label %.loopexit.split-lp295

584:                                              ; preds = %582
  %585 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %583, ptr noundef nonnull @.str.2)
          to label %586 unwind label %.loopexit.split-lp295

586:                                              ; preds = %584
  %587 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %585, i32 noundef 627)
          to label %588 unwind label %.loopexit.split-lp295

588:                                              ; preds = %586
  %589 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %587, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %590 unwind label %.loopexit.split-lp295

590:                                              ; preds = %588
  %591 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %589, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %592 unwind label %.loopexit.split-lp295

592:                                              ; preds = %590, %576
  %593 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %62, i32 noundef 33)
          to label %594 unwind label %.thread276

594:                                              ; preds = %592
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %593, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %62)
          to label %596 unwind label %.thread280

.thread280:                                       ; preds = %594
  %595 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %62) #7
  br label %600

596:                                              ; preds = %594
  invoke void @__cxa_throw(ptr nonnull %593, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %598

.thread276:                                       ; preds = %592
  %597 = landingpad { ptr, i32 }
          cleanup
  br label %600

598:                                              ; preds = %596
  %599 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %62) #7
  br label %643

600:                                              ; preds = %.thread280, %.thread276
  %.pn157279 = phi { ptr, i32 } [ %597, %.thread276 ], [ %595, %.thread280 ]
  call void @__cxa_free_exception(ptr %593) #7
  br label %643

601:                                              ; preds = %572
  %602 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSEOS_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %310)
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %63) #7
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %63, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 1)
          to label %603 unwind label %606

603:                                              ; preds = %601
  %604 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %50, ptr noundef nonnull align 8 dereferenceable(544) %63)
          to label %605 unwind label %608

605:                                              ; preds = %603
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %63) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %63) #7
  br label %611

606:                                              ; preds = %601
  %607 = landingpad { ptr, i32 }
          cleanup
  br label %610

608:                                              ; preds = %603
  %609 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %63) #7
  br label %610

610:                                              ; preds = %608, %606
  %.pn155 = phi { ptr, i32 } [ %609, %608 ], [ %607, %606 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %63) #7
  br label %643

611:                                              ; preds = %516, %524, %605
  call void @llvm.lifetime.start.p0(i64 576, ptr nonnull %64) #7
  call void @_ZN3AST13AttributeListC2EOS0_(ptr noundef nonnull align 8 dereferenceable(24) %64, ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @_ZN8RcStringC2EOS_(ptr noundef nonnull align 8 dereferenceable(8) %311, ptr noundef nonnull align 8 dereferenceable(8) %48)
  invoke void @_ZN3AST7PatternC2EOS0_(ptr noundef nonnull align 8 dereferenceable(544) %312, ptr noundef nonnull align 8 dereferenceable(544) %50)
          to label %612 unwind label %638

612:                                              ; preds = %611
  invoke void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(576) %64)
          to label %613 unwind label %640

613:                                              ; preds = %612
  call void @_ZN3AST18StructPatternEntryD2Ev(ptr noundef nonnull align 8 dereferenceable(576) %64) #7
  call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %64) #7
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %50) #7
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %50) #7
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #7
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #7
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %65) #7
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %65, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %614 unwind label %651

614:                                              ; preds = %613
  %615 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %65)
          to label %616 unwind label %653

616:                                              ; preds = %614
  %617 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %615)
  %618 = icmp eq i32 %617, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %65) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %65) #7
  br i1 %618, label %313, label %.loopexit299, !llvm.loop !28

.loopexit299:                                     ; preds = %616, %320, %371
  %.071 = phi i1 [ true, %320 ], [ false, %371 ], [ true, %616 ]
  %619 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
  %.not195 = icmp eq i32 %619, 26
  br i1 %.not195, label %665, label %620

620:                                              ; preds = %.loopexit299
  %621 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %622 unwind label %.loopexit.split-lp290

622:                                              ; preds = %620
  br i1 %621, label %623, label %656

623:                                              ; preds = %622
  %624 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !5
  %625 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %624, ptr noundef nonnull @__func__._Z19Parse_PatternStructR11TokenStream9ProtoSpanN3AST4PathE)
          to label %626 unwind label %.loopexit.split-lp290

626:                                              ; preds = %623
  %627 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %625, ptr noundef nonnull @.str)
          to label %628 unwind label %.loopexit.split-lp290

628:                                              ; preds = %626
  %629 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %627, ptr noundef nonnull @.str.1)
          to label %630 unwind label %.loopexit.split-lp290

630:                                              ; preds = %628
  %631 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %629, ptr noundef nonnull @.str.2)
          to label %632 unwind label %.loopexit.split-lp290

632:                                              ; preds = %630
  %633 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %631, i32 noundef 634)
          to label %634 unwind label %.loopexit.split-lp290

634:                                              ; preds = %632
  %635 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %633, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %636 unwind label %.loopexit.split-lp290

636:                                              ; preds = %634
  %637 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %635, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %656 unwind label %.loopexit.split-lp290

638:                                              ; preds = %611
  %639 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %311) #7
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %64) #7
  br label %642

640:                                              ; preds = %612
  %641 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST18StructPatternEntryD2Ev(ptr noundef nonnull align 8 dereferenceable(576) %64) #7
  br label %642

642:                                              ; preds = %640, %638
  %.pn172 = phi { ptr, i32 } [ %641, %640 ], [ %639, %638 ]
  call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %64) #7
  br label %643

643:                                              ; preds = %.loopexit294, %.loopexit.split-lp295, %598, %600, %642, %610, %571, %557, %549, %534
  %.pn172.pn = phi { ptr, i32 } [ %.pn172, %642 ], [ %.pn167.pn.pn.pn, %571 ], [ %.pn164.pn, %557 ], [ %.pn159.pn.pn.pn, %549 ], [ %535, %534 ], [ %.pn157279, %600 ], [ %599, %598 ], [ %.pn155, %610 ], [ %lpad.loopexit296, %.loopexit294 ], [ %lpad.loopexit.split-lp297, %.loopexit.split-lp295 ]
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %50) #7
  br label %644

644:                                              ; preds = %643, %532
  %.pn172.pn.pn = phi { ptr, i32 } [ %.pn172.pn, %643 ], [ %533, %532 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %50) #7
  br label %645

645:                                              ; preds = %644, %531
  %.pn172.pn.pn.pn = phi { ptr, i32 } [ %.pn172.pn.pn, %644 ], [ %.pn151, %531 ]
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %48) #7
  call void @_ZN5IdentD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %47) #7
  br label %646

646:                                              ; preds = %645, %525
  %.pn172.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn172.pn.pn.pn, %645 ], [ %526, %525 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %47) #7
  br label %647

647:                                              ; preds = %488, %490, %646, %461, %448, %443, %423, %417
  %.pn180.pn = phi { ptr, i32 } [ %.pn180273, %490 ], [ %489, %488 ], [ %418, %417 ], [ %.pn172.pn.pn.pn.pn, %646 ], [ %.pn149, %448 ], [ %.pn147, %443 ], [ %.pn145, %461 ], [ %.pn143, %423 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %41) #7
  br label %648

648:                                              ; preds = %647, %415
  %.pn180.pn.pn = phi { ptr, i32 } [ %.pn180.pn, %647 ], [ %416, %415 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %41) #7
  br label %649

649:                                              ; preds = %648, %404, %403
  %.pn180.pn.pn.pn = phi { ptr, i32 } [ %.pn180.pn.pn, %648 ], [ %405, %404 ], [ %.pn, %403 ]
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #7
  br label %650

650:                                              ; preds = %649, %397
  %.pn180.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn180.pn.pn.pn, %649 ], [ %398, %397 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %39) #7
  br label %678

651:                                              ; preds = %613
  %652 = landingpad { ptr, i32 }
          cleanup
  br label %655

653:                                              ; preds = %614
  %654 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %65) #7
  br label %655

655:                                              ; preds = %653, %651
  %.pn178 = phi { ptr, i32 } [ %654, %653 ], [ %652, %651 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %65) #7
  br label %678

656:                                              ; preds = %636, %622
  %657 = call ptr @__cxa_allocate_exception(i64 96) #7
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %66, i32 noundef 26)
          to label %658 unwind label %.thread282

658:                                              ; preds = %656
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %657, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull %66)
          to label %660 unwind label %.thread286

.thread286:                                       ; preds = %658
  %659 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %66) #7
  br label %664

660:                                              ; preds = %658
  invoke void @__cxa_throw(ptr nonnull %657, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #8
          to label %682 unwind label %662

.thread282:                                       ; preds = %656
  %661 = landingpad { ptr, i32 }
          cleanup
  br label %664

662:                                              ; preds = %660
  %663 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %66) #7
  br label %678

664:                                              ; preds = %.thread286, %.thread282
  %.pn199285 = phi { ptr, i32 } [ %661, %.thread282 ], [ %659, %.thread286 ]
  call void @__cxa_free_exception(ptr %657) #7
  br label %678

665:                                              ; preds = %.loopexit299
  invoke void @_ZN9ProtoSpanC2ERKS_(ptr noundef nonnull align 8 dereferenceable(24) %68, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %666 unwind label %.loopexit.split-lp290

666:                                              ; preds = %665
  invoke void @_ZNK11TokenStream8end_spanE9ProtoSpan(ptr dead_on_unwind nonnull writable sret(%struct.Span) align 8 %67, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %68)
          to label %667 unwind label %670

667:                                              ; preds = %666
  invoke void @_ZN3AST4PathC2EOS0_(ptr noundef nonnull align 8 dereferenceable(240) %69, ptr noundef nonnull align 8 dereferenceable(240) %3)
          to label %668 unwind label %672

668:                                              ; preds = %667
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  invoke void @_ZN3AST7PatternC2ENS0_9TagStructE4SpanNS_4PathESt6vectorINS_18StructPatternEntryESaIS5_EEb(ptr noundef nonnull align 8 dereferenceable(544) %0, ptr noundef nonnull %67, ptr noundef nonnull %69, ptr noundef nonnull %70, i1 noundef zeroext %.071)
          to label %669 unwind label %674

669:                                              ; preds = %668
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %69) #7
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #7
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  br label %679

670:                                              ; preds = %666
  %671 = landingpad { ptr, i32 }
          cleanup
  br label %677

672:                                              ; preds = %667
  %673 = landingpad { ptr, i32 }
          cleanup
  br label %676

674:                                              ; preds = %668
  %675 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #7
  call void @_ZN3AST4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(240) %69) #7
  br label %676

676:                                              ; preds = %674, %672
  %.pn196 = phi { ptr, i32 } [ %675, %674 ], [ %673, %672 ]
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #7
  br label %677

677:                                              ; preds = %676, %670
  %.pn196.pn = phi { ptr, i32 } [ %.pn196, %676 ], [ %671, %670 ]
  call void @_ZN9ProtoSpanD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %68) #7
  br label %678

678:                                              ; preds = %.loopexit289, %.loopexit.split-lp290, %662, %365, %664, %367, %677, %655, %650, %377, %358, %326
  %.pn199.pn = phi { ptr, i32 } [ %.pn199285, %664 ], [ %663, %662 ], [ %.pn196.pn, %677 ], [ %.pn193, %326 ], [ %.pn191267, %367 ], [ %366, %365 ], [ %.pn189, %377 ], [ %.pn186, %358 ], [ %.pn180.pn.pn.pn.pn, %650 ], [ %.pn178, %655 ], [ %lpad.loopexit291, %.loopexit289 ], [ %lpad.loopexit.split-lp292, %.loopexit.split-lp290 ]
  call void @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %34) #7
  br label %680

679:                                              ; preds = %669, %296
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  ret void

680:                                              ; preds = %678, %308, %115
  %.pn233.pn.pn.pn = phi { ptr, i32 } [ %.pn233.pn.pn, %308 ], [ %.pn199.pn, %678 ], [ %116, %115 ]
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #7
  br label %681

681:                                              ; preds = %680, %113
  %.pn233.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn233.pn.pn.pn, %680 ], [ %114, %113 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6) #7
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #7
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #7
  resume { ptr, i32 } %.pn233.pn.pn.pn.pn

682:                                              ; preds = %660, %596, %486, %363, %273, %246, %200, %148, %133
  unreachable
}

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local { ptr, i8 } @_ZNSt3mapIjN3AST7PatternESt4lessIjESaISt4pairIKjS1_EEE6insertIS4_IjS1_EEENSt9enable_ifIXsr16is_constructibleIS6_T_EE5valueES4_ISt17_Rb_tree_iteratorIS6_EbEE4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(552)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZSt9make_pairIRjN3AST7PatternEESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS4_INS5_IT0_E4typeEE6__typeEEOS6_OSB_(ptr dead_on_unwind noalias writable sret(%"struct.std::pair.93") align 8, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 8 dereferenceable(544)) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

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

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

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZlsRSoRK5Token(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

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

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

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { 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, !6, i64 0}
!10 = !{!"_ZTSSt4pairIKjN3AST7PatternEE", !6, i64 0, !11, i64 8}
!11 = !{!"_ZTSN3AST7PatternE", !12, i64 8, !14, i64 16, !18, i64 40}
!12 = !{!"_ZTS4Span", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"_ZTSSt6vectorIN3AST14PatternBindingESaIS1_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN3AST14PatternBindingESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!18 = !{!"_ZTSN3AST7Pattern4DataE", !19, i64 0, !7, i64 8}
!19 = !{!"_ZTSN3AST7Pattern4Data3TagE", !7, i64 0}
!20 = !{!13, !13, i64 0}
!21 = !{!22, !27, i64 24}
!22 = !{!"_ZTSN3AST7Pattern8TuplePatE", !23, i64 0, !27, i64 24, !23, i64 32}
!23 = !{!"_ZTSSt6vectorIN3AST7PatternESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN3AST7PatternESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN3AST7PatternESaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!27 = !{!"bool", !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}


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