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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce9PopupMenu4ItemC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 0
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %9, i32 0, i32 0
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  %11 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 1
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !9
  store i32 %14, ptr %11, align 8, !tbaa !9
  %15 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 2
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %16, i32 0, i32 2
  %18 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9PopupMenuEE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  %19 = invoke noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef %18)
          to label %20 unwind label %78

20:                                               ; preds = %2
  call void @_ZN4juce13ScopedPointerINS_9PopupMenuEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef %19) #5
  %21 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 3
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %22, i32 0, i32 3
  %24 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %25 = icmp ne ptr %24, null
  br i1 %25, label %26, label %35

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

34:                                               ; preds = %26
  br label %36

35:                                               ; preds = %20
  br label %36

36:                                               ; preds = %35, %34
  %37 = phi ptr [ %33, %34 ], [ null, %35 ]
  call void @_ZN4juce13ScopedPointerINS_8DrawableEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %37) #5
  %38 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 4
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %39, i32 0, i32 4
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %38, ptr noundef nonnull align 8 dereferenceable(8) %40) #5
  %41 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 5
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %42, i32 0, i32 5
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %41, ptr noundef nonnull align 8 dereferenceable(8) %43) #5
  %44 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 6
  %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
  store ptr %47, ptr %44, align 8, !tbaa !23
  %48 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 7
  %49 = load ptr, ptr %4, align 8, !tbaa !5
  %50 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %49, i32 0, i32 7
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %48, ptr noundef nonnull align 8 dereferenceable(8) %50) #5
  %51 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 8
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %52, i32 0, i32 8
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %51, ptr noundef nonnull align 1 dereferenceable(4) %53) #5
  %54 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 9
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %55, i32 0, i32 9
  %57 = load i8, ptr %56, align 4, !tbaa !24, !range !25, !noundef !26
  %58 = trunc i8 %57 to i1
  %59 = zext i1 %58 to i8
  store i8 %59, ptr %54, align 4, !tbaa !24
  %60 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 10
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %61, i32 0, i32 10
  %63 = load i8, ptr %62, align 1, !tbaa !27, !range !25, !noundef !26
  %64 = trunc i8 %63 to i1
  %65 = zext i1 %64 to i8
  store i8 %65, ptr %60, align 1, !tbaa !27
  %66 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 11
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %67, i32 0, i32 11
  %69 = load i8, ptr %68, align 2, !tbaa !28, !range !25, !noundef !26
  %70 = trunc i8 %69 to i1
  %71 = zext i1 %70 to i8
  store i8 %71, ptr %66, align 2, !tbaa !28
  %72 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %7, i32 0, i32 12
  %73 = load ptr, ptr %4, align 8, !tbaa !5
  %74 = getelementptr inbounds %"struct.juce::PopupMenu::Item", ptr %73, i32 0, i32 12
  %75 = load i8, ptr %74, align 1, !tbaa !29, !range !25, !noundef !26
  %76 = trunc i8 %75 to i1
  %77 = zext i1 %76 to i8
  store i8 %77, ptr %72, align 1, !tbaa !29
  ret void

78:                                               ; preds = %2
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %5, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %6, align 4
  br label %86

82:                                               ; preds = %26
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %5, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %6, align 4
  call void @_ZN4juce13ScopedPointerINS_9PopupMenuEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #5
  br label %86

86:                                               ; preds = %82, %78
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #5
  br label %87

87:                                               ; preds = %86
  %88 = load ptr, ptr %5, align 8
  %89 = load i32, ptr %6, align 4
  %90 = insertvalue { ptr, i32 } poison, ptr %88, 0
  %91 = insertvalue { ptr, i32 } %90, i32 %89, 1
  resume { ptr, i32 } %91
}

; 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)) #1 align 2

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_9PopupMenuEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 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 = { 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 #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 = { 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 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 = { 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"

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #0

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce9PopupMenu4ItemC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(72) %0, ptr noundef nonnull align 8 dereferenceable(72) %1) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(8) %1) #5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !5
  store i32 %5, ptr %3, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 16
  %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 = invoke noundef ptr @_ZN4juce19createCopyIfNotNullINS_9PopupMenuEEEPT_PKS2_(ptr noundef %8)
          to label %10 unwind label %36

10:                                               ; preds = %2
  tail call void @_ZN4juce13ScopedPointerINS_9PopupMenuEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef %9) #5
  %11 = getelementptr inbounds i8, ptr %1, i64 24
  %12 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %19, label %13

13:                                               ; preds = %10
  %14 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_8DrawableEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #5
  %15 = load ptr, ptr %14, align 8, !tbaa !20
  %16 = getelementptr inbounds i8, ptr %15, i64 360
  %17 = load ptr, ptr %16, align 8
  %18 = invoke noundef ptr %17(ptr noundef nonnull align 8 dereferenceable(208) %14)
          to label %19 unwind label %38

19:                                               ; preds = %10, %13
  %20 = phi ptr [ %18, %13 ], [ null, %10 ]
  %21 = getelementptr inbounds i8, ptr %0, i64 24
  tail call void @_ZN4juce13ScopedPointerINS_8DrawableEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef %20) #5
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  %23 = getelementptr inbounds i8, ptr %1, i64 32
  tail call void @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu15CustomComponentEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %22, ptr noundef nonnull align 8 dereferenceable(8) %23) #5
  %24 = getelementptr inbounds i8, ptr %0, i64 40
  %25 = getelementptr inbounds i8, ptr %1, i64 40
  tail call void @_ZN4juce25ReferenceCountedObjectPtrINS_9PopupMenu14CustomCallbackEEC2ERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %24, ptr noundef nonnull align 8 dereferenceable(8) %25) #5
  %26 = getelementptr inbounds i8, ptr %0, i64 48
  %27 = getelementptr inbounds i8, ptr %1, i64 48
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  store ptr %28, ptr %26, align 8, !tbaa !22
  %29 = getelementptr inbounds i8, ptr %0, i64 56
  %30 = getelementptr inbounds i8, ptr %1, i64 56
  tail call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  %31 = getelementptr inbounds i8, ptr %0, i64 64
  %32 = getelementptr inbounds i8, ptr %1, i64 64
  tail call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %31, ptr noundef nonnull align 1 dereferenceable(4) %32) #5
  %33 = getelementptr inbounds i8, ptr %0, i64 68
  %34 = getelementptr inbounds i8, ptr %1, i64 68
  %35 = load <4 x i8>, ptr %34, align 4, !tbaa !23
  store <4 x i8> %35, ptr %33, align 4, !tbaa !23
  ret void

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

38:                                               ; preds = %13
  %39 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN4juce13ScopedPointerINS_9PopupMenuEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  br label %40

40:                                               ; preds = %38, %36
  %.pn = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  tail call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %0) #5
  resume { ptr, i32 } %.pn
}

; 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 #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_9PopupMenuEEC2EPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #1 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 #1 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ScopedPointerINS_9PopupMenuEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 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 = { 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 #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 = { 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 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 = { 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,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass