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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::BubbleComponent" = type { %"class.juce::Component.base", %"class.juce::Rectangle", %"class.juce::Point", i32, %"class.juce::DropShadowEffect" }
%"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::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = 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::DropShadowEffect" = type { %"class.juce::ImageEffectFilter", %"struct.juce::DropShadow" }
%"class.juce::ImageEffectFilter" = type { ptr }
%"struct.juce::DropShadow" = type { %"class.juce::Colour", i32, %"class.juce::Point" }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce9Component20getParentMonitorAreaEv(ptr dead_on_unwind noalias writable sret(%"class.juce::Rectangle") align 4, ptr noundef nonnull align 8 dereferenceable(197)) #3 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15BubbleComponent11setPositionENS_9RectangleIiEEii(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.juce::Rectangle", align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca %"class.juce::Point", align 4
  %23 = alloca %"class.juce::Point", align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  store i32 %3, ptr %8, align 4, !tbaa !9
  %24 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 150, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 30, ptr %10, align 4, !tbaa !9
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = getelementptr inbounds ptr, ptr %25, i64 45
  %27 = load ptr, ptr %26, align 8
  call void %27(ptr noundef nonnull align 8 dereferenceable(256) %24, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %28 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %28, i32 noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %33 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %34 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %33) #4
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = mul nsw i32 %35, 2
  %37 = add nsw i32 %34, %36
  store i32 %37, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %38 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %39 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %38) #4
  %40 = load i32, ptr %7, align 4, !tbaa !9
  %41 = mul nsw i32 %40, 2
  %42 = add nsw i32 %39, %41
  store i32 %42, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %13) #4
  %43 = call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %24) #4
  %44 = icmp ne ptr %43, null
  br i1 %44, label %45, label %47

45:                                               ; preds = %4
  %46 = call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %24) #4
  call void @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %13, ptr noundef nonnull align 8 dereferenceable(197) %46) #4
  br label %48

47:                                               ; preds = %4
  call void @_ZNK4juce9Component20getParentMonitorAreaEv(ptr dead_on_unwind writable sret(%"class.juce::Rectangle") align 4 %13, ptr noundef nonnull align 8 dereferenceable(197) %24)
  br label %48

48:                                               ; preds = %47, %45
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %49 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 3
  %50 = load i32, ptr %49, align 8, !tbaa !13
  %51 = and i32 %50, 1
  %52 = icmp ne i32 %51, 0
  br i1 %52, label %53, label %59

53:                                               ; preds = %48
  %54 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %55 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %56 = sub nsw i32 %54, %55
  %57 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %56)
          to label %58 unwind label %116

58:                                               ; preds = %53
  br label %60

59:                                               ; preds = %48
  br label %60

60:                                               ; preds = %59, %58
  %61 = phi i32 [ %57, %58 ], [ -1, %59 ]
  store i32 %61, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %62 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 3
  %63 = load i32, ptr %62, align 8, !tbaa !13
  %64 = and i32 %63, 2
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %72

66:                                               ; preds = %60
  %67 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %68 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %69 = sub nsw i32 %67, %68
  %70 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %69)
          to label %71 unwind label %120

71:                                               ; preds = %66
  br label %73

72:                                               ; preds = %60
  br label %73

73:                                               ; preds = %72, %71
  %74 = phi i32 [ %70, %71 ], [ -1, %72 ]
  store i32 %74, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %75 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 3
  %76 = load i32, ptr %75, align 8, !tbaa !13
  %77 = and i32 %76, 4
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %85

79:                                               ; preds = %73
  %80 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %81 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %82 = sub nsw i32 %80, %81
  %83 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %82)
          to label %84 unwind label %124

84:                                               ; preds = %79
  br label %86

85:                                               ; preds = %73
  br label %86

86:                                               ; preds = %85, %84
  %87 = phi i32 [ %83, %84 ], [ -1, %85 ]
  store i32 %87, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  %88 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 3
  %89 = load i32, ptr %88, align 8, !tbaa !13
  %90 = and i32 %89, 8
  %91 = icmp ne i32 %90, 0
  br i1 %91, label %92, label %98

92:                                               ; preds = %86
  %93 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %94 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %95 = sub nsw i32 %93, %94
  %96 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %95)
          to label %97 unwind label %128

97:                                               ; preds = %92
  br label %99

98:                                               ; preds = %86
  br label %99

99:                                               ; preds = %98, %97
  %100 = phi i32 [ %96, %97 ], [ -1, %98 ]
  store i32 %100, ptr %19, align 4, !tbaa !9
  %101 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %102 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %103 = mul nsw i32 %102, 2
  %104 = icmp sgt i32 %101, %103
  br i1 %104, label %105, label %132

105:                                              ; preds = %99
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = load i32, ptr %12, align 4, !tbaa !9
  %108 = add nsw i32 %107, 20
  %109 = icmp sgt i32 %106, %108
  br i1 %109, label %115, label %110

110:                                              ; preds = %105
  %111 = load i32, ptr %17, align 4, !tbaa !9
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = add nsw i32 %112, 20
  %114 = icmp sgt i32 %111, %113
  br i1 %114, label %115, label %132

115:                                              ; preds = %110, %105
  store i32 0, ptr %19, align 4, !tbaa !9
  store i32 0, ptr %18, align 4, !tbaa !9
  br label %149

116:                                              ; preds = %53
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %15, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %16, align 4
  br label %234

120:                                              ; preds = %66
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  store ptr %122, ptr %15, align 8
  %123 = extractvalue { ptr, i32 } %121, 1
  store i32 %123, ptr %16, align 4
  br label %233

124:                                              ; preds = %79
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %15, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %16, align 4
  br label %232

128:                                              ; preds = %92
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %15, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %16, align 4
  br label %231

132:                                              ; preds = %110, %99
  %133 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %134 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %135 = sdiv i32 %134, 2
  %136 = icmp slt i32 %133, %135
  br i1 %136, label %137, label %148

137:                                              ; preds = %132
  %138 = load i32, ptr %18, align 4, !tbaa !9
  %139 = load i32, ptr %11, align 4, !tbaa !9
  %140 = add nsw i32 %139, 20
  %141 = icmp sgt i32 %138, %140
  br i1 %141, label %147, label %142

142:                                              ; preds = %137
  %143 = load i32, ptr %19, align 4, !tbaa !9
  %144 = load i32, ptr %11, align 4, !tbaa !9
  %145 = add nsw i32 %144, 20
  %146 = icmp sgt i32 %143, %145
  br i1 %146, label %147, label %148

147:                                              ; preds = %142, %137
  store i32 0, ptr %17, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %147, %142, %132
  br label %149

149:                                              ; preds = %148, %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  %150 = load i32, ptr %14, align 4, !tbaa !9
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %150, i32 noundef %151)
          to label %153 unwind label %177

153:                                              ; preds = %149
  %154 = load i32, ptr %18, align 4, !tbaa !9
  %155 = load i32, ptr %19, align 4, !tbaa !9
  %156 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %154, i32 noundef %155)
          to label %157 unwind label %177

157:                                              ; preds = %153
  %158 = icmp sge i32 %152, %156
  br i1 %158, label %159, label %190

159:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind writable sret(%"class.juce::Point") align 4 %22, ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %160 = getelementptr inbounds %"class.juce::Point", ptr %22, i32 0, i32 0
  %161 = load i32, ptr %160, align 4, !tbaa !45
  store i32 %161, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  %162 = load i32, ptr %11, align 4, !tbaa !9
  %163 = sdiv i32 %162, 2
  %164 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %165 = getelementptr inbounds %"class.juce::Point", ptr %164, i32 0, i32 0
  store i32 %163, ptr %165, align 8, !tbaa !46
  %166 = load i32, ptr %14, align 4, !tbaa !9
  %167 = load i32, ptr %17, align 4, !tbaa !9
  %168 = icmp sge i32 %166, %167
  br i1 %168, label %169, label %181

169:                                              ; preds = %159
  %170 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  store i32 %170, ptr %21, align 4, !tbaa !9
  %171 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %172 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %171) #4
  %173 = load i32, ptr %8, align 4, !tbaa !9
  %174 = add nsw i32 %172, %173
  %175 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %176 = getelementptr inbounds %"class.juce::Point", ptr %175, i32 0, i32 1
  store i32 %174, ptr %176, align 4, !tbaa !47
  br label %189

177:                                              ; preds = %217, %153, %149
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %15, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %231

181:                                              ; preds = %159
  %182 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  store i32 %182, ptr %21, align 4, !tbaa !9
  %183 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %184 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %183) #4
  %185 = load i32, ptr %8, align 4, !tbaa !9
  %186 = sub nsw i32 %184, %185
  %187 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %188 = getelementptr inbounds %"class.juce::Point", ptr %187, i32 0, i32 1
  store i32 %186, ptr %188, align 4, !tbaa !47
  br label %189

189:                                              ; preds = %181, %169
  br label %217

190:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind writable sret(%"class.juce::Point") align 4 %23, ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %191 = getelementptr inbounds %"class.juce::Point", ptr %23, i32 0, i32 1
  %192 = load i32, ptr %191, align 4, !tbaa !48
  store i32 %192, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  %193 = load i32, ptr %12, align 4, !tbaa !9
  %194 = sdiv i32 %193, 2
  %195 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %196 = getelementptr inbounds %"class.juce::Point", ptr %195, i32 0, i32 1
  store i32 %194, ptr %196, align 4, !tbaa !47
  %197 = load i32, ptr %18, align 4, !tbaa !9
  %198 = load i32, ptr %19, align 4, !tbaa !9
  %199 = icmp sgt i32 %197, %198
  br i1 %199, label %200, label %208

200:                                              ; preds = %190
  %201 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  store i32 %201, ptr %20, align 4, !tbaa !9
  %202 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %203 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %202) #4
  %204 = load i32, ptr %8, align 4, !tbaa !9
  %205 = add nsw i32 %203, %204
  %206 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %207 = getelementptr inbounds %"class.juce::Point", ptr %206, i32 0, i32 0
  store i32 %205, ptr %207, align 8, !tbaa !46
  br label %216

208:                                              ; preds = %190
  %209 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  store i32 %209, ptr %20, align 4, !tbaa !9
  %210 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 1
  %211 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %210) #4
  %212 = load i32, ptr %8, align 4, !tbaa !9
  %213 = sub nsw i32 %211, %212
  %214 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %215 = getelementptr inbounds %"class.juce::Point", ptr %214, i32 0, i32 0
  store i32 %213, ptr %215, align 8, !tbaa !46
  br label %216

216:                                              ; preds = %208, %200
  br label %217

217:                                              ; preds = %216, %189
  %218 = load i32, ptr %20, align 4, !tbaa !9
  %219 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %220 = getelementptr inbounds %"class.juce::Point", ptr %219, i32 0, i32 0
  %221 = load i32, ptr %220, align 8, !tbaa !46
  %222 = sub nsw i32 %218, %221
  %223 = load i32, ptr %21, align 4, !tbaa !9
  %224 = getelementptr inbounds %"class.juce::BubbleComponent", ptr %24, i32 0, i32 2
  %225 = getelementptr inbounds %"class.juce::Point", ptr %224, i32 0, i32 1
  %226 = load i32, ptr %225, align 4, !tbaa !47
  %227 = sub nsw i32 %223, %226
  %228 = load i32, ptr %11, align 4, !tbaa !9
  %229 = load i32, ptr %12, align 4, !tbaa !9
  invoke void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %24, i32 noundef %222, i32 noundef %227, i32 noundef %228, i32 noundef %229)
          to label %230 unwind label %177

230:                                              ; preds = %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  ret void

231:                                              ; preds = %177, %128
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %232

232:                                              ; preds = %231, %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %233

233:                                              ; preds = %232, %120
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %234

234:                                              ; preds = %233, %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %235

235:                                              ; preds = %234
  %236 = load ptr, ptr %15, align 8
  %237 = load i32, ptr %16, align 4
  %238 = insertvalue { ptr, i32 } poison, ptr %236, 0
  %239 = insertvalue { ptr, i32 } %238, i32 %237, 1
  resume { ptr, i32 } %239
}

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 224}
!14 = !{!"_ZTSN4juce15BubbleComponentE", !15, i64 0, !19, i64 200, !20, i64 216, !10, i64 224, !40, i64 232}
!15 = !{!"_ZTSN4juce9ComponentE", !16, i64 0, !17, i64 8, !17, i64 16, !6, i64 24, !19, i64 32, !21, i64 48, !22, i64 56, !23, i64 64, !6, i64 88, !26, i64 96, !6, i64 104, !27, i64 112, !28, i64 120, !29, i64 128, !30, i64 136, !34, i64 160, !38, i64 184, !7, i64 192, !7, i64 196}
!16 = !{!"_ZTSN4juce13MouseListenerE"}
!17 = !{!"_ZTSN4juce6StringE", !18, i64 0}
!18 = !{!"_ZTSN4juce16CharPointer_UTF8E", !6, i64 0}
!19 = !{!"_ZTSN4juce9RectangleIiEE", !20, i64 0, !10, i64 8, !10, i64 12}
!20 = !{!"_ZTSN4juce5PointIiEE", !10, i64 0, !10, i64 4}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !6, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !6, i64 0}
!23 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !24, i64 0, !10, i64 16}
!24 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !25, i64 0, !10, i64 8}
!25 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !6, i64 0}
!26 = !{!"_ZTSN4juce11MouseCursorE", !6, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !6, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !6, i64 0}
!29 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !6, i64 0}
!30 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !31, i64 0}
!31 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !32, i64 0, !10, i64 16}
!32 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !33, i64 0, !10, i64 8}
!33 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !6, i64 0}
!34 = !{!"_ZTSN4juce13NamedValueSetE", !35, i64 0}
!35 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !36, i64 0, !10, i64 16}
!36 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !37, i64 0, !10, i64 8}
!37 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!38 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !39, i64 0}
!39 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !6, i64 0}
!40 = !{!"_ZTSN4juce16DropShadowEffectE", !41, i64 0, !42, i64 8}
!41 = !{!"_ZTSN4juce17ImageEffectFilterE"}
!42 = !{!"_ZTSN4juce10DropShadowE", !43, i64 0, !10, i64 4, !20, i64 8}
!43 = !{!"_ZTSN4juce6ColourE", !44, i64 0}
!44 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!45 = !{!20, !10, i64 0}
!46 = !{!14, !10, i64 216}
!47 = !{!14, !10, i64 220}
!48 = !{!20, !10, i64 4}


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

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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15BubbleComponent11setPositionENS_9RectangleIiEEii(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"class.juce::Rectangle", align 4
  %8 = alloca %"class.juce::Point", align 4
  %9 = alloca %"class.juce::Point", align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #4
  store i32 150, ptr %5, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #4
  store i32 30, ptr %6, align 4, !tbaa !5
  %10 = load ptr, ptr %0, align 8, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %10, i64 360
  %12 = load ptr, ptr %11, align 8
  call void %12(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %13 = getelementptr inbounds i8, ptr %0, i64 200
  %14 = load i32, ptr %5, align 4, !tbaa !5
  %15 = load i32, ptr %6, align 4, !tbaa !5
  call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %2, i32 noundef %2, i32 noundef %14, i32 noundef %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #4
  %16 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %17 = shl nsw i32 %2, 1
  %18 = add nsw i32 %16, %17
  %19 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %20 = add nsw i32 %19, %17
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #4
  %21 = call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %.not = icmp eq ptr %21, null
  br i1 %.not, label %24, label %22

22:                                               ; preds = %4
  %23 = call noundef ptr @_ZNK4juce9Component18getParentComponentEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  call void @_ZNK4juce9Component14getLocalBoundsEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %7, ptr noundef nonnull align 8 dereferenceable(197) %23) #4
  br label %25

24:                                               ; preds = %4
  call void @_ZNK4juce9Component20getParentMonitorAreaEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Rectangle") align 4 %7, ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %25

25:                                               ; preds = %24, %22
  %26 = getelementptr inbounds i8, ptr %0, i64 224
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = and i32 %27, 1
  %.not41 = icmp eq i32 %28, 0
  br i1 %.not41, label %34, label %29

29:                                               ; preds = %25
  %30 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %31 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  %32 = sub nsw i32 %30, %31
  %33 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %32)
  %.pre = load i32, ptr %26, align 8, !tbaa !11
  br label %34

34:                                               ; preds = %25, %29
  %35 = phi i32 [ %.pre, %29 ], [ %27, %25 ]
  %36 = phi i32 [ %33, %29 ], [ -1, %25 ]
  %37 = and i32 %35, 2
  %.not42 = icmp eq i32 %37, 0
  br i1 %.not42, label %43, label %38

38:                                               ; preds = %34
  %39 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  %40 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %41 = sub nsw i32 %39, %40
  %42 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %41)
  %.pre49 = load i32, ptr %26, align 8, !tbaa !11
  br label %43

43:                                               ; preds = %34, %38
  %44 = phi i32 [ %.pre49, %38 ], [ %35, %34 ]
  %45 = phi i32 [ %42, %38 ], [ -1, %34 ]
  %46 = and i32 %44, 4
  %.not43 = icmp eq i32 %46, 0
  br i1 %.not43, label %52, label %47

47:                                               ; preds = %43
  %48 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %49 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  %50 = sub nsw i32 %48, %49
  %51 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %50)
  %.pre50 = load i32, ptr %26, align 8, !tbaa !11
  br label %52

52:                                               ; preds = %43, %47
  %53 = phi i32 [ %.pre50, %47 ], [ %44, %43 ]
  %54 = phi i32 [ %51, %47 ], [ -1, %43 ]
  %55 = and i32 %53, 8
  %.not44 = icmp eq i32 %55, 0
  br i1 %.not44, label %61, label %56

56:                                               ; preds = %52
  %57 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  %58 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %59 = sub nsw i32 %57, %58
  %60 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %59)
  br label %61

61:                                               ; preds = %52, %56
  %62 = phi i32 [ %60, %56 ], [ -1, %52 ]
  %63 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %64 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %65 = shl nsw i32 %64, 1
  %66 = icmp sgt i32 %63, %65
  br i1 %66, label %67, label %71

67:                                               ; preds = %61
  %68 = add nsw i32 %20, 20
  %69 = icmp sgt i32 %36, %68
  %70 = icmp sgt i32 %45, %68
  %or.cond = or i1 %69, %70
  br i1 %or.cond, label %80, label %71

71:                                               ; preds = %67, %61
  %72 = call noundef i32 @_ZNK4juce9RectangleIiE8getWidthEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %73 = call noundef i32 @_ZNK4juce9RectangleIiE9getHeightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %74 = sdiv i32 %73, 2
  %75 = icmp slt i32 %72, %74
  br i1 %75, label %76, label %80

76:                                               ; preds = %71
  %77 = add nsw i32 %18, 20
  %78 = icmp sgt i32 %54, %77
  %79 = icmp sgt i32 %62, %77
  %or.cond47 = or i1 %78, %79
  %spec.select = select i1 %or.cond47, i32 0, i32 %36
  %spec.select48 = select i1 %or.cond47, i32 0, i32 %45
  br label %80

80:                                               ; preds = %76, %67, %71
  %.036 = phi i32 [ %36, %71 ], [ %36, %67 ], [ %spec.select, %76 ]
  %.035 = phi i32 [ %45, %71 ], [ %45, %67 ], [ %spec.select48, %76 ]
  %.034 = phi i32 [ %54, %71 ], [ 0, %67 ], [ %54, %76 ]
  %.033 = phi i32 [ %62, %71 ], [ 0, %67 ], [ %62, %76 ]
  %81 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %.036, i32 noundef %.035)
  %82 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef %.034, i32 noundef %.033)
  %.not45 = icmp slt i32 %81, %82
  br i1 %.not45, label %98, label %83

83:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point") align 4 %8, ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %84 = load i32, ptr %8, align 4, !tbaa !44
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  %85 = sdiv i32 %18, 2
  %86 = getelementptr inbounds i8, ptr %0, i64 216
  store i32 %85, ptr %86, align 8, !tbaa !45
  %.not46 = icmp slt i32 %.036, %.035
  %87 = getelementptr inbounds i8, ptr %0, i64 220
  br i1 %.not46, label %94, label %88

88:                                               ; preds = %83
  %89 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %90 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %91 = add nsw i32 %90, %3
  store i32 %91, ptr %87, align 4, !tbaa !46
  br label %113

92:                                               ; preds = %113
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  resume { ptr, i32 } %93

94:                                               ; preds = %83
  %95 = call noundef i32 @_ZNK4juce9RectangleIiE9getBottomEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %96 = call noundef i32 @_ZNK4juce9RectangleIiE4getYEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %97 = sub nsw i32 %96, %3
  store i32 %97, ptr %87, align 4, !tbaa !46
  br label %113

98:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @_ZNK4juce9RectangleIiE9getCentreEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::Point") align 4 %9, ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %99 = getelementptr inbounds i8, ptr %9, i64 4
  %100 = load i32, ptr %99, align 4, !tbaa !47
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  %101 = sdiv i32 %20, 2
  %102 = getelementptr inbounds i8, ptr %0, i64 216
  %103 = getelementptr inbounds i8, ptr %0, i64 220
  store i32 %101, ptr %103, align 4, !tbaa !46
  %104 = icmp sgt i32 %.034, %.033
  br i1 %104, label %105, label %109

105:                                              ; preds = %98
  %106 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %107 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %108 = add nsw i32 %107, %3
  store i32 %108, ptr %102, align 8, !tbaa !45
  br label %113

109:                                              ; preds = %98
  %110 = call noundef i32 @_ZNK4juce9RectangleIiE8getRightEv(ptr noundef nonnull align 4 dereferenceable(16) %1) #4
  %111 = call noundef i32 @_ZNK4juce9RectangleIiE4getXEv(ptr noundef nonnull align 4 dereferenceable(16) %13) #4
  %112 = sub nsw i32 %111, %3
  store i32 %112, ptr %102, align 8, !tbaa !45
  br label %113

113:                                              ; preds = %105, %109, %88, %94
  %.032 = phi i32 [ %84, %88 ], [ %84, %94 ], [ %106, %105 ], [ %110, %109 ]
  %.0 = phi i32 [ %89, %88 ], [ %95, %94 ], [ %100, %105 ], [ %100, %109 ]
  %114 = getelementptr inbounds i8, ptr %0, i64 216
  %115 = load i32, ptr %114, align 8, !tbaa !45
  %116 = sub nsw i32 %.032, %115
  %117 = getelementptr inbounds i8, ptr %0, i64 220
  %118 = load i32, ptr %117, align 4, !tbaa !46
  %119 = sub nsw i32 %.0, %118
  invoke void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef %116, i32 noundef %119, i32 noundef %18, i32 noundef %20)
          to label %120 unwind label %92

120:                                              ; preds = %113
  call void @_ZN4juce9RectangleIiED2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #4
  ret void
}

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 224}
!12 = !{!"_ZTSN4juce15BubbleComponentE", !13, i64 0, !18, i64 200, !19, i64 216, !6, i64 224, !39, i64 232}
!13 = !{!"_ZTSN4juce9ComponentE", !14, i64 0, !15, i64 8, !15, i64 16, !17, i64 24, !18, i64 32, !20, i64 48, !21, i64 56, !22, i64 64, !17, i64 88, !25, i64 96, !17, i64 104, !26, i64 112, !27, i64 120, !28, i64 128, !29, i64 136, !33, i64 160, !37, i64 184, !7, i64 192, !7, i64 196}
!14 = !{!"_ZTSN4juce13MouseListenerE"}
!15 = !{!"_ZTSN4juce6StringE", !16, i64 0}
!16 = !{!"_ZTSN4juce16CharPointer_UTF8E", !17, i64 0}
!17 = !{!"any pointer", !7, i64 0}
!18 = !{!"_ZTSN4juce9RectangleIiEE", !19, i64 0, !6, i64 8, !6, i64 12}
!19 = !{!"_ZTSN4juce5PointIiEE", !6, i64 0, !6, i64 4}
!20 = !{!"_ZTSN4juce13ScopedPointerINS_9Component10PositionerEEE", !17, i64 0}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_15AffineTransformEEE", !17, i64 0}
!22 = !{!"_ZTSN4juce5ArrayIPNS_9ComponentENS_20DummyCriticalSectionELi0EEE", !23, i64 0, !6, i64 16}
!23 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_9ComponentENS_20DummyCriticalSectionEEE", !24, i64 0, !6, i64 8}
!24 = !{!"_ZTSN4juce9HeapBlockIPNS_9ComponentELb0EEE", !17, i64 0}
!25 = !{!"_ZTSN4juce11MouseCursorE", !17, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_20CachedComponentImageEEE", !17, i64 0}
!27 = !{!"_ZTSN4juce13ScopedPointerINS_9Component17MouseListenerListEEE", !17, i64 0}
!28 = !{!"_ZTSN4juce13ScopedPointerINS_5ArrayIPNS_11KeyListenerENS_20DummyCriticalSectionELi0EEEEE", !17, i64 0}
!29 = !{!"_ZTSN4juce12ListenerListINS_17ComponentListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !30, i64 0}
!30 = !{!"_ZTSN4juce5ArrayIPNS_17ComponentListenerENS_20DummyCriticalSectionELi0EEE", !31, i64 0, !6, i64 16}
!31 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_17ComponentListenerENS_20DummyCriticalSectionEEE", !32, i64 0, !6, i64 8}
!32 = !{!"_ZTSN4juce9HeapBlockIPNS_17ComponentListenerELb0EEE", !17, i64 0}
!33 = !{!"_ZTSN4juce13NamedValueSetE", !34, i64 0}
!34 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !35, i64 0, !6, i64 16}
!35 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !36, i64 0, !6, i64 8}
!36 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !17, i64 0}
!37 = !{!"_ZTSN4juce13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE6MasterE", !38, i64 0}
!38 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_13WeakReferenceINS_9ComponentENS_22ReferenceCountedObjectEE13SharedPointerEEE", !17, i64 0}
!39 = !{!"_ZTSN4juce16DropShadowEffectE", !40, i64 0, !41, i64 8}
!40 = !{!"_ZTSN4juce17ImageEffectFilterE"}
!41 = !{!"_ZTSN4juce10DropShadowE", !42, i64 0, !6, i64 4, !19, i64 8}
!42 = !{!"_ZTSN4juce6ColourE", !43, i64 0}
!43 = !{!"_ZTSN4juce9PixelARGBE", !7, i64 0}
!44 = !{!19, !6, i64 0}
!45 = !{!12, !6, i64 216}
!46 = !{!12, !6, i64 220}
!47 = !{!19, !6, i64 4}


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