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

; 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::AudioProcessorEditor" = type { %"class.juce::Component.base", ptr, %"class.juce::ScopedPointer.83", %"class.juce::ScopedPointer.84", i8, %"class.juce::ComponentBoundsConstrainer", ptr }
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer.63", %"class.juce::ScopedPointer.64", %"class.juce::Array.65", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.70", %"class.juce::ScopedPointer.71", %"class.juce::ScopedPointer.72", %"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::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::ScopedPointer.63" = type { ptr }
%"class.juce::ScopedPointer.64" = type { ptr }
%"class.juce::Array.65" = type { %"class.juce::ArrayAllocationBase.66", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.66" = type <{ %"class.juce::HeapBlock.67", i32, [4 x i8] }>
%"class.juce::HeapBlock.67" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.70" = type { ptr }
%"class.juce::ScopedPointer.71" = type { ptr }
%"class.juce::ScopedPointer.72" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.73" }
%"class.juce::Array.73" = type { %"class.juce::ArrayAllocationBase.74", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.74" = type <{ %"class.juce::HeapBlock.75", i32, [4 x i8] }>
%"class.juce::HeapBlock.75" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.78" }
%"class.juce::Array.78" = type { %"class.juce::ArrayAllocationBase.79", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.79" = type <{ %"class.juce::HeapBlock.80", i32, [4 x i8] }>
%"class.juce::HeapBlock.80" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::ScopedPointer.83" = type { ptr }
%"class.juce::ScopedPointer.84" = type { ptr }
%"class.juce::ComponentBoundsConstrainer" = type { ptr, i32, i32, i32, i32, i32, i32, i32, i32, double }

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20AudioProcessorEditor12setResizableEbb(ptr noundef nonnull align 8 dereferenceable(288) %0, i1 noundef zeroext %1, i1 noundef zeroext %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  %10 = zext i1 %1 to i8
  store i8 %10, ptr %5, align 1, !tbaa !9
  %11 = zext i1 %2 to i8
  store i8 %11, ptr %6, align 1, !tbaa !9
  %12 = load ptr, ptr %4, align 8
  %13 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %14 = trunc i8 %13 to i1
  %15 = zext i1 %14 to i32
  %16 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 4
  %17 = load i8, ptr %16, align 8, !tbaa !13, !range !11, !noundef !12
  %18 = trunc i8 %17 to i1
  %19 = zext i1 %18 to i32
  %20 = icmp ne i32 %15, %19
  br i1 %20, label %21, label %47

21:                                               ; preds = %3
  %22 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %23 = trunc i8 %22 to i1
  %24 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 4
  %25 = zext i1 %23 to i8
  store i8 %25, ptr %24, align 8, !tbaa !13
  %26 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 4
  %27 = load i8, ptr %26, align 8, !tbaa !13, !range !11, !noundef !12
  %28 = trunc i8 %27 to i1
  br i1 %28, label %46, label %29

29:                                               ; preds = %21
  %30 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 5
  call void @_ZN4juce20AudioProcessorEditor14setConstrainerEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(288) %12, ptr noundef %30)
  %31 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  %32 = icmp sgt i32 %31, 0
  br i1 %32, label %33, label %45

33:                                               ; preds = %29
  %34 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  %35 = icmp sgt i32 %34, 0
  br i1 %35, label %36, label %45

36:                                               ; preds = %33
  %37 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 5
  %38 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  %39 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  %40 = call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  %41 = call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %12) #8
  call void @_ZN4juce26ComponentBoundsConstrainer13setSizeLimitsEiiii(ptr noundef nonnull align 8 dereferenceable(48) %37, i32 noundef %38, i32 noundef %39, i32 noundef %40, i32 noundef %41) #8
  %42 = load ptr, ptr %12, align 8, !tbaa !45
  %43 = getelementptr inbounds ptr, ptr %42, i64 34
  %44 = load ptr, ptr %43, align 8
  call void %44(ptr noundef nonnull align 8 dereferenceable(197) %12)
  br label %45

45:                                               ; preds = %36, %33, %29
  br label %46

46:                                               ; preds = %45, %21
  br label %47

47:                                               ; preds = %46, %3
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #8
  %48 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %49 = trunc i8 %48 to i1
  br i1 %49, label %50, label %53

50:                                               ; preds = %47
  %51 = load i8, ptr %5, align 1, !tbaa !9, !range !11, !noundef !12
  %52 = trunc i8 %51 to i1
  br label %53

53:                                               ; preds = %50, %47
  %54 = phi i1 [ false, %47 ], [ %52, %50 ]
  %55 = zext i1 %54 to i8
  store i8 %55, ptr %7, align 1, !tbaa !9
  %56 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %57 = trunc i8 %56 to i1
  %58 = zext i1 %57 to i32
  %59 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 2
  %60 = call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %59) #8
  %61 = icmp ne ptr %60, null
  %62 = zext i1 %61 to i32
  %63 = icmp ne i32 %58, %62
  br i1 %63, label %64, label %85

64:                                               ; preds = %53
  %65 = load i8, ptr %7, align 1, !tbaa !9, !range !11, !noundef !12
  %66 = trunc i8 %65 to i1
  br i1 %66, label %67, label %81

67:                                               ; preds = %64
  %68 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 232) #9
  %69 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 6
  %70 = load ptr, ptr %69, align 8, !tbaa !47
  invoke void @_ZN4juce24ResizableCornerComponentC1EPNS_9ComponentEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(232) %68, ptr noundef %12, ptr noundef %70)
          to label %71 unwind label %77

71:                                               ; preds = %67
  %72 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 2
  %73 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef %68)
  %74 = call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %73) #8
  call void @_ZN4juce9Component17addChildComponentEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %12, ptr noundef %74, i32 noundef -1)
  %75 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 2
  %76 = call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %75) #8
  call void @_ZN4juce9Component14setAlwaysOnTopEb(ptr noundef nonnull align 8 dereferenceable(197) %76, i1 noundef zeroext true)
  br label %84

77:                                               ; preds = %67
  %78 = landingpad { ptr, i32 }
          cleanup
  %79 = extractvalue { ptr, i32 } %78, 0
  store ptr %79, ptr %8, align 8
  %80 = extractvalue { ptr, i32 } %78, 1
  store i32 %80, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %68, i64 noundef 232) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  br label %86

81:                                               ; preds = %64
  %82 = getelementptr inbounds %"class.juce::AudioProcessorEditor", ptr %12, i32 0, i32 2
  %83 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef null)
  br label %84

84:                                               ; preds = %81, %71
  br label %85

85:                                               ; preds = %84, %53
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #8
  ret void

86:                                               ; preds = %77
  %87 = load ptr, ptr %8, align 8
  %88 = load i32, ptr %9, align 4
  %89 = insertvalue { ptr, i32 } poison, ptr %87, 0
  %90 = insertvalue { ptr, i32 } %89, i32 %88, 1
  resume { ptr, i32 } %90
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce20AudioProcessorEditor14setConstrainerEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef) #3 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: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197)) #4 align 2

; Function Attrs: nounwind
declare void @_ZN4juce26ComponentBoundsConstrainer13setSizeLimitsEiiii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

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

declare void @_ZN4juce9Component17addChildComponentEPS0_i(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef, i32 noundef) #7

declare void @_ZN4juce24ResizableCornerComponentC1EPNS_9ComponentEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, ptr noundef) unnamed_addr #7

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

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

declare void @_ZN4juce9Component14setAlwaysOnTopEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #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 = { 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 = { 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 #6 = { 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 #7 = { "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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin nounwind }

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

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


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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #0

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20AudioProcessorEditor12setResizableEbb(ptr noundef nonnull align 8 dereferenceable(288) %0, i1 noundef zeroext %1, i1 noundef zeroext %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 224
  %5 = load i8, ptr %4, align 8, !tbaa !5, !range !41, !noundef !42
  %6 = zext i1 %1 to i8
  %.not = icmp eq i8 %5, %6
  br i1 %.not, label %23, label %7

7:                                                ; preds = %3
  store i8 %6, ptr %4, align 8, !tbaa !5
  br i1 %1, label %23, label %8

8:                                                ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 232
  tail call void @_ZN4juce20AudioProcessorEditor14setConstrainerEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(288) %0, ptr noundef nonnull %9)
  %10 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  %11 = icmp sgt i32 %10, 0
  br i1 %11, label %12, label %23

12:                                               ; preds = %8
  %13 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %15, label %23

15:                                               ; preds = %12
  %16 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  %17 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  %18 = tail call noundef i32 @_ZNK4juce9Component8getWidthEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  %19 = tail call noundef i32 @_ZNK4juce9Component9getHeightEv(ptr noundef nonnull align 8 dereferenceable(197) %0) #7
  tail call void @_ZN4juce26ComponentBoundsConstrainer13setSizeLimitsEiiii(ptr noundef nonnull align 8 dereferenceable(48) %9, i32 noundef %16, i32 noundef %17, i32 noundef %18, i32 noundef %19) #7
  %20 = load ptr, ptr %0, align 8, !tbaa !43
  %21 = getelementptr inbounds i8, ptr %20, i64 272
  %22 = load ptr, ptr %21, align 8
  tail call void %22(ptr noundef nonnull align 8 dereferenceable(197) %0)
  br label %23

23:                                               ; preds = %7, %15, %12, %8, %3
  %24 = and i1 %1, %2
  %25 = getelementptr inbounds i8, ptr %0, i64 208
  %26 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  %27 = icmp eq ptr %26, null
  %.not8 = xor i1 %24, %27
  br i1 %.not8, label %41, label %28

28:                                               ; preds = %23
  br i1 %24, label %29, label %39

29:                                               ; preds = %28
  %30 = tail call noalias noundef nonnull dereferenceable(232) ptr @_Znwm(i64 noundef 232) #8
  %31 = getelementptr inbounds i8, ptr %0, i64 280
  %32 = load ptr, ptr %31, align 8, !tbaa !45
  invoke void @_ZN4juce24ResizableCornerComponentC1EPNS_9ComponentEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(232) %30, ptr noundef nonnull %0, ptr noundef %32)
          to label %33 unwind label %37

33:                                               ; preds = %29
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull %30)
  %35 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %34) #7
  tail call void @_ZN4juce9Component17addChildComponentEPS0_i(ptr noundef nonnull align 8 dereferenceable(197) %0, ptr noundef %35, i32 noundef -1)
  %36 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_24ResizableCornerComponentEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %25) #7
  tail call void @_ZN4juce9Component14setAlwaysOnTopEb(ptr noundef nonnull align 8 dereferenceable(197) %36, i1 noundef zeroext true)
  br label %41

37:                                               ; preds = %29
  %38 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %30, i64 noundef 232) #9
  resume { ptr, i32 } %38

39:                                               ; preds = %28
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_24ResizableCornerComponentEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef null)
  br label %41

41:                                               ; preds = %33, %39, %23
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce20AudioProcessorEditor14setConstrainerEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(288), ptr noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: nounwind
declare void @_ZN4juce26ComponentBoundsConstrainer13setSizeLimitsEiiii(ptr noundef nonnull align 8 dereferenceable(48), i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

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

declare void @_ZN4juce9Component17addChildComponentEPS0_i(ptr noundef nonnull align 8 dereferenceable(197), ptr noundef, i32 noundef) local_unnamed_addr #6

declare void @_ZN4juce24ResizableCornerComponentC1EPNS_9ComponentEPNS_26ComponentBoundsConstrainerE(ptr noundef nonnull align 8 dereferenceable(232), ptr noundef, ptr noundef) unnamed_addr #6

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

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

declare void @_ZN4juce9Component14setAlwaysOnTopEb(ptr noundef nonnull align 8 dereferenceable(197), i1 noundef zeroext) local_unnamed_addr #6

attributes #0 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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, !38, i64 224}
!6 = !{!"_ZTSN4juce20AudioProcessorEditorE", !7, i64 0, !11, i64 200, !36, i64 208, !37, i64 216, !38, i64 224, !39, i64 232, !11, i64 280}
!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 = !{!"_ZTSN4juce13ScopedPointerINS_24ResizableCornerComponentEEE", !11, i64 0}
!37 = !{!"_ZTSN4juce13ScopedPointerINS_20AudioProcessorEditor28AudioProcessorEditorListenerEEE", !11, i64 0}
!38 = !{!"bool", !12, i64 0}
!39 = !{!"_ZTSN4juce26ComponentBoundsConstrainerE", !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !40, i64 40}
!40 = !{!"double", !12, i64 0}
!41 = !{i8 0, i8 2}
!42 = !{}
!43 = !{!44, !44, i64 0}
!44 = !{!"vtable pointer", !13, i64 0}
!45 = !{!6, !11, i64 280}


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