; 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::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::Graphics" = type <{ ptr, %"class.juce::ScopedPointer.71", i8, [7 x i8] }>
%"class.juce::ScopedPointer.71" = type { ptr }
%"class.juce::Justification" = type { i32 }

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

declare void @_ZN4juce5ImageC1ENS0_11PixelFormatEiib(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #1

declare void @_ZN4juce8GraphicsC1ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

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

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

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

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

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

; 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 #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) #6 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4juce6jlimitIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef, ptr noundef nonnull align 1 dereferenceable(4), float noundef, float noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V215drawProgressBarERNS_8GraphicsERNS_11ProgressBarEiidRKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(292) %2, i32 noundef %3, i32 noundef %4, double noundef %5, ptr noundef nonnull align 8 dereferenceable(8) %6) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca ptr, align 8
  %15 = alloca %"class.juce::Colour", align 1
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.juce::Colour", align 1
  %20 = alloca %"class.juce::Colour", align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %"class.juce::Path", align 8
  %24 = alloca float, align 4
  %25 = alloca %"class.juce::Image", align 8
  %26 = alloca %"class.juce::Graphics", align 8
  %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::Justification", align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !5
  store i32 %3, ptr %11, align 4, !tbaa !9
  store i32 %4, ptr %12, align 4, !tbaa !9
  store double %5, ptr %13, align 8, !tbaa !11
  store ptr %6, ptr %14, align 8, !tbaa !5
  %31 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %15, ptr noundef nonnull align 8 dereferenceable(197) %32, i32 noundef 16783616, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 8 dereferenceable(197) %33, i32 noundef 16783872, i1 noundef zeroext false)
          to label %34 unwind label %57

34:                                               ; preds = %7
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %19, ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %35, ptr noundef %19)
          to label %36 unwind label %61

36:                                               ; preds = %34
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #7
  %37 = load double, ptr %13, align 8, !tbaa !11
  %38 = fcmp oge double %37, 0.000000e+00
  br i1 %38, label %39, label %65

39:                                               ; preds = %36
  %40 = load double, ptr %13, align 8, !tbaa !11
  %41 = fcmp olt double %40, 1.000000e+00
  br i1 %41, label %42, label %65

42:                                               ; preds = %39
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load i32, ptr %11, align 4, !tbaa !9
  %45 = sitofp i32 %44 to double
  %46 = fsub double %45, 2.000000e+00
  %47 = load double, ptr %13, align 8, !tbaa !11
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = sitofp i32 %48 to double
  %50 = fsub double %49, 2.000000e+00
  %51 = fmul double %47, %50
  %52 = call noundef double @_ZN4juce6jlimitIdEET_S1_S1_S1_(double noundef 0.000000e+00, double noundef %46, double noundef %51) #7
  %53 = fptrunc double %52 to float
  %54 = load i32, ptr %12, align 4, !tbaa !9
  %55 = sub nsw i32 %54, 2
  %56 = sitofp i32 %55 to float
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %43, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %53, float noundef %56, ptr noundef nonnull align 1 dereferenceable(4) %16, float noundef 5.000000e-01, float noundef 0.000000e+00, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true) #7
  br label %151

57:                                               ; preds = %7
  %58 = landingpad { ptr, i32 }
          cleanup
  %59 = extractvalue { ptr, i32 } %58, 0
  store ptr %59, ptr %17, align 8
  %60 = extractvalue { ptr, i32 } %58, 1
  store i32 %60, ptr %18, align 4
  br label %177

61:                                               ; preds = %34
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %17, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %18, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #7
  br label %176

65:                                               ; preds = %39, %36
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %66, ptr noundef %20)
          to label %67 unwind label %86

67:                                               ; preds = %65
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = mul nsw i32 %68, 2
  store i32 %69, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  %70 = call noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #7
  %71 = udiv i32 %70, 15
  %72 = load i32, ptr %21, align 4, !tbaa !9
  %73 = srem i32 %71, %72
  store i32 %73, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #7
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %23)
          to label %74 unwind label %90

74:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  %75 = load i32, ptr %22, align 4, !tbaa !9
  %76 = sub nsw i32 0, %75
  %77 = sitofp i32 %76 to float
  store float %77, ptr %24, align 4, !tbaa !13
  br label %78

78:                                               ; preds = %111, %74
  %79 = load float, ptr %24, align 4, !tbaa !13
  %80 = load i32, ptr %11, align 4, !tbaa !9
  %81 = load i32, ptr %21, align 4, !tbaa !9
  %82 = add nsw i32 %80, %81
  %83 = sitofp i32 %82 to float
  %84 = fcmp olt float %79, %83
  br i1 %84, label %94, label %85

85:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %120

86:                                               ; preds = %65
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %17, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %18, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #7
  br label %176

90:                                               ; preds = %67
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %17, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %18, align 4
  br label %150

94:                                               ; preds = %78
  %95 = load float, ptr %24, align 4, !tbaa !13
  %96 = load float, ptr %24, align 4, !tbaa !13
  %97 = load i32, ptr %21, align 4, !tbaa !9
  %98 = sitofp i32 %97 to float
  %99 = call float @llvm.fmuladd.f32(float %98, float 5.000000e-01, float %96)
  %100 = load float, ptr %24, align 4, !tbaa !13
  %101 = load i32, ptr %12, align 4, !tbaa !9
  %102 = sitofp i32 %101 to float
  %103 = load float, ptr %24, align 4, !tbaa !13
  %104 = load i32, ptr %21, align 4, !tbaa !9
  %105 = sitofp i32 %104 to float
  %106 = fneg float %105
  %107 = call float @llvm.fmuladd.f32(float %106, float 5.000000e-01, float %103)
  %108 = load i32, ptr %12, align 4, !tbaa !9
  %109 = sitofp i32 %108 to float
  invoke void @_ZN4juce4Path16addQuadrilateralEffffffff(ptr noundef nonnull align 8 dereferenceable(41) %23, float noundef %95, float noundef 0.000000e+00, float noundef %99, float noundef 0.000000e+00, float noundef %100, float noundef %102, float noundef %107, float noundef %109)
          to label %110 unwind label %116

110:                                              ; preds = %94
  br label %111

111:                                              ; preds = %110
  %112 = load i32, ptr %21, align 4, !tbaa !9
  %113 = sitofp i32 %112 to float
  %114 = load float, ptr %24, align 4, !tbaa !13
  %115 = fadd float %114, %113
  store float %115, ptr %24, align 4, !tbaa !13
  br label %78, !llvm.loop !15

116:                                              ; preds = %94
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %17, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %149

120:                                              ; preds = %85
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  %121 = load i32, ptr %11, align 4, !tbaa !9
  %122 = load i32, ptr %12, align 4, !tbaa !9
  invoke void @_ZN4juce5ImageC1ENS0_11PixelFormatEiib(ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 2, i32 noundef %121, i32 noundef %122, i1 noundef zeroext true)
          to label %123 unwind label %135

123:                                              ; preds = %120
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  invoke void @_ZN4juce8GraphicsC1ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(17) %26, ptr noundef nonnull align 8 dereferenceable(8) %25)
          to label %124 unwind label %139

124:                                              ; preds = %123
  %125 = load i32, ptr %11, align 4, !tbaa !9
  %126 = sub nsw i32 %125, 2
  %127 = sitofp i32 %126 to float
  %128 = load i32, ptr %12, align 4, !tbaa !9
  %129 = sub nsw i32 %128, 2
  %130 = sitofp i32 %129 to float
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %26, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %127, float noundef %130, ptr noundef nonnull align 1 dereferenceable(4) %16, float noundef 5.000000e-01, float noundef 0.000000e+00, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true) #7
  call void @_ZN4juce8GraphicsD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  %131 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN4juce8Graphics17setTiledImageFillERKNS_5ImageEiif(ptr noundef nonnull align 8 dereferenceable(17) %131, ptr noundef nonnull align 8 dereferenceable(8) %25, i32 noundef 0, i32 noundef 0, float noundef 0x3FEB333340000000)
          to label %132 unwind label %143

132:                                              ; preds = %124
  %133 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %133, ptr noundef nonnull align 8 dereferenceable(41) %23)
          to label %134 unwind label %143

134:                                              ; preds = %132
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %23) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %151

135:                                              ; preds = %120
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %17, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %18, align 4
  br label %148

139:                                              ; preds = %123
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %17, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %147

143:                                              ; preds = %132, %124
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %17, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %18, align 4
  br label %147

147:                                              ; preds = %143, %139
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  br label %148

148:                                              ; preds = %147, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  br label %149

149:                                              ; preds = %148, %116
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %23) #7
  br label %150

150:                                              ; preds = %149, %90
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  br label %176

151:                                              ; preds = %134, %42
  %152 = load ptr, ptr %14, align 8, !tbaa !5
  %153 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %152) #7
  br i1 %153, label %154, label %175

154:                                              ; preds = %151
  %155 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %28, ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %29, ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  call void @_ZN4juce6Colour11contrastingES0_S0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %27, ptr noundef %28, ptr noundef %29) #7
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %155, ptr noundef %27)
          to label %156 unwind label %167

156:                                              ; preds = %154
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #7
  %157 = load ptr, ptr %9, align 8, !tbaa !5
  %158 = load i32, ptr %12, align 4, !tbaa !9
  %159 = sitofp i32 %158 to float
  %160 = fmul float %159, 0x3FE3333340000000
  invoke void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %157, float noundef %160)
          to label %161 unwind label %171

161:                                              ; preds = %156
  %162 = load ptr, ptr %9, align 8, !tbaa !5
  %163 = load ptr, ptr %14, align 8, !tbaa !5
  %164 = load i32, ptr %11, align 4, !tbaa !9
  %165 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %30, i32 noundef 36) #7
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %162, ptr noundef nonnull align 8 dereferenceable(8) %163, i32 noundef 0, i32 noundef 0, i32 noundef %164, i32 noundef %165, ptr noundef %30, i1 noundef zeroext false)
          to label %166 unwind label %171

166:                                              ; preds = %161
  br label %175

167:                                              ; preds = %154
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %17, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %18, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %29) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #7
  br label %176

171:                                              ; preds = %161, %156
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %17, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %18, align 4
  br label %176

175:                                              ; preds = %166, %151
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  ret void

176:                                              ; preds = %171, %167, %150, %86, %61
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  br label %177

177:                                              ; preds = %176, %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %178

178:                                              ; preds = %177
  %179 = load ptr, ptr %17, align 8
  %180 = load i32, ptr %18, align 4
  %181 = insertvalue { ptr, i32 } poison, ptr %179, 0
  %182 = insertvalue { ptr, i32 } %181, i32 %180, 1
  resume { ptr, i32 } %182
}

declare void @_ZN4juce4Path16addQuadrilateralEffffffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef, float noundef) #1

declare void @_ZN4juce8Graphics17setTiledImageFillERKNS_5ImageEiif(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, float noundef) #1

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


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

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.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::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::Graphics" = type <{ ptr, %"class.juce::ScopedPointer.71", i8, [7 x i8] }>
%"class.juce::ScopedPointer.71" = type { ptr }
%"class.juce::Justification" = type { i32 }

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

declare void @_ZN4juce5ImageC1ENS0_11PixelFormatEiib(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i1 noundef zeroext) unnamed_addr #1

declare void @_ZN4juce8GraphicsC1ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

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

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

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

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

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

; 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 #1

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #6 align 2

; Function Attrs: nounwind
declare noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() local_unnamed_addr #2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN4juce6jlimitIdEET_S1_S1_S1_(double noundef, double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, float noundef, ptr noundef nonnull align 1 dereferenceable(4), float noundef, float noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V215drawProgressBarERNS_8GraphicsERNS_11ProgressBarEiidRKNS_6StringE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(292) %2, i32 noundef %3, i32 noundef %4, double noundef %5, ptr noundef nonnull align 8 dereferenceable(8) %6) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  %10 = alloca %"class.juce::Colour", align 1
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca %"class.juce::Path", align 8
  %13 = alloca %"class.juce::Image", align 8
  %14 = alloca %"class.juce::Graphics", align 8
  %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::Justification", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #7
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16783616, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #7
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16783872, i1 noundef zeroext false)
          to label %19 unwind label %31

19:                                               ; preds = %7
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  invoke void @_ZNK4juce8Graphics7fillAllENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %10)
          to label %20 unwind label %33

20:                                               ; preds = %19
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #7
  %21 = fcmp oge double %5, 0.000000e+00
  %22 = fcmp olt double %5, 1.000000e+00
  %or.cond = and i1 %21, %22
  br i1 %or.cond, label %23, label %35

23:                                               ; preds = %20
  %24 = sitofp i32 %3 to double
  %25 = fadd double %24, -2.000000e+00
  %26 = fmul double %25, %5
  %27 = call noundef double @_ZN4juce6jlimitIdEET_S1_S1_S1_(double noundef 0.000000e+00, double noundef %25, double noundef %26) #7
  %28 = fptrunc double %27 to float
  %29 = add nsw i32 %4, -2
  %30 = sitofp i32 %29 to float
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %28, float noundef %30, ptr noundef nonnull align 1 dereferenceable(4) %9, float noundef 5.000000e-01, float noundef 0.000000e+00, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true) #7
  br label %80

31:                                               ; preds = %7
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %93

33:                                               ; preds = %19
  %34 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %10) #7
  br label %92

35:                                               ; preds = %20
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %11, ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %11)
          to label %36 unwind label %50

36:                                               ; preds = %35
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #7
  %37 = shl nsw i32 %4, 1
  %38 = call noundef i32 @_ZN4juce4Time21getMillisecondCounterEv() #7
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #7
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %12)
          to label %39 unwind label %52

39:                                               ; preds = %36
  %40 = udiv i32 %38, 15
  %41 = srem i32 %40, %37
  %42 = sub nsw i32 0, %41
  %43 = sitofp i32 %42 to float
  %44 = add nsw i32 %37, %3
  %45 = sitofp i32 %44 to float
  %46 = fcmp olt float %43, %45
  br i1 %46, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %39
  %47 = sitofp i32 %37 to float
  %48 = sitofp i32 %4 to float
  %49 = fneg float %47
  br label %54

._crit_edge:                                      ; preds = %57, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  invoke void @_ZN4juce5ImageC1ENS0_11PixelFormatEiib(ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext true)
          to label %62 unwind label %70

50:                                               ; preds = %35
  %51 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #7
  br label %92

52:                                               ; preds = %36
  %53 = landingpad { ptr, i32 }
          cleanup
  br label %79

54:                                               ; preds = %.lr.ph, %57
  %.060 = phi float [ %43, %.lr.ph ], [ %58, %57 ]
  %55 = call float @llvm.fmuladd.f32(float %47, float 5.000000e-01, float %.060)
  %56 = call float @llvm.fmuladd.f32(float %49, float 5.000000e-01, float %.060)
  invoke void @_ZN4juce4Path16addQuadrilateralEffffffff(ptr noundef nonnull align 8 dereferenceable(41) %12, float noundef %.060, float noundef 0.000000e+00, float noundef %55, float noundef 0.000000e+00, float noundef %.060, float noundef %48, float noundef %56, float noundef %48)
          to label %57 unwind label %60

57:                                               ; preds = %54
  %58 = fadd float %.060, %47
  %59 = fcmp olt float %58, %45
  br i1 %59, label %54, label %._crit_edge, !llvm.loop !5

60:                                               ; preds = %54
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %78

62:                                               ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  invoke void @_ZN4juce8GraphicsC1ERKNS_5ImageE(ptr noundef nonnull align 8 dereferenceable(17) %14, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %63 unwind label %72

63:                                               ; preds = %62
  %64 = add nsw i32 %3, -2
  %65 = sitofp i32 %64 to float
  %66 = add nsw i32 %4, -2
  %67 = sitofp i32 %66 to float
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %14, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %65, float noundef %67, ptr noundef nonnull align 1 dereferenceable(4) %9, float noundef 5.000000e-01, float noundef 0.000000e+00, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true) #7
  call void @_ZN4juce8GraphicsD1Ev(ptr noundef nonnull align 8 dereferenceable(17) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  invoke void @_ZN4juce8Graphics17setTiledImageFillERKNS_5ImageEiif(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %13, i32 noundef 0, i32 noundef 0, float noundef 0x3FEB333340000000)
          to label %68 unwind label %74

68:                                               ; preds = %63
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %12)
          to label %69 unwind label %74

69:                                               ; preds = %68
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %12) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  br label %80

70:                                               ; preds = %._crit_edge
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %77

72:                                               ; preds = %62
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %76

74:                                               ; preds = %68, %63
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %76

76:                                               ; preds = %74, %72
  %.pn = phi { ptr, i32 } [ %75, %74 ], [ %73, %72 ]
  call void @_ZN4juce5ImageD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  br label %77

77:                                               ; preds = %76, %70
  %.pn.pn = phi { ptr, i32 } [ %.pn, %76 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  br label %78

78:                                               ; preds = %77, %60
  %.pn54 = phi { ptr, i32 } [ %61, %60 ], [ %.pn.pn, %77 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %12) #7
  br label %79

79:                                               ; preds = %78, %52
  %.pn54.pn = phi { ptr, i32 } [ %.pn54, %78 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #7
  br label %92

80:                                               ; preds = %69, %23
  %81 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br i1 %81, label %82, label %91

82:                                               ; preds = %80
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %16, ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  call void @_ZN4juce6Colour11contrastingES0_S0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %15, ptr noundef nonnull %16, ptr noundef nonnull %17) #7
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %15)
          to label %83 unwind label %87

83:                                               ; preds = %82
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  %84 = sitofp i32 %4 to float
  %85 = fmul float %84, 0x3FE3333340000000
  invoke void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %85)
          to label %86 unwind label %89

86:                                               ; preds = %83
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef 36) #7
  invoke void @_ZNK4juce8Graphics8drawTextERKNS_6StringEiiiiNS_13JustificationEb(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %6, i32 noundef 0, i32 noundef 0, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %18, i1 noundef zeroext false)
          to label %91 unwind label %89

87:                                               ; preds = %82
  %88 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %17) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #7
  br label %92

89:                                               ; preds = %86, %83
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %92

91:                                               ; preds = %86, %80
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  ret void

92:                                               ; preds = %89, %87, %79, %50, %33
  %.pn57 = phi { ptr, i32 } [ %90, %89 ], [ %88, %87 ], [ %.pn54.pn, %79 ], [ %51, %50 ], [ %34, %33 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  br label %93

93:                                               ; preds = %92, %31
  %.pn57.pn = phi { ptr, i32 } [ %.pn57, %92 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #7
  resume { ptr, i32 } %.pn57.pn
}

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

declare void @_ZN4juce8Graphics17setTiledImageFillERKNS_5ImageEiif(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass