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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

; 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 @_ZN4juce10roundToIntIfEEiT_(float noundef) #1

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

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

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

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

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

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

declare void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

declare void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V116drawLinearSliderERNS_8GraphicsEiiiifffNS_6Slider11SliderStyleERS3_(ptr noundef nonnull align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, float noundef %6, float noundef %7, float noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(224) %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca %"class.juce::Colour", align 1
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca %"class.juce::Colour", align 1
  %28 = alloca %"class.juce::Colour", align 1
  %29 = alloca %"class.juce::Colour", align 1
  %30 = alloca %"class.juce::Colour", align 1
  %31 = alloca float, align 4
  %32 = alloca %"class.juce::Colour", align 1
  %33 = alloca %"class.juce::Colour", align 1
  %34 = alloca %"class.juce::Colour", align 1
  %35 = alloca %"class.juce::Colour", align 1
  %36 = alloca %"class.juce::Colour", align 1
  %37 = alloca %"class.juce::Colour", align 1
  %38 = alloca %"class.juce::Colour", align 1
  %39 = alloca %"class.juce::Colour", align 1
  %40 = alloca %"class.juce::Colour", align 1
  %41 = alloca %"class.juce::Colour", align 1
  %42 = alloca %"class.juce::Colour", align 1
  %43 = alloca %"class.juce::Colour", align 1
  %44 = alloca %"class.juce::Colour", align 1
  %45 = alloca %"class.juce::Colour", align 1
  %46 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store i32 %2, ptr %14, align 4, !tbaa !9
  store i32 %3, ptr %15, align 4, !tbaa !9
  store i32 %4, ptr %16, align 4, !tbaa !9
  store i32 %5, ptr %17, align 4, !tbaa !9
  store float %6, ptr %18, align 4, !tbaa !11
  store float %7, ptr %19, align 4, !tbaa !11
  store float %8, ptr %20, align 4, !tbaa !11
  store i32 %9, ptr %21, align 4, !tbaa !13
  store ptr %10, ptr %22, align 8, !tbaa !5
  %47 = load ptr, ptr %12, align 8
  %48 = load ptr, ptr %13, align 8, !tbaa !5
  %49 = load ptr, ptr %22, 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) %49, i32 noundef 16781824, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %48, ptr noundef %23)
          to label %50 unwind label %76

50:                                               ; preds = %11
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  %51 = load i32, ptr %21, align 4, !tbaa !13
  %52 = icmp eq i32 %51, 2
  br i1 %52, label %53, label %88

53:                                               ; preds = %50
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %26, ptr noundef nonnull align 8 dereferenceable(197) %55, i32 noundef 16782080, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %54, ptr noundef %26)
          to label %56 unwind label %80

56:                                               ; preds = %53
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  %58 = load i32, ptr %14, align 4, !tbaa !9
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = load float, ptr %18, align 4, !tbaa !11
  %61 = fptosi float %60 to i32
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = sub nsw i32 %61, %62
  %64 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %57, i32 noundef %58, i32 noundef %59, i32 noundef %63, i32 noundef %64)
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #6
  %66 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %28, ptr noundef nonnull align 8 dereferenceable(197) %66, i32 noundef 16782336, i1 noundef zeroext false)
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %27, ptr noundef nonnull align 1 dereferenceable(4) %28, float noundef 5.000000e-01) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %65, ptr noundef %27)
          to label %67 unwind label %84

67:                                               ; preds = %56
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = load float, ptr %18, align 4, !tbaa !11
  %72 = fptosi float %71 to i32
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = sub nsw i32 %72, %73
  %75 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17) %68, i32 noundef %69, i32 noundef %70, i32 noundef %74, i32 noundef %75, i32 noundef 1)
  br label %404

76:                                               ; preds = %11
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  store ptr %78, ptr %24, align 8
  %79 = extractvalue { ptr, i32 } %77, 1
  store i32 %79, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  br label %405

80:                                               ; preds = %53
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %24, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  br label %405

84:                                               ; preds = %56
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %24, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #6
  br label %405

88:                                               ; preds = %50
  %89 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %90 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %30, ptr noundef nonnull align 8 dereferenceable(197) %90, i32 noundef 16782096, i1 noundef zeroext false)
  %91 = load ptr, ptr %22, align 8, !tbaa !5
  %92 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %91) #6
  %93 = zext i1 %92 to i64
  %94 = select i1 %92, float 1.000000e+00, float 0x3FD3333340000000
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %29, ptr noundef nonnull align 1 dereferenceable(4) %30, float noundef %94) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %89, ptr noundef %29)
          to label %95 unwind label %112

95:                                               ; preds = %88
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  %96 = load ptr, ptr %22, align 8, !tbaa !5
  %97 = call noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224) %96) #6
  br i1 %97, label %98, label %116

98:                                               ; preds = %95
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %17, align 4, !tbaa !9
  %103 = sitofp i32 %102 to float
  %104 = fmul float %103, 0x3FE3333340000000
  %105 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %104) #6
  %106 = add nsw i32 %101, %105
  %107 = load i32, ptr %16, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !9
  %109 = sitofp i32 %108 to float
  %110 = fmul float %109, 0x3FC99999A0000000
  %111 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %110) #6
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %99, i32 noundef %100, i32 noundef %106, i32 noundef %107, i32 noundef %111)
  br label %136

112:                                              ; preds = %88
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %24, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  br label %405

116:                                              ; preds = %95
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = load i32, ptr %14, align 4, !tbaa !9
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = sitofp i32 %119 to float
  %121 = load i32, ptr %16, align 4, !tbaa !9
  %122 = sitofp i32 %121 to float
  %123 = fmul float %122, 0x3FB99999A0000000
  %124 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 3.000000e+00, float noundef %123)
  %125 = fneg float %124
  %126 = call float @llvm.fmuladd.f32(float %120, float 5.000000e-01, float %125)
  %127 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %126) #6
  %128 = add nsw i32 %118, %127
  %129 = load i32, ptr %15, align 4, !tbaa !9
  %130 = load i32, ptr %16, align 4, !tbaa !9
  %131 = sitofp i32 %130 to float
  %132 = fmul float %131, 0x3FC99999A0000000
  %133 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %132) #6
  %134 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef 4, i32 noundef %133)
  %135 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %117, i32 noundef %128, i32 noundef %129, i32 noundef %134, i32 noundef %135)
  br label %136

136:                                              ; preds = %116, %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  store float 0x3FD6666660000000, ptr %31, align 4, !tbaa !11
  %137 = load ptr, ptr %22, align 8, !tbaa !5
  %138 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %137) #6
  br i1 %138, label %139, label %144

139:                                              ; preds = %136
  %140 = load ptr, ptr %22, align 8, !tbaa !5
  %141 = call noundef zeroext i1 @_ZNK4juce9Component21isMouseOverOrDraggingEb(ptr noundef nonnull align 8 dereferenceable(197) %140, i1 noundef zeroext false)
  %142 = zext i1 %141 to i64
  %143 = select i1 %141, float 1.000000e+00, float 0x3FE6666660000000
  store float %143, ptr %31, align 4, !tbaa !11
  br label %144

144:                                              ; preds = %139, %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %145 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %33, ptr noundef nonnull align 8 dereferenceable(197) %145, i32 noundef 16782080, i1 noundef zeroext false)
  %146 = load float, ptr %31, align 4, !tbaa !11
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %32, ptr noundef nonnull align 1 dereferenceable(4) %33, float noundef %146) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  %147 = load ptr, ptr %22, align 8, !tbaa !5
  %148 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %147) #6
  %149 = zext i1 %148 to i64
  %150 = select i1 %148, float 0x3FE6666660000000, float 0x3FD6666660000000
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %34, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef %150) #6
  %151 = load i32, ptr %21, align 4, !tbaa !13
  %152 = icmp eq i32 %151, 10
  br i1 %152, label %156, label %153

153:                                              ; preds = %144
  %154 = load i32, ptr %21, align 4, !tbaa !13
  %155 = icmp eq i32 %154, 12
  br i1 %155, label %156, label %247

156:                                              ; preds = %153, %144
  %157 = load ptr, ptr %13, align 8, !tbaa !5
  %158 = load i32, ptr %14, align 4, !tbaa !9
  %159 = sitofp i32 %158 to float
  %160 = load i32, ptr %16, align 4, !tbaa !9
  %161 = sitofp i32 %160 to float
  %162 = call float @llvm.fmuladd.f32(float %161, float 5.000000e-01, float %159)
  %163 = load i32, ptr %16, align 4, !tbaa !9
  %164 = sitofp i32 %163 to float
  %165 = fmul float %164, 0x3FD3333340000000
  %166 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %165)
          to label %167 unwind label %235

167:                                              ; preds = %156
  %168 = fadd float %162, %166
  %169 = load float, ptr %19, align 4, !tbaa !11
  %170 = load i32, ptr %14, align 4, !tbaa !9
  %171 = sitofp i32 %170 to float
  %172 = load i32, ptr %16, align 4, !tbaa !9
  %173 = sitofp i32 %172 to float
  %174 = call float @llvm.fmuladd.f32(float %173, float 5.000000e-01, float %171)
  %175 = load i32, ptr %16, align 4, !tbaa !9
  %176 = sitofp i32 %175 to float
  %177 = fmul float %176, 0x3FD99999A0000000
  %178 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %177)
          to label %179 unwind label %235

179:                                              ; preds = %167
  %180 = fsub float %174, %178
  %181 = load float, ptr %19, align 4, !tbaa !11
  %182 = fsub float %181, 7.000000e+00
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = sitofp i32 %183 to float
  %185 = load i32, ptr %16, align 4, !tbaa !9
  %186 = sitofp i32 %185 to float
  %187 = call float @llvm.fmuladd.f32(float %186, float 5.000000e-01, float %184)
  %188 = load i32, ptr %16, align 4, !tbaa !9
  %189 = sitofp i32 %188 to float
  %190 = fmul float %189, 0x3FD99999A0000000
  %191 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %190)
          to label %192 unwind label %235

192:                                              ; preds = %179
  %193 = fsub float %187, %191
  %194 = load float, ptr %19, align 4, !tbaa !11
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %35, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %36, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %157, float noundef %168, float noundef %169, float noundef %180, float noundef %182, float noundef %193, float noundef %194, ptr noundef %35, ptr noundef %36)
          to label %195 unwind label %239

195:                                              ; preds = %192
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %36) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %35) #6
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = load i32, ptr %14, align 4, !tbaa !9
  %198 = sitofp i32 %197 to float
  %199 = load i32, ptr %16, align 4, !tbaa !9
  %200 = sitofp i32 %199 to float
  %201 = call float @llvm.fmuladd.f32(float %200, float 5.000000e-01, float %198)
  %202 = load i32, ptr %16, align 4, !tbaa !9
  %203 = sitofp i32 %202 to float
  %204 = fmul float %203, 0x3FD3333340000000
  %205 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %204)
          to label %206 unwind label %235

206:                                              ; preds = %195
  %207 = fadd float %201, %205
  %208 = load float, ptr %20, align 4, !tbaa !11
  %209 = load i32, ptr %14, align 4, !tbaa !9
  %210 = sitofp i32 %209 to float
  %211 = load i32, ptr %16, align 4, !tbaa !9
  %212 = sitofp i32 %211 to float
  %213 = call float @llvm.fmuladd.f32(float %212, float 5.000000e-01, float %210)
  %214 = load i32, ptr %16, align 4, !tbaa !9
  %215 = sitofp i32 %214 to float
  %216 = fmul float %215, 0x3FD99999A0000000
  %217 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %216)
          to label %218 unwind label %235

218:                                              ; preds = %206
  %219 = fsub float %213, %217
  %220 = load float, ptr %20, align 4, !tbaa !11
  %221 = load i32, ptr %14, align 4, !tbaa !9
  %222 = sitofp i32 %221 to float
  %223 = load i32, ptr %16, align 4, !tbaa !9
  %224 = sitofp i32 %223 to float
  %225 = call float @llvm.fmuladd.f32(float %224, float 5.000000e-01, float %222)
  %226 = load i32, ptr %16, align 4, !tbaa !9
  %227 = sitofp i32 %226 to float
  %228 = fmul float %227, 0x3FD99999A0000000
  %229 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %228)
          to label %230 unwind label %235

230:                                              ; preds = %218
  %231 = fsub float %225, %229
  %232 = load float, ptr %20, align 4, !tbaa !11
  %233 = fadd float %232, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %37, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %38, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %196, float noundef %207, float noundef %208, float noundef %219, float noundef %220, float noundef %231, float noundef %233, ptr noundef %37, ptr noundef %38)
          to label %234 unwind label %243

234:                                              ; preds = %230
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %38) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %37) #6
  br label %317

235:                                              ; preds = %379, %367, %356, %280, %253, %218, %206, %195, %179, %167, %156
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %24, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %25, align 4
  br label %403

239:                                              ; preds = %192
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %24, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %36) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %35) #6
  br label %403

243:                                              ; preds = %230
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %24, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %38) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %37) #6
  br label %403

247:                                              ; preds = %153
  %248 = load i32, ptr %21, align 4, !tbaa !13
  %249 = icmp eq i32 %248, 9
  br i1 %249, label %253, label %250

250:                                              ; preds = %247
  %251 = load i32, ptr %21, align 4, !tbaa !13
  %252 = icmp eq i32 %251, 11
  br i1 %252, label %253, label %316

253:                                              ; preds = %250, %247
  %254 = load ptr, ptr %13, align 8, !tbaa !5
  %255 = load float, ptr %19, align 4, !tbaa !11
  %256 = load i32, ptr %15, align 4, !tbaa !9
  %257 = sitofp i32 %256 to float
  %258 = load i32, ptr %17, align 4, !tbaa !9
  %259 = sitofp i32 %258 to float
  %260 = call float @llvm.fmuladd.f32(float %259, float 0x3FE3333340000000, float %257)
  %261 = load i32, ptr %17, align 4, !tbaa !9
  %262 = sitofp i32 %261 to float
  %263 = fmul float %262, 0x3FD3333340000000
  %264 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %263)
          to label %265 unwind label %235

265:                                              ; preds = %253
  %266 = fsub float %260, %264
  %267 = load float, ptr %19, align 4, !tbaa !11
  %268 = fsub float %267, 7.000000e+00
  %269 = load i32, ptr %15, align 4, !tbaa !9
  %270 = sitofp i32 %269 to float
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = sitofp i32 %271 to float
  %273 = call float @llvm.fmuladd.f32(float %272, float 0x3FECCCCCC0000000, float %270)
  %274 = load float, ptr %19, align 4, !tbaa !11
  %275 = load i32, ptr %15, align 4, !tbaa !9
  %276 = sitofp i32 %275 to float
  %277 = load i32, ptr %17, align 4, !tbaa !9
  %278 = sitofp i32 %277 to float
  %279 = call float @llvm.fmuladd.f32(float %278, float 0x3FECCCCCC0000000, float %276)
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %39, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %254, float noundef %255, float noundef %266, float noundef %268, float noundef %273, float noundef %274, float noundef %279, ptr noundef %39, ptr noundef %40)
          to label %280 unwind label %308

280:                                              ; preds = %265
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  %281 = load ptr, ptr %13, align 8, !tbaa !5
  %282 = load float, ptr %20, align 4, !tbaa !11
  %283 = load i32, ptr %15, align 4, !tbaa !9
  %284 = sitofp i32 %283 to float
  %285 = load i32, ptr %17, align 4, !tbaa !9
  %286 = sitofp i32 %285 to float
  %287 = call float @llvm.fmuladd.f32(float %286, float 0x3FE3333340000000, float %284)
  %288 = load i32, ptr %17, align 4, !tbaa !9
  %289 = sitofp i32 %288 to float
  %290 = fmul float %289, 0x3FD3333340000000
  %291 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %290)
          to label %292 unwind label %235

292:                                              ; preds = %280
  %293 = fsub float %287, %291
  %294 = load float, ptr %20, align 4, !tbaa !11
  %295 = load i32, ptr %15, align 4, !tbaa !9
  %296 = sitofp i32 %295 to float
  %297 = load i32, ptr %17, align 4, !tbaa !9
  %298 = sitofp i32 %297 to float
  %299 = call float @llvm.fmuladd.f32(float %298, float 0x3FECCCCCC0000000, float %296)
  %300 = load float, ptr %20, align 4, !tbaa !11
  %301 = fadd float %300, 7.000000e+00
  %302 = load i32, ptr %15, align 4, !tbaa !9
  %303 = sitofp i32 %302 to float
  %304 = load i32, ptr %17, align 4, !tbaa !9
  %305 = sitofp i32 %304 to float
  %306 = call float @llvm.fmuladd.f32(float %305, float 0x3FECCCCCC0000000, float %303)
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %41, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %42, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %281, float noundef %282, float noundef %293, float noundef %294, float noundef %299, float noundef %301, float noundef %306, ptr noundef %41, ptr noundef %42)
          to label %307 unwind label %312

307:                                              ; preds = %292
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  br label %316

308:                                              ; preds = %265
  %309 = landingpad { ptr, i32 }
          cleanup
  %310 = extractvalue { ptr, i32 } %309, 0
  store ptr %310, ptr %24, align 8
  %311 = extractvalue { ptr, i32 } %309, 1
  store i32 %311, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  br label %403

312:                                              ; preds = %292
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %24, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  br label %403

316:                                              ; preds = %307, %250
  br label %317

317:                                              ; preds = %316, %234
  %318 = load i32, ptr %21, align 4, !tbaa !13
  %319 = icmp eq i32 %318, 0
  br i1 %319, label %323, label %320

320:                                              ; preds = %317
  %321 = load i32, ptr %21, align 4, !tbaa !13
  %322 = icmp eq i32 %321, 11
  br i1 %322, label %323, label %350

323:                                              ; preds = %320, %317
  %324 = load ptr, ptr %13, align 8, !tbaa !5
  %325 = load float, ptr %18, align 4, !tbaa !11
  %326 = load i32, ptr %15, align 4, !tbaa !9
  %327 = sitofp i32 %326 to float
  %328 = load i32, ptr %17, align 4, !tbaa !9
  %329 = sitofp i32 %328 to float
  %330 = call float @llvm.fmuladd.f32(float %329, float 0x3FECCCCCC0000000, float %327)
  %331 = load float, ptr %18, align 4, !tbaa !11
  %332 = fsub float %331, 7.000000e+00
  %333 = load i32, ptr %15, align 4, !tbaa !9
  %334 = sitofp i32 %333 to float
  %335 = load i32, ptr %17, align 4, !tbaa !9
  %336 = sitofp i32 %335 to float
  %337 = call float @llvm.fmuladd.f32(float %336, float 0x3FC99999A0000000, float %334)
  %338 = load float, ptr %18, align 4, !tbaa !11
  %339 = fadd float %338, 7.000000e+00
  %340 = load i32, ptr %15, align 4, !tbaa !9
  %341 = sitofp i32 %340 to float
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = sitofp i32 %342 to float
  %344 = call float @llvm.fmuladd.f32(float %343, float 0x3FC99999A0000000, float %341)
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %43, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %44, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %324, float noundef %325, float noundef %330, float noundef %332, float noundef %337, float noundef %339, float noundef %344, ptr noundef %43, ptr noundef %44)
          to label %345 unwind label %346

345:                                              ; preds = %323
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %44) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %43) #6
  br label %402

346:                                              ; preds = %323
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %24, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %44) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %43) #6
  br label %403

350:                                              ; preds = %320
  %351 = load i32, ptr %21, align 4, !tbaa !13
  %352 = icmp eq i32 %351, 1
  br i1 %352, label %356, label %353

353:                                              ; preds = %350
  %354 = load i32, ptr %21, align 4, !tbaa !13
  %355 = icmp eq i32 %354, 12
  br i1 %355, label %356, label %401

356:                                              ; preds = %353, %350
  %357 = load ptr, ptr %13, align 8, !tbaa !5
  %358 = load i32, ptr %14, align 4, !tbaa !9
  %359 = sitofp i32 %358 to float
  %360 = load i32, ptr %16, align 4, !tbaa !9
  %361 = sitofp i32 %360 to float
  %362 = call float @llvm.fmuladd.f32(float %361, float 5.000000e-01, float %359)
  %363 = load i32, ptr %16, align 4, !tbaa !9
  %364 = sitofp i32 %363 to float
  %365 = fmul float %364, 0x3FD3333340000000
  %366 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %365)
          to label %367 unwind label %235

367:                                              ; preds = %356
  %368 = fsub float %362, %366
  %369 = load float, ptr %18, align 4, !tbaa !11
  %370 = load i32, ptr %14, align 4, !tbaa !9
  %371 = sitofp i32 %370 to float
  %372 = load i32, ptr %16, align 4, !tbaa !9
  %373 = sitofp i32 %372 to float
  %374 = call float @llvm.fmuladd.f32(float %373, float 5.000000e-01, float %371)
  %375 = load i32, ptr %16, align 4, !tbaa !9
  %376 = sitofp i32 %375 to float
  %377 = fmul float %376, 0x3FD99999A0000000
  %378 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %377)
          to label %379 unwind label %235

379:                                              ; preds = %367
  %380 = fadd float %374, %378
  %381 = load float, ptr %18, align 4, !tbaa !11
  %382 = fsub float %381, 7.000000e+00
  %383 = load i32, ptr %14, align 4, !tbaa !9
  %384 = sitofp i32 %383 to float
  %385 = load i32, ptr %16, align 4, !tbaa !9
  %386 = sitofp i32 %385 to float
  %387 = call float @llvm.fmuladd.f32(float %386, float 5.000000e-01, float %384)
  %388 = load i32, ptr %16, align 4, !tbaa !9
  %389 = sitofp i32 %388 to float
  %390 = fmul float %389, 0x3FD99999A0000000
  %391 = invoke noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %390)
          to label %392 unwind label %235

392:                                              ; preds = %379
  %393 = fadd float %387, %391
  %394 = load float, ptr %18, align 4, !tbaa !11
  %395 = fadd float %394, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %45, ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %46, ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %357, float noundef %368, float noundef %369, float noundef %380, float noundef %382, float noundef %393, float noundef %395, ptr noundef %45, ptr noundef %46)
          to label %396 unwind label %397

396:                                              ; preds = %392
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %46) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %45) #6
  br label %401

397:                                              ; preds = %392
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %24, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %25, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %46) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %45) #6
  br label %403

401:                                              ; preds = %396, %353
  br label %402

402:                                              ; preds = %401, %345
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %404

403:                                              ; preds = %397, %346, %312, %308, %243, %239, %235
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  br label %405

404:                                              ; preds = %402, %67
  ret void

405:                                              ; preds = %403, %112, %84, %80, %76
  %406 = load ptr, ptr %24, align 8
  %407 = load i32, ptr %25, align 4
  %408 = insertvalue { ptr, i32 } poison, ptr %406, 0
  %409 = insertvalue { ptr, i32 } %408, i32 %407, 1
  resume { ptr, i32 } %409
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, ptr noundef) #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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { 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 }

!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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4juce6Slider11SliderStyleE", !7, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress 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 @_ZN4juce10roundToIntIfEEiT_(float noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef, float noundef) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V116drawLinearSliderERNS_8GraphicsEiiiifffNS_6Slider11SliderStyleERS3_(ptr nocapture noundef nonnull readnone align 8 dereferenceable(328) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, float noundef %6, float noundef %7, float noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(224) %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %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::Colour", align 1
  %20 = alloca %"class.juce::Colour", align 1
  %21 = alloca %"class.juce::Colour", align 1
  %22 = alloca %"class.juce::Colour", align 1
  %23 = alloca %"class.juce::Colour", align 1
  %24 = alloca %"class.juce::Colour", align 1
  %25 = alloca %"class.juce::Colour", align 1
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca %"class.juce::Colour", align 1
  %28 = alloca %"class.juce::Colour", align 1
  %29 = alloca %"class.juce::Colour", align 1
  %30 = alloca %"class.juce::Colour", align 1
  %31 = alloca %"class.juce::Colour", align 1
  %32 = alloca %"class.juce::Colour", align 1
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16781824, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %12)
          to label %33 unwind label %40

33:                                               ; preds = %11
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  %34 = icmp eq i32 %9, 2
  br i1 %34, label %35, label %46

35:                                               ; preds = %33
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16782080, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %13)
          to label %36 unwind label %42

36:                                               ; preds = %35
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  %37 = fptosi float %6 to i32
  %38 = sub nsw i32 %37, %2
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %38, i32 noundef %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %15, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16782336, i1 noundef zeroext false)
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %14, ptr noundef nonnull align 1 dereferenceable(4) %15, float noundef 5.000000e-01) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %14)
          to label %39 unwind label %44

39:                                               ; preds = %36
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %38, i32 noundef %5, i32 noundef 1)
  br label %151

40:                                               ; preds = %11
  %41 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  br label %152

42:                                               ; preds = %35
  %43 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %152

44:                                               ; preds = %36
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  br label %152

46:                                               ; preds = %33
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %17, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16782096, i1 noundef zeroext false)
  %47 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %10) #6
  %48 = select i1 %47, float 1.000000e+00, float 0x3FD3333340000000
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 1 dereferenceable(4) %17, float noundef %48) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %16)
          to label %49 unwind label %58

49:                                               ; preds = %46
  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 @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  %50 = call noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224) %10) #6
  br i1 %50, label %51, label %60

51:                                               ; preds = %49
  %52 = sitofp i32 %5 to float
  %53 = fmul float %52, 0x3FE3333340000000
  %54 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %53) #6
  %55 = add nsw i32 %54, %3
  %56 = fmul float %52, 0x3FC99999A0000000
  %57 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %56) #6
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %55, i32 noundef %4, i32 noundef %57)
  br label %71

58:                                               ; preds = %46
  %59 = landingpad { ptr, i32 }
          cleanup
  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 @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  br label %152

60:                                               ; preds = %49
  %61 = sitofp i32 %4 to float
  %62 = fmul float %61, 0x3FB99999A0000000
  %63 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 3.000000e+00, float noundef %62)
  %64 = fneg float %63
  %65 = call float @llvm.fmuladd.f32(float %61, float 5.000000e-01, float %64)
  %66 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %65) #6
  %67 = add nsw i32 %66, %2
  %68 = fmul float %61, 0x3FC99999A0000000
  %69 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %68) #6
  %70 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef 4, i32 noundef %69)
  call void @_ZNK4juce8Graphics8fillRectEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %67, i32 noundef %3, i32 noundef %70, i32 noundef %5)
  br label %71

71:                                               ; preds = %60, %51
  %72 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %10) #6
  br i1 %72, label %73, label %76

73:                                               ; preds = %71
  %74 = call noundef zeroext i1 @_ZNK4juce9Component21isMouseOverOrDraggingEb(ptr noundef nonnull align 8 dereferenceable(197) %10, i1 noundef zeroext false)
  %75 = select i1 %74, float 1.000000e+00, float 0x3FE6666660000000
  br label %76

76:                                               ; preds = %73, %71
  %.0 = phi float [ %75, %73 ], [ 0x3FD6666660000000, %71 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %19, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16782080, i1 noundef zeroext false)
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %18, ptr noundef nonnull align 1 dereferenceable(4) %19, float noundef %.0) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  %77 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %10) #6
  %78 = select i1 %77, float 0x3FE6666660000000, float 0x3FD6666660000000
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %20, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef %78) #6
  switch i32 %9, label %104 [
    i32 12, label %79
    i32 10, label %79
  ]

79:                                               ; preds = %76, %76
  %80 = sitofp i32 %2 to float
  %81 = sitofp i32 %4 to float
  %82 = call float @llvm.fmuladd.f32(float %81, float 5.000000e-01, float %80)
  %83 = fmul float %81, 0x3FD3333340000000
  %84 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %83)
  %85 = fadd float %82, %84
  %86 = fmul float %81, 0x3FD99999A0000000
  %87 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %86)
  %88 = fsub float %82, %87
  %89 = fadd float %7, -7.000000e+00
  %90 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %86)
  %91 = fsub float %82, %90
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %21, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %85, float noundef %7, float noundef %88, float noundef %89, float noundef %91, float noundef %7, ptr noundef nonnull %21, ptr noundef nonnull %22)
          to label %92 unwind label %100

92:                                               ; preds = %79
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %21) #6
  %93 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %83)
  %94 = fadd float %82, %93
  %95 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %86)
  %96 = fsub float %82, %95
  %97 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %86)
  %98 = fsub float %82, %97
  %99 = fadd float %8, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %24, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %94, float noundef %8, float noundef %96, float noundef %8, float noundef %98, float noundef %99, ptr noundef nonnull %23, ptr noundef nonnull %24)
          to label %.sink.split unwind label %102

100:                                              ; preds = %79
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %150

102:                                              ; preds = %92
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %150

104:                                              ; preds = %76
  %105 = and i32 %9, -3
  %or.cond3 = icmp eq i32 %105, 9
  br i1 %or.cond3, label %106, label %123

106:                                              ; preds = %104
  %107 = sitofp i32 %3 to float
  %108 = sitofp i32 %5 to float
  %109 = call float @llvm.fmuladd.f32(float %108, float 0x3FE3333340000000, float %107)
  %110 = fmul float %108, 0x3FD3333340000000
  %111 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %110)
  %112 = fsub float %109, %111
  %113 = fadd float %7, -7.000000e+00
  %114 = call float @llvm.fmuladd.f32(float %108, float 0x3FECCCCCC0000000, float %107)
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %26, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %7, float noundef %112, float noundef %113, float noundef %114, float noundef %7, float noundef %114, ptr noundef nonnull %25, ptr noundef nonnull %26)
          to label %115 unwind label %119

115:                                              ; preds = %106
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  %116 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %110)
  %117 = fsub float %109, %116
  %118 = fadd float %8, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %27, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %8, float noundef %117, float noundef %8, float noundef %114, float noundef %118, float noundef %114, ptr noundef nonnull %27, ptr noundef nonnull %28)
          to label %.sink.split unwind label %121

119:                                              ; preds = %106
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %150

121:                                              ; preds = %115
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %150

.sink.split:                                      ; preds = %115, %92
  %.sink136 = phi ptr [ %24, %92 ], [ %28, %115 ]
  %.sink = phi ptr [ %23, %92 ], [ %27, %115 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink136) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink) #6
  br label %123

123:                                              ; preds = %.sink.split, %104
  switch i32 %9, label %149 [
    i32 11, label %124
    i32 0, label %124
    i32 12, label %133
    i32 1, label %133
  ]

124:                                              ; preds = %123, %123
  %125 = sitofp i32 %3 to float
  %126 = sitofp i32 %5 to float
  %127 = call float @llvm.fmuladd.f32(float %126, float 0x3FECCCCCC0000000, float %125)
  %128 = fadd float %6, -7.000000e+00
  %129 = call float @llvm.fmuladd.f32(float %126, float 0x3FC99999A0000000, float %125)
  %130 = fadd float %6, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %29, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %30, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %6, float noundef %127, float noundef %128, float noundef %129, float noundef %130, float noundef %129, ptr noundef nonnull %29, ptr noundef nonnull %30)
          to label %.sink.split137 unwind label %131

131:                                              ; preds = %124
  %132 = landingpad { ptr, i32 }
          cleanup
  br label %150

133:                                              ; preds = %123, %123
  %134 = sitofp i32 %2 to float
  %135 = sitofp i32 %4 to float
  %136 = call float @llvm.fmuladd.f32(float %135, float 5.000000e-01, float %134)
  %137 = fmul float %135, 0x3FD3333340000000
  %138 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 4.000000e+00, float noundef %137)
  %139 = fsub float %136, %138
  %140 = fmul float %135, 0x3FD99999A0000000
  %141 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %140)
  %142 = fadd float %136, %141
  %143 = fadd float %6, -7.000000e+00
  %144 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 8.000000e+00, float noundef %140)
  %145 = fadd float %136, %144
  %146 = fadd float %6, 7.000000e+00
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %31, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %32, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  invoke void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %139, float noundef %6, float noundef %142, float noundef %143, float noundef %145, float noundef %146, ptr noundef nonnull %31, ptr noundef nonnull %32)
          to label %.sink.split137 unwind label %147

147:                                              ; preds = %133
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %150

.sink.split137:                                   ; preds = %133, %124
  %.sink139 = phi ptr [ %30, %124 ], [ %32, %133 ]
  %.sink138 = phi ptr [ %29, %124 ], [ %31, %133 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink139) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink138) #6
  br label %149

149:                                              ; preds = %.sink.split137, %123
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br label %151

150:                                              ; preds = %147, %131, %121, %119, %102, %100
  %.sink141 = phi ptr [ %32, %147 ], [ %30, %131 ], [ %28, %121 ], [ %26, %119 ], [ %24, %102 ], [ %22, %100 ]
  %.sink140 = phi ptr [ %31, %147 ], [ %29, %131 ], [ %27, %121 ], [ %25, %119 ], [ %23, %102 ], [ %21, %100 ]
  %.pn = phi { ptr, i32 } [ %148, %147 ], [ %132, %131 ], [ %122, %121 ], [ %120, %119 ], [ %103, %102 ], [ %101, %100 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink141) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink140) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #6
  br label %152

151:                                              ; preds = %149, %39
  ret void

152:                                              ; preds = %150, %58, %44, %42, %40
  %.pn134 = phi { ptr, i32 } [ %45, %44 ], [ %43, %42 ], [ %.pn, %150 ], [ %59, %58 ], [ %41, %40 ]
  resume { ptr, i32 } %.pn134
}

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4juceL12drawTriangleERNS_8GraphicsEffffffNS_6ColourES2_(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

!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)"}


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