; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_audio_utils)

; 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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::AudioDeviceSelectorComponent" = type { %"class.juce::Component.base", %"class.juce::ComboBox::Listener", %"class.juce::ChangeListener", %"class.juce::Button::Listener", %"class.juce::Timer", ptr, %"class.juce::ScopedPointer.14", %"class.juce::ScopedPointer.15", %"class.juce::ScopedPointer.16", %"class.juce::String", i32, i32, i32, i32, i32, i8, i8, %"class.juce::ScopedPointer.17", %"class.juce::ScopedPointer.14", %"class.juce::ScopedPointer.15", %"class.juce::ScopedPointer.15", %"class.juce::ScopedPointer.18" }
%"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::ComboBox::Listener" = type { ptr }
%"class.juce::ChangeListener" = type { ptr }
%"class.juce::Button::Listener" = type { ptr }
%"class.juce::Timer" = type { ptr, i32, i32, ptr, ptr }
%"class.juce::ScopedPointer.16" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::ScopedPointer.17" = type { ptr }
%"class.juce::ScopedPointer.14" = type { ptr }
%"class.juce::ScopedPointer.15" = type { ptr }
%"class.juce::ScopedPointer.18" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce28AudioDeviceSelectorComponent7resizedEv(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.juce::Rectangle", align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.juce::Rectangle", align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.juce::Rectangle", align 4
  %9 = alloca %"class.juce::Rectangle", align 4
  %10 = alloca %"class.juce::Rectangle", align 4
  %11 = alloca %"class.juce::Rectangle", align 4
  %12 = alloca %"class.juce::Rectangle", align 4
  %13 = alloca %"class.juce::Rectangle", align 4
  %14 = alloca %"class.juce::Rectangle", align 4
  %15 = alloca %"class.juce::Rectangle", align 4
  %16 = alloca %"class.juce::Rectangle", align 4
  %17 = alloca %"class.juce::Rectangle", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #6
  %19 = call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %18, float noundef 0x3FD6666660000000) #6
  %20 = call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %18, float noundef 0x3FE3333340000000) #6
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %19, i32 noundef 15, i32 noundef %20, i32 noundef 3000) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  %21 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 10
  %22 = load i32, ptr %21, align 8, !tbaa !9
  %23 = sdiv i32 %22, 4
  store i32 %23, ptr %4, align 4, !tbaa !47
  %24 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 6
  %25 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %24) #6
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %39

27:                                               ; preds = %1
  %28 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 6
  %29 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %28) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %30 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 10
  %31 = load i32, ptr %30, align 8, !tbaa !9
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %31) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %29, ptr noundef nonnull align 4 dereferenceable(16) %5)
          to label %32 unwind label %35

32:                                               ; preds = %27
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  %33 = load i32, ptr %4, align 4, !tbaa !47
  %34 = mul nsw i32 %33, 3
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %8, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %34) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  br label %39

35:                                               ; preds = %27
  %36 = landingpad { ptr, i32 }
          cleanup
  %37 = extractvalue { ptr, i32 } %36, 0
  store ptr %37, ptr %6, align 8
  %38 = extractvalue { ptr, i32 } %36, 1
  store i32 %38, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  br label %129

39:                                               ; preds = %32, %1
  %40 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 8
  %41 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %40) #6
  %42 = icmp ne ptr %41, null
  br i1 %42, label %43, label %66

43:                                               ; preds = %39
  %44 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 8
  %45 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %44) #6
  %46 = load ptr, ptr %45, align 8, !tbaa !48
  %47 = getelementptr inbounds ptr, ptr %46, i64 34
  %48 = load ptr, ptr %47, align 8
  invoke void %48(ptr noundef nonnull align 8 dereferenceable(197) %45)
          to label %49 unwind label %58

49:                                               ; preds = %43
  %50 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 8
  %51 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %50) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #6
  %52 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 8
  %53 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %52) #6
  %54 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %53) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %54) #6
  call void @_ZNK4juce9RectangleIiE5withXEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %10, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef 0) #6
  %55 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %18) #6
  call void @_ZNK4juce9RectangleIiE9withWidthEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %55) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %51, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %56 unwind label %62

56:                                               ; preds = %49
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  %57 = load i32, ptr %4, align 4, !tbaa !47
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %12, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %57) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  br label %66

58:                                               ; preds = %43
  %59 = landingpad { ptr, i32 }
          cleanup
  %60 = extractvalue { ptr, i32 } %59, 0
  store ptr %60, ptr %6, align 8
  %61 = extractvalue { ptr, i32 } %59, 1
  store i32 %61, ptr %7, align 4
  br label %129

62:                                               ; preds = %49
  %63 = landingpad { ptr, i32 }
          cleanup
  %64 = extractvalue { ptr, i32 } %63, 0
  store ptr %64, ptr %6, align 8
  %65 = extractvalue { ptr, i32 } %63, 1
  store i32 %65, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #6
  br label %129

66:                                               ; preds = %56, %39
  %67 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 17
  %68 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEcvPS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %67) #6
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %101

70:                                               ; preds = %66
  %71 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 17
  %72 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %71) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #6
  %73 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 17
  %74 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %73) #6
  %75 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 10
  %76 = load i32, ptr %75, align 8, !tbaa !9
  %77 = mul nsw i32 %76, 8
  %78 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %18) #6
  %79 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %3) #6
  %80 = sub nsw i32 %78, %79
  %81 = load i32, ptr %4, align 4, !tbaa !47
  %82 = sub nsw i32 %80, %81
  %83 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 10
  %84 = load i32, ptr %83, align 8, !tbaa !9
  %85 = sub nsw i32 %82, %84
  %86 = invoke noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %77, i32 noundef %85)
          to label %87 unwind label %92

87:                                               ; preds = %70
  %88 = invoke noundef i32 @_ZN4juce28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBox13getBestHeightEi(ptr noundef nonnull align 8 dereferenceable(344) %74, i32 noundef %86)
          to label %89 unwind label %92

89:                                               ; preds = %87
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %88) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %72, ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %90 unwind label %96

90:                                               ; preds = %89
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  %91 = load i32, ptr %4, align 4, !tbaa !47
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %14, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %91) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %14) #6
  br label %101

92:                                               ; preds = %87, %70
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %6, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %7, align 4
  br label %100

96:                                               ; preds = %89
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %6, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  br label %100

100:                                              ; preds = %96, %92
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #6
  br label %129

101:                                              ; preds = %90, %66
  %102 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 21
  %103 = call noundef ptr @_ZNK4juce13ScopedPointerINS_10TextButtonEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %102) #6
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %114

105:                                              ; preds = %101
  %106 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 21
  %107 = call noundef ptr @_ZNK4juce13ScopedPointerINS_10TextButtonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %106) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %15, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef 24) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %107, ptr noundef nonnull align 4 dereferenceable(16) %15)
          to label %108 unwind label %110

108:                                              ; preds = %105
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  %109 = load i32, ptr %4, align 4, !tbaa !47
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %16, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %109) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %16) #6
  br label %114

110:                                              ; preds = %105
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %6, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #6
  br label %129

114:                                              ; preds = %108, %101
  %115 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 18
  %116 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %115) #6
  %117 = icmp ne ptr %116, null
  br i1 %117, label %118, label %128

118:                                              ; preds = %114
  %119 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 18
  %120 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %119) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #6
  %121 = getelementptr inbounds %"class.juce::AudioDeviceSelectorComponent", ptr %18, i32 0, i32 10
  %122 = load i32, ptr %121, align 8, !tbaa !9
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %17, ptr noundef nonnull align 4 dereferenceable(16) %3, i32 noundef %122) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %120, ptr noundef nonnull align 4 dereferenceable(16) %17)
          to label %123 unwind label %124

123:                                              ; preds = %118
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %128

124:                                              ; preds = %118
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %6, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %7, align 4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #6
  br label %129

128:                                              ; preds = %123, %114
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  ret void

129:                                              ; preds = %124, %110, %100, %62, %58, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #6
  br label %130

130:                                              ; preds = %129
  %131 = load ptr, ptr %6, align 8
  %132 = load i32, ptr %7, align 4
  %133 = insertvalue { ptr, i32 } poison, ptr %131, 0
  %134 = insertvalue { ptr, i32 } %133, i32 %132, 1
  resume { ptr, i32 } %134
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) #3

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

declare void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 4 dereferenceable(16)) #5

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4juce28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBox13getBestHeightEi(ptr noundef nonnull align 8 dereferenceable(344), i32 noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16)) #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !17, i64 296}
!10 = !{!"_ZTSN4juce28AudioDeviceSelectorComponentE", !11, i64 0, !37, i64 200, !38, i64 208, !39, i64 216, !40, i64 224, !6, i64 256, !41, i64 264, !42, i64 272, !43, i64 280, !13, i64 288, !17, i64 296, !17, i64 300, !17, i64 304, !17, i64 308, !17, i64 312, !44, i64 316, !44, i64 317, !45, i64 320, !41, i64 328, !42, i64 336, !42, i64 344, !46, i64 352}
!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 = !{!"_ZTSN4juce8ComboBox8ListenerE"}
!38 = !{!"_ZTSN4juce14ChangeListenerE"}
!39 = !{!"_ZTSN4juce6Button8ListenerE"}
!40 = !{!"_ZTSN4juce5TimerE", !17, i64 8, !17, i64 12, !6, i64 16, !6, i64 24}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_8ComboBoxEEE", !6, i64 0}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !6, i64 0}
!43 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !6, i64 0}
!44 = !{!"bool", !7, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEE", !6, i64 0}
!46 = !{!"_ZTSN4juce13ScopedPointerINS_10TextButtonEEE", !6, i64 0}
!47 = !{!17, !17, i64 0}
!48 = !{!49, !49, i64 0}
!49 = !{!"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce28AudioDeviceSelectorComponent7resizedEv(ptr noundef nonnull align 8 dereferenceable(360) %0) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::Rectangle", align 4
  %3 = alloca %"class.juce::Rectangle", align 4
  %4 = alloca %"class.juce::Rectangle", align 4
  %5 = alloca %"class.juce::Rectangle", align 4
  %6 = alloca %"class.juce::Rectangle", align 4
  %7 = alloca %"class.juce::Rectangle", align 4
  %8 = alloca %"class.juce::Rectangle", align 4
  %9 = alloca %"class.juce::Rectangle", align 4
  %10 = alloca %"class.juce::Rectangle", align 4
  %11 = alloca %"class.juce::Rectangle", align 4
  %12 = alloca %"class.juce::Rectangle", align 4
  %13 = alloca %"class.juce::Rectangle", align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %14 = tail call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FD6666660000000) #6
  %15 = tail call noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197) %0, float noundef 0x3FE3333340000000) #6
  call void @_ZN4juce9RectangleIiEC2Eiiii(ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %14, i32 noundef 15, i32 noundef %15, i32 noundef 3000) #6
  %16 = getelementptr inbounds i8, ptr %0, i64 296
  %17 = load i32, ptr %16, align 8, !tbaa !5
  %18 = sdiv i32 %17, 4
  %19 = getelementptr inbounds i8, ptr %0, i64 264
  %20 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  %.not = icmp eq ptr %20, null
  br i1 %.not, label %28, label %21

21:                                               ; preds = %1
  %22 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #6
  %23 = load i32, ptr %16, align 8, !tbaa !5
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %3, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %23) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %22, ptr noundef nonnull align 4 dereferenceable(16) %3)
          to label %24 unwind label %26

24:                                               ; preds = %21
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  %25 = mul nsw i32 %18, 3
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %4, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %25) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %4) #6
  br label %28

26:                                               ; preds = %21
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #6
  br label %87

28:                                               ; preds = %24, %1
  %29 = getelementptr inbounds i8, ptr %0, i64 280
  %30 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %.not9 = icmp eq ptr %30, null
  br i1 %.not9, label %46, label %31

31:                                               ; preds = %28
  %32 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %33 = load ptr, ptr %32, align 8, !tbaa !46
  %34 = getelementptr inbounds i8, ptr %33, i64 272
  %35 = load ptr, ptr %34, align 8
  invoke void %35(ptr noundef nonnull align 8 dereferenceable(197) %32)
          to label %36 unwind label %42

36:                                               ; preds = %31
  %37 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  %38 = call noundef ptr @_ZNK4juce13ScopedPointerINS_9ComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %29) #6
  %39 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %38) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %7, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %39) #6
  call void @_ZNK4juce9RectangleIiE5withXEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %6, ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef 0) #6
  %40 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  call void @_ZNK4juce9RectangleIiE9withWidthEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %5, ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %40) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %37, ptr noundef nonnull align 4 dereferenceable(16) %5)
          to label %41 unwind label %44

41:                                               ; preds = %36
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %8, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %18) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8) #6
  br label %46

42:                                               ; preds = %31
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %87

44:                                               ; preds = %36
  %45 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #6
  br label %87

46:                                               ; preds = %41, %28
  %47 = getelementptr inbounds i8, ptr %0, i64 320
  %48 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEcvPS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  %.not10 = icmp eq ptr %48, null
  br i1 %.not10, label %69, label %49

49:                                               ; preds = %46
  %50 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  %51 = call noundef ptr @_ZNK4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %47) #6
  %52 = load i32, ptr %16, align 8, !tbaa !5
  %53 = shl nsw i32 %52, 3
  %54 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #6
  %55 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %2) #6
  %56 = load i32, ptr %16, align 8, !tbaa !5
  %57 = add i32 %18, %55
  %58 = add i32 %57, %56
  %59 = sub i32 %54, %58
  %60 = call noundef i32 @_ZN4juce4jminIiEET_S1_S1_(i32 noundef %53, i32 noundef %59)
  %61 = invoke noundef i32 @_ZN4juce28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBox13getBestHeightEi(ptr noundef nonnull align 8 dereferenceable(344) %51, i32 noundef %60)
          to label %62 unwind label %64

62:                                               ; preds = %49
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %61) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %50, ptr noundef nonnull align 4 dereferenceable(16) %9)
          to label %63 unwind label %66

63:                                               ; preds = %62
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %10, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %18) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10) #6
  br label %69

64:                                               ; preds = %49
  %65 = landingpad { ptr, i32 }
          cleanup
  br label %68

66:                                               ; preds = %62
  %67 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9) #6
  br label %68

68:                                               ; preds = %66, %64
  %.pn = phi { ptr, i32 } [ %67, %66 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  br label %87

69:                                               ; preds = %63, %46
  %70 = getelementptr inbounds i8, ptr %0, i64 352
  %71 = call noundef ptr @_ZNK4juce13ScopedPointerINS_10TextButtonEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %70) #6
  %.not12 = icmp eq ptr %71, null
  br i1 %.not12, label %77, label %72

72:                                               ; preds = %69
  %73 = call noundef ptr @_ZNK4juce13ScopedPointerINS_10TextButtonEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %70) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %11, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef 24) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %73, ptr noundef nonnull align 4 dereferenceable(16) %11)
          to label %74 unwind label %75

74:                                               ; preds = %72
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %12, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %18) #6
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %12) #6
  br label %77

75:                                               ; preds = %72
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %11) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  br label %87

77:                                               ; preds = %74, %69
  %78 = getelementptr inbounds i8, ptr %0, i64 328
  %79 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %78) #6
  %.not13 = icmp eq ptr %79, null
  br i1 %.not13, label %86, label %80

80:                                               ; preds = %77
  %81 = call noundef ptr @_ZNK4juce13ScopedPointerINS_8ComboBoxEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %78) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #6
  %82 = load i32, ptr %16, align 8, !tbaa !5
  call void @_ZN4juce9RectangleIiE13removeFromTopEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %13, ptr noundef nonnull align 4 dereferenceable(16) %2, i32 noundef %82) #6
  invoke void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197) %81, ptr noundef nonnull align 4 dereferenceable(16) %13)
          to label %83 unwind label %84

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

84:                                               ; preds = %80
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #6
  br label %87

86:                                               ; preds = %83, %77
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  ret void

87:                                               ; preds = %84, %75, %68, %44, %42, %26
  %.pn14 = phi { ptr, i32 } [ %85, %84 ], [ %76, %75 ], [ %.pn, %68 ], [ %45, %44 ], [ %43, %42 ], [ %27, %26 ]
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn14
}

; Function Attrs: nounwind
declare noundef i32 @_ZNK4juce9Component17proportionOfWidthEf(ptr noundef nonnull align 8 dereferenceable(197), float noundef) local_unnamed_addr #3

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

declare void @_ZN4juce9Component9setBoundsERKNS_9RectangleIiEE(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN4juce28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBox13getBestHeightEi(ptr noundef nonnull align 8 dereferenceable(344), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #1 align 2

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !16, i64 296}
!6 = !{!"_ZTSN4juce28AudioDeviceSelectorComponentE", !7, i64 0, !36, i64 200, !37, i64 208, !38, i64 216, !39, i64 224, !11, i64 256, !40, i64 264, !41, i64 272, !42, i64 280, !9, i64 288, !16, i64 296, !16, i64 300, !16, i64 304, !16, i64 308, !16, i64 312, !43, i64 316, !43, i64 317, !44, i64 320, !40, i64 328, !41, i64 336, !41, i64 344, !45, i64 352}
!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 = !{!"_ZTSN4juce8ComboBox8ListenerE"}
!37 = !{!"_ZTSN4juce14ChangeListenerE"}
!38 = !{!"_ZTSN4juce6Button8ListenerE"}
!39 = !{!"_ZTSN4juce5TimerE", !16, i64 8, !16, i64 12, !11, i64 16, !11, i64 24}
!40 = !{!"_ZTSN4juce13ScopedPointerINS_8ComboBoxEEE", !11, i64 0}
!41 = !{!"_ZTSN4juce13ScopedPointerINS_5LabelEEE", !11, i64 0}
!42 = !{!"_ZTSN4juce13ScopedPointerINS_9ComponentEEE", !11, i64 0}
!43 = !{!"bool", !12, i64 0}
!44 = !{!"_ZTSN4juce13ScopedPointerINS_28AudioDeviceSelectorComponent33MidiInputSelectorComponentListBoxEEE", !11, i64 0}
!45 = !{!"_ZTSN4juce13ScopedPointerINS_10TextButtonEEE", !11, i64 0}
!46 = !{!47, !47, i64 0}
!47 = !{!"vtable pointer", !13, i64 0}


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