; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::ResizableWindow" = type { %"class.juce::TopLevelWindow", %"class.juce::ScopedPointer.294", %"class.juce::ScopedPointer.295", %"class.juce::Component::SafePointer", i8, i8, i8, i8, i8, %"class.juce::ComponentDragger", %"class.juce::Rectangle", %"class.juce::ComponentBoundsConstrainer", ptr }
%"class.juce::TopLevelWindow" = type { %"class.juce::Component.base", i8, i8, i8, %"class.juce::ScopedPointer.293" }
%"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::ScopedPointer.293" = type { ptr }
%"class.juce::ScopedPointer.294" = type { ptr }
%"class.juce::ScopedPointer.295" = type { ptr }
%"class.juce::Component::SafePointer" = type { %"class.juce::WeakReference" }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ComponentDragger" = type { ptr, %"class.juce::Point" }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::ComponentBoundsConstrainer" = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, double }

@_ZTVN4juce15ResizableWindowE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15ResizableWindowC2ERKNS_6StringENS_6ColourEb(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2, i1 noundef zeroext %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %12 = zext i1 %3 to i8
  store i8 %12, ptr %8, align 1, !tbaa !9
  %13 = load ptr, ptr %5, align 8
  %14 = load ptr, ptr %6, align 8, !tbaa !5
  %15 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %16 = trunc i8 %15 to i1
  call void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208) %13, ptr noundef nonnull align 8 dereferenceable(8) %14, i1 noundef zeroext %16)
  store ptr getelementptr inbounds inrange(-16, 392) ({ [51 x ptr] }, ptr @_ZTVN4juce15ResizableWindowE, i32 0, i32 0, i32 2), ptr %13, align 8, !tbaa !13
  %17 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 1
  call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  %18 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 2
  call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  %19 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 3
  call void @_ZN4juce9Component11SafePointerIS0_EC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  %20 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 4
  store i8 0, ptr %20, align 8, !tbaa !15
  %21 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 5
  store i8 0, ptr %21, align 1, !tbaa !52
  %22 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 6
  store i8 0, ptr %22, align 2, !tbaa !53
  %23 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 7
  store i8 1, ptr %23, align 1, !tbaa !54
  %24 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 8
  store i8 0, ptr %24, align 4, !tbaa !55
  %25 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 9
  invoke void @_ZN4juce16ComponentDraggerC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25)
          to label %26 unwind label %34

26:                                               ; preds = %4
  %27 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 10
  call void @_ZN4juce9RectangleIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %27) #4
  %28 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 11
  call void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #4
  %29 = getelementptr inbounds %"class.juce::ResizableWindow", ptr %13, i32 0, i32 12
  store ptr null, ptr %29, align 8, !tbaa !56
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) %2) #4
  invoke void @_ZN4juce15ResizableWindow19setBackgroundColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(328) %13, ptr noundef %11)
          to label %30 unwind label %38

30:                                               ; preds = %26
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #4
  %31 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %32 = trunc i8 %31 to i1
  invoke void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328) %13, i1 noundef zeroext %32)
          to label %33 unwind label %42

33:                                               ; preds = %30
  ret void

34:                                               ; preds = %4
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %9, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %10, align 4
  br label %47

38:                                               ; preds = %26
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %9, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %10, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #4
  br label %46

42:                                               ; preds = %30
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %9, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %10, align 4
  br label %46

46:                                               ; preds = %42, %38
  call void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %28) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %27) #4
  call void @_ZN4juce16ComponentDraggerD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #4
  br label %47

47:                                               ; preds = %46, %34
  call void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #4
  call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #4
  call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  call void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %13) #4
  br label %48

48:                                               ; preds = %47
  %49 = load ptr, ptr %9, align 8
  %50 = load i32, ptr %10, align 4
  %51 = insertvalue { ptr, i32 } poison, ptr %49, 0
  %52 = insertvalue { ptr, i32 } %51, i32 %50, 1
  resume { ptr, i32 } %52
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext) #3 align 2

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

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

declare void @_ZN4juce16ComponentDraggerC1Ev(ptr)

declare void @_ZN4juce16ComponentDraggerD1Ev(ptr)

declare void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr)

declare void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr)

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 = { 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!16, !10, i64 232}
!16 = !{!"_ZTSN4juce15ResizableWindowE", !17, i64 0, !45, i64 208, !46, i64 216, !47, i64 224, !10, i64 232, !10, i64 233, !10, i64 234, !10, i64 235, !10, i64 236, !49, i64 240, !22, i64 256, !50, i64 272, !6, i64 320}
!17 = !{!"_ZTSN4juce14TopLevelWindowE", !18, i64 0, !10, i64 197, !10, i64 198, !10, i64 199, !44, i64 200}
!18 = !{!"_ZTSN4juce9ComponentE", !19, i64 0, !20, i64 8, !20, i64 16, !6, i64 24, !22, i64 32, !25, i64 48, !26, i64 56, !27, i64 64, !6, i64 88, !30, i64 96, !6, i64 104, !31, i64 112, !32, i64 120, !33, i64 128, !34, i64 136, !38, i64 160, !42, i64 184, !7, i64 192, !7, i64 196}
!19 = !{!"_ZTSN4juce13MouseListenerE"}
!20 = !{!"_ZTSN4juce6StringE", !21, i64 0}
!21 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!22 = !{!"_ZTSN4juce9RectangleIiEE", !23, i64 0, !24, i64 8, !24, i64 12}
!23 = !{!"_ZTSN4juce5PointIiEE", !24, i64 0, !24, i64 4}
!24 = !{!"int", !7, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !24, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !29, i64 0, !24, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!30 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!31 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!33 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!34 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !35, i64 0}
!35 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !36, i64 0, !24, i64 16}
!36 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !37, i64 0, !24, i64 8}
!37 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13NamedValueSetE", !39, i64 0}
!39 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !40, i64 0, !24, i64 16}
!40 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !41, i64 0, !24, i64 8}
!41 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!42 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !43, i64 0}
!43 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_12DropShadowerEEE", !6, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableCornerComponentEEE", !6, i64 0}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableBorderComponentEEE", !6, i64 0}
!47 = !{!"_ZTSN4juce9Component11SafePointerIS0_EE", !48, i64 0}
!48 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !43, i64 0}
!49 = !{!"_ZTSN4juce16ComponentDraggerE", !23, i64 8}
!50 = !{!"_ZTSN4juce26ComponentBoundsConstrainerE", !24, i64 8, !24, i64 12, !24, i64 16, !24, i64 20, !24, i64 24, !24, i64 28, !24, i64 32, !24, i64 36, !51, i64 40}
!51 = !{!"double", !7, i64 0}
!52 = !{!16, !10, i64 233}
!53 = !{!16, !10, i64 234}
!54 = !{!16, !10, i64 235}
!55 = !{!16, !10, i64 236}
!56 = !{!16, !6, i64 320}


; 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::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

@_ZTVN4juce15ResizableWindowE = external dso_local unnamed_addr constant { [51 x ptr] }, align 8

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nounwind
declare void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4)) unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15ResizableWindowC2ERKNS_6StringENS_6ColourEb(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2, i1 noundef zeroext %3) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.juce::Colour", align 1
  tail call void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208) %0, ptr noundef nonnull align 8 dereferenceable(8) %1, i1 noundef zeroext %3)
  store ptr getelementptr inbounds inrange(-16, 392) (i8, ptr @_ZTVN4juce15ResizableWindowE, i64 16), ptr %0, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %0, i64 208
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 216
  tail call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEEC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %8 = getelementptr inbounds i8, ptr %0, i64 224
  tail call void @_ZN4juce9Component11SafePointerIS0_EC2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 232
  store <4 x i8> <i8 0, i8 0, i8 0, i8 1>, ptr %9, align 8, !tbaa !8
  %10 = getelementptr inbounds i8, ptr %0, i64 236
  store i8 0, ptr %10, align 4, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %0, i64 240
  invoke void @_ZN4juce16ComponentDraggerC1Ev(ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %12 unwind label %18

12:                                               ; preds = %4
  %13 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @_ZN4juce9RectangleIiEC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %14 = getelementptr inbounds i8, ptr %0, i64 272
  tail call void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #4
  %15 = getelementptr inbounds i8, ptr %0, i64 320
  store ptr null, ptr %15, align 8, !tbaa !49
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %5, ptr noundef nonnull align 1 dereferenceable(4) %2) #4
  invoke void @_ZN4juce15ResizableWindow19setBackgroundColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull %5)
          to label %16 unwind label %20

16:                                               ; preds = %12
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #4
  invoke void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328) %0, i1 noundef zeroext %3)
          to label %17 unwind label %22

17:                                               ; preds = %16
  ret void

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

20:                                               ; preds = %12
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #4
  br label %24

22:                                               ; preds = %16
  %23 = landingpad { ptr, i32 }
          cleanup
  br label %24

24:                                               ; preds = %22, %20
  %.pn = phi { ptr, i32 } [ %23, %22 ], [ %21, %20 ]
  call void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %14) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  call void @_ZN4juce16ComponentDraggerD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %11) #4
  br label %25

25:                                               ; preds = %24, %18
  %.pn.pn = phi { ptr, i32 } [ %.pn, %24 ], [ %19, %18 ]
  call void @_ZN4juce9Component11SafePointerIS0_ED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  call void @_ZN4juce13ScopedPointerINS_24ResizableBorderComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #4
  call void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208) %0) #4
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15ResizableWindow19setBackgroundColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(328), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14TopLevelWindowC2ERKNS_6StringEb(ptr noundef nonnull align 8 dereferenceable(208), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14TopLevelWindowD2Ev(ptr noundef nonnull align 8 dereferenceable(208)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15ResizableWindow10initialiseEb(ptr noundef nonnull align 8 dereferenceable(328), i1 noundef zeroext) local_unnamed_addr #3 align 2

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

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

declare void @_ZN4juce16ComponentDraggerC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce16ComponentDraggerD1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce26ComponentBoundsConstrainerC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce26ComponentBoundsConstrainerD1Ev(ptr) local_unnamed_addr

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 = { 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"bool", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !9, i64 236}
!12 = !{!"_ZTSN4juce15ResizableWindowE", !13, i64 0, !42, i64 208, !43, i64 216, !44, i64 224, !9, i64 232, !9, i64 233, !9, i64 234, !9, i64 235, !9, i64 236, !46, i64 240, !19, i64 256, !47, i64 272, !18, i64 320}
!13 = !{!"_ZTSN4juce14TopLevelWindowE", !14, i64 0, !9, i64 197, !9, i64 198, !9, i64 199, !41, i64 200}
!14 = !{!"_ZTSN4juce9ComponentE", !15, i64 0, !16, i64 8, !16, i64 16, !18, i64 24, !19, i64 32, !22, i64 48, !23, i64 56, !24, i64 64, !18, i64 88, !27, i64 96, !18, i64 104, !28, i64 112, !29, i64 120, !30, i64 128, !31, i64 136, !35, i64 160, !39, i64 184, !10, i64 192, !10, i64 196}
!15 = !{!"_ZTSN4juce13MouseListenerE"}
!16 = !{!"_ZTSN4juce6StringE", !17, i64 0}
!17 = !{!"_ZTSN4juce16CharPointer_UTF8E", !18, i64 0}
!18 = !{!"any pointer", !10, i64 0}
!19 = !{!"_ZTSN4juce9RectangleIiEE", !20, i64 0, !21, i64 8, !21, i64 12}
!20 = !{!"_ZTSN4juce5PointIiEE", !21, i64 0, !21, i64 4}
!21 = !{!"int", !10, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !18, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !18, i64 0}
!24 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !25, i64 0, !21, i64 16}
!25 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !26, i64 0, !21, i64 8}
!26 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !18, i64 0}
!27 = !{!"_ZTSN4juce11MouseCursorE", !18, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !18, i64 0}
!29 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !18, i64 0}
!30 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !18, i64 0}
!31 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !21, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !34, i64 0, !21, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !18, i64 0}
!35 = !{!"_ZTSN4juce13NamedValueSetE", !36, i64 0}
!36 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !37, i64 0, !21, i64 16}
!37 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !38, i64 0, !21, i64 8}
!38 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !18, i64 0}
!39 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !40, i64 0}
!40 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !18, i64 0}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_12DropShadowerEEE", !18, i64 0}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableCornerComponentEEE", !18, i64 0}
!43 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableBorderComponentEEE", !18, i64 0}
!44 = !{!"_ZTSN4juce9Component11SafePointerIS0_EE", !45, i64 0}
!45 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !40, i64 0}
!46 = !{!"_ZTSN4juce16ComponentDraggerE", !20, i64 8}
!47 = !{!"_ZTSN4juce26ComponentBoundsConstrainerE", !21, i64 8, !21, i64 12, !21, i64 16, !21, i64 20, !21, i64 24, !21, i64 28, !21, i64 32, !21, i64 36, !48, i64 40}
!48 = !{!"double", !10, i64 0}
!49 = !{!12, !18, i64 320}


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