; LLVM IR from thepowersgang/mrustc :: src/parse/expr.ll (Z16Parse_Expr_MatchR11TokenStream)

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

%struct.ParseState = type { i8, i8, i8, ptr, ptr, ptr }
%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 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"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.AST::AttributeList" = type { %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::ExprNodeP" = 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.SavedParseState = type { ptr, %struct.ParseState }
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::ExprNode_Match_Arm" = type { %"class.AST::AttributeList", %"class.std::vector.110", %"class.std::vector.125", %"class.AST::ExprNodeP" }
%"class.std::vector.110" = type { %"struct.std::_Vector_base.111" }
%"struct.std::_Vector_base.111" = 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.std::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.66", %"class.AST::Pattern::Data" }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = 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.92", %"class.std::unique_ptr.100", %"class.std::vector.87" }
%"class.std::unique_ptr.92" = type { %"struct.std::__uniq_ptr_data.93" }
%"struct.std::__uniq_ptr_data.93" = type { %"class.std::__uniq_ptr_impl.94" }
%"class.std::__uniq_ptr_impl.94" = type { %"class.std::tuple.95" }
%"class.std::tuple.95" = type { %"struct.std::_Tuple_impl.96" }
%"struct.std::_Tuple_impl.96" = type { %"struct.std::_Head_base.99" }
%"struct.std::_Head_base.99" = type { ptr }
%"class.std::unique_ptr.100" = type { %"struct.std::__uniq_ptr_data.101" }
%"struct.std::__uniq_ptr_data.101" = type { %"class.std::__uniq_ptr_impl.102" }
%"class.std::__uniq_ptr_impl.102" = type { %"class.std::tuple.103" }
%"class.std::tuple.103" = type { %"struct.std::_Tuple_impl.104" }
%"struct.std::_Tuple_impl.104" = type { %"struct.std::_Head_base.107" }
%"struct.std::_Head_base.107" = type { ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = 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.108", %"struct.AST::PathBinding.109" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.26" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = 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.108" = 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.109" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }

@g_debug_indent_level = external global i32, align 4
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@__func__._Z16Parse_Expr_MatchR11TokenStream = external hidden unnamed_addr constant [17 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

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

declare noundef zeroext i1 @_Z13debug_enabledv() #2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176)) #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) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef byval(%struct.ParseState) align 8) unnamed_addr #3 align 2

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

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

declare void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8, ptr noundef nonnull align 8 dereferenceable(176)) #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)) #5 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: nounwind
declare void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0

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

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

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) #5 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)) #6

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

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

declare void @__cxa_throw(ptr, ptr, ptr)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #7

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #8

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

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

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

declare void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8, ptr noundef nonnull align 8 dereferenceable(176)) #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 #5 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) #6

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16Parse_Expr_MatchR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) #5 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %class.TraceLog, align 8
  %6 = alloca %class.Token, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %class.SavedParseState, align 8
  %10 = alloca %struct.ParseState, align 8
  %11 = alloca %"class.AST::ExprNodeP", align 8
  %12 = alloca %class.SavedParseState, align 8
  %13 = alloca %struct.ParseState, align 8
  %14 = alloca %"class.AST::ExprNodeP", align 8
  %15 = alloca %class.Token, align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca i1, align 1
  %18 = alloca %"class.std::vector.131", align 8
  %19 = alloca %class.Token, align 8
  %20 = alloca %class.Token, align 8
  %21 = alloca %"struct.AST::ExprNode_Match_Arm", align 8
  %22 = alloca %"class.AST::AttributeList", align 8
  %23 = alloca %class.Token, align 8
  %24 = alloca %"class.AST::Pattern", align 8
  %25 = alloca %class.Token, align 8
  %26 = alloca %"class.std::vector.125", align 8
  %27 = alloca %class.Token, align 8
  %28 = alloca %class.Token, align 8
  %29 = alloca i1, align 1
  %30 = alloca %"class.AST::ExprNodeP", align 8
  %31 = alloca %class.Token, align 8
  %32 = alloca i32, align 4
  %33 = alloca %class.Token, align 8
  %34 = alloca %class.Token, align 8
  %35 = alloca i1, align 1
  %36 = alloca %"class.AST::ExprNodeP", align 8
  %37 = alloca %"class.std::vector.131", align 8
  %38 = alloca i1, align 1
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #10
  %39 = call noundef zeroext i1 @_Z13debug_enabledv()
  %40 = zext i1 %39 to i64
  %41 = select i1 %39, ptr @__func__._Z16Parse_Expr_MatchR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef %41)
  call void @llvm.lifetime.start.p0(i64 88, ptr %6) #10
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %42 unwind label %98

42:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #10
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %44)
          to label %46 unwind label %102

46:                                               ; preds = %42
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %10, ptr align 8 %45, i64 32, i1 false), !tbaa.struct !9
  invoke void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull align 8 dereferenceable(176) %43, ptr noundef byval(%struct.ParseState) align 8 %10)
          to label %47 unwind label %102

47:                                               ; preds = %46
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %48)
          to label %50 unwind label %106

50:                                               ; preds = %47
  %51 = getelementptr inbounds %struct.ParseState, ptr %49, i32 0, i32 0
  store i8 0, ptr %51, align 8, !tbaa !12
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %52)
          to label %54 unwind label %106

54:                                               ; preds = %50
  %55 = getelementptr inbounds %struct.ParseState, ptr %53, i32 0, i32 1
  store i8 0, ptr %55, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #10
  invoke void @_ZN3AST9ExprNodePC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %56 unwind label %110

56:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #10
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %58)
          to label %60 unwind label %114

60:                                               ; preds = %56
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %59, i64 32, i1 false), !tbaa.struct !9
  invoke void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40) %12, ptr noundef nonnull align 8 dereferenceable(176) %57, ptr noundef byval(%struct.ParseState) align 8 %13)
          to label %61 unwind label %114

61:                                               ; preds = %60
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %62)
          to label %64 unwind label %118

64:                                               ; preds = %61
  %65 = getelementptr inbounds %struct.ParseState, ptr %63, i32 0, i32 0
  store i8 1, ptr %65, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z11Parse_Expr1R11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %14, ptr noundef nonnull align 8 dereferenceable(176) %66)
          to label %67 unwind label %122

67:                                               ; preds = %64
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST9ExprNodePaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %69 unwind label %126

69:                                               ; preds = %67
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #10
  br label %70

70:                                               ; preds = %69
  call void @llvm.lifetime.start.p0(i64 88, ptr %15) #10
  %71 = load ptr, ptr %4, 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) %71)
          to label %72 unwind label %133

72:                                               ; preds = %70
  %73 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %15)
          to label %74 unwind label %137

74:                                               ; preds = %72
  %75 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %73)
          to label %76 unwind label %137

76:                                               ; preds = %74
  %77 = icmp ne i32 %75, 25
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #10
  br i1 %77, label %78, label %165

78:                                               ; preds = %76
  br label %79

79:                                               ; preds = %78
  %80 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %81 unwind label %142

81:                                               ; preds = %79
  br i1 %80, label %82, label %146

82:                                               ; preds = %81
  %83 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !15
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %83, ptr noundef @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %85 unwind label %142

85:                                               ; preds = %82
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef @.str)
          to label %87 unwind label %142

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef @.str.1)
          to label %89 unwind label %142

89:                                               ; preds = %87
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef @.str.2)
          to label %91 unwind label %142

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %90, i32 noundef 583)
          to label %93 unwind label %142

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

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

97:                                               ; preds = %95
  br label %146

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

102:                                              ; preds = %46, %42
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %7, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %8, align 4
  br label %457

106:                                              ; preds = %50, %47
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %7, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %8, align 4
  br label %456

110:                                              ; preds = %54
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %7, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %8, align 4
  br label %455

114:                                              ; preds = %60, %56
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %7, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %8, align 4
  br label %132

118:                                              ; preds = %61
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  br label %131

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

126:                                              ; preds = %67
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  br label %130

130:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  br label %131

131:                                              ; preds = %130, %118
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #10
  br label %132

132:                                              ; preds = %131, %114
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #10
  br label %454

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

137:                                              ; preds = %74, %72
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %7, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %15) #10
  br label %141

141:                                              ; preds = %137, %133
  call void @llvm.lifetime.end.p0(i64 88, ptr %15) #10
  br label %454

142:                                              ; preds = %95, %93, %91, %89, %87, %85, %82, %79
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %7, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %8, align 4
  br label %454

146:                                              ; preds = %97, %81
  br label %147

147:                                              ; preds = %146
  br label %148

148:                                              ; preds = %147
  store i1 true, ptr %17, align 1
  %149 = call ptr @__cxa_allocate_exception(i64 96) #10
  %150 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %16, i32 noundef 25)
          to label %151 unwind label %153

151:                                              ; preds = %148
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %149, ptr noundef nonnull align 8 dereferenceable(176) %150, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %16)
          to label %152 unwind label %157

152:                                              ; preds = %151
  store i1 false, ptr %17, align 1
  invoke void @__cxa_throw(ptr %149, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #11
          to label %464 unwind label %157

153:                                              ; preds = %148
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %7, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %8, align 4
  br label %161

157:                                              ; preds = %152, %151
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %7, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #10
  br label %161

161:                                              ; preds = %157, %153
  %162 = load i1, ptr %17, align 1
  br i1 %162, label %163, label %164

163:                                              ; preds = %161
  call void @__cxa_free_exception(ptr %149) #10
  br label %164

164:                                              ; preds = %163, %161
  br label %454

165:                                              ; preds = %76
  br label %166

166:                                              ; preds = %165
  br label %167

167:                                              ; preds = %166
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #10
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  br label %168

168:                                              ; preds = %381, %167
  call void @llvm.lifetime.start.p0(i64 88, ptr %19) #10
  %169 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %19, ptr noundef nonnull align 8 dereferenceable(176) %169)
          to label %170 unwind label %177

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

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

174:                                              ; preds = %172
  %175 = icmp eq i32 %173, 26
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %19) #10
  br i1 %175, label %176, label %186

176:                                              ; preds = %174
  br label %382

177:                                              ; preds = %168
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %7, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %8, align 4
  br label %185

181:                                              ; preds = %172, %170
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %7, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %19) #10
  br label %185

185:                                              ; preds = %181, %177
  call void @llvm.lifetime.end.p0(i64 88, ptr %19) #10
  br label %453

186:                                              ; preds = %174
  %187 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %20, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %188 unwind label %206

188:                                              ; preds = %186
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %187, ptr noundef %20)
          to label %189 unwind label %210

189:                                              ; preds = %188
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #10
  call void @llvm.lifetime.start.p0(i64 80, ptr %21) #10
  invoke void @_ZN3AST18ExprNode_Match_ArmC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21)
          to label %190 unwind label %214

190:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #10
  %191 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::AttributeList") align 8 %22, ptr noundef nonnull align 8 dereferenceable(176) %191)
          to label %192 unwind label %218

192:                                              ; preds = %190
  %193 = getelementptr inbounds %"struct.AST::ExprNode_Match_Arm", ptr %21, i32 0, i32 0
  %194 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST13AttributeListaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %193, ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  %195 = load ptr, ptr %4, align 8, !tbaa !5
  %196 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %195, i32 noundef 0)
          to label %197 unwind label %222

197:                                              ; preds = %192
  %198 = icmp eq i32 %196, 37
  br i1 %198, label %199, label %235

199:                                              ; preds = %197
  call void @llvm.lifetime.start.p0(i64 88, ptr %23) #10
  %200 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %23, ptr noundef nonnull align 8 dereferenceable(176) %200)
          to label %201 unwind label %226

201:                                              ; preds = %199
  %202 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %203 unwind label %230

203:                                              ; preds = %201
  %204 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %202)
          to label %205 unwind label %230

205:                                              ; preds = %203
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #10
  br label %235

206:                                              ; preds = %434, %404, %402, %400, %398, %396, %394, %391, %388, %383, %186
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %7, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %8, align 4
  br label %453

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

214:                                              ; preds = %189
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %7, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %8, align 4
  br label %412

218:                                              ; preds = %190
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %7, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #10
  br label %411

222:                                              ; preds = %374, %346, %317, %315, %313, %311, %309, %307, %304, %301, %296, %249, %192
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %7, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %8, align 4
  br label %411

226:                                              ; preds = %199
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %7, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %8, align 4
  br label %234

230:                                              ; preds = %203, %201
  %231 = landingpad { ptr, i32 }
          cleanup
  %232 = extractvalue { ptr, i32 } %231, 0
  store ptr %232, ptr %7, align 8
  %233 = extractvalue { ptr, i32 } %231, 1
  store i32 %233, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #10
  br label %234

234:                                              ; preds = %230, %226
  call void @llvm.lifetime.end.p0(i64 88, ptr %23) #10
  br label %411

235:                                              ; preds = %205, %197
  br label %236

236:                                              ; preds = %247, %235
  %237 = getelementptr inbounds %"struct.AST::ExprNode_Match_Arm", ptr %21, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 544, ptr %24) #10
  %238 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %24, ptr noundef nonnull align 8 dereferenceable(176) %238, i32 noundef 0)
          to label %239 unwind label %264

239:                                              ; preds = %236
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %237, ptr noundef nonnull align 8 dereferenceable(544) %24)
          to label %240 unwind label %268

240:                                              ; preds = %239
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %24) #10
  call void @llvm.lifetime.end.p0(i64 544, ptr %24) #10
  br label %241

241:                                              ; preds = %240
  call void @llvm.lifetime.start.p0(i64 88, ptr %25) #10
  %242 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %25, ptr noundef nonnull align 8 dereferenceable(176) %242)
          to label %243 unwind label %273

243:                                              ; preds = %241
  %244 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %25)
          to label %245 unwind label %277

245:                                              ; preds = %243
  %246 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %244)
          to label %247 unwind label %277

247:                                              ; preds = %245
  %248 = icmp eq i32 %246, 37
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #10
  br i1 %248, label %236, label %249, !llvm.loop !17

249:                                              ; preds = %247
  %250 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %251 unwind label %222

251:                                              ; preds = %249
  %252 = icmp eq i32 %250, 96
  br i1 %252, label %253, label %295

253:                                              ; preds = %251
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #10
  %254 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z16Parse_IfLetChainR11TokenStream(ptr dead_on_unwind writable sret(%"class.std::vector.125") align 8 %26, ptr noundef nonnull align 8 dereferenceable(176) %254)
          to label %255 unwind label %282

255:                                              ; preds = %253
  %256 = getelementptr inbounds %"struct.AST::ExprNode_Match_Arm", ptr %21, i32 0, i32 2
  %257 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3AST15IfLet_ConditionESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %256, ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @_ZNSt6vectorIN3AST15IfLet_ConditionESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 88, ptr %27) #10
  %258 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %27, ptr noundef nonnull align 8 dereferenceable(176) %258)
          to label %259 unwind label %286

259:                                              ; preds = %255
  %260 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %27)
          to label %261 unwind label %290

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

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

264:                                              ; preds = %236
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %7, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %8, align 4
  br label %272

268:                                              ; preds = %239
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %7, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %8, align 4
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %24) #10
  br label %272

272:                                              ; preds = %268, %264
  call void @llvm.lifetime.end.p0(i64 544, ptr %24) #10
  br label %411

273:                                              ; preds = %241
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %7, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %8, align 4
  br label %281

277:                                              ; preds = %245, %243
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %7, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #10
  br label %281

281:                                              ; preds = %277, %273
  call void @llvm.lifetime.end.p0(i64 88, ptr %25) #10
  br label %411

282:                                              ; preds = %253
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %7, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #10
  br label %411

286:                                              ; preds = %255
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %7, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %8, align 4
  br label %294

290:                                              ; preds = %261, %259
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %7, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %27) #10
  br label %294

294:                                              ; preds = %290, %286
  call void @llvm.lifetime.end.p0(i64 88, ptr %27) #10
  br label %411

295:                                              ; preds = %263, %251
  br label %296

296:                                              ; preds = %295
  %297 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %298 unwind label %222

298:                                              ; preds = %296
  %299 = icmp ne i32 %297, 38
  br i1 %299, label %300, label %339

300:                                              ; preds = %298
  br label %301

301:                                              ; preds = %300
  %302 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %303 unwind label %222

303:                                              ; preds = %301
  br i1 %302, label %304, label %320

304:                                              ; preds = %303
  %305 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !15
  %306 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %305, ptr noundef @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %307 unwind label %222

307:                                              ; preds = %304
  %308 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %306, ptr noundef @.str.10)
          to label %309 unwind label %222

309:                                              ; preds = %307
  %310 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %308, ptr noundef @.str.1)
          to label %311 unwind label %222

311:                                              ; preds = %309
  %312 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %310, ptr noundef @.str.2)
          to label %313 unwind label %222

313:                                              ; preds = %311
  %314 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %312, i32 noundef 607)
          to label %315 unwind label %222

315:                                              ; preds = %313
  %316 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %314, ptr noundef @_ZSt3decRSt8ios_base)
          to label %317 unwind label %222

317:                                              ; preds = %315
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %316, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %319 unwind label %222

319:                                              ; preds = %317
  br label %320

320:                                              ; preds = %319, %303
  br label %321

321:                                              ; preds = %320
  br label %322

322:                                              ; preds = %321
  store i1 true, ptr %29, align 1
  %323 = call ptr @__cxa_allocate_exception(i64 96) #10
  %324 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %28, i32 noundef 38)
          to label %325 unwind label %327

325:                                              ; preds = %322
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %323, ptr noundef nonnull align 8 dereferenceable(176) %324, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %28)
          to label %326 unwind label %331

326:                                              ; preds = %325
  store i1 false, ptr %29, align 1
  invoke void @__cxa_throw(ptr %323, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #11
          to label %464 unwind label %331

327:                                              ; preds = %322
  %328 = landingpad { ptr, i32 }
          cleanup
  %329 = extractvalue { ptr, i32 } %328, 0
  store ptr %329, ptr %7, align 8
  %330 = extractvalue { ptr, i32 } %328, 1
  store i32 %330, ptr %8, align 4
  br label %335

331:                                              ; preds = %326, %325
  %332 = landingpad { ptr, i32 }
          cleanup
  %333 = extractvalue { ptr, i32 } %332, 0
  store ptr %333, ptr %7, align 8
  %334 = extractvalue { ptr, i32 } %332, 1
  store i32 %334, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %28) #10
  br label %335

335:                                              ; preds = %331, %327
  %336 = load i1, ptr %29, align 1
  br i1 %336, label %337, label %338

337:                                              ; preds = %335
  call void @__cxa_free_exception(ptr %323) #10
  br label %338

338:                                              ; preds = %337, %335
  br label %411

339:                                              ; preds = %298
  br label %340

340:                                              ; preds = %339
  br label %341

341:                                              ; preds = %340
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %342 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_Z10Parse_StmtR11TokenStream(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %30, ptr noundef nonnull align 8 dereferenceable(176) %342)
          to label %343 unwind label %356

343:                                              ; preds = %341
  %344 = getelementptr inbounds %"struct.AST::ExprNode_Match_Arm", ptr %21, i32 0, i32 3
  %345 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST9ExprNodePaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %344, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %346 unwind label %360

346:                                              ; preds = %343
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  invoke void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr noundef nonnull align 8 dereferenceable(80) %21)
          to label %347 unwind label %222

347:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 88, ptr %31) #10
  %348 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind writable sret(%class.Token) align 8 %31, ptr noundef nonnull align 8 dereferenceable(176) %348)
          to label %349 unwind label %365

349:                                              ; preds = %347
  %350 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef nonnull align 8 dereferenceable(88) %31)
          to label %351 unwind label %369

351:                                              ; preds = %349
  %352 = invoke noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %350)
          to label %353 unwind label %369

353:                                              ; preds = %351
  %354 = icmp eq i32 %352, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %31) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %31) #10
  br i1 %354, label %355, label %374

355:                                              ; preds = %353
  store i32 7, ptr %32, align 4
  br label %378

356:                                              ; preds = %341
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %7, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %8, align 4
  br label %364

360:                                              ; preds = %343
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %7, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %8, align 4
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #10
  br label %364

364:                                              ; preds = %360, %356
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  br label %411

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

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

373:                                              ; preds = %369, %365
  call void @llvm.lifetime.end.p0(i64 88, ptr %31) #10
  br label %411

374:                                              ; preds = %353
  %375 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %33, ptr noundef nonnull align 8 dereferenceable(88) %6)
          to label %376 unwind label %222

376:                                              ; preds = %374
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %375, ptr noundef %33)
          to label %377 unwind label %407

377:                                              ; preds = %376
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #10
  store i32 0, ptr %32, align 4
  br label %378

378:                                              ; preds = %377, %355
  call void @_ZN3AST18ExprNode_Match_ArmD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #10
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #10
  %379 = load i32, ptr %32, align 4
  switch i32 %379, label %464 [
    i32 0, label %380
    i32 7, label %381
  ]

380:                                              ; preds = %378
  br label %381

381:                                              ; preds = %380, %378
  br i1 true, label %168, label %382, !llvm.loop !19

382:                                              ; preds = %381, %176
  br label %383

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

385:                                              ; preds = %383
  %386 = icmp ne i32 %384, 26
  br i1 %386, label %387, label %432

387:                                              ; preds = %385
  br label %388

388:                                              ; preds = %387
  %389 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %390 unwind label %206

390:                                              ; preds = %388
  br i1 %389, label %391, label %413

391:                                              ; preds = %390
  %392 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !15
  %393 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %392, ptr noundef @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %394 unwind label %206

394:                                              ; preds = %391
  %395 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %393, ptr noundef @.str.10)
          to label %396 unwind label %206

396:                                              ; preds = %394
  %397 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %395, ptr noundef @.str.1)
          to label %398 unwind label %206

398:                                              ; preds = %396
  %399 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %397, ptr noundef @.str.2)
          to label %400 unwind label %206

400:                                              ; preds = %398
  %401 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %399, i32 noundef 618)
          to label %402 unwind label %206

402:                                              ; preds = %400
  %403 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %401, ptr noundef @_ZSt3decRSt8ios_base)
          to label %404 unwind label %206

404:                                              ; preds = %402
  %405 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %403, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %406 unwind label %206

406:                                              ; preds = %404
  br label %413

407:                                              ; preds = %376
  %408 = landingpad { ptr, i32 }
          cleanup
  %409 = extractvalue { ptr, i32 } %408, 0
  store ptr %409, ptr %7, align 8
  %410 = extractvalue { ptr, i32 } %408, 1
  store i32 %410, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %33) #10
  br label %411

411:                                              ; preds = %407, %373, %364, %338, %294, %282, %281, %272, %234, %222, %218
  call void @_ZN3AST18ExprNode_Match_ArmD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %21) #10
  br label %412

412:                                              ; preds = %411, %214
  call void @llvm.lifetime.end.p0(i64 80, ptr %21) #10
  br label %453

413:                                              ; preds = %406, %390
  br label %414

414:                                              ; preds = %413
  br label %415

415:                                              ; preds = %414
  store i1 true, ptr %35, align 1
  %416 = call ptr @__cxa_allocate_exception(i64 96) #10
  %417 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %34, i32 noundef 26)
          to label %418 unwind label %420

418:                                              ; preds = %415
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %416, ptr noundef nonnull align 8 dereferenceable(176) %417, ptr noundef nonnull align 8 dereferenceable(88) %6, ptr noundef %34)
          to label %419 unwind label %424

419:                                              ; preds = %418
  store i1 false, ptr %35, align 1
  invoke void @__cxa_throw(ptr %416, ptr @_ZTIN10ParseError10UnexpectedE, ptr @_ZN10ParseError10UnexpectedD1Ev) #11
          to label %464 unwind label %424

420:                                              ; preds = %415
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %7, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %8, align 4
  br label %428

424:                                              ; preds = %419, %418
  %425 = landingpad { ptr, i32 }
          cleanup
  %426 = extractvalue { ptr, i32 } %425, 0
  store ptr %426, ptr %7, align 8
  %427 = extractvalue { ptr, i32 } %425, 1
  store i32 %427, ptr %8, align 4
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %34) #10
  br label %428

428:                                              ; preds = %424, %420
  %429 = load i1, ptr %35, align 1
  br i1 %429, label %430, label %431

430:                                              ; preds = %428
  call void @__cxa_free_exception(ptr %416) #10
  br label %431

431:                                              ; preds = %430, %428
  br label %453

432:                                              ; preds = %385
  br label %433

433:                                              ; preds = %432
  br label %434

434:                                              ; preds = %433
  %435 = load ptr, ptr %4, align 8, !tbaa !5
  %436 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 72) #12
          to label %437 unwind label %206

437:                                              ; preds = %434
  store i1 true, ptr %38, align 1
  invoke void @_ZN3AST9ExprNodePC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %438 unwind label %441

438:                                              ; preds = %437
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  invoke void @_ZN3AST14ExprNode_MatchC2ENS_9ExprNodePESt6vectorINS_18ExprNode_Match_ArmESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(72) %436, ptr noundef %36, ptr noundef %37)
          to label %439 unwind label %445

439:                                              ; preds = %438
  store i1 false, ptr %38, align 1
  invoke void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %435, ptr noundef %436)
          to label %440 unwind label %445

440:                                              ; preds = %439
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #10
  store i32 1, ptr %32, align 4
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #10
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #10
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #10
  ret void

441:                                              ; preds = %437
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %7, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %8, align 4
  br label %449

445:                                              ; preds = %439, %438
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %7, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %8, align 4
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #10
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #10
  br label %449

449:                                              ; preds = %445, %441
  %450 = load i1, ptr %38, align 1
  br i1 %450, label %451, label %452

451:                                              ; preds = %449
  call void @_ZdlPvm(ptr noundef %436, i64 noundef 72) #13
  br label %452

452:                                              ; preds = %451, %449
  br label %453

453:                                              ; preds = %452, %431, %412, %210, %206, %185
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #10
  br label %454

454:                                              ; preds = %453, %164, %142, %141, %132
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #10
  br label %455

455:                                              ; preds = %454, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  br label %456

456:                                              ; preds = %455, %106
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #10
  br label %457

457:                                              ; preds = %456, %102
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #10
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %6) #10
  br label %458

458:                                              ; preds = %457, %98
  call void @llvm.lifetime.end.p0(i64 88, ptr %6) #10
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #10
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #10
  br label %459

459:                                              ; preds = %458
  %460 = load ptr, ptr %7, align 8
  %461 = load i32, ptr %8, align 4
  %462 = insertvalue { ptr, i32 } poison, ptr %460, 0
  %463 = insertvalue { ptr, i32 } %462, i32 %461, 1
  resume { ptr, i32 } %463

464:                                              ; preds = %419, %378, %326, %152
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16Parse_IfLetChainR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.std::vector.125") align 8, ptr noundef nonnull align 8 dereferenceable(176)) #5

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_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 @_ZN3AST14ExprNode_MatchC2ENS_9ExprNodePESt6vectorINS_18ExprNode_Match_ArmESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) unnamed_addr #5 align 2

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

attributes #0 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn }
attributes #12 = { builtin allocsize(0) }
attributes #13 = { builtin nounwind }

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

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


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

%struct.ParseState = type { i8, i8, i8, ptr, ptr, ptr }
%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 }
%struct.Span = type { ptr }
%class.RcString = type { ptr }
%"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.AST::AttributeList" = type { %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::ExprNodeP" = 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.SavedParseState = type { ptr, %struct.ParseState }
%"class.std::vector.131" = type { %"struct.std::_Vector_base.132" }
%"struct.std::_Vector_base.132" = type { %"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::ExprNode_Match_Arm, std::allocator<AST::ExprNode_Match_Arm>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::ExprNode_Match_Arm" = type { %"class.AST::AttributeList", %"class.std::vector.110", %"class.std::vector.125", %"class.AST::ExprNodeP" }
%"class.std::vector.110" = type { %"struct.std::_Vector_base.111" }
%"struct.std::_Vector_base.111" = 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.std::vector.125" = type { %"struct.std::_Vector_base.126" }
%"struct.std::_Vector_base.126" = type { %"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::IfLet_Condition, std::allocator<AST::IfLet_Condition>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.66", %"class.AST::Pattern::Data" }
%"class.std::vector.66" = type { %"struct.std::_Vector_base.67" }
%"struct.std::_Vector_base.67" = 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.92", %"class.std::unique_ptr.100", %"class.std::vector.87" }
%"class.std::unique_ptr.92" = type { %"struct.std::__uniq_ptr_data.93" }
%"struct.std::__uniq_ptr_data.93" = type { %"class.std::__uniq_ptr_impl.94" }
%"class.std::__uniq_ptr_impl.94" = type { %"class.std::tuple.95" }
%"class.std::tuple.95" = type { %"struct.std::_Tuple_impl.96" }
%"struct.std::_Tuple_impl.96" = type { %"struct.std::_Head_base.99" }
%"struct.std::_Head_base.99" = type { ptr }
%"class.std::unique_ptr.100" = type { %"struct.std::__uniq_ptr_data.101" }
%"struct.std::__uniq_ptr_data.101" = type { %"class.std::__uniq_ptr_impl.102" }
%"class.std::__uniq_ptr_impl.102" = type { %"class.std::tuple.103" }
%"class.std::tuple.103" = type { %"struct.std::_Tuple_impl.104" }
%"struct.std::_Tuple_impl.104" = type { %"struct.std::_Head_base.107" }
%"struct.std::_Head_base.107" = type { ptr }
%"class.std::vector.87" = type { %"struct.std::_Vector_base.88" }
%"struct.std::_Vector_base.88" = 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.108", %"struct.AST::PathBinding.109" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector.26" }
%"class.std::vector.26" = type { %"struct.std::_Vector_base.27" }
%"struct.std::_Vector_base.27" = 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.108" = 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.109" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }

@g_debug_indent_level = external local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZTIN10ParseError10UnexpectedE = external constant ptr
@.str.10 = external hidden unnamed_addr constant [11 x i8], align 1
@__func__._Z16Parse_Expr_MatchR11TokenStream = external hidden unnamed_addr constant [17 x i8], align 1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nounwind
declare void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 noundef zeroext i1 @_Z13debug_enabledv() local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(176), ptr noundef byval(%struct.ParseState) align 8) unnamed_addr #3 align 2

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

declare noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176), i32 noundef) local_unnamed_addr #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: 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 #4 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: nounwind
declare void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88)) unnamed_addr #0

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

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

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #6

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #7

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8, ptr noundef nonnull align 8 dereferenceable(176), ptr noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16Parse_Expr_MatchR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.TraceLog, align 8
  %4 = alloca %class.Token, align 8
  %5 = alloca %class.SavedParseState, align 8
  %6 = alloca %"class.AST::ExprNodeP", align 8
  %7 = alloca %class.SavedParseState, align 8
  %8 = alloca %"class.AST::ExprNodeP", align 8
  %9 = alloca %class.Token, align 8
  %10 = alloca %class.Token, align 8
  %11 = alloca %"class.std::vector.131", align 8
  %12 = alloca %class.Token, align 8
  %13 = alloca %class.Token, align 8
  %14 = alloca %"struct.AST::ExprNode_Match_Arm", align 8
  %15 = alloca %"class.AST::AttributeList", align 8
  %16 = alloca %class.Token, align 8
  %17 = alloca %"class.AST::Pattern", align 8
  %18 = alloca %class.Token, align 8
  %19 = alloca %"class.std::vector.125", align 8
  %20 = alloca %class.Token, align 8
  %21 = alloca %class.Token, align 8
  %22 = alloca %"class.AST::ExprNodeP", align 8
  %23 = alloca %class.Token, align 8
  %24 = alloca %class.Token, align 8
  %25 = alloca %class.Token, align 8
  %26 = alloca %"class.AST::ExprNodeP", align 8
  %27 = alloca %"class.std::vector.131", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #9
  %28 = tail call noundef zeroext i1 @_Z13debug_enabledv()
  %29 = select i1 %28, ptr @__func__._Z16Parse_Expr_MatchR11TokenStream, ptr null
  call void @_ZN8TraceLogC1EPKc(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef %29)
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %4) #9
  invoke void @_ZN5TokenC1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %30 unwind label %61

30:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #9
  %31 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull byval(%struct.ParseState) align 8 %31)
  %32 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  store i8 0, ptr %32, align 8, !tbaa !5
  %33 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  %34 = getelementptr inbounds i8, ptr %33, i64 1
  store i8 0, ptr %34, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN3AST9ExprNodePC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #9
  %35 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  call void @_ZN15SavedParseStateC2ER11TokenStream10ParseState(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull byval(%struct.ParseState) align 8 %35)
  %36 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN11TokenStream11parse_stateEv(ptr noundef nonnull align 8 dereferenceable(176) %1)
  store i8 1, ptr %36, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #9
  invoke void @_Z11Parse_Expr1R11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::ExprNodeP") align 8 %8, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %37 unwind label %63

37:                                               ; preds = %30
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST9ExprNodePaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %9) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %9, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %39 unwind label %65

39:                                               ; preds = %37
  %40 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %9)
          to label %41 unwind label %67

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

43:                                               ; preds = %41
  %44 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %45 unwind label %70

45:                                               ; preds = %43
  br i1 %44, label %46, label %72

46:                                               ; preds = %45
  %47 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %48 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %47, ptr noundef nonnull @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %49 unwind label %70

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull @.str)
          to label %51 unwind label %70

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.1)
          to label %53 unwind label %70

53:                                               ; preds = %51
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull @.str.2)
          to label %55 unwind label %70

55:                                               ; preds = %53
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %54, i32 noundef 583)
          to label %57 unwind label %70

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %59 unwind label %70

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %72 unwind label %70

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

63:                                               ; preds = %30
  %64 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #9
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #9
  br label %247

65:                                               ; preds = %37
  %66 = landingpad { ptr, i32 }
          cleanup
  br label %69

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

69:                                               ; preds = %67, %65
  %.pn = phi { ptr, i32 } [ %68, %67 ], [ %66, %65 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %9) #9
  br label %247

70:                                               ; preds = %59, %57, %55, %53, %51, %49, %46, %43
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %247

72:                                               ; preds = %59, %45
  %73 = call ptr @__cxa_allocate_exception(i64 96) #9
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %10, i32 noundef 25)
          to label %74 unwind label %.thread

74:                                               ; preds = %72
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %73, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %10)
          to label %76 unwind label %.thread81

.thread81:                                        ; preds = %74
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %10) #9
  br label %80

76:                                               ; preds = %74
  invoke void @__cxa_throw(ptr nonnull %73, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %249 unwind label %78

.thread:                                          ; preds = %72
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %80

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

80:                                               ; preds = %.thread81, %.thread
  %.pn7480 = phi { ptr, i32 } [ %77, %.thread ], [ %75, %.thread81 ]
  call void @__cxa_free_exception(ptr %73) #9
  br label %247

81:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #9
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  %82 = getelementptr inbounds i8, ptr %14, i64 24
  %83 = getelementptr inbounds i8, ptr %14, i64 48
  %84 = getelementptr inbounds i8, ptr %14, i64 72
  br label %85

85:                                               ; preds = %204, %81
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %12) #9
  invoke void @_ZN11TokenStream8getTokenEv(ptr dead_on_unwind nonnull writable sret(%class.Token) align 8 %12, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %86 unwind label %91

86:                                               ; preds = %85
  %87 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %12)
          to label %88 unwind label %93

88:                                               ; preds = %86
  %89 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %87)
  %90 = icmp eq i32 %89, 26
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %12) #9
  br i1 %90, label %205, label %96

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

93:                                               ; preds = %86
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %12) #9
  br label %95

95:                                               ; preds = %93, %91
  %.pn53 = phi { ptr, i32 } [ %94, %93 ], [ %92, %91 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %12) #9
  br label %246

96:                                               ; preds = %88
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %13, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %97 unwind label %.loopexit

97:                                               ; preds = %96
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %13)
          to label %98 unwind label %110

98:                                               ; preds = %97
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #9
  call void @llvm.lifetime.start.p0(i64 80, ptr nonnull %14) #9
  invoke void @_ZN3AST18ExprNode_Match_ArmC2Ev(ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %99 unwind label %112

99:                                               ; preds = %98
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #9
  invoke void @_Z15Parse_ItemAttrsR11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::AttributeList") align 8 %15, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %100 unwind label %114

100:                                              ; preds = %99
  %101 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST13AttributeListaSEOS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @_ZN3AST13AttributeListD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  %102 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %103 unwind label %.loopexit95

103:                                              ; preds = %100
  %104 = icmp eq i32 %102, 37
  br i1 %104, label %105, label %.preheader

.preheader:                                       ; preds = %108, %103
  br label %121

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

106:                                              ; preds = %105
  %107 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %16)
          to label %108 unwind label %118

108:                                              ; preds = %106
  %109 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %107)
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %16) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #9
  br label %.preheader

.loopexit:                                        ; preds = %96
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %246

.loopexit.split-lp:                               ; preds = %207, %210, %213, %215, %217, %219, %221, %223, %238
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %246

110:                                              ; preds = %97
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %13) #9
  br label %246

112:                                              ; preds = %98
  %113 = landingpad { ptr, i32 }
          cleanup
  br label %228

114:                                              ; preds = %99
  %115 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #9
  br label %227

.loopexit95:                                      ; preds = %100, %186, %201
  %lpad.loopexit97 = landingpad { ptr, i32 }
          cleanup
  br label %227

.loopexit.split-lp96:                             ; preds = %158, %161, %164, %166, %168, %170, %172, %174
  %lpad.loopexit.split-lp98 = landingpad { ptr, i32 }
          cleanup
  br label %227

116:                                              ; preds = %105
  %117 = landingpad { ptr, i32 }
          cleanup
  br label %120

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

120:                                              ; preds = %118, %116
  %.pn55 = phi { ptr, i32 } [ %119, %118 ], [ %117, %116 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %16) #9
  br label %227

121:                                              ; preds = %.preheader, %126
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %17) #9
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %17, ptr noundef nonnull align 8 dereferenceable(176) %1, i32 noundef 0)
          to label %122 unwind label %139

122:                                              ; preds = %121
  invoke void @_ZNSt6vectorIN3AST7PatternESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %82, ptr noundef nonnull align 8 dereferenceable(544) %17)
          to label %123 unwind label %141

123:                                              ; preds = %122
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %17) #9
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %17) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %18) #9
  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 %124 unwind label %144

124:                                              ; preds = %123
  %125 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %18)
          to label %126 unwind label %146

126:                                              ; preds = %124
  %127 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %125)
  %128 = icmp eq i32 %127, 37
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %18) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #9
  br i1 %128, label %121, label %129, !llvm.loop !14

129:                                              ; preds = %126
  %130 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %131 = icmp eq i32 %130, 96
  br i1 %131, label %132, label %156

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %19) #9
  invoke void @_Z16Parse_IfLetChainR11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.125") align 8 %19, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %133 unwind label %149

133:                                              ; preds = %132
  %134 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIN3AST15IfLet_ConditionESaIS1_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(24) %83, ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @_ZNSt6vectorIN3AST15IfLet_ConditionESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #9
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %20) #9
  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 %135 unwind label %151

135:                                              ; preds = %133
  %136 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %20)
          to label %137 unwind label %153

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

139:                                              ; preds = %121
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %143

141:                                              ; preds = %122
  %142 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %17) #9
  br label %143

143:                                              ; preds = %141, %139
  %.pn57 = phi { ptr, i32 } [ %142, %141 ], [ %140, %139 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %17) #9
  br label %227

144:                                              ; preds = %123
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

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

148:                                              ; preds = %146, %144
  %.pn59 = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %18) #9
  br label %227

149:                                              ; preds = %132
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %19) #9
  br label %227

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

153:                                              ; preds = %135
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %20) #9
  br label %155

155:                                              ; preds = %153, %151
  %.pn61 = phi { ptr, i32 } [ %154, %153 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %20) #9
  br label %227

156:                                              ; preds = %129, %137
  %157 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %.not63 = icmp eq i32 %157, 38
  br i1 %.not63, label %185, label %158

158:                                              ; preds = %156
  %159 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %160 unwind label %.loopexit.split-lp96

160:                                              ; preds = %158
  br i1 %159, label %161, label %176

161:                                              ; preds = %160
  %162 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %163 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %162, ptr noundef nonnull @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %164 unwind label %.loopexit.split-lp96

164:                                              ; preds = %161
  %165 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %163, ptr noundef nonnull @.str.10)
          to label %166 unwind label %.loopexit.split-lp96

166:                                              ; preds = %164
  %167 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %165, ptr noundef nonnull @.str.1)
          to label %168 unwind label %.loopexit.split-lp96

168:                                              ; preds = %166
  %169 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %167, ptr noundef nonnull @.str.2)
          to label %170 unwind label %.loopexit.split-lp96

170:                                              ; preds = %168
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %169, i32 noundef 607)
          to label %172 unwind label %.loopexit.split-lp96

172:                                              ; preds = %170
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef nonnull @_ZSt3decRSt8ios_base)
          to label %174 unwind label %.loopexit.split-lp96

174:                                              ; preds = %172
  %175 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %173, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %176 unwind label %.loopexit.split-lp96

176:                                              ; preds = %174, %160
  %177 = call ptr @__cxa_allocate_exception(i64 96) #9
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %21, i32 noundef 38)
          to label %178 unwind label %.thread83

178:                                              ; preds = %176
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %177, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %21)
          to label %180 unwind label %.thread87

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

180:                                              ; preds = %178
  invoke void @__cxa_throw(ptr nonnull %177, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %249 unwind label %182

.thread83:                                        ; preds = %176
  %181 = landingpad { ptr, i32 }
          cleanup
  br label %184

182:                                              ; preds = %180
  %183 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %21) #9
  br label %227

184:                                              ; preds = %.thread87, %.thread83
  %.pn6686 = phi { ptr, i32 } [ %181, %.thread83 ], [ %179, %.thread87 ]
  call void @__cxa_free_exception(ptr %177) #9
  br label %227

185:                                              ; preds = %156
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #9
  invoke void @_Z10Parse_StmtR11TokenStream(ptr dead_on_unwind nonnull writable sret(%"class.AST::ExprNodeP") align 8 %22, ptr noundef nonnull align 8 dereferenceable(176) %1)
          to label %186 unwind label %194

186:                                              ; preds = %185
  %187 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST9ExprNodePaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %84, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  invoke void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(80) %14)
          to label %188 unwind label %.loopexit95

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

189:                                              ; preds = %188
  %190 = invoke noundef nonnull align 8 dereferenceable(88) ptr @_ZN5TokenaSEOS_(ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull align 8 dereferenceable(88) %23)
          to label %191 unwind label %198

191:                                              ; preds = %189
  %192 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %190)
  %193 = icmp eq i32 %192, 31
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %23) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %23) #9
  br i1 %193, label %204, label %201

194:                                              ; preds = %185
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #9
  br label %227

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

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

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

201:                                              ; preds = %191
  invoke void @_ZN5TokenC2EOS_(ptr noundef nonnull align 8 dereferenceable(88) %24, ptr noundef nonnull align 8 dereferenceable(88) %4)
          to label %202 unwind label %.loopexit95

202:                                              ; preds = %201
  invoke void @_ZN11TokenStream7putbackE5Token(ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %24)
          to label %203 unwind label %225

203:                                              ; preds = %202
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #9
  br label %204

204:                                              ; preds = %191, %203
  call void @_ZN3AST18ExprNode_Match_ArmD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %14) #9
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #9
  br label %85, !llvm.loop !16

205:                                              ; preds = %88
  %206 = call noundef i32 @_ZNK5Token4typeEv(ptr noundef nonnull align 8 dereferenceable(88) %4)
  %.not70 = icmp eq i32 %206, 26
  br i1 %.not70, label %238, label %207

207:                                              ; preds = %205
  %208 = invoke noundef zeroext i1 @_Z13debug_enabledv()
          to label %209 unwind label %.loopexit.split-lp

209:                                              ; preds = %207
  br i1 %208, label %210, label %229

210:                                              ; preds = %209
  %211 = load i32, ptr @g_debug_indent_level, align 4, !tbaa !12
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_Z12debug_outputiPKc(i32 noundef %211, ptr noundef nonnull @__func__._Z16Parse_Expr_MatchR11TokenStream)
          to label %213 unwind label %.loopexit.split-lp

213:                                              ; preds = %210
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %212, ptr noundef nonnull @.str.10)
          to label %215 unwind label %.loopexit.split-lp

215:                                              ; preds = %213
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef nonnull @.str.1)
          to label %217 unwind label %.loopexit.split-lp

217:                                              ; preds = %215
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %216, ptr noundef nonnull @.str.2)
          to label %219 unwind label %.loopexit.split-lp

219:                                              ; preds = %217
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %218, i32 noundef 618)
          to label %221 unwind label %.loopexit.split-lp

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

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

225:                                              ; preds = %202
  %226 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %24) #9
  br label %227

227:                                              ; preds = %.loopexit95, %.loopexit.split-lp96, %182, %184, %225, %200, %194, %155, %149, %148, %143, %120, %114
  %.pn66.pn = phi { ptr, i32 } [ %.pn6686, %184 ], [ %183, %182 ], [ %226, %225 ], [ %.pn64, %200 ], [ %195, %194 ], [ %.pn61, %155 ], [ %150, %149 ], [ %.pn59, %148 ], [ %.pn57, %143 ], [ %.pn55, %120 ], [ %115, %114 ], [ %lpad.loopexit97, %.loopexit95 ], [ %lpad.loopexit.split-lp98, %.loopexit.split-lp96 ]
  call void @_ZN3AST18ExprNode_Match_ArmD2Ev(ptr noundef nonnull align 8 dereferenceable(80) %14) #9
  br label %228

228:                                              ; preds = %227, %112
  %.pn66.pn.pn = phi { ptr, i32 } [ %.pn66.pn, %227 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 80, ptr nonnull %14) #9
  br label %246

229:                                              ; preds = %223, %209
  %230 = call ptr @__cxa_allocate_exception(i64 96) #9
  invoke void @_ZN5TokenC1E10eTokenType(ptr noundef nonnull align 8 dereferenceable(88) %25, i32 noundef 26)
          to label %231 unwind label %.thread89

231:                                              ; preds = %229
  invoke void @_ZN10ParseError10UnexpectedC1ERK11TokenStreamRK5TokenS4_(ptr noundef nonnull align 8 dereferenceable(96) %230, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull align 8 dereferenceable(88) %4, ptr noundef nonnull %25)
          to label %233 unwind label %.thread93

.thread93:                                        ; preds = %231
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %25) #9
  br label %237

233:                                              ; preds = %231
  invoke void @__cxa_throw(ptr nonnull %230, ptr nonnull @_ZTIN10ParseError10UnexpectedE, ptr nonnull @_ZN10ParseError10UnexpectedD1Ev) #10
          to label %249 unwind label %235

.thread89:                                        ; preds = %229
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

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

237:                                              ; preds = %.thread93, %.thread89
  %.pn7192 = phi { ptr, i32 } [ %234, %.thread89 ], [ %232, %.thread93 ]
  call void @__cxa_free_exception(ptr %230) #9
  br label %246

238:                                              ; preds = %205
  %239 = invoke noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #11
          to label %240 unwind label %.loopexit.split-lp

240:                                              ; preds = %238
  call void @_ZN3AST9ExprNodePC2EOS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EEC2EOS3_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  invoke void @_ZN3AST14ExprNode_MatchC2ENS_9ExprNodePESt6vectorINS_18ExprNode_Match_ArmESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(72) %239, ptr noundef nonnull %26, ptr noundef nonnull %27)
          to label %241 unwind label %243

241:                                              ; preds = %240
  invoke void @_ZL12mk_exprnodepRK11TokenStreamPN3AST8ExprNodeE(ptr dead_on_unwind writable sret(%"class.AST::ExprNodeP") align 8 %0, ptr noundef nonnull align 8 dereferenceable(176) %1, ptr noundef nonnull %239)
          to label %242 unwind label %243

242:                                              ; preds = %241
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #9
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  ret void

243:                                              ; preds = %241, %240
  %.0 = phi i1 [ false, %241 ], [ true, %240 ]
  %244 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #9
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #9
  br i1 %.0, label %245, label %246

245:                                              ; preds = %243
  call void @_ZdlPvm(ptr noundef nonnull %239, i64 noundef 72) #12
  br label %246

246:                                              ; preds = %.loopexit, %.loopexit.split-lp, %235, %243, %245, %237, %228, %110, %95
  %.pn71.pn = phi { ptr, i32 } [ %.pn7192, %237 ], [ %236, %235 ], [ %244, %245 ], [ %244, %243 ], [ %.pn66.pn.pn, %228 ], [ %111, %110 ], [ %.pn53, %95 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #9
  br label %247

247:                                              ; preds = %78, %80, %246, %70, %69, %63
  %.pn74.pn = phi { ptr, i32 } [ %.pn7480, %80 ], [ %79, %78 ], [ %71, %70 ], [ %.pn71.pn, %246 ], [ %.pn, %69 ], [ %64, %63 ]
  call void @_ZN3AST9ExprNodePD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  call void @_ZN15SavedParseStateD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #9
  call void @_ZN5TokenD1Ev(ptr noundef nonnull align 8 dereferenceable(88) %4) #9
  br label %248

248:                                              ; preds = %247, %61
  %.pn74.pn.pn = phi { ptr, i32 } [ %.pn74.pn, %247 ], [ %62, %61 ]
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %4) #9
  call void @_ZN8TraceLogD1Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #9
  resume { ptr, i32 } %.pn74.pn.pn

249:                                              ; preds = %233, %180, %76
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z16Parse_IfLetChainR11TokenStream(ptr dead_on_unwind noalias writable sret(%"class.std::vector.125") align 8, ptr noundef nonnull align 8 dereferenceable(176)) local_unnamed_addr #4

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIN3AST18ExprNode_Match_ArmESaIS1_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 @_ZN3AST14ExprNode_MatchC2ENS_9ExprNodePESt6vectorINS_18ExprNode_Match_ArmESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(72), ptr noundef, ptr noundef) unnamed_addr #4 align 2

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

attributes #0 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress 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 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { noreturn }
attributes #11 = { builtin allocsize(0) }
attributes #12 = { builtin nounwind }

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

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass