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

; 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::parsing::xml::XmlElementWriter" = type { %"class.vl::Object", %"class.vl::Ptr.732", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.732" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.725" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::xml::XmlElement" = type { %"class.vl::parsing::xml::XmlNode.base", %"class.vl::reflection::Description.base.737", %"class.vl::parsing::ParsingToken", %"class.vl::parsing::ParsingToken", %"class.vl::collections::List.738", %"class.vl::collections::List.716", %"class.vl::reflection::DescriptableObject" }
%"class.vl::parsing::xml::XmlNode.base" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::reflection::Description.base.727" }
%"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::reflection::Description.base.727" = type { ptr }
%"class.vl::reflection::Description.base.737" = type { ptr }
%"class.vl::parsing::ParsingToken" = type { %"class.vl::parsing::ParsingTreeCustomBase.base", %"class.vl::reflection::Description.base.14", i64, %"class.vl::ObjectString", %"class.vl::reflection::DescriptableObject" }
%"class.vl::reflection::Description.base.14" = type { ptr }
%"class.vl::ObjectString" = type { %"class.vl::Object", ptr, ptr, i64, i64, i64 }
%"class.vl::collections::List.738" = type { %"class.vl::collections::ListBase.base.744", %"class.vl::collections::IEnumerable.742" }
%"class.vl::collections::ListBase.base.744" = type <{ %"class.vl::collections::ArrayBase.base.743", i64, i8 }>
%"class.vl::collections::ArrayBase.base.743" = type { %"class.vl::collections::ListStore.741", ptr, i64 }
%"class.vl::collections::ListStore.741" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.742" = type { %"class.vl::Interface" }
%"class.vl::collections::List.716" = type { %"class.vl::collections::ListBase.base.722", %"class.vl::collections::IEnumerable.720" }
%"class.vl::collections::ListBase.base.722" = type <{ %"class.vl::collections::ArrayBase.base.721", i64, i8 }>
%"class.vl::collections::ArrayBase.base.721" = type { %"class.vl::collections::ListStore.719", ptr, i64 }
%"class.vl::collections::ListStore.719" = type { %"class.vl::Object" }
%"class.vl::collections::IEnumerable.720" = 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: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #0

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl7parsing3xml16XmlElementWriter7ElementERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::xml::XmlElementWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(48) %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %"class.vl::Ptr.732", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.vl::Ptr.725", align 8
  %11 = alloca %"class.vl::Ptr.732", align 8
  store ptr %0, ptr %4, align 8
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %12 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #6
  %13 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 816) #7
  invoke void @_ZN2vl7parsing3xml10XmlElementC1Ev(ptr noundef nonnull align 8 dereferenceable(744) %13)
          to label %14 unwind label %31

14:                                               ; preds = %3
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef %13)
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %17 unwind label %35

17:                                               ; preds = %14
  %18 = getelementptr inbounds %"class.vl::parsing::xml::XmlElement", ptr %16, i32 0, i32 2
  %19 = getelementptr inbounds %"class.vl::parsing::ParsingToken", ptr %18, i32 0, i32 3
  %20 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %21 unwind label %35

21:                                               ; preds = %17
  %22 = getelementptr inbounds %"class.vl::parsing::xml::XmlElementWriter", ptr %12, i32 0, i32 1
  %23 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %24 unwind label %35

24:                                               ; preds = %21
  %25 = getelementptr inbounds %"class.vl::parsing::xml::XmlElement", ptr %23, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 32, ptr %10) #6
  invoke void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_10XmlElementEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %26 unwind label %39

26:                                               ; preds = %24
  %27 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing3xml7XmlNodeEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %25, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %28 unwind label %43

28:                                               ; preds = %26
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  invoke void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %7)
          to label %29 unwind label %35

29:                                               ; preds = %28
  invoke void @_ZN2vl7parsing3xml16XmlElementWriterC1ENS_3PtrINS1_10XmlElementEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef %11, ptr noundef %12)
          to label %30 unwind label %48

30:                                               ; preds = %29
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  ret void

31:                                               ; preds = %3
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %8, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %13, i64 noundef 816) #8
  br label %53

35:                                               ; preds = %28, %21, %17, %14
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %8, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %9, align 4
  br label %52

39:                                               ; preds = %24
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %8, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %9, align 4
  br label %47

43:                                               ; preds = %26
  %44 = landingpad { ptr, i32 }
          cleanup
  %45 = extractvalue { ptr, i32 } %44, 0
  store ptr %45, ptr %8, align 8
  %46 = extractvalue { ptr, i32 } %44, 1
  store i32 %46, ptr %9, align 4
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %47

47:                                               ; preds = %43, %39
  call void @llvm.lifetime.end.p0(i64 32, ptr %10) #6
  br label %52

48:                                               ; preds = %29
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %8, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %9, align 4
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %52

52:                                               ; preds = %48, %47, %35
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #6
  br label %53

53:                                               ; preds = %52, %31
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #6
  br label %54

54:                                               ; preds = %53
  %55 = load ptr, ptr %8, align 8
  %56 = load i32, ptr %9, align 4
  %57 = insertvalue { ptr, i32 } poison, ptr %55, 0
  %58 = insertvalue { ptr, i32 } %57, i32 %56, 1
  resume { ptr, i32 } %58
}

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

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

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

declare void @_ZN2vl7parsing3xml16XmlElementWriterC1ENS_3PtrINS1_10XmlElementEEEPKS2_(ptr, ptr, 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin nounwind }

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

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


; 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::parsing::xml::XmlElementWriter" = type { %"class.vl::Object", %"class.vl::Ptr.732", ptr }
%"class.vl::Object" = type { ptr }
%"class.vl::Ptr.732" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.725" = type { ptr, ptr, ptr, ptr }

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #0

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK2vl7parsing3xml16XmlElementWriter7ElementERKNS_12ObjectStringIwEE(ptr dead_on_unwind noalias writable sret(%"class.vl::parsing::xml::XmlElementWriter") align 8 %0, ptr noundef nonnull align 8 dereferenceable(48) %1, ptr noundef nonnull align 8 dereferenceable(48) %2) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.vl::Ptr.732", align 8
  %5 = alloca %"class.vl::Ptr.725", align 8
  %6 = alloca %"class.vl::Ptr.732", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  %7 = tail call noalias noundef nonnull dereferenceable(816) ptr @_Znwm(i64 noundef 816) #7
  invoke void @_ZN2vl7parsing3xml10XmlElementC1Ev(ptr noundef nonnull align 8 dereferenceable(744) %7)
          to label %8 unwind label %19

8:                                                ; preds = %3
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull %7)
  %9 = call noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
  %10 = getelementptr inbounds i8, ptr %9, i64 272
  %11 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %2)
          to label %12 unwind label %21

12:                                               ; preds = %8
  %13 = getelementptr inbounds i8, ptr %1, i64 8
  %14 = call noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
  %15 = getelementptr inbounds i8, ptr %14, i64 696
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #6
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_10XmlElementEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 8 dereferenceable(32) %4)
  %16 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing3xml7XmlNodeEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %15, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %17 unwind label %23

17:                                               ; preds = %12
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEEC2ERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %6, ptr noundef nonnull align 8 dereferenceable(32) %4)
  invoke void @_ZN2vl7parsing3xml16XmlElementWriterC1ENS_3PtrINS1_10XmlElementEEEPKS2_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull %6, ptr noundef nonnull %1)
          to label %18 unwind label %25

18:                                               ; preds = %17
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #6
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  ret void

19:                                               ; preds = %3
  %20 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 816) #8
  br label %28

21:                                               ; preds = %8
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %27

23:                                               ; preds = %12
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #6
  br label %27

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

27:                                               ; preds = %25, %23, %21
  %.pn = phi { ptr, i32 } [ %26, %25 ], [ %24, %23 ], [ %22, %21 ]
  call void @_ZN2vl3PtrINS_7parsing3xml10XmlElementEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %28

28:                                               ; preds = %27, %19
  %.pn.pn = phi { ptr, i32 } [ %.pn, %27 ], [ %20, %19 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  resume { ptr, i32 } %.pn.pn
}

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

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

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

declare void @_ZN2vl7parsing3xml16XmlElementWriterC1ENS_3PtrINS1_10XmlElementEEEPKS2_(ptr, ptr, 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


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