; 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::Justification" = type { 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: 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 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: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197)) #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #1 align 2

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

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

declare void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) #3

declare void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) #3

declare void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringEiiiiNS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef, float noundef) #1

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

24:                                               ; preds = %5
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %11, ptr noundef nonnull align 8 dereferenceable(197) %26, i32 noundef 16777734, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %25, ptr noundef %11)
          to label %27 unwind label %33

27:                                               ; preds = %24
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #5
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load ptr, ptr %8, align 8, !tbaa !5
  %30 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %29) #5
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  %32 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %31) #5
  call void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17) %28, i32 noundef 0, i32 noundef 0, i32 noundef %30, i32 noundef %32, i32 noundef 1)
  br label %37

33:                                               ; preds = %24
  %34 = landingpad { ptr, i32 }
          cleanup
  %35 = extractvalue { ptr, i32 } %34, 0
  store ptr %35, ptr %12, align 8
  %36 = extractvalue { ptr, i32 } %34, 1
  store i32 %36, ptr %13, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %11) #5
  br label %94

37:                                               ; preds = %27, %5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %38) #5
  %40 = sitofp i32 %39 to float
  %41 = fmul float %40, 7.500000e-01
  %42 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 1.500000e+01, float noundef %41)
  store float %42, ptr %14, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %43 = load float, ptr %14, align 4, !tbaa !11
  %44 = fmul float %43, 0x3FF19999A0000000
  store float %44, ptr %15, align 4, !tbaa !11
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = load ptr, ptr %8, align 8, !tbaa !5
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %47) #5
  %49 = sitofp i32 %48 to float
  %50 = load float, ptr %15, align 4, !tbaa !11
  %51 = fsub float %49, %50
  %52 = fmul float %51, 5.000000e-01
  %53 = load float, ptr %15, align 4, !tbaa !11
  %54 = load float, ptr %15, align 4, !tbaa !11
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = call noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375) %55) #5
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %57) #5
  %59 = load i8, ptr %9, align 1, !tbaa !9, !range !13, !noundef !14
  %60 = trunc i8 %59 to i1
  %61 = load i8, ptr %10, align 1, !tbaa !9, !range !13, !noundef !14
  %62 = trunc i8 %61 to i1
  %63 = load ptr, ptr %21, align 8, !tbaa !15
  %64 = getelementptr inbounds ptr, ptr %63, i64 23
  %65 = load ptr, ptr %64, align 8
  call void %65(ptr noundef nonnull align 8 dereferenceable(304) %21, ptr noundef nonnull align 8 dereferenceable(17) %45, ptr noundef nonnull align 8 dereferenceable(197) %46, float noundef 4.000000e+00, float noundef %52, float noundef %53, float noundef %54, i1 noundef zeroext %56, i1 noundef zeroext %58, i1 noundef zeroext %60, i1 noundef zeroext %62)
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %16, ptr noundef nonnull align 8 dereferenceable(197) %67, i32 noundef 16803073, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %66, ptr noundef %16)
          to label %68 unwind label %75

68:                                               ; preds = %37
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #5
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = load float, ptr %14, align 4, !tbaa !11
  call void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %69, float noundef %70)
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %71) #5
  br i1 %72, label %79, label %73

73:                                               ; preds = %68
  %74 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17) %74, float noundef 5.000000e-01)
  br label %79

75:                                               ; preds = %37
  %76 = landingpad { ptr, i32 }
          cleanup
  %77 = extractvalue { ptr, i32 } %76, 0
  store ptr %77, ptr %12, align 8
  %78 = extractvalue { ptr, i32 } %76, 1
  store i32 %78, ptr %13, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %94

79:                                               ; preds = %73, %68
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %80 = load float, ptr %15, align 4, !tbaa !11
  %81 = fptosi float %80 to i32
  %82 = add nsw i32 %81, 5
  store i32 %82, ptr %17, align 4, !tbaa !17
  %83 = load ptr, ptr %7, align 8, !tbaa !5
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce6Button13getButtonTextEv(ptr noundef nonnull align 8 dereferenceable(375) %84)
  %86 = load i32, ptr %17, align 4, !tbaa !17
  %87 = load ptr, ptr %8, align 8, !tbaa !5
  %88 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %87) #5
  %89 = load i32, ptr %17, align 4, !tbaa !17
  %90 = sub nsw i32 %88, %89
  %91 = sub nsw i32 %90, 2
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %92) #5
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %18, i32 noundef 33) #5
  call void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringEiiiiNS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17) %83, ptr noundef nonnull align 8 dereferenceable(8) %85, i32 noundef %86, i32 noundef 0, i32 noundef %91, i32 noundef %93, ptr noundef %18, i32 noundef 10, float noundef 0.000000e+00)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  ret void

94:                                               ; preds = %75, %33
  %95 = load ptr, ptr %12, align 8
  %96 = load i32, ptr %13, align 4
  %97 = insertvalue { ptr, i32 } poison, ptr %95, 0
  %98 = insertvalue { ptr, i32 } %97, i32 %96, 1
  resume { ptr, i32 } %98
}

declare void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

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 = { 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 = { "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 = { 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 #5 = { 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 = !{!"float", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"vtable pointer", !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"int", !7, i64 0}


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

%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::Justification" = type { i32 }

declare i32 @__gxx_personality_v0(...)

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

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

; 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 #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 #0 align 2

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

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

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

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

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

declare void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) local_unnamed_addr #2

declare void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17), float noundef) local_unnamed_addr #2

declare void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringEiiiiNS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef, float noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce14LookAndFeel_V216drawToggleButtonERNS_8GraphicsERNS_12ToggleButtonEbb(ptr noundef nonnull align 8 dereferenceable(304) %0, ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(375) %2, i1 noundef zeroext %3, i1 noundef zeroext %4) unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.juce::Colour", align 1
  %7 = alloca %"class.juce::Colour", align 1
  %8 = alloca %"class.juce::Justification", align 4
  %9 = tail call noundef zeroext i1 @_ZNK4juce9Component16hasKeyboardFocusEb(ptr noundef nonnull align 8 dereferenceable(197) %2, i1 noundef zeroext true)
  br i1 %9, label %10, label %16

10:                                               ; preds = %5
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %6, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16777734, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %6)
          to label %11 unwind label %14

11:                                               ; preds = %10
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %6) #4
  %12 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  %13 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  call void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef 0, i32 noundef 0, i32 noundef %12, i32 noundef %13, i32 noundef 1)
  br label %16

14:                                               ; preds = %10
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %43

16:                                               ; preds = %11, %5
  %17 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  %18 = sitofp i32 %17 to float
  %19 = fmul float %18, 7.500000e-01
  %20 = call noundef float @_ZN4juce4jminIfEET_S1_S1_(float noundef 1.500000e+01, float noundef %19)
  %21 = fmul float %20, 0x3FF19999A0000000
  %22 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  %23 = sitofp i32 %22 to float
  %24 = fsub float %23, %21
  %25 = fmul float %24, 5.000000e-01
  %26 = call noundef zeroext i1 @_ZNK4juce6Button14getToggleStateEv(ptr noundef nonnull align 8 dereferenceable(375) %2) #4
  %27 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 184
  %30 = load ptr, ptr %29, align 8
  call void %30(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 4.000000e+00, float noundef %25, float noundef %21, float noundef %21, i1 noundef zeroext %26, i1 noundef zeroext %27, i1 noundef zeroext %3, i1 noundef zeroext %4)
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %7, ptr noundef nonnull align 8 dereferenceable(197) %2, i32 noundef 16803073, i1 noundef zeroext false)
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %7)
          to label %31 unwind label %34

31:                                               ; preds = %16
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %7) #4
  call void @_ZN4juce8Graphics7setFontEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef %20)
  %32 = call noundef zeroext i1 @_ZNK4juce9Component9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  br i1 %32, label %36, label %33

33:                                               ; preds = %31
  call void @_ZN4juce8Graphics10setOpacityEf(ptr noundef nonnull align 8 dereferenceable(17) %1, float noundef 5.000000e-01)
  br label %36

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

36:                                               ; preds = %33, %31
  %37 = fptosi float %21 to i32
  %38 = add nsw i32 %37, 5
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce6Button13getButtonTextEv(ptr noundef nonnull align 8 dereferenceable(375) %2)
  %40 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  %reass.sub = sub i32 %40, %37
  %41 = add i32 %reass.sub, -7
  %42 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %2) #4
  call void @_ZN4juce13JustificationC2Ei(ptr noundef nonnull align 4 dereferenceable(4) %8, i32 noundef 33) #4
  call void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringEiiiiNS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %39, i32 noundef %38, i32 noundef 0, i32 noundef %41, i32 noundef %42, ptr noundef nonnull %8, i32 noundef 10, float noundef 0.000000e+00)
  ret void

43:                                               ; preds = %34, %14
  %.sink = phi ptr [ %7, %34 ], [ %6, %14 ]
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %15, %14 ]
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %.sink) #4
  resume { ptr, i32 } %.pn
}

declare void @_ZNK4juce8Graphics8drawRectEiiiii(ptr noundef nonnull align 8 dereferenceable(17), i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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