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

; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Justification" = type { i32 }
%"class.juce::ComboBox" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::Label::Listener", %"class.juce::Value::Listener", %"class.juce::AsyncUpdater", %"class.juce::PopupMenu", %"class.juce::Value", i32, i8, i8, i8, i8, float, [4 x i8], %"class.juce::ListenerList.244", %"class.juce::ScopedPointer.250", %"class.juce::String", %"class.juce::String", i32, [4 x i8] }>
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::Label::Listener" = type { ptr }
%"class.juce::Value::Listener" = type { ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::PopupMenu" = type { %"class.juce::OwnedArray.239", %"class.juce::WeakReference.37" }
%"class.juce::OwnedArray.239" = type { %"class.juce::ArrayAllocationBase.240", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.240" = type <{ %"class.juce::HeapBlock.241", i32, [4 x i8] }>
%"class.juce::HeapBlock.241" = type { ptr }
%"class.juce::WeakReference.37" = type { %"class.juce::ReferenceCountedObjectPtr.38" }
%"class.juce::ReferenceCountedObjectPtr.38" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.116", %"class.juce::ListenerList.117" }
%"class.juce::ReferenceCountedObjectPtr.116" = type { ptr }
%"class.juce::ListenerList.117" = type { %"class.juce::Array.118" }
%"class.juce::Array.118" = type { %"class.juce::ArrayAllocationBase.119", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.119" = type <{ %"class.juce::HeapBlock.120", i32, [4 x i8] }>
%"class.juce::HeapBlock.120" = type { ptr }
%"class.juce::ListenerList.244" = type { %"class.juce::Array.245" }
%"class.juce::Array.245" = type { %"class.juce::ArrayAllocationBase.246", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.246" = type <{ %"class.juce::HeapBlock.247", i32, [4 x i8] }>
%"class.juce::HeapBlock.247" = type { ptr }
%"class.juce::ScopedPointer.250" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef, i32 noundef) #0

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZNK4juce9Component9getBoundsEv(ptr noundef nonnull align 8 dereferenceable(197)) #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE7reducedEii(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) #0 align 2

; Function Attrs: nounwind
declare void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: nounwind
declare noundef float @_ZNK4juce4Font9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Font") align 8, ptr noundef nonnull align 8 dereferenceable(364)) #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce5Label7getTextEb(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(364), i1 noundef zeroext) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5Label20getJustificationTypeEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Justification") align 4, ptr noundef nonnull align 8 dereferenceable(364)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8ComboBox5paintERNS_8GraphicsE(ptr noundef nonnull align 8 dereferenceable(380) %0, ptr noundef nonnull align 8 dereferenceable(17) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::String", align 8
  %6 = alloca i1, align 1
  %7 = alloca i1, align 1
  %8 = alloca %"class.juce::Colour", align 1
  %9 = alloca %"class.juce::Colour", align 1
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %"class.juce::Font", align 8
  %13 = alloca %"class.juce::Rectangle", align 4
  %14 = alloca %"class.juce::Justification", align 4
  %15 = alloca %"class.juce::Font", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %16 = load ptr, ptr %3, align 8
  %17 = call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %16) #6
  %18 = getelementptr inbounds i8, ptr %17, i64 72
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %16) #6
  %21 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %16) #6
  %22 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 9
  %23 = load i8, ptr %22, align 4, !tbaa !9, !range !63, !noundef !64
  %24 = trunc i8 %23 to i1
  %25 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %26 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #6
  %27 = call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %26) #6
  %28 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %16) #6
  %29 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %30 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %31 = call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %30) #6
  %32 = sub nsw i32 %28, %31
  %33 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %16) #6
  %34 = load ptr, ptr %18, align 8, !tbaa !65
  %35 = getelementptr inbounds ptr, ptr %34, i64 2
  %36 = load ptr, ptr %35, align 8
  call void %36(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull align 8 dereferenceable(17) %19, i32 noundef %20, i32 noundef %21, i1 noundef zeroext %24, i32 noundef %27, i32 noundef 0, i32 noundef %32, i32 noundef %33, ptr noundef nonnull align 8 dereferenceable(380) %16)
  %37 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 17
  %38 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %37) #6
  store i1 false, ptr %6, align 1
  store i1 false, ptr %7, align 1
  br i1 %38, label %39, label %48

39:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  store i1 true, ptr %6, align 1
  %40 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %41 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  call void @_ZNK4juce5Label7getTextEb(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %5, ptr noundef nonnull align 8 dereferenceable(364) %41, i1 noundef zeroext false)
  store i1 true, ptr %7, align 1
  %42 = call noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %42, label %43, label %48

43:                                               ; preds = %39
  %44 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %45 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #6
  %46 = call noundef zeroext i1 @_ZNK4juce5Label13isBeingEditedEv(ptr noundef nonnull align 8 dereferenceable(364) %45) #6
  %47 = xor i1 %46, true
  br label %48

48:                                               ; preds = %43, %39, %2
  %49 = phi i1 [ false, %39 ], [ false, %2 ], [ %47, %43 ]
  %50 = load i1, ptr %7, align 1
  br i1 %50, label %51, label %52

51:                                               ; preds = %48
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br label %52

52:                                               ; preds = %51, %48
  %53 = load i1, ptr %6, align 1
  br i1 %53, label %54, label %55

54:                                               ; preds = %52
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %55

55:                                               ; preds = %54, %52
  br i1 %49, label %56, label %94

56:                                               ; preds = %55
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %9, ptr noundef nonnull align 8 dereferenceable(197) %16, i32 noundef 16779776, i1 noundef zeroext false)
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind writable sret(%"class.juce::Colour") align 1 %8, ptr noundef nonnull align 1 dereferenceable(4) %9, float noundef 5.000000e-01) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %57, ptr noundef %8)
          to label %58 unwind label %82

58:                                               ; preds = %56
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %59 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %60 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %61 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %60) #6
  call void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind writable sret(%"class.juce::Font") align 8 %12, ptr noundef nonnull align 8 dereferenceable(364) %61) #6
  invoke void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17) %59, ptr noundef nonnull align 8 dereferenceable(8) %12)
          to label %62 unwind label %86

62:                                               ; preds = %58
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 17
  %65 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %66 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #6
  %67 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK4juce9Component9getBoundsEv(ptr noundef nonnull align 8 dereferenceable(197) %66) #6
  call void @_ZNK4juce9RectangleIiE7reducedEii(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %67, i32 noundef 2, i32 noundef 1) #6
  %68 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %69 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %68) #6
  call void @_ZNK4juce5Label20getJustificationTypeEv(ptr dead_on_unwind writable sret(%"class.juce::Justification") align 4 %14, ptr noundef nonnull align 8 dereferenceable(364) %69) #6
  %70 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %71 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %70) #6
  %72 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %71) #6
  %73 = sitofp i32 %72 to float
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %74 = getelementptr inbounds %"class.juce::ComboBox", ptr %16, i32 0, i32 16
  %75 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %74) #6
  call void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind writable sret(%"class.juce::Font") align 8 %15, ptr noundef nonnull align 8 dereferenceable(364) %75) #6
  %76 = call noundef float @_ZNK4juce4Font9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  %77 = fdiv float %73, %76
  %78 = fptosi float %77 to i32
  %79 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 1, i32 noundef %78)
          to label %80 unwind label %90

80:                                               ; preds = %62
  invoke void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17) %63, ptr noundef nonnull align 8 dereferenceable(8) %64, ptr noundef %13, ptr noundef %14, i32 noundef %79, float noundef 0.000000e+00)
          to label %81 unwind label %90

81:                                               ; preds = %80
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  br label %94

82:                                               ; preds = %56
  %83 = landingpad { ptr, i32 }
          cleanup
  %84 = extractvalue { ptr, i32 } %83, 0
  store ptr %84, ptr %10, align 8
  %85 = extractvalue { ptr, i32 } %83, 1
  store i32 %85, ptr %11, align 4
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %8) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  br label %95

86:                                               ; preds = %58
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %11, align 4
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  br label %95

90:                                               ; preds = %80, %62
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %10, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %11, align 4
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  br label %95

94:                                               ; preds = %81, %55
  ret void

95:                                               ; preds = %90, %86, %82
  %96 = load ptr, ptr %10, align 8
  %97 = load i32, ptr %11, align 4
  %98 = insertvalue { ptr, i32 } poison, ptr %96, 0
  %99 = insertvalue { ptr, i32 } %98, i32 %97, 1
  resume { ptr, i32 } %99
}

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { inlinehint 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, !55, i64 316}
!10 = !{!"_ZTSN4juce8ComboBoxE", !11, i64 0, !37, i64 200, !39, i64 216, !40, i64 224, !41, i64 232, !43, i64 248, !49, i64 280, !17, i64 312, !55, i64 316, !55, i64 317, !55, i64 318, !56, i64 320, !57, i64 328, !61, i64 352, !13, i64 360, !13, i64 368, !62, i64 376}
!11 = !{!"_ZTSN4juce9ComponentE", !12, i64 0, !13, i64 8, !13, i64 16, !6, i64 24, !15, i64 32, !18, i64 48, !19, i64 56, !20, i64 64, !6, i64 88, !23, i64 96, !6, i64 104, !24, i64 112, !25, i64 120, !26, i64 128, !27, i64 136, !31, i64 160, !35, i64 184, !7, i64 192, !7, i64 196}
!12 = !{!"_ZTSN4juce13MouseListenerE"}
!13 = !{!"_ZTSN4juce6StringE", !14, i64 0}
!14 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!15 = !{!"_ZTSN4juce9RectangleIiEE", !16, i64 0, !17, i64 8, !17, i64 12}
!16 = !{!"_ZTSN4juce5PointIiEE", !17, i64 0, !17, i64 4}
!17 = !{!"int", !7, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !21, i64 0, !17, i64 16}
!21 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !22, i64 0, !17, i64 8}
!22 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!23 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !28, i64 0}
!28 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !29, i64 0, !17, i64 16}
!29 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !30, i64 0, !17, i64 8}
!30 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!31 = !{!"_ZTSN4juce13NamedValueSetE", !32, i64 0}
!32 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !33, i64 0, !17, i64 16}
!33 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !34, i64 0, !17, i64 8}
!34 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!35 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !36, i64 0}
!36 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!37 = !{!"_ZTSN4juce21SettableTooltipClientE", !38, i64 0, !13, i64 8}
!38 = !{!"_ZTSN4juce13TooltipClientE"}
!39 = !{!"_ZTSN4juce5Label8ListenerE"}
!40 = !{!"_ZTSN4juce5Value8ListenerE"}
!41 = !{!"_ZTSN4juce12AsyncUpdaterE", !42, i64 8}
!42 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!43 = !{!"_ZTSN4juce9PopupMenuE", !44, i64 0, !47, i64 24}
!44 = !{!"_ZTSN4juce10OwnedArrayINS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !45, i64 0, !17, i64 16}
!45 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !46, i64 0, !17, i64 8}
!46 = !{!"_ZTSN4juce9HeapBlockIPNS_9PopupMenu4ItemELb0EEE", !6, i64 0}
!47 = !{!"_ZTSN4juce13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEEE", !48, i64 0}
!48 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!49 = !{!"_ZTSN4juce5ValueE", !50, i64 0, !51, i64 8}
!50 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !6, i64 0}
!51 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !52, i64 0}
!52 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !53, i64 0, !17, i64 16}
!53 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !54, i64 0, !17, i64 8}
!54 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !6, i64 0}
!55 = !{!"bool", !7, i64 0}
!56 = !{!"float", !7, i64 0}
!57 = !{!"_ZTSN4juce12ListenerListINS_8ComboBox8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !58, i64 0}
!58 = !{!"_ZTSN4juce5ArrayIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionELi0EEE", !59, i64 0, !17, i64 16}
!59 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionEEE", !60, i64 0, !17, i64 8}
!60 = !{!"_ZTSN4juce9HeapBlockIPNS_8ComboBox8ListenerELb0EEE", !6, i64 0}
!61 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !6, i64 0}
!62 = !{!"_ZTSN4juce8ComboBox13EditableStateE", !7, i64 0}
!63 = !{i8 0, i8 2}
!64 = !{}
!65 = !{!66, !66, i64 0}
!66 = !{!"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Justification" = type { i32 }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

; 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 nonnull align 4 dereferenceable(16) ptr @_ZNK4juce9Component9getBoundsEv(ptr noundef nonnull align 8 dereferenceable(197)) local_unnamed_addr #0 align 2

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce9RectangleIiE7reducedEii(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: nounwind
declare void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) 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 @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: nounwind
declare noundef float @_ZNK4juce4Font9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Font") align 8, ptr noundef nonnull align 8 dereferenceable(364)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce5Label7getTextEb(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(364), i1 noundef zeroext) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce5Label20getJustificationTypeEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Justification") align 4, ptr noundef nonnull align 8 dereferenceable(364)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce8ComboBox5paintERNS_8GraphicsE(ptr noundef nonnull align 8 dereferenceable(380) %0, ptr noundef nonnull align 8 dereferenceable(17) %1) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::String", align 8
  %4 = alloca %"class.juce::Colour", align 1
  %5 = alloca %"class.juce::Colour", align 1
  %6 = alloca %"class.juce::Font", align 8
  %7 = alloca %"class.juce::Rectangle", align 4
  %8 = alloca %"class.juce::Justification", align 4
  %9 = alloca %"class.juce::Font", align 8
  %10 = tail call noundef nonnull align 8 dereferenceable(281) ptr @_ZNK4juce9Component14getLookAndFeelEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %11 = getelementptr inbounds i8, ptr %10, i64 72
  %12 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %13 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %14 = getelementptr inbounds i8, ptr %0, i64 316
  %15 = load i8, ptr %14, align 4, !tbaa !5, !range !62, !noundef !63
  %16 = trunc nuw i8 %15 to i1
  %17 = getelementptr inbounds i8, ptr %0, i64 352
  %18 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %19 = tail call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %18) #6
  %20 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %21 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %22 = tail call noundef i32 @_ZNK4juce9Component8getRightEv(ptr noundef nonnull align 8 dereferenceable(197) %21) #6
  %23 = sub nsw i32 %20, %22
  %24 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %25 = load ptr, ptr %11, align 8, !tbaa !64
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %27 = load ptr, ptr %26, align 8
  tail call void %27(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef nonnull align 8 dereferenceable(17) %1, i32 noundef %12, i32 noundef %13, i1 noundef zeroext %16, i32 noundef %19, i32 noundef 0, i32 noundef %23, i32 noundef %24, ptr noundef nonnull align 8 dereferenceable(380) %0)
  %28 = getelementptr inbounds i8, ptr %0, i64 360
  %29 = tail call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  br i1 %29, label %30, label %.critedge.thread

30:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  %31 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNK4juce5Label7getTextEb(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %3, ptr noundef nonnull align 8 dereferenceable(364) %31, i1 noundef zeroext false)
  %32 = call noundef zeroext i1 @_ZNK4juce6String7isEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %32, label %.critedge, label %.critedge.thread12

.critedge.thread12:                               ; preds = %30
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br label %.critedge.thread

.critedge:                                        ; preds = %30
  %33 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %34 = call noundef zeroext i1 @_ZNK4juce5Label13isBeingEditedEv(ptr noundef nonnull align 8 dereferenceable(364) %33) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  br i1 %34, label %.critedge.thread, label %35

35:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  call void @_ZNK4juce9Component10findColourEib(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %5, ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef 16779776, i1 noundef zeroext false)
  call void @_ZNK4juce6Colour19withMultipliedAlphaEf(ptr dead_on_unwind nonnull writable sret(%"class.juce::Colour") align 1 %4, ptr noundef nonnull align 1 dereferenceable(4) %5, float noundef 5.000000e-01) #6
  invoke void @_ZN4juce8Graphics9setColourENS_6ColourE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull %4)
          to label %36 unwind label %51

36:                                               ; preds = %35
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %37 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Font") align 8 %6, ptr noundef nonnull align 8 dereferenceable(364) %37) #6
  invoke void @_ZN4juce8Graphics7setFontERKNS_4FontE(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %38 unwind label %53

38:                                               ; preds = %36
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  %39 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %40 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZNK4juce9Component9getBoundsEv(ptr noundef nonnull align 8 dereferenceable(197) %39) #6
  call void @_ZNK4juce9RectangleIiE7reducedEii(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %7, ptr noundef nonnull align 4 dereferenceable(16) %40, i32 noundef 2, i32 noundef 1) #6
  %41 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNK4juce5Label20getJustificationTypeEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Justification") align 4 %8, ptr noundef nonnull align 8 dereferenceable(364) %41) #6
  %42 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  %43 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %42) #6
  %44 = sitofp i32 %43 to float
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  %45 = call noundef ptr @_ZNK4juce13ScopedPointerINS_5LabelEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %17) #6
  call void @_ZNK4juce5Label7getFontEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Font") align 8 %9, ptr noundef nonnull align 8 dereferenceable(364) %45) #6
  %46 = call noundef float @_ZNK4juce4Font9getHeightEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  %47 = fdiv float %44, %46
  %48 = fptosi float %47 to i32
  %49 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 1, i32 noundef %48)
  invoke void @_ZNK4juce8Graphics14drawFittedTextERKNS_6StringENS_9RectangleIiEENS_13JustificationEif(ptr noundef nonnull align 8 dereferenceable(17) %1, ptr noundef nonnull align 8 dereferenceable(8) %28, ptr noundef nonnull %7, ptr noundef nonnull %8, i32 noundef %49, float noundef 0.000000e+00)
          to label %50 unwind label %55

50:                                               ; preds = %38
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  br label %.critedge.thread

51:                                               ; preds = %35
  %52 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %4) #6
  call void @_ZN4juce6ColourD1Ev(ptr noundef nonnull align 1 dereferenceable(4) %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  br label %57

53:                                               ; preds = %36
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  br label %57

55:                                               ; preds = %38
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FontD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  br label %57

.critedge.thread:                                 ; preds = %2, %.critedge.thread12, %50, %.critedge
  ret void

57:                                               ; preds = %55, %53, %51
  %.pn = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ], [ %52, %51 ]
  resume { ptr, i32 } %.pn
}

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #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 = { inlinehint 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, !54, i64 316}
!6 = !{!"_ZTSN4juce8ComboBoxE", !7, i64 0, !36, i64 200, !38, i64 216, !39, i64 224, !40, i64 232, !42, i64 248, !48, i64 280, !16, i64 312, !54, i64 316, !54, i64 317, !54, i64 318, !55, i64 320, !56, i64 328, !60, i64 352, !9, i64 360, !9, i64 368, !61, i64 376}
!7 = !{!"_ZTSN4juce9ComponentE", !8, i64 0, !9, i64 8, !9, i64 16, !11, i64 24, !14, i64 32, !17, i64 48, !18, i64 56, !19, i64 64, !11, i64 88, !22, i64 96, !11, i64 104, !23, i64 112, !24, i64 120, !25, i64 128, !26, i64 136, !30, i64 160, !34, i64 184, !12, i64 192, !12, i64 196}
!8 = !{!"_ZTSN4juce13MouseListenerE"}
!9 = !{!"_ZTSN4juce6StringE", !10, i64 0}
!10 = !{!"_ZTSN4juce16CharPointer_UTF8E", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"_ZTSN4juce9RectangleIiEE", !15, i64 0, !16, i64 8, !16, i64 12}
!15 = !{!"_ZTSN4juce5PointIiEE", !16, i64 0, !16, i64 4}
!16 = !{!"int", !12, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !11, i64 0}
!18 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !11, i64 0}
!19 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !20, i64 0, !16, i64 16}
!20 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !21, i64 0, !16, i64 8}
!21 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !11, i64 0}
!22 = !{!"_ZTSN4juce11MouseCursorE", !11, i64 0}
!23 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !11, i64 0}
!24 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !11, i64 0}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !11, i64 0}
!26 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !27, i64 0}
!27 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !28, i64 0, !16, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !29, i64 0, !16, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !11, i64 0}
!30 = !{!"_ZTSN4juce13NamedValueSetE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !16, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !33, i64 0, !16, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !11, i64 0}
!34 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !35, i64 0}
!35 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!36 = !{!"_ZTSN4juce21SettableTooltipClientE", !37, i64 0, !9, i64 8}
!37 = !{!"_ZTSN4juce13TooltipClientE"}
!38 = !{!"_ZTSN4juce5Label8ListenerE"}
!39 = !{!"_ZTSN4juce5Value8ListenerE"}
!40 = !{!"_ZTSN4juce12AsyncUpdaterE", !41, i64 8}
!41 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !11, i64 0}
!42 = !{!"_ZTSN4juce9PopupMenuE", !43, i64 0, !46, i64 24}
!43 = !{!"_ZTSN4juce10OwnedArrayINS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !44, i64 0, !16, i64 16}
!44 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9PopupMenu4ItemENS_20DummyCriticalSectionEEE", !45, i64 0, !16, i64 8}
!45 = !{!"_ZTSN4juce9HeapBlockIPNS_9PopupMenu4ItemELb0EEE", !11, i64 0}
!46 = !{!"_ZTSN4juce13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEEE", !47, i64 0}
!47 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_11LookAndFeelENS_22ReferenceCountedObjectEE13SharedPointerEEE", !11, i64 0}
!48 = !{!"_ZTSN4juce5ValueE", !49, i64 0, !50, i64 8}
!49 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_5Value11ValueSourceEEE", !11, i64 0}
!50 = !{!"_ZTSN4juce12ListenerListINS_5Value8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !51, i64 0}
!51 = !{!"_ZTSN4juce5ArrayIPNS_5Value8ListenerENS_20DummyCriticalSectionELi0EEE", !52, i64 0, !16, i64 16}
!52 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_5Value8ListenerENS_20DummyCriticalSectionEEE", !53, i64 0, !16, i64 8}
!53 = !{!"_ZTSN4juce9HeapBlockIPNS_5Value8ListenerELb0EEE", !11, i64 0}
!54 = !{!"bool", !12, i64 0}
!55 = !{!"float", !12, i64 0}
!56 = !{!"_ZTSN4juce12ListenerListINS_8ComboBox8ListenerENS_5ArrayIPS2_NS_20DummyCriticalSectionELi0EEEEE", !57, i64 0}
!57 = !{!"_ZTSN4juce5ArrayIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionELi0EEE", !58, i64 0, !16, i64 16}
!58 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_8ComboBox8ListenerENS_20DummyCriticalSectionEEE", !59, i64 0, !16, i64 8}
!59 = !{!"_ZTSN4juce9HeapBlockIPNS_8ComboBox8ListenerELb0EEE", !11, i64 0}
!60 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !11, i64 0}
!61 = !{!"_ZTSN4juce8ComboBox13EditableStateE", !12, i64 0}
!62 = !{i8 0, i8 2}
!63 = !{}
!64 = !{!65, !65, i64 0}
!65 = !{!"vtable pointer", !13, i64 0}


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