; LLVM IR from vczh/herodb :: Kernel/Source/Vlpp.ll (ZNK2vl7parsing3xml16XmlElementWriter4TextERKNS_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::Ptr.724" = type { ptr, ptr, ptr, ptr }
%"class.vl::Ptr.725" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::xml::XmlText" = type { %"class.vl::parsing::xml::XmlNode.base", %"class.vl::reflection::Description.base.729", %"class.vl::parsing::ParsingToken", %"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::Object" = type { ptr }
%"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.729" = 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::reflection::DescriptableObject" = type { ptr, i64, ptr, i64, ptr, %"class.vl::Ptr.12" }
%"class.vl::Ptr.12" = type { ptr, ptr, ptr, ptr }
%"class.vl::parsing::xml::XmlElementWriter" = type { %"class.vl::Object", %"class.vl::Ptr.732", ptr }
%"class.vl::Ptr.732" = 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::reflection::Description.base.737" = type { ptr }
%"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" }

; 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_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_7XmlTextEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 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 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 uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK2vl7parsing3xml16XmlElementWriter4TextERKNS_12ObjectStringIwEE(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.vl::Ptr.724", align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.vl::Ptr.725", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %9 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #6
  %10 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 464) #7
  invoke void @_ZN2vl7parsing3xml7XmlTextC1Ev(ptr noundef nonnull align 8 dereferenceable(392) %10)
          to label %11 unwind label %26

11:                                               ; preds = %2
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef %10)
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing3xml7XmlTextEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %14 unwind label %30

14:                                               ; preds = %11
  %15 = getelementptr inbounds %"class.vl::parsing::xml::XmlText", ptr %13, i32 0, i32 2
  %16 = getelementptr inbounds %"class.vl::parsing::ParsingToken", ptr %15, i32 0, i32 3
  %17 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %16, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %18 unwind label %30

18:                                               ; preds = %14
  %19 = getelementptr inbounds %"class.vl::parsing::xml::XmlElementWriter", ptr %9, i32 0, i32 1
  %20 = invoke noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %19)
          to label %21 unwind label %30

21:                                               ; preds = %18
  %22 = getelementptr inbounds %"class.vl::parsing::xml::XmlElement", ptr %20, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #6
  invoke void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_7XmlTextEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %5)
          to label %23 unwind label %34

23:                                               ; preds = %21
  %24 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing3xml7XmlNodeEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %22, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %25 unwind label %38

25:                                               ; preds = %23
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  ret ptr %9

26:                                               ; preds = %2
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %6, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %10, i64 noundef 464) #8
  br label %44

30:                                               ; preds = %18, %14, %11
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %6, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %7, align 4
  br label %43

34:                                               ; preds = %21
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %6, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %7, align 4
  br label %42

38:                                               ; preds = %23
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %6, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %7, align 4
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #6
  br label %42

42:                                               ; preds = %38, %34
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #6
  br label %43

43:                                               ; preds = %42, %30
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #6
  br label %44

44:                                               ; preds = %43, %26
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #6
  br label %45

45:                                               ; preds = %44
  %46 = load ptr, ptr %6, align 8
  %47 = load i32, ptr %7, align 4
  %48 = insertvalue { ptr, i32 } poison, ptr %46, 0
  %49 = insertvalue { ptr, i32 } %48, i32 %47, 1
  resume { ptr, i32 } %49
}

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::Ptr.724" = 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_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_7XmlTextEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #4 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 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 uwtable
define dso_local noundef nonnull align 8 dereferenceable(48) ptr @_ZNK2vl7parsing3xml16XmlElementWriter4TextERKNS_12ObjectStringIwEE(ptr noundef nonnull returned align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.vl::Ptr.724", align 8
  %4 = alloca %"class.vl::Ptr.725", align 8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %3) #6
  %5 = tail call noalias noundef nonnull dereferenceable(464) ptr @_Znwm(i64 noundef 464) #7
  invoke void @_ZN2vl7parsing3xml7XmlTextC1Ev(ptr noundef nonnull align 8 dereferenceable(392) %5)
          to label %6 unwind label %16

6:                                                ; preds = %2
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEEC2EPS3_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull %5)
  %7 = call noundef ptr @_ZNK2vl3PtrINS_7parsing3xml7XmlTextEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %3)
  %8 = getelementptr inbounds i8, ptr %7, i64 272
  %9 = invoke noundef nonnull align 8 dereferenceable(48) ptr @_ZN2vl12ObjectStringIwEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %10 unwind label %18

10:                                               ; preds = %6
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = call noundef ptr @_ZNK2vl3PtrINS_7parsing3xml10XmlElementEEptEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
  %13 = getelementptr inbounds i8, ptr %12, i64 696
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEEC2INS2_7XmlTextEEERKNS0_IT_EE(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) %3)
  %14 = invoke noundef i64 @_ZN2vl11collections4ListINS_3PtrINS_7parsing3xml7XmlNodeEEEPS5_E3AddERKS6_(ptr noundef nonnull align 8 dereferenceable(33) %13, ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %15 unwind label %20

15:                                               ; preds = %10
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  ret ptr %0

16:                                               ; preds = %2
  %17 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %5, i64 noundef 464) #8
  br label %23

18:                                               ; preds = %6
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %22

20:                                               ; preds = %10
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlNodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %22

22:                                               ; preds = %20, %18
  %.pn = phi { ptr, i32 } [ %21, %20 ], [ %19, %18 ]
  call void @_ZN2vl3PtrINS_7parsing3xml7XmlTextEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %3) #6
  br label %23

23:                                               ; preds = %22, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %22 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn
}

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,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass