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

; 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.92 }
%union.anon.92 = type { i32 }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::Justification" = type { i32 }
%"class.juce::ColourSelector" = type { %"class.juce::Component.base", %"class.juce::ChangeBroadcaster", %"class.juce::Slider::Listener", %"class.juce::Colour", float, float, float, [4 x %"class.juce::ScopedPointer.169"], %"class.juce::ScopedPointer.170", %"class.juce::ScopedPointer.171", %"class.juce::OwnedArray.172", i32, i32, %"class.juce::Rectangle" }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.37", %"class.juce::Array.38", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.43", %"class.juce::ScopedPointer.44", %"class.juce::ScopedPointer.45", %"class.juce::ListenerList.46", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.37" = type { ptr }
%"class.juce::Array.38" = type { %"class.juce::ArrayAllocationBase.39", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.39" = type <{ %"class.juce::HeapBlock.40", i32, [4 x i8] }>
%"class.juce::HeapBlock.40" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.43" = type { ptr }
%"class.juce::ScopedPointer.44" = type { ptr }
%"class.juce::ScopedPointer.45" = type { ptr }
%"class.juce::ListenerList.46" = type { %"class.juce::Array.47" }
%"class.juce::Array.47" = type { %"class.juce::ArrayAllocationBase.48", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.48" = type <{ %"class.juce::HeapBlock.49", i32, [4 x i8] }>
%"class.juce::HeapBlock.49" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.52" }
%"class.juce::Array.52" = type { %"class.juce::ArrayAllocationBase.53", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.53" = type <{ %"class.juce::HeapBlock.54", i32, [4 x i8] }>
%"class.juce::HeapBlock.54" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr.57" }
%"class.juce::ReferenceCountedObjectPtr.57" = type { ptr }
%union.anon = type { i32 }
%"class.juce::ChangeBroadcaster" = type { ptr, %"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback", %"class.juce::ListenerList" }
%"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback" = type { %"class.juce::AsyncUpdater", ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array" }
%"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::Slider::Listener" = type { ptr }
%"class.juce::ScopedPointer.169" = type { ptr }
%"class.juce::ScopedPointer.170" = type { ptr }
%"class.juce::ScopedPointer.171" = type { ptr }
%"class.juce::OwnedArray.172" = type { %"class.juce::ArrayAllocationBase.173", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.173" = type <{ %"class.juce::HeapBlock.174", i32, [4 x i8] }>
%"class.juce::HeapBlock.174" = type { ptr }

@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef, ptr noundef) #2

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #2

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

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

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

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #2

declare void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) #2

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

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

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

declare void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) #2

declare void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #2

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

; 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: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce14ColourSelector16getCurrentColourEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(376)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14ColourSelector5paintERNS_8GraphicsE(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef nonnull align 8 dereferenceable(17) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::Colour", align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Rectangle", align 4
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::Colour", align 1
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca %"class.juce::Colour", align 1
  %18 = alloca %"class.juce::Colour", align 1
  %19 = alloca %"class.juce::Font", align 8
  %20 = alloca %"class.juce::String", align 8
  %21 = alloca %"class.juce::Rectangle", align 4
  %22 = alloca %"class.juce::Justification", align 4
  %23 = alloca %"class.juce::Colour", align 1
  %24 = alloca i32, align 4
  %25 = alloca %"class.juce::String", align 8
  %26 = alloca %"class.juce::String", align 8
  %27 = alloca %"class.juce::Justification", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %28 = load ptr, ptr %3, align 8
  %29 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %5, ptr noundef nonnull align 8 dereferenceable(197) %28, i32 noundef 16805888, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %29, ptr noundef %5)
          to label %30 unwind label %52

30:                                               ; preds = %2
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  %31 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 11
  %32 = load i32, ptr %31, align 8, !tbaa !9
  %33 = and i32 %32, 2
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %83

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  call void @_ZNK4juce14ColourSelector16getCurrentColourEv(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 8 dereferenceable(376) %28)
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 13
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %37) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %11, i32 noundef -2236963) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %12, ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %10, ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %14, i32 noundef -1) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 1 dereferenceable(4) %14, ptr noundef %15) #6
  invoke void @_ZNK4juce8Graphics16fillCheckerBoardENS_9RectangleIiEEiiNS_6ColourES3_(ptr noundef nonnull align 8 dereferenceable(17) %36, ptr noundef %9, i32 noundef 10, i32 noundef 10, ptr noundef %10, ptr noundef %13)
          to label %38 unwind label %56

38:                                               ; preds = %35
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %17, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, ptr noundef %18) #6
  call void @_ZNK4juce6Colour11contrastingEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 1 dereferenceable(4) %17, float noundef 1.000000e+00) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %39, ptr noundef %16)
          to label %40 unwind label %60

40:                                               ; preds = %38
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  %41 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %19, float noundef 1.400000e+01, i32 noundef 1)
          to label %42 unwind label %64

42:                                               ; preds = %40
  invoke void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17) %41, ptr noundef nonnull align 8 dereferenceable(8) %19)
          to label %43 unwind label %68

43:                                               ; preds = %42
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %45 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 11
  %46 = load i32, ptr %45, align 8, !tbaa !9
  %47 = and i32 %46, 1
  %48 = icmp ne i32 %47, 0
  invoke void @_ZNK4juce6Colour15toDisplayStringEb(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull align 1 dereferenceable(4) %8, i1 noundef zeroext %48)
          to label %49 unwind label %73

49:                                               ; preds = %43
  %50 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 13
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %21, ptr noundef nonnull align 4 dereferenceable(16) %50) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 36) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %44, ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef %21, ptr noundef %22, i1 noundef zeroext false)
          to label %51 unwind label %77

51:                                               ; preds = %49
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %83

52:                                               ; preds = %2
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %6, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %7, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  br label %149

56:                                               ; preds = %35
  %57 = landingpad { ptr, i32 }
          cleanup
  %58 = extractvalue { ptr, i32 } %57, 0
  store ptr %58, ptr %6, align 8
  %59 = extractvalue { ptr, i32 } %57, 1
  store i32 %59, ptr %7, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  br label %82

60:                                               ; preds = %38
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %6, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %7, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %82

64:                                               ; preds = %40
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %6, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %7, align 4
  br label %72

68:                                               ; preds = %42
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %6, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %7, align 4
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  br label %72

72:                                               ; preds = %68, %64
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  br label %82

73:                                               ; preds = %43
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %6, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %7, align 4
  br label %81

77:                                               ; preds = %49
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %6, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %81

81:                                               ; preds = %77, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %82

82:                                               ; preds = %81, %72, %60, %56
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %149

83:                                               ; preds = %51, %30
  %84 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 11
  %85 = load i32, ptr %84, align 8, !tbaa !9
  %86 = and i32 %85, 4
  %87 = icmp ne i32 %86, 0
  br i1 %87, label %88, label %148

88:                                               ; preds = %83
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %23, ptr noundef nonnull align 8 dereferenceable(197) %28, i32 noundef 16805889, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %89, ptr noundef %23)
          to label %90 unwind label %97

90:                                               ; preds = %88
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  %91 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %91, float noundef 1.100000e+01)
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 4, ptr %24, align 4, !tbaa !54
  br label %92

92:                                               ; preds = %146, %90
  %93 = load i32, ptr %24, align 4, !tbaa !54
  %94 = add nsw i32 %93, -1
  store i32 %94, ptr %24, align 4, !tbaa !54
  %95 = icmp sge i32 %94, 0
  br i1 %95, label %101, label %96

96:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %147

97:                                               ; preds = %88
  %98 = landingpad { ptr, i32 }
          cleanup
  %99 = extractvalue { ptr, i32 } %98, 0
  store ptr %99, ptr %6, align 8
  %100 = extractvalue { ptr, i32 } %98, 1
  store i32 %100, ptr %7, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  br label %149

101:                                              ; preds = %92
  %102 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 7
  %103 = load i32, ptr %24, align 4, !tbaa !54
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %102, i64 0, i64 %104
  %106 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %105) #6
  %107 = call noundef zeroext i1 @_ZNK4juce9Component9isVisibleEv(ptr noundef nonnull align 8 dereferenceable(197) %106) #6
  br i1 %107, label %108, label %146

108:                                              ; preds = %101
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #6
  %110 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 7
  %111 = load i32, ptr %24, align 4, !tbaa !54
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %110, i64 0, i64 %112
  %114 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %113) #6
  %115 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197) %114) #6
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %115) #6
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %25, ptr noundef %26, ptr noundef @.str.34)
          to label %116 unwind label %137

116:                                              ; preds = %108
  %117 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 7
  %118 = load i32, ptr %24, align 4, !tbaa !54
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %117, i64 0, i64 %119
  %121 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %120) #6
  %122 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %121) #6
  %123 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 7
  %124 = load i32, ptr %24, align 4, !tbaa !54
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %123, i64 0, i64 %125
  %127 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %126) #6
  %128 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %127) #6
  %129 = sub nsw i32 %128, 8
  %130 = getelementptr inbounds %"class.juce::ColourSelector", ptr %28, i32 0, i32 7
  %131 = load i32, ptr %24, align 4, !tbaa !54
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %130, i64 0, i64 %132
  %134 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %133) #6
  %135 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %134) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %27, i32 noundef 34) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %109, ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0, i32 noundef %122, i32 noundef %129, i32 noundef %135, ptr noundef %27, i1 noundef zeroext false)
          to label %136 unwind label %141

136:                                              ; preds = %116
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  br label %146

137:                                              ; preds = %108
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %6, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %7, align 4
  br label %145

141:                                              ; preds = %116
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %6, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %7, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %149

146:                                              ; preds = %136, %101
  br label %92, !llvm.loop !55

147:                                              ; preds = %96
  br label %148

148:                                              ; preds = %147, %83
  ret void

149:                                              ; preds = %145, %97, %82, %52
  %150 = load ptr, ptr %6, align 8
  %151 = load i32, ptr %7, align 4
  %152 = insertvalue { ptr, i32 } poison, ptr %150, 0
  %153 = insertvalue { ptr, i32 } %152, i32 %151, 1
  resume { ptr, i32 } %153
}

declare void @_ZNK4juce8Graphics16fillCheckerBoardENS_9RectangleIiEEiiNS_6ColourES3_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), ptr noundef) #0

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour11contrastingEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) #0

declare void @_ZNK4juce8Graphics8drawTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, i1 noundef zeroext) #2

declare void @_ZNK4juce6Colour15toDisplayStringEb(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) #2

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

declare void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) #2

declare void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197)) #3 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 #5 = { 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 #6 = { 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 352}
!10 = !{!"_ZTSN4juce14ColourSelectorE", !11, i64 0, !37, i64 200, !45, i64 256, !46, i64 264, !48, i64 268, !48, i64 272, !48, i64 276, !7, i64 280, !49, i64 312, !50, i64 320, !51, i64 328, !17, i64 352, !17, i64 356, !15, i64 360}
!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 = !{!"_ZTSN4juce17ChangeBroadcasterE", !38, i64 8, !41, i64 32}
!38 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !39, i64 0, !6, i64 16}
!39 = !{!"_ZTSN4juce12AsyncUpdaterE", !40, i64 8}
!40 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!41 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !42, i64 0}
!42 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !43, i64 0, !17, i64 16}
!43 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !44, i64 0, !17, i64 8}
!44 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !6, i64 0}
!45 = !{!"_ZTSN4juce6Slider8ListenerE"}
!46 = !{!"_ZTSN4juce6ColourE", !47, i64 0}
!47 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!48 = !{!"float", !7, i64 0}
!49 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEE", !6, i64 0}
!50 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15HueSelectorCompEEE", !6, i64 0}
!51 = !{!"_ZTSN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !52, i64 0, !17, i64 16}
!52 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !53, i64 0, !17, i64 8}
!53 = !{!"_ZTSN4juce9HeapBlockIPNS_14ColourSelector15SwatchComponentELb0EEE", !6, i64 0}
!54 = !{!17, !17, i64 0}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}


; 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.92 }
%union.anon.92 = type { i32 }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::Justification" = type { i32 }

@.str.34 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1

; 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

declare void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8), float noundef, i32 noundef) unnamed_addr #2

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

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

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

declare void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #2

declare void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2

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

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

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

declare void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2

declare void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #2

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

; 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: nounwind
declare void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4), i32 noundef) unnamed_addr #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce14ColourSelector16getCurrentColourEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(376)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14ColourSelector5paintERNS_8GraphicsE(ptr noundef nonnull align 8 dereferenceable(376) %0, ptr noundef nonnull align 8 dereferenceable(17) %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Colour", align 1
  %4 = alloca %"class.juce::Colour", align 1
  %5 = alloca %"class.juce::Rectangle", align 4
  %6 = alloca %"class.juce::Colour", align 1
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::Font", align 8
  %16 = alloca %"class.juce::String", align 8
  %17 = alloca %"class.juce::Rectangle", align 4
  %18 = alloca %"class.juce::Justification", align 4
  %19 = alloca %"class.juce::Colour", align 1
  %20 = alloca %"class.juce::String", align 8
  %21 = alloca %"class.juce::String", align 8
  %22 = alloca %"class.juce::Justification", align 4
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %3, ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef 16805888, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %3)
          to label %23 unwind label %38

23:                                               ; preds = %2
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  %24 = getelementptr inbounds i8, ptr %0, i64 352
  %25 = load i32, ptr %24, align 8, !tbaa !5
  %26 = and i32 %25, 2
  %.not = icmp eq i32 %26, 0
  br i1 %.not, label %55, label %27

27:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @_ZNK4juce14ColourSelector16getCurrentColourEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %4, ptr noundef nonnull align 8 dereferenceable(376) %0)
  %28 = getelementptr inbounds i8, ptr %0, i64 360
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %7, i32 noundef -2236963) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %8, ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull align 1 dereferenceable(4) %7, ptr noundef nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %10, i32 noundef -1) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) %10, ptr noundef nonnull %11) #6
  invoke void @_ZNK4juce8Graphics16fillCheckerBoardENS_9RectangleIiEEiiNS_6ColourES3_(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %5, i32 noundef 10, i32 noundef 10, ptr noundef nonnull %6, ptr noundef nonnull %9)
          to label %29 unwind label %40

29:                                               ; preds = %27
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, ptr noundef nonnull %14) #6
  call void @_ZNK4juce6Colour11contrastingEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull align 1 dereferenceable(4) %13, float noundef 1.000000e+00) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %12)
          to label %30 unwind label %42

30:                                               ; preds = %29
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #6
  invoke void @_ZN4juce4FontC1Efi(ptr noundef nonnull align 8 dereferenceable(8) %15, float noundef 1.400000e+01, i32 noundef 1)
          to label %31 unwind label %44

31:                                               ; preds = %30
  invoke void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %15)
          to label %32 unwind label %46

32:                                               ; preds = %31
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #6
  %33 = load i32, ptr %24, align 8, !tbaa !5
  %34 = and i32 %33, 1
  %35 = icmp ne i32 %34, 0
  invoke void @_ZNK4juce6Colour15toDisplayStringEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %16, ptr noundef nonnull align 1 dereferenceable(4) %4, i1 noundef zeroext %35)
          to label %36 unwind label %49

36:                                               ; preds = %32
  call void @_ZN4juce9RectangleIiEC2ERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %28) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef 36) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %17, ptr noundef nonnull %18, i1 noundef zeroext false)
          to label %37 unwind label %51

37:                                               ; preds = %36
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  %.pre = load i32, ptr %24, align 8, !tbaa !5
  br label %55

38:                                               ; preds = %2
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %3) #6
  br label %130

40:                                               ; preds = %27
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  br label %54

42:                                               ; preds = %29
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  br label %54

44:                                               ; preds = %30
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %48

46:                                               ; preds = %31
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %48

48:                                               ; preds = %46, %44
  %.pn = phi { ptr, i32 } [ %47, %46 ], [ %45, %44 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #6
  br label %54

49:                                               ; preds = %32
  %50 = landingpad { ptr, i32 }
          cleanup
  br label %53

51:                                               ; preds = %36
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  br label %53

53:                                               ; preds = %51, %49
  %.pn24 = phi { ptr, i32 } [ %52, %51 ], [ %50, %49 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #6
  br label %54

54:                                               ; preds = %53, %48, %42, %40
  %.pn24.pn = phi { ptr, i32 } [ %.pn24, %53 ], [ %.pn, %48 ], [ %43, %42 ], [ %41, %40 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  br label %130

55:                                               ; preds = %37, %23
  %56 = phi i32 [ %.pre, %37 ], [ %25, %23 ]
  %57 = and i32 %56, 4
  %.not27 = icmp eq i32 %57, 0
  br i1 %.not27, label %.loopexit, label %58

58:                                               ; preds = %55
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %19, ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef 16805889, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %19)
          to label %59 unwind label %64

59:                                               ; preds = %58
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  call void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef 1.100000e+01)
  %60 = getelementptr inbounds i8, ptr %0, i64 280
  %61 = getelementptr inbounds i8, ptr %0, i64 304
  %62 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #6
  %63 = call noundef zeroext i1 @_ZNK4juce9Component9isVisibleEv(ptr noundef nonnull align 8 dereferenceable(197) %62) #6
  br i1 %63, label %66, label %83

64:                                               ; preds = %58
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  br label %130

66:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %67 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #6
  %68 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197) %67) #6
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %68) #6
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull @.str.34)
          to label %69 unwind label %78

69:                                               ; preds = %66
  %70 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #6
  %71 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %70) #6
  %72 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #6
  %73 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %72) #6
  %74 = add nsw i32 %73, -8
  %75 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %61) #6
  %76 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %75) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 34) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0, i32 noundef %71, i32 noundef %74, i32 noundef %76, ptr noundef nonnull %22, i1 noundef zeroext false)
          to label %77 unwind label %80

77:                                               ; preds = %69
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %83

78:                                               ; preds = %118, %103, %87, %66
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %82

80:                                               ; preds = %121, %106, %90, %69
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  br label %82

82:                                               ; preds = %80, %78
  %.pn28 = phi { ptr, i32 } [ %81, %80 ], [ %79, %78 ]
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %130

83:                                               ; preds = %77, %59
  %84 = getelementptr inbounds i8, ptr %0, i64 296
  %85 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #6
  %86 = call noundef zeroext i1 @_ZNK4juce9Component9isVisibleEv(ptr noundef nonnull align 8 dereferenceable(197) %85) #6
  br i1 %86, label %87, label %99

87:                                               ; preds = %83
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %88 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #6
  %89 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197) %88) #6
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %89) #6
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull @.str.34)
          to label %90 unwind label %78

90:                                               ; preds = %87
  %91 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #6
  %92 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %91) #6
  %93 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #6
  %94 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %93) #6
  %95 = add nsw i32 %94, -8
  %96 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %84) #6
  %97 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %96) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 34) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0, i32 noundef %92, i32 noundef %95, i32 noundef %97, ptr noundef nonnull %22, i1 noundef zeroext false)
          to label %98 unwind label %80

98:                                               ; preds = %90
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %99

99:                                               ; preds = %98, %83
  %100 = getelementptr inbounds i8, ptr %0, i64 288
  %101 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %102 = call noundef zeroext i1 @_ZNK4juce9Component9isVisibleEv(ptr noundef nonnull align 8 dereferenceable(197) %101) #6
  br i1 %102, label %103, label %115

103:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %104 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %105 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197) %104) #6
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %105) #6
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull @.str.34)
          to label %106 unwind label %78

106:                                              ; preds = %103
  %107 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %108 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %107) #6
  %109 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %110 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %109) #6
  %111 = add nsw i32 %110, -8
  %112 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %100) #6
  %113 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %112) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 34) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0, i32 noundef %108, i32 noundef %111, i32 noundef %113, ptr noundef nonnull %22, i1 noundef zeroext false)
          to label %114 unwind label %80

114:                                              ; preds = %106
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %115

115:                                              ; preds = %114, %99
  %116 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  %117 = call noundef zeroext i1 @_ZNK4juce9Component9isVisibleEv(ptr noundef nonnull align 8 dereferenceable(197) %116) #6
  br i1 %117, label %118, label %.loopexit

118:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %20) #6
  %119 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  %120 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce9Component7getNameEv(ptr noundef nonnull align 8 dereferenceable(197) %119) #6
  call void @_ZN4juce6StringC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull align 8 dereferenceable(8) %120) #6
  invoke void @_ZN4juceplENS_6StringEPKc(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %20, ptr noundef nonnull %21, ptr noundef nonnull @.str.34)
          to label %121 unwind label %78

121:                                              ; preds = %118
  %122 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  %123 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %122) #6
  %124 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  %125 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %124) #6
  %126 = add nsw i32 %125, -8
  %127 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  %128 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %127) #6
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %22, i32 noundef 34) #6
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0, i32 noundef %123, i32 noundef %126, i32 noundef %128, ptr noundef nonnull %22, i1 noundef zeroext false)
          to label %129 unwind label %80

129:                                              ; preds = %121
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %20) #6
  br label %.loopexit

.loopexit:                                        ; preds = %115, %129, %55
  ret void

130:                                              ; preds = %82, %64, %54, %38
  %.pn28.pn = phi { ptr, i32 } [ %.pn28, %82 ], [ %65, %64 ], [ %.pn24.pn, %54 ], [ %39, %38 ]
  resume { ptr, i32 } %.pn28.pn
}

declare void @_ZNK4juce8Graphics16fillCheckerBoardENS_9RectangleIiEEiiNS_6ColourES3_(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZNK4juce6Colour11contrastingEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 1 dereferenceable(4), float noundef) local_unnamed_addr #0

declare void @_ZNK4juce8Graphics8drawTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

declare void @_ZNK4juce6Colour15toDisplayStringEb(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 1 dereferenceable(4), i1 noundef zeroext) local_unnamed_addr #2

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

declare void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) local_unnamed_addr #2

declare void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #2

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

attributes #0 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 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 = { 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 #5 = { 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 #6 = { 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 352}
!6 = !{!"_ZTSN4juce14ColourSelectorE", !7, i64 0, !36, i64 200, !44, i64 256, !45, i64 264, !47, i64 268, !47, i64 272, !47, i64 276, !12, i64 280, !48, i64 312, !49, i64 320, !50, i64 328, !16, i64 352, !16, i64 356, !14, i64 360}
!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 = !{!"_ZTSN4juce17ChangeBroadcasterE", !37, i64 8, !40, i64 32}
!37 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !38, i64 0, !11, i64 16}
!38 = !{!"_ZTSN4juce12AsyncUpdaterE", !39, i64 8}
!39 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!40 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !41, i64 0}
!41 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !42, i64 0, !16, i64 16}
!42 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !43, i64 0, !16, i64 8}
!43 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !11, i64 0}
!44 = !{!"_ZTSN4juce6Slider8ListenerE"}
!45 = !{!"_ZTSN4juce6ColourE", !46, i64 0}
!46 = !{!"_ZTSN4juce9PixelARGBE", !12, i64 0}
!47 = !{!"float", !12, i64 0}
!48 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEE", !11, i64 0}
!49 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15HueSelectorCompEEE", !11, i64 0}
!50 = !{!"_ZTSN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !51, i64 0, !16, i64 16}
!51 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !52, i64 0, !16, i64 8}
!52 = !{!"_ZTSN4juce9HeapBlockIPNS_14ColourSelector15SwatchComponentELb0EEE", !11, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass