; 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::Point" = type { i32, i32 }
%"struct.juce::ComponentPeer::DragInfo" = type { %"class.juce::StringArray", %"class.juce::String", %"class.juce::Point" }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ComponentPeer" = type <{ ptr, ptr, i32, %"class.juce::Rectangle", [4 x i8], ptr, %"class.juce::WeakReference", %"class.juce::WeakReference", ptr, i32, i8, [3 x i8] }>
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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

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

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

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

declare noundef zeroext i1 @_ZN4juce14MessageManager11MessageBase4postEv(ptr noundef nonnull align 8 dereferenceable(16)) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197)) #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragMoveERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77), ptr noundef nonnull align 8 dereferenceable(40)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce11DragHelpersL16isSuitableTargetERKNS_13ComponentPeer8DragInfoEPNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4juce13ComponentPeer8DragInfoC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragDropERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"struct.juce::ComponentPeer::DragInfo", align 8
  %9 = alloca %"class.juce::Point", align 4
  %10 = alloca %"class.juce::Point", align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = call noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragMoveERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77) %13, ptr noundef nonnull align 8 dereferenceable(40) %14)
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %16 = getelementptr inbounds %"class.juce::ComponentPeer", ptr %13, i32 0, i32 7
  %17 = call noundef ptr @_ZNK4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #8
  store ptr %17, ptr %6, align 8, !tbaa !5
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %66

20:                                               ; preds = %2
  %21 = getelementptr inbounds %"class.juce::ComponentPeer", ptr %13, i32 0, i32 7
  %22 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef null)
  %23 = getelementptr inbounds %"class.juce::ComponentPeer", ptr %13, i32 0, i32 8
  store ptr null, ptr %23, align 8, !tbaa !9
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = call noundef zeroext i1 @_ZN4juce11DragHelpersL16isSuitableTargetERKNS_13ComponentPeer8DragInfoEPNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef %25)
  br i1 %26, label %27, label %65

27:                                               ; preds = %20
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %28)
  br i1 %29, label %30, label %36

30:                                               ; preds = %27
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN4juce9Component25internalModalInputAttemptEv(ptr noundef nonnull align 8 dereferenceable(197) %31)
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = call noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %32)
  br i1 %33, label %34, label %35

34:                                               ; preds = %30
  store i1 true, ptr %3, align 1
  store i32 1, ptr %7, align 4
  br label %67

35:                                               ; preds = %30
  br label %36

36:                                               ; preds = %35, %27
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #8
  %37 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce13ComponentPeer8DragInfoC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %8, ptr noundef nonnull align 8 dereferenceable(40) %37)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %"class.juce::ComponentPeer", ptr %13, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !17
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = getelementptr inbounds %"struct.juce::ComponentPeer::DragInfo", ptr %41, i32 0, i32 2
  call void @_ZN4juce5PointIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %42) #8
  invoke void @_ZNK4juce9Component13getLocalPointEPKS0_NS_5PointIiEE(ptr dead_on_unwind writable sret(%"class.juce::Point") align 4 %9, ptr noundef nonnull align 8 dereferenceable(197) %38, ptr noundef %40, ptr noundef %10)
          to label %43 unwind label %52

43:                                               ; preds = %36
  %44 = getelementptr inbounds %"struct.juce::ComponentPeer::DragInfo", ptr %8, i32 0, i32 2
  %45 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4juce5PointIiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %44, ptr noundef nonnull align 4 dereferenceable(8) %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  %46 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #9
          to label %47 unwind label %56

47:                                               ; preds = %43
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN4juce11DragHelpers16AsyncDropMessageC2EPNS_9ComponentERKNS_13ComponentPeer8DragInfoE(ptr noundef nonnull align 8 dereferenceable(64) %46, ptr noundef %48, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %49 unwind label %60

49:                                               ; preds = %47
  %50 = invoke noundef zeroext i1 @_ZN4juce14MessageManager11MessageBase4postEv(ptr noundef nonnull align 8 dereferenceable(16) %46)
          to label %51 unwind label %56

51:                                               ; preds = %49
  store i1 true, ptr %3, align 1
  store i32 1, ptr %7, align 4
  call void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #8
  br label %67

52:                                               ; preds = %36
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %11, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  br label %64

56:                                               ; preds = %49, %43
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %11, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %12, align 4
  br label %64

60:                                               ; preds = %47
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %11, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %12, align 4
  call void @_ZdlPvm(ptr noundef %46, i64 noundef 64) #10
  br label %64

64:                                               ; preds = %60, %56, %52
  call void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %72

65:                                               ; preds = %20
  br label %66

66:                                               ; preds = %65, %2
  store i32 0, ptr %7, align 4
  br label %67

67:                                               ; preds = %66, %51, %34
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %68 = load i32, ptr %7, align 4
  switch i32 %68, label %77 [
    i32 0, label %69
    i32 1, label %70
  ]

69:                                               ; preds = %67
  store i1 false, ptr %3, align 1
  br label %70

70:                                               ; preds = %69, %67
  %71 = load i1, ptr %3, align 1
  ret i1 %71

72:                                               ; preds = %64
  %73 = load ptr, ptr %11, align 8
  %74 = load i32, ptr %12, align 4
  %75 = insertvalue { ptr, i32 } poison, ptr %73, 0
  %76 = insertvalue { ptr, i32 } %75, i32 %74, 1
  resume { ptr, i32 } %76

77:                                               ; preds = %67
  unreachable
}

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

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 = { 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 = { 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 #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 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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"}
!9 = !{!10, !6, i64 64}
!10 = !{!"_ZTSN4juce13ComponentPeerE", !6, i64 8, !11, i64 16, !12, i64 20, !6, i64 40, !14, i64 48, !14, i64 56, !6, i64 64, !11, i64 72, !16, i64 76}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSN4juce9RectangleIiEE", !13, i64 0, !11, i64 8, !11, i64 12}
!13 = !{!"_ZTSN4juce5PointIiEE", !11, i64 0, !11, i64 4}
!14 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !15, i64 0}
!15 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!10, !6, i64 8}


; 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::Point" = type { i32, i32 }
%"struct.juce::ComponentPeer::DragInfo" = type { %"class.juce::StringArray", %"class.juce::String", %"class.juce::Point" }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; 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

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

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

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

declare noundef zeroext i1 @_ZN4juce14MessageManager11MessageBase4postEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragMoveERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef zeroext i1 @_ZN4juce11DragHelpersL16isSuitableTargetERKNS_13ComponentPeer8DragInfoEPNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4juce13ComponentPeer8DragInfoC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragDropERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.juce::ComponentPeer::DragInfo", align 8
  %4 = alloca %"class.juce::Point", align 4
  %5 = alloca %"class.juce::Point", align 4
  %6 = tail call noundef zeroext i1 @_ZN4juce13ComponentPeer14handleDragMoveERKNS0_8DragInfoE(ptr noundef nonnull align 8 dereferenceable(77) %0, ptr noundef nonnull align 8 dereferenceable(40) %1)
  %7 = getelementptr inbounds i8, ptr %0, i64 56
  %8 = tail call noundef ptr @_ZNK4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #8
  %.not = icmp eq ptr %8, null
  br i1 %.not, label %36, label %9

9:                                                ; preds = %2
  %10 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef null)
  %11 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr null, ptr %11, align 8, !tbaa !5
  %12 = tail call noundef zeroext i1 @_ZN4juce11DragHelpersL16isSuitableTargetERKNS_13ComponentPeer8DragInfoEPNS_9ComponentE(ptr noundef nonnull align 8 dereferenceable(40) %1, ptr noundef nonnull %8)
  br i1 %12, label %13, label %36

13:                                               ; preds = %9
  %14 = tail call noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %8)
  br i1 %14, label %15, label %17

15:                                               ; preds = %13
  tail call void @_ZN4juce9Component25internalModalInputAttemptEv(ptr noundef nonnull align 8 dereferenceable(197) %8)
  %16 = tail call noundef zeroext i1 @_ZNK4juce9Component41isCurrentlyBlockedByAnotherModalComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %8)
  br i1 %16, label %36, label %17

17:                                               ; preds = %15, %13
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #8
  call void @_ZN4juce13ComponentPeer8DragInfoC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #8
  %18 = getelementptr inbounds i8, ptr %0, i64 8
  %19 = load ptr, ptr %18, align 8, !tbaa !16
  %20 = getelementptr inbounds i8, ptr %1, i64 32
  call void @_ZN4juce5PointIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %20) #8
  invoke void @_ZNK4juce9Component13getLocalPointEPKS0_NS_5PointIiEE(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point") align 4 %4, ptr noundef nonnull align 8 dereferenceable(197) %8, ptr noundef %19, ptr noundef nonnull %5)
          to label %21 unwind label %29

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %3, i64 32
  %23 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN4juce5PointIiEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %4) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  %24 = invoke noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #9
          to label %25 unwind label %31

25:                                               ; preds = %21
  invoke void @_ZN4juce11DragHelpers16AsyncDropMessageC2EPNS_9ComponentERKNS_13ComponentPeer8DragInfoE(ptr noundef nonnull align 8 dereferenceable(64) %24, ptr noundef nonnull %8, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %26 unwind label %33

26:                                               ; preds = %25
  %27 = invoke noundef zeroext i1 @_ZN4juce14MessageManager11MessageBase4postEv(ptr noundef nonnull align 8 dereferenceable(16) %24)
          to label %28 unwind label %31

28:                                               ; preds = %26
  call void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  br label %36

29:                                               ; preds = %17
  %30 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #8
  br label %35

31:                                               ; preds = %26, %21
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %35

33:                                               ; preds = %25
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZdlPvm(ptr noundef nonnull %24, i64 noundef 64) #10
  br label %35

35:                                               ; preds = %33, %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %34, %33 ], [ %30, %29 ]
  call void @_ZN4juce13ComponentPeer8DragInfoD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #8
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #8
  resume { ptr, i32 } %.pn

36:                                               ; preds = %2, %9, %15, %28
  %.016 = phi i1 [ true, %28 ], [ true, %15 ], [ false, %9 ], [ false, %2 ]
  ret i1 %.016
}

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

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 = { 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 = { 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 #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 = { "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 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { 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, !7, i64 64}
!6 = !{!"_ZTSN4juce13ComponentPeerE", !7, i64 8, !10, i64 16, !11, i64 20, !7, i64 40, !13, i64 48, !13, i64 56, !7, i64 64, !10, i64 72, !15, i64 76}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTSN4juce9RectangleIiEE", !12, i64 0, !10, i64 8, !10, i64 12}
!12 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!13 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !14, i64 0}
!14 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !7, i64 0}
!15 = !{!"bool", !8, i64 0}
!16 = !{!6, !7, i64 8}


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