; 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::AffineTransform" = type { float, float, float, float, float, float }
%"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::PathStrokeType" = type { float, i32, i32 }

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 @_ZN4juce15AffineTransform5scaleEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef, float noundef) #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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

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

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

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

; 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: mustprogress nounwind uwtable
declare hidden void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V211drawTickBoxERNS_8GraphicsERNS_9ComponentEffffbbbb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(197) %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i1 noundef zeroext %7, i1 noundef zeroext %8, i1 noundef zeroext %9, i1 noundef zeroext %10) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca i8, align 1
  %22 = alloca i8, align 1
  %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::Path", align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca %"class.juce::Colour", align 1
  %31 = alloca %"class.juce::AffineTransform", align 4
  %32 = alloca %"class.juce::AffineTransform", align 4
  %33 = alloca %"class.juce::PathStrokeType", align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store ptr %1, ptr %13, align 8, !tbaa !5
  store ptr %2, ptr %14, align 8, !tbaa !5
  store float %3, ptr %15, align 4, !tbaa !9
  store float %4, ptr %16, align 4, !tbaa !9
  store float %5, ptr %17, align 4, !tbaa !9
  store float %6, ptr %18, align 4, !tbaa !9
  %34 = zext i1 %7 to i8
  store i8 %34, ptr %19, align 1, !tbaa !11
  %35 = zext i1 %8 to i8
  store i8 %35, ptr %20, align 1, !tbaa !11
  %36 = zext i1 %9 to i8
  store i8 %36, ptr %21, align 1, !tbaa !11
  %37 = zext i1 %10 to i8
  store i8 %37, ptr %22, align 1, !tbaa !11
  %38 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  %39 = load float, ptr %17, align 4, !tbaa !9
  %40 = fmul float %39, 0x3FE6666660000000
  store float %40, ptr %23, align 4, !tbaa !9
  %41 = load ptr, ptr %13, align 8, !tbaa !5
  %42 = load float, ptr %15, align 4, !tbaa !9
  %43 = load float, ptr %16, align 4, !tbaa !9
  %44 = load float, ptr %18, align 4, !tbaa !9
  %45 = load float, ptr %23, align 4, !tbaa !9
  %46 = fsub float %44, %45
  %47 = call float @llvm.fmuladd.f32(float %46, float 5.000000e-01, float %43)
  %48 = load float, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  %49 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %26, ptr noundef nonnull align 8 dereferenceable(197) %49, i32 noundef 16777472, i1 noundef zeroext false)
  %50 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %51 = trunc i8 %50 to i1
  %52 = zext i1 %51 to i64
  %53 = select i1 %51, float 1.000000e+00, float 5.000000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %25, ptr noundef nonnull align 1 dereferenceable(4) %26, float noundef %53) #6
  %54 = load i8, ptr %21, align 1, !tbaa !11, !range !13, !noundef !14
  %55 = trunc i8 %54 to i1
  %56 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %57 = trunc i8 %56 to i1
  call void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %24, ptr noundef %25, i1 noundef zeroext true, i1 noundef zeroext %55, i1 noundef zeroext %57) #6
  %58 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %59 = trunc i8 %58 to i1
  br i1 %59, label %60, label %70

60:                                               ; preds = %11
  %61 = load i8, ptr %22, align 1, !tbaa !11, !range !13, !noundef !14
  %62 = trunc i8 %61 to i1
  br i1 %62, label %66, label %63

63:                                               ; preds = %60
  %64 = load i8, ptr %21, align 1, !tbaa !11, !range !13, !noundef !14
  %65 = trunc i8 %64 to i1
  br label %66

66:                                               ; preds = %63, %60
  %67 = phi i1 [ true, %60 ], [ %65, %63 ]
  %68 = zext i1 %67 to i64
  %69 = select i1 %67, float 0x3FF19999A0000000, float 5.000000e-01
  br label %71

70:                                               ; preds = %11
  br label %71

71:                                               ; preds = %70, %66
  %72 = phi float [ %69, %66 ], [ 0x3FD3333340000000, %70 ]
  call void @_ZN4juce14LookAndFeel_V215drawGlassSphereERNS_8GraphicsEfffRKNS_6ColourEf(ptr noundef nonnull align 8 dereferenceable(17) %41, float noundef %42, float noundef %47, float noundef %48, ptr noundef nonnull align 1 dereferenceable(4) %24, float noundef %72) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %24) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %25) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  %73 = load i8, ptr %19, align 1, !tbaa !11, !range !13, !noundef !14
  %74 = trunc i8 %73 to i1
  br i1 %74, label %75, label %108

75:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 48, ptr %27) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %27)
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %27, float noundef 1.500000e+00, float noundef 3.000000e+00)
          to label %76 unwind label %95

76:                                               ; preds = %75
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %27, float noundef 3.000000e+00, float noundef 6.000000e+00)
          to label %77 unwind label %95

77:                                               ; preds = %76
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %27, float noundef 6.000000e+00, float noundef 0.000000e+00)
          to label %78 unwind label %95

78:                                               ; preds = %77
  %79 = load ptr, ptr %13, align 8, !tbaa !5
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = load i8, ptr %20, align 1, !tbaa !11, !range !13, !noundef !14
  %82 = trunc i8 %81 to i1
  %83 = zext i1 %82 to i64
  %84 = select i1 %82, i32 16803074, i32 16803075
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %30, ptr noundef nonnull align 8 dereferenceable(197) %80, i32 noundef %84, i1 noundef zeroext false)
          to label %85 unwind label %95

85:                                               ; preds = %78
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %79, ptr noundef %30)
          to label %86 unwind label %99

86:                                               ; preds = %85
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %32) #6
  %87 = load float, ptr %17, align 4, !tbaa !9
  %88 = fdiv float %87, 9.000000e+00
  %89 = load float, ptr %18, align 4, !tbaa !9
  %90 = fdiv float %89, 9.000000e+00
  call void @_ZN4juce15AffineTransform5scaleEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %32, float noundef %88, float noundef %90) #6
  %91 = load float, ptr %15, align 4, !tbaa !9
  %92 = load float, ptr %16, align 4, !tbaa !9
  call void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4 %31, ptr noundef nonnull align 4 dereferenceable(24) %32, float noundef %91, float noundef %92) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %32) #6
  %93 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %33) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %33, float noundef 2.500000e+00) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %93, ptr noundef nonnull align 8 dereferenceable(41) %27, ptr noundef nonnull align 4 dereferenceable(12) %33, ptr noundef nonnull align 4 dereferenceable(24) %31)
          to label %94 unwind label %103

94:                                               ; preds = %86
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  br label %108

95:                                               ; preds = %78, %77, %76, %75
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %28, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %29, align 4
  br label %107

99:                                               ; preds = %85
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %28, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %29, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %30) #6
  br label %107

103:                                              ; preds = %86
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %28, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %29, align 4
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %33) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #6
  br label %107

107:                                              ; preds = %103, %99, %95
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %27) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %109

108:                                              ; preds = %94, %71
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  ret void

109:                                              ; preds = %107
  %110 = load ptr, ptr %28, align 8
  %111 = load i32, ptr %29, align 4
  %112 = insertvalue { ptr, i32 } poison, ptr %110, 0
  %113 = insertvalue { ptr, i32 } %112, i32 %111, 1
  resume { ptr, i32 } %113
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V215drawGlassSphereERNS_8GraphicsEfffRKNS_6ColourEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, ptr noundef nonnull align 1 dereferenceable(4), float noundef) #5 align 2

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

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

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

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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 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 #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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}


; 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::AffineTransform" = type { float, float, float, float, float, float }
%"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::PathStrokeType" = type { float, i32, i32 }

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 @_ZN4juce15AffineTransform5scaleEff(ptr dead_on_unwind writable sret(%"class.juce::AffineTransform") align 4, float noundef, float noundef) local_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: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

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

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

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

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

; 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: mustprogress nounwind uwtable
declare hidden void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind noalias writable sret(%"class.juce::Colour") align 1, ptr noundef, i1 noundef zeroext, i1 noundef zeroext, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V211drawTickBoxERNS_8GraphicsERNS_9ComponentEffffbbbb(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(197) %2, float noundef %3, float noundef %4, float noundef %5, float noundef %6, i1 noundef zeroext %7, i1 noundef zeroext %8, i1 noundef zeroext %9, i1 noundef zeroext %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::Path", align 8
  %16 = alloca %"class.juce::Colour", align 1
  %17 = alloca %"class.juce::AffineTransform", align 4
  %18 = alloca %"class.juce::AffineTransform", align 4
  %19 = alloca %"class.juce::PathStrokeType", align 4
  %20 = fmul float %5, 0x3FE6666660000000
  %21 = fsub float %6, %20
  %22 = tail call float @llvm.fmuladd.f32(float %21, float 5.000000e-01, float %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %14, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16777472, i1 noundef zeroext false)
  %23 = select i1 %8, float 1.000000e+00, float 5.000000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %13, ptr noundef nonnull align 1 dereferenceable(4) %14, float noundef %23) #6
  call void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %12, ptr noundef nonnull %13, i1 noundef zeroext true, i1 noundef zeroext %9, i1 noundef zeroext %10) #6
  %24 = or i1 %9, %10
  %25 = select i1 %24, float 0x3FF19999A0000000, float 5.000000e-01
  %26 = select i1 %8, float %25, float 0x3FD3333340000000
  call void @_ZN4juce14LookAndFeel_V215drawGlassSphereERNS_8GraphicsEfffRKNS_6ColourEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %3, float noundef %22, float noundef %20, ptr noundef nonnull align 1 dereferenceable(4) %12, float noundef %26) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %12) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %13) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #6
  br i1 %7, label %27, label %44

27:                                               ; preds = %11
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %15) #6
  call void @_ZN4juce4PathC1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15)
  invoke void @_ZN4juce4Path15startNewSubPathEff(ptr noundef nonnull align 8 dereferenceable(41) %15, float noundef 1.500000e+00, float noundef 3.000000e+00)
          to label %28 unwind label %37

28:                                               ; preds = %27
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %15, float noundef 3.000000e+00, float noundef 6.000000e+00)
          to label %29 unwind label %37

29:                                               ; preds = %28
  invoke void @_ZN4juce4Path6lineToEff(ptr noundef nonnull align 8 dereferenceable(41) %15, float noundef 6.000000e+00, float noundef 0.000000e+00)
          to label %30 unwind label %37

30:                                               ; preds = %29
  %31 = select i1 %8, i32 16803074, i32 16803075
  invoke void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef %31, i1 noundef zeroext false)
          to label %32 unwind label %37

32:                                               ; preds = %30
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %16)
          to label %33 unwind label %39

33:                                               ; preds = %32
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #6
  %34 = fdiv float %5, 9.000000e+00
  %35 = fdiv float %6, 9.000000e+00
  call void @_ZN4juce15AffineTransform5scaleEff(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %18, float noundef %34, float noundef %35) #6
  call void @_ZNK4juce15AffineTransform10translatedEff(ptr dead_on_unwind nonnull writable sret(%"class.juce::AffineTransform") align 4 %17, ptr noundef nonnull align 4 dereferenceable(24) %18, float noundef %3, float noundef %4) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %19) #6
  call void @_ZN4juce14PathStrokeTypeC1Ef(ptr noundef nonnull align 4 dereferenceable(12) %19, float noundef 2.500000e+00) #6
  invoke void @_ZNK4juce8Graphics10strokePathERKNS_4PathERKNS_14PathStrokeTypeERKNS_15AffineTransformE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(41) %15, ptr noundef nonnull align 4 dereferenceable(12) %19, ptr noundef nonnull align 4 dereferenceable(24) %17)
          to label %36 unwind label %41

36:                                               ; preds = %33
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %19) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  br label %44

37:                                               ; preds = %30, %29, %28, %27
  %38 = landingpad { ptr, i32 }
          cleanup
  br label %43

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #6
  br label %43

41:                                               ; preds = %33
  %42 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce14PathStrokeTypeD1Ev(ptr noundef nonnull align 4 dereferenceable(12) %19) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #6
  br label %43

43:                                               ; preds = %41, %39, %37
  %.pn = phi { ptr, i32 } [ %42, %41 ], [ %40, %39 ], [ %38, %37 ]
  call void @_ZN4juce4PathD1Ev(ptr noundef nonnull align 8 dereferenceable(41) %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %15) #6
  resume { ptr, i32 } %.pn

44:                                               ; preds = %36, %11
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14LookAndFeel_V215drawGlassSphereERNS_8GraphicsEfffRKNS_6ColourEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef, float noundef, float noundef, ptr noundef nonnull align 1 dereferenceable(4), float noundef) local_unnamed_addr #5 align 2

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

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

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

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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 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 #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)"}


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