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

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

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@_ZN4juce7Colours16transparentBlackE = 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 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) #1

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

declare void @_ZN4juce8Graphics9saveStateEv(ptr noundef nonnull align 8 dereferenceable(17)) #3

declare void @_ZN4juce8Graphics12restoreStateEv(ptr noundef nonnull align 8 dereferenceable(17)) #3

; 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) #4 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce11LookAndFeel17isColourSpecifiedEi(ptr noundef nonnull align 8 dereferenceable(281), i32 noundef) #1 align 2

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

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

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

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

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

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #2

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41)) #3

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

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

declare void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(24)) #3

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

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

; Function Attrs: nounwind
declare void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

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

declare void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V213drawScrollbarERNS_8GraphicsERNS_9ScrollBarEiiiibiibb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(376) %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7, i32 noundef %8, i32 noundef %9, i1 noundef zeroext %10, i1 noundef zeroext %11) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca %"class.juce::Colour", align 1
  %26 = alloca ptr, align 8
  %27 = alloca i32, align 4
  %28 = alloca %"class.juce::Path", align 8
  %29 = alloca %"class.juce::Path", align 8
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca float, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  %37 = alloca float, align 4
  %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::ColourGradient", align 8
  %47 = alloca %"class.juce::Colour", align 1
  %48 = alloca %"class.juce::Colour", align 1
  %49 = alloca %"class.juce::ColourGradient", align 8
  %50 = alloca %"class.juce::Colour", align 1
  %51 = alloca %"class.juce::Colour", align 1
  %52 = alloca %"class.juce::Colour", align 1
  %53 = alloca %"class.juce::ColourGradient", align 8
  %54 = alloca %"class.juce::Colour", align 1
  %55 = alloca %"class.juce::Colour", align 1
  %56 = alloca %"class.juce::Colour", align 1
  %57 = alloca %"class.juce::PathStrokeType", align 4
  %58 = alloca %"class.juce::AffineTransform", align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !5
  store i32 %3, ptr %16, align 4, !tbaa !9
  store i32 %4, ptr %17, align 4, !tbaa !9
  store i32 %5, ptr %18, align 4, !tbaa !9
  store i32 %6, ptr %19, align 4, !tbaa !9
  %59 = zext i1 %7 to i8
  store i8 %59, ptr %20, align 1, !tbaa !11
  store i32 %8, ptr %21, align 4, !tbaa !9
  store i32 %9, ptr %22, align 4, !tbaa !9
  %60 = zext i1 %10 to i8
  store i8 %60, ptr %23, align 1, !tbaa !11
  %61 = zext i1 %11 to i8
  store i8 %61, ptr %24, align 1, !tbaa !11
  %62 = load ptr, ptr %13, align 8
  %63 = load ptr, ptr %14, align 8, !tbaa !5
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %25, ptr noundef nonnull align 8 dereferenceable(197) %64, i32 noundef 16777984, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %63, ptr noundef %25)
          to label %65 unwind label %130

65:                                               ; preds = %12
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %28) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %28)
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #6
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29)
          to label %66 unwind label %134

66:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #6
  %67 = load i32, ptr %18, align 4, !tbaa !9
  %68 = load i32, ptr %19, align 4, !tbaa !9
  %69 = invoke noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %67, i32 noundef %68)
          to label %70 unwind label %138

70:                                               ; preds = %66
  %71 = icmp sgt i32 %69, 15
  %72 = zext i1 %71 to i64
  %73 = select i1 %71, float 1.000000e+00, float 0.000000e+00
  store float %73, ptr %30, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #6
  %74 = load float, ptr %30, align 4, !tbaa !13
  %75 = fmul float %74, 2.000000e+00
  store float %75, ptr %31, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %76 = load float, ptr %30, align 4, !tbaa !13
  %77 = fadd float %76, 1.000000e+00
  store float %77, ptr %32, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %78 = load float, ptr %32, align 4, !tbaa !13
  %79 = fmul float %78, 2.000000e+00
  store float %79, ptr %33, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #6
  store float 0.000000e+00, ptr %34, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #6
  store float 0.000000e+00, ptr %35, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #6
  store float 0.000000e+00, ptr %36, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  store float 0.000000e+00, ptr %37, align 4, !tbaa !13
  %80 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %81 = trunc i8 %80 to i1
  br i1 %81, label %82, label %154

82:                                               ; preds = %70
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = sitofp i32 %83 to float
  %85 = load float, ptr %30, align 4, !tbaa !13
  %86 = fadd float %84, %85
  %87 = load i32, ptr %17, align 4, !tbaa !9
  %88 = sitofp i32 %87 to float
  %89 = load float, ptr %30, align 4, !tbaa !13
  %90 = fadd float %88, %89
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = sitofp i32 %91 to float
  %93 = load float, ptr %31, align 4, !tbaa !13
  %94 = fsub float %92, %93
  %95 = load i32, ptr %19, align 4, !tbaa !9
  %96 = sitofp i32 %95 to float
  %97 = load float, ptr %31, align 4, !tbaa !13
  %98 = fsub float %96, %97
  %99 = load i32, ptr %18, align 4, !tbaa !9
  %100 = sitofp i32 %99 to float
  %101 = load float, ptr %31, align 4, !tbaa !13
  %102 = fsub float %100, %101
  %103 = fmul float %102, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %28, float noundef %86, float noundef %90, float noundef %94, float noundef %98, float noundef %103)
          to label %104 unwind label %142

104:                                              ; preds = %82
  %105 = load i32, ptr %22, align 4, !tbaa !9
  %106 = icmp sgt i32 %105, 0
  br i1 %106, label %107, label %146

107:                                              ; preds = %104
  %108 = load i32, ptr %16, align 4, !tbaa !9
  %109 = sitofp i32 %108 to float
  %110 = load float, ptr %32, align 4, !tbaa !13
  %111 = fadd float %109, %110
  %112 = load i32, ptr %21, align 4, !tbaa !9
  %113 = sitofp i32 %112 to float
  %114 = load float, ptr %32, align 4, !tbaa !13
  %115 = fadd float %113, %114
  %116 = load i32, ptr %18, align 4, !tbaa !9
  %117 = sitofp i32 %116 to float
  %118 = load float, ptr %33, align 4, !tbaa !13
  %119 = fsub float %117, %118
  %120 = load i32, ptr %22, align 4, !tbaa !9
  %121 = sitofp i32 %120 to float
  %122 = load float, ptr %33, align 4, !tbaa !13
  %123 = fsub float %121, %122
  %124 = load i32, ptr %18, align 4, !tbaa !9
  %125 = sitofp i32 %124 to float
  %126 = load float, ptr %33, align 4, !tbaa !13
  %127 = fsub float %125, %126
  %128 = fmul float %127, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %29, float noundef %111, float noundef %115, float noundef %119, float noundef %123, float noundef %128)
          to label %129 unwind label %142

129:                                              ; preds = %107
  br label %146

130:                                              ; preds = %12
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %26, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %27, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  br label %372

134:                                              ; preds = %65
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %26, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %27, align 4
  br label %371

138:                                              ; preds = %66
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %26, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %27, align 4
  br label %370

142:                                              ; preds = %179, %154, %107, %82
  %143 = landingpad { ptr, i32 }
          cleanup
  %144 = extractvalue { ptr, i32 } %143, 0
  store ptr %144, ptr %26, align 8
  %145 = extractvalue { ptr, i32 } %143, 1
  store i32 %145, ptr %27, align 4
  br label %369

146:                                              ; preds = %129, %104
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = sitofp i32 %147 to float
  store float %148, ptr %34, align 4, !tbaa !13
  %149 = load i32, ptr %16, align 4, !tbaa !9
  %150 = sitofp i32 %149 to float
  %151 = load i32, ptr %18, align 4, !tbaa !9
  %152 = sitofp i32 %151 to float
  %153 = call float @llvm.fmuladd.f32(float %152, float 0x3FE6666660000000, float %150)
  store float %153, ptr %36, align 4, !tbaa !13
  br label %210

154:                                              ; preds = %70
  %155 = load i32, ptr %16, align 4, !tbaa !9
  %156 = sitofp i32 %155 to float
  %157 = load float, ptr %30, align 4, !tbaa !13
  %158 = fadd float %156, %157
  %159 = load i32, ptr %17, align 4, !tbaa !9
  %160 = sitofp i32 %159 to float
  %161 = load float, ptr %30, align 4, !tbaa !13
  %162 = fadd float %160, %161
  %163 = load i32, ptr %18, align 4, !tbaa !9
  %164 = sitofp i32 %163 to float
  %165 = load float, ptr %31, align 4, !tbaa !13
  %166 = fsub float %164, %165
  %167 = load i32, ptr %19, align 4, !tbaa !9
  %168 = sitofp i32 %167 to float
  %169 = load float, ptr %31, align 4, !tbaa !13
  %170 = fsub float %168, %169
  %171 = load i32, ptr %19, align 4, !tbaa !9
  %172 = sitofp i32 %171 to float
  %173 = load float, ptr %31, align 4, !tbaa !13
  %174 = fsub float %172, %173
  %175 = fmul float %174, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %28, float noundef %158, float noundef %162, float noundef %166, float noundef %170, float noundef %175)
          to label %176 unwind label %142

176:                                              ; preds = %154
  %177 = load i32, ptr %22, align 4, !tbaa !9
  %178 = icmp sgt i32 %177, 0
  br i1 %178, label %179, label %202

179:                                              ; preds = %176
  %180 = load i32, ptr %21, align 4, !tbaa !9
  %181 = sitofp i32 %180 to float
  %182 = load float, ptr %32, align 4, !tbaa !13
  %183 = fadd float %181, %182
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = sitofp i32 %184 to float
  %186 = load float, ptr %32, align 4, !tbaa !13
  %187 = fadd float %185, %186
  %188 = load i32, ptr %22, align 4, !tbaa !9
  %189 = sitofp i32 %188 to float
  %190 = load float, ptr %33, align 4, !tbaa !13
  %191 = fsub float %189, %190
  %192 = load i32, ptr %19, align 4, !tbaa !9
  %193 = sitofp i32 %192 to float
  %194 = load float, ptr %33, align 4, !tbaa !13
  %195 = fsub float %193, %194
  %196 = load i32, ptr %19, align 4, !tbaa !9
  %197 = sitofp i32 %196 to float
  %198 = load float, ptr %33, align 4, !tbaa !13
  %199 = fsub float %197, %198
  %200 = fmul float %199, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %29, float noundef %183, float noundef %187, float noundef %191, float noundef %195, float noundef %200)
          to label %201 unwind label %142

201:                                              ; preds = %179
  br label %202

202:                                              ; preds = %201, %176
  %203 = load i32, ptr %17, align 4, !tbaa !9
  %204 = sitofp i32 %203 to float
  store float %204, ptr %35, align 4, !tbaa !13
  %205 = load i32, ptr %17, align 4, !tbaa !9
  %206 = sitofp i32 %205 to float
  %207 = load i32, ptr %19, align 4, !tbaa !9
  %208 = sitofp i32 %207 to float
  %209 = call float @llvm.fmuladd.f32(float %208, float 0x3FE6666660000000, float %206)
  store float %209, ptr %37, align 4, !tbaa !13
  br label %210

210:                                              ; preds = %202, %146
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %211 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %38, ptr noundef nonnull align 8 dereferenceable(197) %211, i32 noundef 16778240, i1 noundef zeroext false)
          to label %212 unwind label %223

212:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #6
  call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #6
  call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  %213 = load ptr, ptr %15, align 8, !tbaa !5
  %214 = invoke noundef zeroext i1 @_ZNK4juce9Component17isColourSpecifiedEi(ptr noundef nonnull align 8 dereferenceable(197) %213, i32 noundef 16778241)
          to label %215 unwind label %227

215:                                              ; preds = %212
  br i1 %214, label %218, label %216

216:                                              ; preds = %215
  %217 = call noundef zeroext i1 @_ZNK4juce11LookAndFeel17isColourSpecifiedEi(ptr noundef nonnull align 8 dereferenceable(281) %62, i32 noundef 16778241) #6
  br i1 %217, label %218, label %235

218:                                              ; preds = %216, %215
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #6
  %219 = load ptr, ptr %15, align 8, !tbaa !5
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %41, ptr noundef nonnull align 8 dereferenceable(197) %219, i32 noundef 16778241, i1 noundef zeroext false)
          to label %220 unwind label %231

220:                                              ; preds = %218
  %221 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  %222 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %39, ptr noundef nonnull align 1 dereferenceable(4) %221) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  br label %238

223:                                              ; preds = %210
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %26, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %27, align 4
  br label %368

227:                                              ; preds = %352, %350, %339, %306, %301, %292, %288, %245, %212
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %26, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %27, align 4
  br label %367

231:                                              ; preds = %218
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %26, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #6
  br label %367

235:                                              ; preds = %216
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %43, i32 noundef 1140850688) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %42, ptr noundef nonnull align 1 dereferenceable(4) %38, ptr noundef %43) #6
  %236 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %39, ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %43) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %45, i32 noundef 419430400) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %44, ptr noundef nonnull align 1 dereferenceable(4) %38, ptr noundef %45) #6
  %237 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(4) %44) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %44) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %45) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #6
  br label %238

238:                                              ; preds = %235, %220
  %239 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %46) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %47, ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  %240 = load float, ptr %34, align 4, !tbaa !13
  %241 = load float, ptr %35, align 4, !tbaa !13
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %48, ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  %242 = load float, ptr %36, align 4, !tbaa !13
  %243 = load float, ptr %37, align 4, !tbaa !13
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %46, ptr noundef %47, float noundef %240, float noundef %241, ptr noundef %48, float noundef %242, float noundef %243, i1 noundef zeroext false)
          to label %244 unwind label %261

244:                                              ; preds = %238
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %239, ptr noundef nonnull align 8 dereferenceable(48) %46)
          to label %245 unwind label %265

245:                                              ; preds = %244
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %48) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %47) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #6
  %246 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %246, ptr noundef nonnull align 8 dereferenceable(41) %28)
          to label %247 unwind label %227

247:                                              ; preds = %245
  %248 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %249 = trunc i8 %248 to i1
  br i1 %249, label %250, label %270

250:                                              ; preds = %247
  %251 = load i32, ptr %16, align 4, !tbaa !9
  %252 = sitofp i32 %251 to float
  %253 = load i32, ptr %18, align 4, !tbaa !9
  %254 = sitofp i32 %253 to float
  %255 = call float @llvm.fmuladd.f32(float %254, float 0x3FE3333340000000, float %252)
  store float %255, ptr %34, align 4, !tbaa !13
  %256 = load i32, ptr %16, align 4, !tbaa !9
  %257 = sitofp i32 %256 to float
  %258 = load i32, ptr %18, align 4, !tbaa !9
  %259 = sitofp i32 %258 to float
  %260 = fadd float %257, %259
  store float %260, ptr %36, align 4, !tbaa !13
  br label %281

261:                                              ; preds = %238
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %26, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %27, align 4
  br label %269

265:                                              ; preds = %244
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %26, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %27, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %46) #6
  br label %269

269:                                              ; preds = %265, %261
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %48) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %47) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %46) #6
  br label %367

270:                                              ; preds = %247
  %271 = load i32, ptr %17, align 4, !tbaa !9
  %272 = sitofp i32 %271 to float
  %273 = load i32, ptr %19, align 4, !tbaa !9
  %274 = sitofp i32 %273 to float
  %275 = call float @llvm.fmuladd.f32(float %274, float 0x3FE3333340000000, float %272)
  store float %275, ptr %35, align 4, !tbaa !13
  %276 = load i32, ptr %17, align 4, !tbaa !9
  %277 = sitofp i32 %276 to float
  %278 = load i32, ptr %19, align 4, !tbaa !9
  %279 = sitofp i32 %278 to float
  %280 = fadd float %277, %279
  store float %280, ptr %37, align 4, !tbaa !13
  br label %281

281:                                              ; preds = %270, %250
  %282 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %49) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %50, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #6
  %283 = load float, ptr %34, align 4, !tbaa !13
  %284 = load float, ptr %35, align 4, !tbaa !13
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %51, i32 noundef 419430400) #6
  %285 = load float, ptr %36, align 4, !tbaa !13
  %286 = load float, ptr %37, align 4, !tbaa !13
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %49, ptr noundef %50, float noundef %283, float noundef %284, ptr noundef %51, float noundef %285, float noundef %286, i1 noundef zeroext false)
          to label %287 unwind label %317

287:                                              ; preds = %281
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %282, ptr noundef nonnull align 8 dereferenceable(48) %49)
          to label %288 unwind label %321

288:                                              ; preds = %287
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %51) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %50) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #6
  %289 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %289, ptr noundef nonnull align 8 dereferenceable(41) %28)
          to label %290 unwind label %227

290:                                              ; preds = %288
  %291 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %52, ptr noundef nonnull align 1 dereferenceable(4) %38) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %291, ptr noundef %52)
          to label %292 unwind label %326

292:                                              ; preds = %290
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %52) #6
  %293 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %293, ptr noundef nonnull align 8 dereferenceable(41) %29)
          to label %294 unwind label %227

294:                                              ; preds = %292
  %295 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %53) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %54, i32 noundef 268435456) #6
  %296 = load float, ptr %34, align 4, !tbaa !13
  %297 = load float, ptr %35, align 4, !tbaa !13
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %55, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #6
  %298 = load float, ptr %36, align 4, !tbaa !13
  %299 = load float, ptr %37, align 4, !tbaa !13
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %53, ptr noundef %54, float noundef %296, float noundef %297, ptr noundef %55, float noundef %298, float noundef %299, i1 noundef zeroext false)
          to label %300 unwind label %330

300:                                              ; preds = %294
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %295, ptr noundef nonnull align 8 dereferenceable(48) %53)
          to label %301 unwind label %334

301:                                              ; preds = %300
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %55) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %54) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #6
  %302 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN4juce8Graphics9saveStateEv(ptr noundef nonnull align 8 dereferenceable(17) %302)
          to label %303 unwind label %227

303:                                              ; preds = %301
  %304 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %305 = trunc i8 %304 to i1
  br i1 %305, label %306, label %339

306:                                              ; preds = %303
  %307 = load ptr, ptr %14, align 8, !tbaa !5
  %308 = load i32, ptr %16, align 4, !tbaa !9
  %309 = load i32, ptr %18, align 4, !tbaa !9
  %310 = sdiv i32 %309, 2
  %311 = add nsw i32 %308, %310
  %312 = load i32, ptr %17, align 4, !tbaa !9
  %313 = load i32, ptr %18, align 4, !tbaa !9
  %314 = load i32, ptr %19, align 4, !tbaa !9
  %315 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %307, i32 noundef %311, i32 noundef %312, i32 noundef %313, i32 noundef %314)
          to label %316 unwind label %227

316:                                              ; preds = %306
  br label %350

317:                                              ; preds = %281
  %318 = landingpad { ptr, i32 }
          cleanup
  %319 = extractvalue { ptr, i32 } %318, 0
  store ptr %319, ptr %26, align 8
  %320 = extractvalue { ptr, i32 } %318, 1
  store i32 %320, ptr %27, align 4
  br label %325

321:                                              ; preds = %287
  %322 = landingpad { ptr, i32 }
          cleanup
  %323 = extractvalue { ptr, i32 } %322, 0
  store ptr %323, ptr %26, align 8
  %324 = extractvalue { ptr, i32 } %322, 1
  store i32 %324, ptr %27, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %49) #6
  br label %325

325:                                              ; preds = %321, %317
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %51) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %50) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %49) #6
  br label %367

326:                                              ; preds = %290
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %26, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %27, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %52) #6
  br label %367

330:                                              ; preds = %294
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %26, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %27, align 4
  br label %338

334:                                              ; preds = %300
  %335 = landingpad { ptr, i32 }
          cleanup
  %336 = extractvalue { ptr, i32 } %335, 0
  store ptr %336, ptr %26, align 8
  %337 = extractvalue { ptr, i32 } %335, 1
  store i32 %337, ptr %27, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %53) #6
  br label %338

338:                                              ; preds = %334, %330
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %55) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %54) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %53) #6
  br label %367

339:                                              ; preds = %303
  %340 = load ptr, ptr %14, align 8, !tbaa !5
  %341 = load i32, ptr %16, align 4, !tbaa !9
  %342 = load i32, ptr %17, align 4, !tbaa !9
  %343 = load i32, ptr %19, align 4, !tbaa !9
  %344 = sdiv i32 %343, 2
  %345 = add nsw i32 %342, %344
  %346 = load i32, ptr %18, align 4, !tbaa !9
  %347 = load i32, ptr %19, align 4, !tbaa !9
  %348 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %340, i32 noundef %341, i32 noundef %345, i32 noundef %346, i32 noundef %347)
          to label %349 unwind label %227

349:                                              ; preds = %339
  br label %350

350:                                              ; preds = %349, %316
  %351 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %351, ptr noundef nonnull align 8 dereferenceable(41) %29)
          to label %352 unwind label %227

352:                                              ; preds = %350
  %353 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN4juce8Graphics12restoreStateEv(ptr noundef nonnull align 8 dereferenceable(17) %353)
          to label %354 unwind label %227

354:                                              ; preds = %352
  %355 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %56, i32 noundef 1275068416) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %355, ptr noundef %56)
          to label %356 unwind label %359

356:                                              ; preds = %354
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %56) #6
  %357 = load ptr, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %57) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %57, float noundef 0x3FD99999A0000000) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %58) #6
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %58) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %357, ptr noundef nonnull align 8 dereferenceable(41) %29, ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(24) %58)
          to label %358 unwind label %363

358:                                              ; preds = %356
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %57) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  ret void

359:                                              ; preds = %354
  %360 = landingpad { ptr, i32 }
          cleanup
  %361 = extractvalue { ptr, i32 } %360, 0
  store ptr %361, ptr %26, align 8
  %362 = extractvalue { ptr, i32 } %360, 1
  store i32 %362, ptr %27, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %56) #6
  br label %367

363:                                              ; preds = %356
  %364 = landingpad { ptr, i32 }
          cleanup
  %365 = extractvalue { ptr, i32 } %364, 0
  store ptr %365, ptr %26, align 8
  %366 = extractvalue { ptr, i32 } %364, 1
  store i32 %366, ptr %27, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %58) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %57) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %57) #6
  br label %367

367:                                              ; preds = %363, %359, %338, %326, %325, %269, %231, %227
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %39) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %38) #6
  br label %368

368:                                              ; preds = %367, %223
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  br label %369

369:                                              ; preds = %368, %142
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #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 %370

370:                                              ; preds = %369, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29) #6
  br label %371

371:                                              ; preds = %370, %134
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %28) #6
  br label %372

372:                                              ; preds = %371, %130
  %373 = load ptr, ptr %26, align 8
  %374 = load i32, ptr %27, align 4
  %375 = insertvalue { ptr, i32 } poison, ptr %373, 0
  %376 = insertvalue { ptr, i32 } %375, i32 %374, 1
  resume { ptr, i32 } %376
}

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

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) #3

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}


; 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 }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@_ZN4juce7Colours16transparentBlackE = 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 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #1

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

declare void @_ZN4juce8Graphics9saveStateEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3

declare void @_ZN4juce8Graphics12restoreStateEv(ptr noundef nonnull align 8 dereferenceable(17)) local_unnamed_addr #3

; 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 #4 align 2

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

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

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

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

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

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

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

declare void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41)) unnamed_addr #2

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #3

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

; Function Attrs: nounwind
declare noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4), ptr noundef nonnull align 1 dereferenceable(4)) local_unnamed_addr #2

declare void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #3

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

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

; Function Attrs: nounwind
declare void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #2

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

declare void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V213drawScrollbarERNS_8GraphicsERNS_9ScrollBarEiiiibiibb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(376) %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i1 noundef zeroext %7, i32 noundef %8, i32 noundef %9, i1 noundef zeroext %10, i1 noundef zeroext %11) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Path", align 8
  %15 = alloca %"class.juce::Path", align 8
  %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::ColourGradient", align 8
  %25 = alloca %"class.juce::Colour", align 1
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca %"class.juce::ColourGradient", align 8
  %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::ColourGradient", align 8
  %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::PathStrokeType", align 4
  %36 = alloca %"class.juce::AffineTransform", align 4
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16777984, i1 noundef zeroext false)
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %13)
          to label %37 unwind label %65

37:                                               ; preds = %12
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %14)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #6
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15)
          to label %38 unwind label %67

38:                                               ; preds = %37
  %39 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %5, i32 noundef %6)
  %40 = icmp sgt i32 %39, 15
  %41 = select i1 %40, float 1.000000e+00, float 0.000000e+00
  %42 = fmul float %41, 2.000000e+00
  %43 = fadd float %41, 1.000000e+00
  %44 = fmul float %43, 2.000000e+00
  %45 = sitofp i32 %3 to float
  %46 = fadd float %41, %45
  %47 = sitofp i32 %4 to float
  %48 = fadd float %41, %47
  %49 = sitofp i32 %5 to float
  %50 = fsub float %49, %42
  %51 = sitofp i32 %6 to float
  %52 = fsub float %51, %42
  br i1 %7, label %53, label %73

53:                                               ; preds = %38
  %54 = fmul float %50, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %14, float noundef %46, float noundef %48, float noundef %50, float noundef %52, float noundef %54)
          to label %55 unwind label %69

55:                                               ; preds = %53
  %56 = icmp sgt i32 %9, 0
  br i1 %56, label %57, label %71

57:                                               ; preds = %55
  %58 = fadd float %43, %45
  %59 = sitofp i32 %8 to float
  %60 = fadd float %43, %59
  %61 = fsub float %49, %44
  %62 = uitofp nneg i32 %9 to float
  %63 = fsub float %62, %44
  %64 = fmul float %61, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %15, float noundef %58, float noundef %60, float noundef %61, float noundef %63, float noundef %64)
          to label %71 unwind label %69

65:                                               ; preds = %12
  %66 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %168

67:                                               ; preds = %37
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %167

69:                                               ; preds = %77, %73, %57, %53
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %166

71:                                               ; preds = %57, %55
  %72 = call float @llvm.fmuladd.f32(float %49, float 0x3FE6666660000000, float %45)
  br label %87

73:                                               ; preds = %38
  %74 = fmul float %52, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %14, float noundef %46, float noundef %48, float noundef %50, float noundef %52, float noundef %74)
          to label %75 unwind label %69

75:                                               ; preds = %73
  %76 = icmp sgt i32 %9, 0
  br i1 %76, label %77, label %85

77:                                               ; preds = %75
  %78 = sitofp i32 %8 to float
  %79 = fadd float %43, %78
  %80 = fadd float %43, %47
  %81 = uitofp nneg i32 %9 to float
  %82 = fsub float %81, %44
  %83 = fsub float %51, %44
  %84 = fmul float %83, 5.000000e-01
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %15, float noundef %79, float noundef %80, float noundef %82, float noundef %83, float noundef %84)
          to label %85 unwind label %69

85:                                               ; preds = %77, %75
  %86 = call float @llvm.fmuladd.f32(float %51, float 0x3FE6666660000000, float %47)
  br label %87

87:                                               ; preds = %85, %71
  %.0111 = phi float [ %45, %71 ], [ 0.000000e+00, %85 ]
  %.0109 = phi float [ 0.000000e+00, %71 ], [ %47, %85 ]
  %.0107 = phi float [ %72, %71 ], [ 0.000000e+00, %85 ]
  %.0 = phi float [ 0.000000e+00, %71 ], [ %86, %85 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %16) #6
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16778240, i1 noundef zeroext false)
          to label %88 unwind label %97

88:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #6
  call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #6
  call void @_ZN4juce6ColourC1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  %89 = invoke noundef zeroext i1 @_ZNK4juce9Component17isColourSpecifiedEi(ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16778241)
          to label %90 unwind label %99

90:                                               ; preds = %88
  br i1 %89, label %93, label %91

91:                                               ; preds = %90
  %92 = call noundef zeroext i1 @_ZNK4juce11LookAndFeel17isColourSpecifiedEi(ptr noundef nonnull align 8 dereferenceable(281) %0, i32 noundef 16778241) #6
  br i1 %92, label %93, label %103

93:                                               ; preds = %91, %90
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %19) #6
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %19, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16778241, i1 noundef zeroext false)
          to label %94 unwind label %101

94:                                               ; preds = %93
  %95 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  %96 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(4) %95) #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
  br label %106

97:                                               ; preds = %87
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %165

99:                                               ; preds = %.invoke, %156, %155, %132, %129, %127, %108, %88
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %164

101:                                              ; preds = %93
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %19) #6
  br label %164

103:                                              ; preds = %91
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %21, i32 noundef 1140850688) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %20, ptr noundef nonnull align 1 dereferenceable(4) %16, ptr noundef nonnull %21) #6
  %104 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %21) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %23, i32 noundef 419430400) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %22, ptr noundef nonnull align 1 dereferenceable(4) %16, ptr noundef nonnull %23) #6
  %105 = call noundef nonnull align 1 dereferenceable(4) ptr @_ZN4juce6ColouraSERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %18, ptr noundef nonnull align 1 dereferenceable(4) %22) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #6
  br label %106

106:                                              ; preds = %103, %94
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %24) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %25, ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %26, ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %24, ptr noundef nonnull %25, float noundef %.0111, float noundef %.0109, ptr noundef nonnull %26, float noundef %.0107, float noundef %.0, i1 noundef zeroext false)
          to label %107 unwind label %115

107:                                              ; preds = %106
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %24)
          to label %108 unwind label %117

108:                                              ; preds = %107
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %14)
          to label %109 unwind label %99

109:                                              ; preds = %108
  br i1 %7, label %110, label %120

110:                                              ; preds = %109
  %111 = sitofp i32 %3 to float
  %112 = sitofp i32 %5 to float
  %113 = call float @llvm.fmuladd.f32(float %112, float 0x3FE3333340000000, float %111)
  %114 = fadd float %111, %112
  br label %125

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

117:                                              ; preds = %107
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %24) #6
  br label %119

119:                                              ; preds = %117, %115
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %24) #6
  br label %164

120:                                              ; preds = %109
  %121 = sitofp i32 %4 to float
  %122 = sitofp i32 %6 to float
  %123 = call float @llvm.fmuladd.f32(float %122, float 0x3FE3333340000000, float %121)
  %124 = fadd float %121, %122
  br label %125

125:                                              ; preds = %120, %110
  %.1112 = phi float [ %113, %110 ], [ %.0111, %120 ]
  %.1110 = phi float [ %.0109, %110 ], [ %123, %120 ]
  %.1108 = phi float [ %114, %110 ], [ %.0107, %120 ]
  %.1 = phi float [ %.0, %110 ], [ %124, %120 ]
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %27) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %29, i32 noundef 419430400) #6
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef nonnull %28, float noundef %.1112, float noundef %.1110, ptr noundef nonnull %29, float noundef %.1108, float noundef %.1, i1 noundef zeroext false)
          to label %126 unwind label %137

126:                                              ; preds = %125
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %127 unwind label %139

127:                                              ; preds = %126
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %14)
          to label %128 unwind label %99

128:                                              ; preds = %127
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %30, ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %30)
          to label %129 unwind label %142

129:                                              ; preds = %128
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %15)
          to label %130 unwind label %99

130:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %31) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %32, i32 noundef 268435456) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %33, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours16transparentBlackE) #6
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef nonnull %32, float noundef %.1112, float noundef %.1110, ptr noundef nonnull %33, float noundef %.1108, float noundef %.1, i1 noundef zeroext false)
          to label %131 unwind label %144

131:                                              ; preds = %130
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %132 unwind label %146

132:                                              ; preds = %131
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %33) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #6
  invoke void @_ZN4juce8Graphics9saveStateEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %133 unwind label %99

133:                                              ; preds = %132
  br i1 %7, label %134, label %149

134:                                              ; preds = %133
  %135 = sdiv i32 %5, 2
  %136 = add nsw i32 %135, %3
  br label %.invoke

137:                                              ; preds = %125
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %126
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #6
  br label %141

141:                                              ; preds = %139, %137
  %.pn126 = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %27) #6
  br label %164

142:                                              ; preds = %128
  %143 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  br label %164

144:                                              ; preds = %130
  %145 = landingpad { ptr, i32 }
          cleanup
  br label %148

146:                                              ; preds = %131
  %147 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #6
  br label %148

148:                                              ; preds = %146, %144
  %.pn128 = phi { ptr, i32 } [ %147, %146 ], [ %145, %144 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %33) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %31) #6
  br label %164

149:                                              ; preds = %133
  %150 = sdiv i32 %6, 2
  %151 = add nsw i32 %150, %4
  br label %.invoke

.invoke:                                          ; preds = %134, %149
  %152 = phi i32 [ %3, %149 ], [ %136, %134 ]
  %153 = phi i32 [ %151, %149 ], [ %4, %134 ]
  %154 = invoke noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %152, i32 noundef %153, i32 noundef %5, i32 noundef %6)
          to label %155 unwind label %99

155:                                              ; preds = %.invoke
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %15)
          to label %156 unwind label %99

156:                                              ; preds = %155
  invoke void @_ZN4juce8Graphics12restoreStateEv(ptr noundef nonnull align 8 dereferenceable(17) %1)
          to label %157 unwind label %99

157:                                              ; preds = %156
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %34, i32 noundef 1275068416) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %34)
          to label %158 unwind label %160

158:                                              ; preds = %157
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %35) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %35, float noundef 0x3FD99999A0000000) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %36) #6
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %36) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %15, ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(24) %36)
          to label %159 unwind label %162

159:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #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
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  ret void

160:                                              ; preds = %157
  %161 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #6
  br label %164

162:                                              ; preds = %158
  %163 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %36) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %35) #6
  br label %164

164:                                              ; preds = %162, %160, %148, %142, %141, %119, %101, %99
  %.pn130 = phi { ptr, i32 } [ %163, %162 ], [ %161, %160 ], [ %100, %99 ], [ %.pn128, %148 ], [ %143, %142 ], [ %.pn126, %141 ], [ %.pn, %119 ], [ %102, %101 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #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
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  br label %165

165:                                              ; preds = %164, %97
  %.pn130.pn = phi { ptr, i32 } [ %.pn130, %164 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %16) #6
  br label %166

166:                                              ; preds = %165, %69
  %.pn130.pn.pn = phi { ptr, i32 } [ %.pn130.pn, %165 ], [ %70, %69 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #6
  br label %167

167:                                              ; preds = %166, %67
  %.pn130.pn.pn.pn = phi { ptr, i32 } [ %.pn130.pn.pn, %166 ], [ %68, %67 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %14) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  br label %168

168:                                              ; preds = %167, %65
  %.pn130.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn130.pn.pn.pn, %167 ], [ %66, %65 ]
  resume { ptr, i32 } %.pn130.pn.pn.pn.pn
}

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

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #3

declare noundef zeroext i1 @_ZN4juce8Graphics16reduceClipRegionEiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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