; 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 }

; 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197)) #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce14LookAndFeel_V220drawButtonBackgroundERNS_8GraphicsERNS_6ButtonERKNS_6ColourEbb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(375) %2, ptr noundef nonnull align 1 dereferenceable(4) %3, i1 noundef zeroext %4, i1 noundef zeroext %5) unnamed_addr #1 align 2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  %19 = alloca float, align 4
  %20 = alloca float, align 4
  %21 = alloca %"class.juce::Colour", align 1
  %22 = alloca %"class.juce::Colour", align 1
  %23 = alloca %"class.juce::Colour", align 1
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  %24 = zext i1 %4 to i8
  store i8 %24, ptr %11, align 1, !tbaa !9
  %25 = zext i1 %5 to i8
  store i8 %25, ptr %12, align 1, !tbaa !9
  %26 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %27) #3
  store i32 %28, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %29) #3
  store i32 %30, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %31) #3
  br i1 %32, label %33, label %43

33:                                               ; preds = %6
  %34 = load i8, ptr %12, align 1, !tbaa !9, !range !13, !noundef !14
  %35 = trunc i8 %34 to i1
  br i1 %35, label %39, label %36

36:                                               ; preds = %33
  %37 = load i8, ptr %11, align 1, !tbaa !9, !range !13, !noundef !14
  %38 = trunc i8 %37 to i1
  br label %39

39:                                               ; preds = %36, %33
  %40 = phi i1 [ true, %33 ], [ %38, %36 ]
  %41 = zext i1 %40 to i64
  %42 = select i1 %40, float 0x3FF3333340000000, float 0x3FE6666660000000
  br label %44

43:                                               ; preds = %6
  br label %44

44:                                               ; preds = %43, %39
  %45 = phi float [ %42, %39 ], [ 0x3FD99999A0000000, %43 ]
  store float %45, ptr %15, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  %46 = load float, ptr %15, align 4, !tbaa !15
  %47 = fmul float %46, 5.000000e-01
  store float %47, ptr %16, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = call noundef zeroext i1 @_ZNK4juce6Button17isConnectedOnLeftEv(ptr noundef nonnull align 8 dereferenceable(375) %48) #3
  br i1 %49, label %50, label %51

50:                                               ; preds = %44
  br label %53

51:                                               ; preds = %44
  %52 = load float, ptr %16, align 4, !tbaa !15
  br label %53

53:                                               ; preds = %51, %50
  %54 = phi float [ 0x3FB99999A0000000, %50 ], [ %52, %51 ]
  store float %54, ptr %17, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK4juce6Button18isConnectedOnRightEv(ptr noundef nonnull align 8 dereferenceable(375) %55) #3
  br i1 %56, label %57, label %58

57:                                               ; preds = %53
  br label %60

58:                                               ; preds = %53
  %59 = load float, ptr %16, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %58, %57
  %61 = phi float [ 0x3FB99999A0000000, %57 ], [ %59, %58 ]
  store float %61, ptr %18, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  %62 = load ptr, ptr %9, align 8, !tbaa !5
  %63 = call noundef zeroext i1 @_ZNK4juce6Button16isConnectedOnTopEv(ptr noundef nonnull align 8 dereferenceable(375) %62) #3
  br i1 %63, label %64, label %65

64:                                               ; preds = %60
  br label %67

65:                                               ; preds = %60
  %66 = load float, ptr %16, align 4, !tbaa !15
  br label %67

67:                                               ; preds = %65, %64
  %68 = phi float [ 0x3FB99999A0000000, %64 ], [ %66, %65 ]
  store float %68, ptr %19, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = call noundef zeroext i1 @_ZNK4juce6Button19isConnectedOnBottomEv(ptr noundef nonnull align 8 dereferenceable(375) %69) #3
  br i1 %70, label %71, label %72

71:                                               ; preds = %67
  br label %74

72:                                               ; preds = %67
  %73 = load float, ptr %16, align 4, !tbaa !15
  br label %74

74:                                               ; preds = %72, %71
  %75 = phi float [ 0x3FB99999A0000000, %71 ], [ %73, %72 ]
  store float %75, ptr %20, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %23, ptr noundef nonnull align 1 dereferenceable(4) %76) #3
  %77 = load ptr, ptr %9, align 8, !tbaa !5
  %78 = call noundef zeroext i1 @_ZNK4juce9Component16hasKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %77, i1 noundef zeroext true)
  %79 = load i8, ptr %11, align 1, !tbaa !9, !range !13, !noundef !14
  %80 = trunc i8 %79 to i1
  %81 = load i8, ptr %12, align 1, !tbaa !9, !range !13, !noundef !14
  %82 = trunc i8 %81 to i1
  call void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %22, ptr noundef %23, i1 noundef zeroext %78, i1 noundef zeroext %80, i1 noundef zeroext %82) #3
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %83) #3
  %85 = zext i1 %84 to i64
  %86 = select i1 %84, float 1.000000e+00, float 5.000000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %21, ptr noundef nonnull align 1 dereferenceable(4) %22, float noundef %86) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %22) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = load float, ptr %17, align 4, !tbaa !15
  %89 = load float, ptr %19, align 4, !tbaa !15
  %90 = load i32, ptr %13, align 4, !tbaa !11
  %91 = sitofp i32 %90 to float
  %92 = load float, ptr %17, align 4, !tbaa !15
  %93 = fsub float %91, %92
  %94 = load float, ptr %18, align 4, !tbaa !15
  %95 = fsub float %93, %94
  %96 = load i32, ptr %14, align 4, !tbaa !11
  %97 = sitofp i32 %96 to float
  %98 = load float, ptr %19, align 4, !tbaa !15
  %99 = fsub float %97, %98
  %100 = load float, ptr %20, align 4, !tbaa !15
  %101 = fsub float %99, %100
  %102 = load float, ptr %15, align 4, !tbaa !15
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = call noundef zeroext i1 @_ZNK4juce6Button17isConnectedOnLeftEv(ptr noundef nonnull align 8 dereferenceable(375) %103) #3
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = call noundef zeroext i1 @_ZNK4juce6Button18isConnectedOnRightEv(ptr noundef nonnull align 8 dereferenceable(375) %105) #3
  %107 = load ptr, ptr %9, align 8, !tbaa !5
  %108 = call noundef zeroext i1 @_ZNK4juce6Button16isConnectedOnTopEv(ptr noundef nonnull align 8 dereferenceable(375) %107) #3
  %109 = load ptr, ptr %9, align 8, !tbaa !5
  %110 = call noundef zeroext i1 @_ZNK4juce6Button19isConnectedOnBottomEv(ptr noundef nonnull align 8 dereferenceable(375) %109) #3
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %87, float noundef %88, float noundef %89, float noundef %95, float noundef %101, ptr noundef nonnull align 1 dereferenceable(4) %21, float noundef %102, float noundef -1.000000e+00, i1 noundef zeroext %104, i1 noundef zeroext %106, i1 noundef zeroext %108, i1 noundef zeroext %110) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret void
}

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !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 }

; 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #1 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN4juce14LookAndFeel_V220drawButtonBackgroundERNS_8GraphicsERNS_6ButtonERKNS_6ColourEbb(ptr nocapture noundef nonnull readnone align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(375) %2, ptr noundef nonnull align 1 dereferenceable(4) %3, i1 noundef zeroext %4, i1 noundef zeroext %5) unnamed_addr #1 align 2 {
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  %10 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #3
  %11 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #3
  %12 = tail call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #3
  %13 = or i1 %4, %5
  %14 = select i1 %13, float 0x3FF3333340000000, float 0x3FE6666660000000
  %15 = select i1 %12, float %14, float 0x3FD99999A0000000
  %16 = fmul float %15, 5.000000e-01
  %17 = tail call noundef zeroext i1 @_ZNK4juce6Button17isConnectedOnLeftEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %18 = select i1 %17, float 0x3FB99999A0000000, float %16
  %19 = tail call noundef zeroext i1 @_ZNK4juce6Button18isConnectedOnRightEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %20 = select i1 %19, float 0x3FB99999A0000000, float %16
  %21 = tail call noundef zeroext i1 @_ZNK4juce6Button16isConnectedOnTopEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %22 = select i1 %21, float 0x3FB99999A0000000, float %16
  %23 = tail call noundef zeroext i1 @_ZNK4juce6Button19isConnectedOnBottomEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %24 = select i1 %23, float 0x3FB99999A0000000, float %16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  call void @_ZN4juce6ColourC1ERKS0_(ptr noundef nonnull align 1 dereferenceable(4) %9, ptr noundef nonnull align 1 dereferenceable(4) %3) #3
  %25 = call noundef zeroext i1 @_ZNK4juce9Component16hasKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %2, i1 noundef zeroext true)
  call void @_ZN4juce18LookAndFeelHelpersL16createBaseColourENS_6ColourEbbb(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull %9, i1 noundef zeroext %25, i1 noundef zeroext %4, i1 noundef zeroext %5) #3
  %26 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #3
  %27 = select i1 %26, float 1.000000e+00, float 5.000000e-01
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %7, ptr noundef nonnull align 1 dereferenceable(4) %8, float noundef %27) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  %28 = sitofp i32 %10 to float
  %29 = fsub float %28, %18
  %30 = fsub float %29, %20
  %31 = sitofp i32 %11 to float
  %32 = fsub float %31, %22
  %33 = fsub float %32, %24
  %34 = call noundef zeroext i1 @_ZNK4juce6Button17isConnectedOnLeftEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %35 = call noundef zeroext i1 @_ZNK4juce6Button18isConnectedOnRightEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %36 = call noundef zeroext i1 @_ZNK4juce6Button16isConnectedOnTopEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  %37 = call noundef zeroext i1 @_ZNK4juce6Button19isConnectedOnBottomEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #3
  call void @_ZN4juce14LookAndFeel_V216drawGlassLozengeERNS_8GraphicsEffffRKNS_6ColourEffbbbb(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %18, float noundef %22, float noundef %30, float noundef %33, ptr noundef nonnull align 1 dereferenceable(4) %7, float noundef %15, float noundef -1.000000e+00, i1 noundef zeroext %34, i1 noundef zeroext %35, i1 noundef zeroext %36, i1 noundef zeroext %37) #3
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #3
  ret void
}

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

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

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

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

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

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

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