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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.vl::Ptr.46" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::ParsingTreeObject" = type { %"class.vl::parsing::ParsingTreeNode.base", %"class.vl::reflection::Description.base.612", %"class.vl::ObjectString", %"class.vl::collections::Dictionary.613", %"class.vl::collections::List", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::ParsingTreeNode.base" = type { %"class.vl::Object", %"class.vl::reflection::Description.base.597", %"struct.vl::parsing::ParsingTextRange", ptr, %"class.vl::collections::List.598" }
%"class.vl::Object" = type { ptr }
%"class.vl::reflection::Description.base.597" = 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.598" = type { %"class.vl::collections::ListBase.base.604", %"class.vl::collections::IEnumerable.602" }
%"class.vl::collections::ListBase.base.604" = type <{ %"class.vl::collections::ArrayBase.base.603", i64, i8 }>
%"class.vl::collections::ArrayBase.base.603" = type { %"class.vl::collections::ListStore.601", ptr, i64 }
%"class.vl::collections::ListStore.601" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.602" = type { %"class.vl::Interface" }
%"class.vl::Interface" = type { ptr }
%"class.vl::reflection::Description.base.612" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::collections::Dictionary.613" = type { %"class.vl::Object", %"class.vl::collections::SortedList", %"class.vl::collections::List.598", %"class.vl::collections::IEnumerable.614" }
%"class.vl::collections::SortedList" = 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::collections::IEnumerable.614" = type { %"class.vl::Interface" }
%"class.vl::collections::List" = type { %"class.vl::collections::ListBase.base", %"class.vl::collections::IEnumerable.2" }
%"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 void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl7parsing17ParsingTreeObject9SetMemberERKNS_12ObjectStringIwEENS_3PtrINS0_15ParsingTreeNodeEEE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef %2) #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca %"class.vl::Ptr.46", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.vl::Ptr.46", align 8
  %14 = alloca %"class.vl::Ptr.46", align 8
  %15 = alloca i1, align 1
  %16 = alloca %"class.vl::Ptr.46", align 8
  %17 = alloca %"class.vl::Ptr.46", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %19 = getelementptr inbounds %"class.vl::parsing::ParsingTreeObject", ptr %18, i32 0, i32 3
  %20 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104) %19)
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = call noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %20, ptr noundef nonnull align 8 dereferenceable(48) %21)
  store i64 %22, ptr %8, align 8, !tbaa !9
  %23 = load i64, ptr %8, align 8, !tbaa !9
  %24 = icmp ne i64 %23, -1
  br i1 %24, label %25, label %79

25:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #3
  %26 = getelementptr inbounds %"class.vl::parsing::ParsingTreeObject", ptr %18, i32 0, i32 3
  %27 = call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %26)
  %28 = load i64, ptr %8, align 8, !tbaa !9
  %29 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing15ParsingTreeNodeEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24) %27, i64 noundef %28)
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %29)
  %30 = invoke noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEeqERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %31 unwind label %33

31:                                               ; preds = %25
  br i1 %30, label %32, label %37

32:                                               ; preds = %31
  store i1 true, ptr %4, align 1
  store i32 1, ptr %12, align 4
  br label %71

33:                                               ; preds = %68, %64, %37, %25
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %10, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %11, align 4
  br label %78

37:                                               ; preds = %31
  store i1 false, ptr %15, align 1
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %38 unwind label %33

38:                                               ; preds = %37
  %39 = invoke noundef zeroext i1 @_ZN2vl7parsing15ParsingTreeNode17BeforeRemoveChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef %13)
          to label %40 unwind label %52

40:                                               ; preds = %38
  br i1 %39, label %41, label %46

41:                                               ; preds = %40
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %2)
          to label %42 unwind label %52

42:                                               ; preds = %41
  store i1 true, ptr %15, align 1
  %43 = invoke noundef zeroext i1 @_ZN2vl7parsing15ParsingTreeNode14BeforeAddChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef %14)
          to label %44 unwind label %56

44:                                               ; preds = %42
  %45 = xor i1 %43, true
  br label %46

46:                                               ; preds = %44, %40
  %47 = phi i1 [ true, %40 ], [ %45, %44 ]
  %48 = load i1, ptr %15, align 1
  br i1 %48, label %49, label %50

49:                                               ; preds = %46
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #3
  br label %50

50:                                               ; preds = %49, %46
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  br i1 %47, label %51, label %64

51:                                               ; preds = %50
  store i1 false, ptr %4, align 1
  store i32 1, ptr %12, align 4
  br label %71

52:                                               ; preds = %41, %38
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %10, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %11, align 4
  br label %63

56:                                               ; preds = %42
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %10, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %11, align 4
  %60 = load i1, ptr %15, align 1
  br i1 %60, label %61, label %62

61:                                               ; preds = %56
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #3
  br label %62

62:                                               ; preds = %61, %56
  br label %63

63:                                               ; preds = %62, %52
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #3
  br label %78

64:                                               ; preds = %50
  %65 = getelementptr inbounds %"class.vl::parsing::ParsingTreeObject", ptr %18, i32 0, i32 3
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = invoke noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6RemoveERKS3_(ptr noundef nonnull align 8 dereferenceable(104) %65, ptr noundef nonnull align 8 dereferenceable(48) %66)
          to label %68 unwind label %33

68:                                               ; preds = %64
  invoke void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %69 unwind label %33

69:                                               ; preds = %68
  invoke void @_ZN2vl7parsing15ParsingTreeNode16AfterRemoveChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef %16)
          to label %70 unwind label %74

70:                                               ; preds = %69
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #3
  store i32 0, ptr %12, align 4
  br label %71

71:                                               ; preds = %70, %51, %32
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #3
  %72 = load i32, ptr %12, align 4
  switch i32 %72, label %88 [
    i32 0, label %73
  ]

73:                                               ; preds = %71
  br label %79

74:                                               ; preds = %69
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %10, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #3
  br label %78

78:                                               ; preds = %74, %63, %33
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #3
  br label %90

79:                                               ; preds = %73, %3
  %80 = getelementptr inbounds %"class.vl::parsing::ParsingTreeObject", ptr %18, i32 0, i32 3
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E3AddERKS3_RKS7_(ptr noundef nonnull align 8 dereferenceable(104) %80, ptr noundef nonnull align 8 dereferenceable(48) %81, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %2)
  invoke void @_ZN2vl7parsing15ParsingTreeNode13AfterAddChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %18, ptr noundef %17)
          to label %83 unwind label %84

83:                                               ; preds = %79
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #3
  store i1 true, ptr %4, align 1
  store i32 1, ptr %12, align 4
  br label %88

84:                                               ; preds = %79
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %10, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %11, align 4
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #3
  br label %90

88:                                               ; preds = %83, %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  %89 = load i1, ptr %4, align 1
  ret i1 %89

90:                                               ; preds = %84, %78
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %91

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6RemoveERKS3_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E3AddERKS3_RKS7_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) #2 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 = { 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::Ptr.46" = 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 void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN2vl7parsing17ParsingTreeObject9SetMemberERKNS_12ObjectStringIwEENS_3PtrINS0_15ParsingTreeNodeEEE(ptr noundef nonnull align 8 dereferenceable(344) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::Ptr.46", align 8
  %5 = alloca %"class.vl::Ptr.46", align 8
  %6 = alloca %"class.vl::Ptr.46", align 8
  %7 = alloca %"class.vl::Ptr.46", align 8
  %8 = alloca %"class.vl::Ptr.46", align 8
  %9 = getelementptr inbounds i8, ptr %0, i64 184
  %10 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E4KeysEv(ptr noundef nonnull align 8 dereferenceable(104) %9)
  %11 = tail call noundef i64 @_ZNK2vl11collections10SortedListINS_12ObjectStringIwEES3_E7IndexOfERKS3_(ptr noundef nonnull align 8 dereferenceable(33) %10, ptr noundef nonnull align 8 dereferenceable(48) %1)
  %.not = icmp eq i64 %11, -1
  br i1 %.not, label %36, label %12

12:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #3
  %13 = tail call noundef nonnull align 8 dereferenceable(33) ptr @_ZNK2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6ValuesEv(ptr noundef nonnull align 8 dereferenceable(104) %9)
  %14 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNK2vl11collections9ArrayBaseINS_3PtrINS_7parsing15ParsingTreeNodeEEEE3GetEl(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %11)
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %14)
  %15 = call noundef zeroext i1 @_ZNK2vl3PtrINS_7parsing15ParsingTreeNodeEEeqERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %2)
  br i1 %15, label %.thread25, label %18

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

18:                                               ; preds = %12
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %19 = invoke noundef zeroext i1 @_ZN2vl7parsing15ParsingTreeNode17BeforeRemoveChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %5)
          to label %20 unwind label %24

20:                                               ; preds = %18
  br i1 %19, label %21, label %.thread24

.thread24:                                        ; preds = %20
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br label %.thread25

21:                                               ; preds = %20
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %2)
  %22 = invoke noundef zeroext i1 @_ZN2vl7parsing15ParsingTreeNode14BeforeAddChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %6)
          to label %23 unwind label %26

23:                                               ; preds = %21
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br i1 %22, label %29, label %.thread25

24:                                               ; preds = %18
  %25 = landingpad { ptr, i32 }
          cleanup
  br label %28

26:                                               ; preds = %21
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #3
  br label %28

28:                                               ; preds = %26, %24
  %.pn = phi { ptr, i32 } [ %27, %26 ], [ %25, %24 ]
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #3
  br label %35

29:                                               ; preds = %23
  %30 = invoke noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6RemoveERKS3_(ptr noundef nonnull align 8 dereferenceable(104) %9, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %31 unwind label %16

31:                                               ; preds = %29
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %4)
  invoke void @_ZN2vl7parsing15ParsingTreeNode16AfterRemoveChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %7)
          to label %32 unwind label %33

.thread25:                                        ; preds = %12, %23, %.thread24
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  br label %41

32:                                               ; preds = %31
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #3
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  br label %36

33:                                               ; preds = %31
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #3
  br label %35

35:                                               ; preds = %33, %28, %16
  %.pn20 = phi { ptr, i32 } [ %34, %33 ], [ %17, %16 ], [ %.pn, %28 ]
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #3
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #3
  br label %42

36:                                               ; preds = %32, %3
  %37 = call noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E3AddERKS3_RKS7_(ptr noundef nonnull align 8 dereferenceable(104) %9, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %2)
  invoke void @_ZN2vl7parsing15ParsingTreeNode13AfterAddChildENS_3PtrIS1_EE(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %8)
          to label %38 unwind label %39

38:                                               ; preds = %36
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #3
  br label %41

39:                                               ; preds = %36
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing15ParsingTreeNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #3
  br label %42

41:                                               ; preds = %.thread25, %38
  %.117 = phi i1 [ true, %38 ], [ %15, %.thread25 ]
  ret i1 %.117

42:                                               ; preds = %39, %35
  %.pn22 = phi { ptr, i32 } [ %40, %39 ], [ %.pn20, %35 ]
  resume { ptr, i32 } %.pn22
}

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E6RemoveERKS3_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2vl11collections10DictionaryINS_12ObjectStringIwEENS_3PtrINS_7parsing15ParsingTreeNodeEEES3_PS6_E3AddERKS3_RKS7_(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 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 = { 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: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass