; 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.297" = type { %"class.vl::collections::ForEachIterator.298", %"class.vl::Ptr.299" }
%"class.vl::collections::ForEachIterator.298" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.299" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.322" = type { %"class.vl::collections::ForEachIterator.323", %"class.vl::Ptr.324" }
%"class.vl::collections::ForEachIterator.323" = type { %"class.vl::Object" }
%"class.vl::Ptr.324" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.316" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.325" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.211" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::definitions::ParsingDefinition" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::collections::List.289", %"class.vl::collections::List.300", %"class.vl::collections::List.308", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::ParsingTreeCustomBase.base" = type { %"class.vl::Object", %"class.vl::reflection::Description.base", %"struct.vl::parsing::ParsingTextRange", %"class.vl::collections::List" }
%"class.vl::reflection::Description.base" = type { ptr }
%"struct.vl::parsing::ParsingTextRange" = type { %"struct.vl::parsing::ParsingTextPos", %"struct.vl::parsing::ParsingTextPos", i64 }
%"struct.vl::parsing::ParsingTextPos" = type { i64, i64, i64 }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"class.vl::collections::ListBase.base" = type <{ %"class.vl::collections::ArrayBase.base.3", i64, i8 }>
%"class.vl::collections::ArrayBase.base.3" = type { %"class.vl::collections::ListStore.1", ptr, i64 }
%"class.vl::collections::ListStore.1" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.2" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::collections::List.289" = type { %"class.vl::collections::ListBase.base.295", %"class.vl::collections::IEnumerable.293" }
%"class.vl::collections::ListBase.base.295" = type <{ %"class.vl::collections::ArrayBase.base.294", i64, i8 }>
%"class.vl::collections::ArrayBase.base.294" = type { %"class.vl::collections::ListStore.292", ptr, i64 }
%"class.vl::collections::ListStore.292" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.293" = type { %"class.vl::Interface" }
%"class.vl::collections::List.300" = type { %"class.vl::collections::ListBase.base.306", %"class.vl::collections::IEnumerable.304" }
%"class.vl::collections::ListBase.base.306" = type <{ %"class.vl::collections::ArrayBase.base.305", i64, i8 }>
%"class.vl::collections::ArrayBase.base.305" = type { %"class.vl::collections::ListStore.303", ptr, i64 }
%"class.vl::collections::ListStore.303" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.304" = type { %"class.vl::Interface" }
%"class.vl::collections::List.308" = type { %"class.vl::collections::ListBase.base.314", %"class.vl::collections::IEnumerable.312" }
%"class.vl::collections::ListBase.base.314" = type <{ %"class.vl::collections::ArrayBase.base.313", i64, i8 }>
%"class.vl::collections::ArrayBase.base.313" = type { %"class.vl::collections::ListStore.311", ptr, i64 }
%"class.vl::collections::ListStore.311" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.312" = type { %"class.vl::Interface" }
%"class.vl::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }

; 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: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing14ResolveSymbolsENS_3PtrINS0_11definitions17ParsingDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSA_EE(ptr noundef %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(33) %2) #2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca %"class.vl::collections::EnumerableForEachIterator.297", align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.vl::Ptr.316", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.vl::Ptr.316", align 8
  %15 = alloca i8, align 1
  %16 = alloca ptr, align 8
  %17 = alloca %"class.vl::collections::EnumerableForEachIterator.322", align 8
  %18 = alloca %"class.vl::Ptr.325", align 8
  %19 = alloca i64, align 8
  %20 = alloca %"class.vl::Ptr.211", align 8
  %21 = alloca %"class.vl::Ptr.325", align 8
  %22 = alloca %"class.vl::Ptr.325", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #4
  store i8 1, ptr %7, align 1, !tbaa !9
  %23 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %24 = trunc i8 %23 to i1
  br i1 %24, label %25, label %70

25:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #4
  %26 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %27 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinition", ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !13
  %29 = getelementptr i8, ptr %28, i64 -24
  %30 = load i64, ptr %29, align 8
  %31 = getelementptr inbounds i8, ptr %27, i64 %30
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.297") align 8 %9, ptr noundef nonnull align 8 dereferenceable(8) %31)
  store ptr %9, ptr %8, align 8, !tbaa !5
  br label %32

32:                                               ; preds = %68, %25
  %33 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %34 = trunc i8 %33 to i1
  br i1 %34, label %36, label %35

35:                                               ; preds = %32
  store i32 2, ptr %10, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  br label %69

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 32, ptr %11) #4
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %37 unwind label %46

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %60, %37
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = getelementptr inbounds ptr, ptr %40, i64 2
  %42 = load ptr, ptr %41, align 8
  %43 = invoke noundef zeroext i1 %42(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %44 unwind label %50

44:                                               ; preds = %38
  br i1 %43, label %54, label %45

45:                                               ; preds = %44
  store i32 5, ptr %10, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  br label %67

46:                                               ; preds = %36
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %12, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %13, align 4
  br label %66

50:                                               ; preds = %54, %38
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %12, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %13, align 4
  br label %65

54:                                               ; preds = %44
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %55 unwind label %50

55:                                               ; preds = %54
  %56 = load ptr, ptr %5, align 8, !tbaa !5
  %57 = load ptr, ptr %5, align 8, !tbaa !5
  %58 = call noundef ptr @_ZN2vl7parsing9analyzing20ParsingSymbolManager9GetGlobalEv(ptr noundef nonnull align 8 dereferenceable(632) %57)
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing18ResolveTypeSymbolsENS_3PtrINS0_11definitions31ParsingDefinitionTypeDefinitionEEEPNS1_20ParsingSymbolManagerEPNS1_13ParsingSymbolERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSC_EE(ptr noundef %14, ptr noundef %56, ptr noundef %58, ptr noundef nonnull align 8 dereferenceable(33) %59)
          to label %60 unwind label %61

60:                                               ; preds = %55
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  br label %38, !llvm.loop !15

61:                                               ; preds = %55
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %12, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #4
  br label %65

65:                                               ; preds = %61, %50
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #4
  br label %66

66:                                               ; preds = %65, %46
  call void @llvm.lifetime.end.p0(i64 32, ptr %11) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  br label %146

67:                                               ; preds = %45
  br label %68

68:                                               ; preds = %67
  store i8 0, ptr %7, align 1, !tbaa !9
  br label %32, !llvm.loop !17

69:                                               ; preds = %35
  br label %70

70:                                               ; preds = %69, %3
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 1, ptr %15, align 1, !tbaa !9
  %71 = load i8, ptr %15, align 1, !tbaa !9, !range !11, !noundef !12
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %145

73:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #4
  %74 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %75 = getelementptr inbounds %"class.vl::parsing::definitions::ParsingDefinition", ptr %74, i32 0, i32 3
  %76 = load ptr, ptr %75, align 8, !tbaa !13
  %77 = getelementptr i8, ptr %76, i64 -24
  %78 = load i64, ptr %77, align 8
  %79 = getelementptr inbounds i8, ptr %75, i64 %78
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8 %17, ptr noundef nonnull align 8 dereferenceable(8) %79)
  store ptr %17, ptr %16, align 8, !tbaa !5
  br label %80

80:                                               ; preds = %143, %73
  %81 = load i8, ptr %15, align 1, !tbaa !9, !range !11, !noundef !12
  %82 = trunc i8 %81 to i1
  br i1 %82, label %84, label %83

83:                                               ; preds = %80
  store i32 7, ptr %10, align 4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %144

84:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #4
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %85 unwind label %94

85:                                               ; preds = %84
  br label %86

86:                                               ; preds = %138, %85
  %87 = load ptr, ptr %16, align 8, !tbaa !5
  %88 = load ptr, ptr %87, align 8, !tbaa !13
  %89 = getelementptr inbounds ptr, ptr %88, i64 2
  %90 = load ptr, ptr %89, align 8
  %91 = invoke noundef zeroext i1 %90(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %92 unwind label %98

92:                                               ; preds = %86
  br i1 %91, label %102, label %93

93:                                               ; preds = %92
  store i32 10, ptr %10, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  br label %142

94:                                               ; preds = %84
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %12, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %13, align 4
  br label %141

98:                                               ; preds = %86
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %12, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %13, align 4
  br label %140

102:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %103)
          to label %105 unwind label %121

105:                                              ; preds = %102
  store i64 %104, ptr %19, align 8, !tbaa !18
  invoke void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %106 unwind label %121

106:                                              ; preds = %105
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %107 unwind label %125

107:                                              ; preds = %106
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing21ValidateRuleStructureENS_3PtrINS0_11definitions17ParsingDefinitionEEENS2_INS3_31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSC_EE(ptr noundef %20, ptr noundef %21, ptr noundef %108, ptr noundef nonnull align 8 dereferenceable(33) %109)
          to label %110 unwind label %129

110:                                              ; preds = %107
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #4
  call void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #4
  %111 = load ptr, ptr %6, align 8, !tbaa !5
  %112 = invoke noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %111)
          to label %113 unwind label %121

113:                                              ; preds = %110
  %114 = load i64, ptr %19, align 8, !tbaa !18
  %115 = icmp eq i64 %112, %114
  br i1 %115, label %116, label %138

116:                                              ; preds = %113
  invoke void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %117 unwind label %121

117:                                              ; preds = %116
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing9analyzing18ResolveRuleSymbolsENS_3PtrINS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSA_EE(ptr noundef %22, ptr noundef %118, ptr noundef nonnull align 8 dereferenceable(33) %119)
          to label %120 unwind label %134

120:                                              ; preds = %117
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #4
  br label %138

121:                                              ; preds = %116, %110, %105, %102
  %122 = landingpad { ptr, i32 }
          cleanup
  %123 = extractvalue { ptr, i32 } %122, 0
  store ptr %123, ptr %12, align 8
  %124 = extractvalue { ptr, i32 } %122, 1
  store i32 %124, ptr %13, align 4
  br label %139

125:                                              ; preds = %106
  %126 = landingpad { ptr, i32 }
          cleanup
  %127 = extractvalue { ptr, i32 } %126, 0
  store ptr %127, ptr %12, align 8
  %128 = extractvalue { ptr, i32 } %126, 1
  store i32 %128, ptr %13, align 4
  br label %133

129:                                              ; preds = %107
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %12, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #4
  br label %133

133:                                              ; preds = %129, %125
  call void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #4
  br label %139

134:                                              ; preds = %117
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %12, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %13, align 4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #4
  br label %139

138:                                              ; preds = %120, %113
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %86, !llvm.loop !20

139:                                              ; preds = %134, %133, %121
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  br label %140

140:                                              ; preds = %139, %98
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #4
  br label %141

141:                                              ; preds = %140, %94
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  br label %146

142:                                              ; preds = %93
  br label %143

143:                                              ; preds = %142
  store i8 0, ptr %15, align 1, !tbaa !9
  br label %80, !llvm.loop !21

144:                                              ; preds = %83
  br label %145

145:                                              ; preds = %144, %70
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  ret void

146:                                              ; preds = %141, %66
  %147 = load ptr, ptr %12, align 8
  %148 = load i32, ptr %13, align 4
  %149 = insertvalue { ptr, i32 } poison, ptr %147, 0
  %150 = insertvalue { ptr, i32 } %149, i32 %148, 1
  resume { ptr, i32 } %150
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = distinct !{!20, !16}
!21 = distinct !{!21, !16}


; 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.297" = type { %"class.vl::collections::ForEachIterator.298", %"class.vl::Ptr.299" }
%"class.vl::collections::ForEachIterator.298" = type { %"class.vl::Object" }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.299" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::EnumerableForEachIterator.322" = type { %"class.vl::collections::ForEachIterator.323", %"class.vl::Ptr.324" }
%"class.vl::collections::ForEachIterator.323" = type { %"class.vl::Object" }
%"class.vl::Ptr.324" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.316" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.325" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.211" = type { ptr, ptr, ptr, ptr }

; 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 nounwind uwtable
declare dso_local noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing9analyzing14ResolveSymbolsENS_3PtrINS0_11definitions17ParsingDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(33) %2) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
.critedge:
  %3 = alloca %"class.vl::collections::EnumerableForEachIterator.297", align 8
  %4 = alloca %"class.vl::Ptr.316", align 8
  %5 = alloca %"class.vl::Ptr.316", align 8
  %6 = alloca %"class.vl::collections::EnumerableForEachIterator.322", align 8
  %7 = alloca %"class.vl::Ptr.325", align 8
  %8 = alloca %"class.vl::Ptr.211", align 8
  %9 = alloca %"class.vl::Ptr.325", align 8
  %10 = alloca %"class.vl::Ptr.325", align 8
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  %11 = tail call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %12 = getelementptr inbounds i8, ptr %11, i64 120
  %13 = load ptr, ptr %12, align 8, !tbaa !5
  %14 = getelementptr i8, ptr %13, i64 -24
  %15 = load i64, ptr %14, align 8
  %16 = getelementptr inbounds i8, ptr %12, i64 %15
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.297") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4)
  br label %17

17:                                               ; preds = %33, %.critedge
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 16
  %20 = load ptr, ptr %19, align 8
  %21 = invoke noundef zeroext i1 %20(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %22 unwind label %29

22:                                               ; preds = %17
  br i1 %21, label %31, label %.critedge29

.critedge29:                                      ; preds = %22
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  %23 = call noundef ptr @_ZNK2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %0)
  %24 = getelementptr inbounds i8, ptr %23, i64 216
  %25 = load ptr, ptr %24, align 8, !tbaa !5
  %26 = getelementptr i8, ptr %25, i64 -24
  %27 = load i64, ptr %26, align 8
  %28 = getelementptr inbounds i8, ptr %24, i64 %27
  call void @_ZN2vl11collections21CreateForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEEENS0_25EnumerableForEachIteratorIT_EERKNS0_11IEnumerableIS8_EE(ptr dead_on_unwind nonnull writable sret(%"class.vl::collections::EnumerableForEachIterator.322") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %28)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7)
  br label %37

29:                                               ; preds = %17
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %36

31:                                               ; preds = %22
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %32 = call noundef ptr @_ZN2vl7parsing9analyzing20ParsingSymbolManager9GetGlobalEv(ptr noundef nonnull align 8 dereferenceable(632) %1)
  invoke void @_ZN2vl7parsing9analyzing18ResolveTypeSymbolsENS_3PtrINS0_11definitions31ParsingDefinitionTypeDefinitionEEEPNS1_20ParsingSymbolManagerEPNS1_13ParsingSymbolERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSC_EE(ptr noundef nonnull %5, ptr noundef nonnull %1, ptr noundef %32, ptr noundef nonnull align 8 dereferenceable(33) %2)
          to label %33 unwind label %34

33:                                               ; preds = %31
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  br label %17, !llvm.loop !8

34:                                               ; preds = %31
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #4
  br label %36

36:                                               ; preds = %34, %29
  %.pn25 = phi { ptr, i32 } [ %35, %34 ], [ %30, %29 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionTypeDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  br label %61

37:                                               ; preds = %.backedge, %.critedge29
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  %40 = load ptr, ptr %39, align 8
  %41 = invoke noundef zeroext i1 %40(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %42 unwind label %44

42:                                               ; preds = %37
  br i1 %41, label %46, label %43

43:                                               ; preds = %42
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  ret void

44:                                               ; preds = %37
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %60

46:                                               ; preds = %42
  %47 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  invoke void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %0)
          to label %48 unwind label %54

48:                                               ; preds = %46
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %7)
  invoke void @_ZN2vl7parsing9analyzing21ValidateRuleStructureENS_3PtrINS0_11definitions17ParsingDefinitionEEENS2_INS3_31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSC_EE(ptr noundef nonnull %8, ptr noundef nonnull %9, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(33) %2)
          to label %49 unwind label %56

49:                                               ; preds = %48
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  %50 = call noundef i64 @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing12ParsingErrorEEEE5CountEv(ptr noundef nonnull align 8 dereferenceable(24) %2)
  %51 = icmp eq i64 %50, %47
  br i1 %51, label %52, label %.backedge

52:                                               ; preds = %49
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %7)
  invoke void @_ZN2vl7parsing9analyzing18ResolveRuleSymbolsENS_3PtrINS0_11definitions31ParsingDefinitionRuleDefinitionEEEPNS1_20ParsingSymbolManagerERNS_11collections4ListINS2_INS0_12ParsingErrorEEEPSA_EE(ptr noundef nonnull %10, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(33) %2)
          to label %53 unwind label %58

53:                                               ; preds = %52
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  br label %.backedge

.backedge:                                        ; preds = %53, %49
  br label %37, !llvm.loop !10

54:                                               ; preds = %46
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %60

56:                                               ; preds = %48
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #4
  call void @_ZN2vl3PtrINS_7parsing11definitions17ParsingDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #4
  br label %60

58:                                               ; preds = %52
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #4
  br label %60

60:                                               ; preds = %54, %56, %58, %44
  %.pn.pn = phi { ptr, i32 } [ %45, %44 ], [ %59, %58 ], [ %57, %56 ], [ %55, %54 ]
  call void @_ZN2vl3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  call void @_ZN2vl11collections25EnumerableForEachIteratorINS_3PtrINS_7parsing11definitions31ParsingDefinitionRuleDefinitionEEEED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  br label %61

61:                                               ; preds = %60, %36
  %.pn25.pn = phi { ptr, i32 } [ %.pn25, %36 ], [ %.pn.pn, %60 ]
  resume { ptr, i32 } %.pn25.pn
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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 #4 = { 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 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}
!10 = distinct !{!10, !9}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass