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

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

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

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) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #1

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

declare void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef, i32 noundef) #4

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

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

declare void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE5clearEb(ptr noundef nonnull align 8 dereferenceable(20), i1 noundef zeroext) #6 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14ColourSelector7resizedEv(ptr noundef nonnull align 8 dereferenceable(376) %0) unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %25 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  store i32 8, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 22, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #8
  %26 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 11
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = and i32 %27, 1
  %29 = icmp ne i32 %28, 0
  %30 = zext i1 %29 to i64
  %31 = select i1 %29, i32 4, i32 3
  store i32 %31, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %32 = load ptr, ptr %25, align 8, !tbaa !55
  %33 = getelementptr inbounds ptr, ptr %32, i64 45
  %34 = load ptr, ptr %33, align 8
  %35 = call noundef i32 %34(ptr noundef nonnull align 8 dereferenceable(376) %25)
  store i32 %35, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  %36 = load i32, ptr %6, align 4, !tbaa !9
  %37 = icmp sgt i32 %36, 0
  br i1 %37, label %38, label %46

38:                                               ; preds = %1
  %39 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %40 = load i32, ptr %39, align 4, !tbaa !57
  %41 = load i32, ptr %6, align 4, !tbaa !9
  %42 = add nsw i32 %41, 7
  %43 = sdiv i32 %42, 8
  %44 = mul nsw i32 22, %43
  %45 = add nsw i32 %40, %44
  br label %47

46:                                               ; preds = %1
  br label %47

47:                                               ; preds = %46, %38
  %48 = phi i32 [ %45, %38 ], [ 0, %46 ]
  store i32 %48, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  %49 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 11
  %50 = load i32, ptr %49, align 8, !tbaa !11
  %51 = and i32 %50, 4
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %61

53:                                               ; preds = %47
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = mul nsw i32 22, %54
  %56 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %57 = load i32, ptr %56, align 4, !tbaa !57
  %58 = add nsw i32 %55, %57
  %59 = call noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197) %25, float noundef 0x3FD3333340000000) #8
  %60 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %58, i32 noundef %59)
  br label %62

61:                                               ; preds = %47
  br label %62

62:                                               ; preds = %61, %53
  %63 = phi i32 [ %60, %53 ], [ 0, %61 ]
  store i32 %63, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %64 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 11
  %65 = load i32, ptr %64, align 8, !tbaa !11
  %66 = and i32 %65, 2
  %67 = icmp ne i32 %66, 0
  br i1 %67, label %68, label %75

68:                                               ; preds = %62
  %69 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %70 = load i32, ptr %69, align 4, !tbaa !57
  %71 = mul nsw i32 %70, 2
  %72 = add nsw i32 30, %71
  %73 = call noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197) %25, float noundef 0x3FC99999A0000000) #8
  %74 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %72, i32 noundef %73)
  br label %78

75:                                               ; preds = %62
  %76 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %77 = load i32, ptr %76, align 4, !tbaa !57
  br label %78

78:                                               ; preds = %75, %68
  %79 = phi i32 [ %74, %68 ], [ %77, %75 ]
  store i32 %79, ptr %9, align 4, !tbaa !9
  %80 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 13
  %81 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %82 = load i32, ptr %81, align 4, !tbaa !57
  %83 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %84 = load i32, ptr %83, align 4, !tbaa !57
  %85 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %86 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %87 = load i32, ptr %86, align 4, !tbaa !57
  %88 = mul nsw i32 %87, 2
  %89 = sub nsw i32 %85, %88
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %92 = load i32, ptr %91, align 4, !tbaa !57
  %93 = mul nsw i32 %92, 2
  %94 = sub nsw i32 %90, %93
  call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %80, i32 noundef %82, i32 noundef %84, i32 noundef %89, i32 noundef %94) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %95 = load i32, ptr %9, align 4, !tbaa !9
  store i32 %95, ptr %10, align 4, !tbaa !9
  %96 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 11
  %97 = load i32, ptr %96, align 8, !tbaa !11
  %98 = and i32 %97, 8
  %99 = icmp ne i32 %98, 0
  br i1 %99, label %100, label %152

100:                                              ; preds = %78
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  %101 = call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %25, float noundef 0x3FC3333340000000) #8
  %102 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef 50, i32 noundef %101)
  store i32 %102, ptr %11, align 4, !tbaa !9
  %103 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 8
  %104 = call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %103) #8
  %105 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %106 = load i32, ptr %105, align 4, !tbaa !57
  %107 = load i32, ptr %10, align 4, !tbaa !9
  %108 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %109 = load i32, ptr %11, align 4, !tbaa !9
  %110 = sub nsw i32 %108, %109
  %111 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %112 = load i32, ptr %111, align 4, !tbaa !57
  %113 = sub nsw i32 %110, %112
  %114 = sub nsw i32 %113, 4
  %115 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %116 = load i32, ptr %9, align 4, !tbaa !9
  %117 = sub nsw i32 %115, %116
  %118 = load i32, ptr %8, align 4, !tbaa !9
  %119 = sub nsw i32 %117, %118
  %120 = load i32, ptr %7, align 4, !tbaa !9
  %121 = sub nsw i32 %119, %120
  %122 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %123 = load i32, ptr %122, align 4, !tbaa !57
  %124 = sub nsw i32 %121, %123
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %104, i32 noundef %106, i32 noundef %107, i32 noundef %114, i32 noundef %124)
  %125 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 9
  %126 = call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15HueSelectorCompEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %125) #8
  %127 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 8
  %128 = call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %127) #8
  %129 = call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %128) #8
  %130 = add nsw i32 %129, 4
  %131 = load i32, ptr %10, align 4, !tbaa !9
  %132 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %133 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %134 = load i32, ptr %133, align 4, !tbaa !57
  %135 = sub nsw i32 %132, %134
  %136 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 8
  %137 = call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %136) #8
  %138 = call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %137) #8
  %139 = add nsw i32 %138, 4
  %140 = sub nsw i32 %135, %139
  %141 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 8
  %142 = call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %141) #8
  %143 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %142) #8
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %126, i32 noundef %130, i32 noundef %131, i32 noundef %140, i32 noundef %143)
  %144 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sub nsw i32 %144, %145
  %147 = load i32, ptr %7, align 4, !tbaa !9
  %148 = sub nsw i32 %146, %147
  %149 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %150 = load i32, ptr %149, align 4, !tbaa !57
  %151 = sub nsw i32 %148, %150
  store i32 %151, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  br label %152

152:                                              ; preds = %100, %78
  %153 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 11
  %154 = load i32, ptr %153, align 8, !tbaa !11
  %155 = and i32 %154, 4
  %156 = icmp ne i32 %155, 0
  br i1 %156, label %157, label %185

157:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %158 = load i32, ptr %8, align 4, !tbaa !9
  %159 = load i32, ptr %5, align 4, !tbaa !9
  %160 = sdiv i32 %158, %159
  %161 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 4, i32 noundef %160)
  store i32 %161, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %162

162:                                              ; preds = %181, %157
  %163 = load i32, ptr %13, align 4, !tbaa !9
  %164 = load i32, ptr %5, align 4, !tbaa !9
  %165 = icmp slt i32 %163, %164
  br i1 %165, label %167, label %166

166:                                              ; preds = %162
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %184

167:                                              ; preds = %162
  %168 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 7
  %169 = load i32, ptr %13, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %168, i64 0, i64 %170
  %172 = call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %171) #8
  %173 = call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %25, float noundef 0x3FC99999A0000000) #8
  %174 = load i32, ptr %10, align 4, !tbaa !9
  %175 = call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %25, float noundef 0x3FE70A3D80000000) #8
  %176 = load i32, ptr %12, align 4, !tbaa !9
  %177 = sub nsw i32 %176, 2
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %172, i32 noundef %173, i32 noundef %174, i32 noundef %175, i32 noundef %177)
  %178 = load i32, ptr %12, align 4, !tbaa !9
  %179 = load i32, ptr %10, align 4, !tbaa !9
  %180 = add nsw i32 %179, %178
  store i32 %180, ptr %10, align 4, !tbaa !9
  br label %181

181:                                              ; preds = %167
  %182 = load i32, ptr %13, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %13, align 4, !tbaa !9
  br label %162, !llvm.loop !58

184:                                              ; preds = %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %185

185:                                              ; preds = %184, %152
  %186 = load i32, ptr %6, align 4, !tbaa !9
  %187 = icmp sgt i32 %186, 0
  br i1 %187, label %188, label %257

188:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  store i32 8, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #8
  store i32 4, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #8
  store i32 4, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %189 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #8
  %190 = sub nsw i32 %189, 16
  %191 = sdiv i32 %190, 8
  store i32 %191, ptr %17, align 4, !tbaa !9
  %192 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 12
  %193 = load i32, ptr %192, align 4, !tbaa !57
  %194 = load i32, ptr %10, align 4, !tbaa !9
  %195 = add nsw i32 %194, %193
  store i32 %195, ptr %10, align 4, !tbaa !9
  %196 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 10
  %197 = call noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %196) #8
  %198 = load i32, ptr %6, align 4, !tbaa !9
  %199 = icmp ne i32 %197, %198
  br i1 %199, label %200, label %223

200:                                              ; preds = %188
  %201 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 10
  call void @_ZN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE5clearEb(ptr noundef nonnull align 8 dereferenceable(20) %201, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %202

202:                                              ; preds = %215, %200
  %203 = load i32, ptr %18, align 4, !tbaa !9
  %204 = load i32, ptr %6, align 4, !tbaa !9
  %205 = icmp slt i32 %203, %204
  br i1 %205, label %207, label %206

206:                                              ; preds = %202
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %222

207:                                              ; preds = %202
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %208 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 216) #9
  %209 = load i32, ptr %18, align 4, !tbaa !9
  invoke void @_ZN4juce14ColourSelector15SwatchComponentC2ERS0_i(ptr noundef nonnull align 8 dereferenceable(212) %208, ptr noundef nonnull align 8 dereferenceable(376) %25, i32 noundef %209)
          to label %210 unwind label %218

210:                                              ; preds = %207
  store ptr %208, ptr %19, align 8, !tbaa !5
  %211 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 10
  %212 = load ptr, ptr %19, align 8, !tbaa !5
  %213 = call noundef ptr @_ZN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %211, ptr noundef %212) #8
  %214 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %25, ptr noundef %214, i32 noundef -1)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  br label %215

215:                                              ; preds = %210
  %216 = load i32, ptr %18, align 4, !tbaa !9
  %217 = add nsw i32 %216, 1
  store i32 %217, ptr %18, align 4, !tbaa !9
  br label %202, !llvm.loop !60

218:                                              ; preds = %207
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %20, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %21, align 4
  call void @_ZdlPvm(ptr noundef %208, i64 noundef 216) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  br label %258

222:                                              ; preds = %206
  br label %223

223:                                              ; preds = %222, %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #8
  store i32 8, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %224

224:                                              ; preds = %253, %223
  %225 = load i32, ptr %23, align 4, !tbaa !9
  %226 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 10
  %227 = call noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %226) #8
  %228 = icmp slt i32 %225, %227
  br i1 %228, label %230, label %229

229:                                              ; preds = %224
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %256

230:                                              ; preds = %224
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %231 = getelementptr inbounds %"class.juce::ColourSelector", ptr %25, i32 0, i32 10
  %232 = load i32, ptr %23, align 4, !tbaa !9
  %233 = call noundef ptr @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %231, i32 noundef %232) #8
  store ptr %233, ptr %24, align 8, !tbaa !5
  %234 = load ptr, ptr %24, align 8, !tbaa !5
  %235 = load i32, ptr %22, align 4, !tbaa !9
  %236 = add nsw i32 %235, 2
  %237 = load i32, ptr %10, align 4, !tbaa !9
  %238 = add nsw i32 %237, 2
  %239 = load i32, ptr %17, align 4, !tbaa !9
  %240 = sub nsw i32 %239, 4
  call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %234, i32 noundef %236, i32 noundef %238, i32 noundef %240, i32 noundef 18)
  %241 = load i32, ptr %23, align 4, !tbaa !9
  %242 = add nsw i32 %241, 1
  %243 = srem i32 %242, 8
  %244 = icmp eq i32 %243, 0
  br i1 %244, label %245, label %248

245:                                              ; preds = %230
  store i32 8, ptr %22, align 4, !tbaa !9
  %246 = load i32, ptr %10, align 4, !tbaa !9
  %247 = add nsw i32 %246, 22
  store i32 %247, ptr %10, align 4, !tbaa !9
  br label %252

248:                                              ; preds = %230
  %249 = load i32, ptr %17, align 4, !tbaa !9
  %250 = load i32, ptr %22, align 4, !tbaa !9
  %251 = add nsw i32 %250, %249
  store i32 %251, ptr %22, align 4, !tbaa !9
  br label %252

252:                                              ; preds = %248, %245
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %23, align 4, !tbaa !9
  %255 = add nsw i32 %254, 1
  store i32 %255, ptr %23, align 4, !tbaa !9
  br label %224, !llvm.loop !61

256:                                              ; preds = %229
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  br label %257

257:                                              ; preds = %256, %185
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  ret void

258:                                              ; preds = %218
  %259 = load ptr, ptr %20, align 8
  %260 = load i32, ptr %21, align 4
  %261 = insertvalue { ptr, i32 } poison, ptr %259, 0
  %262 = insertvalue { ptr, i32 } %261, i32 %260, 1
  resume { ptr, i32 } %262
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) #7

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20)) #5 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "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 = { 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 #6 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 352}
!12 = !{!"_ZTSN4juce14ColourSelectorE", !13, i64 0, !38, i64 200, !46, i64 256, !47, i64 264, !49, i64 268, !49, i64 272, !49, i64 276, !7, i64 280, !50, i64 312, !51, i64 320, !52, i64 328, !10, i64 352, !10, i64 356, !17, i64 360}
!13 = !{!"_ZTSN4juce9ComponentE", !14, i64 0, !15, i64 8, !15, i64 16, !6, i64 24, !17, i64 32, !19, i64 48, !20, i64 56, !21, i64 64, !6, i64 88, !24, i64 96, !6, i64 104, !25, i64 112, !26, i64 120, !27, i64 128, !28, i64 136, !32, i64 160, !36, i64 184, !7, i64 192, !7, i64 196}
!14 = !{!"_ZTSN4juce13MouseListenerE"}
!15 = !{!"_ZTSN4juce6StringE", !16, i64 0}
!16 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!17 = !{!"_ZTSN4juce9RectangleIiEE", !18, i64 0, !10, i64 8, !10, i64 12}
!18 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!21 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !22, i64 0, !10, i64 16}
!22 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !23, i64 0, !10, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!24 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !29, i64 0}
!29 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !30, i64 0, !10, i64 16}
!30 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !31, i64 0, !10, i64 8}
!31 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!32 = !{!"_ZTSN4juce13NamedValueSetE", !33, i64 0}
!33 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !34, i64 0, !10, i64 16}
!34 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !35, i64 0, !10, i64 8}
!35 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!36 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !37, i64 0}
!37 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!38 = !{!"_ZTSN4juce17ChangeBroadcasterE", !39, i64 8, !42, i64 32}
!39 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !40, i64 0, !6, i64 16}
!40 = !{!"_ZTSN4juce12AsyncUpdaterE", !41, i64 8}
!41 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!42 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !43, i64 0}
!43 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !44, i64 0, !10, i64 16}
!44 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !45, i64 0, !10, i64 8}
!45 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !6, i64 0}
!46 = !{!"_ZTSN4juce6Slider8ListenerE"}
!47 = !{!"_ZTSN4juce6ColourE", !48, i64 0}
!48 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!49 = !{!"float", !7, i64 0}
!50 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEE", !6, i64 0}
!51 = !{!"_ZTSN4juce13ScopedPointerINS_14ColourSelector15HueSelectorCompEEE", !6, i64 0}
!52 = !{!"_ZTSN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !53, i64 0, !10, i64 16}
!53 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEEE", !54, i64 0, !10, i64 8}
!54 = !{!"_ZTSN4juce9HeapBlockIPNS_14ColourSelector15SwatchComponentELb0EEE", !6, i64 0}
!55 = !{!56, !56, i64 0}
!56 = !{!"vtable pointer", !8, i64 0}
!57 = !{!12, !10, i64 356}
!58 = distinct !{!58, !59}
!59 = !{!"llvm.loop.mustprogress"}
!60 = distinct !{!60, !59}
!61 = distinct !{!61, !59}


; 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::ScopedPointer.169" = type { ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #0

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14ColourSelector7resizedEv(ptr noundef nonnull align 8 dereferenceable(376) %0) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 352
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = and i32 %3, 1
  %.not = icmp eq i32 %4, 0
  %5 = select i1 %.not, i32 3, i32 4
  %6 = load ptr, ptr %0, align 8, !tbaa !53
  %7 = getelementptr inbounds i8, ptr %6, i64 360
  %8 = load ptr, ptr %7, align 8
  %9 = tail call noundef i32 %8(ptr noundef nonnull align 8 dereferenceable(376) %0)
  %10 = icmp sgt i32 %9, 0
  br i1 %10, label %11, label %16

11:                                               ; preds = %1
  %12 = getelementptr inbounds i8, ptr %0, i64 356
  %13 = load i32, ptr %12, align 4, !tbaa !55
  %14 = add nuw nsw i32 %9, 7
  %15 = lshr i32 %14, 3
  %.neg80 = mul i32 %15, -22
  %.neg81 = sub i32 %.neg80, %13
  br label %16

16:                                               ; preds = %1, %11
  %.neg82 = phi i32 [ %.neg81, %11 ], [ 0, %1 ]
  %17 = load i32, ptr %2, align 8, !tbaa !5
  %18 = and i32 %17, 4
  %.not50 = icmp eq i32 %18, 0
  br i1 %.not50, label %26, label %19

19:                                               ; preds = %16
  %20 = mul nuw nsw i32 %5, 22
  %21 = getelementptr inbounds i8, ptr %0, i64 356
  %22 = load i32, ptr %21, align 4, !tbaa !55
  %23 = add nsw i32 %22, %20
  %24 = tail call noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FD3333340000000) #6
  %25 = tail call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %23, i32 noundef %24)
  %.pre = load i32, ptr %2, align 8, !tbaa !5
  br label %26

26:                                               ; preds = %16, %19
  %27 = phi i32 [ %.pre, %19 ], [ %17, %16 ]
  %28 = phi i32 [ %25, %19 ], [ 0, %16 ]
  %29 = and i32 %27, 2
  %.not51 = icmp eq i32 %29, 0
  %30 = getelementptr inbounds i8, ptr %0, i64 356
  %31 = load i32, ptr %30, align 4, !tbaa !55
  br i1 %.not51, label %37, label %32

32:                                               ; preds = %26
  %33 = shl nsw i32 %31, 1
  %34 = add nsw i32 %33, 30
  %35 = tail call noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FC99999A0000000) #6
  %36 = tail call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %34, i32 noundef %35)
  %.pre85 = load i32, ptr %30, align 4, !tbaa !55
  br label %37

37:                                               ; preds = %26, %32
  %38 = phi i32 [ %.pre85, %32 ], [ %31, %26 ]
  %39 = phi i32 [ %36, %32 ], [ %31, %26 ]
  %40 = getelementptr inbounds i8, ptr %0, i64 360
  %41 = getelementptr inbounds i8, ptr %0, i64 356
  %42 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %43 = load i32, ptr %41, align 4, !tbaa !55
  %44 = shl nsw i32 %43, 1
  %45 = sub nsw i32 %42, %44
  %46 = sub nsw i32 %39, %44
  tail call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %40, i32 noundef %38, i32 noundef %38, i32 noundef %45, i32 noundef %46) #6
  %47 = load i32, ptr %2, align 8, !tbaa !5
  %48 = and i32 %47, 8
  %.not52 = icmp eq i32 %48, 0
  br i1 %.not52, label %84, label %49

49:                                               ; preds = %37
  %50 = tail call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FC3333340000000) #6
  %51 = tail call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef 50, i32 noundef %50)
  %52 = getelementptr inbounds i8, ptr %0, i64 312
  %53 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  %54 = load i32, ptr %41, align 4, !tbaa !55
  %55 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %56 = load i32, ptr %41, align 4, !tbaa !55
  %57 = add i32 %55, -4
  %58 = add i32 %51, %56
  %59 = sub i32 %57, %58
  %60 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %61 = load i32, ptr %41, align 4, !tbaa !55
  %62 = add i32 %28, %39
  %63 = add i32 %.neg82, %60
  %64 = add i32 %62, %61
  %65 = sub i32 %63, %64
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %53, i32 noundef %54, i32 noundef %39, i32 noundef %59, i32 noundef %65)
  %66 = getelementptr inbounds i8, ptr %0, i64 320
  %67 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15HueSelectorCompEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %66) #6
  %68 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  %69 = tail call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %68) #6
  %70 = add nsw i32 %69, 4
  %71 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %72 = load i32, ptr %41, align 4, !tbaa !55
  %73 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  %74 = tail call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %73) #6
  %.neg66 = add i32 %71, -4
  %75 = add i32 %72, %74
  %76 = sub i32 %.neg66, %75
  %77 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_14ColourSelector15ColourSpaceViewEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  %78 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %77) #6
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %67, i32 noundef %70, i32 noundef %39, i32 noundef %76, i32 noundef %78)
  %79 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %80 = load i32, ptr %41, align 4, !tbaa !55
  %81 = add i32 %.neg82, %79
  %82 = add i32 %28, %80
  %83 = sub i32 %81, %82
  %.pre86 = load i32, ptr %2, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %49, %37
  %85 = phi i32 [ %.pre86, %49 ], [ %47, %37 ]
  %.0 = phi i32 [ %83, %49 ], [ %39, %37 ]
  %86 = and i32 %85, 4
  %.not53 = icmp eq i32 %86, 0
  br i1 %.not53, label %.loopexit72, label %87

87:                                               ; preds = %84
  %88 = sdiv i32 %28, %5
  %89 = tail call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 4, i32 noundef %88)
  %90 = getelementptr inbounds i8, ptr %0, i64 280
  %91 = add nsw i32 %89, -2
  %wide.trip.count = zext nneg i32 %5 to i64
  br label %92

92:                                               ; preds = %87, %92
  %indvars.iv = phi i64 [ 0, %87 ], [ %indvars.iv.next, %92 ]
  %.174 = phi i32 [ %.0, %87 ], [ %97, %92 ]
  %93 = getelementptr inbounds [4 x %"class.juce::ScopedPointer.169"], ptr %90, i64 0, i64 %indvars.iv
  %94 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_6SliderEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %93) #6
  %95 = tail call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FC99999A0000000) #6
  %96 = tail call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FE70A3D80000000) #6
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %94, i32 noundef %95, i32 noundef %.174, i32 noundef %96, i32 noundef %91)
  %97 = add nsw i32 %.174, %89
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit72, label %92, !llvm.loop !56

.loopexit72:                                      ; preds = %92, %84
  %.2 = phi i32 [ %.0, %84 ], [ %97, %92 ]
  br i1 %10, label %98, label %.loopexit

98:                                               ; preds = %.loopexit72
  %99 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %100 = add nsw i32 %99, -16
  %101 = sdiv i32 %100, 8
  %102 = load i32, ptr %41, align 4, !tbaa !55
  %103 = add nsw i32 %102, %.2
  %104 = getelementptr inbounds i8, ptr %0, i64 328
  %105 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %104) #6
  %.not54 = icmp eq i32 %105, %9
  br i1 %.not54, label %.loopexit71, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %98
  tail call void @_ZN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE5clearEb(ptr noundef nonnull align 8 dereferenceable(20) %104, i1 noundef zeroext true)
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.04775 = phi i32 [ %108, %.lr.ph ], [ 0, %.lr.ph.preheader ]
  %106 = tail call noalias noundef nonnull dereferenceable(216) ptr @_Znwm(i64 noundef 216) #7
  tail call void @_ZN4juce14ColourSelector15SwatchComponentC2ERS0_i(ptr noundef nonnull align 8 dereferenceable(212) %106, ptr noundef nonnull align 8 dereferenceable(376) %0, i32 noundef %.04775)
  %107 = tail call noundef ptr @_ZN4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE3addEPS2_(ptr noundef nonnull align 8 dereferenceable(20) %104, ptr noundef nonnull %106) #6
  tail call void @_ZN4juce9Component17addAndMakeVisibleEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef nonnull %106, i32 noundef -1)
  %108 = add nuw nsw i32 %.04775, 1
  %exitcond84.not = icmp eq i32 %108, %9
  br i1 %exitcond84.not, label %.loopexit71, label %.lr.ph, !llvm.loop !58

.loopexit71:                                      ; preds = %.lr.ph, %98
  %109 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %104) #6
  %110 = icmp sgt i32 %109, 0
  br i1 %110, label %.lr.ph79, label %.loopexit

.lr.ph79:                                         ; preds = %.loopexit71
  %111 = add nsw i32 %101, -4
  br label %112

112:                                              ; preds = %.lr.ph79, %112
  %.378 = phi i32 [ %103, %.lr.ph79 ], [ %.4, %112 ]
  %.04377 = phi i32 [ 0, %.lr.ph79 ], [ %116, %112 ]
  %.04476 = phi i32 [ 8, %.lr.ph79 ], [ %.145, %112 ]
  %113 = tail call noundef ptr @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %104, i32 noundef %.04377) #6
  %114 = add nsw i32 %.04476, 2
  %115 = add nsw i32 %.378, 2
  tail call void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %113, i32 noundef %114, i32 noundef %115, i32 noundef %111, i32 noundef 18)
  %116 = add nuw nsw i32 %.04377, 1
  %117 = and i32 %116, 7
  %118 = icmp eq i32 %117, 0
  %119 = add nsw i32 %.378, 22
  %120 = add nsw i32 %.04476, %101
  %.145 = select i1 %118, i32 8, i32 %120
  %.4 = select i1 %118, i32 %119, i32 %.378
  %121 = tail call noundef i32 @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %104) #6
  %122 = icmp slt i32 %116, %121
  br i1 %122, label %112, label %.loopexit, !llvm.loop !59

.loopexit:                                        ; preds = %112, %.loopexit71, %.loopexit72
  ret void
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component18proportionOfHeightEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) local_unnamed_addr #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14ColourSelector15SwatchComponentC2ERS0_i(ptr noundef nonnull align 8 dereferenceable(212), ptr noundef nonnull align 8 dereferenceable(376), i32 noundef) unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_14ColourSelector15SwatchComponentENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #3 align 2

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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }

!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}
!53 = !{!54, !54, i64 0}
!54 = !{!"vtable pointer", !13, i64 0}
!55 = !{!6, !16, i64 356}
!56 = distinct !{!56, !57}
!57 = !{!"llvm.loop.mustprogress"}
!58 = distinct !{!58, !57}
!59 = distinct !{!59, !57}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass