; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::FillType" = type { %"class.juce::Colour", %"class.juce::ScopedPointer.198", %"class.juce::Image", %"class.juce::AffineTransform" }
%"class.juce::ScopedPointer.198" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce8Graphics18getInternalContextEv(ptr noundef nonnull align 8 dereferenceable(17)) #0 align 2

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V29drawBevelERNS_8GraphicsEiiiiiRKNS_6ColourES5_bb(ptr noundef nonnull align 8 dereferenceable(17) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef nonnull align 1 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(4) %7, i1 noundef zeroext %8, i1 noundef zeroext %9) #3 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca %"class.juce::Rectangle", align 4
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca float, align 4
  %27 = alloca %"class.juce::FillType", align 8
  %28 = alloca %"class.juce::Colour", align 1
  %29 = alloca %"class.juce::Rectangle", align 4
  %30 = alloca %"class.juce::FillType", align 8
  %31 = alloca %"class.juce::Colour", align 1
  %32 = alloca %"class.juce::Rectangle", align 4
  %33 = alloca %"class.juce::FillType", align 8
  %34 = alloca %"class.juce::Colour", align 1
  %35 = alloca %"class.juce::Rectangle", align 4
  %36 = alloca %"class.juce::FillType", align 8
  %37 = alloca %"class.juce::Colour", align 1
  %38 = alloca %"class.juce::Rectangle", align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !9
  store i32 %2, ptr %13, align 4, !tbaa !9
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  store ptr %6, ptr %17, align 8, !tbaa !5
  store ptr %7, ptr %18, align 8, !tbaa !5
  %39 = zext i1 %8 to i8
  store i8 %39, ptr %19, align 1, !tbaa !11
  %40 = zext i1 %9 to i8
  store i8 %40, ptr %20, align 1, !tbaa !11
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = load i32, ptr %12, align 4, !tbaa !9
  %43 = load i32, ptr %13, align 4, !tbaa !9
  %44 = load i32, ptr %14, align 4, !tbaa !9
  %45 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %21, i32 noundef %42, i32 noundef %43, i32 noundef %44, i32 noundef %45) #5
  %46 = invoke noundef zeroext i1 @_ZNK4juce8Graphics20clipRegionIntersectsENS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(17) %41, ptr noundef %21)
          to label %47 unwind label %61

47:                                               ; preds = %10
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #5
  br i1 %46, label %48, label %224

48:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %49 = load ptr, ptr %11, align 8, !tbaa !5
  %50 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce8Graphics18getInternalContextEv(ptr noundef nonnull align 8 dereferenceable(17) %49) #5
  store ptr %50, ptr %24, align 8, !tbaa !5
  %51 = load ptr, ptr %24, align 8, !tbaa !5
  %52 = load ptr, ptr %51, align 8, !tbaa !13
  %53 = getelementptr inbounds ptr, ptr %52, i64 14
  %54 = load ptr, ptr %53, align 8
  call void %54(ptr noundef nonnull align 8 dereferenceable(8) %51)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  %55 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %55, ptr %25, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %185, %48
  %57 = load i32, ptr %25, align 4, !tbaa !9
  %58 = add nsw i32 %57, -1
  store i32 %58, ptr %25, align 4, !tbaa !9
  %59 = icmp sge i32 %58, 0
  br i1 %59, label %65, label %60

60:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  br label %219

61:                                               ; preds = %10
  %62 = landingpad { ptr, i32 }
          cleanup
  %63 = extractvalue { ptr, i32 } %62, 0
  store ptr %63, ptr %22, align 8
  %64 = extractvalue { ptr, i32 } %62, 1
  store i32 %64, ptr %23, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %21) #5
  br label %225

65:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  %66 = load i8, ptr %19, align 1, !tbaa !11, !range !15, !noundef !16
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %83

68:                                               ; preds = %65
  %69 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %75

71:                                               ; preds = %68
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = load i32, ptr %25, align 4, !tbaa !9
  %74 = sub nsw i32 %72, %73
  br label %77

75:                                               ; preds = %68
  %76 = load i32, ptr %25, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %75, %71
  %78 = phi i32 [ %74, %71 ], [ %76, %75 ]
  %79 = sitofp i32 %78 to float
  %80 = load i32, ptr %16, align 4, !tbaa !9
  %81 = sitofp i32 %80 to float
  %82 = fdiv float %79, %81
  br label %84

83:                                               ; preds = %65
  br label %84

84:                                               ; preds = %83, %77
  %85 = phi float [ %82, %77 ], [ 1.000000e+00, %83 ]
  store float %85, ptr %26, align 4, !tbaa !17
  %86 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #5
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = load float, ptr %26, align 4, !tbaa !17
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %28, ptr noundef nonnull align 1 dereferenceable(4) %87, float noundef %88) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %27, ptr noundef %28) #5
  %89 = load ptr, ptr %86, align 8, !tbaa !13
  %90 = getelementptr inbounds ptr, ptr %89, i64 18
  %91 = load ptr, ptr %90, align 8
  invoke void %91(ptr noundef nonnull align 8 dereferenceable(8) %86, ptr noundef nonnull align 8 dereferenceable(48) %27)
          to label %92 unwind label %186

92:                                               ; preds = %84
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #5
  %93 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #5
  %94 = load i32, ptr %12, align 4, !tbaa !9
  %95 = load i32, ptr %25, align 4, !tbaa !9
  %96 = add nsw i32 %94, %95
  %97 = load i32, ptr %13, align 4, !tbaa !9
  %98 = load i32, ptr %25, align 4, !tbaa !9
  %99 = add nsw i32 %97, %98
  %100 = load i32, ptr %14, align 4, !tbaa !9
  %101 = load i32, ptr %25, align 4, !tbaa !9
  %102 = mul nsw i32 %101, 2
  %103 = sub nsw i32 %100, %102
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %96, i32 noundef %99, i32 noundef %103, i32 noundef 1) #5
  %104 = load ptr, ptr %93, align 8, !tbaa !13
  %105 = getelementptr inbounds ptr, ptr %104, i64 21
  %106 = load ptr, ptr %105, align 8
  invoke void %106(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef nonnull align 4 dereferenceable(16) %29, i1 noundef zeroext false)
          to label %107 unwind label %190

107:                                              ; preds = %92
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  %108 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %30) #5
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = load float, ptr %26, align 4, !tbaa !17
  %111 = fmul float %110, 7.500000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %31, ptr noundef nonnull align 1 dereferenceable(4) %109, float noundef %111) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %30, ptr noundef %31) #5
  %112 = load ptr, ptr %108, align 8, !tbaa !13
  %113 = getelementptr inbounds ptr, ptr %112, i64 18
  %114 = load ptr, ptr %113, align 8
  invoke void %114(ptr noundef nonnull align 8 dereferenceable(8) %108, ptr noundef nonnull align 8 dereferenceable(48) %30)
          to label %115 unwind label %194

115:                                              ; preds = %107
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #5
  %116 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %32) #5
  %117 = load i32, ptr %12, align 4, !tbaa !9
  %118 = load i32, ptr %25, align 4, !tbaa !9
  %119 = add nsw i32 %117, %118
  %120 = load i32, ptr %13, align 4, !tbaa !9
  %121 = load i32, ptr %25, align 4, !tbaa !9
  %122 = add nsw i32 %120, %121
  %123 = add nsw i32 %122, 1
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = load i32, ptr %25, align 4, !tbaa !9
  %126 = mul nsw i32 %125, 2
  %127 = sub nsw i32 %124, %126
  %128 = sub nsw i32 %127, 2
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %32, i32 noundef %119, i32 noundef %123, i32 noundef 1, i32 noundef %128) #5
  %129 = load ptr, ptr %116, align 8, !tbaa !13
  %130 = getelementptr inbounds ptr, ptr %129, i64 21
  %131 = load ptr, ptr %130, align 8
  invoke void %131(ptr noundef nonnull align 8 dereferenceable(8) %116, ptr noundef nonnull align 4 dereferenceable(16) %32, i1 noundef zeroext false)
          to label %132 unwind label %198

132:                                              ; preds = %115
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  %133 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %33) #5
  %134 = load ptr, ptr %18, align 8, !tbaa !5
  %135 = load float, ptr %26, align 4, !tbaa !17
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %34, ptr noundef nonnull align 1 dereferenceable(4) %134, float noundef %135) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %33, ptr noundef %34) #5
  %136 = load ptr, ptr %133, align 8, !tbaa !13
  %137 = getelementptr inbounds ptr, ptr %136, i64 18
  %138 = load ptr, ptr %137, align 8
  invoke void %138(ptr noundef nonnull align 8 dereferenceable(8) %133, ptr noundef nonnull align 8 dereferenceable(48) %33)
          to label %139 unwind label %202

139:                                              ; preds = %132
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #5
  %140 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %35) #5
  %141 = load i32, ptr %12, align 4, !tbaa !9
  %142 = load i32, ptr %25, align 4, !tbaa !9
  %143 = add nsw i32 %141, %142
  %144 = load i32, ptr %13, align 4, !tbaa !9
  %145 = load i32, ptr %15, align 4, !tbaa !9
  %146 = add nsw i32 %144, %145
  %147 = load i32, ptr %25, align 4, !tbaa !9
  %148 = sub nsw i32 %146, %147
  %149 = sub nsw i32 %148, 1
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %25, align 4, !tbaa !9
  %152 = mul nsw i32 %151, 2
  %153 = sub nsw i32 %150, %152
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %35, i32 noundef %143, i32 noundef %149, i32 noundef %153, i32 noundef 1) #5
  %154 = load ptr, ptr %140, align 8, !tbaa !13
  %155 = getelementptr inbounds ptr, ptr %154, i64 21
  %156 = load ptr, ptr %155, align 8
  invoke void %156(ptr noundef nonnull align 8 dereferenceable(8) %140, ptr noundef nonnull align 4 dereferenceable(16) %35, i1 noundef zeroext false)
          to label %157 unwind label %206

157:                                              ; preds = %139
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #5
  %158 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %36) #5
  %159 = load ptr, ptr %18, align 8, !tbaa !5
  %160 = load float, ptr %26, align 4, !tbaa !17
  %161 = fmul float %160, 7.500000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %37, ptr noundef nonnull align 1 dereferenceable(4) %159, float noundef %161) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %36, ptr noundef %37) #5
  %162 = load ptr, ptr %158, align 8, !tbaa !13
  %163 = getelementptr inbounds ptr, ptr %162, i64 18
  %164 = load ptr, ptr %163, align 8
  invoke void %164(ptr noundef nonnull align 8 dereferenceable(8) %158, ptr noundef nonnull align 8 dereferenceable(48) %36)
          to label %165 unwind label %210

165:                                              ; preds = %157
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %37) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #5
  %166 = load ptr, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %38) #5
  %167 = load i32, ptr %12, align 4, !tbaa !9
  %168 = load i32, ptr %14, align 4, !tbaa !9
  %169 = add nsw i32 %167, %168
  %170 = load i32, ptr %25, align 4, !tbaa !9
  %171 = sub nsw i32 %169, %170
  %172 = sub nsw i32 %171, 1
  %173 = load i32, ptr %13, align 4, !tbaa !9
  %174 = load i32, ptr %25, align 4, !tbaa !9
  %175 = add nsw i32 %173, %174
  %176 = add nsw i32 %175, 1
  %177 = load i32, ptr %15, align 4, !tbaa !9
  %178 = load i32, ptr %25, align 4, !tbaa !9
  %179 = mul nsw i32 %178, 2
  %180 = sub nsw i32 %177, %179
  %181 = sub nsw i32 %180, 2
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %38, i32 noundef %172, i32 noundef %176, i32 noundef 1, i32 noundef %181) #5
  %182 = load ptr, ptr %166, align 8, !tbaa !13
  %183 = getelementptr inbounds ptr, ptr %182, i64 21
  %184 = load ptr, ptr %183, align 8
  invoke void %184(ptr noundef nonnull align 8 dereferenceable(8) %166, ptr noundef nonnull align 4 dereferenceable(16) %38, i1 noundef zeroext false)
          to label %185 unwind label %214

185:                                              ; preds = %165
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  br label %56, !llvm.loop !19

186:                                              ; preds = %84
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %22, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %23, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %27) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #5
  br label %218

190:                                              ; preds = %92
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %22, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %23, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %29) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #5
  br label %218

194:                                              ; preds = %107
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %22, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %23, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %30) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %31) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %30) #5
  br label %218

198:                                              ; preds = %115
  %199 = landingpad { ptr, i32 }
          cleanup
  %200 = extractvalue { ptr, i32 } %199, 0
  store ptr %200, ptr %22, align 8
  %201 = extractvalue { ptr, i32 } %199, 1
  store i32 %201, ptr %23, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %32) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %32) #5
  br label %218

202:                                              ; preds = %132
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %22, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %23, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %33) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %34) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %33) #5
  br label %218

206:                                              ; preds = %139
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %22, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %23, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %35) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %35) #5
  br label %218

210:                                              ; preds = %157
  %211 = landingpad { ptr, i32 }
          cleanup
  %212 = extractvalue { ptr, i32 } %211, 0
  store ptr %212, ptr %22, align 8
  %213 = extractvalue { ptr, i32 } %211, 1
  store i32 %213, ptr %23, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %36) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %37) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr %36) #5
  br label %218

214:                                              ; preds = %165
  %215 = landingpad { ptr, i32 }
          cleanup
  %216 = extractvalue { ptr, i32 } %215, 0
  store ptr %216, ptr %22, align 8
  %217 = extractvalue { ptr, i32 } %215, 1
  store i32 %217, ptr %23, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %38) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %38) #5
  br label %218

218:                                              ; preds = %214, %210, %206, %202, %198, %194, %190, %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %225

219:                                              ; preds = %60
  %220 = load ptr, ptr %24, align 8, !tbaa !5
  %221 = load ptr, ptr %220, align 8, !tbaa !13
  %222 = getelementptr inbounds ptr, ptr %221, i64 15
  %223 = load ptr, ptr %222, align 8
  call void %223(ptr noundef nonnull align 8 dereferenceable(8) %220)
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  br label %224

224:                                              ; preds = %219, %47
  ret void

225:                                              ; preds = %218, %61
  %226 = load ptr, ptr %22, align 8
  %227 = load i32, ptr %23, align 4
  %228 = insertvalue { ptr, i32 } poison, ptr %226, 0
  %229 = insertvalue { ptr, i32 } %228, i32 %227, 1
  resume { ptr, i32 } %229
}

declare noundef zeroext i1 @_ZNK4juce8Graphics20clipRegionIntersectsENS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #4

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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)"}
!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 = !{!"vtable pointer", !8, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::FillType" = type { %"class.juce::Colour", %"class.juce::ScopedPointer.198", %"class.juce::Image", %"class.juce::AffineTransform" }
%"class.juce::ScopedPointer.198" = type { ptr }
%"class.juce::Image" = type { %"class.juce::ReferenceCountedObjectPtr.48" }
%"class.juce::ReferenceCountedObjectPtr.48" = type { ptr }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #0 align 2

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V29drawBevelERNS_8GraphicsEiiiiiRKNS_6ColourES5_bb(ptr noundef nonnull align 8 dereferenceable(17) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef nonnull align 1 dereferenceable(4) %6, ptr noundef nonnull align 1 dereferenceable(4) %7, i1 noundef zeroext %8, i1 noundef zeroext %9) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %11 = alloca %"class.juce::Rectangle", align 4
  %12 = alloca %"class.juce::FillType", align 8
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Rectangle", align 4
  %15 = alloca %"class.juce::FillType", align 8
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca %"class.juce::Rectangle", align 4
  %18 = alloca %"class.juce::FillType", align 8
  %19 = alloca %"class.juce::Colour", align 1
  %20 = alloca %"class.juce::Rectangle", align 4
  %21 = alloca %"class.juce::FillType", align 8
  %22 = alloca %"class.juce::Colour", align 1
  %23 = alloca %"class.juce::Rectangle", align 4
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #5
  %24 = invoke noundef zeroext i1 @_ZNK4juce8Graphics20clipRegionIntersectsENS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(17) %0, ptr noundef nonnull %11)
          to label %25 unwind label %38

25:                                               ; preds = %10
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #5
  br i1 %24, label %26, label %106

26:                                               ; preds = %25
  %27 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce8Graphics18getInternalContextEv(ptr noundef nonnull align 8 dereferenceable(17) %0) #5
  %28 = load ptr, ptr %27, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 112
  %30 = load ptr, ptr %29, align 8
  call void %30(ptr noundef nonnull align 8 dereferenceable(8) %27)
  %31 = icmp sgt i32 %5, 0
  br i1 %31, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %26
  %32 = uitofp nneg i32 %5 to float
  %33 = add nsw i32 %4, %2
  %34 = add nsw i32 %3, %1
  br label %40

._crit_edge:                                      ; preds = %88, %26
  %35 = load ptr, ptr %27, align 8, !tbaa !5
  %36 = getelementptr inbounds i8, ptr %35, i64 120
  %37 = load ptr, ptr %36, align 8
  call void %37(ptr noundef nonnull align 8 dereferenceable(8) %27)
  br label %106

38:                                               ; preds = %10
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #5
  br label %107

40:                                               ; preds = %.lr.ph, %88
  %.05966 = phi i32 [ %5, %.lr.ph ], [ %41, %88 ]
  %41 = add nsw i32 %.05966, -1
  %42 = sub nsw i32 %5, %41
  %43 = select i1 %9, i32 %42, i32 %41
  %44 = sitofp i32 %43 to float
  %45 = fdiv float %44, %32
  %46 = select i1 %8, float %45, float 1.000000e+00
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %12) #5
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 1 dereferenceable(4) %6, float noundef %46) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef nonnull %13) #5
  %47 = load ptr, ptr %27, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %47, i64 144
  %49 = load ptr, ptr %48, align 8
  invoke void %49(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(48) %12)
          to label %50 unwind label %90

50:                                               ; preds = %40
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #5
  %51 = add nsw i32 %41, %1
  %52 = add nsw i32 %41, %2
  %53 = shl nuw nsw i32 %41, 1
  %54 = sub nsw i32 %3, %53
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %51, i32 noundef %52, i32 noundef %54, i32 noundef 1) #5
  %55 = load ptr, ptr %27, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 168
  %57 = load ptr, ptr %56, align 8
  invoke void %57(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(16) %14, i1 noundef zeroext false)
          to label %58 unwind label %92

58:                                               ; preds = %50
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #5
  %59 = fmul float %46, 7.500000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 1 dereferenceable(4) %6, float noundef %59) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %15, ptr noundef nonnull %16) #5
  %60 = load ptr, ptr %27, align 8, !tbaa !5
  %61 = getelementptr inbounds i8, ptr %60, i64 144
  %62 = load ptr, ptr %61, align 8
  invoke void %62(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(48) %15)
          to label %63 unwind label %94

63:                                               ; preds = %58
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %17) #5
  %64 = add i32 %.05966, %2
  %65 = sub nsw i32 %4, %53
  %66 = add nsw i32 %65, -2
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef %51, i32 noundef %64, i32 noundef 1, i32 noundef %66) #5
  %67 = load ptr, ptr %27, align 8, !tbaa !5
  %68 = getelementptr inbounds i8, ptr %67, i64 168
  %69 = load ptr, ptr %68, align 8
  invoke void %69(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(16) %17, i1 noundef zeroext false)
          to label %70 unwind label %96

70:                                               ; preds = %63
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #5
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %19, ptr noundef nonnull align 1 dereferenceable(4) %7, float noundef %46) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull %19) #5
  %71 = load ptr, ptr %27, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %71, i64 144
  %73 = load ptr, ptr %72, align 8
  invoke void %73(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %74 unwind label %98

74:                                               ; preds = %70
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %20) #5
  %75 = sub i32 %33, %.05966
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %20, i32 noundef %51, i32 noundef %75, i32 noundef %54, i32 noundef 1) #5
  %76 = load ptr, ptr %27, align 8, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %76, i64 168
  %78 = load ptr, ptr %77, align 8
  invoke void %78(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(16) %20, i1 noundef zeroext false)
          to label %79 unwind label %100

79:                                               ; preds = %74
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #5
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %22, ptr noundef nonnull align 1 dereferenceable(4) %7, float noundef %59) #5
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull %22) #5
  %80 = load ptr, ptr %27, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %80, i64 144
  %82 = load ptr, ptr %81, align 8
  invoke void %82(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %83 unwind label %102

83:                                               ; preds = %79
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %23) #5
  %84 = sub i32 %34, %.05966
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %23, i32 noundef %84, i32 noundef %64, i32 noundef 1, i32 noundef %66) #5
  %85 = load ptr, ptr %27, align 8, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %85, i64 168
  %87 = load ptr, ptr %86, align 8
  invoke void %87(ptr noundef nonnull align 8 dereferenceable(8) %27, ptr noundef nonnull align 4 dereferenceable(16) %23, i1 noundef zeroext false)
          to label %88 unwind label %104

88:                                               ; preds = %83
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  %89 = icmp ugt i32 %.05966, 1
  br i1 %89, label %40, label %._crit_edge, !llvm.loop !8

90:                                               ; preds = %40
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %12) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %12) #5
  br label %107

92:                                               ; preds = %50
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #5
  br label %107

94:                                               ; preds = %58
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %15) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #5
  br label %107

96:                                               ; preds = %63
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %17) #5
  br label %107

98:                                               ; preds = %70
  %99 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #5
  br label %107

100:                                              ; preds = %74
  %101 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %20) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %20) #5
  br label %107

102:                                              ; preds = %79
  %103 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #5
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #5
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #5
  br label %107

104:                                              ; preds = %83
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %23) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %23) #5
  br label %107

106:                                              ; preds = %._crit_edge, %25
  ret void

107:                                              ; preds = %90, %92, %94, %96, %98, %100, %102, %104, %38
  %.pn.pn = phi { ptr, i32 } [ %39, %38 ], [ %105, %104 ], [ %103, %102 ], [ %101, %100 ], [ %99, %98 ], [ %97, %96 ], [ %95, %94 ], [ %93, %92 ], [ %91, %90 ]
  resume { ptr, i32 } %.pn.pn
}

declare noundef zeroext i1 @_ZNK4juce8Graphics20clipRegionIntersectsENS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) local_unnamed_addr #4

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 willreturn memory(argmem: readwrite) }
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 = { "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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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