; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }
%"class.juce::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::Justification" = type { i32 }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::ShapeButton" = type <{ %"class.juce::Button.base", %"class.juce::Colour", %"class.juce::Colour", %"class.juce::Colour", %"class.juce::Colour", i8, %"class.juce::DropShadowEffect", %"class.juce::Path", %"class.juce::BorderSize", i8, [3 x i8], float }>
%"class.juce::Button.base" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::Array.104", %"class.juce::WeakReference", %"class.juce::String", %"class.juce::ListenerList.109", %"class.juce::ScopedPointer.115", i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, %"class.juce::Value", i8, i8, i8, i8, i8, i8, i8 }>
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::Array.104" = type { %"class.juce::ArrayAllocationBase.105", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.105" = type <{ %"class.juce::HeapBlock.106", i32, [4 x i8] }>
%"class.juce::HeapBlock.106" = type { ptr }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ListenerList.109" = type { %"class.juce::Array.110" }
%"class.juce::Array.110" = type { %"class.juce::ArrayAllocationBase.111", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.111" = type <{ %"class.juce::HeapBlock.112", i32, [4 x i8] }>
%"class.juce::HeapBlock.112" = type { ptr }
%"class.juce::ScopedPointer.115" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.116", %"class.juce::ListenerList.117" }
%"class.juce::ReferenceCountedObjectPtr.116" = type { ptr }
%"class.juce::ListenerList.117" = type { %"class.juce::Array.118" }
%"class.juce::Array.118" = type { %"class.juce::ArrayAllocationBase.119", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.119" = type <{ %"class.juce::HeapBlock.120", i32, [4 x i8] }>
%"class.juce::HeapBlock.120" = type { ptr }
%"class.juce::DropShadowEffect" = type { %"class.juce::ImageEffectFilter", %"struct.juce::DropShadow" }
%"class.juce::ImageEffectFilter" = type { ptr }
%"struct.juce::DropShadow" = type { %"class.juce::Colour", i32, %"class.juce::Point" }
%"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::BorderSize" = type { i32, i32, i32, i32 }

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 @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(197)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce10BorderSizeIiE14subtractedFromERKNS_9RectangleIiEE(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

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

declare void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef) #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: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375)) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4juce9RectangleIfE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4juce9RectangleIfE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11ShapeButton11paintButtonERNS_8GraphicsEbb(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i1 noundef zeroext %2, i1 noundef zeroext %3) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca %"class.juce::Rectangle.148", align 4
  %10 = alloca %"class.juce::Rectangle.148", align 4
  %11 = alloca %"class.juce::Rectangle", align 4
  %12 = alloca %"class.juce::Rectangle", align 4
  %13 = alloca %"class.juce::Rectangle.148", align 4
  %14 = alloca float, align 4
  %15 = alloca %"class.juce::Rectangle.148", align 4
  %16 = alloca %"class.juce::AffineTransform", align 4
  %17 = alloca %"class.juce::Justification", align 4
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %"class.juce::Colour", align 1
  %21 = alloca %"class.juce::Colour", align 1
  %22 = alloca %"class.juce::PathStrokeType", align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  %23 = zext i1 %2 to i8
  store i8 %23, ptr %7, align 1, !tbaa !9
  %24 = zext i1 %3 to i8
  store i8 %24, ptr %8, align 1, !tbaa !9
  %25 = load ptr, ptr %5, align 8
  %26 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #6
  br i1 %26, label %28, label %27

27:                                               ; preds = %4
  store i8 0, ptr %7, align 1, !tbaa !9
  store i8 0, ptr %8, align 1, !tbaa !9
  br label %28

28:                                               ; preds = %27, %4
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %29 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  call void @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %12, ptr noundef nonnull align 8 dereferenceable(197) %25) #6
  call void @_ZNK4juce10BorderSizeIiE14subtractedFromERKNS_9RectangleIiEE(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %10, ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  %30 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 11
  %31 = load float, ptr %30, align 4, !tbaa !11
  %32 = fmul float %31, 5.000000e-01
  call void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef %32) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  %33 = call noundef ptr @_ZNK4juce9Component18getComponentEffectEv(ptr noundef nonnull align 8 dereferenceable(197) %25) #6
  %34 = icmp ne ptr %33, null
  br i1 %34, label %35, label %37

35:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  call void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef 2.000000e+00) #6
  %36 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN4juce9RectangleIfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %37

37:                                               ; preds = %35, %28
  %38 = load i8, ptr %8, align 1, !tbaa !9, !range !70, !noundef !71
  %39 = trunc i8 %38 to i1
  br i1 %39, label %40, label %46

40:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store float 0x3FA47AE140000000, ptr %14, align 4, !tbaa !72
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  %41 = call noundef float @_ZNK4juce9RectangleIfE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  %42 = fmul float 0x3FA47AE140000000, %41
  %43 = call noundef float @_ZNK4juce9RectangleIfE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  %44 = fmul float 0x3FA47AE140000000, %43
  call void @_ZNK4juce9RectangleIfE7reducedEff(ptr dead_on_unwind writable sret(%"class.juce::Rectangle.148") align 4 %15, ptr noundef nonnull align 4 dereferenceable(16) %9, float noundef %42, float noundef %44) #6
  %45 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN4juce9RectangleIfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %46

46:                                               ; preds = %40, %37
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #6
  %47 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 7
  %48 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 9
  %49 = load i8, ptr %48, align 8, !tbaa !73, !range !70, !noundef !71
  %50 = trunc i8 %49 to i1
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %17, i32 noundef 36) #6
  invoke void @_ZNK4juce4Path24getTransformToScaleToFitERKNS_9RectangleIfEEbNS_13JustificationE(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %16, ptr noundef nonnull align 8 dereferenceable(41) %47, ptr noundef nonnull align 4 dereferenceable(16) %9, i1 noundef zeroext %50, ptr noundef %17)
          to label %51 unwind label %86

51:                                               ; preds = %46
  %52 = load ptr, ptr %6, align 8, !tbaa !5
  %53 = load i8, ptr %8, align 1, !tbaa !9, !range !70, !noundef !71
  %54 = trunc i8 %53 to i1
  br i1 %54, label %57, label %55

55:                                               ; preds = %51
  %56 = call noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375) %25) #6
  br i1 %56, label %57, label %59

57:                                               ; preds = %55, %51
  %58 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 3
  br label %68

59:                                               ; preds = %55
  %60 = load i8, ptr %7, align 1, !tbaa !9, !range !70, !noundef !71
  %61 = trunc i8 %60 to i1
  br i1 %61, label %62, label %64

62:                                               ; preds = %59
  %63 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 2
  br label %66

64:                                               ; preds = %59
  %65 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 1
  br label %66

66:                                               ; preds = %64, %62
  %67 = phi ptr [ %63, %62 ], [ %65, %64 ]
  br label %68

68:                                               ; preds = %66, %57
  %69 = phi ptr [ %58, %57 ], [ %67, %66 ]
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(4) %69) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %52, ptr noundef %20)
          to label %70 unwind label %90

70:                                               ; preds = %68
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  %71 = load ptr, ptr %6, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 7
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %71, ptr noundef nonnull align 8 dereferenceable(41) %72, ptr noundef nonnull align 4 dereferenceable(24) %16)
          to label %73 unwind label %86

73:                                               ; preds = %70
  %74 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 11
  %75 = load float, ptr %74, align 4, !tbaa !11
  %76 = fcmp ogt float %75, 0.000000e+00
  br i1 %76, label %77, label %102

77:                                               ; preds = %73
  %78 = load ptr, ptr %6, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 4
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %21, ptr noundef nonnull align 1 dereferenceable(4) %79) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %78, ptr noundef %21)
          to label %80 unwind label %94

80:                                               ; preds = %77
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %21) #6
  %81 = load ptr, ptr %6, align 8, !tbaa !5
  %82 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  %83 = getelementptr inbounds %"class.juce::ShapeButton", ptr %25, i32 0, i32 11
  %84 = load float, ptr %83, align 4, !tbaa !11
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %22, float noundef %84) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %81, ptr noundef nonnull align 8 dereferenceable(41) %82, ptr noundef nonnull align 4 dereferenceable(12) %22, ptr noundef nonnull align 4 dereferenceable(24) %16)
          to label %85 unwind label %98

85:                                               ; preds = %80
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  br label %102

86:                                               ; preds = %70, %46
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %18, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %19, align 4
  br label %103

90:                                               ; preds = %68
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %18, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %19, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  br label %103

94:                                               ; preds = %77
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %18, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %19, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %21) #6
  br label %103

98:                                               ; preds = %80
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %18, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %19, align 4
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  br label %103

102:                                              ; preds = %85, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  ret void

103:                                              ; preds = %98, %94, %90, %86
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %104

104:                                              ; preds = %103
  %105 = load ptr, ptr %18, align 8
  %106 = load i32, ptr %19, align 4
  %107 = insertvalue { ptr, i32 } poison, ptr %105, 0
  %108 = insertvalue { ptr, i32 } %107, i32 %106, 1
  resume { ptr, i32 } %108
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef) #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIfE7reducedEff(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef) #0 align 2

declare void @_ZNK4juce4Path24getTransformToScaleToFitERKNS_9RectangleIfEEbNS_13JustificationE(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, ptr noundef) #2

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24)) #2

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

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

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

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 = { "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 = { 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 #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 = !{!"bool", !7, i64 0}
!11 = !{!12, !68, i64 484}
!12 = !{!"_ZTSN4juce11ShapeButtonE", !13, i64 0, !58, i64 375, !58, i64 379, !58, i64 383, !58, i64 387, !60, i64 392, !63, i64 416, !69, i64 464, !10, i64 480, !68, i64 484}
!13 = !{!"_ZTSN4juce6ButtonE", !14, i64 0, !40, i64 200, !42, i64 216, !45, i64 240, !16, i64 248, !46, i64 256, !50, i64 280, !20, i64 288, !20, i64 292, !6, i64 296, !20, i64 304, !20, i64 308, !20, i64 312, !20, i64 316, !20, i64 320, !20, i64 324, !51, i64 328, !51, i64 332, !52, i64 336, !10, i64 368, !10, i64 369, !10, i64 370, !10, i64 371, !10, i64 372, !10, i64 373, !10, i64 374}
!14 = !{!"_ZTSN4juce9ComponentE", !15, i64 0, !16, i64 8, !16, i64 16, !6, i64 24, !18, i64 32, !21, i64 48, !22, i64 56, !23, i64 64, !6, i64 88, !26, i64 96, !6, i64 104, !27, i64 112, !28, i64 120, !29, i64 128, !30, i64 136, !34, i64 160, !38, i64 184, !7, i64 192, !7, i64 196}
!15 = !{!"_ZTSN4juce13MouseListenerE"}
!16 = !{!"_ZTSN4juce6StringE", !17, i64 0}
!17 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!18 = !{!"_ZTSN4juce9RectangleIiEE", !19, i64 0, !20, i64 8, !20, i64 12}
!19 = !{!"_ZTSN4juce5PointIiEE", !20, i64 0, !20, i64 4}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!23 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !24, i64 0, !20, i64 16}
!24 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !25, i64 0, !20, i64 8}
!25 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!26 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!29 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!30 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !20, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !33, i64 0, !20, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!34 = !{!"_ZTSN4juce13NamedValueSetE", !35, i64 0}
!35 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !36, i64 0, !20, i64 16}
!36 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !37, i64 0, !20, i64 8}
!37 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !39, i64 0}
!39 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!40 = !{!"_ZTSN4juce21SettableTooltipClientE", !41, i64 0, !16, i64 8}
!41 = !{!"_ZTSN4juce13TooltipClientE"}
!42 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !43, i64 0, !20, i64 16}
!43 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !44, i64 0, !20, i64 8}
!44 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !6, i64 0}
!45 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !39, i64 0}
!46 = !{!"_ZTSN4juce12ListenerListINS_6Button8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !47, i64 0}
!47 = !{!"_ZTSN4juce5ArrayIPNS_6Button8ListenerENS_20DummyCriticalSectionELi0EEE", !48, i64 0, !20, i64 16}
!48 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_6Button8ListenerENS_20DummyCriticalSectionEEE", !49, i64 0, !20, i64 8}
!49 = !{!"_ZTSN4juce9HeapBlockIPNS_6Button8ListenerELb0EEE", !6, i64 0}
!50 = !{!"_ZTSN4juce13ScopedPointerINS_6Button14CallbackHelperEEE", !6, i64 0}
!51 = !{!"_ZTSN4juce6Button11ButtonStateE", !7, i64 0}
!52 = !{!"_ZTSN4juce5ValueE", !53, i64 0, !54, i64 8}
!53 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !6, i64 0}
!54 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !55, i64 0}
!55 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !56, i64 0, !20, i64 16}
!56 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !57, i64 0, !20, i64 8}
!57 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !6, i64 0}
!58 = !{!"_ZTSN4juce6ColourE", !59, i64 0}
!59 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!60 = !{!"_ZTSN4juce16DropShadowEffectE", !61, i64 0, !62, i64 8}
!61 = !{!"_ZTSN4juce17ImageEffectFilterE"}
!62 = !{!"_ZTSN4juce10DropShadowE", !58, i64 0, !20, i64 4, !19, i64 8}
!63 = !{!"_ZTSN4juce4PathE", !64, i64 0, !66, i64 16, !67, i64 24, !10, i64 40}
!64 = !{!"_ZTSN4juce19ArrayAllocationBaseIfNS_20DummyCriticalSectionEEE", !65, i64 0, !20, i64 8}
!65 = !{!"_ZTSN4juce9HeapBlockIfLb0EEE", !6, i64 0}
!66 = !{!"long", !7, i64 0}
!67 = !{!"_ZTSN4juce4Path10PathBoundsE", !68, i64 0, !68, i64 4, !68, i64 8, !68, i64 12}
!68 = !{!"float", !7, i64 0}
!69 = !{!"_ZTSN4juce10BorderSizeIiEE", !20, i64 0, !20, i64 4, !20, i64 8, !20, i64 12}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!68, !68, i64 0}
!73 = !{!12, !10, i64 480}


; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Rectangle.148" = type { %"class.juce::Point.35", float, float }
%"class.juce::Point.35" = type { float, float }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }
%"class.juce::Justification" = type { i32 }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }

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 @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce10BorderSizeIiE14subtractedFromERKNS_9RectangleIiEE(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

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

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: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN4juce9RectangleIfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4juce9RectangleIfE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK4juce9RectangleIfE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11ShapeButton11paintButtonERNS_8GraphicsEbb(ptr noundef nonnull align 8 dereferenceable(488) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i1 noundef zeroext %2, i1 noundef zeroext %3) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %"class.juce::Rectangle.148", align 4
  %6 = alloca %"class.juce::Rectangle.148", align 4
  %7 = alloca %"class.juce::Rectangle", align 4
  %8 = alloca %"class.juce::Rectangle", align 4
  %9 = alloca %"class.juce::Rectangle.148", align 4
  %10 = alloca %"class.juce::Rectangle.148", align 4
  %11 = alloca %"class.juce::AffineTransform", align 4
  %12 = alloca %"class.juce::Justification", align 4
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::PathStrokeType", align 4
  %16 = tail call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %spec.select = and i1 %16, %3
  %spec.select13 = and i1 %16, %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %17 = getelementptr inbounds i8, ptr %0, i64 464
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #6
  call void @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %8, ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  call void @_ZNK4juce10BorderSizeIiE14subtractedFromERKNS_9RectangleIiEE(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %7, ptr noundef nonnull align 4 dereferenceable(16) %17, ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  call void @_ZNK4juce9RectangleIiE7toFloatEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %6, ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  %18 = getelementptr inbounds i8, ptr %0, i64 484
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = fmul float %19, 5.000000e-01
  call void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %6, float noundef %20) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  %21 = call noundef ptr @_ZNK4juce9Component18getComponentEffectEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %24, label %22

22:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 2.000000e+00) #6
  %23 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN4juce9RectangleIfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %24

24:                                               ; preds = %22, %4
  br i1 %spec.select, label %25, label %31

25:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #6
  %26 = call noundef float @_ZNK4juce9RectangleIfE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  %27 = fmul float %26, 0x3FA47AE140000000
  %28 = call noundef float @_ZNK4juce9RectangleIfE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  %29 = fmul float %28, 0x3FA47AE140000000
  call void @_ZNK4juce9RectangleIfE7reducedEff(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle.148") align 4 %10, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef %27, float noundef %29) #6
  %30 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN4juce9RectangleIfEaSERKS1_(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #6
  br label %31

31:                                               ; preds = %25, %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #6
  %32 = getelementptr inbounds i8, ptr %0, i64 416
  %33 = getelementptr inbounds i8, ptr %0, i64 480
  %34 = load i8, ptr %33, align 8, !tbaa !68, !range !69, !noundef !70
  %35 = trunc nuw i8 %34 to i1
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %12, i32 noundef 36) #6
  invoke void @_ZNK4juce4Path24getTransformToScaleToFitERKNS_9RectangleIfEEbNS_13JustificationE(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %11, ptr noundef nonnull align 8 dereferenceable(41) %32, ptr noundef nonnull align 4 dereferenceable(16) %5, i1 noundef zeroext %35, ptr noundef nonnull %12)
          to label %36 unwind label %50

36:                                               ; preds = %31
  br i1 %spec.select, label %39, label %37

37:                                               ; preds = %36
  %38 = call noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375) %0) #6
  %.v = select i1 %spec.select13, i64 379, i64 375
  %spec.select14 = select i1 %38, i64 383, i64 %.v
  br label %39

39:                                               ; preds = %37, %36
  %.v.sink = phi i64 [ 383, %36 ], [ %spec.select14, %37 ]
  %40 = getelementptr inbounds i8, ptr %0, i64 %.v.sink
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %13, ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %13)
          to label %41 unwind label %52

41:                                               ; preds = %39
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %32, ptr noundef nonnull align 4 dereferenceable(24) %11)
          to label %42 unwind label %50

42:                                               ; preds = %41
  %43 = load float, ptr %18, align 4, !tbaa !5
  %44 = fcmp ogt float %43, 0.000000e+00
  br i1 %44, label %45, label %58

45:                                               ; preds = %42
  %46 = getelementptr inbounds i8, ptr %0, i64 387
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %14, ptr noundef nonnull align 1 dereferenceable(4) %46) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %14)
          to label %47 unwind label %54

47:                                               ; preds = %45
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  %48 = load float, ptr %18, align 4, !tbaa !5
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %15, float noundef %48) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %32, ptr noundef nonnull align 4 dereferenceable(12) %15, ptr noundef nonnull align 4 dereferenceable(24) %11)
          to label %49 unwind label %56

49:                                               ; preds = %47
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %58

50:                                               ; preds = %41, %31
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %59

52:                                               ; preds = %39
  %53 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  br label %59

54:                                               ; preds = %45
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  br label %59

56:                                               ; preds = %47
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %59

58:                                               ; preds = %49, %42
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  ret void

59:                                               ; preds = %56, %54, %52, %50
  %.pn = phi { ptr, i32 } [ %57, %56 ], [ %55, %54 ], [ %51, %50 ], [ %53, %52 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #6
  call void @_ZN4juce9RectangleIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIfE7reducedEf(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIfE7reducedEff(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle.148") align 4, ptr noundef nonnull align 4 dereferenceable(16), float noundef, float noundef) local_unnamed_addr #0 align 2

declare void @_ZNK4juce4Path24getTransformToScaleToFitERKNS_9RectangleIfEEbNS_13JustificationE(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), i1 noundef zeroext, ptr noundef) local_unnamed_addr #2

declare void @_ZNK4juce8Graphics8fillPathERKNS_4PathERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2

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

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

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

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 = { "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 = { 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 #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, !66, i64 484}
!6 = !{!"_ZTSN4juce11ShapeButtonE", !7, i64 0, !56, i64 375, !56, i64 379, !56, i64 383, !56, i64 387, !58, i64 392, !61, i64 416, !67, i64 464, !55, i64 480, !66, i64 484}
!7 = !{!"_ZTSN4juce6ButtonE", !8, i64 0, !37, i64 200, !39, i64 216, !42, i64 240, !10, i64 248, !43, i64 256, !47, i64 280, !17, i64 288, !17, i64 292, !12, i64 296, !17, i64 304, !17, i64 308, !17, i64 312, !17, i64 316, !17, i64 320, !17, i64 324, !48, i64 328, !48, i64 332, !49, i64 336, !55, i64 368, !55, i64 369, !55, i64 370, !55, i64 371, !55, i64 372, !55, i64 373, !55, i64 374}
!8 = !{!"_ZTSN4juce9ComponentE", !9, i64 0, !10, i64 8, !10, i64 16, !12, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !12, i64 88, !23, i64 96, !12, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !13, i64 192, !13, i64 196}
!9 = !{!"_ZTSN4juce13MouseListenerE"}
!10 = !{!"_ZTSN4juce6StringE", !11, i64 0}
!11 = !{!"_ZTSN4juce16CharPointer_UTF8E", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !13, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !12, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !12, i64 0}
!20 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !12, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !12, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !12, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !12, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !12, i64 0}
!27 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !28, i64 0}
!28 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !29, i64 0, !17, i64 16}
!29 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !30, i64 0, !17, i64 8}
!30 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !12, i64 0}
!31 = !{!"_ZTSN4juce13NamedValueSetE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !17, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !34, i64 0, !17, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !12, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !12, i64 0}
!37 = !{!"_ZTSN4juce21SettableTooltipClientE", !38, i64 0, !10, i64 8}
!38 = !{!"_ZTSN4juce13TooltipClientE"}
!39 = !{!"_ZTSN4juce5ArrayINS_8KeyPressENS_20DummyCriticalSectionELi0EEE", !40, i64 0, !17, i64 16}
!40 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_8KeyPressENS_20DummyCriticalSectionEEE", !41, i64 0, !17, i64 8}
!41 = !{!"_ZTSN4juce9HeapBlockINS_8KeyPressELb0EEE", !12, i64 0}
!42 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEEE", !36, i64 0}
!43 = !{!"_ZTSN4juce12ListenerListINS_6Button8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !44, i64 0}
!44 = !{!"_ZTSN4juce5ArrayIPNS_6Button8ListenerENS_20DummyCriticalSectionELi0EEE", !45, i64 0, !17, i64 16}
!45 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_6Button8ListenerENS_20DummyCriticalSectionEEE", !46, i64 0, !17, i64 8}
!46 = !{!"_ZTSN4juce9HeapBlockIPNS_6Button8ListenerELb0EEE", !12, i64 0}
!47 = !{!"_ZTSN4juce13ScopedPointerINS_6Button14CallbackHelperEEE", !12, i64 0}
!48 = !{!"_ZTSN4juce6Button11ButtonStateE", !13, i64 0}
!49 = !{!"_ZTSN4juce5ValueE", !50, i64 0, !51, i64 8}
!50 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !12, i64 0}
!51 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !52, i64 0}
!52 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !53, i64 0, !17, i64 16}
!53 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !54, i64 0, !17, i64 8}
!54 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !12, i64 0}
!55 = !{!"bool", !13, i64 0}
!56 = !{!"_ZTSN4juce6ColourE", !57, i64 0}
!57 = !{!"_ZTSN4juce9PixelARGBE", !13, i64 0}
!58 = !{!"_ZTSN4juce16DropShadowEffectE", !59, i64 0, !60, i64 8}
!59 = !{!"_ZTSN4juce17ImageEffectFilterE"}
!60 = !{!"_ZTSN4juce10DropShadowE", !56, i64 0, !17, i64 4, !16, i64 8}
!61 = !{!"_ZTSN4juce4PathE", !62, i64 0, !64, i64 16, !65, i64 24, !55, i64 40}
!62 = !{!"_ZTSN4juce19ArrayAllocationBaseIfNS_20DummyCriticalSectionEEE", !63, i64 0, !17, i64 8}
!63 = !{!"_ZTSN4juce9HeapBlockIfLb0EEE", !12, i64 0}
!64 = !{!"long", !13, i64 0}
!65 = !{!"_ZTSN4juce4Path10PathBoundsE", !66, i64 0, !66, i64 4, !66, i64 8, !66, i64 12}
!66 = !{!"float", !13, i64 0}
!67 = !{!"_ZTSN4juce10BorderSizeIiEE", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!68 = !{!6, !55, i64 480}
!69 = !{i8 0, i8 2}
!70 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass