; 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::collections::EnumerableForEachIterator.449" = type { %"class.vl::collections::ForEachIterator.450", %"class.vl::Ptr.451" }
%"class.vl::collections::ForEachIterator.450" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.451" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.452" = type { ptr, ptr, ptr, ptr }
%"struct.vl::parsing::analyzing::ClosureItem" = type <{ ptr, %"class.vl::Ptr.452", i8, [7 x i8] }>
%"class.vl::parsing::analyzing::Transition" = type { %"class.vl::Object", ptr, ptr, %"class.vl::collections::List.386", i32, i32, ptr }
%"class.vl::collections::List.386" = type { %"class.vl::collections::ListBase.base.392", %"class.vl::collections::IEnumerable.390" }
%"class.vl::collections::ListBase.base.392" = type <{ %"class.vl::collections::ArrayBase.base.391", i64, i8 }>
%"class.vl::collections::ArrayBase.base.391" = type { %"class.vl::collections::ListStore.389", ptr, i64 }
%"class.vl::collections::ListStore.389" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.390" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::parsing::analyzing::State" = type { %"class.vl::Object", %"class.vl::collections::List.395", %"class.vl::collections::List.395", i8, ptr, ptr, ptr, ptr, i32, %"class.vl::ObjectString", %"class.vl::ObjectString" }
%"class.vl::collections::List.395" = type { %"class.vl::collections::ListBase.base.401", %"class.vl::collections::IEnumerable.399" }
%"class.vl::collections::ListBase.base.401" = type <{ %"class.vl::collections::ArrayBase.base.400", i64, i8 }>
%"class.vl::collections::ArrayBase.base.400" = type { %"class.vl::collections::ListStore.398", ptr, i64 }
%"class.vl::collections::ListStore.398" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.399" = type { %"class.vl::Interface" }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, 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 @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing21SearchClosureInternalEPFNS1_11ClosureItem12SearchResultEPNS1_10TransitionEERNS_11collections4ListIS5_S5_EES5_PNS1_5StateERNS9_IS2_S2_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(33) %4) #3 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca %"class.vl::collections::EnumerableForEachIterator.449", align 8
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %"class.vl::Ptr.452", align 8
  %19 = alloca %"struct.vl::parsing::analyzing::ClosureItem", align 8
  %20 = alloca %"class.vl::Ptr.452", align 8
  %21 = alloca i32, align 4
  %22 = alloca i8, align 1
  %23 = alloca ptr, align 8
  %24 = alloca %"class.vl::collections::EnumerableForEachIterator.449", align 8
  %25 = alloca ptr, align 8
  %26 = alloca %"class.vl::Ptr.452", align 8
  %27 = alloca %"struct.vl::parsing::analyzing::ClosureItem", align 8
  %28 = alloca %"class.vl::Ptr.452", align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #6
  store i8 1, ptr %11, align 1, !tbaa !9
  %29 = load i8, ptr %11, align 1, !tbaa !9, !range !11, !noundef !12
  %30 = trunc i8 %29 to i1
  br i1 %30, label %31, label %118

31:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #6
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = load ptr, ptr %32, align 8, !tbaa !13
  %34 = getelementptr i8, ptr %33, i64 -24
  %35 = load i64, ptr %34, align 8
  %36 = getelementptr inbounds i8, ptr %32, i64 %35
  call void @_ZN2vl11collections21CreateForEachIteratorIPNS_7parsing9analyzing10TransitionEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.449") align 8 %13, ptr noundef nonnull align 8 dereferenceable(8) %36)
  store ptr %13, ptr %12, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %114, %31
  %38 = load i8, ptr %11, align 1, !tbaa !9, !range !11, !noundef !12
  %39 = trunc i8 %38 to i1
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 2, ptr %14, align 4
  br label %115

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  br label %42

42:                                               ; preds = %109, %41
  %43 = load ptr, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %43, align 8, !tbaa !13
  %45 = getelementptr inbounds ptr, ptr %44, i64 2
  %46 = load ptr, ptr %45, align 8
  %47 = invoke noundef zeroext i1 %46(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %48 unwind label %50

48:                                               ; preds = %42
  br i1 %47, label %54, label %49

49:                                               ; preds = %48
  store i32 5, ptr %14, align 4
  br label %110

50:                                               ; preds = %60, %42
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %16, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %17, align 4
  br label %112

54:                                               ; preds = %48
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = getelementptr inbounds %"class.vl::parsing::analyzing::Transition", ptr %55, i32 0, i32 1
  %57 = load ptr, ptr %56, align 8, !tbaa !15
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = icmp eq ptr %57, %58
  br i1 %59, label %60, label %109

60:                                               ; preds = %54
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = load ptr, ptr %15, align 8, !tbaa !5
  %63 = invoke noundef i32 %61(ptr noundef %62)
          to label %64 unwind label %50

64:                                               ; preds = %60
  %65 = icmp ne i32 %63, 2
  br i1 %65, label %66, label %109

66:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #6
  %67 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #7
          to label %68 unwind label %81

68:                                               ; preds = %66
  invoke void @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %67)
          to label %69 unwind label %85

69:                                               ; preds = %68
  invoke void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2EPS7_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef %67)
          to label %70 unwind label %81

70:                                               ; preds = %69
  %71 = invoke noundef ptr @_ZNK2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %72 unwind label %89

72:                                               ; preds = %70
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIPNS_7parsing9analyzing10TransitionES6_EES7_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %71, ptr noundef nonnull align 8 dereferenceable(33) %73, i1 noundef zeroext false)
          to label %74 unwind label %89

74:                                               ; preds = %72
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #6
  %76 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %77 unwind label %93

77:                                               ; preds = %74
  invoke void @_ZN2vl7parsing9analyzing11ClosureItemC2EPNS1_5StateENS_3PtrINS_11collections4ListIPNS1_10TransitionES9_EEEEb(ptr noundef nonnull align 8 dereferenceable(41) %19, ptr noundef %76, ptr noundef %20, i1 noundef zeroext true)
          to label %78 unwind label %97

78:                                               ; preds = %77
  %79 = invoke noundef i64 @_ZN2vl11collections4ListINS_7parsing9analyzing11ClosureItemES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %75, ptr noundef nonnull align 8 dereferenceable(41) %19)
          to label %80 unwind label %101

80:                                               ; preds = %78
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %19) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  store i32 1, ptr %14, align 4
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  br label %110

81:                                               ; preds = %69, %66
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %16, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %17, align 4
  br label %108

85:                                               ; preds = %68
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %16, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %17, align 4
  call void @_ZdlPvm(ptr noundef %67, i64 noundef 48) #8
  br label %108

89:                                               ; preds = %72, %70
  %90 = landingpad { ptr, i32 }
          cleanup
  %91 = extractvalue { ptr, i32 } %90, 0
  store ptr %91, ptr %16, align 8
  %92 = extractvalue { ptr, i32 } %90, 1
  store i32 %92, ptr %17, align 4
  br label %107

93:                                               ; preds = %74
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %16, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %17, align 4
  br label %106

97:                                               ; preds = %77
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %16, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %17, align 4
  br label %105

101:                                              ; preds = %78
  %102 = landingpad { ptr, i32 }
          cleanup
  %103 = extractvalue { ptr, i32 } %102, 0
  store ptr %103, ptr %16, align 8
  %104 = extractvalue { ptr, i32 } %102, 1
  store i32 %104, ptr %17, align 4
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %19) #6
  br label %105

105:                                              ; preds = %101, %97
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #6
  br label %106

106:                                              ; preds = %105, %93
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #6
  br label %107

107:                                              ; preds = %106, %89
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #6
  br label %108

108:                                              ; preds = %107, %85, %81
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #6
  br label %112

109:                                              ; preds = %64, %54
  br label %42, !llvm.loop !25

110:                                              ; preds = %80, %49
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  %111 = load i32, ptr %14, align 4
  switch i32 %111, label %115 [
    i32 5, label %113
  ]

112:                                              ; preds = %108, %50
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  br label %228

113:                                              ; preds = %110
  br label %114

114:                                              ; preds = %113
  store i8 0, ptr %11, align 1, !tbaa !9
  br label %37, !llvm.loop !27

115:                                              ; preds = %110, %40
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %116 = load i32, ptr %14, align 4
  switch i32 %116, label %119 [
    i32 2, label %117
  ]

117:                                              ; preds = %115
  br label %118

118:                                              ; preds = %117, %5
  store i32 0, ptr %14, align 4
  br label %119

119:                                              ; preds = %118, %115
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #6
  %120 = load i32, ptr %14, align 4
  switch i32 %120, label %233 [
    i32 0, label %121
    i32 1, label %226
  ]

121:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #6
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = icmp ne ptr %122, null
  br i1 %123, label %124, label %128

124:                                              ; preds = %121
  %125 = load ptr, ptr %6, align 8, !tbaa !5
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = call noundef i32 %125(ptr noundef %126)
  br label %129

128:                                              ; preds = %121
  br label %129

129:                                              ; preds = %128, %124
  %130 = phi i32 [ %127, %124 ], [ 0, %128 ]
  store i32 %130, ptr %21, align 4, !tbaa !28
  %131 = load i32, ptr %21, align 4, !tbaa !28
  switch i32 %131, label %224 [
    i32 0, label %132
    i32 1, label %187
  ]

132:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #6
  store i8 1, ptr %22, align 1, !tbaa !9
  %133 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %134 = trunc i8 %133 to i1
  br i1 %134, label %135, label %186

135:                                              ; preds = %132
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #6
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = getelementptr inbounds %"class.vl::parsing::analyzing::State", ptr %136, i32 0, i32 1
  %138 = load ptr, ptr %137, align 8, !tbaa !13
  %139 = getelementptr i8, ptr %138, i64 -24
  %140 = load i64, ptr %139, align 8
  %141 = getelementptr inbounds i8, ptr %137, i64 %140
  call void @_ZN2vl11collections21CreateForEachIteratorIPNS_7parsing9analyzing10TransitionEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.449") align 8 %24, ptr noundef nonnull align 8 dereferenceable(8) %141)
  store ptr %24, ptr %23, align 8, !tbaa !5
  br label %142

142:                                              ; preds = %184, %135
  %143 = load i8, ptr %22, align 1, !tbaa !9, !range !11, !noundef !12
  %144 = trunc i8 %143 to i1
  br i1 %144, label %146, label %145

145:                                              ; preds = %142
  store i32 8, ptr %14, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  br label %185

146:                                              ; preds = %142
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  br label %147

147:                                              ; preds = %182, %146
  %148 = load ptr, ptr %23, align 8, !tbaa !5
  %149 = load ptr, ptr %148, align 8, !tbaa !13
  %150 = getelementptr inbounds ptr, ptr %149, i64 2
  %151 = load ptr, ptr %150, align 8
  %152 = invoke noundef zeroext i1 %151(ptr noundef nonnull align 8 dereferenceable(8) %148, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %153 unwind label %155

153:                                              ; preds = %147
  br i1 %152, label %159, label %154

154:                                              ; preds = %153
  store i32 11, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %183

155:                                              ; preds = %178, %174, %166, %163, %159, %147
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %16, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %227

159:                                              ; preds = %153
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = invoke noundef zeroext i1 @_ZNK2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_E8ContainsERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %160, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %162 unwind label %155

162:                                              ; preds = %159
  br i1 %161, label %182, label %163

163:                                              ; preds = %162
  %164 = load ptr, ptr %7, align 8, !tbaa !5
  %165 = invoke noundef i64 @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %164, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %166 unwind label %155

166:                                              ; preds = %163
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = load ptr, ptr %25, align 8, !tbaa !5
  %170 = load ptr, ptr %25, align 8, !tbaa !5
  %171 = getelementptr inbounds %"class.vl::parsing::analyzing::Transition", ptr %170, i32 0, i32 2
  %172 = load ptr, ptr %171, align 8, !tbaa !30
  %173 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing21SearchClosureInternalEPFNS1_11ClosureItem12SearchResultEPNS1_10TransitionEERNS_11collections4ListIS5_S5_EES5_PNS1_5StateERNS9_IS2_S2_EE(ptr noundef %167, ptr noundef nonnull align 8 dereferenceable(33) %168, ptr noundef %169, ptr noundef %172, ptr noundef nonnull align 8 dereferenceable(33) %173)
          to label %174 unwind label %155

174:                                              ; preds = %166
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = load ptr, ptr %7, align 8, !tbaa !5
  %177 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_7parsing9analyzing10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %176)
          to label %178 unwind label %155

178:                                              ; preds = %174
  %179 = sub nsw i64 %177, 1
  %180 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseIPNS_7parsing9analyzing10TransitionES5_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33) %175, i64 noundef %179)
          to label %181 unwind label %155

181:                                              ; preds = %178
  br label %182

182:                                              ; preds = %181, %162
  br label %147, !llvm.loop !31

183:                                              ; preds = %154
  br label %184

184:                                              ; preds = %183
  store i8 0, ptr %22, align 1, !tbaa !9
  br label %142, !llvm.loop !32

185:                                              ; preds = %145
  br label %186

186:                                              ; preds = %185, %132
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #6
  br label %225

187:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  %188 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #7
  invoke void @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %188)
          to label %189 unwind label %200

189:                                              ; preds = %187
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2EPS7_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef %188)
  %190 = invoke noundef ptr @_ZNK2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %191 unwind label %204

191:                                              ; preds = %189
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIPNS_7parsing9analyzing10TransitionES6_EES7_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %190, ptr noundef nonnull align 8 dereferenceable(33) %192, i1 noundef zeroext false)
          to label %193 unwind label %204

193:                                              ; preds = %191
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #6
  %195 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %26)
          to label %196 unwind label %208

196:                                              ; preds = %193
  invoke void @_ZN2vl7parsing9analyzing11ClosureItemC2EPNS1_5StateENS_3PtrINS_11collections4ListIPNS1_10TransitionES9_EEEEb(ptr noundef nonnull align 8 dereferenceable(41) %27, ptr noundef %195, ptr noundef %28, i1 noundef zeroext false)
          to label %197 unwind label %212

197:                                              ; preds = %196
  %198 = invoke noundef i64 @_ZN2vl11collections4ListINS_7parsing9analyzing11ClosureItemES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %194, ptr noundef nonnull align 8 dereferenceable(41) %27)
          to label %199 unwind label %216

199:                                              ; preds = %197
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %27) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  br label %225

200:                                              ; preds = %187
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %16, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %17, align 4
  call void @_ZdlPvm(ptr noundef %188, i64 noundef 48) #8
  br label %223

204:                                              ; preds = %191, %189
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %16, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %17, align 4
  br label %222

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

212:                                              ; preds = %196
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %16, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %17, align 4
  br label %220

216:                                              ; preds = %197
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %16, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %17, align 4
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %27) #6
  br label %220

220:                                              ; preds = %216, %212
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #6
  br label %221

221:                                              ; preds = %220, %208
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %222

222:                                              ; preds = %221, %204
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %223

223:                                              ; preds = %222, %200
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  br label %227

224:                                              ; preds = %129
  br label %225

225:                                              ; preds = %224, %199, %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %226

226:                                              ; preds = %225, %119
  ret void

227:                                              ; preds = %223, %155
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #6
  br label %228

228:                                              ; preds = %227, %112
  %229 = load ptr, ptr %16, align 8
  %230 = load i32, ptr %17, align 4
  %231 = insertvalue { ptr, i32 } poison, ptr %229, 0
  %232 = insertvalue { ptr, i32 } %231, i32 %230, 1
  resume { ptr, i32 } %232

233:                                              ; preds = %119
  unreachable
}

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseIPNS_7parsing9analyzing10TransitionES5_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) #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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !6, i64 8}
!16 = !{!"_ZTSN2vl7parsing9analyzing10TransitionE", !17, i64 0, !6, i64 8, !6, i64 16, !18, i64 24, !23, i64 72, !24, i64 76, !6, i64 80}
!17 = !{!"_ZTSN2vl6ObjectE"}
!18 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing9analyzing6ActionEEEPS5_EE", !19, i64 0}
!19 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing9analyzing6ActionEEEPS5_EE", !20, i64 0, !22, i64 24, !10, i64 32}
!20 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing9analyzing6ActionEEEEE", !21, i64 0, !6, i64 8, !22, i64 16}
!21 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing9analyzing6ActionEEELb0EEE", !17, i64 0}
!22 = !{!"long", !7, i64 0}
!23 = !{!"_ZTSN2vl7parsing9analyzing10Transition14TransitionTypeE", !7, i64 0}
!24 = !{!"_ZTSN2vl7parsing9analyzing10Transition18StackOperationTypeE", !7, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = !{!29, !29, i64 0}
!29 = !{!"_ZTSN2vl7parsing9analyzing11ClosureItem12SearchResultE", !7, i64 0}
!30 = !{!16, !6, i64 16}
!31 = distinct !{!31, !26}
!32 = distinct !{!32, !26}


; 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::collections::EnumerableForEachIterator.449" = type { %"class.vl::collections::ForEachIterator.450", %"class.vl::Ptr.451" }
%"class.vl::collections::ForEachIterator.450" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.451" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.452" = type { ptr, ptr, ptr, ptr }
%"struct.vl::parsing::analyzing::ClosureItem" = type <{ ptr, %"class.vl::Ptr.452", i8, [7 x i8] }>

; 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 @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_E3AddERKS5_(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 @_ZNK2vl11collections9ArrayBaseIPNS_7parsing9analyzing10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing21SearchClosureInternalEPFNS1_11ClosureItem12SearchResultEPNS1_10TransitionEERNS_11collections4ListIS5_S5_EES5_PNS1_5StateERNS9_IS2_S2_EE(ptr nocapture noundef readonly %0, ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef %2, ptr noundef %3, ptr noundef nonnull align 8 dereferenceable(33) %4) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
.critedge:
  %5 = alloca %"class.vl::collections::EnumerableForEachIterator.449", align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::Ptr.452", align 8
  %8 = alloca %"struct.vl::parsing::analyzing::ClosureItem", align 8
  %9 = alloca %"class.vl::Ptr.452", align 8
  %10 = alloca %"class.vl::collections::EnumerableForEachIterator.449", align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"class.vl::Ptr.452", align 8
  %13 = alloca %"struct.vl::parsing::analyzing::ClosureItem", align 8
  %14 = alloca %"class.vl::Ptr.452", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #6
  %15 = load ptr, ptr %1, align 8, !tbaa !5
  %16 = getelementptr i8, ptr %15, i64 -24
  %17 = load i64, ptr %16, align 8
  %18 = getelementptr inbounds i8, ptr %1, i64 %17
  call void @_ZN2vl11collections21CreateForEachIteratorIPNS_7parsing9analyzing10TransitionEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.449") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %18)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  br label %19

19:                                               ; preds = %.backedge65, %.critedge
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %22 = load ptr, ptr %21, align 8
  %23 = invoke noundef zeroext i1 %22(ptr noundef nonnull align 8 dereferenceable(8) %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %24 unwind label %25

24:                                               ; preds = %19
  br i1 %23, label %27, label %59

25:                                               ; preds = %32, %19
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %58

27:                                               ; preds = %24
  %28 = load ptr, ptr %6, align 8, !tbaa !8
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load ptr, ptr %29, align 8, !tbaa !11
  %31 = icmp eq ptr %30, %3
  br i1 %31, label %32, label %.backedge65

32:                                               ; preds = %27
  %33 = invoke noundef i32 %0(ptr noundef nonnull %28)
          to label %34 unwind label %25

34:                                               ; preds = %32
  %.not = icmp eq i32 %33, 2
  br i1 %.not, label %.backedge65, label %35

.backedge65:                                      ; preds = %34, %27
  br label %19, !llvm.loop !22

35:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #6
  %36 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
          to label %37 unwind label %45

37:                                               ; preds = %35
  invoke void @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %36)
          to label %38 unwind label %47

38:                                               ; preds = %37
  invoke void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2EPS7_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull %36)
          to label %39 unwind label %45

39:                                               ; preds = %38
  %40 = call noundef ptr @_ZNK2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIPNS_7parsing9analyzing10TransitionES6_EES7_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %40, ptr noundef nonnull align 8 dereferenceable(33) %1, i1 noundef zeroext false)
          to label %41 unwind label %49

41:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %7)
  invoke void @_ZN2vl7parsing9analyzing11ClosureItemC2EPNS1_5StateENS_3PtrINS_11collections4ListIPNS1_10TransitionES9_EEEEb(ptr noundef nonnull align 8 dereferenceable(41) %8, ptr noundef %3, ptr noundef nonnull %9, i1 noundef zeroext true)
          to label %42 unwind label %51

42:                                               ; preds = %41
  %43 = invoke noundef i64 @_ZN2vl11collections4ListINS_7parsing9analyzing11ClosureItemES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull align 8 dereferenceable(41) %8)
          to label %44 unwind label %53

44:                                               ; preds = %42
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #6
  br label %107

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

47:                                               ; preds = %37
  %48 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %36, i64 noundef 48) #8
  br label %57

49:                                               ; preds = %39
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %56

51:                                               ; preds = %41
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %42
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %8) #6
  br label %55

55:                                               ; preds = %53, %51
  %.pn = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  br label %56

56:                                               ; preds = %55, %49
  %.pn.pn = phi { ptr, i32 } [ %.pn, %55 ], [ %50, %49 ]
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %57

57:                                               ; preds = %56, %47, %45
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %56 ], [ %46, %45 ], [ %48, %47 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #6
  br label %58

58:                                               ; preds = %57, %25
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %57 ], [ %26, %25 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #6
  br label %108

59:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #6
  %.not52 = icmp eq ptr %2, null
  br i1 %.not52, label %.critedge60, label %60

60:                                               ; preds = %59
  %61 = call noundef i32 %0(ptr noundef nonnull %2)
  switch i32 %61, label %107 [
    i32 0, label %.critedge60
    i32 1, label %88
  ]

.critedge60:                                      ; preds = %59, %60
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #6
  %62 = getelementptr inbounds i8, ptr %3, i64 8
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = getelementptr i8, ptr %63, i64 -24
  %65 = load i64, ptr %64, align 8
  %66 = getelementptr inbounds i8, ptr %62, i64 %65
  call void @_ZN2vl11collections21CreateForEachIteratorIPNS_7parsing9analyzing10TransitionEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS7_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.449") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %66)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  br label %67

67:                                               ; preds = %.backedge, %.critedge60
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  %70 = load ptr, ptr %69, align 8
  %71 = invoke noundef zeroext i1 %70(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %72 unwind label %74

72:                                               ; preds = %67
  br i1 %71, label %76, label %73

73:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #6
  br label %107

74:                                               ; preds = %84, %80, %78, %67
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  call void @_ZN2vl11collections25EnumerableForEachIteratorIPNS_7parsing9analyzing10TransitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #6
  br label %108

76:                                               ; preds = %72
  %77 = call noundef zeroext i1 @_ZNK2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_E8ContainsERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 8 dereferenceable(8) %11)
  br i1 %77, label %.backedge, label %78

78:                                               ; preds = %76
  %79 = invoke noundef i64 @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull align 8 dereferenceable(8) %11)
          to label %80 unwind label %74

80:                                               ; preds = %78
  %81 = load ptr, ptr %11, align 8, !tbaa !8
  %82 = getelementptr inbounds i8, ptr %81, i64 16
  %83 = load ptr, ptr %82, align 8, !tbaa !24
  invoke void @_ZN2vl7parsing9analyzing21SearchClosureInternalEPFNS1_11ClosureItem12SearchResultEPNS1_10TransitionEERNS_11collections4ListIS5_S5_EES5_PNS1_5StateERNS9_IS2_S2_EE(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(33) %1, ptr noundef nonnull %81, ptr noundef %83, ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %84 unwind label %74

84:                                               ; preds = %80
  %85 = call noundef i64 @_ZNK2vl11collections9ArrayBaseIPNS_7parsing9analyzing10TransitionEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %1)
  %86 = add nsw i64 %85, -1
  %87 = invoke noundef zeroext i1 @_ZN2vl11collections8ListBaseIPNS_7parsing9analyzing10TransitionES5_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33) %1, i64 noundef %86)
          to label %.backedge unwind label %74

.backedge:                                        ; preds = %84, %76
  br label %67, !llvm.loop !25

88:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  %89 = call noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
  invoke void @_ZN2vl11collections4ListIPNS_7parsing9analyzing10TransitionES5_EC1Ev(ptr noundef nonnull align 8 dereferenceable(33) %89)
          to label %90 unwind label %96

90:                                               ; preds = %88
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2EPS7_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull %89)
  %91 = call noundef ptr @_ZNK2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEE3ObjEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
  invoke void @_ZN2vl11collections8CopyFromINS0_4ListIPNS_7parsing9analyzing10TransitionES6_EES7_EEvRT_RKT0_b(ptr noundef nonnull align 8 dereferenceable(33) %91, ptr noundef nonnull align 8 dereferenceable(33) %1, i1 noundef zeroext false)
          to label %92 unwind label %98

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEEC2ERKS8_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %12)
  invoke void @_ZN2vl7parsing9analyzing11ClosureItemC2EPNS1_5StateENS_3PtrINS_11collections4ListIPNS1_10TransitionES9_EEEEb(ptr noundef nonnull align 8 dereferenceable(41) %13, ptr noundef %3, ptr noundef nonnull %14, i1 noundef zeroext false)
          to label %93 unwind label %100

93:                                               ; preds = %92
  %94 = invoke noundef i64 @_ZN2vl11collections4ListINS_7parsing9analyzing11ClosureItemES4_E3AddERKS4_(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull align 8 dereferenceable(41) %13)
          to label %95 unwind label %102

95:                                               ; preds = %93
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %13) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %107

96:                                               ; preds = %88
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %89, i64 noundef 48) #8
  br label %106

98:                                               ; preds = %90
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %105

100:                                              ; preds = %92
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %104

102:                                              ; preds = %93
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl7parsing9analyzing11ClosureItemD2Ev(ptr noundef nonnull align 8 dereferenceable(41) %13) #6
  br label %104

104:                                              ; preds = %102, %100
  %.pn53 = phi { ptr, i32 } [ %103, %102 ], [ %101, %100 ]
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #6
  br label %105

105:                                              ; preds = %104, %98
  %.pn53.pn = phi { ptr, i32 } [ %.pn53, %104 ], [ %99, %98 ]
  call void @_ZN2vl3PtrINS_11collections4ListIPNS_7parsing9analyzing10TransitionES6_EEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  br label %106

106:                                              ; preds = %105, %96
  %.pn53.pn.pn = phi { ptr, i32 } [ %.pn53.pn, %105 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  br label %108

107:                                              ; preds = %44, %73, %95, %60
  ret void

108:                                              ; preds = %74, %106, %58
  %.pn53.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %58 ], [ %.pn53.pn.pn, %106 ], [ %75, %74 ]
  resume { ptr, i32 } %.pn53.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections8ListBaseIPNS_7parsing9analyzing10TransitionES5_E8RemoveAtEl(ptr noundef nonnull align 8 dereferenceable(33), i64 noundef) 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 8}
!12 = !{!"_ZTSN2vl7parsing9analyzing10TransitionE", !13, i64 0, !9, i64 8, !9, i64 16, !14, i64 24, !20, i64 72, !21, i64 76, !9, i64 80}
!13 = !{!"_ZTSN2vl6ObjectE"}
!14 = !{!"_ZTSN2vl11collections4ListINS_3PtrINS_7parsing9analyzing6ActionEEEPS5_EE", !15, i64 0}
!15 = !{!"_ZTSN2vl11collections8ListBaseINS_3PtrINS_7parsing9analyzing6ActionEEEPS5_EE", !16, i64 0, !18, i64 24, !19, i64 32}
!16 = !{!"_ZTSN2vl11collections9ArrayBaseINS_3PtrINS_7parsing9analyzing6ActionEEEEE", !17, i64 0, !9, i64 8, !18, i64 16}
!17 = !{!"_ZTSN2vl11collections9ListStoreINS_3PtrINS_7parsing9analyzing6ActionEEELb0EEE", !13, i64 0}
!18 = !{!"long", !10, i64 0}
!19 = !{!"bool", !10, i64 0}
!20 = !{!"_ZTSN2vl7parsing9analyzing10Transition14TransitionTypeE", !10, i64 0}
!21 = !{!"_ZTSN2vl7parsing9analyzing10Transition18StackOperationTypeE", !10, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!12, !9, i64 16}
!25 = distinct !{!25, !23}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass