; LLVM IR from vczh/herodb :: Kernel/Source (Vlpp)

; 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.vl::Ptr.542" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.621" = type { %"class.vl::collections::ForEachIterator.622", %"class.vl::Ptr.555" }
%"class.vl::collections::ForEachIterator.622" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.555" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.473" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.472" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingTable::TransitionBag" = type { %"class.vl::collections::List.543" }
%"class.vl::collections::List.543" = type { %"class.vl::collections::ListBase.base.549", %"class.vl::collections::IEnumerable.547" }
%"class.vl::collections::ListBase.base.549" = type <{ %"class.vl::collections::ArrayBase.base.548", i64, i8 }>
%"class.vl::collections::ArrayBase.base.548" = type { %"class.vl::collections::ListStore.546", ptr, i64 }
%"class.vl::collections::ListStore.546" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.547" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::parsing::tabling::ParsingTable::TransitionItem" = type { i64, i64, %"class.vl::collections::List.182", %"class.vl::collections::List.116", %"class.vl::collections::List.190" }
%"class.vl::collections::List.182" = type { %"class.vl::collections::ListBase.base.188", %"class.vl::collections::IEnumerable.186" }
%"class.vl::collections::ListBase.base.188" = type <{ %"class.vl::collections::ArrayBase.base.187", i64, i8 }>
%"class.vl::collections::ArrayBase.base.187" = type { %"class.vl::collections::ListStore.185", ptr, i64 }
%"class.vl::collections::ListStore.185" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.186" = type { %"class.vl::Interface" }
%"class.vl::collections::List.116" = type { %"class.vl::collections::ListBase.base.122", %"class.vl::collections::IEnumerable.120" }
%"class.vl::collections::ListBase.base.122" = type <{ %"class.vl::collections::ArrayBase.base.121", i64, i8 }>
%"class.vl::collections::ArrayBase.base.121" = type { %"class.vl::collections::ListStore.119", ptr, i64 }
%"class.vl::collections::ListStore.119" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.120" = type { %"class.vl::Interface" }
%"class.vl::collections::List.190" = type { %"class.vl::collections::ListBase.base.196", %"class.vl::collections::IEnumerable.194" }
%"class.vl::collections::ListBase.base.196" = type <{ %"class.vl::collections::ArrayBase.base.195", i64, i8 }>
%"class.vl::collections::ArrayBase.base.195" = type { %"class.vl::collections::ListStore.193", ptr, i64 }
%"class.vl::collections::ListStore.193" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.194" = type { %"class.vl::Interface" }
%"class.vl::parsing::tabling::ParsingTable::LookAheadInfo" = type { %"class.vl::collections::List.116", i64 }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656)) #4 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable16GetTransitionBagEll(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.542") align 8, ptr noundef nonnull align 8 dereferenceable(656), i64 noundef, i64 noundef) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.621") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #3

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo12WalkInternalENS_3PtrIS2_EENS4_IS3_EElRNS_11collections10SortedListIllEERNS7_4ListIS6_PS3_EE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(33) %4) #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i32, align 4
  %13 = alloca %"class.vl::Ptr.542", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca %"class.vl::collections::EnumerableForEachIterator.621", align 8
  %19 = alloca %"class.vl::Ptr.473", align 8
  %20 = alloca %"class.vl::Ptr.61", align 8
  %21 = alloca %"class.vl::Ptr.472", align 8
  %22 = alloca %"class.vl::Ptr.472", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = call noundef zeroext i1 @_ZNK2vl11collections10SortedListIllE8ContainsERKl(ptr noundef nonnull align 8 dereferenceable(33) %23, ptr noundef nonnull align 8 dereferenceable(8) %8)
  br i1 %24, label %25, label %26

25:                                               ; preds = %5
  br label %168

26:                                               ; preds = %5
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = call noundef i64 @_ZN2vl11collections10SortedListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %27, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %29

29:                                               ; preds = %161, %26
  %30 = load i64, ptr %11, align 8, !tbaa !9
  %31 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %32 = call noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656) %31)
  %33 = icmp slt i64 %30, %32
  br i1 %33, label %35, label %34

34:                                               ; preds = %29
  store i32 2, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %165

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %13) #6
  %36 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %37 = load i64, ptr %8, align 8, !tbaa !9
  %38 = load i64, ptr %11, align 8, !tbaa !9
  call void @_ZN2vl7parsing7tabling12ParsingTable16GetTransitionBagEll(ptr dead_on_unwind writable sret(%"class.vl::Ptr.542") align 8 %13, ptr noundef nonnull align 8 dereferenceable(656) %36, i64 noundef %37, i64 noundef %38)
  %39 = invoke noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %40 unwind label %57

40:                                               ; preds = %35
  br i1 %39, label %41, label %160

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #6
  store i8 1, ptr %16, align 1, !tbaa !11
  %42 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %43 = trunc i8 %42 to i1
  br i1 %43, label %44, label %159

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #6
  %45 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %46 unwind label %61

46:                                               ; preds = %44
  %47 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::TransitionBag", ptr %45, i32 0, i32 0
  %48 = load ptr, ptr %47, align 8, !tbaa !15
  %49 = getelementptr i8, ptr %48, i64 -24
  %50 = load i64, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %47, i64 %50
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.621") align 8 %18, ptr noundef nonnull align 8 dereferenceable(8) %51)
          to label %52 unwind label %61

52:                                               ; preds = %46
  store ptr %18, ptr %17, align 8, !tbaa !5
  br label %53

53:                                               ; preds = %156, %52
  %54 = load i8, ptr %16, align 1, !tbaa !11, !range !13, !noundef !14
  %55 = trunc i8 %54 to i1
  br i1 %55, label %65, label %56

56:                                               ; preds = %53
  store i32 5, ptr %12, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  br label %158

57:                                               ; preds = %35
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %14, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %15, align 4
  br label %164

61:                                               ; preds = %46, %44
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %14, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %15, align 4
  br label %157

65:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #6
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %66 unwind label %75

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %152, %66
  %68 = load ptr, ptr %17, align 8, !tbaa !5
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = getelementptr inbounds ptr, ptr %69, i64 2
  %71 = load ptr, ptr %70, align 8
  %72 = invoke noundef zeroext i1 %71(ptr noundef nonnull align 8 dereferenceable(8) %68, ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %73 unwind label %79

73:                                               ; preds = %67
  br i1 %72, label %83, label %74

74:                                               ; preds = %73
  store i32 8, ptr %12, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  br label %155

75:                                               ; preds = %65
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %14, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %15, align 4
  br label %154

79:                                               ; preds = %89, %67
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %14, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %15, align 4
  br label %153

83:                                               ; preds = %73
  %84 = load i64, ptr %11, align 8, !tbaa !9
  %85 = icmp eq i64 %84, 2
  br i1 %85, label %89, label %86

86:                                               ; preds = %83
  %87 = load i64, ptr %11, align 8, !tbaa !9
  %88 = icmp eq i64 %87, 3
  br i1 %88, label %89, label %108

89:                                               ; preds = %86, %83
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %90 unwind label %79

90:                                               ; preds = %89
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %91 unwind label %99

91:                                               ; preds = %90
  %92 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %93 unwind label %103

93:                                               ; preds = %91
  %94 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::TransitionItem", ptr %92, i32 0, i32 1
  %95 = load i64, ptr %94, align 8, !tbaa !17
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo12WalkInternalENS_3PtrIS2_EENS4_IS3_EElRNS_11collections10SortedListIllEERNS7_4ListIS6_PS3_EE(ptr noundef %20, ptr noundef %21, i64 noundef %95, ptr noundef nonnull align 8 dereferenceable(33) %96, ptr noundef nonnull align 8 dereferenceable(33) %97)
          to label %98 unwind label %103

98:                                               ; preds = %93
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %152

99:                                               ; preds = %90
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %14, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %15, align 4
  br label %107

103:                                              ; preds = %93, %91
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %14, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %15, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #6
  br label %107

107:                                              ; preds = %103, %99
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %153

108:                                              ; preds = %86
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #6
  %109 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #7
          to label %110 unwind label %130

110:                                              ; preds = %108
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %109)
          to label %111 unwind label %134

111:                                              ; preds = %110
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef %109)
          to label %112 unwind label %130

112:                                              ; preds = %111
  %113 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %114 unwind label %138

114:                                              ; preds = %112
  %115 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::TransitionItem", ptr %113, i32 0, i32 1
  %116 = load i64, ptr %115, align 8, !tbaa !17
  %117 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %118 unwind label %138

118:                                              ; preds = %114
  %119 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %117, i32 0, i32 1
  store i64 %116, ptr %119, align 8, !tbaa !32
  %120 = invoke noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %121 unwind label %138

121:                                              ; preds = %118
  br i1 %120, label %122, label %142

122:                                              ; preds = %121
  %123 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %124 unwind label %138

124:                                              ; preds = %122
  %125 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %123, i32 0, i32 0
  %126 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
          to label %127 unwind label %138

127:                                              ; preds = %124
  %128 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %126, i32 0, i32 0
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIllEES3_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %125, ptr noundef nonnull align 8 dereferenceable(33) %128, i1 noundef zeroext false)
          to label %129 unwind label %138

129:                                              ; preds = %127
  br label %142

130:                                              ; preds = %111, %108
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %14, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %15, align 4
  br label %151

134:                                              ; preds = %110
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %14, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %15, align 4
  call void @_ZdlPvm(ptr noundef %109, i64 noundef 56) #8
  br label %151

138:                                              ; preds = %147, %144, %142, %127, %124, %122, %118, %114, %112
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %14, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %15, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  br label %151

142:                                              ; preds = %129, %121
  %143 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %144 unwind label %138

144:                                              ; preds = %142
  %145 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingTable::LookAheadInfo", ptr %143, i32 0, i32 0
  %146 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %145, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %147 unwind label %138

147:                                              ; preds = %144
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33) %148, ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %150 unwind label %138

150:                                              ; preds = %147
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %152

151:                                              ; preds = %138, %134, %130
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #6
  br label %153

152:                                              ; preds = %150, %98
  br label %67, !llvm.loop !34

153:                                              ; preds = %151, %107, %79
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #6
  br label %154

154:                                              ; preds = %153, %75
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #6
  br label %157

155:                                              ; preds = %74
  br label %156

156:                                              ; preds = %155
  store i8 0, ptr %16, align 1, !tbaa !11
  br label %53, !llvm.loop !36

157:                                              ; preds = %154, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %164

158:                                              ; preds = %56
  br label %159

159:                                              ; preds = %158, %41
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #6
  br label %160

160:                                              ; preds = %159, %40
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  br label %161

161:                                              ; preds = %160
  %162 = load i64, ptr %11, align 8, !tbaa !9
  %163 = add nsw i64 %162, 1
  store i64 %163, ptr %11, align 8, !tbaa !9
  br label %29, !llvm.loop !37

164:                                              ; preds = %157, %57
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  br label %169

165:                                              ; preds = %34
  %166 = load ptr, ptr %9, align 8, !tbaa !5
  %167 = call noundef zeroext i1 @_ZN2vl11collections10SortedListIllE6RemoveERKl(ptr noundef nonnull align 8 dereferenceable(33) %166, ptr noundef nonnull align 8 dereferenceable(8) %8)
  br label %168

168:                                              ; preds = %165, %25
  ret void

169:                                              ; preds = %164
  %170 = load ptr, ptr %14, align 8
  %171 = load i32, ptr %15, align 4
  %172 = insertvalue { ptr, i32 } poison, ptr %170, 0
  %173 = insertvalue { ptr, i32 } %172, i32 %171, 1
  resume { ptr, i32 } %173
}

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !10, i64 8}
!18 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable14TransitionItemE", !10, i64 0, !10, i64 8, !19, i64 16, !24, i64 64, !28, i64 112}
!19 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EE", !20, i64 0}
!20 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EE", !21, i64 0, !10, i64 24, !12, i64 32}
!21 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEEE", !22, i64 0, !6, i64 8, !10, i64 16}
!22 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEELb0EEE", !23, i64 0}
!23 = !{!"_ZTSN2vl6ObjectE"}
!24 = !{!"_ZTSN2vl11collections4ListIllEE", !25, i64 0}
!25 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !26, i64 0, !10, i64 24, !12, i64 32}
!26 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !27, i64 0, !6, i64 8, !10, i64 16}
!27 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !23, i64 0}
!28 = !{!"_ZTSN2vl11collections4ListINS_7parsing7tabling12ParsingTable11InstructionES5_EE", !29, i64 0}
!29 = !{!"_ZTSN2vl11collections8ListBaseINS_7parsing7tabling12ParsingTable11InstructionES5_EE", !30, i64 0, !10, i64 24, !12, i64 32}
!30 = !{!"_ZTSN2vl11collections9ArrayBaseINS_7parsing7tabling12ParsingTable11InstructionEEE", !31, i64 0, !6, i64 8, !10, i64 16}
!31 = !{!"_ZTSN2vl11collections9ListStoreINS_7parsing7tabling12ParsingTable11InstructionELb0EEE", !23, i64 0}
!32 = !{!33, !10, i64 48}
!33 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable13LookAheadInfoE", !24, i64 0, !10, i64 48}
!34 = distinct !{!34, !35}
!35 = !{!"llvm.loop.mustprogress"}
!36 = distinct !{!36, !35}
!37 = distinct !{!37, !35}


; 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.vl::Ptr.542" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.621" = type { %"class.vl::collections::ForEachIterator.622", %"class.vl::Ptr.555" }
%"class.vl::collections::ForEachIterator.622" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.555" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.473" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.472" = type { ptr, ptr, ptr, ptr }

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656)) local_unnamed_addr #4 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingTable16GetTransitionBagEll(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.542") align 8, ptr noundef nonnull align 8 dereferenceable(656), i64 noundef, i64 noundef) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::EnumerableForEachIterator.621") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections8CopyFromINS0_4ListIllEES3_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(33), i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo12WalkInternalENS_3PtrIS2_EENS4_IS3_EElRNS_11collections10SortedListIllEERNS7_4ListIS6_PS3_EE(ptr noundef %0, ptr noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(33) %4) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca %"class.vl::Ptr.542", align 8
  %9 = alloca %"class.vl::collections::EnumerableForEachIterator.621", align 8
  %10 = alloca %"class.vl::Ptr.473", align 8
  %11 = alloca %"class.vl::Ptr.61", align 8
  %12 = alloca %"class.vl::Ptr.472", align 8
  %13 = alloca %"class.vl::Ptr.472", align 8
  store i64 %2, ptr %6, align 8, !tbaa !5
  %14 = call noundef zeroext i1 @_ZNK2vl11collections10SortedListIllE8ContainsERKl(ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
  br i1 %14, label %88, label %15

15:                                               ; preds = %5
  %16 = call noundef i64 @_ZN2vl11collections10SortedListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  store i64 0, ptr %7, align 8, !tbaa !5
  %17 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %18 = call noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656) %17)
  %19 = icmp sgt i64 %18, 0
  br i1 %19, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %82, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %20 = call noundef zeroext i1 @_ZN2vl11collections10SortedListIllE6RemoveERKl(ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(8) %6)
  br label %88

.lr.ph:                                           ; preds = %15, %82
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #6
  %21 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %22 = load i64, ptr %6, align 8, !tbaa !5
  %23 = load i64, ptr %7, align 8, !tbaa !5
  call void @_ZN2vl7parsing7tabling12ParsingTable16GetTransitionBagEll(ptr dead_on_unwind nonnull writable sret(%"class.vl::Ptr.542") align 8 %8, ptr noundef nonnull align 8 dereferenceable(656) %21, i64 noundef %22, i64 noundef %23)
  %24 = call noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  br i1 %24, label %25, label %82

25:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #6
  %26 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %8)
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr i8, ptr %27, i64 -24
  %29 = load i64, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %26, i64 %29
  invoke void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS9_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.621") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %30)
          to label %33 unwind label %31

31:                                               ; preds = %25
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %81

33:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10)
  br label %34

34:                                               ; preds = %.backedge, %33
  %35 = load ptr, ptr %9, align 8, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %35, i64 16
  %37 = load ptr, ptr %36, align 8
  %38 = invoke noundef zeroext i1 %37(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %39 unwind label %40

39:                                               ; preds = %34
  br i1 %38, label %42, label %.critedge

.critedge:                                        ; preds = %39
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  br label %82

40:                                               ; preds = %45, %34
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %80

42:                                               ; preds = %39
  %43 = load i64, ptr %7, align 8
  %44 = and i64 %43, -2
  %or.cond = icmp eq i64 %44, 2
  br i1 %or.cond, label %45, label %53

45:                                               ; preds = %42
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %46 unwind label %40

46:                                               ; preds = %45
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %1)
  %47 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  %48 = getelementptr inbounds i8, ptr %47, i64 8
  %49 = load i64, ptr %48, align 8, !tbaa !11
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfo12WalkInternalENS_3PtrIS2_EENS4_IS3_EElRNS_11collections10SortedListIllEERNS7_4ListIS6_PS3_EE(ptr noundef nonnull %11, ptr noundef nonnull %12, i64 noundef %49, ptr noundef nonnull align 8 dereferenceable(33) %3, ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %50 unwind label %51

50:                                               ; preds = %46
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %.backedge

51:                                               ; preds = %46
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %80

53:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #6
  %54 = invoke noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #7
          to label %55 unwind label %67

55:                                               ; preds = %53
  invoke void @_ZN2vl7parsing7tabling12ParsingTable13LookAheadInfoC2Ev(ptr noundef nonnull align 8 dereferenceable(56) %54)
          to label %56 unwind label %69

56:                                               ; preds = %55
  invoke void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEC2EPS4_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull %54)
          to label %57 unwind label %67

57:                                               ; preds = %56
  %58 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
  %59 = getelementptr inbounds i8, ptr %58, i64 8
  %60 = load i64, ptr %59, align 8, !tbaa !11
  %61 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %62 = getelementptr inbounds i8, ptr %61, i64 48
  store i64 %60, ptr %62, align 8, !tbaa !28
  %63 = call noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEcvbEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  br i1 %63, label %64, label %73

64:                                               ; preds = %57
  %65 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %66 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %1)
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIllEES3_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %65, ptr noundef nonnull align 8 dereferenceable(33) %66, i1 noundef zeroext false)
          to label %73 unwind label %71

67:                                               ; preds = %56, %53
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %79

69:                                               ; preds = %55
  %70 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %54, i64 noundef 56) #8
  br label %79

71:                                               ; preds = %76, %73, %64
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  br label %79

73:                                               ; preds = %64, %57
  %74 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %75 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %74, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %76 unwind label %71

76:                                               ; preds = %73
  %77 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %78 unwind label %71

78:                                               ; preds = %76
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %.backedge

.backedge:                                        ; preds = %78, %50
  br label %34, !llvm.loop !30

79:                                               ; preds = %71, %69, %67
  %.pn = phi { ptr, i32 } [ %72, %71 ], [ %68, %67 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #6
  br label %80

80:                                               ; preds = %79, %51, %40
  %.pn16 = phi { ptr, i32 } [ %52, %51 ], [ %41, %40 ], [ %.pn, %79 ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing7tabling12ParsingTable14TransitionItemEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #6
  br label %81

81:                                               ; preds = %80, %31
  %.pn16.pn = phi { ptr, i32 } [ %.pn16, %80 ], [ %32, %31 ]
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  resume { ptr, i32 } %.pn16.pn

82:                                               ; preds = %.critedge, %.lr.ph
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTable13TransitionBagEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #6
  %83 = load i64, ptr %7, align 8, !tbaa !5
  %84 = add nsw i64 %83, 1
  store i64 %84, ptr %7, align 8, !tbaa !5
  %85 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %86 = call noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656) %85)
  %87 = icmp slt i64 %84, %86
  br i1 %87, label %.lr.ph, label %._crit_edge, !llvm.loop !32

88:                                               ; preds = %5, %._crit_edge
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK2vl11collections10SortedListIllE8ContainsERKl(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_E3AddERKS7_(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10SortedListIllE6RemoveERKl(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable14TransitionItemE", !6, i64 0, !6, i64 8, !13, i64 16, !20, i64 64, !24, i64 112}
!13 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EE", !14, i64 0}
!14 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEPS6_EE", !15, i64 0, !6, i64 24, !19, i64 32}
!15 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEEEE", !16, i64 0, !18, i64 8, !6, i64 16}
!16 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing7tabling12ParsingTable13LookAheadInfoEEELb0EEE", !17, i64 0}
!17 = !{!"_ZTSN2vl6ObjectE"}
!18 = !{!"any pointer", !7, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = !{!"_ZTSN2vl11collections4ListIllEE", !21, i64 0}
!21 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !22, i64 0, !6, i64 24, !19, i64 32}
!22 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !23, i64 0, !18, i64 8, !6, i64 16}
!23 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !17, i64 0}
!24 = !{!"_ZTSN2vl11collections4ListINS_7parsing7tabling12ParsingTable11InstructionES5_EE", !25, i64 0}
!25 = !{!"_ZTSN2vl11collections8ListBaseINS_7parsing7tabling12ParsingTable11InstructionES5_EE", !26, i64 0, !6, i64 24, !19, i64 32}
!26 = !{!"_ZTSN2vl11collections9ArrayBaseINS_7parsing7tabling12ParsingTable11InstructionEEE", !27, i64 0, !18, i64 8, !6, i64 16}
!27 = !{!"_ZTSN2vl11collections9ListStoreINS_7parsing7tabling12ParsingTable11InstructionELb0EEE", !17, i64 0}
!28 = !{!29, !6, i64 48}
!29 = !{!"_ZTSN2vl7parsing7tabling12ParsingTable13LookAheadInfoE", !20, i64 0, !6, i64 48}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass