; 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"

%"struct.vl::parsing::tabling::ParsingState::TransitionResult" = type { i32, i64, %"class.vl::ObjectString", i64, i64, i64, i64, ptr, ptr, i64, i64, %"class.vl::Ptr.140" }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.140" = type { ptr, ptr, ptr, ptr }
%"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::Interface" = type { ptr }
%"class.vl::collections::LazyList" = type { %"class.vl::Object", %"class.vl::collections::IEnumerable.120", %"class.vl::Ptr.158" }
%"class.vl::Ptr.158" = type { ptr, ptr, ptr, ptr }
%"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture" = type { ptr, i64, i64, i64, i64 }
%"class.vl::collections::EnumerableForEachIterator.159" = type { %"class.vl::collections::ForEachIterator.160", %"class.vl::Ptr.158" }
%"class.vl::collections::ForEachIterator.160" = type { %"class.vl::Object" }
%"class.vl::parsing::tabling::ParsingAutoRecoverParser" = type { %"class.vl::parsing::tabling::ParsingStrictParser", i64, %"class.vl::collections::List.150", i64 }
%"class.vl::parsing::tabling::ParsingStrictParser" = type { %"class.vl::parsing::tabling::ParsingGeneralParser" }
%"class.vl::parsing::tabling::ParsingGeneralParser" = type { %"class.vl::Object", %"class.vl::Ptr.61" }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::List.150" = type { %"class.vl::collections::ListBase.base.156", %"class.vl::collections::IEnumerable.154" }
%"class.vl::collections::ListBase.base.156" = type <{ %"class.vl::collections::ArrayBase.base.155", i64, i8 }>
%"class.vl::collections::ArrayBase.base.155" = type { %"class.vl::collections::ListStore.153", ptr, i64 }
%"class.vl::collections::ListStore.153" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.154" = type { %"class.vl::Interface" }
%"struct.vl::parsing::tabling::ParsingState::Future" = type { i64, i64, %"class.vl::collections::List.116", ptr, i64, ptr, ptr, ptr }

@_ZN2vl7parsing7tabling12ParsingTable11TokenFinishE = external dso_local constant i64, align 8
@_ZN2vl7parsing7tabling12ParsingTable19LeftRecursiveReduceE = external dso_local constant i64, align 8
@_ZN2vl7parsing7tabling12ParsingTable12NormalReduceE = external dso_local constant i64, align 8

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser14OnErrorRecoverERNS1_12ParsingStateElRNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8 %0, ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i64 noundef %3, ptr noundef nonnull align 8 dereferenceable(33) %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %"class.vl::collections::List.116", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.vl::collections::LazyList", align 8
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = alloca %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", align 8
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca ptr, align 8
  %21 = alloca %"class.vl::collections::EnumerableForEachIterator.159", align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca ptr, align 8
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i64 %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  %28 = load ptr, ptr %7, align 8
  %29 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  %30 = load i64, ptr %29, align 8, !tbaa !11
  %31 = icmp eq i64 %30, -1
  br i1 %31, label %32, label %257

32:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr %11) #5
  call void @_ZN2vl11collections4ListIllEC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11)
  %33 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable11TokenFinishE)
          to label %34 unwind label %63

34:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 48, ptr %14) #5
  %35 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingGeneralParser", ptr %28, i32 0, i32 1
  %36 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %37 unwind label %67

37:                                               ; preds = %34
  %38 = invoke noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656) %36)
          to label %39 unwind label %67

39:                                               ; preds = %37
  %40 = sub nsw i64 %38, 4
  invoke void @_ZN2vl11collections5RangeIlEENS0_8LazyListIT_EES3_S3_(ptr dead_on_unwind writable sret(%"class.vl::collections::LazyList") align 8 %14, i64 noundef 4, i64 noundef %40)
          to label %41 unwind label %67

41:                                               ; preds = %39
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIllEENS0_8LazyListIlEEEEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(48) %14, i1 noundef zeroext false)
          to label %42 unwind label %71

42:                                               ; preds = %41
  call void @_ZN2vl11collections8LazyListIlED1Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  %43 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable19LeftRecursiveReduceE)
          to label %44 unwind label %63

44:                                               ; preds = %42
  %45 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable12NormalReduceE)
          to label %46 unwind label %63

46:                                               ; preds = %44
  %47 = invoke noundef zeroext i1 @_ZN2vl11collections4ListIllE6RemoveERKl(ptr noundef nonnull align 8 dereferenceable(33) %11, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %48 unwind label %63

48:                                               ; preds = %46
  %49 = invoke noundef i64 @_ZN2vl11collections4ListIllE6InsertElRKl(ptr noundef nonnull align 8 dereferenceable(33) %11, i64 noundef 0, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %50 unwind label %63

50:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  store i64 -1, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %250, %248, %50
  %52 = load i64, ptr %15, align 8, !tbaa !9
  %53 = load i64, ptr %16, align 8, !tbaa !9
  %54 = icmp slt i64 %52, %53
  br i1 %54, label %55, label %252

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #5
  invoke void @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %56 unwind label %76

56:                                               ; preds = %55
  %57 = load i64, ptr %15, align 8, !tbaa !9
  %58 = icmp ne i64 %57, -1
  br i1 %58, label %59, label %80

59:                                               ; preds = %56
  %60 = load i64, ptr %15, align 8, !tbaa !9
  %61 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %28, i64 noundef %60)
          to label %62 unwind label %76

62:                                               ; preds = %59
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %17, ptr align 8 %61, i64 40, i1 false), !tbaa.struct !22
  br label %80

63:                                               ; preds = %48, %46, %44, %42, %32
  %64 = landingpad { ptr, i32 }
          cleanup
  %65 = extractvalue { ptr, i32 } %64, 0
  store ptr %65, ptr %12, align 8
  %66 = extractvalue { ptr, i32 } %64, 1
  store i32 %66, ptr %13, align 4
  br label %256

67:                                               ; preds = %39, %37, %34
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %12, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %13, align 4
  br label %75

71:                                               ; preds = %41
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %12, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %13, align 4
  call void @_ZN2vl11collections8LazyListIlED1Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #5
  br label %75

75:                                               ; preds = %71, %67
  call void @llvm.lifetime.end.p0(i64 48, ptr %14) #5
  br label %256

76:                                               ; preds = %59, %55
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %12, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %13, align 4
  br label %251

80:                                               ; preds = %62, %56
  %81 = load i64, ptr %15, align 8, !tbaa !9
  %82 = add nsw i64 %81, 1
  store i64 %82, ptr %15, align 8, !tbaa !9
  %83 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !23
  %85 = icmp ne ptr %84, null
  br i1 %85, label %86, label %93

86:                                               ; preds = %80
  %87 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 0
  %88 = load ptr, ptr %87, align 8, !tbaa !23
  %89 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingState::Future", ptr %88, i32 0, i32 0
  %90 = load i64, ptr %89, align 8, !tbaa !25
  %91 = icmp eq i64 %90, -1
  br i1 %91, label %92, label %93

92:                                               ; preds = %86
  store i32 2, ptr %18, align 4
  br label %248, !llvm.loop !31

93:                                               ; preds = %86, %80
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #5
  store i8 1, ptr %19, align 1, !tbaa !33
  %94 = load i8, ptr %19, align 1, !tbaa !33, !range !34, !noundef !35
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %244

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #5
  %97 = load ptr, ptr %11, align 8, !tbaa !36
  %98 = getelementptr i8, ptr %97, i64 -24
  %99 = load i64, ptr %98, align 8
  %100 = getelementptr inbounds i8, ptr %11, i64 %99
  invoke void @_ZN2vl11collections21CreateForEachIteratorIlEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS3_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.159") align 8 %21, ptr noundef nonnull align 8 dereferenceable(8) %100)
          to label %101 unwind label %106

101:                                              ; preds = %96
  store ptr %21, ptr %20, align 8, !tbaa !5
  br label %102

102:                                              ; preds = %239, %101
  %103 = load i8, ptr %19, align 1, !tbaa !33, !range !34, !noundef !35
  %104 = trunc i8 %103 to i1
  br i1 %104, label %110, label %105

105:                                              ; preds = %102
  store i32 4, ptr %18, align 4
  br label %240

106:                                              ; preds = %96
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %12, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %13, align 4
  br label %242

110:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  br label %111

111:                                              ; preds = %233, %231, %110
  %112 = load ptr, ptr %20, align 8, !tbaa !5
  %113 = load ptr, ptr %112, align 8, !tbaa !36
  %114 = getelementptr inbounds ptr, ptr %113, i64 2
  %115 = load ptr, ptr %114, align 8
  %116 = invoke noundef zeroext i1 %115(ptr noundef nonnull align 8 dereferenceable(8) %112, ptr noundef nonnull align 8 dereferenceable(8) %22)
          to label %117 unwind label %119

117:                                              ; preds = %111
  br i1 %116, label %123, label %118

118:                                              ; preds = %117
  store i32 7, ptr %18, align 4
  br label %235

119:                                              ; preds = %111
  %120 = landingpad { ptr, i32 }
          cleanup
  %121 = extractvalue { ptr, i32 } %120, 0
  store ptr %121, ptr %12, align 8
  %122 = extractvalue { ptr, i32 } %120, 1
  store i32 %122, ptr %13, align 4
  br label %237

123:                                              ; preds = %117
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %124 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 1
  %125 = load i64, ptr %124, align 8, !tbaa !38
  store i64 %125, ptr %23, align 8, !tbaa !9
  %126 = load i64, ptr %22, align 8, !tbaa !9
  %127 = icmp ne i64 %126, 2
  br i1 %127, label %128, label %134

128:                                              ; preds = %123
  %129 = load i64, ptr %22, align 8, !tbaa !9
  %130 = icmp ne i64 %129, 3
  br i1 %130, label %131, label %134

131:                                              ; preds = %128
  %132 = load i64, ptr %23, align 8, !tbaa !9
  %133 = add nsw i64 %132, 1
  store i64 %133, ptr %23, align 8, !tbaa !9
  br label %134

134:                                              ; preds = %131, %128, %123
  %135 = load i64, ptr %22, align 8, !tbaa !9
  %136 = load i64, ptr %9, align 8, !tbaa !9
  %137 = icmp ne i64 %135, %136
  br i1 %137, label %138, label %144

138:                                              ; preds = %134
  %139 = load i64, ptr %23, align 8, !tbaa !9
  %140 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 1
  %141 = load i64, ptr %140, align 8, !tbaa !39
  %142 = icmp sgt i64 %139, %141
  br i1 %142, label %143, label %144

143:                                              ; preds = %138
  store i32 8, ptr %18, align 4
  br label %231, !llvm.loop !40

144:                                              ; preds = %138, %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %145 = load i64, ptr %16, align 8, !tbaa !9
  %146 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 2
  %147 = load i64, ptr %146, align 8, !tbaa !41
  %148 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser19CreateRecoverFutureEll(ptr noundef nonnull align 8 dereferenceable(104) %28, i64 noundef %145, i64 noundef %147)
          to label %149 unwind label %204

149:                                              ; preds = %144
  store ptr %148, ptr %24, align 8, !tbaa !5
  %150 = load i64, ptr %23, align 8, !tbaa !9
  %151 = load ptr, ptr %24, align 8, !tbaa !5
  %152 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %151, i32 0, i32 1
  store i64 %150, ptr %152, align 8, !tbaa !38
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = load i64, ptr %22, align 8, !tbaa !9
  %155 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 0
  %156 = load ptr, ptr %155, align 8, !tbaa !23
  %157 = load ptr, ptr %24, align 8, !tbaa !5
  %158 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %157, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8, !tbaa !23
  %160 = invoke noundef zeroext i1 @_ZN2vl7parsing7tabling12ParsingState17ReadTokenInFutureElPNS2_6FutureES4_PKNS_11collections11IEnumerableIlEE(ptr noundef nonnull align 8 dereferenceable(256) %153, i64 noundef %154, ptr noundef %156, ptr noundef %159, ptr noundef null)
          to label %161 unwind label %204

161:                                              ; preds = %149
  br i1 %160, label %162, label %229

162:                                              ; preds = %161
  %163 = load i64, ptr %22, align 8, !tbaa !9
  %164 = load i64, ptr %9, align 8, !tbaa !9
  %165 = icmp eq i64 %163, %164
  br i1 %165, label %166, label %225

166:                                              ; preds = %162
  %167 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 0
  %168 = load ptr, ptr %167, align 8, !tbaa !23
  %169 = icmp ne ptr %168, null
  br i1 %169, label %170, label %222

170:                                              ; preds = %166
  %171 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 2
  %172 = load i64, ptr %171, align 8, !tbaa !41
  %173 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  store i64 %172, ptr %173, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %174 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %17, i32 0, i32 2
  %175 = load i64, ptr %174, align 8, !tbaa !41
  %176 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %28, i64 noundef %175)
          to label %177 unwind label %208

177:                                              ; preds = %170
  store ptr %176, ptr %25, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %190, %177
  %179 = load ptr, ptr %25, align 8, !tbaa !5
  %180 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %179, i32 0, i32 0
  %181 = load ptr, ptr %180, align 8, !tbaa !23
  %182 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingState::Future", ptr %181, i32 0, i32 6
  %183 = load ptr, ptr %182, align 8, !tbaa !42
  %184 = icmp ne ptr %183, null
  br i1 %184, label %185, label %216

185:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %186 = load ptr, ptr %25, align 8, !tbaa !5
  %187 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %186, i32 0, i32 3
  %188 = load i64, ptr %187, align 8, !tbaa !43
  %189 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %28, i64 noundef %188)
          to label %190 unwind label %212

190:                                              ; preds = %185
  store ptr %189, ptr %26, align 8, !tbaa !5
  %191 = load ptr, ptr %25, align 8, !tbaa !5
  %192 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %191, i32 0, i32 2
  %193 = load i64, ptr %192, align 8, !tbaa !41
  %194 = load ptr, ptr %26, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %194, i32 0, i32 4
  store i64 %193, ptr %195, align 8, !tbaa !44
  %196 = load ptr, ptr %25, align 8, !tbaa !5
  %197 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %196, i32 0, i32 0
  %198 = load ptr, ptr %197, align 8, !tbaa !23
  %199 = load ptr, ptr %26, align 8, !tbaa !5
  %200 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %199, i32 0, i32 0
  %201 = load ptr, ptr %200, align 8, !tbaa !23
  %202 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingState::Future", ptr %201, i32 0, i32 7
  store ptr %198, ptr %202, align 8, !tbaa !45
  %203 = load ptr, ptr %26, align 8, !tbaa !5
  store ptr %203, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %178, !llvm.loop !46

204:                                              ; preds = %149, %144
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %12, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %13, align 4
  br label %234

208:                                              ; preds = %170
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %12, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %13, align 4
  br label %221

212:                                              ; preds = %185
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %12, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %221

216:                                              ; preds = %178
  %217 = load ptr, ptr %25, align 8, !tbaa !5
  %218 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %217, i32 0, i32 2
  %219 = load i64, ptr %218, align 8, !tbaa !41
  %220 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  store i64 %219, ptr %220, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %224

221:                                              ; preds = %212, %208
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %234

222:                                              ; preds = %166
  %223 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  store i64 0, ptr %223, align 8, !tbaa !11
  br label %224

224:                                              ; preds = %222, %216
  store i32 11, ptr %18, align 4
  br label %230

225:                                              ; preds = %162
  %226 = load i64, ptr %16, align 8, !tbaa !9
  %227 = add nsw i64 %226, 1
  store i64 %227, ptr %16, align 8, !tbaa !9
  br label %228

228:                                              ; preds = %225
  br label %229

229:                                              ; preds = %228, %161
  store i32 0, ptr %18, align 4
  br label %230

230:                                              ; preds = %229, %224
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %231

231:                                              ; preds = %230, %143
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  %232 = load i32, ptr %18, align 4
  switch i32 %232, label %235 [
    i32 0, label %233
    i32 8, label %111
  ]

233:                                              ; preds = %231
  br label %111, !llvm.loop !40

234:                                              ; preds = %221, %204
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  br label %237

235:                                              ; preds = %231, %118
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  %236 = load i32, ptr %18, align 4
  switch i32 %236, label %240 [
    i32 7, label %238
  ]

237:                                              ; preds = %234, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @_ZN2vl11collections25EnumerableForEachIteratorIlED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #5
  br label %242

238:                                              ; preds = %235
  br label %239

239:                                              ; preds = %238
  store i8 0, ptr %19, align 1, !tbaa !33
  br label %102, !llvm.loop !47

240:                                              ; preds = %235, %105
  call void @_ZN2vl11collections25EnumerableForEachIteratorIlED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  %241 = load i32, ptr %18, align 4
  switch i32 %241, label %245 [
    i32 4, label %243
  ]

242:                                              ; preds = %237, %106
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  br label %251

243:                                              ; preds = %240
  br label %244

244:                                              ; preds = %243, %93
  store i32 0, ptr %18, align 4
  br label %245

245:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #5
  %246 = load i32, ptr %18, align 4
  switch i32 %246, label %248 [
    i32 0, label %247
  ]

247:                                              ; preds = %245
  store i32 0, ptr %18, align 4
  br label %248

248:                                              ; preds = %247, %245, %92
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  %249 = load i32, ptr %18, align 4
  switch i32 %249, label %253 [
    i32 0, label %250
    i32 2, label %51
  ]

250:                                              ; preds = %248
  br label %51, !llvm.loop !31

251:                                              ; preds = %242, %76
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  br label %256

252:                                              ; preds = %51
  store i32 0, ptr %18, align 4
  br label %253

253:                                              ; preds = %252, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @_ZN2vl11collections4ListIllED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  %254 = load i32, ptr %18, align 4
  switch i32 %254, label %297 [
    i32 0, label %255
    i32 11, label %258
  ]

255:                                              ; preds = %253
  br label %257

256:                                              ; preds = %251, %75, %63
  call void @_ZN2vl11collections4ListIllED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %11) #5
  br label %292

257:                                              ; preds = %255, %5
  br label %258

258:                                              ; preds = %257, %253
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  store ptr null, ptr %27, align 8, !tbaa !5
  %259 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  %260 = load i64, ptr %259, align 8, !tbaa !11
  %261 = icmp ne i64 %260, -1
  br i1 %261, label %262, label %280

262:                                              ; preds = %258
  %263 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  %264 = load i64, ptr %263, align 8, !tbaa !11
  %265 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %28, i64 noundef %264)
  store ptr %265, ptr %27, align 8, !tbaa !5
  %266 = load ptr, ptr %27, align 8, !tbaa !5
  %267 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %266, i32 0, i32 0
  %268 = load ptr, ptr %267, align 8, !tbaa !23
  %269 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingState::Future", ptr %268, i32 0, i32 7
  %270 = load ptr, ptr %269, align 8, !tbaa !45
  %271 = icmp ne ptr %270, null
  br i1 %271, label %272, label %277

272:                                              ; preds = %262
  %273 = load ptr, ptr %27, align 8, !tbaa !5
  %274 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %273, i32 0, i32 4
  %275 = load i64, ptr %274, align 8, !tbaa !44
  %276 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  store i64 %275, ptr %276, align 8, !tbaa !11
  br label %279

277:                                              ; preds = %262
  %278 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingAutoRecoverParser", ptr %28, i32 0, i32 3
  store i64 -1, ptr %278, align 8, !tbaa !11
  br label %279

279:                                              ; preds = %277, %272
  br label %280

280:                                              ; preds = %279, %258
  %281 = load ptr, ptr %27, align 8, !tbaa !5
  %282 = icmp ne ptr %281, null
  br i1 %282, label %283, label %290

283:                                              ; preds = %280
  %284 = load ptr, ptr %8, align 8, !tbaa !5
  %285 = load ptr, ptr %27, align 8, !tbaa !5
  %286 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", ptr %285, i32 0, i32 0
  %287 = load ptr, ptr %286, align 8, !tbaa !23
  %288 = getelementptr inbounds %"struct.vl::parsing::tabling::ParsingState::Future", ptr %287, i32 0, i32 5
  %289 = load ptr, ptr %288, align 8, !tbaa !48
  call void @_ZN2vl7parsing7tabling12ParsingState13RunTransitionEPNS1_12ParsingTable14TransitionItemEPNS_5regex10RegexTokenE(ptr dead_on_unwind writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %284, ptr noundef %289, ptr noundef null)
  store i32 1, ptr %18, align 4
  br label %291

290:                                              ; preds = %280
  call void @_ZN2vl7parsing7tabling12ParsingState16TransitionResultC2ENS3_14TransitionTypeE(ptr noundef nonnull align 8 dereferenceable(160) %0, i32 noundef 4)
  store i32 1, ptr %18, align 4
  br label %291

291:                                              ; preds = %290, %283
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  ret void

292:                                              ; preds = %256
  %293 = load ptr, ptr %12, align 8
  %294 = load i32, ptr %13, align 4
  %295 = insertvalue { ptr, i32 } poison, ptr %293, 0
  %296 = insertvalue { ptr, i32 } %295, i32 %294, 1
  resume { ptr, i32 } %296

297:                                              ; preds = %253
  unreachable
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections4ListIllEC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 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 uwtable
declare dso_local void @_ZN2vl11collections8CopyFromINS0_4ListIllEENS0_8LazyListIlEEEEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5RangeIlEENS0_8LazyListIT_EES3_S3_(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::LazyList") align 8, i64 noundef, i64 noundef) #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections4ListIllE6RemoveERKl(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 @_ZN2vl11collections4ListIllE6InsertElRKl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingState13RunTransitionEPNS1_12ParsingTable14TransitionItemEPNS_5regex10RegexTokenE(ptr dead_on_unwind noalias writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8, ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, ptr noundef) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { 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, !10, i64 96}
!12 = !{!"_ZTSN2vl7parsing7tabling24ParsingAutoRecoverParserE", !13, i64 0, !10, i64 40, !17, i64 48, !10, i64 96}
!13 = !{!"_ZTSN2vl7parsing7tabling19ParsingStrictParserE", !14, i64 0}
!14 = !{!"_ZTSN2vl7parsing7tabling20ParsingGeneralParserE", !15, i64 0, !16, i64 8}
!15 = !{!"_ZTSN2vl6ObjectE"}
!16 = !{!"_ZTSN2vl3PtrINS_7parsing7tabling12ParsingTableEEE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"_ZTSN2vl11collections4ListINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureES5_EE", !18, i64 0}
!18 = !{!"_ZTSN2vl11collections8ListBaseINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureES5_EE", !19, i64 0, !10, i64 24, !21, i64 32}
!19 = !{!"_ZTSN2vl11collections9ArrayBaseINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureEEE", !20, i64 0, !6, i64 8, !10, i64 16}
!20 = !{!"_ZTSN2vl11collections9ListStoreINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureELb0EEE", !15, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{i64 0, i64 8, !5, i64 8, i64 8, !9, i64 16, i64 8, !9, i64 24, i64 8, !9, i64 32, i64 8, !9}
!23 = !{!24, !6, i64 0}
!24 = !{!"_ZTSN2vl7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureE", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32}
!25 = !{!26, !10, i64 0}
!26 = !{!"_ZTSN2vl7parsing7tabling12ParsingState6FutureE", !10, i64 0, !10, i64 8, !27, i64 16, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !6, i64 96}
!27 = !{!"_ZTSN2vl11collections4ListIllEE", !28, i64 0}
!28 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !29, i64 0, !10, i64 24, !21, i64 32}
!29 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !30, i64 0, !6, i64 8, !10, i64 16}
!30 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !15, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!21, !21, i64 0}
!34 = !{i8 0, i8 2}
!35 = !{}
!36 = !{!37, !37, i64 0}
!37 = !{!"vtable pointer", !8, i64 0}
!38 = !{!24, !10, i64 8}
!39 = !{!12, !10, i64 40}
!40 = distinct !{!40, !32}
!41 = !{!24, !10, i64 16}
!42 = !{!26, !6, i64 88}
!43 = !{!24, !10, i64 24}
!44 = !{!24, !10, i64 32}
!45 = !{!26, !6, i64 96}
!46 = distinct !{!46, !32}
!47 = distinct !{!47, !32}
!48 = !{!26, !6, i64 80}


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

%"struct.vl::parsing::tabling::ParsingState::TransitionResult" = type { i32, i64, %"class.vl::ObjectString", i64, i64, i64, i64, ptr, ptr, i64, i64, %"class.vl::Ptr.140" }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.140" = type { ptr, ptr, ptr, ptr }
%"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::Interface" = type { ptr }
%"class.vl::collections::LazyList" = type { %"class.vl::Object", %"class.vl::collections::IEnumerable.120", %"class.vl::Ptr.158" }
%"class.vl::Ptr.158" = type { ptr, ptr, ptr, ptr }
%"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture" = type { ptr, i64, i64, i64, i64 }
%"class.vl::collections::EnumerableForEachIterator.159" = type { %"class.vl::collections::ForEachIterator.160", %"class.vl::Ptr.158" }
%"class.vl::collections::ForEachIterator.160" = type { %"class.vl::Object" }

@_ZN2vl7parsing7tabling12ParsingTable11TokenFinishE = external dso_local constant i64, align 8
@_ZN2vl7parsing7tabling12ParsingTable19LeftRecursiveReduceE = external dso_local constant i64, align 8
@_ZN2vl7parsing7tabling12ParsingTable12NormalReduceE = external dso_local constant i64, align 8

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser14OnErrorRecoverERNS1_12ParsingStateElRNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8 %0, ptr noundef nonnull align 8 dereferenceable(104) %1, ptr noundef nonnull align 8 dereferenceable(256) %2, i64 noundef %3, ptr nocapture noundef nonnull readnone align 8 dereferenceable(33) %4) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i64, align 8
  %7 = alloca %"class.vl::collections::List.116", align 8
  %8 = alloca %"class.vl::collections::LazyList", align 8
  %9 = alloca %"struct.vl::parsing::tabling::ParsingAutoRecoverParser::RecoverFuture", align 8
  %10 = alloca %"class.vl::collections::EnumerableForEachIterator.159", align 8
  %11 = alloca i64, align 8
  store i64 %3, ptr %6, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 96
  %13 = load i64, ptr %12, align 8, !tbaa !9
  %14 = icmp eq i64 %13, -1
  br i1 %14, label %15, label %.thread100

15:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %7) #5
  call void @_ZN2vl11collections4ListIllEC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7)
  %16 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable11TokenFinishE)
          to label %17 unwind label %38

17:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #5
  %18 = getelementptr inbounds i8, ptr %1, i64 8
  %19 = call noundef ptr @_ZNK2vl3PtrINS_7parsing7tabling12ParsingTableEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
  %20 = call noundef i64 @_ZN2vl7parsing7tabling12ParsingTable13GetTokenCountEv(ptr noundef nonnull align 8 dereferenceable(656) %19)
  %21 = add nsw i64 %20, -4
  invoke void @_ZN2vl11collections5RangeIlEENS0_8LazyListIT_EES3_S3_(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::LazyList") align 8 %8, i64 noundef 4, i64 noundef %21)
          to label %22 unwind label %40

22:                                               ; preds = %17
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIllEENS0_8LazyListIlEEEEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext false)
          to label %23 unwind label %42

23:                                               ; preds = %22
  call void @_ZN2vl11collections8LazyListIlED1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  %24 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable19LeftRecursiveReduceE)
          to label %25 unwind label %38

25:                                               ; preds = %23
  %26 = invoke noundef i64 @_ZN2vl11collections4ListIllE3AddERKl(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(8) @_ZN2vl7parsing7tabling12ParsingTable12NormalReduceE)
          to label %27 unwind label %38

27:                                               ; preds = %25
  %28 = invoke noundef zeroext i1 @_ZN2vl11collections4ListIllE6RemoveERKl(ptr noundef nonnull align 8 dereferenceable(33) %7, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %29 unwind label %38

29:                                               ; preds = %27
  %30 = invoke noundef i64 @_ZN2vl11collections4ListIllE6InsertElRKl(ptr noundef nonnull align 8 dereferenceable(33) %7, i64 noundef 0, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %.preheader108 unwind label %38

.preheader108:                                    ; preds = %29
  %31 = getelementptr inbounds i8, ptr %9, i64 8
  %32 = getelementptr inbounds i8, ptr %1, i64 40
  %33 = getelementptr inbounds i8, ptr %9, i64 16
  br label %34

34:                                               ; preds = %.preheader108, %122
  %.049119 = phi i64 [ -1, %.preheader108 ], [ %48, %122 ]
  %.057118 = phi i64 [ 0, %.preheader108 ], [ %.10, %122 ]
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #5
  call void @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureC2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9)
  %.not = icmp eq i64 %.049119, -1
  br i1 %.not, label %47, label %35

35:                                               ; preds = %34
  %36 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %1, i64 noundef %.049119)
          to label %37 unwind label %45

37:                                               ; preds = %35
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %9, ptr noundef nonnull align 8 dereferenceable(40) %36, i64 40, i1 false), !tbaa.struct !21
  br label %47

38:                                               ; preds = %29, %27, %25, %23, %15
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %125

40:                                               ; preds = %17
  %41 = landingpad { ptr, i32 }
          cleanup
  br label %44

42:                                               ; preds = %22
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl11collections8LazyListIlED1Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #5
  br label %44

44:                                               ; preds = %42, %40
  %.pn = phi { ptr, i32 } [ %43, %42 ], [ %41, %40 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #5
  br label %125

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

47:                                               ; preds = %37, %34
  %48 = add nsw i64 %.049119, 1
  %49 = load ptr, ptr %9, align 8, !tbaa !23
  %.not67 = icmp eq ptr %49, null
  br i1 %.not67, label %53, label %50

50:                                               ; preds = %47
  %51 = load i64, ptr %49, align 8, !tbaa !25
  %52 = icmp eq i64 %51, -1
  br i1 %52, label %122, label %53, !llvm.loop !31

53:                                               ; preds = %47, %50
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #5
  %54 = load ptr, ptr %7, align 8, !tbaa !33
  %55 = getelementptr i8, ptr %54, i64 -24
  %56 = load i64, ptr %55, align 8
  %57 = getelementptr inbounds i8, ptr %7, i64 %56
  invoke void @_ZN2vl11collections21CreateForEachIteratorIlEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS3_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.159") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %57)
          to label %.preheader107 unwind label %58

58:                                               ; preds = %53
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %124

.preheader107:                                    ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #5
  br label %.outer

.outer:                                           ; preds = %118, %.preheader107
  %.259.ph = phi i64 [ %119, %118 ], [ %.057118, %.preheader107 ]
  br label %60

60:                                               ; preds = %.backedge, %.outer
  %61 = load ptr, ptr %10, align 8, !tbaa !33
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %63 = load ptr, ptr %62, align 8
  %64 = invoke noundef zeroext i1 %63(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %65 unwind label %66

65:                                               ; preds = %60
  br i1 %64, label %68, label %120

66:                                               ; preds = %60
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %121

68:                                               ; preds = %65
  %69 = load i64, ptr %31, align 8, !tbaa !35
  %70 = load i64, ptr %11, align 8
  %71 = add i64 %70, -4
  %or.cond = icmp ult i64 %71, -2
  %72 = zext i1 %or.cond to i64
  %spec.select = add nsw i64 %69, %72
  %73 = load i64, ptr %6, align 8, !tbaa !5
  %.not68 = icmp ne i64 %70, %73
  %74 = load i64, ptr %32, align 8
  %75 = icmp sgt i64 %spec.select, %74
  %or.cond83 = select i1 %.not68, i1 %75, i1 false
  br i1 %or.cond83, label %.backedge, label %76

76:                                               ; preds = %68
  %77 = load i64, ptr %33, align 8, !tbaa !36
  %78 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser19CreateRecoverFutureEll(ptr noundef nonnull align 8 dereferenceable(104) %1, i64 noundef %.259.ph, i64 noundef %77)
          to label %79 unwind label %110

79:                                               ; preds = %76
  %80 = getelementptr inbounds i8, ptr %78, i64 8
  store i64 %spec.select, ptr %80, align 8, !tbaa !35
  %81 = load i64, ptr %11, align 8, !tbaa !5
  %82 = load ptr, ptr %9, align 8, !tbaa !23
  %83 = load ptr, ptr %78, align 8, !tbaa !23
  %84 = invoke noundef zeroext i1 @_ZN2vl7parsing7tabling12ParsingState17ReadTokenInFutureElPNS2_6FutureES4_PKNS_11collections11IEnumerableIlEE(ptr noundef nonnull align 8 dereferenceable(256) %2, i64 noundef %81, ptr noundef %82, ptr noundef %83, ptr noundef null)
          to label %85 unwind label %110

85:                                               ; preds = %79
  br i1 %84, label %86, label %.backedge

.backedge:                                        ; preds = %85, %68
  br label %60, !llvm.loop !37

86:                                               ; preds = %85
  %87 = load i64, ptr %11, align 8, !tbaa !5
  %88 = load i64, ptr %6, align 8, !tbaa !5
  %89 = icmp eq i64 %87, %88
  br i1 %89, label %90, label %118

90:                                               ; preds = %86
  %91 = load ptr, ptr %9, align 8, !tbaa !23
  %.not69 = icmp eq ptr %91, null
  br i1 %.not69, label %.thread97, label %92

92:                                               ; preds = %90
  %93 = load i64, ptr %33, align 8, !tbaa !36
  store i64 %93, ptr %12, align 8, !tbaa !9
  %94 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %1, i64 noundef %93)
          to label %.preheader unwind label %112

.preheader:                                       ; preds = %92
  %95 = load ptr, ptr %94, align 8, !tbaa !23
  %96 = getelementptr inbounds i8, ptr %95, i64 88
  %97 = load ptr, ptr %96, align 8, !tbaa !38
  %.not70120 = icmp eq ptr %97, null
  br i1 %.not70120, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader, %101
  %.040121 = phi ptr [ %100, %101 ], [ %94, %.preheader ]
  %98 = getelementptr inbounds i8, ptr %.040121, i64 24
  %99 = load i64, ptr %98, align 8, !tbaa !39
  %100 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %1, i64 noundef %99)
          to label %101 unwind label %114

101:                                              ; preds = %.lr.ph
  %102 = getelementptr inbounds i8, ptr %.040121, i64 16
  %103 = load i64, ptr %102, align 8, !tbaa !36
  %104 = getelementptr inbounds i8, ptr %100, i64 32
  store i64 %103, ptr %104, align 8, !tbaa !40
  %105 = load ptr, ptr %.040121, align 8, !tbaa !23
  %106 = load ptr, ptr %100, align 8, !tbaa !23
  %107 = getelementptr inbounds i8, ptr %106, i64 96
  store ptr %105, ptr %107, align 8, !tbaa !41
  %108 = getelementptr inbounds i8, ptr %106, i64 88
  %109 = load ptr, ptr %108, align 8, !tbaa !38
  %.not70 = icmp eq ptr %109, null
  br i1 %.not70, label %._crit_edge, label %.lr.ph, !llvm.loop !42

110:                                              ; preds = %79, %76
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %121

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

114:                                              ; preds = %.lr.ph
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %121

._crit_edge:                                      ; preds = %101, %.preheader
  %.040.lcssa = phi ptr [ %94, %.preheader ], [ %100, %101 ]
  %116 = getelementptr inbounds i8, ptr %.040.lcssa, i64 16
  %117 = load i64, ptr %116, align 8, !tbaa !36
  br label %.thread97

118:                                              ; preds = %86
  %119 = add nsw i64 %.259.ph, 1
  br label %.outer

120:                                              ; preds = %65
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @_ZN2vl11collections25EnumerableForEachIteratorIlED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  br label %122

121:                                              ; preds = %110, %114, %112, %66
  %.pn71.pn.pn = phi { ptr, i32 } [ %67, %66 ], [ %111, %110 ], [ %115, %114 ], [ %113, %112 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @_ZN2vl11collections25EnumerableForEachIteratorIlED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  br label %124

.thread97:                                        ; preds = %90, %._crit_edge
  %storemerge = phi i64 [ %117, %._crit_edge ], [ 0, %90 ]
  store i64 %storemerge, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #5
  call void @_ZN2vl11collections25EnumerableForEachIteratorIlED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  br label %.loopexit

122:                                              ; preds = %120, %50
  %.10 = phi i64 [ %.057118, %50 ], [ %.259.ph, %120 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  %123 = icmp slt i64 %48, %.10
  br i1 %123, label %34, label %.loopexit

124:                                              ; preds = %58, %121, %45
  %.pn71.pn.pn.pn.pn = phi { ptr, i32 } [ %46, %45 ], [ %.pn71.pn.pn, %121 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #5
  br label %125

125:                                              ; preds = %124, %44, %38
  %.pn71.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn71.pn.pn.pn.pn, %124 ], [ %39, %38 ], [ %.pn, %44 ]
  call void @_ZN2vl11collections4ListIllED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn71.pn.pn.pn.pn.pn

.loopexit:                                        ; preds = %122, %.thread97
  call void @_ZN2vl11collections4ListIllED1Ev(ptr noundef nonnull align 8 dereferenceable(33) %7) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %7) #5
  %.pr = load i64, ptr %12, align 8, !tbaa !9
  %.not78 = icmp eq i64 %.pr, -1
  br i1 %.not78, label %135, label %.thread100

.thread100:                                       ; preds = %5, %.loopexit
  %126 = phi i64 [ %.pr, %.loopexit ], [ %13, %5 ]
  %127 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN2vl7parsing7tabling24ParsingAutoRecoverParser16GetRecoverFutureEl(ptr noundef nonnull align 8 dereferenceable(104) %1, i64 noundef %126)
  %128 = load ptr, ptr %127, align 8, !tbaa !23
  %129 = getelementptr inbounds i8, ptr %128, i64 96
  %130 = load ptr, ptr %129, align 8, !tbaa !41
  %.not79 = icmp eq ptr %130, null
  %131 = getelementptr inbounds i8, ptr %127, i64 32
  %132 = load i64, ptr %131, align 8
  %storemerge106 = select i1 %.not79, i64 -1, i64 %132
  store i64 %storemerge106, ptr %12, align 8, !tbaa !9
  %133 = getelementptr inbounds i8, ptr %128, i64 80
  %134 = load ptr, ptr %133, align 8, !tbaa !43
  call void @_ZN2vl7parsing7tabling12ParsingState13RunTransitionEPNS1_12ParsingTable14TransitionItemEPNS_5regex10RegexTokenE(ptr dead_on_unwind writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8 %0, ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef %134, ptr noundef null)
  br label %136

135:                                              ; preds = %.loopexit
  call void @_ZN2vl7parsing7tabling12ParsingState16TransitionResultC2ENS3_14TransitionTypeE(ptr noundef nonnull align 8 dereferenceable(160) %0, i32 noundef 4)
  br label %136

136:                                              ; preds = %135, %.thread100
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections4ListIllEC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 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 uwtable
declare dso_local void @_ZN2vl11collections8CopyFromINS0_4ListIllEENS0_8LazyListIlEEEEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33), ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl11collections5RangeIlEENS0_8LazyListIT_EES3_S3_(ptr dead_on_unwind noalias writable sret(%"class.vl::collections::LazyList") align 8, i64 noundef, i64 noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections4ListIllE6RemoveERKl(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 @_ZN2vl11collections4ListIllE6InsertElRKl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling12ParsingState13RunTransitionEPNS1_12ParsingTable14TransitionItemEPNS_5regex10RegexTokenE(ptr dead_on_unwind noalias writable sret(%"struct.vl::parsing::tabling::ParsingState::TransitionResult") align 8, ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, ptr noundef) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 #5 = { 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, !6, i64 96}
!10 = !{!"_ZTSN2vl7parsing7tabling24ParsingAutoRecoverParserE", !11, i64 0, !6, i64 40, !16, i64 48, !6, i64 96}
!11 = !{!"_ZTSN2vl7parsing7tabling19ParsingStrictParserE", !12, i64 0}
!12 = !{!"_ZTSN2vl7parsing7tabling20ParsingGeneralParserE", !13, i64 0, !14, i64 8}
!13 = !{!"_ZTSN2vl6ObjectE"}
!14 = !{!"_ZTSN2vl3PtrINS_7parsing7tabling12ParsingTableEEE", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!"_ZTSN2vl11collections4ListINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureES5_EE", !17, i64 0}
!17 = !{!"_ZTSN2vl11collections8ListBaseINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureES5_EE", !18, i64 0, !6, i64 24, !20, i64 32}
!18 = !{!"_ZTSN2vl11collections9ArrayBaseINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureEEE", !19, i64 0, !15, i64 8, !6, i64 16}
!19 = !{!"_ZTSN2vl11collections9ListStoreINS_7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureELb0EEE", !13, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i64 0, i64 8, !22, i64 8, i64 8, !5, i64 16, i64 8, !5, i64 24, i64 8, !5, i64 32, i64 8, !5}
!22 = !{!15, !15, i64 0}
!23 = !{!24, !15, i64 0}
!24 = !{!"_ZTSN2vl7parsing7tabling24ParsingAutoRecoverParser13RecoverFutureE", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!25 = !{!26, !6, i64 0}
!26 = !{!"_ZTSN2vl7parsing7tabling12ParsingState6FutureE", !6, i64 0, !6, i64 8, !27, i64 16, !15, i64 64, !6, i64 72, !15, i64 80, !15, i64 88, !15, i64 96}
!27 = !{!"_ZTSN2vl11collections4ListIllEE", !28, i64 0}
!28 = !{!"_ZTSN2vl11collections8ListBaseIllEE", !29, i64 0, !6, i64 24, !20, i64 32}
!29 = !{!"_ZTSN2vl11collections9ArrayBaseIlEE", !30, i64 0, !15, i64 8, !6, i64 16}
!30 = !{!"_ZTSN2vl11collections9ListStoreIlLb1EEE", !13, i64 0}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !8, i64 0}
!35 = !{!24, !6, i64 8}
!36 = !{!24, !6, i64 16}
!37 = distinct !{!37, !32}
!38 = !{!26, !15, i64 88}
!39 = !{!24, !6, i64 24}
!40 = !{!24, !6, i64 32}
!41 = !{!26, !15, i64 96}
!42 = distinct !{!42, !32}
!43 = !{!26, !15, i64 80}


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