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

; 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.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::TableHeaderComponent" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::AsyncUpdater", %"class.juce::OwnedArray.407", %"class.juce::Array.412", %"class.juce::ScopedPointer.159", i8, i8, i8, i8, i8, [3 x i8], i32, i32, i32, i32, i32, i32, i32, [4 x i8] }>
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::OwnedArray.407" = type { %"class.juce::ArrayAllocationBase.408", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.408" = type <{ %"class.juce::HeapBlock.409", i32, [4 x i8] }>
%"class.juce::HeapBlock.409" = type { ptr }
%"class.juce::Array.412" = type { %"class.juce::ArrayAllocationBase.413", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.413" = type <{ %"class.juce::HeapBlock.414", i32, [4 x i8] }>
%"class.juce::HeapBlock.414" = type { ptr }
%"class.juce::ScopedPointer.159" = type { ptr }
%"class.juce::MouseEvent" = type <{ %"class.juce::Point.35", i32, i32, %"class.juce::ModifierKeys", float, ptr, ptr, %"class.juce::Time", %"class.juce::Time", %"class.juce::MouseInputSource", %"class.juce::Point.35", i8, i8, [6 x i8] }>
%"class.juce::ModifierKeys" = type { i32 }
%"class.juce::Time" = type { i64 }
%"class.juce::MouseInputSource" = type { ptr }
%"class.juce::Point.35" = type { float, float }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

; 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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20TableHeaderComponent9mouseDownERKNS_10MouseEventE(ptr noundef nonnull align 8 dereferenceable(308) %0, ptr noundef nonnull align 8 dereferenceable(74) %1) unnamed_addr #2 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::Rectangle", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %6 = load ptr, ptr %3, align 8
  call void @_ZN4juce9Component7repaintEv(ptr noundef nonnull align 8 dereferenceable(197) %6)
  %7 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 12
  store i32 0, ptr %7, align 8, !tbaa !9
  %8 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 13
  store i32 0, ptr %8, align 4, !tbaa !47
  %9 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 15
  %10 = load i32, ptr %9, align 4, !tbaa !48
  %11 = icmp ne i32 %10, 0
  br i1 %11, label %12, label %34

12:                                               ; preds = %2
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = getelementptr inbounds %"class.juce::MouseEvent", ptr %13, i32 0, i32 1
  %15 = load i32, ptr %14, align 8, !tbaa !49
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #4
  %16 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 15
  %17 = load i32, ptr %16, align 4, !tbaa !48
  %18 = call noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308) %6, i32 noundef %17, i1 noundef zeroext true)
  call void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %5, ptr noundef nonnull align 8 dereferenceable(308) %6, i32 noundef %18)
  %19 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %5) #4
  %20 = sub nsw i32 %15, %19
  %21 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 16
  store i32 %20, ptr %21, align 8, !tbaa !57
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #4
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  %23 = getelementptr inbounds %"class.juce::MouseEvent", ptr %22, i32 0, i32 3
  %24 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4) %23) #4
  br i1 %24, label %25, label %33

25:                                               ; preds = %12
  %26 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 15
  %27 = load i32, ptr %26, align 4, !tbaa !48
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.juce::MouseEvent", ptr %28, i32 0, i32 3
  %30 = load ptr, ptr %6, align 8, !tbaa !58
  %31 = getelementptr inbounds ptr, ptr %30, i64 45
  %32 = load ptr, ptr %31, align 8
  call void %32(ptr noundef nonnull align 8 dereferenceable(308) %6, i32 noundef %27, ptr noundef nonnull align 4 dereferenceable(4) %29)
  br label %33

33:                                               ; preds = %25, %12
  br label %34

34:                                               ; preds = %33, %2
  %35 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 9
  %36 = load i8, ptr %35, align 1, !tbaa !60, !range !61, !noundef !62
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %48

38:                                               ; preds = %34
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.juce::MouseEvent", ptr %39, i32 0, i32 3
  %41 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4) %40) #4
  br i1 %41, label %42, label %48

42:                                               ; preds = %38
  %43 = getelementptr inbounds %"class.juce::TableHeaderComponent", ptr %6, i32 0, i32 15
  %44 = load i32, ptr %43, align 4, !tbaa !48
  %45 = load ptr, ptr %6, align 8, !tbaa !58
  %46 = getelementptr inbounds ptr, ptr %45, i64 48
  %47 = load ptr, ptr %46, align 8
  call void %47(ptr noundef nonnull align 8 dereferenceable(308) %6, i32 noundef %44)
  br label %48

48:                                               ; preds = %42, %38, %34
  ret void
}

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #4 = { 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, !17, i64 280}
!10 = !{!"_ZTSN4juce20TableHeaderComponentE", !11, i64 0, !37, i64 200, !39, i64 216, !42, i64 240, !45, i64 264, !46, i64 272, !46, i64 273, !46, i64 274, !46, i64 275, !46, i64 276, !17, i64 280, !17, i64 284, !17, i64 288, !17, i64 292, !17, i64 296, !17, i64 300, !17, i64 304}
!11 = !{!"_ZTSN4juce9ComponentE", !12, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !6, i64 88, !23, i64 96, !6, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !7, i64 192, !7, i64 196}
!12 = !{!"_ZTSN4juce13MouseListenerE"}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !28, i64 0}
!28 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !29, i64 0, !17, i64 16}
!29 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !30, i64 0, !17, i64 8}
!30 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!31 = !{!"_ZTSN4juce13NamedValueSetE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !17, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !34, i64 0, !17, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!37 = !{!"_ZTSN4juce12AsyncUpdaterE", !38, i64 8}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!39 = !{!"_ZTSN4juce10OwnedArrayINS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !40, i64 0, !17, i64 16}
!40 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !41, i64 0, !17, i64 8}
!41 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent10ColumnInfoELb0EEE", !6, i64 0}
!42 = !{!"_ZTSN4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EEE", !43, i64 0, !17, i64 16}
!43 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionEEE", !44, i64 0, !17, i64 8}
!44 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent8ListenerELb0EEE", !6, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !6, i64 0}
!46 = !{!"bool", !7, i64 0}
!47 = !{!10, !17, i64 284}
!48 = !{!10, !17, i64 292}
!49 = !{!50, !17, i64 8}
!50 = !{!"_ZTSN4juce10MouseEventE", !51, i64 0, !17, i64 8, !17, i64 12, !53, i64 16, !52, i64 20, !6, i64 24, !6, i64 32, !54, i64 40, !54, i64 48, !56, i64 56, !51, i64 64, !7, i64 72, !7, i64 73}
!51 = !{!"_ZTSN4juce5PointIfEE", !52, i64 0, !52, i64 4}
!52 = !{!"float", !7, i64 0}
!53 = !{!"_ZTSN4juce12ModifierKeysE", !17, i64 0}
!54 = !{!"_ZTSN4juce4TimeE", !55, i64 0}
!55 = !{!"long long", !7, i64 0}
!56 = !{!"_ZTSN4juce16MouseInputSourceE", !6, i64 0}
!57 = !{!10, !17, i64 296}
!58 = !{!59, !59, i64 0}
!59 = !{!"vtable pointer", !8, i64 0}
!60 = !{!10, !46, i64 275}
!61 = !{i8 0, i8 2}
!62 = !{}


; 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.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

; 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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(308), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20TableHeaderComponent9mouseDownERKNS_10MouseEventE(ptr noundef nonnull align 8 dereferenceable(308) %0, ptr noundef nonnull align 8 dereferenceable(74) %1) unnamed_addr #2 align 2 {
  %3 = alloca %"class.juce::Rectangle", align 4
  tail call void @_ZN4juce9Component7repaintEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  %4 = getelementptr inbounds i8, ptr %0, i64 280
  store i32 0, ptr %4, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %0, i64 284
  store i32 0, ptr %5, align 4, !tbaa !46
  %6 = getelementptr inbounds i8, ptr %0, i64 292
  %7 = load i32, ptr %6, align 4, !tbaa !47
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %22, label %8

8:                                                ; preds = %2
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !48
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  %11 = tail call noundef i32 @_ZNK4juce20TableHeaderComponent18getIndexOfColumnIdEib(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %7, i1 noundef zeroext true)
  call void @_ZNK4juce20TableHeaderComponent17getColumnPositionEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %3, ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %11)
  %12 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  %13 = sub nsw i32 %10, %12
  %14 = getelementptr inbounds i8, ptr %0, i64 296
  store i32 %13, ptr %14, align 8, !tbaa !56
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  %15 = getelementptr inbounds i8, ptr %1, i64 16
  %16 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4) %15) #4
  br i1 %16, label %17, label %22

17:                                               ; preds = %8
  %18 = load i32, ptr %6, align 4, !tbaa !47
  %19 = load ptr, ptr %0, align 8, !tbaa !57
  %20 = getelementptr inbounds i8, ptr %19, i64 360
  %21 = load ptr, ptr %20, align 8
  call void %21(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %18, ptr noundef nonnull align 4 dereferenceable(4) %15)
  br label %22

22:                                               ; preds = %8, %17, %2
  %23 = getelementptr inbounds i8, ptr %0, i64 275
  %24 = load i8, ptr %23, align 1, !tbaa !59, !range !60, !noundef !61
  %25 = trunc nuw i8 %24 to i1
  br i1 %25, label %26, label %34

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %1, i64 16
  %28 = call noundef zeroext i1 @_ZNK4juce12ModifierKeys11isPopupMenuEv(ptr noundef nonnull align 4 dereferenceable(4) %27) #4
  br i1 %28, label %29, label %34

29:                                               ; preds = %26
  %30 = load i32, ptr %6, align 4, !tbaa !47
  %31 = load ptr, ptr %0, align 8, !tbaa !57
  %32 = getelementptr inbounds i8, ptr %31, i64 384
  %33 = load ptr, ptr %32, align 8
  call void %33(ptr noundef nonnull align 8 dereferenceable(308) %0, i32 noundef %30)
  br label %34

34:                                               ; preds = %29, %26, %22
  ret void
}

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 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 #4 = { 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, !16, i64 280}
!6 = !{!"_ZTSN4juce20TableHeaderComponentE", !7, i64 0, !36, i64 200, !38, i64 216, !41, i64 240, !44, i64 264, !45, i64 272, !45, i64 273, !45, i64 274, !45, i64 275, !45, i64 276, !16, i64 280, !16, i64 284, !16, i64 288, !16, i64 292, !16, i64 296, !16, i64 300, !16, i64 304}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce12AsyncUpdaterE", !37, i64 8}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!38 = !{!"_ZTSN4juce10OwnedArrayINS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !39, i64 0, !16, i64 16}
!39 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent10ColumnInfoENS_20DummyCriticalSectionEEE", !40, i64 0, !16, i64 8}
!40 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent10ColumnInfoELb0EEE", !11, i64 0}
!41 = !{!"_ZTSN4juce5ArrayIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionELi0EEE", !42, i64 0, !16, i64 16}
!42 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_20TableHeaderComponent8ListenerENS_20DummyCriticalSectionEEE", !43, i64 0, !16, i64 8}
!43 = !{!"_ZTSN4juce9HeapBlockIPNS_20TableHeaderComponent8ListenerELb0EEE", !11, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !11, i64 0}
!45 = !{!"bool", !12, i64 0}
!46 = !{!6, !16, i64 284}
!47 = !{!6, !16, i64 292}
!48 = !{!49, !16, i64 8}
!49 = !{!"_ZTSN4juce10MouseEventE", !50, i64 0, !16, i64 8, !16, i64 12, !52, i64 16, !51, i64 20, !11, i64 24, !11, i64 32, !53, i64 40, !53, i64 48, !55, i64 56, !50, i64 64, !12, i64 72, !12, i64 73}
!50 = !{!"_ZTSN4juce5PointIfEE", !51, i64 0, !51, i64 4}
!51 = !{!"float", !12, i64 0}
!52 = !{!"_ZTSN4juce12ModifierKeysE", !16, i64 0}
!53 = !{!"_ZTSN4juce4TimeE", !54, i64 0}
!54 = !{!"long long", !12, i64 0}
!55 = !{!"_ZTSN4juce16MouseInputSourceE", !11, i64 0}
!56 = !{!6, !16, i64 296}
!57 = !{!58, !58, i64 0}
!58 = !{!"vtable pointer", !13, i64 0}
!59 = !{!6, !45, i64 275}
!60 = !{i8 0, i8 2}
!61 = !{}


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