; LLVM IR from thepowersgang/mrustc :: src/expand/mod.ll (Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb)

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

%"class.std::unique_ptr.273" = type { %"struct.std::__uniq_ptr_data.274" }
%"struct.std::__uniq_ptr_data.274" = type { %"class.std::__uniq_ptr_impl.275" }
%"class.std::__uniq_ptr_impl.275" = type { %"class.std::tuple.276" }
%"class.std::tuple.276" = type { %"struct.std::_Tuple_impl.277" }
%"struct.std::_Tuple_impl.277" = type { %"struct.std::_Head_base.280" }
%"struct.std::_Head_base.280" = type { ptr }
%struct.Span = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.294", %"class.AST::Pattern::Data" }
%"class.std::vector.294" = type { %"struct.std::_Vector_base.295" }
%"struct.std::_Vector_base.295" = 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.124", %"class.std::unique_ptr.132", %"class.std::vector.119" }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }
%"class.std::unique_ptr.132" = type { %"struct.std::__uniq_ptr_data.133" }
%"struct.std::__uniq_ptr_data.133" = type { %"class.std::__uniq_ptr_impl.134" }
%"class.std::__uniq_ptr_impl.134" = type { %"class.std::tuple.135" }
%"class.std::tuple.135" = type { %"struct.std::_Tuple_impl.136" }
%"struct.std::_Tuple_impl.136" = type { %"struct.std::_Head_base.139" }
%"struct.std::_Head_base.139" = type { ptr }
%"class.std::vector.119" = type { %"struct.std::_Vector_base.120" }
%"struct.std::_Vector_base.120" = 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.140", %"struct.AST::PathBinding.141" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.140" = 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.141" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.317 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.319" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.320" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.321" = type { ptr }
%class.anon.322 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.324" = type { ptr }
%"struct.AST::Pattern::Data::Data_Macro" = type { %"class.std::unique_ptr.181" }
%"class.std::unique_ptr.181" = type { %"struct.std::__uniq_ptr_data.182" }
%"struct.std::__uniq_ptr_data.182" = type { %"class.std::__uniq_ptr_impl.183" }
%"class.std::__uniq_ptr_impl.183" = type { %"class.std::tuple.184" }
%"class.std::tuple.184" = type { %"struct.std::_Tuple_impl.185" }
%"struct.std::_Tuple_impl.185" = type { %"struct.std::_Head_base.188" }
%"struct.std::_Head_base.188" = type { ptr }
%"struct.AST::Pattern::Data::Data_Box" = type { %"class.std::unique_ptr.299" }
%"class.std::unique_ptr.299" = type { %"struct.std::__uniq_ptr_data.300" }
%"struct.std::__uniq_ptr_data.300" = type { %"class.std::__uniq_ptr_impl.301" }
%"class.std::__uniq_ptr_impl.301" = type { %"class.std::tuple.302" }
%"class.std::tuple.302" = type { %"struct.std::_Tuple_impl.303" }
%"struct.std::_Tuple_impl.303" = type { %"struct.std::_Head_base.306" }
%"struct.std::_Head_base.306" = type { ptr }
%"struct.AST::Pattern::Data::Data_Ref" = type { i8, %"class.std::unique_ptr.299" }
%"struct.AST::Pattern::TuplePat" = type { %"class.std::vector.307", i8, %"class.std::vector.307" }
%"class.std::vector.307" = type { %"struct.std::_Vector_base.308" }
%"struct.std::_Vector_base.308" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Pattern, std::allocator<AST::Pattern>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Pattern::Data::Data_StructTuple" = type { %"class.AST::Path", %"struct.AST::Pattern::TuplePat" }
%"struct.AST::Pattern::Data::Data_Struct" = type <{ %"class.AST::Path", %"class.std::vector.312", i8, [7 x i8] }>
%"class.std::vector.312" = type { %"struct.std::_Vector_base.313" }
%"struct.std::_Vector_base.313" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::StructPatternEntry, std::allocator<AST::StructPatternEntry>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::StructPatternEntry" = type { %"class.AST::AttributeList", %class.RcString, %"class.AST::Pattern" }
%"class.AST::AttributeList" = type { %"class.std::vector.48" }
%"class.std::vector.48" = type { %"struct.std::_Vector_base.49" }
%"struct.std::_Vector_base.49" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl" = type { %"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" }
%"struct.std::_Vector_base<AST::Attribute, std::allocator<AST::Attribute>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.AST::Pattern::Data::Data_Slice" = type { %"class.std::vector.307" }
%"struct.AST::Pattern::Data::Data_SplitSlice" = type { %"class.std::vector.307", %"class.AST::PatternBinding", %"class.std::vector.307" }
%"class.AST::PatternBinding" = type <{ %struct.Ident, i32, i8, [3 x i8], i32, [4 x i8] }>
%struct.Ident = type { %"class.Ident::Hygiene", %class.RcString }
%"class.Ident::Hygiene" = type { %"class.std::unique_ptr.29" }
%"class.std::unique_ptr.29" = type { %"struct.std::__uniq_ptr_data.30" }
%"struct.std::__uniq_ptr_data.30" = type { %"class.std::__uniq_ptr_impl.31" }
%"class.std::__uniq_ptr_impl.31" = type { %"class.std::tuple.32" }
%"class.std::tuple.32" = type { %"struct.std::_Tuple_impl.33" }
%"struct.std::_Tuple_impl.33" = type { %"struct.std::_Head_base.36" }
%"struct.std::_Head_base.36" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb = external hidden unnamed_addr constant [82 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

declare ptr @__cxa_allocate_exception(i64)

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

declare void @__cxa_free_exception(ptr)

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

declare void @__cxa_throw(ptr, ptr, ptr)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %2, i1 noundef zeroext %3) #3 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca i8, align 1
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i8, align 1
  %15 = alloca ptr, align 8
  %16 = alloca %struct.Span, align 8
  %17 = alloca %"class.std::unique_ptr.273", align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %"class.AST::Pattern", align 8
  %22 = alloca %struct.Span, align 8
  %23 = alloca %"class.std::function", align 8
  %24 = alloca %class.anon.317, align 1
  %25 = alloca ptr, align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.319", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.319", align 8
  %28 = alloca ptr, align 8
  %29 = alloca i8, align 1
  %30 = alloca ptr, align 8
  %31 = alloca i8, align 1
  %32 = alloca ptr, align 8
  %33 = alloca i8, align 1
  %34 = alloca ptr, align 8
  %35 = alloca i8, align 1
  %36 = alloca ptr, align 8
  %37 = alloca i8, align 1
  %38 = alloca ptr, align 8
  %39 = alloca i8, align 1
  %40 = alloca ptr, align 8
  %41 = alloca ptr, align 8
  %42 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %43 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %44 = alloca ptr, align 8
  %45 = alloca ptr, align 8
  %46 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %47 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %48 = alloca ptr, align 8
  %49 = alloca i8, align 1
  %50 = alloca ptr, align 8
  %51 = alloca ptr, align 8
  %52 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %53 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %54 = alloca ptr, align 8
  %55 = alloca ptr, align 8
  %56 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %57 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %58 = alloca ptr, align 8
  %59 = alloca i8, align 1
  %60 = alloca ptr, align 8
  %61 = alloca ptr, align 8
  %62 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %63 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %64 = alloca ptr, align 8
  %65 = alloca %class.RcString, align 8
  %66 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %67 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %68 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %69 = alloca %class.anon.322, align 1
  %70 = alloca %"class.__gnu_cxx::__normal_iterator.324", align 8
  %71 = alloca %"class.__gnu_cxx::__normal_iterator.324", align 8
  %72 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %73 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %74 = alloca i8, align 1
  %75 = alloca ptr, align 8
  %76 = alloca ptr, align 8
  %77 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %78 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %79 = alloca ptr, align 8
  %80 = alloca i8, align 1
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %84 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %85 = alloca ptr, align 8
  %86 = alloca ptr, align 8
  %87 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %88 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %89 = alloca ptr, align 8
  %90 = alloca i8, align 1
  %91 = alloca ptr, align 8
  %92 = alloca ptr, align 8
  %93 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %94 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %95 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %96 = zext i1 %3 to i8
  store i8 %96, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #8
  store i8 1, ptr %9, align 1, !tbaa !9
  br label %97

97:                                               ; preds = %694, %4
  %98 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %99 = trunc i8 %98 to i1
  br i1 %99, label %101, label %100

100:                                              ; preds = %97
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %695

101:                                              ; preds = %97
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = call noundef nonnull align 8 dereferenceable(504) ptr @_ZN3AST7Pattern4dataEv(ptr noundef nonnull align 8 dereferenceable(544) %102)
  store ptr %103, ptr %11, align 8, !tbaa !5
  br label %104

104:                                              ; preds = %691, %101
  %105 = load i8, ptr %9, align 1, !tbaa !9, !range !11, !noundef !12
  %106 = trunc i8 %105 to i1
  br i1 %106, label %108, label %107

107:                                              ; preds = %104
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  br label %693

108:                                              ; preds = %104
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = call noundef i32 @_ZNK3AST7Pattern4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(504) %109)
  switch i32 %110, label %690 [
    i32 0, label %111
    i32 1, label %112
    i32 2, label %130
    i32 3, label %244
    i32 4, label %262
    i32 5, label %287
    i32 6, label %312
    i32 7, label %330
    i32 8, label %348
    i32 9, label %408
    i32 10, label %470
    i32 11, label %553
    i32 12, label %592
    i32 13, label %652
  ]

111:                                              ; preds = %108
  call void @__assert_fail(ptr noundef @.str.20, ptr noundef @.str.21, i32 noundef 477, ptr noundef @__PRETTY_FUNCTION__._Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb) #9
  unreachable

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

113:                                              ; preds = %128, %112
  %114 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %115 = trunc i8 %114 to i1
  br i1 %115, label %117, label %116

116:                                              ; preds = %113
  store i32 9, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #8
  br label %129

117:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %118 = load ptr, ptr %11, align 8, !tbaa !5
  %119 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data12as_MaybeBindEv(ptr noundef nonnull align 8 dereferenceable(504) %118)
  store ptr %119, ptr %13, align 8, !tbaa !5
  br label %120

120:                                              ; preds = %126, %117
  %121 = load ptr, ptr %13, align 8, !tbaa !5
  %122 = load i8, ptr %12, align 1, !tbaa !9, !range !11, !noundef !12
  %123 = trunc i8 %122 to i1
  br i1 %123, label %125, label %124

124:                                              ; preds = %120
  store i32 12, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %127

125:                                              ; preds = %120
  br label %126

126:                                              ; preds = %125
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %120, !llvm.loop !13

127:                                              ; preds = %124
  br label %128

128:                                              ; preds = %127
  store i8 0, ptr %12, align 1, !tbaa !9
  br label %113, !llvm.loop !15

129:                                              ; preds = %116
  br label %690

130:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #8
  store i8 1, ptr %14, align 1, !tbaa !9
  br label %131

131:                                              ; preds = %242, %130
  %132 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %133 = trunc i8 %132 to i1
  br i1 %133, label %135, label %134

134:                                              ; preds = %131
  store i32 15, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %243

135:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST7Pattern4Data8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(504) %136)
  store ptr %137, ptr %15, align 8, !tbaa !5
  br label %138

138:                                              ; preds = %239, %135
  %139 = load ptr, ptr %15, align 8, !tbaa !5
  %140 = load i8, ptr %14, align 1, !tbaa !9, !range !11, !noundef !12
  %141 = trunc i8 %140 to i1
  br i1 %141, label %143, label %142

142:                                              ; preds = %138
  store i32 18, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  br label %241

143:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %144 = load ptr, ptr %15, align 8, !tbaa !5
  %145 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Macro", ptr %144, i32 0, i32 0
  %146 = call noundef ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %145) #8
  %147 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST15MacroInvocation4spanEv(ptr noundef nonnull align 8 dereferenceable(393) %146)
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %147)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = load ptr, ptr %6, align 8, !tbaa !5
  %150 = load ptr, ptr %15, align 8, !tbaa !5
  %151 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Macro", ptr %150, i32 0, i32 0
  %152 = call noundef nonnull align 8 dereferenceable(393) ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %151) #8
  invoke void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind writable sret(%"class.std::unique_ptr.273") align 8 %17, ptr noundef nonnull align 8 dereferenceable(30) %148, ptr noundef nonnull align 8 dereferenceable(480) %149, ptr noundef nonnull align 8 dereferenceable(393) %152)
          to label %153 unwind label %169

153:                                              ; preds = %143
  %154 = call noundef zeroext i1 @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br i1 %154, label %155, label %238

155:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %156 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  store ptr %156, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 544, ptr %21) #8
  %157 = load ptr, ptr %20, align 8, !tbaa !5
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind writable sret(%"class.AST::Pattern") align 8 %21, ptr noundef nonnull align 8 dereferenceable(176) %157, i32 noundef 1)
          to label %158 unwind label %173

158:                                              ; preds = %155
  %159 = load ptr, ptr %20, align 8, !tbaa !5
  %160 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %159, i32 noundef 0)
          to label %161 unwind label %177

161:                                              ; preds = %158
  %162 = icmp ne i32 %160, 1
  br i1 %162, label %163, label %196

163:                                              ; preds = %161
  br label %164

164:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %16)
          to label %165 unwind label %181

165:                                              ; preds = %164
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS7_7PatternEbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 1 dereferenceable(1) %24) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %22, i32 noundef 0, ptr noundef %23)
          to label %166 unwind label %185

166:                                              ; preds = %165
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  %167 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %167, ptr noundef @.str.23)
          to label %168 unwind label %190

168:                                              ; preds = %166
  invoke void @__cxa_throw(ptr %167, ptr @_ZTISt13runtime_error, ptr @_ZNSt13runtime_errorD1Ev) #10
          to label %701 unwind label %177

169:                                              ; preds = %143
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %18, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %19, align 4
  br label %240

173:                                              ; preds = %155
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %18, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %19, align 4
  br label %237

177:                                              ; preds = %229, %226, %168, %158
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %18, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %19, align 4
  br label %236

181:                                              ; preds = %164
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %18, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %19, align 4
  br label %189

185:                                              ; preds = %165
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %18, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %19, align 4
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  br label %189

189:                                              ; preds = %185, %181
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  br label %236

190:                                              ; preds = %166
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %18, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %19, align 4
  call void @__cxa_free_exception(ptr %167) #8
  br label %236

194:                                              ; No predecessors!
  br label %195

195:                                              ; preds = %194
  br label %196

196:                                              ; preds = %195, %161
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %197 = load ptr, ptr %7, align 8, !tbaa !5
  %198 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %197)
          to label %199 unwind label %209

199:                                              ; preds = %196
  store ptr %198, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %200 = load ptr, ptr %25, align 8, !tbaa !5
  %201 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %200) #8
  %202 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.319", ptr %26, i32 0, i32 0
  store ptr %201, ptr %202, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %203 = load ptr, ptr %25, align 8, !tbaa !5
  %204 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %203) #8
  %205 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.319", ptr %27, i32 0, i32 0
  store ptr %204, ptr %205, align 8
  br label %206

206:                                              ; preds = %219, %199
  %207 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  br i1 %207, label %213, label %208

208:                                              ; preds = %206
  store i32 23, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %226

209:                                              ; preds = %196
  %210 = landingpad { ptr, i32 }
          cleanup
  %211 = extractvalue { ptr, i32 } %210, 0
  store ptr %211, ptr %18, align 8
  %212 = extractvalue { ptr, i32 } %210, 1
  store i32 %212, ptr %19, align 4
  br label %225

213:                                              ; preds = %206
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  %214 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  store ptr %214, ptr %28, align 8, !tbaa !5
  %215 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %21)
          to label %216 unwind label %221

216:                                              ; preds = %213
  %217 = load ptr, ptr %28, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %215, ptr noundef nonnull align 8 dereferenceable(28) %217)
          to label %218 unwind label %221

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

219:                                              ; preds = %218
  %220 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  br label %206

221:                                              ; preds = %216, %213
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %18, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %225

225:                                              ; preds = %221, %209
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %236

226:                                              ; preds = %208
  %227 = load ptr, ptr %7, align 8, !tbaa !5
  %228 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %227, ptr noundef nonnull align 8 dereferenceable(544) %21)
          to label %229 unwind label %177

229:                                              ; preds = %226
  %230 = load ptr, ptr %5, align 8, !tbaa !5
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %234 = trunc i8 %233 to i1
  invoke void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %230, ptr noundef nonnull align 8 dereferenceable(480) %231, ptr noundef nonnull align 8 dereferenceable(544) %232, i1 noundef zeroext %234)
          to label %235 unwind label %177

235:                                              ; preds = %229
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  br label %238

236:                                              ; preds = %225, %190, %189, %177
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %21) #8
  br label %237

237:                                              ; preds = %236, %173
  call void @llvm.lifetime.end.p0(i64 544, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br label %240

238:                                              ; preds = %235, %153
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  br label %239

239:                                              ; preds = %238
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %138, !llvm.loop !16

240:                                              ; preds = %237, %169
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #8
  br label %692

241:                                              ; preds = %142
  br label %242

242:                                              ; preds = %241
  store i8 0, ptr %14, align 1, !tbaa !9
  br label %131, !llvm.loop !17

243:                                              ; preds = %134
  br label %690

244:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %29) #8
  store i8 1, ptr %29, align 1, !tbaa !9
  br label %245

245:                                              ; preds = %260, %244
  %246 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %247 = trunc i8 %246 to i1
  br i1 %247, label %249, label %248

248:                                              ; preds = %245
  store i32 25, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %29) #8
  br label %261

249:                                              ; preds = %245
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %250 = load ptr, ptr %11, align 8, !tbaa !5
  %251 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3AST7Pattern4Data6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(504) %250)
  store ptr %251, ptr %30, align 8, !tbaa !5
  br label %252

252:                                              ; preds = %258, %249
  %253 = load ptr, ptr %30, align 8, !tbaa !5
  %254 = load i8, ptr %29, align 1, !tbaa !9, !range !11, !noundef !12
  %255 = trunc i8 %254 to i1
  br i1 %255, label %257, label %256

256:                                              ; preds = %252
  store i32 28, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  br label %259

257:                                              ; preds = %252
  br label %258

258:                                              ; preds = %257
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %252, !llvm.loop !18

259:                                              ; preds = %256
  br label %260

260:                                              ; preds = %259
  store i8 0, ptr %29, align 1, !tbaa !9
  br label %245, !llvm.loop !19

261:                                              ; preds = %248
  br label %690

262:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #8
  store i8 1, ptr %31, align 1, !tbaa !9
  br label %263

263:                                              ; preds = %285, %262
  %264 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %265 = trunc i8 %264 to i1
  br i1 %265, label %267, label %266

266:                                              ; preds = %263
  store i32 31, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #8
  br label %286

267:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %268 = load ptr, ptr %11, align 8, !tbaa !5
  %269 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST7Pattern4Data6as_BoxEv(ptr noundef nonnull align 8 dereferenceable(504) %268)
  store ptr %269, ptr %32, align 8, !tbaa !5
  br label %270

270:                                              ; preds = %283, %267
  %271 = load ptr, ptr %32, align 8, !tbaa !5
  %272 = load i8, ptr %31, align 1, !tbaa !9, !range !11, !noundef !12
  %273 = trunc i8 %272 to i1
  br i1 %273, label %275, label %274

274:                                              ; preds = %270
  store i32 34, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %284

275:                                              ; preds = %270
  %276 = load ptr, ptr %5, align 8, !tbaa !5
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = load ptr, ptr %32, align 8, !tbaa !5
  %279 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Box", ptr %278, i32 0, i32 0
  %280 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNKSt10unique_ptrIN3AST7PatternESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %279) #8
  %281 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %282 = trunc i8 %281 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %276, ptr noundef nonnull align 8 dereferenceable(480) %277, ptr noundef nonnull align 8 dereferenceable(544) %280, i1 noundef zeroext %282)
  br label %283

283:                                              ; preds = %275
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %270, !llvm.loop !20

284:                                              ; preds = %274
  br label %285

285:                                              ; preds = %284
  store i8 0, ptr %31, align 1, !tbaa !9
  br label %263, !llvm.loop !21

286:                                              ; preds = %266
  br label %690

287:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  store i8 1, ptr %33, align 1, !tbaa !9
  br label %288

288:                                              ; preds = %310, %287
  %289 = load i8, ptr %33, align 1, !tbaa !9, !range !11, !noundef !12
  %290 = trunc i8 %289 to i1
  br i1 %290, label %292, label %291

291:                                              ; preds = %288
  store i32 37, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %311

292:                                              ; preds = %288
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %293 = load ptr, ptr %11, align 8, !tbaa !5
  %294 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data6as_RefEv(ptr noundef nonnull align 8 dereferenceable(504) %293)
  store ptr %294, ptr %34, align 8, !tbaa !5
  br label %295

295:                                              ; preds = %308, %292
  %296 = load ptr, ptr %34, align 8, !tbaa !5
  %297 = load i8, ptr %33, align 1, !tbaa !9, !range !11, !noundef !12
  %298 = trunc i8 %297 to i1
  br i1 %298, label %300, label %299

299:                                              ; preds = %295
  store i32 40, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %309

300:                                              ; preds = %295
  %301 = load ptr, ptr %5, align 8, !tbaa !5
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = load ptr, ptr %34, align 8, !tbaa !5
  %304 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Ref", ptr %303, i32 0, i32 1
  %305 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNKSt10unique_ptrIN3AST7PatternESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %304) #8
  %306 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %307 = trunc i8 %306 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %301, ptr noundef nonnull align 8 dereferenceable(480) %302, ptr noundef nonnull align 8 dereferenceable(544) %305, i1 noundef zeroext %307)
  br label %308

308:                                              ; preds = %300
  store i8 0, ptr %33, align 1, !tbaa !9
  br label %295, !llvm.loop !22

309:                                              ; preds = %299
  br label %310

310:                                              ; preds = %309
  store i8 0, ptr %33, align 1, !tbaa !9
  br label %288, !llvm.loop !23

311:                                              ; preds = %291
  br label %690

312:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #8
  store i8 1, ptr %35, align 1, !tbaa !9
  br label %313

313:                                              ; preds = %328, %312
  %314 = load i8, ptr %35, align 1, !tbaa !9, !range !11, !noundef !12
  %315 = trunc i8 %314 to i1
  br i1 %315, label %317, label %316

316:                                              ; preds = %313
  store i32 43, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #8
  br label %329

317:                                              ; preds = %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #8
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = call noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(504) %318)
  store ptr %319, ptr %36, align 8, !tbaa !5
  br label %320

320:                                              ; preds = %326, %317
  %321 = load ptr, ptr %36, align 8, !tbaa !5
  %322 = load i8, ptr %35, align 1, !tbaa !9, !range !11, !noundef !12
  %323 = trunc i8 %322 to i1
  br i1 %323, label %325, label %324

324:                                              ; preds = %320
  store i32 46, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #8
  br label %327

325:                                              ; preds = %320
  br label %326

326:                                              ; preds = %325
  store i8 0, ptr %35, align 1, !tbaa !9
  br label %320, !llvm.loop !24

327:                                              ; preds = %324
  br label %328

328:                                              ; preds = %327
  store i8 0, ptr %35, align 1, !tbaa !9
  br label %313, !llvm.loop !25

329:                                              ; preds = %316
  br label %690

330:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #8
  store i8 1, ptr %37, align 1, !tbaa !9
  br label %331

331:                                              ; preds = %346, %330
  %332 = load i8, ptr %37, align 1, !tbaa !9, !range !11, !noundef !12
  %333 = trunc i8 %332 to i1
  br i1 %333, label %335, label %334

334:                                              ; preds = %331
  store i32 49, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #8
  br label %347

335:                                              ; preds = %331
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #8
  %336 = load ptr, ptr %11, align 8, !tbaa !5
  %337 = call noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data15as_ValueLeftIncEv(ptr noundef nonnull align 8 dereferenceable(504) %336)
  store ptr %337, ptr %38, align 8, !tbaa !5
  br label %338

338:                                              ; preds = %344, %335
  %339 = load ptr, ptr %38, align 8, !tbaa !5
  %340 = load i8, ptr %37, align 1, !tbaa !9, !range !11, !noundef !12
  %341 = trunc i8 %340 to i1
  br i1 %341, label %343, label %342

342:                                              ; preds = %338
  store i32 52, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #8
  br label %345

343:                                              ; preds = %338
  br label %344

344:                                              ; preds = %343
  store i8 0, ptr %37, align 1, !tbaa !9
  br label %338, !llvm.loop !26

345:                                              ; preds = %342
  br label %346

346:                                              ; preds = %345
  store i8 0, ptr %37, align 1, !tbaa !9
  br label %331, !llvm.loop !27

347:                                              ; preds = %334
  br label %690

348:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #8
  store i8 1, ptr %39, align 1, !tbaa !9
  br label %349

349:                                              ; preds = %406, %348
  %350 = load i8, ptr %39, align 1, !tbaa !9, !range !11, !noundef !12
  %351 = trunc i8 %350 to i1
  br i1 %351, label %353, label %352

352:                                              ; preds = %349
  store i32 55, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #8
  br label %407

353:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #8
  %354 = load ptr, ptr %11, align 8, !tbaa !5
  %355 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZN3AST7Pattern4Data8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(504) %354)
  store ptr %355, ptr %40, align 8, !tbaa !5
  br label %356

356:                                              ; preds = %404, %353
  %357 = load ptr, ptr %40, align 8, !tbaa !5
  %358 = load i8, ptr %39, align 1, !tbaa !9, !range !11, !noundef !12
  %359 = trunc i8 %358 to i1
  br i1 %359, label %361, label %360

360:                                              ; preds = %356
  store i32 58, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #8
  br label %405

361:                                              ; preds = %356
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #8
  %362 = load ptr, ptr %40, align 8, !tbaa !5
  %363 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %362, i32 0, i32 0
  store ptr %363, ptr %41, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #8
  %364 = load ptr, ptr %41, align 8, !tbaa !5
  %365 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %364) #8
  %366 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %42, i32 0, i32 0
  store ptr %365, ptr %366, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #8
  %367 = load ptr, ptr %41, align 8, !tbaa !5
  %368 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %367) #8
  %369 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %43, i32 0, i32 0
  store ptr %368, ptr %369, align 8
  br label %370

370:                                              ; preds = %380, %361
  %371 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %42, ptr noundef nonnull align 8 dereferenceable(8) %43) #8
  br i1 %371, label %373, label %372

372:                                              ; preds = %370
  store i32 61, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #8
  br label %382

373:                                              ; preds = %370
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #8
  %374 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  store ptr %374, ptr %44, align 8, !tbaa !5
  %375 = load ptr, ptr %5, align 8, !tbaa !5
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = load ptr, ptr %44, align 8, !tbaa !5
  %378 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %379 = trunc i8 %378 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %375, ptr noundef nonnull align 8 dereferenceable(480) %376, ptr noundef nonnull align 8 dereferenceable(544) %377, i1 noundef zeroext %379)
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #8
  br label %380

380:                                              ; preds = %373
  %381 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %42) #8
  br label %370

382:                                              ; preds = %372
  call void @llvm.lifetime.start.p0(i64 8, ptr %45) #8
  %383 = load ptr, ptr %40, align 8, !tbaa !5
  %384 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %383, i32 0, i32 2
  store ptr %384, ptr %45, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #8
  %385 = load ptr, ptr %45, align 8, !tbaa !5
  %386 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %385) #8
  %387 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %46, i32 0, i32 0
  store ptr %386, ptr %387, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #8
  %388 = load ptr, ptr %45, align 8, !tbaa !5
  %389 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %388) #8
  %390 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %47, i32 0, i32 0
  store ptr %389, ptr %390, align 8
  br label %391

391:                                              ; preds = %401, %382
  %392 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %46, ptr noundef nonnull align 8 dereferenceable(8) %47) #8
  br i1 %392, label %394, label %393

393:                                              ; preds = %391
  store i32 63, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %45) #8
  br label %403

394:                                              ; preds = %391
  call void @llvm.lifetime.start.p0(i64 8, ptr %48) #8
  %395 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  store ptr %395, ptr %48, align 8, !tbaa !5
  %396 = load ptr, ptr %5, align 8, !tbaa !5
  %397 = load ptr, ptr %6, align 8, !tbaa !5
  %398 = load ptr, ptr %48, align 8, !tbaa !5
  %399 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %400 = trunc i8 %399 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %396, ptr noundef nonnull align 8 dereferenceable(480) %397, ptr noundef nonnull align 8 dereferenceable(544) %398, i1 noundef zeroext %400)
  call void @llvm.lifetime.end.p0(i64 8, ptr %48) #8
  br label %401

401:                                              ; preds = %394
  %402 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %46) #8
  br label %391

403:                                              ; preds = %393
  br label %404

404:                                              ; preds = %403
  store i8 0, ptr %39, align 1, !tbaa !9
  br label %356, !llvm.loop !28

405:                                              ; preds = %360
  br label %406

406:                                              ; preds = %405
  store i8 0, ptr %39, align 1, !tbaa !9
  br label %349, !llvm.loop !29

407:                                              ; preds = %352
  br label %690

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

409:                                              ; preds = %468, %408
  %410 = load i8, ptr %49, align 1, !tbaa !9, !range !11, !noundef !12
  %411 = trunc i8 %410 to i1
  br i1 %411, label %413, label %412

412:                                              ; preds = %409
  store i32 65, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #8
  br label %469

413:                                              ; preds = %409
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #8
  %414 = load ptr, ptr %11, align 8, !tbaa !5
  %415 = call noundef nonnull align 8 dereferenceable(296) ptr @_ZN3AST7Pattern4Data14as_StructTupleEv(ptr noundef nonnull align 8 dereferenceable(504) %414)
  store ptr %415, ptr %50, align 8, !tbaa !5
  br label %416

416:                                              ; preds = %466, %413
  %417 = load ptr, ptr %50, align 8, !tbaa !5
  %418 = load i8, ptr %49, align 1, !tbaa !9, !range !11, !noundef !12
  %419 = trunc i8 %418 to i1
  br i1 %419, label %421, label %420

420:                                              ; preds = %416
  store i32 68, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #8
  br label %467

421:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #8
  %422 = load ptr, ptr %50, align 8, !tbaa !5
  %423 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_StructTuple", ptr %422, i32 0, i32 1
  %424 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %423, i32 0, i32 0
  store ptr %424, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #8
  %425 = load ptr, ptr %51, align 8, !tbaa !5
  %426 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %425) #8
  %427 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %52, i32 0, i32 0
  store ptr %426, ptr %427, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %53) #8
  %428 = load ptr, ptr %51, align 8, !tbaa !5
  %429 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %428) #8
  %430 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %53, i32 0, i32 0
  store ptr %429, ptr %430, align 8
  br label %431

431:                                              ; preds = %441, %421
  %432 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %53) #8
  br i1 %432, label %434, label %433

433:                                              ; preds = %431
  store i32 71, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %53) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #8
  br label %443

434:                                              ; preds = %431
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #8
  %435 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  store ptr %435, ptr %54, align 8, !tbaa !5
  %436 = load ptr, ptr %5, align 8, !tbaa !5
  %437 = load ptr, ptr %6, align 8, !tbaa !5
  %438 = load ptr, ptr %54, align 8, !tbaa !5
  %439 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %440 = trunc i8 %439 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %436, ptr noundef nonnull align 8 dereferenceable(480) %437, ptr noundef nonnull align 8 dereferenceable(544) %438, i1 noundef zeroext %440)
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #8
  br label %441

441:                                              ; preds = %434
  %442 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #8
  br label %431

443:                                              ; preds = %433
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #8
  %444 = load ptr, ptr %50, align 8, !tbaa !5
  %445 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_StructTuple", ptr %444, i32 0, i32 1
  %446 = getelementptr inbounds %"struct.AST::Pattern::TuplePat", ptr %445, i32 0, i32 2
  store ptr %446, ptr %55, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #8
  %447 = load ptr, ptr %55, align 8, !tbaa !5
  %448 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %447) #8
  %449 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %56, i32 0, i32 0
  store ptr %448, ptr %449, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  %450 = load ptr, ptr %55, align 8, !tbaa !5
  %451 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %450) #8
  %452 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %57, i32 0, i32 0
  store ptr %451, ptr %452, align 8
  br label %453

453:                                              ; preds = %463, %443
  %454 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull align 8 dereferenceable(8) %57) #8
  br i1 %454, label %456, label %455

455:                                              ; preds = %453
  store i32 73, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #8
  br label %465

456:                                              ; preds = %453
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #8
  %457 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  store ptr %457, ptr %58, align 8, !tbaa !5
  %458 = load ptr, ptr %5, align 8, !tbaa !5
  %459 = load ptr, ptr %6, align 8, !tbaa !5
  %460 = load ptr, ptr %58, align 8, !tbaa !5
  %461 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %462 = trunc i8 %461 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %458, ptr noundef nonnull align 8 dereferenceable(480) %459, ptr noundef nonnull align 8 dereferenceable(544) %460, i1 noundef zeroext %462)
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #8
  br label %463

463:                                              ; preds = %456
  %464 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %56) #8
  br label %453

465:                                              ; preds = %455
  br label %466

466:                                              ; preds = %465
  store i8 0, ptr %49, align 1, !tbaa !9
  br label %416, !llvm.loop !30

467:                                              ; preds = %420
  br label %468

468:                                              ; preds = %467
  store i8 0, ptr %49, align 1, !tbaa !9
  br label %409, !llvm.loop !31

469:                                              ; preds = %412
  br label %690

470:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %59) #8
  store i8 1, ptr %59, align 1, !tbaa !9
  br label %471

471:                                              ; preds = %551, %470
  %472 = load i8, ptr %59, align 1, !tbaa !9, !range !11, !noundef !12
  %473 = trunc i8 %472 to i1
  br i1 %473, label %475, label %474

474:                                              ; preds = %471
  store i32 75, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #8
  br label %552

475:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #8
  %476 = load ptr, ptr %11, align 8, !tbaa !5
  %477 = call noundef nonnull align 8 dereferenceable(265) ptr @_ZN3AST7Pattern4Data9as_StructEv(ptr noundef nonnull align 8 dereferenceable(504) %476)
  store ptr %477, ptr %60, align 8, !tbaa !5
  br label %478

478:                                              ; preds = %549, %475
  %479 = load ptr, ptr %60, align 8, !tbaa !5
  %480 = load i8, ptr %59, align 1, !tbaa !9, !range !11, !noundef !12
  %481 = trunc i8 %480 to i1
  br i1 %481, label %483, label %482

482:                                              ; preds = %478
  store i32 78, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  br label %550

483:                                              ; preds = %478
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #8
  %484 = load ptr, ptr %60, align 8, !tbaa !5
  %485 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Struct", ptr %484, i32 0, i32 1
  store ptr %485, ptr %61, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #8
  %486 = load ptr, ptr %61, align 8, !tbaa !5
  %487 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %486) #8
  %488 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %62, i32 0, i32 0
  store ptr %487, ptr %488, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #8
  %489 = load ptr, ptr %61, align 8, !tbaa !5
  %490 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %489) #8
  %491 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %63, i32 0, i32 0
  store ptr %490, ptr %491, align 8
  br label %492

492:                                              ; preds = %520, %483
  %493 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef nonnull align 8 dereferenceable(8) %63) #8
  br i1 %493, label %495, label %494

494:                                              ; preds = %492
  store i32 81, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  br label %522

495:                                              ; preds = %492
  call void @llvm.lifetime.start.p0(i64 8, ptr %64) #8
  %496 = call noundef nonnull align 8 dereferenceable(576) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  store ptr %496, ptr %64, align 8, !tbaa !5
  %497 = load ptr, ptr %5, align 8, !tbaa !5
  %498 = load ptr, ptr %64, align 8, !tbaa !5
  %499 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %498, i32 0, i32 0
  %500 = call noundef zeroext i1 @_Z20Expand_Attrs_CfgOnlyRK11ExpandStateRN3AST13AttributeListE(ptr noundef nonnull align 8 dereferenceable(30) %497, ptr noundef nonnull align 8 dereferenceable(24) %499)
  br i1 %500, label %510, label %501

501:                                              ; preds = %495
  call void @llvm.lifetime.start.p0(i64 8, ptr %65) #8
  call void @_ZN8RcStringC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %65)
  %502 = load ptr, ptr %64, align 8, !tbaa !5
  %503 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %502, i32 0, i32 1
  %504 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSEOS_(ptr noundef nonnull align 8 dereferenceable(8) %503, ptr noundef nonnull align 8 dereferenceable(8) %65)
          to label %505 unwind label %506

505:                                              ; preds = %501
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  store i32 82, ptr %10, align 4
  br label %517

506:                                              ; preds = %501
  %507 = landingpad { ptr, i32 }
          cleanup
  %508 = extractvalue { ptr, i32 } %507, 0
  store ptr %508, ptr %18, align 8
  %509 = extractvalue { ptr, i32 } %507, 1
  store i32 %509, ptr %19, align 4
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %65) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %59) #8
  br label %692

510:                                              ; preds = %495
  %511 = load ptr, ptr %5, align 8, !tbaa !5
  %512 = load ptr, ptr %6, align 8, !tbaa !5
  %513 = load ptr, ptr %64, align 8, !tbaa !5
  %514 = getelementptr inbounds %"struct.AST::StructPatternEntry", ptr %513, i32 0, i32 2
  %515 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %516 = trunc i8 %515 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %511, ptr noundef nonnull align 8 dereferenceable(480) %512, ptr noundef nonnull align 8 dereferenceable(544) %514, i1 noundef zeroext %516)
  store i32 0, ptr %10, align 4
  br label %517

517:                                              ; preds = %510, %505
  call void @llvm.lifetime.end.p0(i64 8, ptr %64) #8
  %518 = load i32, ptr %10, align 4
  switch i32 %518, label %701 [
    i32 0, label %519
    i32 82, label %520
  ]

519:                                              ; preds = %517
  br label %520

520:                                              ; preds = %519, %517
  %521 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %62) #8
  br label %492

522:                                              ; preds = %494
  call void @llvm.lifetime.start.p0(i64 8, ptr %66) #8
  %523 = load ptr, ptr %60, align 8, !tbaa !5
  %524 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Struct", ptr %523, i32 0, i32 1
  %525 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %524) #8
  %526 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %67, i32 0, i32 0
  store ptr %525, ptr %526, align 8
  %527 = load ptr, ptr %60, align 8, !tbaa !5
  %528 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Struct", ptr %527, i32 0, i32 1
  %529 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %528) #8
  %530 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %68, i32 0, i32 0
  store ptr %529, ptr %530, align 8
  %531 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %67, i32 0, i32 0
  %532 = load ptr, ptr %531, align 8
  %533 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %68, i32 0, i32 0
  %534 = load ptr, ptr %533, align 8
  %535 = call ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS3_SaIS3_EEEEZ14Expand_PatternRK11ExpandStateRNS2_6ModuleERNS2_7PatternEbE3$_1ET_SH_SH_T0_"(ptr %532, ptr %534)
  %536 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %66, i32 0, i32 0
  store ptr %535, ptr %536, align 8
  %537 = load ptr, ptr %60, align 8, !tbaa !5
  %538 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Struct", ptr %537, i32 0, i32 1
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull align 8 dereferenceable(8) %66) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %72) #8
  %539 = load ptr, ptr %60, align 8, !tbaa !5
  %540 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Struct", ptr %539, i32 0, i32 1
  %541 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %540) #8
  %542 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %72, i32 0, i32 0
  store ptr %541, ptr %542, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %72) #8
  %543 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.324", ptr %70, i32 0, i32 0
  %544 = load ptr, ptr %543, align 8
  %545 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.324", ptr %71, i32 0, i32 0
  %546 = load ptr, ptr %545, align 8
  %547 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %538, ptr %544, ptr %546)
  %548 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.321", ptr %73, i32 0, i32 0
  store ptr %547, ptr %548, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %72) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %66) #8
  br label %549

549:                                              ; preds = %522
  store i8 0, ptr %59, align 1, !tbaa !9
  br label %478, !llvm.loop !32

550:                                              ; preds = %482
  br label %551

551:                                              ; preds = %550
  store i8 0, ptr %59, align 1, !tbaa !9
  br label %471, !llvm.loop !33

552:                                              ; preds = %474
  br label %690

553:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %74) #8
  store i8 1, ptr %74, align 1, !tbaa !9
  br label %554

554:                                              ; preds = %590, %553
  %555 = load i8, ptr %74, align 1, !tbaa !9, !range !11, !noundef !12
  %556 = trunc i8 %555 to i1
  br i1 %556, label %558, label %557

557:                                              ; preds = %554
  store i32 83, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %74) #8
  br label %591

558:                                              ; preds = %554
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #8
  %559 = load ptr, ptr %11, align 8, !tbaa !5
  %560 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern4Data8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(504) %559)
  store ptr %560, ptr %75, align 8, !tbaa !5
  br label %561

561:                                              ; preds = %588, %558
  %562 = load ptr, ptr %75, align 8, !tbaa !5
  %563 = load i8, ptr %74, align 1, !tbaa !9, !range !11, !noundef !12
  %564 = trunc i8 %563 to i1
  br i1 %564, label %566, label %565

565:                                              ; preds = %561
  store i32 86, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #8
  br label %589

566:                                              ; preds = %561
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #8
  %567 = load ptr, ptr %75, align 8, !tbaa !5
  %568 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_Slice", ptr %567, i32 0, i32 0
  store ptr %568, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %77) #8
  %569 = load ptr, ptr %76, align 8, !tbaa !5
  %570 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %569) #8
  %571 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %77, i32 0, i32 0
  store ptr %570, ptr %571, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %78) #8
  %572 = load ptr, ptr %76, align 8, !tbaa !5
  %573 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %572) #8
  %574 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %78, i32 0, i32 0
  store ptr %573, ptr %574, align 8
  br label %575

575:                                              ; preds = %585, %566
  %576 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef nonnull align 8 dereferenceable(8) %78) #8
  br i1 %576, label %578, label %577

577:                                              ; preds = %575
  store i32 89, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %78) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #8
  br label %587

578:                                              ; preds = %575
  call void @llvm.lifetime.start.p0(i64 8, ptr %79) #8
  %579 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  store ptr %579, ptr %79, align 8, !tbaa !5
  %580 = load ptr, ptr %5, align 8, !tbaa !5
  %581 = load ptr, ptr %6, align 8, !tbaa !5
  %582 = load ptr, ptr %79, align 8, !tbaa !5
  %583 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %584 = trunc i8 %583 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %580, ptr noundef nonnull align 8 dereferenceable(480) %581, ptr noundef nonnull align 8 dereferenceable(544) %582, i1 noundef zeroext %584)
  call void @llvm.lifetime.end.p0(i64 8, ptr %79) #8
  br label %585

585:                                              ; preds = %578
  %586 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %77) #8
  br label %575

587:                                              ; preds = %577
  br label %588

588:                                              ; preds = %587
  store i8 0, ptr %74, align 1, !tbaa !9
  br label %561, !llvm.loop !34

589:                                              ; preds = %565
  br label %590

590:                                              ; preds = %589
  store i8 0, ptr %74, align 1, !tbaa !9
  br label %554, !llvm.loop !35

591:                                              ; preds = %557
  br label %690

592:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %80) #8
  store i8 1, ptr %80, align 1, !tbaa !9
  br label %593

593:                                              ; preds = %650, %592
  %594 = load i8, ptr %80, align 1, !tbaa !9, !range !11, !noundef !12
  %595 = trunc i8 %594 to i1
  br i1 %595, label %597, label %596

596:                                              ; preds = %593
  store i32 91, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %80) #8
  br label %651

597:                                              ; preds = %593
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #8
  %598 = load ptr, ptr %11, align 8, !tbaa !5
  %599 = call noundef nonnull align 8 dereferenceable(80) ptr @_ZN3AST7Pattern4Data13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(504) %598)
  store ptr %599, ptr %81, align 8, !tbaa !5
  br label %600

600:                                              ; preds = %648, %597
  %601 = load ptr, ptr %81, align 8, !tbaa !5
  %602 = load i8, ptr %80, align 1, !tbaa !9, !range !11, !noundef !12
  %603 = trunc i8 %602 to i1
  br i1 %603, label %605, label %604

604:                                              ; preds = %600
  store i32 94, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #8
  br label %649

605:                                              ; preds = %600
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #8
  %606 = load ptr, ptr %81, align 8, !tbaa !5
  %607 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_SplitSlice", ptr %606, i32 0, i32 0
  store ptr %607, ptr %82, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #8
  %608 = load ptr, ptr %82, align 8, !tbaa !5
  %609 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %608) #8
  %610 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %83, i32 0, i32 0
  store ptr %609, ptr %610, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #8
  %611 = load ptr, ptr %82, align 8, !tbaa !5
  %612 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %611) #8
  %613 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %84, i32 0, i32 0
  store ptr %612, ptr %613, align 8
  br label %614

614:                                              ; preds = %624, %605
  %615 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %83, ptr noundef nonnull align 8 dereferenceable(8) %84) #8
  br i1 %615, label %617, label %616

616:                                              ; preds = %614
  store i32 97, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #8
  br label %626

617:                                              ; preds = %614
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #8
  %618 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #8
  store ptr %618, ptr %85, align 8, !tbaa !5
  %619 = load ptr, ptr %5, align 8, !tbaa !5
  %620 = load ptr, ptr %6, align 8, !tbaa !5
  %621 = load ptr, ptr %85, align 8, !tbaa !5
  %622 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %623 = trunc i8 %622 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %619, ptr noundef nonnull align 8 dereferenceable(480) %620, ptr noundef nonnull align 8 dereferenceable(544) %621, i1 noundef zeroext %623)
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #8
  br label %624

624:                                              ; preds = %617
  %625 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %83) #8
  br label %614

626:                                              ; preds = %616
  call void @llvm.lifetime.start.p0(i64 8, ptr %86) #8
  %627 = load ptr, ptr %81, align 8, !tbaa !5
  %628 = getelementptr inbounds %"struct.AST::Pattern::Data::Data_SplitSlice", ptr %627, i32 0, i32 2
  store ptr %628, ptr %86, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #8
  %629 = load ptr, ptr %86, align 8, !tbaa !5
  %630 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %629) #8
  %631 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %87, i32 0, i32 0
  store ptr %630, ptr %631, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #8
  %632 = load ptr, ptr %86, align 8, !tbaa !5
  %633 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %632) #8
  %634 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %88, i32 0, i32 0
  store ptr %633, ptr %634, align 8
  br label %635

635:                                              ; preds = %645, %626
  %636 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 8 dereferenceable(8) %88) #8
  br i1 %636, label %638, label %637

637:                                              ; preds = %635
  store i32 99, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %86) #8
  br label %647

638:                                              ; preds = %635
  call void @llvm.lifetime.start.p0(i64 8, ptr %89) #8
  %639 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %87) #8
  store ptr %639, ptr %89, align 8, !tbaa !5
  %640 = load ptr, ptr %5, align 8, !tbaa !5
  %641 = load ptr, ptr %6, align 8, !tbaa !5
  %642 = load ptr, ptr %89, align 8, !tbaa !5
  %643 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %644 = trunc i8 %643 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %640, ptr noundef nonnull align 8 dereferenceable(480) %641, ptr noundef nonnull align 8 dereferenceable(544) %642, i1 noundef zeroext %644)
  call void @llvm.lifetime.end.p0(i64 8, ptr %89) #8
  br label %645

645:                                              ; preds = %638
  %646 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %87) #8
  br label %635

647:                                              ; preds = %637
  br label %648

648:                                              ; preds = %647
  store i8 0, ptr %80, align 1, !tbaa !9
  br label %600, !llvm.loop !36

649:                                              ; preds = %604
  br label %650

650:                                              ; preds = %649
  store i8 0, ptr %80, align 1, !tbaa !9
  br label %593, !llvm.loop !37

651:                                              ; preds = %596
  br label %690

652:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 1, ptr %90) #8
  store i8 1, ptr %90, align 1, !tbaa !9
  br label %653

653:                                              ; preds = %688, %652
  %654 = load i8, ptr %90, align 1, !tbaa !9, !range !11, !noundef !12
  %655 = trunc i8 %654 to i1
  br i1 %655, label %657, label %656

656:                                              ; preds = %653
  store i32 101, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %90) #8
  br label %689

657:                                              ; preds = %653
  call void @llvm.lifetime.start.p0(i64 8, ptr %91) #8
  %658 = load ptr, ptr %11, align 8, !tbaa !5
  %659 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern4Data5as_OrEv(ptr noundef nonnull align 8 dereferenceable(504) %658)
  store ptr %659, ptr %91, align 8, !tbaa !5
  br label %660

660:                                              ; preds = %686, %657
  %661 = load ptr, ptr %91, align 8, !tbaa !5
  %662 = load i8, ptr %90, align 1, !tbaa !9, !range !11, !noundef !12
  %663 = trunc i8 %662 to i1
  br i1 %663, label %665, label %664

664:                                              ; preds = %660
  store i32 104, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %91) #8
  br label %687

665:                                              ; preds = %660
  call void @llvm.lifetime.start.p0(i64 8, ptr %92) #8
  %666 = load ptr, ptr %91, align 8, !tbaa !5
  store ptr %666, ptr %92, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %93) #8
  %667 = load ptr, ptr %92, align 8, !tbaa !5
  %668 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %667) #8
  %669 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %93, i32 0, i32 0
  store ptr %668, ptr %669, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %94) #8
  %670 = load ptr, ptr %92, align 8, !tbaa !5
  %671 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %670) #8
  %672 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.320", ptr %94, i32 0, i32 0
  store ptr %671, ptr %672, align 8
  br label %673

673:                                              ; preds = %683, %665
  %674 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 8 dereferenceable(8) %94) #8
  br i1 %674, label %676, label %675

675:                                              ; preds = %673
  store i32 107, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %94) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %93) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %92) #8
  br label %685

676:                                              ; preds = %673
  call void @llvm.lifetime.start.p0(i64 8, ptr %95) #8
  %677 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #8
  store ptr %677, ptr %95, align 8, !tbaa !5
  %678 = load ptr, ptr %5, align 8, !tbaa !5
  %679 = load ptr, ptr %6, align 8, !tbaa !5
  %680 = load ptr, ptr %95, align 8, !tbaa !5
  %681 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %682 = trunc i8 %681 to i1
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %678, ptr noundef nonnull align 8 dereferenceable(480) %679, ptr noundef nonnull align 8 dereferenceable(544) %680, i1 noundef zeroext %682)
  call void @llvm.lifetime.end.p0(i64 8, ptr %95) #8
  br label %683

683:                                              ; preds = %676
  %684 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #8
  br label %673

685:                                              ; preds = %675
  br label %686

686:                                              ; preds = %685
  store i8 0, ptr %90, align 1, !tbaa !9
  br label %660, !llvm.loop !38

687:                                              ; preds = %664
  br label %688

688:                                              ; preds = %687
  store i8 0, ptr %90, align 1, !tbaa !9
  br label %653, !llvm.loop !39

689:                                              ; preds = %656
  br label %690

690:                                              ; preds = %689, %651, %591, %552, %469, %407, %347, %329, %311, %286, %261, %243, %129, %108
  br label %691

691:                                              ; preds = %690
  store i8 0, ptr %9, align 1, !tbaa !9
  br label %104, !llvm.loop !40

692:                                              ; preds = %506, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #8
  br label %696

693:                                              ; preds = %107
  br label %694

694:                                              ; preds = %693
  store i8 0, ptr %9, align 1, !tbaa !9
  br label %97, !llvm.loop !41

695:                                              ; preds = %100
  ret void

696:                                              ; preds = %692
  %697 = load ptr, ptr %18, align 8
  %698 = load i32, ptr %19, align 4
  %699 = insertvalue { ptr, i32 } poison, ptr %697, 0
  %700 = insertvalue { ptr, i32 } %699, i32 %698, 1
  resume { ptr, i32 } %700

701:                                              ; preds = %517, %168
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS3_SaIS3_EEEEZ14Expand_PatternRK11ExpandStateRNS2_6ModuleERNS2_7PatternEbE3$_1ET_SH_SH_T0_"(ptr, ptr) #7

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

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

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

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

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

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

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

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

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


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

%"class.std::unique_ptr.273" = type { %"struct.std::__uniq_ptr_data.274" }
%"struct.std::__uniq_ptr_data.274" = type { %"class.std::__uniq_ptr_impl.275" }
%"class.std::__uniq_ptr_impl.275" = type { %"class.std::tuple.276" }
%"class.std::tuple.276" = type { %"struct.std::_Tuple_impl.277" }
%"struct.std::_Tuple_impl.277" = type { %"struct.std::_Head_base.280" }
%"struct.std::_Head_base.280" = type { ptr }
%struct.Span = type { ptr }
%"class.AST::Pattern" = type { ptr, %struct.Span, %"class.std::vector.294", %"class.AST::Pattern::Data" }
%"class.std::vector.294" = type { %"struct.std::_Vector_base.295" }
%"struct.std::_Vector_base.295" = 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.124", %"class.std::unique_ptr.132", %"class.std::vector.119" }
%"class.std::unique_ptr.124" = type { %"struct.std::__uniq_ptr_data.125" }
%"struct.std::__uniq_ptr_data.125" = type { %"class.std::__uniq_ptr_impl.126" }
%"class.std::__uniq_ptr_impl.126" = type { %"class.std::tuple.127" }
%"class.std::tuple.127" = type { %"struct.std::_Tuple_impl.128" }
%"struct.std::_Tuple_impl.128" = type { %"struct.std::_Head_base.131" }
%"struct.std::_Head_base.131" = type { ptr }
%"class.std::unique_ptr.132" = type { %"struct.std::__uniq_ptr_data.133" }
%"struct.std::__uniq_ptr_data.133" = type { %"class.std::__uniq_ptr_impl.134" }
%"class.std::__uniq_ptr_impl.134" = type { %"class.std::tuple.135" }
%"class.std::tuple.135" = type { %"struct.std::_Tuple_impl.136" }
%"struct.std::_Tuple_impl.136" = type { %"struct.std::_Head_base.139" }
%"struct.std::_Head_base.139" = type { ptr }
%"class.std::vector.119" = type { %"struct.std::_Vector_base.120" }
%"struct.std::_Vector_base.120" = 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.140", %"struct.AST::PathBinding.141" }
%"struct.AST::PathBinding" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Value" }
%"struct.AST::AbsolutePath" = type { %class.RcString, %"class.std::vector" }
%class.RcString = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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.140" = 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.141" = type { %"struct.AST::AbsolutePath", %"class.AST::PathBinding_Macro" }
%"class.AST::PathBinding_Macro" = type { i32, %"union.AST::PathBinding_Macro::DataUnion" }
%"union.AST::PathBinding_Macro::DataUnion" = type { %"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" }
%"struct.AST::PathBinding_Macro::Data_ProcMacroDerive" = type { ptr, %class.RcString }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%class.anon.317 = type { i8 }
%"class.__gnu_cxx::__normal_iterator.319" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.320" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.321" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.324" = type { ptr }

@_ZTISt13runtime_error = external constant ptr
@.str.20 = external hidden unnamed_addr constant [39 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb = external hidden unnamed_addr constant [82 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z20Expand_Attrs_CfgOnlyRK11ExpandStateRN3AST13AttributeListE(ptr noundef nonnull align 8 dereferenceable(30), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #3

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

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

declare void @__cxa_free_exception(ptr) local_unnamed_addr

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %2, i1 noundef zeroext %3) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
.lr.ph398:
  %4 = alloca %struct.Span, align 8
  %5 = alloca %"class.std::unique_ptr.273", align 8
  %6 = alloca %"class.AST::Pattern", align 8
  %7 = alloca %struct.Span, align 8
  %8 = alloca %"class.std::function", align 8
  %9 = alloca %class.anon.317, align 1
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.319", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator.319", align 8
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %20 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %22 = alloca %class.RcString, align 8
  %23 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.324", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.324", align 8
  %26 = alloca %"class.__gnu_cxx::__normal_iterator.321", align 8
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %32 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.320", align 8
  br label %tailrecurse

tailrecurse:                                      ; preds = %.preheader207, %.preheader209, %.lr.ph398
  %.tr405 = phi ptr [ %2, %.lr.ph398 ], [ %49, %.preheader209 ], [ %51, %.preheader207 ]
  %35 = tail call noundef nonnull align 8 dereferenceable(504) ptr @_ZN3AST7Pattern4dataEv(ptr noundef nonnull align 8 dereferenceable(544) %.tr405)
  %36 = tail call noundef i32 @_ZNK3AST7Pattern4Data3tagEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  switch i32 %36, label %.loopexit227 [
    i32 0, label %54
    i32 1, label %.preheader
    i32 2, label %.lr.ph377
    i32 3, label %.preheader205
    i32 4, label %.preheader207
    i32 5, label %.preheader209
    i32 6, label %.preheader211
    i32 7, label %.preheader213
    i32 8, label %.lr.ph290
    i32 9, label %.lr.ph281
    i32 10, label %.lr.ph272
    i32 11, label %.preheader221
    i32 12, label %.lr.ph247
    i32 13, label %.preheader225
  ]

.loopexit227:                                     ; preds = %.preheader213, %.preheader211, %.preheader205, %.preheader, %tailrecurse, %..loopexit199_crit_edge, %..loopexit201_crit_edge, %..loopexit189_crit_edge, %..loopexit196_crit_edge, %..loopexit197_crit_edge, %..loopexit198_crit_edge, %..loopexit200_crit_edge
  ret void

.preheader225:                                    ; preds = %tailrecurse
  %37 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern4Data5as_OrEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %33) #8
  %38 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  store ptr %38, ptr %33, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %34) #8
  %39 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %37) #8
  store ptr %39, ptr %34, align 8
  %40 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br i1 %40, label %.lr.ph, label %..loopexit201_crit_edge

.preheader221:                                    ; preds = %tailrecurse
  %41 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern4Data8as_SliceEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %27) #8
  %42 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  store ptr %42, ptr %27, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %28) #8
  %43 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #8
  store ptr %43, ptr %28, align 8
  %44 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br i1 %44, label %.lr.ph250, label %..loopexit199_crit_edge

.preheader213:                                    ; preds = %tailrecurse
  %45 = tail call noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data15as_ValueLeftIncEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  br label %.loopexit227

.preheader211:                                    ; preds = %tailrecurse
  %46 = tail call noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  br label %.loopexit227

.preheader209:                                    ; preds = %tailrecurse
  %47 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data6as_RefEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = tail call noundef nonnull align 8 dereferenceable(544) ptr @_ZNKSt10unique_ptrIN3AST7PatternESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #8
  br label %tailrecurse

.preheader207:                                    ; preds = %tailrecurse
  %50 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST7Pattern4Data6as_BoxEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %51 = tail call noundef nonnull align 8 dereferenceable(544) ptr @_ZNKSt10unique_ptrIN3AST7PatternESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #8
  br label %tailrecurse

.preheader205:                                    ; preds = %tailrecurse
  %52 = tail call noundef nonnull align 1 dereferenceable(1) ptr @_ZN3AST7Pattern4Data6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  br label %.loopexit227

.preheader:                                       ; preds = %tailrecurse
  %53 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data12as_MaybeBindEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  br label %.loopexit227

54:                                               ; preds = %tailrecurse
  tail call void @__assert_fail(ptr noundef nonnull @.str.20, ptr noundef nonnull @.str.21, i32 noundef 477, ptr noundef nonnull @__PRETTY_FUNCTION__._Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb) #9
  unreachable

.lr.ph377:                                        ; preds = %tailrecurse
  %55 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN3AST7Pattern4Data8as_MacroEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %56 = tail call noundef ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEptEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3AST15MacroInvocation4spanEv(ptr noundef nonnull align 8 dereferenceable(393) %56)
  call void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %57)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  %58 = call noundef nonnull align 8 dereferenceable(393) ptr @_ZNKSt10unique_ptrIN3AST15MacroInvocationESt14default_deleteIS1_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %55) #8
  invoke void @_Z12Expand_MacroRK11ExpandStateRN3AST6ModuleERNS2_15MacroInvocationE(ptr dead_on_unwind nonnull writable sret(%"class.std::unique_ptr.273") align 8 %5, ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(393) %58)
          to label %59 unwind label %71

59:                                               ; preds = %.lr.ph377
  %60 = call noundef zeroext i1 @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEcvbEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br i1 %60, label %61, label %..loopexit189_crit_edge

61:                                               ; preds = %59
  %62 = call noundef nonnull align 8 dereferenceable(176) ptr @_ZNKSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.start.p0(i64 544, ptr nonnull %6) #8
  invoke void @_Z13Parse_PatternR11TokenStream14AllowOrPattern(ptr dead_on_unwind nonnull writable sret(%"class.AST::Pattern") align 8 %6, ptr noundef nonnull align 8 dereferenceable(176) %62, i32 noundef 1)
          to label %63 unwind label %73

63:                                               ; preds = %61
  %64 = invoke noundef i32 @_ZN11TokenStream9lookaheadEj(ptr noundef nonnull align 8 dereferenceable(176) %62, i32 noundef 0)
          to label %65 unwind label %.loopexit190

65:                                               ; preds = %63
  %.not = icmp eq i32 %64, 1
  br i1 %.not, label %82, label %66

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #8
  invoke void @_ZN4SpanC1ERKS_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %67 unwind label %75

67:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #8
  call void @"_ZNSt8functionIFvRSoEEC2IZ14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS7_7PatternEbE3$_0vEEOT_"(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 1 dereferenceable(1) %9) #8
  invoke void @_ZNK4Span5errorE9ErrorTypeSt8functionIFvRSoEE(ptr noundef nonnull align 8 dereferenceable(8) %7, i32 noundef 0, ptr noundef nonnull %8)
          to label %68 unwind label %77

68:                                               ; preds = %67
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #8
  %69 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt13runtime_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %69, ptr noundef nonnull @.str.23)
          to label %70 unwind label %80

70:                                               ; preds = %68
  invoke void @__cxa_throw(ptr nonnull %69, ptr nonnull @_ZTISt13runtime_error, ptr nonnull @_ZNSt13runtime_errorD1Ev) #10
          to label %171 unwind label %.loopexit.split-lp

71:                                               ; preds = %.lr.ph377
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %99

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

.loopexit190:                                     ; preds = %63, %._crit_edge375, %95
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %97

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

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

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt14_Function_baseD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  br label %79

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

80:                                               ; preds = %68
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @__cxa_free_exception(ptr %69) #8
  br label %97

82:                                               ; preds = %65
  %83 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %.tr405)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  %84 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  store ptr %84, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #8
  %85 = call ptr @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %83) #8
  store ptr %85, ptr %11, align 8
  %86 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br i1 %86, label %.lr.ph374, label %._crit_edge375

._crit_edge375:                                   ; preds = %90, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  %87 = invoke noundef nonnull align 8 dereferenceable(544) ptr @_ZN3AST7PatternaSEOS0_(ptr noundef nonnull align 8 dereferenceable(544) %.tr405, ptr noundef nonnull align 8 dereferenceable(544) %6)
          to label %95 unwind label %.loopexit190

.lr.ph374:                                        ; preds = %82, %90
  %88 = call noundef nonnull align 8 dereferenceable(28) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %89 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZN3AST7Pattern8bindingsEv(ptr noundef nonnull align 8 dereferenceable(544) %6)
  invoke void @_ZNSt6vectorIN3AST14PatternBindingESaIS1_EE9push_backEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %89, ptr noundef nonnull align 8 dereferenceable(28) %88)
          to label %90 unwind label %93

90:                                               ; preds = %.lr.ph374
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #8
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #8
  br i1 %92, label %.lr.ph374, label %._crit_edge375

93:                                               ; preds = %.lr.ph374
  %94 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %97

95:                                               ; preds = %._crit_edge375
  invoke void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %.tr405, i1 noundef zeroext %3)
          to label %96 unwind label %.loopexit190

96:                                               ; preds = %95
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %6) #8
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %6) #8
  br label %..loopexit189_crit_edge

97:                                               ; preds = %.loopexit190, %.loopexit.split-lp, %93, %80, %79
  %.pn185 = phi { ptr, i32 } [ %81, %80 ], [ %.pn, %79 ], [ %94, %93 ], [ %lpad.loopexit, %.loopexit190 ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN3AST7PatternD1Ev(ptr noundef nonnull align 8 dereferenceable(544) %6) #8
  br label %98

98:                                               ; preds = %97, %73
  %.pn185.pn = phi { ptr, i32 } [ %.pn185, %97 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 544, ptr nonnull %6) #8
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  br label %99

..loopexit189_crit_edge:                          ; preds = %96, %59
  call void @_ZNSt10unique_ptrI11TokenStreamSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %.loopexit227

99:                                               ; preds = %98, %71
  %.pn185.pn.pn = phi { ptr, i32 } [ %.pn185.pn, %98 ], [ %72, %71 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN4SpanD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  resume { ptr, i32 } %.pn185.pn.pn

.lr.ph290:                                        ; preds = %tailrecurse
  %100 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZN3AST7Pattern4Data8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %101 = getelementptr inbounds i8, ptr %100, i64 32
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #8
  %102 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #8
  store ptr %102, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  %103 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %100) #8
  store ptr %103, ptr %13, align 8
  %104 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %104, label %.lr.ph284, label %._crit_edge285

._crit_edge285:                                   ; preds = %.lr.ph284, %.lr.ph290
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #8
  %105 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  store ptr %105, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #8
  %106 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %101) #8
  store ptr %106, ptr %15, align 8
  %107 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br i1 %107, label %.lr.ph287, label %..loopexit196_crit_edge

.lr.ph284:                                        ; preds = %.lr.ph290, %.lr.ph284
  %108 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %108, i1 noundef zeroext %3)
  %109 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #8
  %110 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13) #8
  br i1 %110, label %.lr.ph284, label %._crit_edge285

..loopexit196_crit_edge:                          ; preds = %.lr.ph287, %._crit_edge285
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #8
  br label %.loopexit227

.lr.ph287:                                        ; preds = %._crit_edge285, %.lr.ph287
  %111 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %111, i1 noundef zeroext %3)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %14) #8
  %113 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #8
  br i1 %113, label %.lr.ph287, label %..loopexit196_crit_edge

.lr.ph281:                                        ; preds = %tailrecurse
  %114 = tail call noundef nonnull align 8 dereferenceable(296) ptr @_ZN3AST7Pattern4Data14as_StructTupleEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %115 = getelementptr inbounds i8, ptr %114, i64 240
  %116 = getelementptr inbounds i8, ptr %114, i64 272
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #8
  %117 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #8
  store ptr %117, ptr %16, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #8
  %118 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %115) #8
  store ptr %118, ptr %17, align 8
  %119 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br i1 %119, label %.lr.ph275, label %._crit_edge276

._crit_edge276:                                   ; preds = %.lr.ph275, %.lr.ph281
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #8
  %120 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #8
  store ptr %120, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #8
  %121 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %116) #8
  store ptr %121, ptr %19, align 8
  %122 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br i1 %122, label %.lr.ph278, label %..loopexit197_crit_edge

.lr.ph275:                                        ; preds = %.lr.ph281, %.lr.ph275
  %123 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %123, i1 noundef zeroext %3)
  %124 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  %125 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #8
  br i1 %125, label %.lr.ph275, label %._crit_edge276

..loopexit197_crit_edge:                          ; preds = %.lr.ph278, %._crit_edge276
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #8
  br label %.loopexit227

.lr.ph278:                                        ; preds = %._crit_edge276, %.lr.ph278
  %126 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %126, i1 noundef zeroext %3)
  %127 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #8
  %128 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(8) %19) #8
  br i1 %128, label %.lr.ph278, label %..loopexit197_crit_edge

.lr.ph272:                                        ; preds = %tailrecurse
  %129 = tail call noundef nonnull align 8 dereferenceable(265) ptr @_ZN3AST7Pattern4Data9as_StructEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %130 = getelementptr inbounds i8, ptr %129, i64 240
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #8
  %131 = tail call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #8
  store ptr %131, ptr %20, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #8
  %132 = tail call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #8
  store ptr %132, ptr %21, align 8
  %133 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br i1 %133, label %.lr.ph269, label %..loopexit198_crit_edge

..loopexit198_crit_edge:                          ; preds = %148, %.lr.ph272
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #8
  %134 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #8
  %135 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #8
  %136 = call ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS3_SaIS3_EEEEZ14Expand_PatternRK11ExpandStateRNS2_6ModuleERNS2_7PatternEbE3$_1ET_SH_SH_T0_"(ptr %134, ptr %135)
  store ptr %136, ptr %23, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %23) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #8
  %137 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %130) #8
  store ptr %137, ptr %26, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEC2IPS2_vEERKNS0_IT_S7_EE(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %26) #8
  %138 = load ptr, ptr %24, align 8
  %139 = load ptr, ptr %25, align 8
  %140 = call ptr @_ZNSt6vectorIN3AST18StructPatternEntryESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPKS1_S3_EES8_(ptr noundef nonnull align 8 dereferenceable(24) %130, ptr %138, ptr %139)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #8
  br label %.loopexit227

.lr.ph269:                                        ; preds = %.lr.ph272, %148
  %141 = call noundef nonnull align 8 dereferenceable(576) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %142 = call noundef zeroext i1 @_Z20Expand_Attrs_CfgOnlyRK11ExpandStateRN3AST13AttributeListE(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(24) %141)
  br i1 %142, label %146, label %143

143:                                              ; preds = %.lr.ph269
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #8
  call void @_ZN8RcStringC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %22)
  %144 = getelementptr inbounds i8, ptr %141, i64 24
  %145 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN8RcStringaSEOS_(ptr noundef nonnull align 8 dereferenceable(8) %144, ptr noundef nonnull align 8 dereferenceable(8) %22)
  call void @_ZN8RcStringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #8
  br label %148

146:                                              ; preds = %.lr.ph269
  %147 = getelementptr inbounds i8, ptr %141, i64 32
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %147, i1 noundef zeroext %3)
  br label %148

148:                                              ; preds = %146, %143
  %149 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %20) #8
  %150 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef nonnull align 8 dereferenceable(8) %21) #8
  br i1 %150, label %.lr.ph269, label %..loopexit198_crit_edge

..loopexit199_crit_edge:                          ; preds = %.lr.ph250, %.preheader221
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %27) #8
  br label %.loopexit227

.lr.ph250:                                        ; preds = %.preheader221, %.lr.ph250
  %151 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %151, i1 noundef zeroext %3)
  %152 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #8
  %153 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(8) %28) #8
  br i1 %153, label %.lr.ph250, label %..loopexit199_crit_edge

.lr.ph247:                                        ; preds = %tailrecurse
  %154 = tail call noundef nonnull align 8 dereferenceable(80) ptr @_ZN3AST7Pattern4Data13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(504) %35)
  %155 = getelementptr inbounds i8, ptr %154, i64 56
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %29) #8
  %156 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #8
  store ptr %156, ptr %29, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %30) #8
  %157 = tail call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %154) #8
  store ptr %157, ptr %30, align 8
  %158 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br i1 %158, label %.lr.ph241, label %._crit_edge242

._crit_edge242:                                   ; preds = %.lr.ph241, %.lr.ph247
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %29) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %31) #8
  %159 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #8
  store ptr %159, ptr %31, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %32) #8
  %160 = call ptr @_ZNSt6vectorIN3AST7PatternESaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #8
  store ptr %160, ptr %32, align 8
  %161 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br i1 %161, label %.lr.ph244, label %..loopexit200_crit_edge

.lr.ph241:                                        ; preds = %.lr.ph247, %.lr.ph241
  %162 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %162, i1 noundef zeroext %3)
  %163 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #8
  %164 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #8
  br i1 %164, label %.lr.ph241, label %._crit_edge242

..loopexit200_crit_edge:                          ; preds = %.lr.ph244, %._crit_edge242
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %32) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %31) #8
  br label %.loopexit227

.lr.ph244:                                        ; preds = %._crit_edge242, %.lr.ph244
  %165 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %165, i1 noundef zeroext %3)
  %166 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #8
  %167 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef nonnull align 8 dereferenceable(8) %32) #8
  br i1 %167, label %.lr.ph244, label %..loopexit200_crit_edge

..loopexit201_crit_edge:                          ; preds = %.lr.ph, %.preheader225
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %34) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %33) #8
  br label %.loopexit227

.lr.ph:                                           ; preds = %.preheader225, %.lr.ph
  %168 = call noundef nonnull align 8 dereferenceable(544) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  call void @_Z14Expand_PatternRK11ExpandStateRN3AST6ModuleERNS2_7PatternEb(ptr noundef nonnull align 8 dereferenceable(30) %0, ptr noundef nonnull align 8 dereferenceable(480) %1, ptr noundef nonnull align 8 dereferenceable(544) %168, i1 noundef zeroext %3)
  %169 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPN3AST7PatternESt6vectorIS2_SaIS2_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #8
  %170 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8) %33, ptr noundef nonnull align 8 dereferenceable(8) %34) #8
  br i1 %170, label %.lr.ph, label %..loopexit201_crit_edge

171:                                              ; preds = %70
  unreachable
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data12as_MaybeBindEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

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

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

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

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST14PatternBindingESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3AST7Pattern4Data6as_AnyEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN3AST7Pattern4Data6as_RefEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data8as_ValueEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(496) ptr @_ZN3AST7Pattern4Data15as_ValueLeftIncEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZN3AST7Pattern4Data8as_TupleEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST7PatternESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(296) ptr @_ZN3AST7Pattern4Data14as_StructTupleEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(265) ptr @_ZN3AST7Pattern4Data9as_StructEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIPN3AST18StructPatternEntryESt6vectorIS2_SaIS2_EEEEbRKNS_17__normal_iteratorIT_T0_EESC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden ptr @"_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPN3AST18StructPatternEntryESt6vectorIS3_SaIS3_EEEEZ14Expand_PatternRK11ExpandStateRNS2_6ModuleERNS2_7PatternEbE3$_1ET_SH_SH_T0_"(ptr, ptr) local_unnamed_addr #7

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(80) ptr @_ZN3AST7Pattern4Data13as_SplitSliceEv(ptr noundef nonnull align 8 dereferenceable(504)) local_unnamed_addr #5 align 2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass