; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingState" = type { %"class.vl::Object", %"class.vl::ObjectString", %"class.vl::Ptr.61", %"class.vl::collections::List.47", %"class.vl::Ptr.62", %"class.vl::ObjectString", i64, %"class.vl::Ptr.63" }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::List.47" = type { %"class.vl::collections::ListBase.base.53", %"class.vl::collections::IEnumerable.51" }
%"class.vl::collections::ListBase.base.53" = type <{ %"class.vl::collections::ArrayBase.base.52", i64, i8 }>
%"class.vl::collections::ArrayBase.base.52" = type { %"class.vl::collections::ListStore.50", ptr, i64 }
%"class.vl::collections::ListStore.50" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.51" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.62" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.63" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.137" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingGeneralParser" = type { %"class.vl::Object", %"class.vl::Ptr.61" }

@.str.100 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.101 = external hidden unnamed_addr constant [18 x i32], align 4

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl7parsing7tabling12ParsingState5ResetERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(33)) #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERKNS_12ObjectStringIwEES6_RNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EEl(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %5) #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i64, align 8
  %13 = alloca %"class.vl::parsing::tabling::ParsingState", align 8
  %14 = alloca %"class.vl::Ptr.61", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.vl::Ptr.137", align 8
  %18 = alloca %"class.vl::ObjectString", align 8
  %19 = alloca %"class.vl::ObjectString", align 8
  %20 = alloca %"class.vl::ObjectString", align 8
  %21 = alloca i1, align 1
  %22 = alloca i32, align 4
  store ptr %0, ptr %7, align 8
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store i64 %5, ptr %12, align 8, !tbaa !9
  %23 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr %13) #5
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = getelementptr inbounds %"class.vl::parsing::tabling::ParsingGeneralParser", ptr %23, i32 0, i32 1
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %25)
  %26 = load i64, ptr %12, align 8, !tbaa !9
  invoke void @_ZN2vl7parsing7tabling12ParsingStateC1ERKNS_12ObjectStringIwEENS_3PtrINS1_12ParsingTableEEEl(ptr noundef nonnull align 8 dereferenceable(256) %13, ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef %14, i64 noundef %26)
          to label %27 unwind label %45

27:                                               ; preds = %6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  %28 = load ptr, ptr %10, align 8, !tbaa !5
  %29 = invoke noundef i64 @_ZN2vl7parsing7tabling12ParsingState5ResetERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(256) %13, ptr noundef nonnull align 8 dereferenceable(48) %28)
          to label %30 unwind label %49

30:                                               ; preds = %27
  %31 = icmp eq i64 %29, -1
  br i1 %31, label %32, label %85

32:                                               ; preds = %30
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  %34 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 208) #6
          to label %35 unwind label %53

35:                                               ; preds = %32
  store i1 true, ptr %21, align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr %19) #5
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %19, ptr noundef @.str.100, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %37 unwind label %57

37:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 48, ptr %20) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %20, ptr noundef @.str.101, i1 noundef zeroext true)
          to label %38 unwind label %61

38:                                               ; preds = %37
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind writable sret(%"class.vl::ObjectString") align 8 %18, ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %20)
          to label %39 unwind label %65

39:                                               ; preds = %38
  invoke void @_ZN2vl7parsing12ParsingErrorC1ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(136) %34, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %40 unwind label %69

40:                                               ; preds = %39
  store i1 false, ptr %21, align 1
  invoke void @_ZN2vl3PtrINS_7parsing12ParsingErrorEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef %34)
          to label %41 unwind label %69

41:                                               ; preds = %40
  %42 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing12ParsingErrorEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %33, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %43 unwind label %73

43:                                               ; preds = %41
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef null)
          to label %44 unwind label %49

44:                                               ; preds = %43
  store i32 1, ptr %22, align 4
  br label %88

45:                                               ; preds = %6
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %15, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %16, align 4
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #5
  br label %90

49:                                               ; preds = %85, %43, %27
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %15, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %16, align 4
  br label %89

53:                                               ; preds = %32
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %15, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %16, align 4
  br label %84

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

61:                                               ; preds = %37
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %15, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %16, align 4
  br label %79

65:                                               ; preds = %38
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %15, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %16, align 4
  br label %78

69:                                               ; preds = %40, %39
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %15, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %16, align 4
  br label %77

73:                                               ; preds = %41
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %15, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %16, align 4
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #5
  br label %77

77:                                               ; preds = %73, %69
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  br label %78

78:                                               ; preds = %77, %65
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %20) #5
  br label %79

79:                                               ; preds = %78, %61
  call void @llvm.lifetime.end.p0(i64 48, ptr %20) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #5
  br label %80

80:                                               ; preds = %79, %57
  call void @llvm.lifetime.end.p0(i64 48, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %18) #5
  %81 = load i1, ptr %21, align 1
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  call void @_ZdlPvm(ptr noundef %34, i64 noundef 208) #7
  br label %83

83:                                               ; preds = %82, %80
  br label %84

84:                                               ; preds = %83, %53
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  br label %89

85:                                               ; preds = %30
  %86 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %23, ptr noundef nonnull align 8 dereferenceable(256) %13, ptr noundef nonnull align 8 dereferenceable(33) %86)
          to label %87 unwind label %49

87:                                               ; preds = %85
  store i32 1, ptr %22, align 4
  br label %88

88:                                               ; preds = %87, %44
  call void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %13) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr %13) #5
  ret void

89:                                               ; preds = %84, %49
  call void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %13) #5
  br label %90

90:                                               ; preds = %89, %45
  call void @llvm.lifetime.end.p0(i64 256, ptr %13) #5
  br label %91

91:                                               ; preds = %90
  %92 = load ptr, ptr %15, align 8
  %93 = load i32, ptr %16, align 4
  %94 = insertvalue { ptr, i32 } poison, ptr %92, 0
  %95 = insertvalue { ptr, i32 } %94, i32 %93, 1
  resume { ptr, i32 } %95
}

declare void @_ZN2vl7parsing7tabling12ParsingStateC1ERKNS_12ObjectStringIwEENS_3PtrINS1_12ParsingTableEEEl(ptr, ptr, ptr, i64)

declare void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr)

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 = { 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 = { 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 = { 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}


; 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::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::tabling::ParsingState" = type { %"class.vl::Object", %"class.vl::ObjectString", %"class.vl::Ptr.61", %"class.vl::collections::List.47", %"class.vl::Ptr.62", %"class.vl::ObjectString", i64, %"class.vl::Ptr.63" }
%"class.vl::Ptr.61" = type { ptr, ptr, ptr, ptr }
%"class.vl::collections::List.47" = type { %"class.vl::collections::ListBase.base.53", %"class.vl::collections::IEnumerable.51" }
%"class.vl::collections::ListBase.base.53" = type <{ %"class.vl::collections::ArrayBase.base.52", i64, i8 }>
%"class.vl::collections::ArrayBase.base.52" = type { %"class.vl::collections::ListStore.50", ptr, i64 }
%"class.vl::collections::ListStore.50" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.51" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::Ptr.62" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.63" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.137" = type { ptr, ptr, ptr, ptr }

@.str.100 = external hidden unnamed_addr constant [7 x i32], align 4
@.str.101 = external hidden unnamed_addr constant [18 x i32], align 4

; 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: mustprogress uwtable
declare dso_local void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, i1 noundef zeroext) unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_ZN2vl7parsing7tabling12ParsingState5ResetERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8, ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(33)) local_unnamed_addr #2 align 2

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERKNS_12ObjectStringIwEES6_RNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPSA_EEl(ptr dead_on_unwind noalias writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(33) %4, i64 noundef %5) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.vl::parsing::tabling::ParsingState", align 8
  %8 = alloca %"class.vl::Ptr.61", align 8
  %9 = alloca %"class.vl::Ptr.137", align 8
  %10 = alloca %"class.vl::ObjectString", align 8
  %11 = alloca %"class.vl::ObjectString", align 8
  %12 = alloca %"class.vl::ObjectString", align 8
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %7) #5
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %13)
  invoke void @_ZN2vl7parsing7tabling12ParsingStateC1ERKNS_12ObjectStringIwEENS_3PtrINS1_12ParsingTableEEEl(ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull align 8 dereferenceable(48) %2, ptr noundef nonnull %8, i64 noundef %5)
          to label %14 unwind label %28

14:                                               ; preds = %6
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  %15 = invoke noundef i64 @_ZN2vl7parsing7tabling12ParsingState5ResetERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %16 unwind label %30

16:                                               ; preds = %14
  %17 = icmp eq i64 %15, -1
  br i1 %17, label %18, label %46

18:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  %19 = invoke noalias noundef nonnull dereferenceable(208) ptr @_Znwm(i64 noundef 208) #6
          to label %20 unwind label %32

20:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) #5
  invoke void @_ZN2vlplEPKwRKNS_12ObjectStringIwEE(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %11, ptr noundef nonnull @.str.100, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %21 unwind label %.thread

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  invoke void @_ZN2vl12ObjectStringIwEC2EPKwb(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull @.str.101, i1 noundef zeroext true)
          to label %22 unwind label %.thread32

22:                                               ; preds = %21
  invoke void @_ZNK2vl12ObjectStringIwEplERKS1_(ptr dead_on_unwind nonnull writable sret(%"class.vl::ObjectString") align 8 %10, ptr noundef nonnull align 8 dereferenceable(48) %11, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %23 unwind label %36

23:                                               ; preds = %22
  invoke void @_ZN2vl7parsing12ParsingErrorC1ERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(136) %19, ptr noundef nonnull align 8 dereferenceable(48) %10)
          to label %24 unwind label %38

24:                                               ; preds = %23
  invoke void @_ZN2vl3PtrINS_7parsing12ParsingErrorEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull %19)
          to label %25 unwind label %38

25:                                               ; preds = %24
  %26 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing12ParsingErrorEEEPS4_E3AddERKS5_(ptr noundef nonnull align 8 dereferenceable(33) %4, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %27 unwind label %40

27:                                               ; preds = %25
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2EPS2_(ptr noundef nonnull align 8 dereferenceable(32) %0, ptr noundef null)
          to label %47 unwind label %30

28:                                               ; preds = %6
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing7tabling12ParsingTableEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #5
  br label %49

30:                                               ; preds = %46, %27, %14
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %48

32:                                               ; preds = %18
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %45

.thread:                                          ; preds = %20
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  br label %44

.thread32:                                        ; preds = %21
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  br label %44

36:                                               ; preds = %22
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %43

38:                                               ; preds = %24, %23
  %.0 = phi i1 [ false, %24 ], [ true, %23 ]
  %39 = landingpad { ptr, i32 }
          cleanup
  br label %42

40:                                               ; preds = %25
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing12ParsingErrorEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #5
  br label %42

42:                                               ; preds = %40, %38
  %.pn = phi { ptr, i32 } [ %41, %40 ], [ %39, %38 ]
  %.1 = phi i1 [ false, %40 ], [ %.0, %38 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %10) #5
  br label %43

43:                                               ; preds = %36, %42
  %.pn.pn = phi { ptr, i32 } [ %.pn, %42 ], [ %37, %36 ]
  %.2 = phi i1 [ %.1, %42 ], [ true, %36 ]
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @_ZN2vl12ObjectStringIwED2Ev(ptr noundef nonnull align 8 dereferenceable(48) %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) #5
  br i1 %.2, label %44, label %45

44:                                               ; preds = %.thread32, %.thread, %43
  %.pn.pn.pn.pn31 = phi { ptr, i32 } [ %34, %.thread ], [ %.pn.pn, %43 ], [ %35, %.thread32 ]
  call void @_ZdlPvm(ptr noundef nonnull %19, i64 noundef 208) #7
  br label %45

45:                                               ; preds = %43, %44, %32
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn31, %44 ], [ %.pn.pn, %43 ], [ %33, %32 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  br label %48

46:                                               ; preds = %16
  invoke void @_ZN2vl7parsing7tabling20ParsingGeneralParser5ParseERNS1_12ParsingStateERNS_11collections4ListINS_3PtrINS0_12ParsingErrorEEEPS8_EE(ptr dead_on_unwind writable sret(%"class.vl::Ptr.46") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull align 8 dereferenceable(256) %7, ptr noundef nonnull align 8 dereferenceable(33) %4)
          to label %47 unwind label %30

47:                                               ; preds = %46, %27
  call void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #5
  ret void

48:                                               ; preds = %45, %30
  %.pn26 = phi { ptr, i32 } [ %31, %30 ], [ %.pn.pn.pn.pn.pn, %45 ]
  call void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr noundef nonnull align 8 dereferenceable(256) %7) #5
  br label %49

49:                                               ; preds = %48, %28
  %.pn26.pn = phi { ptr, i32 } [ %.pn26, %48 ], [ %29, %28 ]
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn26.pn
}

declare void @_ZN2vl7parsing7tabling12ParsingStateC1ERKNS_12ObjectStringIwEENS_3PtrINS1_12ParsingTableEEEl(ptr, ptr, ptr, i64) local_unnamed_addr

declare void @_ZN2vl7parsing7tabling12ParsingStateD1Ev(ptr) local_unnamed_addr

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 = { 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 = { 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 = { 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 #5 = { nounwind }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { 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)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass