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

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

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::DrawablePath" = type { %"class.juce::DrawableShape", %"class.juce::ScopedPointer.200" }
%"class.juce::DrawableShape" = type { %"class.juce::Drawable", %"class.juce::PathStrokeType", [4 x i8], %"class.juce::Array.196", %"class.juce::Path", %"class.juce::Path", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::ScopedPointer.199", %"class.juce::ScopedPointer.199" }
%"class.juce::Drawable" = type { %"class.juce::Component.base", %"class.juce::Point" }
%"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"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::Point" = type { i32, i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::Array.196" = type { %"class.juce::ArrayAllocationBase.123", i32, [4 x i8] }
%"class.juce::DrawableShape::RelativeFillType" = type { %"class.juce::FillType", %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"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 }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::ScopedPointer.199" = type { ptr }
%"class.juce::ScopedPointer.200" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.179 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #1

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce11ShapeButton8setShapeERKNS_4PathEbbb(ptr noundef nonnull align 8 dereferenceable(488), ptr noundef nonnull align 8 dereferenceable(41), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(41)) #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef nonnull align 8 dereferenceable(48)) #5 align 2

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

declare void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4juce14LookAndFeel_V126createDocumentWindowButtonEi(ptr noundef nonnull align 8 dereferenceable(328) %0, i32 noundef %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %"class.juce::Path", align 8
  %7 = alloca %"class.juce::Line", align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.juce::Line", align 4
  %11 = alloca ptr, align 8
  %12 = alloca %"class.juce::String", align 8
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::Colour", align 1
  %16 = alloca i1, align 1
  %17 = alloca i32, align 4
  %18 = alloca %"class.juce::Line", align 4
  %19 = alloca ptr, align 8
  %20 = alloca %"class.juce::String", align 8
  %21 = alloca i1, align 1
  %22 = alloca %"class.juce::DrawablePath", align 8
  %23 = alloca %"class.juce::FillType", align 8
  %24 = alloca %"class.juce::Colour", align 1
  %25 = alloca %"class.juce::Line", align 4
  %26 = alloca %"class.juce::Line", align 4
  %27 = alloca ptr, align 8
  %28 = alloca %"class.juce::String", align 8
  %29 = alloca i1, align 1
  %30 = alloca %"class.juce::DrawablePath", align 8
  %31 = alloca %"class.juce::FillType", align 8
  %32 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %33 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 48, ptr %6) #7
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6)
  %34 = load i32, ptr %5, align 4, !tbaa !9
  %35 = icmp eq i32 %34, 4
  br i1 %35, label %36, label %71

36:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %7, float noundef 0x3FD6666660000000)
          to label %37 unwind label %46

37:                                               ; preds = %36
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0x3FD6666660000000)
          to label %38 unwind label %50

38:                                               ; preds = %37
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %39 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 488) #8
          to label %40 unwind label %54

40:                                               ; preds = %38
  store i1 true, ptr %16, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef @.str.179)
          to label %41 unwind label %58

41:                                               ; preds = %40
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %13, i32 noundef 2147431219) #7
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %14, i32 noundef -671141069) #7
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %15, i32 noundef -134270157) #7
  invoke void @_ZN4juce11ShapeButtonC1ERKNS_6StringENS_6ColourES4_S4_(ptr noundef nonnull align 8 dereferenceable(488) %39, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef %13, ptr noundef %14, ptr noundef %15)
          to label %42 unwind label %62

42:                                               ; preds = %41
  store i1 false, ptr %16, align 1
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  store ptr %39, ptr %11, align 8, !tbaa !5
  %43 = load ptr, ptr %11, align 8, !tbaa !5
  invoke void @_ZN4juce11ShapeButton8setShapeERKNS_4PathEbbb(ptr noundef nonnull align 8 dereferenceable(488) %43, ptr noundef nonnull align 8 dereferenceable(41) %6, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %44 unwind label %54

44:                                               ; preds = %42
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  store ptr %45, ptr %3, align 8
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %182

46:                                               ; preds = %36
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %8, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %9, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #7
  br label %184

50:                                               ; preds = %37
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #7
  br label %184

54:                                               ; preds = %42, %38
  %55 = landingpad { ptr, i32 }
          cleanup
  %56 = extractvalue { ptr, i32 } %55, 0
  store ptr %56, ptr %8, align 8
  %57 = extractvalue { ptr, i32 } %55, 1
  store i32 %57, ptr %9, align 4
  br label %70

58:                                               ; preds = %40
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %8, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %9, align 4
  br label %66

62:                                               ; preds = %41
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %8, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %9, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #7
  br label %66

66:                                               ; preds = %62, %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  %67 = load i1, ptr %16, align 1
  br i1 %67, label %68, label %69

68:                                               ; preds = %66
  call void @_ZdlPvm(ptr noundef %39, i64 noundef 488) #9
  br label %69

69:                                               ; preds = %68, %66
  br label %70

70:                                               ; preds = %69, %54
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  br label %184

71:                                               ; preds = %2
  %72 = load i32, ptr %5, align 4, !tbaa !9
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %74, label %121

74:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %18, float noundef 2.500000e-01)
          to label %75 unwind label %86

75:                                               ; preds = %74
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  %76 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 464) #8
          to label %77 unwind label %90

77:                                               ; preds = %75
  store i1 true, ptr %21, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %20, ptr noundef @.str.180)
          to label %78 unwind label %94

78:                                               ; preds = %77
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %76, ptr noundef nonnull align 8 dereferenceable(8) %20, i32 noundef 0)
          to label %79 unwind label %98

79:                                               ; preds = %78
  store i1 false, ptr %21, align 1
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  store ptr %76, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 560, ptr %22) #7
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %22)
          to label %80 unwind label %106

80:                                               ; preds = %79
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %22, ptr noundef nonnull align 8 dereferenceable(41) %6)
          to label %81 unwind label %110

81:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 48, ptr %23) #7
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %24, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD3333340000000) #7
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %23, ptr noundef %24) #7
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %22, ptr noundef nonnull align 8 dereferenceable(48) %23)
          to label %82 unwind label %114

82:                                               ; preds = %81
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #7
  %83 = load ptr, ptr %19, align 8, !tbaa !5
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %83, ptr noundef %22, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %84 unwind label %110

84:                                               ; preds = %82
  %85 = load ptr, ptr %19, align 8, !tbaa !5
  store ptr %85, ptr %3, align 8
  store i32 1, ptr %17, align 4
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %22) #7
  call void @llvm.lifetime.end.p0(i64 560, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %182

86:                                               ; preds = %74
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %8, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %9, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #7
  br label %184

90:                                               ; preds = %75
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %8, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %9, align 4
  br label %120

94:                                               ; preds = %77
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %8, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %9, align 4
  br label %102

98:                                               ; preds = %78
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %8, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %9, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %20) #7
  br label %102

102:                                              ; preds = %98, %94
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #7
  %103 = load i1, ptr %21, align 1
  br i1 %103, label %104, label %105

104:                                              ; preds = %102
  call void @_ZdlPvm(ptr noundef %76, i64 noundef 464) #9
  br label %105

105:                                              ; preds = %104, %102
  br label %120

106:                                              ; preds = %79
  %107 = landingpad { ptr, i32 }
          cleanup
  %108 = extractvalue { ptr, i32 } %107, 0
  store ptr %108, ptr %8, align 8
  %109 = extractvalue { ptr, i32 } %107, 1
  store i32 %109, ptr %9, align 4
  br label %119

110:                                              ; preds = %82, %80
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %8, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %9, align 4
  br label %118

114:                                              ; preds = %81
  %115 = landingpad { ptr, i32 }
          cleanup
  %116 = extractvalue { ptr, i32 } %115, 0
  store ptr %116, ptr %8, align 8
  %117 = extractvalue { ptr, i32 } %115, 1
  store i32 %117, ptr %9, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %23) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %23) #7
  br label %118

118:                                              ; preds = %114, %110
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %22) #7
  br label %119

119:                                              ; preds = %118, %106
  call void @llvm.lifetime.end.p0(i64 560, ptr %22) #7
  br label %120

120:                                              ; preds = %119, %105, %90
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  br label %184

121:                                              ; preds = %71
  %122 = load i32, ptr %5, align 4, !tbaa !9
  %123 = icmp eq i32 %122, 2
  br i1 %123, label %124, label %176

124:                                              ; preds = %121
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %25, float noundef 2.500000e-01)
          to label %125 unwind label %137

125:                                              ; preds = %124
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %6, ptr noundef nonnull align 4 dereferenceable(16) %26, float noundef 2.500000e-01)
          to label %126 unwind label %141

126:                                              ; preds = %125
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #7
  %127 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 464) #8
          to label %128 unwind label %145

128:                                              ; preds = %126
  store i1 true, ptr %29, align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef @.str.181)
          to label %129 unwind label %149

129:                                              ; preds = %128
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %127, ptr noundef nonnull align 8 dereferenceable(8) %28, i32 noundef 0)
          to label %130 unwind label %153

130:                                              ; preds = %129
  store i1 false, ptr %29, align 1
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  store ptr %127, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 560, ptr %30) #7
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %30)
          to label %131 unwind label %161

131:                                              ; preds = %130
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %30, ptr noundef nonnull align 8 dereferenceable(41) %6)
          to label %132 unwind label %165

132:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 48, ptr %31) #7
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %32, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD3333340000000) #7
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %31, ptr noundef %32) #7
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %30, ptr noundef nonnull align 8 dereferenceable(48) %31)
          to label %133 unwind label %169

133:                                              ; preds = %132
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  %134 = load ptr, ptr %27, align 8, !tbaa !5
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %134, ptr noundef %30, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %135 unwind label %165

135:                                              ; preds = %133
  %136 = load ptr, ptr %27, align 8, !tbaa !5
  store ptr %136, ptr %3, align 8
  store i32 1, ptr %17, align 4
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %30) #7
  call void @llvm.lifetime.end.p0(i64 560, ptr %30) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %182

137:                                              ; preds = %124
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %8, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %9, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #7
  br label %184

141:                                              ; preds = %125
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %8, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %9, align 4
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #7
  br label %184

145:                                              ; preds = %126
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %8, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %9, align 4
  br label %175

149:                                              ; preds = %128
  %150 = landingpad { ptr, i32 }
          cleanup
  %151 = extractvalue { ptr, i32 } %150, 0
  store ptr %151, ptr %8, align 8
  %152 = extractvalue { ptr, i32 } %150, 1
  store i32 %152, ptr %9, align 4
  br label %157

153:                                              ; preds = %129
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %8, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %9, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %28) #7
  br label %157

157:                                              ; preds = %153, %149
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %158 = load i1, ptr %29, align 1
  br i1 %158, label %159, label %160

159:                                              ; preds = %157
  call void @_ZdlPvm(ptr noundef %127, i64 noundef 464) #9
  br label %160

160:                                              ; preds = %159, %157
  br label %175

161:                                              ; preds = %130
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %8, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %9, align 4
  br label %174

165:                                              ; preds = %133, %131
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %8, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %9, align 4
  br label %173

169:                                              ; preds = %132
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %8, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %9, align 4
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %31) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %32) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %31) #7
  br label %173

173:                                              ; preds = %169, %165
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %30) #7
  br label %174

174:                                              ; preds = %173, %161
  call void @llvm.lifetime.end.p0(i64 560, ptr %30) #7
  br label %175

175:                                              ; preds = %174, %160, %145
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #7
  br label %184

176:                                              ; preds = %121
  br label %177

177:                                              ; preds = %176
  br label %178

178:                                              ; preds = %177
  br label %179

179:                                              ; preds = %178
  br label %180

180:                                              ; preds = %179
  br label %181

181:                                              ; preds = %180
  store ptr null, ptr %3, align 8
  store i32 1, ptr %17, align 4
  br label %182

182:                                              ; preds = %181, %135, %84, %44
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  %183 = load ptr, ptr %3, align 8
  ret ptr %183

184:                                              ; preds = %175, %141, %137, %120, %86, %70, %50, %46
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %6) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr %6) #7
  br label %185

185:                                              ; preds = %184
  %186 = load ptr, ptr %8, align 8
  %187 = load i32, ptr %9, align 4
  %188 = insertvalue { ptr, i32 } poison, ptr %186, 0
  %189 = insertvalue { ptr, i32 } %188, i32 %187, 1
  resume { ptr, i32 } %189
}

declare void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr, ptr, i32)

declare void @_ZN4juce11ShapeButtonC1ERKNS_6StringENS_6ColourES4_S4_(ptr, ptr, ptr, ptr, ptr)

declare void @_ZN4juce12DrawablePathC1Ev(ptr)

declare void @_ZN4juce12DrawablePathD1Ev(ptr)

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


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

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Path" = type <{ %"class.juce::ArrayAllocationBase.123", i64, %"struct.juce::Path::PathBounds", i8, [7 x i8] }>
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"struct.juce::Path::PathBounds" = type { float, float, float, float }
%"class.juce::Line" = type { %"class.juce::Point.35", %"class.juce::Point.35" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::DrawablePath" = type { %"class.juce::DrawableShape", %"class.juce::ScopedPointer.200" }
%"class.juce::DrawableShape" = type { %"class.juce::Drawable", %"class.juce::PathStrokeType", [4 x i8], %"class.juce::Array.196", %"class.juce::Path", %"class.juce::Path", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::DrawableShape::RelativeFillType", %"class.juce::ScopedPointer.199", %"class.juce::ScopedPointer.199" }
%"class.juce::Drawable" = type { %"class.juce::Component.base", %"class.juce::Point" }
%"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"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::Point" = type { i32, i32 }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::Array.196" = type { %"class.juce::ArrayAllocationBase.123", i32, [4 x i8] }
%"class.juce::DrawableShape::RelativeFillType" = type { %"class.juce::FillType", %"class.juce::RelativePoint", %"class.juce::RelativePoint", %"class.juce::RelativePoint" }
%"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 }
%"class.juce::RelativePoint" = type { %"class.juce::RelativeCoordinate", %"class.juce::RelativeCoordinate" }
%"class.juce::RelativeCoordinate" = type { %"class.juce::Expression" }
%"class.juce::Expression" = type { %"class.juce::ReferenceCountedObjectPtr.59" }
%"class.juce::ReferenceCountedObjectPtr.59" = type { ptr }
%"class.juce::ScopedPointer.199" = type { ptr }
%"class.juce::ScopedPointer.200" = type { ptr }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1
@.str.179 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.180 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.181 = external hidden unnamed_addr constant [9 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

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

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

declare void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce11ShapeButton8setShapeERKNS_4PathEbbb(ptr noundef nonnull align 8 dereferenceable(488), ptr noundef nonnull align 8 dereferenceable(41), i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560), ptr noundef nonnull align 8 dereferenceable(41)) local_unnamed_addr #5 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #5 align 2

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

declare void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41), ptr noundef nonnull align 4 dereferenceable(16), float noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN4juce14LookAndFeel_V126createDocumentWindowButtonEi(ptr nocapture noundef nonnull readnone align 8 dereferenceable(328) %0, i32 noundef %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::Path", align 8
  %4 = alloca %"class.juce::Line", align 4
  %5 = alloca %"class.juce::Line", align 4
  %6 = alloca %"class.juce::String", align 8
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  %10 = alloca %"class.juce::Line", align 4
  %11 = alloca %"class.juce::String", align 8
  %12 = alloca %"class.juce::DrawablePath", align 8
  %13 = alloca %"class.juce::FillType", align 8
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::Line", align 4
  %16 = alloca %"class.juce::Line", align 4
  %17 = alloca %"class.juce::String", align 8
  %18 = alloca %"class.juce::DrawablePath", align 8
  %19 = alloca %"class.juce::FillType", align 8
  %20 = alloca %"class.juce::Colour", align 1
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #7
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3)
  switch i32 %1, label %96 [
    i32 4, label %21
    i32 1, label %39
    i32 2, label %66
  ]

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %4, float noundef 0x3FD6666660000000)
          to label %22 unwind label %28

22:                                               ; preds = %21
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 1.000000e+00, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %5, float noundef 0x3FD6666660000000)
          to label %23 unwind label %30

23:                                               ; preds = %22
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  %24 = invoke noalias noundef nonnull dereferenceable(488) ptr @_Znwm(i64 noundef 488) #8
          to label %25 unwind label %32

25:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull @.str.179)
          to label %26 unwind label %34

26:                                               ; preds = %25
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %7, i32 noundef 2147431219) #7
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %8, i32 noundef -671141069) #7
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %9, i32 noundef -134270157) #7
  invoke void @_ZN4juce11ShapeButtonC1ERKNS_6StringENS_6ColourES4_S4_(ptr noundef nonnull align 8 dereferenceable(488) %24, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %9)
          to label %27 unwind label %36

27:                                               ; preds = %26
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  invoke void @_ZN4juce11ShapeButton8setShapeERKNS_4PathEbbb(ptr noundef nonnull align 8 dereferenceable(488) %24, ptr noundef nonnull align 8 dereferenceable(41) %3, i1 noundef zeroext true, i1 noundef zeroext true, i1 noundef zeroext true)
          to label %96 unwind label %32

28:                                               ; preds = %21
  %29 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #7
  br label %97

30:                                               ; preds = %22
  %31 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br label %97

32:                                               ; preds = %27, %23
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %97

34:                                               ; preds = %25
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %38

36:                                               ; preds = %26
  %37 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #7
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  br label %38

38:                                               ; preds = %36, %34
  %.pn39 = phi { ptr, i32 } [ %37, %36 ], [ %35, %34 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  call void @_ZdlPvm(ptr noundef nonnull %24, i64 noundef 488) #9
  br label %97

39:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %10, float noundef 2.500000e-01)
          to label %40 unwind label %49

40:                                               ; preds = %39
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  %41 = invoke noalias noundef nonnull dereferenceable(464) ptr @_Znwm(i64 noundef 464) #8
          to label %42 unwind label %51

42:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull @.str.180)
          to label %43 unwind label %53

43:                                               ; preds = %42
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %41, ptr noundef nonnull align 8 dereferenceable(8) %11, i32 noundef 0)
          to label %44 unwind label %55

44:                                               ; preds = %43
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 560, ptr nonnull %12) #7
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %12)
          to label %45 unwind label %58

45:                                               ; preds = %44
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %12, ptr noundef nonnull align 8 dereferenceable(41) %3)
          to label %46 unwind label %60

46:                                               ; preds = %45
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %13) #7
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %14, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD3333340000000) #7
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %13, ptr noundef nonnull %14) #7
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %12, ptr noundef nonnull align 8 dereferenceable(48) %13)
          to label %47 unwind label %62

47:                                               ; preds = %46
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %41, ptr noundef nonnull %12, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %48 unwind label %60

48:                                               ; preds = %47
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %12) #7
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %12) #7
  br label %96

49:                                               ; preds = %39
  %50 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #7
  br label %97

51:                                               ; preds = %40
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %97

53:                                               ; preds = %42
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %43
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  br label %57

57:                                               ; preds = %55, %53
  %.pn33 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  call void @_ZdlPvm(ptr noundef nonnull %41, i64 noundef 464) #9
  br label %97

58:                                               ; preds = %44
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %65

60:                                               ; preds = %47, %45
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %64

62:                                               ; preds = %46
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %13) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %13) #7
  br label %64

64:                                               ; preds = %62, %60
  %.pn35 = phi { ptr, i32 } [ %61, %60 ], [ %63, %62 ]
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %12) #7
  br label %65

65:                                               ; preds = %64, %58
  %.pn35.pn = phi { ptr, i32 } [ %.pn35, %64 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %12) #7
  br label %97

66:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 5.000000e-01, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %15, float noundef 2.500000e-01)
          to label %67 unwind label %77

67:                                               ; preds = %66
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #7
  call void @_ZN4juce4LineIfEC2Effff(ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 0.000000e+00, float noundef 5.000000e-01, float noundef 1.000000e+00, float noundef 5.000000e-01) #7
  invoke void @_ZN4juce4Path14addLineSegmentERKNS_4LineIfEEf(ptr noundef nonnull align 8 dereferenceable(41) %3, ptr noundef nonnull align 4 dereferenceable(16) %16, float noundef 2.500000e-01)
          to label %68 unwind label %79

68:                                               ; preds = %67
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  %69 = invoke noalias noundef nonnull dereferenceable(464) ptr @_Znwm(i64 noundef 464) #8
          to label %70 unwind label %81

70:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #7
  invoke void @_ZN4juce6StringC1EPKc(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull @.str.181)
          to label %71 unwind label %83

71:                                               ; preds = %70
  invoke void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr noundef nonnull align 8 dereferenceable(460) %69, ptr noundef nonnull align 8 dereferenceable(8) %17, i32 noundef 0)
          to label %72 unwind label %85

72:                                               ; preds = %71
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 560, ptr nonnull %18) #7
  invoke void @_ZN4juce12DrawablePathC1Ev(ptr noundef nonnull align 8 dereferenceable(560) %18)
          to label %73 unwind label %88

73:                                               ; preds = %72
  invoke void @_ZN4juce12DrawablePath7setPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(560) %18, ptr noundef nonnull align 8 dereferenceable(41) %3)
          to label %74 unwind label %90

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %19) #7
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %20, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef 0x3FD3333340000000) #7
  call void @_ZN4juce8FillTypeC1ENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(48) %19, ptr noundef nonnull %20) #7
  invoke void @_ZN4juce13DrawableShape7setFillERKNS_8FillTypeE(ptr noundef nonnull align 8 dereferenceable(552) %18, ptr noundef nonnull align 8 dereferenceable(48) %19)
          to label %75 unwind label %92

75:                                               ; preds = %74
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  invoke void @_ZN4juce14DrawableButton9setImagesEPKNS_8DrawableES3_S3_S3_S3_S3_S3_S3_(ptr noundef nonnull align 8 dereferenceable(460) %69, ptr noundef nonnull %18, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
          to label %76 unwind label %90

76:                                               ; preds = %75
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %18) #7
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %18) #7
  br label %96

77:                                               ; preds = %66
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #7
  br label %97

79:                                               ; preds = %67
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4LineIfED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #7
  br label %97

81:                                               ; preds = %68
  %82 = landingpad { ptr, i32 }
          cleanup
  br label %97

83:                                               ; preds = %70
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %87

85:                                               ; preds = %71
  %86 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #7
  br label %87

87:                                               ; preds = %85, %83
  %.pn = phi { ptr, i32 } [ %86, %85 ], [ %84, %83 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #7
  call void @_ZdlPvm(ptr noundef nonnull %69, i64 noundef 464) #9
  br label %97

88:                                               ; preds = %72
  %89 = landingpad { ptr, i32 }
          cleanup
  br label %95

90:                                               ; preds = %75, %73
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %74
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce8FillTypeD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %19) #7
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %19) #7
  br label %94

94:                                               ; preds = %92, %90
  %.pn29 = phi { ptr, i32 } [ %91, %90 ], [ %93, %92 ]
  call void @_ZN4juce12DrawablePathD1Ev(ptr noundef nonnull align 8 dereferenceable(560) %18) #7
  br label %95

95:                                               ; preds = %94, %88
  %.pn29.pn = phi { ptr, i32 } [ %.pn29, %94 ], [ %89, %88 ]
  call void @llvm.lifetime.end.p0(i64 560, ptr nonnull %18) #7
  br label %97

96:                                               ; preds = %2, %27, %76, %48
  %.0 = phi ptr [ %41, %48 ], [ %69, %76 ], [ %24, %27 ], [ null, %2 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  ret ptr %.0

97:                                               ; preds = %81, %95, %87, %51, %65, %57, %32, %38, %79, %77, %49, %30, %28
  %.pn41.pn = phi { ptr, i32 } [ %31, %30 ], [ %29, %28 ], [ %50, %49 ], [ %80, %79 ], [ %78, %77 ], [ %33, %32 ], [ %.pn39, %38 ], [ %.pn35.pn, %65 ], [ %.pn33, %57 ], [ %52, %51 ], [ %.pn29.pn, %95 ], [ %.pn, %87 ], [ %82, %81 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %3) #7
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #7
  resume { ptr, i32 } %.pn41.pn
}

declare void @_ZN4juce14DrawableButtonC1ERKNS_6StringENS0_11ButtonStyleE(ptr, ptr, i32) local_unnamed_addr

declare void @_ZN4juce11ShapeButtonC1ERKNS_6StringENS_6ColourES4_S4_(ptr, ptr, ptr, ptr, ptr) local_unnamed_addr

declare void @_ZN4juce12DrawablePathC1Ev(ptr) local_unnamed_addr

declare void @_ZN4juce12DrawablePathD1Ev(ptr) local_unnamed_addr

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}


; Effective O3 passes: CorrelatedValuePropagationPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass