; 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::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) #2 align 2

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

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

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

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

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

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

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

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

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

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

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)) #5

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

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

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

declare void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41), float noundef, float noundef, float noundef, float noundef, float noundef) #5

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

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) #5

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V226drawLinearSliderBackgroundERNS_8GraphicsEiiiifffNS_6Slider11SliderStyleERS3_(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, float noundef %6, float noundef %7, float noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(224) %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca i32, align 4
  %22 = alloca ptr, align 8
  %23 = alloca float, align 4
  %24 = alloca %"class.juce::Colour", align 1
  %25 = alloca %"class.juce::Colour", align 1
  %26 = alloca %"class.juce::Colour", align 1
  %27 = alloca %"class.juce::Colour", align 1
  %28 = alloca %"class.juce::Colour", align 1
  %29 = alloca %"class.juce::Path", align 8
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca float, align 4
  %33 = alloca float, align 4
  %34 = alloca %"class.juce::ColourGradient", align 8
  %35 = alloca %"class.juce::Colour", align 1
  %36 = alloca %"class.juce::Colour", align 1
  %37 = alloca float, align 4
  %38 = alloca float, align 4
  %39 = alloca %"class.juce::ColourGradient", align 8
  %40 = alloca %"class.juce::Colour", align 1
  %41 = alloca %"class.juce::Colour", align 1
  %42 = alloca %"class.juce::Colour", align 1
  %43 = alloca %"class.juce::PathStrokeType", align 4
  %44 = alloca %"class.juce::AffineTransform", align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store i32 %2, ptr %14, align 4, !tbaa !9
  store i32 %3, ptr %15, align 4, !tbaa !9
  store i32 %4, ptr %16, align 4, !tbaa !9
  store i32 %5, ptr %17, align 4, !tbaa !9
  store float %6, ptr %18, align 4, !tbaa !11
  store float %7, ptr %19, align 4, !tbaa !11
  store float %8, ptr %20, align 4, !tbaa !11
  store i32 %9, ptr %21, align 4, !tbaa !13
  store ptr %10, ptr %22, align 8, !tbaa !5
  %45 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %46 = load ptr, ptr %22, align 8, !tbaa !5
  %47 = load ptr, ptr %45, align 8, !tbaa !15
  %48 = getelementptr inbounds ptr, ptr %47, i64 72
  %49 = load ptr, ptr %48, align 8
  %50 = call noundef i32 %49(ptr noundef nonnull align 8 dereferenceable(304) %45, ptr noundef nonnull align 8 dereferenceable(224) %46)
  %51 = sub nsw i32 %50, 2
  %52 = sitofp i32 %51 to float
  store float %52, ptr %23, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %53 = load ptr, ptr %22, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %24, ptr noundef nonnull align 8 dereferenceable(197) %53, i32 noundef 16782096, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #6
  %54 = load ptr, ptr %22, align 8, !tbaa !5
  %55 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %54) #6
  %56 = zext i1 %55 to i64
  %57 = select i1 %55, float 2.500000e-01, float 0x3FC0A3D700000000
  call void @_ZNK4juce6Colour9withAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %26, ptr noundef nonnull align 1 dereferenceable(4) @_ZN4juce7Colours5blackE, float noundef %57) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %25, ptr noundef nonnull align 1 dereferenceable(4) %24, ptr noundef %26) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %28, i32 noundef 335544320) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %27, ptr noundef nonnull align 1 dereferenceable(4) %24, ptr noundef %28) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %28) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #6
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29)
          to label %58 unwind label %90

58:                                               ; preds = %11
  %59 = load ptr, ptr %22, align 8, !tbaa !5
  %60 = call noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224) %59) #6
  br i1 %60, label %61, label %108

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #6
  %62 = load i32, ptr %15, align 4, !tbaa !9
  %63 = sitofp i32 %62 to float
  %64 = load i32, ptr %17, align 4, !tbaa !9
  %65 = sitofp i32 %64 to float
  %66 = call float @llvm.fmuladd.f32(float %65, float 5.000000e-01, float %63)
  %67 = load float, ptr %23, align 4, !tbaa !11
  %68 = fneg float %67
  %69 = call float @llvm.fmuladd.f32(float %68, float 5.000000e-01, float %66)
  store float %69, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #6
  %70 = load float, ptr %23, align 4, !tbaa !11
  store float %70, ptr %33, align 4, !tbaa !11
  %71 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %34) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %35, ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  %72 = load float, ptr %32, align 4, !tbaa !11
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %36, ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  %73 = load float, ptr %32, align 4, !tbaa !11
  %74 = load float, ptr %33, align 4, !tbaa !11
  %75 = fadd float %73, %74
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %34, ptr noundef %35, float noundef 0.000000e+00, float noundef %72, ptr noundef %36, float noundef 0.000000e+00, float noundef %75, i1 noundef zeroext false)
          to label %76 unwind label %94

76:                                               ; preds = %61
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %71, ptr noundef nonnull align 8 dereferenceable(48) %34)
          to label %77 unwind label %98

77:                                               ; preds = %76
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %36) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %35) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  %78 = load i32, ptr %14, align 4, !tbaa !9
  %79 = sitofp i32 %78 to float
  %80 = load float, ptr %23, align 4, !tbaa !11
  %81 = fneg float %80
  %82 = call float @llvm.fmuladd.f32(float %81, float 5.000000e-01, float %79)
  %83 = load float, ptr %32, align 4, !tbaa !11
  %84 = load i32, ptr %16, align 4, !tbaa !9
  %85 = sitofp i32 %84 to float
  %86 = load float, ptr %23, align 4, !tbaa !11
  %87 = fadd float %85, %86
  %88 = load float, ptr %33, align 4, !tbaa !11
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %29, float noundef %82, float noundef %83, float noundef %87, float noundef %88, float noundef 5.000000e+00)
          to label %89 unwind label %103

89:                                               ; preds = %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %151

90:                                               ; preds = %11
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %30, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %31, align 4
  br label %171

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

98:                                               ; preds = %76
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %30, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %31, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %34) #6
  br label %102

102:                                              ; preds = %98, %94
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %36) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %35) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %34) #6
  br label %107

103:                                              ; preds = %77
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %30, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %31, align 4
  br label %107

107:                                              ; preds = %103, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #6
  br label %170

108:                                              ; preds = %58
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #6
  %109 = load i32, ptr %14, align 4, !tbaa !9
  %110 = sitofp i32 %109 to float
  %111 = load i32, ptr %16, align 4, !tbaa !9
  %112 = sitofp i32 %111 to float
  %113 = call float @llvm.fmuladd.f32(float %112, float 5.000000e-01, float %110)
  %114 = load float, ptr %23, align 4, !tbaa !11
  %115 = fneg float %114
  %116 = call float @llvm.fmuladd.f32(float %115, float 5.000000e-01, float %113)
  store float %116, ptr %37, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #6
  %117 = load float, ptr %23, align 4, !tbaa !11
  store float %117, ptr %38, align 4, !tbaa !11
  %118 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 48, ptr %39) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %40, ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  %119 = load float, ptr %37, align 4, !tbaa !11
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %41, ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  %120 = load float, ptr %37, align 4, !tbaa !11
  %121 = load float, ptr %38, align 4, !tbaa !11
  %122 = fadd float %120, %121
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %39, ptr noundef %40, float noundef %119, float noundef 0.000000e+00, ptr noundef %41, float noundef %122, float noundef 0.000000e+00, i1 noundef zeroext false)
          to label %123 unwind label %137

123:                                              ; preds = %108
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %118, ptr noundef nonnull align 8 dereferenceable(48) %39)
          to label %124 unwind label %141

124:                                              ; preds = %123
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  %125 = load float, ptr %37, align 4, !tbaa !11
  %126 = load i32, ptr %15, align 4, !tbaa !9
  %127 = sitofp i32 %126 to float
  %128 = load float, ptr %23, align 4, !tbaa !11
  %129 = fneg float %128
  %130 = call float @llvm.fmuladd.f32(float %129, float 5.000000e-01, float %127)
  %131 = load float, ptr %38, align 4, !tbaa !11
  %132 = load i32, ptr %17, align 4, !tbaa !9
  %133 = sitofp i32 %132 to float
  %134 = load float, ptr %23, align 4, !tbaa !11
  %135 = fadd float %133, %134
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %29, float noundef %125, float noundef %130, float noundef %131, float noundef %135, float noundef 5.000000e+00)
          to label %136 unwind label %146

136:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %151

137:                                              ; preds = %108
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %30, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %31, align 4
  br label %145

141:                                              ; preds = %123
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %30, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %31, align 4
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %39) #6
  br label %145

145:                                              ; preds = %141, %137
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %41) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %40) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %39) #6
  br label %150

146:                                              ; preds = %124
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %30, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %31, align 4
  br label %150

150:                                              ; preds = %146, %145
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #6
  br label %170

151:                                              ; preds = %136, %89
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %152, ptr noundef nonnull align 8 dereferenceable(41) %29)
          to label %153 unwind label %158

153:                                              ; preds = %151
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %42, i32 noundef 1275068416) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %154, ptr noundef %42)
          to label %155 unwind label %162

155:                                              ; preds = %153
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  %156 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %43) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %43, float noundef 5.000000e-01) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %44) #6
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %44) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %156, ptr noundef nonnull align 8 dereferenceable(41) %29, ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(24) %44)
          to label %157 unwind label %166

157:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  ret void

158:                                              ; preds = %151
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %30, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %31, align 4
  br label %170

162:                                              ; preds = %153
  %163 = landingpad { ptr, i32 }
          cleanup
  %164 = extractvalue { ptr, i32 } %163, 0
  store ptr %164, ptr %30, align 8
  %165 = extractvalue { ptr, i32 } %163, 1
  store i32 %165, ptr %31, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %42) #6
  br label %170

166:                                              ; preds = %155
  %167 = landingpad { ptr, i32 }
          cleanup
  %168 = extractvalue { ptr, i32 } %167, 0
  store ptr %168, ptr %30, align 8
  %169 = extractvalue { ptr, i32 } %167, 1
  store i32 %169, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %44) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %43) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %43) #6
  br label %170

170:                                              ; preds = %166, %162, %158, %150, %107
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %29) #6
  br label %171

171:                                              ; preds = %170, %90
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %172

172:                                              ; preds = %171
  %173 = load ptr, ptr %30, align 8
  %174 = load i32, ptr %31, align 4
  %175 = insertvalue { ptr, i32 } poison, ptr %173, 0
  %176 = insertvalue { ptr, i32 } %175, i32 %174, 1
  resume { ptr, i32 } %176
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224)) #3 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTSN4juce6Slider11SliderStyleE", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, 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::ColourGradient" = type { %"class.juce::Point.35", %"class.juce::Point.35", i8, [7 x i8], %"class.juce::Array.207" }
%"class.juce::Point.35" = type { float, float }
%"class.juce::Array.207" = type { %"class.juce::ArrayAllocationBase.208", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.208" = type <{ %"class.juce::HeapBlock.209", i32, [4 x i8] }>
%"class.juce::HeapBlock.209" = type { ptr }
%"class.juce::PathStrokeType" = type { float, i32, i32 }
%"class.juce::AffineTransform" = type { float, float, float, float, float, float }

@_ZN4juce7Colours5blackE = external global %"class.juce::Colour", align 1

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i1 noundef zeroext) local_unnamed_addr #2 align 2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #5

declare void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, float noundef, float noundef, ptr noundef, float noundef, float noundef, i1 noundef zeroext) unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V226drawLinearSliderBackgroundERNS_8GraphicsEiiiifffNS_6Slider11SliderStyleERS3_(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, float noundef %6, float noundef %7, float noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(224) %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca %"class.juce::Colour", align 1
  %13 = alloca %"class.juce::Colour", align 1
  %14 = alloca %"class.juce::Colour", align 1
  %15 = alloca %"class.juce::Colour", align 1
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca %"class.juce::Path", align 8
  %18 = alloca %"class.juce::ColourGradient", align 8
  %19 = alloca %"class.juce::Colour", align 1
  %20 = alloca %"class.juce::Colour", align 1
  %21 = alloca %"class.juce::ColourGradient", align 8
  %22 = alloca %"class.juce::Colour", align 1
  %23 = alloca %"class.juce::Colour", align 1
  %24 = alloca %"class.juce::Colour", align 1
  %25 = alloca %"class.juce::PathStrokeType", align 4
  %26 = alloca %"class.juce::AffineTransform", align 4
  %27 = load ptr, ptr %0, align 8, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %27, i64 576
  %29 = load ptr, ptr %28, align 8
  %30 = tail call noundef i32 %29(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(224) %10)
  %31 = add nsw i32 %30, -2
  %32 = sitofp i32 %31 to float
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull align 8 dereferenceable(197) %10, i32 noundef 16782096, i1 noundef zeroext false)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  %33 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %10) #6
  %34 = select i1 %33, float 2.500000e-01, float 0x3FC0A3D700000000
  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 %34) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 1 dereferenceable(4) %12, ptr noundef nonnull %14) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #6
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %16, i32 noundef 335544320) #6
  call void @_ZNK4juce6Colour12overlaidWithES0_(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %15, ptr noundef nonnull align 1 dereferenceable(4) %12, ptr noundef nonnull %16) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17) #6
  invoke void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17)
          to label %35 unwind label %50

35:                                               ; preds = %11
  %36 = call noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224) %10) #6
  %37 = fneg float %32
  br i1 %36, label %38, label %59

38:                                               ; preds = %35
  %39 = sitofp i32 %3 to float
  %40 = sitofp i32 %5 to float
  %41 = call float @llvm.fmuladd.f32(float %40, float 5.000000e-01, float %39)
  %42 = call float @llvm.fmuladd.f32(float %37, float 5.000000e-01, float %41)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %18) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %19, ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %20, ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  %43 = fadd float %42, %32
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %18, ptr noundef nonnull %19, float noundef 0.000000e+00, float noundef %42, ptr noundef nonnull %20, float noundef 0.000000e+00, float noundef %43, i1 noundef zeroext false)
          to label %44 unwind label %52

44:                                               ; preds = %38
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %18)
          to label %45 unwind label %54

45:                                               ; preds = %44
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  %46 = sitofp i32 %2 to float
  %47 = call float @llvm.fmuladd.f32(float %37, float 5.000000e-01, float %46)
  %48 = sitofp i32 %4 to float
  %49 = fadd float %48, %32
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %17, float noundef %47, float noundef %42, float noundef %49, float noundef %32, float noundef 5.000000e+00)
          to label %78 unwind label %57

50:                                               ; preds = %11
  %51 = landingpad { ptr, i32 }
          cleanup
  br label %89

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

54:                                               ; preds = %44
  %55 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %18) #6
  br label %56

56:                                               ; preds = %54, %52
  %.pn46 = phi { ptr, i32 } [ %55, %54 ], [ %53, %52 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %20) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %19) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %18) #6
  br label %88

57:                                               ; preds = %45
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %88

59:                                               ; preds = %35
  %60 = sitofp i32 %2 to float
  %61 = sitofp i32 %4 to float
  %62 = call float @llvm.fmuladd.f32(float %61, float 5.000000e-01, float %60)
  %63 = call float @llvm.fmuladd.f32(float %37, float 5.000000e-01, float %62)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %21) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %22, ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  %64 = fadd float %63, %32
  invoke void @_ZN4juce14ColourGradientC1ENS_6ColourEffS1_ffb(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull %22, float noundef %63, float noundef 0.000000e+00, ptr noundef nonnull %23, float noundef %64, float noundef 0.000000e+00, i1 noundef zeroext false)
          to label %65 unwind label %71

65:                                               ; preds = %59
  invoke void @_ZN4juce8Graphics15setGradientFillERKNS_14ColourGradientE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(48) %21)
          to label %66 unwind label %73

66:                                               ; preds = %65
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  %67 = sitofp i32 %3 to float
  %68 = call float @llvm.fmuladd.f32(float %37, float 5.000000e-01, float %67)
  %69 = sitofp i32 %5 to float
  %70 = fadd float %69, %32
  invoke void @_ZN4juce4Path19addRoundedRectangleEfffff(ptr noundef nonnull align 8 dereferenceable(41) %17, float noundef %63, float noundef %68, float noundef %32, float noundef %70, float noundef 5.000000e+00)
          to label %78 unwind label %76

71:                                               ; preds = %59
  %72 = landingpad { ptr, i32 }
          cleanup
  br label %75

73:                                               ; preds = %65
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14ColourGradientD1Ev(ptr noundef nonnull align 8 dereferenceable(48) %21) #6
  br label %75

75:                                               ; preds = %73, %71
  %.pn = phi { ptr, i32 } [ %74, %73 ], [ %72, %71 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %21) #6
  br label %88

76:                                               ; preds = %66
  %77 = landingpad { ptr, i32 }
          cleanup
  br label %88

78:                                               ; preds = %66, %45
  invoke void @_ZNK4juce8Graphics8fillPathERKNS_4PathE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %17)
          to label %79 unwind label %82

79:                                               ; preds = %78
  call void @_ZN4juce6ColourC1Ej(ptr noundef nonnull align 1 dereferenceable(4) %24, i32 noundef 1275068416) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %24)
          to label %80 unwind label %84

80:                                               ; preds = %79
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %25) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %25, float noundef 5.000000e-01) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #6
  call void @_ZN4juce15AffineTransformC1Ev(ptr noundef nonnull align 4 dereferenceable(24) %26) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %17, ptr noundef nonnull align 4 dereferenceable(12) %25, ptr noundef nonnull align 4 dereferenceable(24) %26)
          to label %81 unwind label %86

81:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  ret void

82:                                               ; preds = %78
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %88

84:                                               ; preds = %79
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  br label %88

86:                                               ; preds = %80
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #6
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %25) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %25) #6
  br label %88

88:                                               ; preds = %75, %76, %56, %57, %86, %84, %82
  %.pn50 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ], [ %83, %82 ], [ %58, %57 ], [ %.pn46, %56 ], [ %77, %76 ], [ %.pn, %75 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %17) #6
  br label %89

89:                                               ; preds = %88, %50
  %.pn50.pn = phi { ptr, i32 } [ %.pn50, %88 ], [ %51, %50 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %17) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  resume { ptr, i32 } %.pn50.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6Slider12isHorizontalEv(ptr noundef nonnull align 8 dereferenceable(224)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 #3 = { 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 #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { "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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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