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

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

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

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours3redE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours9lightblueE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours4blueE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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 #4

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V214drawLevelMeterERNS_8GraphicsEiif(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, float noundef %4) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca float, align 4
  %11 = alloca %"class.juce::Colour", align 1
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca float, align 4
  %18 = alloca i32, align 4
  %19 = alloca %"class.juce::Colour", align 1
  %20 = alloca %"class.juce::Colour", align 1
  %21 = alloca i1, align 1
  %22 = alloca i1, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store float %4, ptr %10, align 4, !tbaa !11
  %23 = load ptr, ptr %6, align 8
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %11, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, float noundef 0x3FE6666660000000) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %24, ptr noundef %11)
          to label %25 unwind label %51

25:                                               ; preds = %5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #6
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = load i32, ptr %8, align 4, !tbaa !9
  %28 = sitofp i32 %27 to float
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = sitofp i32 %29 to float
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %26, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %28, float noundef %30, float noundef 3.000000e+00)
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %14, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FC99999A0000000) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %31, ptr noundef %14)
          to label %32 unwind label %55

32:                                               ; preds = %25
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = load i32, ptr %8, align 4, !tbaa !9
  %35 = sitofp i32 %34 to float
  %36 = fsub float %35, 2.000000e+00
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = sitofp i32 %37 to float
  %39 = fsub float %38, 2.000000e+00
  call void @_ZNK4juce8Graphics20drawRoundedRectangleEffffff(ptr noundef nonnull align 8 dereferenceable(17) %33, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %36, float noundef %39, float noundef 3.000000e+00, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #6
  store i32 7, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #6
  %40 = load float, ptr %10, align 4, !tbaa !11
  %41 = fmul float 7.000000e+00, %40
  %42 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %41) #6
  store i32 %42, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = sitofp i32 %43 to float
  %45 = fsub float %44, 6.000000e+00
  %46 = fdiv float %45, 7.000000e+00
  store float %46, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %109, %32
  %48 = load i32, ptr %18, align 4, !tbaa !9
  %49 = icmp slt i32 %48, 7
  br i1 %49, label %59, label %50

50:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  br label %113

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

55:                                               ; preds = %25
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %12, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %13, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  br label %114

59:                                               ; preds = %47
  %60 = load i32, ptr %18, align 4, !tbaa !9
  %61 = load i32, ptr %16, align 4, !tbaa !9
  %62 = icmp sge i32 %60, %61
  br i1 %62, label %63, label %70

63:                                               ; preds = %59
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %19, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %64, ptr noundef %19)
          to label %65 unwind label %66

65:                                               ; preds = %63
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  br label %94

66:                                               ; preds = %63
  %67 = landingpad { ptr, i32 }
          cleanup
  %68 = extractvalue { ptr, i32 } %67, 0
  store ptr %68, ptr %12, align 8
  %69 = extractvalue { ptr, i32 } %67, 1
  store i32 %69, ptr %13, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  br label %112

70:                                               ; preds = %59
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %18, align 4, !tbaa !9
  %73 = icmp slt i32 %72, 6
  store i1 false, ptr %21, align 1
  store i1 false, ptr %22, align 1
  br i1 %73, label %74, label %75

74:                                               ; preds = %70
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %20, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #6
  store i1 true, ptr %21, align 1
  br label %76

75:                                               ; preds = %70
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours3redE) #6
  store i1 true, ptr %22, align 1
  br label %76

76:                                               ; preds = %75, %74
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %71, ptr noundef %20)
          to label %77 unwind label %84

77:                                               ; preds = %76
  %78 = load i1, ptr %22, align 1
  br i1 %78, label %79, label %80

79:                                               ; preds = %77
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  br label %80

80:                                               ; preds = %79, %77
  %81 = load i1, ptr %21, align 1
  br i1 %81, label %82, label %83

82:                                               ; preds = %80
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  br label %83

83:                                               ; preds = %82, %80
  br label %94

84:                                               ; preds = %76
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %12, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %13, align 4
  %88 = load i1, ptr %22, align 1
  br i1 %88, label %89, label %90

89:                                               ; preds = %84
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  br label %90

90:                                               ; preds = %89, %84
  %91 = load i1, ptr %21, align 1
  br i1 %91, label %92, label %93

92:                                               ; preds = %90
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  br label %93

93:                                               ; preds = %92, %90
  br label %112

94:                                               ; preds = %83, %65
  %95 = load ptr, ptr %7, align 8, !tbaa !5
  %96 = load i32, ptr %18, align 4, !tbaa !9
  %97 = sitofp i32 %96 to float
  %98 = load float, ptr %17, align 4, !tbaa !11
  %99 = call float @llvm.fmuladd.f32(float %97, float %98, float 3.000000e+00)
  %100 = load float, ptr %17, align 4, !tbaa !11
  %101 = call float @llvm.fmuladd.f32(float %100, float 0x3FB99999A0000000, float %99)
  %102 = load float, ptr %17, align 4, !tbaa !11
  %103 = fmul float %102, 0x3FE99999A0000000
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = sitofp i32 %104 to float
  %106 = fsub float %105, 6.000000e+00
  %107 = load float, ptr %17, align 4, !tbaa !11
  %108 = fmul float %107, 0x3FD99999A0000000
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %95, float noundef %101, float noundef 3.000000e+00, float noundef %103, float noundef %106, float noundef %108)
  br label %109

109:                                              ; preds = %94
  %110 = load i32, ptr %18, align 4, !tbaa !9
  %111 = add nsw i32 %110, 1
  store i32 %111, ptr %18, align 4, !tbaa !9
  br label %47, !llvm.loop !13

112:                                              ; preds = %93, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  br label %114

113:                                              ; preds = %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #6
  ret void

114:                                              ; preds = %112, %55, %51
  %115 = load ptr, ptr %12, align 8
  %116 = load i32, ptr %13, align 4
  %117 = insertvalue { ptr, i32 } poison, ptr %115, 0
  %118 = insertvalue { ptr, i32 } %117, i32 %116, 1
  resume { ptr, i32 } %118
}

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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 }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours3redE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours9lightblueE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours5whiteE = external global %"class.juce::Colour", align 1
@_ZN4juce7Colours4blueE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V214drawLevelMeterERNS_8GraphicsEiif(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, float noundef %4) unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.juce::Colour", align 1
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5whiteE, float noundef 0x3FE6666660000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %6)
          to label %10 unwind label %23

10:                                               ; preds = %5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #5
  %11 = sitofp i32 %2 to float
  %12 = sitofp i32 %3 to float
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef %11, float noundef %12, float noundef 3.000000e+00)
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %7, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FC99999A0000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %7)
          to label %13 unwind label %25

13:                                               ; preds = %10
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #5
  %14 = fadd float %11, -2.000000e+00
  %15 = fadd float %12, -2.000000e+00
  call void @_ZNK4juce8Graphics20drawRoundedRectangleEffffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef %14, float noundef %15, float noundef 3.000000e+00, float noundef 1.000000e+00)
  %16 = fmul float %4, 7.000000e+00
  %17 = call noundef i32 @_ZN4juce10roundToIntIfEEiT_(float noundef %16) #5
  %18 = fadd float %11, -6.000000e+00
  %19 = fdiv float %18, 7.000000e+00
  %20 = fmul float %19, 0x3FE99999A0000000
  %21 = fadd float %12, -6.000000e+00
  %22 = fmul float %19, 0x3FD99999A0000000
  %.not = icmp sgt i32 %17, 0
  br i1 %.not, label %30, label %27

23:                                               ; preds = %5
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %66

25:                                               ; preds = %10
  %26 = landingpad { ptr, i32 }
          cleanup
  br label %66

27:                                               ; preds = %13
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %33 unwind label %28

28:                                               ; preds = %61, %56, %51, %46, %41, %36, %27
  %29 = landingpad { ptr, i32 }
          cleanup
  br label %66

30:                                               ; preds = %13
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %33 unwind label %31

31:                                               ; preds = %62, %57, %52, %47, %42, %37, %30
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %66

33:                                               ; preds = %30, %27
  %.sink = phi ptr [ %8, %27 ], [ %9, %30 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink) #5
  %34 = call float @llvm.fmuladd.f32(float %19, float 0.000000e+00, float 3.000000e+00)
  %35 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %34)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %35, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.1 = icmp sgt i32 %17, 1
  br i1 %.not.1, label %37, label %36

36:                                               ; preds = %33
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %38 unwind label %28

37:                                               ; preds = %33
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %38 unwind label %31

38:                                               ; preds = %37, %36
  %.sink.1 = phi ptr [ %8, %36 ], [ %9, %37 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.1) #5
  %39 = fadd float %19, 3.000000e+00
  %40 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %39)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %40, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.2 = icmp sgt i32 %17, 2
  br i1 %.not.2, label %42, label %41

41:                                               ; preds = %38
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %43 unwind label %28

42:                                               ; preds = %38
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %43 unwind label %31

43:                                               ; preds = %42, %41
  %.sink.2 = phi ptr [ %8, %41 ], [ %9, %42 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.2) #5
  %44 = call float @llvm.fmuladd.f32(float %19, float 2.000000e+00, float 3.000000e+00)
  %45 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %44)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %45, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.3 = icmp sgt i32 %17, 3
  br i1 %.not.3, label %47, label %46

46:                                               ; preds = %43
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %48 unwind label %28

47:                                               ; preds = %43
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %48 unwind label %31

48:                                               ; preds = %47, %46
  %.sink.3 = phi ptr [ %8, %46 ], [ %9, %47 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.3) #5
  %49 = call float @llvm.fmuladd.f32(float %19, float 3.000000e+00, float 3.000000e+00)
  %50 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %49)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %50, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.4 = icmp sgt i32 %17, 4
  br i1 %.not.4, label %52, label %51

51:                                               ; preds = %48
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %53 unwind label %28

52:                                               ; preds = %48
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %53 unwind label %31

53:                                               ; preds = %52, %51
  %.sink.4 = phi ptr [ %8, %51 ], [ %9, %52 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.4) #5
  %54 = call float @llvm.fmuladd.f32(float %19, float 4.000000e+00, float 3.000000e+00)
  %55 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %54)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %55, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.5 = icmp sgt i32 %17, 5
  br i1 %.not.5, label %57, label %56

56:                                               ; preds = %53
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %58 unwind label %28

57:                                               ; preds = %53
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours4blueE, float noundef 5.000000e-01) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %58 unwind label %31

58:                                               ; preds = %57, %56
  %.sink.5 = phi ptr [ %8, %56 ], [ %9, %57 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.5) #5
  %59 = call float @llvm.fmuladd.f32(float %19, float 5.000000e+00, float 3.000000e+00)
  %60 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %59)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %60, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  %.not.6 = icmp sgt i32 %17, 6
  br i1 %.not.6, label %62, label %61

61:                                               ; preds = %58
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours9lightblueE, float noundef 0x3FE3333340000000) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %8)
          to label %63 unwind label %28

62:                                               ; preds = %58
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours3redE) #5
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %9)
          to label %63 unwind label %31

63:                                               ; preds = %62, %61
  %.sink.6 = phi ptr [ %8, %61 ], [ %9, %62 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink.6) #5
  %64 = call float @llvm.fmuladd.f32(float %19, float 6.000000e+00, float 3.000000e+00)
  %65 = call float @llvm.fmuladd.f32(float %19, float 0x3FB99999A0000000, float %64)
  call void @_ZNK4juce8Graphics20fillRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %65, float noundef 3.000000e+00, float noundef %20, float noundef %21, float noundef %22)
  ret void

66:                                               ; preds = %31, %28, %25, %23
  %.sink41 = phi ptr [ %9, %31 ], [ %8, %28 ], [ %7, %25 ], [ %6, %23 ]
  %.pn.pn = phi { ptr, i32 } [ %32, %31 ], [ %29, %28 ], [ %26, %25 ], [ %24, %23 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink41) #5
  resume { ptr, i32 } %.pn.pn
}

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

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

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

!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,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass