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

; 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::Component" = 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, [3 x i8] }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"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 }
%"struct.juce::Component::ComponentFlags" = type <{ i16, i8 }>

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

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13ComponentPeer12updateBoundsEv(ptr noundef nonnull align 8 dereferenceable(77)) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 align 2 {
  %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 i8, align 1
  %12 = alloca i8, align 1
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %15 = load ptr, ptr %6, align 8
  br label %16

16:                                               ; preds = %5
  br label %17

17:                                               ; preds = %16
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 0
  br i1 %19, label %20, label %21

20:                                               ; preds = %17
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %21

21:                                               ; preds = %20, %17
  %22 = load i32, ptr %10, align 4, !tbaa !9
  %23 = icmp slt i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %21
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %24, %21
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #4
  %26 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %15) #4
  %27 = load i32, ptr %9, align 4, !tbaa !9
  %28 = icmp ne i32 %26, %27
  br i1 %28, label %33, label %29

29:                                               ; preds = %25
  %30 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %15) #4
  %31 = load i32, ptr %10, align 4, !tbaa !9
  %32 = icmp ne i32 %30, %31
  br label %33

33:                                               ; preds = %29, %25
  %34 = phi i1 [ true, %25 ], [ %32, %29 ]
  %35 = zext i1 %34 to i8
  store i8 %35, ptr %11, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #4
  %36 = call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %15) #4
  %37 = load i32, ptr %7, align 4, !tbaa !9
  %38 = icmp ne i32 %36, %37
  br i1 %38, label %43, label %39

39:                                               ; preds = %33
  %40 = call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %15) #4
  %41 = load i32, ptr %8, align 4, !tbaa !9
  %42 = icmp ne i32 %40, %41
  br label %43

43:                                               ; preds = %39, %33
  %44 = phi i1 [ true, %33 ], [ %42, %39 ]
  %45 = zext i1 %44 to i8
  store i8 %45, ptr %12, align 1, !tbaa !11
  %46 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %47 = trunc i8 %46 to i1
  br i1 %47, label %51, label %48

48:                                               ; preds = %43
  %49 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %50 = trunc i8 %49 to i1
  br i1 %50, label %51, label %127

51:                                               ; preds = %48, %43
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #4
  %52 = call noundef zeroext i1 @_ZNK4juce9Component9isShowingEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  %53 = zext i1 %52 to i8
  store i8 %53, ptr %13, align 1, !tbaa !11
  %54 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %63

56:                                               ; preds = %51
  call void @_ZNK4juce9Component17sendFakeMouseMoveEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  %57 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 17
  %58 = load i16, ptr %57, align 8
  %59 = and i16 %58, 1
  %60 = trunc i16 %59 to i1
  br i1 %60, label %62, label %61

61:                                               ; preds = %56
  call void @_ZN4juce9Component13repaintParentEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  br label %62

62:                                               ; preds = %61, %56
  br label %63

63:                                               ; preds = %62, %51
  %64 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 4
  %65 = load i32, ptr %7, align 4, !tbaa !9
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68) #4
  %69 = load i8, ptr %13, align 1, !tbaa !11, !range !13, !noundef !14
  %70 = trunc i8 %69 to i1
  br i1 %70, label %71, label %83

71:                                               ; preds = %63
  %72 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %73 = trunc i8 %72 to i1
  br i1 %73, label %74, label %75

74:                                               ; preds = %71
  call void @_ZN4juce9Component7repaintEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  br label %82

75:                                               ; preds = %71
  %76 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 17
  %77 = load i16, ptr %76, align 8
  %78 = and i16 %77, 1
  %79 = trunc i16 %78 to i1
  br i1 %79, label %81, label %80

80:                                               ; preds = %75
  call void @_ZN4juce9Component13repaintParentEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  br label %81

81:                                               ; preds = %80, %75
  br label %82

82:                                               ; preds = %81, %74
  br label %95

83:                                               ; preds = %63
  %84 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 11
  %85 = call noundef ptr @_ZNK4juce13ScopedPointerINS_20CachedComponentImageEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %84) #4
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %94

87:                                               ; preds = %83
  %88 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 11
  %89 = call noundef ptr @_ZNK4juce13ScopedPointerINS_20CachedComponentImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %88) #4
  %90 = load ptr, ptr %89, align 8, !tbaa !15
  %91 = getelementptr inbounds ptr, ptr %90, i64 3
  %92 = load ptr, ptr %91, align 8
  %93 = call noundef zeroext i1 %92(ptr noundef nonnull align 8 dereferenceable(8) %89)
  br label %94

94:                                               ; preds = %87, %83
  br label %95

95:                                               ; preds = %94, %82
  %96 = load i8, ptr %12, align 1, !tbaa !11, !range !13, !noundef !14
  %97 = trunc i8 %96 to i1
  %98 = icmp ne i1 %97, false
  %99 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 17
  %100 = getelementptr inbounds %"struct.juce::Component::ComponentFlags", ptr %99, i32 0, i32 1
  %101 = zext i1 %98 to i8
  %102 = load i8, ptr %100, align 2
  %103 = and i8 %102, -2
  %104 = or i8 %103, %101
  store i8 %104, ptr %100, align 2
  %105 = load i8, ptr %11, align 1, !tbaa !11, !range !13, !noundef !14
  %106 = trunc i8 %105 to i1
  %107 = icmp ne i1 %106, false
  %108 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 17
  %109 = getelementptr inbounds %"struct.juce::Component::ComponentFlags", ptr %108, i32 0, i32 1
  %110 = zext i1 %107 to i8
  %111 = load i8, ptr %109, align 2
  %112 = shl i8 %110, 1
  %113 = and i8 %111, -3
  %114 = or i8 %113, %112
  store i8 %114, ptr %109, align 2
  %115 = getelementptr inbounds %"class.juce::Component", ptr %15, i32 0, i32 17
  %116 = load i16, ptr %115, align 8
  %117 = and i16 %116, 1
  %118 = trunc i16 %117 to i1
  br i1 %118, label %119, label %126

119:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %120 = call noundef ptr @_ZNK4juce9Component7getPeerEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  store ptr %120, ptr %14, align 8, !tbaa !5
  %121 = load ptr, ptr %14, align 8, !tbaa !5
  %122 = icmp ne ptr %121, null
  br i1 %122, label %123, label %125

123:                                              ; preds = %119
  %124 = load ptr, ptr %14, align 8, !tbaa !5
  call void @_ZN4juce13ComponentPeer12updateBoundsEv(ptr noundef nonnull align 8 dereferenceable(77) %124)
  br label %125

125:                                              ; preds = %123, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  br label %126

126:                                              ; preds = %125, %95
  call void @_ZN4juce9Component33sendMovedResizedMessagesIfPendingEv(ptr noundef nonnull align 8 dereferenceable(197) %15)
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #4
  br label %127

127:                                              ; preds = %126, %48
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #4
  ret void
}

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = { 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 #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 = !{!"bool", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"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"

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

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce13ComponentPeer12updateBoundsEv(ptr noundef nonnull align 8 dereferenceable(77)) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce9Component9setBoundsEiiii(ptr noundef nonnull align 8 dereferenceable(197) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 align 2 {
  %spec.store.select1 = tail call i32 @llvm.smax.i32(i32 %3, i32 0)
  %spec.store.select = tail call i32 @llvm.smax.i32(i32 %4, i32 0)
  %6 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %.not = icmp eq i32 %6, %spec.store.select1
  br i1 %.not, label %7, label %10

7:                                                ; preds = %5
  %8 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %9 = icmp ne i32 %8, %spec.store.select
  br label %10

10:                                               ; preds = %7, %5
  %11 = phi i1 [ true, %5 ], [ %9, %7 ]
  %12 = tail call noundef i32 @_ZNK4juce9Component4getXEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %.not20 = icmp eq i32 %12, %1
  br i1 %.not20, label %13, label %.thread

13:                                               ; preds = %10
  %14 = tail call noundef i32 @_ZNK4juce9Component4getYEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #4
  %15 = icmp ne i32 %14, %2
  %16 = zext i1 %15 to i8
  %brmerge = or i1 %11, %15
  br i1 %brmerge, label %.thread, label %55

.thread:                                          ; preds = %10, %13
  %17 = phi i8 [ %16, %13 ], [ 1, %10 ]
  %18 = tail call noundef zeroext i1 @_ZNK4juce9Component9isShowingEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br i1 %18, label %19, label %31

19:                                               ; preds = %.thread
  tail call void @_ZNK4juce9Component17sendFakeMouseMoveEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  %20 = getelementptr inbounds i8, ptr %0, i64 192
  %21 = load i16, ptr %20, align 8
  %22 = trunc i16 %21 to i1
  br i1 %22, label %24, label %23

23:                                               ; preds = %19
  tail call void @_ZN4juce9Component13repaintParentEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %24

24:                                               ; preds = %23, %19
  %25 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %1, i32 noundef %2, i32 noundef %spec.store.select1, i32 noundef %spec.store.select) #4
  br i1 %11, label %26, label %27

26:                                               ; preds = %24
  tail call void @_ZN4juce9Component7repaintEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %41

27:                                               ; preds = %24
  %28 = load i16, ptr %20, align 8
  %29 = trunc i16 %28 to i1
  br i1 %29, label %41, label %30

30:                                               ; preds = %27
  tail call void @_ZN4juce9Component13repaintParentEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %41

31:                                               ; preds = %.thread
  %32 = getelementptr inbounds i8, ptr %0, i64 32
  tail call void @_ZN4juce9RectangleIiE9setBoundsEiiii(ptr noundef nonnull align 4 dereferenceable(16) %32, i32 noundef %1, i32 noundef %2, i32 noundef %spec.store.select1, i32 noundef %spec.store.select) #4
  %33 = getelementptr inbounds i8, ptr %0, i64 112
  %34 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_20CachedComponentImageEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  %.not21 = icmp eq ptr %34, null
  br i1 %.not21, label %41, label %35

35:                                               ; preds = %31
  %36 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_20CachedComponentImageEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %33) #4
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %37, i64 24
  %39 = load ptr, ptr %38, align 8
  %40 = tail call noundef zeroext i1 %39(ptr noundef nonnull align 8 dereferenceable(8) %36)
  br label %41

41:                                               ; preds = %31, %35, %26, %30, %27
  %42 = getelementptr inbounds i8, ptr %0, i64 192
  %43 = getelementptr inbounds i8, ptr %0, i64 194
  %44 = load i8, ptr %43, align 2
  %45 = and i8 %44, -4
  %46 = select i1 %11, i8 2, i8 0
  %47 = or disjoint i8 %17, %46
  %48 = or disjoint i8 %47, %45
  store i8 %48, ptr %43, align 2
  %49 = load i16, ptr %42, align 8
  %50 = trunc i16 %49 to i1
  br i1 %50, label %51, label %54

51:                                               ; preds = %41
  %52 = tail call noundef ptr @_ZNK4juce9Component7getPeerEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  %.not22 = icmp eq ptr %52, null
  br i1 %.not22, label %54, label %53

53:                                               ; preds = %51
  tail call void @_ZN4juce13ComponentPeer12updateBoundsEv(ptr noundef nonnull align 8 dereferenceable(77) %52)
  br label %54

54:                                               ; preds = %51, %53, %41
  tail call void @_ZN4juce9Component33sendMovedResizedMessagesIfPendingEv(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %55

55:                                               ; preds = %13, %54
  ret void
}

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #3

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}


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