; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode/juce_gui_basics.ll (ZN4juce9PopupMenu4ItemaSERKS1_)

; 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"

%"struct.juce::PopupMenu::Item" = type { %"class.juce::String", i32, %"class.juce::ScopedPointer.433", %"class.juce::ScopedPointer.89", %"class.juce::ReferenceCountedObjectPtr.434", %"class.juce::ReferenceCountedObjectPtr.435", ptr, %"class.juce::String", %"class.juce::Colour", i8, i8, i8, i8 }
%"class.juce::ScopedPointer.433" = type { ptr }
%"class.juce::ScopedPointer.89" = type { ptr }
%"class.juce::ReferenceCountedObjectPtr.434" = type { ptr }
%"class.juce::ReferenceCountedObjectPtr.435" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

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

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

; Function Attrs: nounwind
declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef) #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN4juce9PopupMenu4ItemaSERKS1_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %5 = load ptr, ptr %3, align 8
  %6 = load ptr, ptr %4, align 8, !tbaa !5
  %7 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %6, i32 0, i32 0
  %8 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 0
  %9 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %10 = load ptr, ptr %4, align 8, !tbaa !5
  %11 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %10, i32 0, i32 1
  %12 = load i32, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 1
  store i32 %12, ptr %13, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %14, i32 0, i32 2
  %16 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9PopupMenuEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  %17 = call noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef %16)
  %18 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 2
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9PopupMenuEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef %17)
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %20, i32 0, i32 3
  %22 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #5
  %23 = icmp ne ptr %22, null
  br i1 %23, label %24, label %32

24:                                               ; preds = %2
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %25, i32 0, i32 3
  %27 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #5
  %28 = load ptr, ptr %27, align 8, !tbaa !21
  %29 = getelementptr inbounds ptr, ptr %28, i64 45
  %30 = load ptr, ptr %29, align 8
  %31 = call noundef ptr %30(ptr noundef nonnull align 8 dereferenceable(208) %27)
  br label %33

32:                                               ; preds = %2
  br label %33

33:                                               ; preds = %32, %24
  %34 = phi ptr [ %31, %24 ], [ null, %32 ]
  %35 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 3
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_8DrawableEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef %34)
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %37, i32 0, i32 4
  %39 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 4
  %40 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull align 8 dereferenceable(8) %38)
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %41, i32 0, i32 5
  %43 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 5
  %44 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %42)
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %45, i32 0, i32 6
  %47 = load ptr, ptr %46, align 8, !tbaa !23
  %48 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 6
  store ptr %47, ptr %48, align 8, !tbaa !23
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %49, i32 0, i32 7
  %51 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 7
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull align 8 dereferenceable(8) %50) #5
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %53, i32 0, i32 8
  %55 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 8
  %56 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %55, ptr noundef nonnull align 1 dereferenceable(4) %54) #5
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %57, i32 0, i32 9
  %59 = load i8, ptr %58, align 4, !tbaa !24, !range !25, !noundef !26
  %60 = trunc i8 %59 to i1
  %61 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 9
  %62 = zext i1 %60 to i8
  store i8 %62, ptr %61, align 4, !tbaa !24
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %63, i32 0, i32 10
  %65 = load i8, ptr %64, align 1, !tbaa !27, !range !25, !noundef !26
  %66 = trunc i8 %65 to i1
  %67 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 10
  %68 = zext i1 %66 to i8
  store i8 %68, ptr %67, align 1, !tbaa !27
  %69 = load ptr, ptr %4, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %69, i32 0, i32 11
  %71 = load i8, ptr %70, align 2, !tbaa !28, !range !25, !noundef !26
  %72 = trunc i8 %71 to i1
  %73 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 11
  %74 = zext i1 %72 to i8
  store i8 %74, ptr %73, align 2, !tbaa !28
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %75, i32 0, i32 12
  %77 = load i8, ptr %76, align 1, !tbaa !29, !range !25, !noundef !26
  %78 = trunc i8 %77 to i1
  %79 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %5, i32 0, i32 12
  %80 = zext i1 %78 to i8
  store i8 %80, ptr %79, align 1, !tbaa !29
  ret ptr %5
}

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

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

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

attributes #0 = { 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 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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, !13, i64 8}
!10 = !{!"_ZTSN4juce9PopupMenu4ItemE", !11, i64 0, !13, i64 8, !14, i64 16, !15, i64 24, !16, i64 32, !17, i64 40, !6, i64 48, !11, i64 56, !18, i64 64, !20, i64 68, !20, i64 69, !20, i64 70, !20, i64 71}
!11 = !{!"_ZTSN4juce6StringE", !12, i64 0}
!12 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTSN4juce13ScopedPointerINS_9PopupMenuEEE", !6, i64 0}
!15 = !{!"_ZTSN4juce13ScopedPointerINS_8DrawableEEE", !6, i64 0}
!16 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEE", !6, i64 0}
!17 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEE", !6, i64 0}
!18 = !{!"_ZTSN4juce6ColourE", !19, i64 0}
!19 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"vtable pointer", !8, i64 0}
!23 = !{!10, !6, i64 48}
!24 = !{!10, !20, i64 68}
!25 = !{i8 0, i8 2}
!26 = !{}
!27 = !{!10, !20, i64 69}
!28 = !{!10, !20, i64 70}
!29 = !{!10, !20, i64 71}


; 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"

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

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

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

; Function Attrs: nounwind
declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef) local_unnamed_addr #3

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(72) ptr @_ZN4juce9PopupMenu4ItemaSERKS1_(ptr noundef nonnull returned align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) local_unnamed_addr #4 align 2 {
  %3 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #5
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  store i32 %5, ptr %6, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 16
  %8 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_9PopupMenuEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %9 = tail call noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef %8)
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_9PopupMenuEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef %9)
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %.not = icmp eq ptr %13, null
  br i1 %.not, label %20, label %14

14:                                               ; preds = %2
  %15 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %12) #5
  %16 = load ptr, ptr %15, align 8, !tbaa !20
  %17 = getelementptr inbounds i8, ptr %16, i64 360
  %18 = load ptr, ptr %17, align 8
  %19 = tail call noundef ptr %18(ptr noundef nonnull align 8 dereferenceable(208) %15)
  br label %20

20:                                               ; preds = %2, %14
  %21 = phi ptr [ %19, %14 ], [ null, %2 ]
  %22 = getelementptr inbounds i8, ptr %0, i64 24
  %23 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_8DrawableEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef %21)
  %24 = getelementptr inbounds i8, ptr %1, i64 32
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull align 8 dereferenceable(8) %24)
  %27 = getelementptr inbounds i8, ptr %1, i64 40
  %28 = getelementptr inbounds i8, ptr %0, i64 40
  %29 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEaSERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull align 8 dereferenceable(8) %27)
  %30 = getelementptr inbounds i8, ptr %1, i64 48
  %31 = load ptr, ptr %30, align 8, !tbaa !22
  %32 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %31, ptr %32, align 8, !tbaa !22
  %33 = getelementptr inbounds i8, ptr %1, i64 56
  %34 = getelementptr inbounds i8, ptr %0, i64 56
  %35 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce6StringaSERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %33) #5
  %36 = getelementptr inbounds i8, ptr %1, i64 64
  %37 = getelementptr inbounds i8, ptr %0, i64 64
  %38 = tail call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %37, ptr noundef nonnull align 1 dereferenceable(4) %36) #5
  %39 = getelementptr inbounds i8, ptr %1, i64 68
  %40 = getelementptr inbounds i8, ptr %0, i64 68
  %41 = load <4 x i8>, ptr %39, align 4, !tbaa !23
  store <4 x i8> %41, ptr %40, align 4, !tbaa !23
  ret ptr %0
}

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

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

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

attributes #0 = { 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 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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #5 = { 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, !12, i64 8}
!6 = !{!"_ZTSN4juce9PopupMenu4ItemE", !7, i64 0, !12, i64 8, !13, i64 16, !14, i64 24, !15, i64 32, !16, i64 40, !9, i64 48, !7, i64 56, !17, i64 64, !19, i64 68, !19, i64 69, !19, i64 70, !19, i64 71}
!7 = !{!"_ZTSN4juce6StringE", !8, i64 0}
!8 = !{!"_ZTSN4juce16CharPointer_UTF8E", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"int", !10, i64 0}
!13 = !{!"_ZTSN4juce13ScopedPointerINS_9PopupMenuEEE", !9, i64 0}
!14 = !{!"_ZTSN4juce13ScopedPointerINS_8DrawableEEE", !9, i64 0}
!15 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEE", !9, i64 0}
!16 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEE", !9, i64 0}
!17 = !{!"_ZTSN4juce6ColourE", !18, i64 0}
!18 = !{!"_ZTSN4juce9PixelARGBE", !10, i64 0}
!19 = !{!"bool", !10, i64 0}
!20 = !{!21, !21, i64 0}
!21 = !{!"vtable pointer", !11, i64 0}
!22 = !{!6, !9, i64 48}
!23 = !{!19, !19, i64 0}


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