; 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::ReferenceCountedObjectPtr.87" = type { ptr }
%"class.juce::Array.22" = type { %"class.juce::ArrayAllocationBase.23", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.23" = type <{ %"class.juce::HeapBlock.24", i32, [4 x i8] }>
%"class.juce::HeapBlock.24" = type { ptr }
%"class.juce::MessageManagerLock" = type <{ %"class.juce::ReferenceCountedObjectPtr.88", i8, [7 x i8] }>
%"class.juce::ReferenceCountedObjectPtr.88" = type { ptr }
%"class.juce::Array.89" = type { %"class.juce::ArrayAllocationBase.9", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.9" = type <{ %"class.juce::HeapBlock.10", i32, [4 x i8] }>
%"class.juce::HeapBlock.10" = type { ptr }
%"class.juce::GraphRenderingOps::ConnectionLookupTable" = type { %"class.juce::OwnedArray.91" }
%"class.juce::OwnedArray.91" = type { %"class.juce::ArrayAllocationBase.92", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.92" = type <{ %"class.juce::HeapBlock.93", i32, [4 x i8] }>
%"class.juce::HeapBlock.93" = type { ptr }
%"struct.juce::GraphRenderingOps::RenderingOpSequenceCalculator" = type <{ ptr, ptr, %"class.juce::Array.96", %"class.juce::Array.101", %"class.juce::Array.101", %"class.juce::Array.101", %"class.juce::Array.96", i32, [4 x i8] }>
%"class.juce::Array.101" = type { %"class.juce::ArrayAllocationBase.102", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.102" = type <{ %"class.juce::HeapBlock.50", i32, [4 x i8] }>
%"class.juce::HeapBlock.50" = type { ptr }
%"class.juce::Array.96" = type { %"class.juce::ArrayAllocationBase.97", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.97" = type <{ %"class.juce::HeapBlock.98", i32, [4 x i8] }>
%"class.juce::HeapBlock.98" = type { ptr }
%"class.juce::GenericScopedLock" = type { ptr }
%"class.juce::AudioProcessorGraph" = type <{ %"class.juce::AudioProcessor", %"class.juce::AsyncUpdater", %"class.juce::ReferenceCountedArray", %"class.juce::OwnedArray.12", i32, [4 x i8], %"class.juce::OwnedArray.17", %"class.juce::Array.22", %"class.juce::ScopedPointer", ptr, %"class.juce::MidiBuffer", i8, [7 x i8] }>
%"class.juce::AudioProcessor" = type { ptr, i32, ptr, %"class.juce::Array", %"class.juce::Component::SafePointer", double, i32, i32, i8, i8, i32, %"class.juce::CriticalSection", %"class.juce::CriticalSection", %"class.juce::OwnedArray", %"class.juce::OwnedArray", %"class.juce::String", %"class.juce::String", i32, i32, %"class.juce::OwnedArray.3" }
%"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::Component::SafePointer" = type { %"class.juce::WeakReference" }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%"class.juce::CriticalSection" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.juce::OwnedArray" = type { %"class.juce::ArrayAllocationBase.0", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.0" = type <{ %"class.juce::HeapBlock.1", i32, [4 x i8] }>
%"class.juce::HeapBlock.1" = type { ptr }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::OwnedArray.3" = type { %"class.juce::ArrayAllocationBase.4", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.4" = type <{ %"class.juce::HeapBlock.5", i32, [4 x i8] }>
%"class.juce::HeapBlock.5" = type { ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.8" }
%"class.juce::ReferenceCountedObjectPtr.8" = type { ptr }
%"class.juce::ReferenceCountedArray" = type { %"class.juce::ArrayAllocationBase.9", i32, [4 x i8] }
%"class.juce::OwnedArray.12" = type { %"class.juce::ArrayAllocationBase.13", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.13" = type <{ %"class.juce::HeapBlock.14", i32, [4 x i8] }>
%"class.juce::HeapBlock.14" = type { ptr }
%"class.juce::OwnedArray.17" = type { %"class.juce::ArrayAllocationBase.18", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.18" = type <{ %"class.juce::HeapBlock.19", i32, [4 x i8] }>
%"class.juce::HeapBlock.19" = type { ptr }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::MidiBuffer" = type { %"class.juce::Array.27" }
%"class.juce::Array.27" = type { %"class.juce::ArrayAllocationBase.28", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.28" = type <{ %"class.juce::HeapBlock.29", i32, [4 x i8] }>
%"class.juce::HeapBlock.29" = type { ptr }
%"class.juce::AudioProcessorGraph::Node" = type <{ %"class.juce::ReferenceCountedObject", i32, [4 x i8], %"class.juce::NamedValueSet", %"class.juce::ScopedPointer.86", i8, [7 x i8] }>
%"class.juce::ReferenceCountedObject" = type { ptr, %"class.juce::Atomic" }
%"class.juce::Atomic" = type { i32, [4 x i8] }
%"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::ScopedPointer.86" = type { ptr }

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

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

; Function Attrs: nounwind
declare void @_ZN4juce10MidiBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) #2

; 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) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce19AudioProcessorGraph4Node7prepareEdiPS0_NS_14AudioProcessor19ProcessingPrecisionE(ptr noundef nonnull align 8 dereferenceable(57), double noundef, i32 noundef, ptr noundef, i32 noundef) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN4juce10MidiBufferC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE12getUncheckedEi(ptr dead_on_unwind noalias writable sret(%"class.juce::ReferenceCountedObjectPtr.87") align 8, ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EE8swapWithIS3_EEvRT_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4juceL19deleteRenderOpArrayERNS_5ArrayIPvNS_20DummyCriticalSectionELi0EEE(ptr noundef nonnull align 8 dereferenceable(20)) #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19AudioProcessorGraph22buildRenderingSequenceEv(ptr noundef nonnull align 8 dereferenceable(417) %0) #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.juce::Array.22", align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.juce::MessageManagerLock", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.juce::Array.89", align 8
  %10 = alloca %"class.juce::GraphRenderingOps::ConnectionLookupTable", align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca %"class.juce::ReferenceCountedObjectPtr.87", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"struct.juce::GraphRenderingOps::RenderingOpSequenceCalculator", align 8
  %16 = alloca %"class.juce::GenericScopedLock", align 8
  %17 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %18 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #7
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 2, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #7
  invoke void @_ZN4juce18MessageManagerLockC1EPNS_6ThreadE(ptr noundef nonnull align 8 dereferenceable(9) %6, ptr noundef null)
          to label %19 unwind label %28

19:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #7
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %9) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #7
  %20 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 3
  invoke void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableC2ERKNS_10OwnedArrayINS_19AudioProcessorGraph10ConnectionENS_20DummyCriticalSectionEEE(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(20) %20)
          to label %21 unwind label %32

21:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %22

22:                                               ; preds = %76, %21
  %23 = load i32, ptr %11, align 4, !tbaa !9
  %24 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 2
  %25 = call noundef i32 @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %24) #7
  %26 = icmp slt i32 %23, %25
  br i1 %26, label %36, label %27

27:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %80

28:                                               ; preds = %1
  %29 = landingpad { ptr, i32 }
          cleanup
  %30 = extractvalue { ptr, i32 } %29, 0
  store ptr %30, ptr %7, align 8
  %31 = extractvalue { ptr, i32 } %29, 1
  store i32 %31, ptr %8, align 4
  br label %103

32:                                               ; preds = %19
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %7, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %8, align 4
  br label %97

36:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  %37 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 2
  %38 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE12getUncheckedEi(ptr dead_on_unwind writable sret(%"class.juce::ReferenceCountedObjectPtr.87") align 8 %13, ptr noundef nonnull align 8 dereferenceable(20) %37, i32 noundef %38) #7
  %39 = call noundef ptr @_ZNK4juce25ReferenceCountedObjectPtrINS_19AudioProcessorGraph4NodeEEcvPS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_19AudioProcessorGraph4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  store ptr %39, ptr %12, align 8, !tbaa !5
  %40 = load ptr, ptr %12, align 8, !tbaa !5
  %41 = call noundef double @_ZNK4juce14AudioProcessor13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #7
  %42 = call noundef i32 @_ZNK4juce14AudioProcessor12getBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #7
  %43 = call noundef i32 @_ZNK4juce14AudioProcessor22getProcessingPrecisionEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #7
  invoke void @_ZN4juce19AudioProcessorGraph4Node7prepareEdiPS0_NS_14AudioProcessor19ProcessingPrecisionE(ptr noundef nonnull align 8 dereferenceable(57) %40, double noundef %41, i32 noundef %42, ptr noundef %18, i32 noundef %43)
          to label %44 unwind label %60

44:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %45

45:                                               ; preds = %69, %44
  %46 = load i32, ptr %14, align 4, !tbaa !9
  %47 = call noundef i32 @_ZNK4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %9) #7
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %49, label %72

49:                                               ; preds = %45
  %50 = load ptr, ptr %12, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.juce::AudioProcessorGraph::Node", ptr %50, i32 0, i32 1
  %52 = load i32, ptr %51, align 8, !tbaa !11
  %53 = load i32, ptr %14, align 4, !tbaa !9
  %54 = invoke noundef ptr @_ZNK4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %9, i32 noundef %53)
          to label %55 unwind label %64

55:                                               ; preds = %49
  %56 = getelementptr inbounds %"class.juce::AudioProcessorGraph::Node", ptr %54, i32 0, i32 1
  %57 = load i32, ptr %56, align 8, !tbaa !11
  %58 = call noundef zeroext i1 @_ZNK4juce17GraphRenderingOps21ConnectionLookupTable11isAnInputToEjj(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %52, i32 noundef %57) #7
  br i1 %58, label %59, label %68

59:                                               ; preds = %55
  br label %72

60:                                               ; preds = %36
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  store ptr %62, ptr %7, align 8
  %63 = extractvalue { ptr, i32 } %61, 1
  store i32 %63, ptr %8, align 4
  br label %79

64:                                               ; preds = %72, %49
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  store ptr %66, ptr %7, align 8
  %67 = extractvalue { ptr, i32 } %65, 1
  store i32 %67, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %79

68:                                               ; preds = %55
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %14, align 4, !tbaa !9
  br label %45, !llvm.loop !21

72:                                               ; preds = %59, %45
  %73 = load i32, ptr %14, align 4, !tbaa !9
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  invoke void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE6insertEiS3_(ptr noundef nonnull align 8 dereferenceable(20) %9, i32 noundef %73, ptr noundef %74)
          to label %75 unwind label %64

75:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %11, align 4, !tbaa !9
  br label %22, !llvm.loop !23

79:                                               ; preds = %64, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  call void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  br label %97

80:                                               ; preds = %27
  call void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr %15) #7
  invoke void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorC2ERNS_19AudioProcessorGraphERKNS_5ArrayIPNS2_4NodeENS_20DummyCriticalSectionELi0EEERNS4_IPvS7_Li0EEE(ptr noundef nonnull align 8 dereferenceable(140) %15, ptr noundef nonnull align 8 dereferenceable(417) %18, ptr noundef nonnull align 8 dereferenceable(20) %9, ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %81 unwind label %98

81:                                               ; preds = %80
  %82 = call noundef i32 @_ZNK4juce17GraphRenderingOps29RenderingOpSequenceCalculator19getNumBuffersNeededEv(ptr noundef nonnull align 8 dereferenceable(140) %15) #7
  store i32 %82, ptr %4, align 4, !tbaa !9
  %83 = call noundef i32 @_ZNK4juce17GraphRenderingOps29RenderingOpSequenceCalculator23getNumMidiBuffersNeededEv(ptr noundef nonnull align 8 dereferenceable(140) %15) #7
  store i32 %83, ptr %5, align 4, !tbaa !9
  call void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %15) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #7
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %84 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4juce14AudioProcessor15getCallbackLockEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #7
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(40) %84) #7
  %85 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 8
  %86 = call noundef ptr @_ZNK4juce13ScopedPointerINS_19AudioProcessorGraph32AudioProcessorGraphBufferHelpersEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %85) #7
  %87 = load i32, ptr %4, align 4, !tbaa !9
  %88 = call noundef i32 @_ZNK4juce14AudioProcessor12getBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(256) %18) #7
  invoke void @_ZN4juce19AudioProcessorGraph32AudioProcessorGraphBufferHelpers22setRenderingBufferSizeEii(ptr noundef nonnull align 8 dereferenceable(1200) %86, i32 noundef %87, i32 noundef %88)
          to label %89 unwind label %104

89:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %90 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 6
  %91 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %90) #7
  store i32 %91, ptr %17, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %108, %89
  %93 = load i32, ptr %17, align 4, !tbaa !9
  %94 = add nsw i32 %93, -1
  store i32 %94, ptr %17, align 4, !tbaa !9
  %95 = icmp sge i32 %94, 0
  br i1 %95, label %108, label %96

96:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %112

97:                                               ; preds = %79, %32
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #7
  br label %102

98:                                               ; preds = %80
  %99 = landingpad { ptr, i32 }
          cleanup
  %100 = extractvalue { ptr, i32 } %99, 0
  store ptr %100, ptr %7, align 8
  %101 = extractvalue { ptr, i32 } %99, 1
  store i32 %101, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 144, ptr %15) #7
  br label %102

102:                                              ; preds = %98, %97
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %9) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #7
  call void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9) %6) #7
  br label %103

103:                                              ; preds = %102, %28
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #7
  br label %130

104:                                              ; preds = %118, %81
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %7, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %8, align 4
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  br label %130

108:                                              ; preds = %92
  %109 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 6
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %109, i32 noundef %110) #7
  call void @_ZN4juce10MidiBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #7
  br label %92, !llvm.loop !24

112:                                              ; preds = %96
  br label %113

113:                                              ; preds = %121, %112
  %114 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 6
  %115 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %114) #7
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = icmp slt i32 %115, %116
  br i1 %117, label %118, label %123

118:                                              ; preds = %113
  %119 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 6
  %120 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 24) #8
          to label %121 unwind label %104

121:                                              ; preds = %118
  call void @_ZN4juce10MidiBufferC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %120) #7
  %122 = call noundef ptr @_ZN4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE3addEPS1_(ptr noundef nonnull align 8 dereferenceable(20) %119, ptr noundef %120) #7
  br label %113, !llvm.loop !25

123:                                              ; preds = %113
  %124 = getelementptr inbounds %"class.juce::AudioProcessorGraph", ptr %18, i32 0, i32 7
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EE8swapWithIS3_EEvRT_(ptr noundef nonnull align 8 dereferenceable(20) %124, ptr noundef nonnull align 8 dereferenceable(20) %3) #7
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  invoke void @_ZN4juceL19deleteRenderOpArrayERNS_5ArrayIPvNS_20DummyCriticalSectionELi0EEE(ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %125 unwind label %126

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  ret void

126:                                              ; preds = %123
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %7, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %8, align 4
  br label %130

130:                                              ; preds = %126, %104, %103
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #7
  br label %131

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

declare void @_ZN4juce18MessageManagerLockC1EPNS_6ThreadE(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableC2ERKNS_10OwnedArrayINS_19AudioProcessorGraph10ConnectionENS_20DummyCriticalSectionEEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce17GraphRenderingOps21ConnectionLookupTable11isAnInputToEjj(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, i32 noundef) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE6insertEiS3_(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef, ptr noundef) #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorC2ERNS_19AudioProcessorGraphERKNS_5ArrayIPNS2_4NodeENS_20DummyCriticalSectionELi0EEERNS4_IPvS7_Li0EEE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(417), ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19AudioProcessorGraph32AudioProcessorGraphBufferHelpers22setRenderingBufferSizeEii(ptr noundef nonnull align 8 dereferenceable(1200), i32 noundef, i32 noundef) #5 align 2

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

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

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

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

!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, !10, i64 16}
!12 = !{!"_ZTSN4juce19AudioProcessorGraph4NodeE", !13, i64 0, !10, i64 16, !15, i64 24, !19, i64 48, !20, i64 56}
!13 = !{!"_ZTSN4juce22ReferenceCountedObjectE", !14, i64 8}
!14 = !{!"_ZTSN4juce6AtomicIiEE", !10, i64 0}
!15 = !{!"_ZTSN4juce13NamedValueSetE", !16, i64 0}
!16 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !17, i64 0, !10, i64 16}
!17 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !18, i64 0, !10, i64 8}
!18 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !6, i64 0}
!19 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioProcessorEEE", !6, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !22}


; 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::ReferenceCountedObjectPtr.87" = type { ptr }
%"class.juce::Array.22" = type { %"class.juce::ArrayAllocationBase.23", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.23" = type <{ %"class.juce::HeapBlock.24", i32, [4 x i8] }>
%"class.juce::HeapBlock.24" = type { ptr }
%"class.juce::MessageManagerLock" = type <{ %"class.juce::ReferenceCountedObjectPtr.88", i8, [7 x i8] }>
%"class.juce::ReferenceCountedObjectPtr.88" = type { ptr }
%"class.juce::Array.89" = type { %"class.juce::ArrayAllocationBase.9", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.9" = type <{ %"class.juce::HeapBlock.10", i32, [4 x i8] }>
%"class.juce::HeapBlock.10" = type { ptr }
%"class.juce::GraphRenderingOps::ConnectionLookupTable" = type { %"class.juce::OwnedArray.91" }
%"class.juce::OwnedArray.91" = type { %"class.juce::ArrayAllocationBase.92", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.92" = type <{ %"class.juce::HeapBlock.93", i32, [4 x i8] }>
%"class.juce::HeapBlock.93" = type { ptr }
%"struct.juce::GraphRenderingOps::RenderingOpSequenceCalculator" = type <{ ptr, ptr, %"class.juce::Array.96", %"class.juce::Array.101", %"class.juce::Array.101", %"class.juce::Array.101", %"class.juce::Array.96", i32, [4 x i8] }>
%"class.juce::Array.101" = type { %"class.juce::ArrayAllocationBase.102", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.102" = type <{ %"class.juce::HeapBlock.50", i32, [4 x i8] }>
%"class.juce::HeapBlock.50" = type { ptr }
%"class.juce::Array.96" = type { %"class.juce::ArrayAllocationBase.97", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.97" = type <{ %"class.juce::HeapBlock.98", i32, [4 x i8] }>
%"class.juce::HeapBlock.98" = type { ptr }
%"class.juce::GenericScopedLock" = type { ptr }

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

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

; Function Attrs: nounwind
declare void @_ZN4juce10MidiBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress 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) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce19AudioProcessorGraph4Node7prepareEdiPS0_NS_14AudioProcessor19ProcessingPrecisionE(ptr noundef nonnull align 8 dereferenceable(57), double noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN4juce10MidiBufferC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE12getUncheckedEi(ptr dead_on_unwind noalias writable sret(%"class.juce::ReferenceCountedObjectPtr.87") align 8, ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EE8swapWithIS3_EEvRT_(ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN4juceL19deleteRenderOpArrayERNS_5ArrayIPvNS_20DummyCriticalSectionELi0EEE(ptr noundef nonnull align 8 dereferenceable(20)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce19AudioProcessorGraph22buildRenderingSequenceEv(ptr noundef nonnull align 8 dereferenceable(417) %0) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca %"class.juce::Array.22", align 8
  %3 = alloca %"class.juce::MessageManagerLock", align 8
  %4 = alloca %"class.juce::Array.89", align 8
  %5 = alloca %"class.juce::GraphRenderingOps::ConnectionLookupTable", align 8
  %6 = alloca %"class.juce::ReferenceCountedObjectPtr.87", align 8
  %7 = alloca %"struct.juce::GraphRenderingOps::RenderingOpSequenceCalculator", align 8
  %8 = alloca %"class.juce::GenericScopedLock", align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #7
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #7
  invoke void @_ZN4juce18MessageManagerLockC1EPNS_6ThreadE(ptr noundef nonnull align 8 dereferenceable(9) %3, ptr noundef null)
          to label %9 unwind label %14

9:                                                ; preds = %1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #7
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #7
  %10 = getelementptr inbounds i8, ptr %0, i64 296
  invoke void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableC2ERKNS_10OwnedArrayINS_19AudioProcessorGraph10ConnectionENS_20DummyCriticalSectionEEE(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 8 dereferenceable(20) %10)
          to label %.preheader31 unwind label %16

.preheader31:                                     ; preds = %9
  %11 = getelementptr inbounds i8, ptr %0, i64 272
  %12 = call noundef i32 @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %11) #7
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph36, label %._crit_edge37

._crit_edge37:                                    ; preds = %39, %.preheader31
  call void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 144, ptr nonnull %7) #7
  invoke void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorC2ERNS_19AudioProcessorGraphERKNS_5ArrayIPNS2_4NodeENS_20DummyCriticalSectionELi0EEERNS4_IPvS7_Li0EEE(ptr noundef nonnull align 8 dereferenceable(140) %7, ptr noundef nonnull align 8 dereferenceable(417) %0, ptr noundef nonnull align 8 dereferenceable(20) %4, ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %44 unwind label %57

14:                                               ; preds = %1
  %15 = landingpad { ptr, i32 }
          cleanup
  br label %60

16:                                               ; preds = %9
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %56

.lr.ph36:                                         ; preds = %.preheader31, %39
  %.01735 = phi i32 [ %40, %39 ], [ 0, %.preheader31 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE12getUncheckedEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::ReferenceCountedObjectPtr.87") align 8 %6, ptr noundef nonnull align 8 dereferenceable(20) %11, i32 noundef %.01735) #7
  %18 = call noundef ptr @_ZNK4juce25ReferenceCountedObjectPtrINS_19AudioProcessorGraph4NodeEEcvPS2_Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @_ZN4juce25ReferenceCountedObjectPtrINS_19AudioProcessorGraph4NodeEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  %19 = call noundef double @_ZNK4juce14AudioProcessor13getSampleRateEv(ptr noundef nonnull align 8 dereferenceable(256) %0) #7
  %20 = call noundef i32 @_ZNK4juce14AudioProcessor12getBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(256) %0) #7
  %21 = call noundef i32 @_ZNK4juce14AudioProcessor22getProcessingPrecisionEv(ptr noundef nonnull align 8 dereferenceable(256) %0) #7
  invoke void @_ZN4juce19AudioProcessorGraph4Node7prepareEdiPS0_NS_14AudioProcessor19ProcessingPrecisionE(ptr noundef nonnull align 8 dereferenceable(57) %18, double noundef %19, i32 noundef %20, ptr noundef nonnull %0, i32 noundef %21)
          to label %.preheader30 unwind label %31

.preheader30:                                     ; preds = %.lr.ph36
  %22 = call noundef i32 @_ZNK4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #7
  %23 = icmp sgt i32 %22, 0
  br i1 %23, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader30
  %24 = getelementptr inbounds i8, ptr %18, i64 16
  br label %25

25:                                               ; preds = %.lr.ph, %35
  %.01632 = phi i32 [ 0, %.lr.ph ], [ %36, %35 ]
  %26 = load i32, ptr %24, align 8, !tbaa !5
  %27 = call noundef ptr @_ZNK4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %4, i32 noundef %.01632)
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  %29 = load i32, ptr %28, align 8, !tbaa !5
  %30 = call noundef zeroext i1 @_ZNK4juce17GraphRenderingOps21ConnectionLookupTable11isAnInputToEjj(ptr noundef nonnull align 8 dereferenceable(24) %5, i32 noundef %26, i32 noundef %29) #7
  br i1 %30, label %._crit_edge, label %35

31:                                               ; preds = %.lr.ph36
  %32 = landingpad { ptr, i32 }
          cleanup
  br label %43

33:                                               ; preds = %._crit_edge
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %43

35:                                               ; preds = %25
  %36 = add nuw nsw i32 %.01632, 1
  %37 = call noundef i32 @_ZNK4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %4) #7
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %25, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %35, %25, %.preheader30
  %.016.lcssa = phi i32 [ 0, %.preheader30 ], [ %.01632, %25 ], [ %36, %35 ]
  invoke void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE6insertEiS3_(ptr noundef nonnull align 8 dereferenceable(20) %4, i32 noundef %.016.lcssa, ptr noundef nonnull %18)
          to label %39 unwind label %33

39:                                               ; preds = %._crit_edge
  %40 = add nuw nsw i32 %.01735, 1
  %41 = call noundef i32 @_ZNK4juce21ReferenceCountedArrayINS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %11) #7
  %42 = icmp slt i32 %40, %41
  br i1 %42, label %.lr.ph36, label %._crit_edge37, !llvm.loop !21

43:                                               ; preds = %33, %31
  %.pn = phi { ptr, i32 } [ %34, %33 ], [ %32, %31 ]
  call void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableD2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #7
  br label %56

44:                                               ; preds = %._crit_edge37
  %45 = call noundef i32 @_ZNK4juce17GraphRenderingOps29RenderingOpSequenceCalculator19getNumBuffersNeededEv(ptr noundef nonnull align 8 dereferenceable(140) %7) #7
  %46 = call noundef i32 @_ZNK4juce17GraphRenderingOps29RenderingOpSequenceCalculator23getNumMidiBuffersNeededEv(ptr noundef nonnull align 8 dereferenceable(140) %7) #7
  call void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorD2Ev(ptr noundef nonnull align 8 dereferenceable(140) %7) #7
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #7
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #7
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  %47 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZNK4juce14AudioProcessor15getCallbackLockEv(ptr noundef nonnull align 8 dereferenceable(256) %0) #7
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(40) %47) #7
  %48 = getelementptr inbounds i8, ptr %0, i64 376
  %49 = call noundef ptr @_ZNK4juce13ScopedPointerINS_19AudioProcessorGraph32AudioProcessorGraphBufferHelpersEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %48) #7
  %50 = call noundef i32 @_ZNK4juce14AudioProcessor12getBlockSizeEv(ptr noundef nonnull align 8 dereferenceable(256) %0) #7
  call void @_ZN4juce19AudioProcessorGraph32AudioProcessorGraphBufferHelpers22setRenderingBufferSizeEii(ptr noundef nonnull align 8 dereferenceable(1200) %49, i32 noundef %45, i32 noundef %50)
  %51 = getelementptr inbounds i8, ptr %0, i64 328
  %52 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %51) #7
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.lr.ph40, label %.preheader

.preheader:                                       ; preds = %.lr.ph40, %44
  %54 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %51) #7
  %55 = icmp slt i32 %54, %46
  br i1 %55, label %.lr.ph41, label %._crit_edge42

56:                                               ; preds = %43, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %43 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #7
  br label %59

57:                                               ; preds = %._crit_edge37
  %58 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 144, ptr nonnull %7) #7
  br label %59

59:                                               ; preds = %57, %56
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %56 ], [ %58, %57 ]
  call void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %4) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #7
  call void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9) %3) #7
  br label %60

60:                                               ; preds = %59, %14
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %59 ], [ %15, %14 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #7
  br label %75

61:                                               ; preds = %.lr.ph41
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  br label %75

.lr.ph40:                                         ; preds = %44, %.lr.ph40
  %.038 = phi i32 [ %63, %.lr.ph40 ], [ %52, %44 ]
  %63 = add nsw i32 %.038, -1
  %64 = call noundef ptr @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE12getUncheckedEi(ptr noundef nonnull align 8 dereferenceable(20) %51, i32 noundef %63) #7
  call void @_ZN4juce10MidiBuffer5clearEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #7
  %65 = icmp ugt i32 %.038, 1
  br i1 %65, label %.lr.ph40, label %.preheader, !llvm.loop !22

.lr.ph41:                                         ; preds = %.preheader, %67
  %66 = invoke noalias noundef nonnull dereferenceable(24) ptr @_Znwm(i64 noundef 24) #8
          to label %67 unwind label %61

67:                                               ; preds = %.lr.ph41
  call void @_ZN4juce10MidiBufferC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %66) #7
  %68 = call noundef ptr @_ZN4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE3addEPS1_(ptr noundef nonnull align 8 dereferenceable(20) %51, ptr noundef nonnull %66) #7
  %69 = call noundef i32 @_ZNK4juce10OwnedArrayINS_10MidiBufferENS_20DummyCriticalSectionEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(20) %51) #7
  %70 = icmp slt i32 %69, %46
  br i1 %70, label %.lr.ph41, label %._crit_edge42, !llvm.loop !23

._crit_edge42:                                    ; preds = %67, %.preheader
  %71 = getelementptr inbounds i8, ptr %0, i64 352
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EE8swapWithIS3_EEvRT_(ptr noundef nonnull align 8 dereferenceable(20) %71, ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  invoke void @_ZN4juceL19deleteRenderOpArrayERNS_5ArrayIPvNS_20DummyCriticalSectionELi0EEE(ptr noundef nonnull align 8 dereferenceable(20) %2)
          to label %72 unwind label %73

72:                                               ; preds = %._crit_edge42
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  ret void

73:                                               ; preds = %._crit_edge42
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %75

75:                                               ; preds = %73, %61, %60
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %60 ], [ %62, %61 ], [ %74, %73 ]
  call void @_ZN4juce5ArrayIPvNS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %2) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #7
  resume { ptr, i32 } %.pn.pn.pn.pn.pn
}

declare void @_ZN4juce18MessageManagerLockC1EPNS_6ThreadE(ptr noundef nonnull align 8 dereferenceable(9), ptr noundef) unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce17GraphRenderingOps21ConnectionLookupTableC2ERKNS_10OwnedArrayINS_19AudioProcessorGraph10ConnectionENS_20DummyCriticalSectionEEE(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EE6insertEiS3_(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef, ptr noundef) local_unnamed_addr #4 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce17GraphRenderingOps29RenderingOpSequenceCalculatorC2ERNS_19AudioProcessorGraphERKNS_5ArrayIPNS2_4NodeENS_20DummyCriticalSectionELi0EEERNS4_IPvS7_Li0EEE(ptr noundef nonnull align 8 dereferenceable(140), ptr noundef nonnull align 8 dereferenceable(417), ptr noundef nonnull align 8 dereferenceable(20), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #4 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayIPNS_19AudioProcessorGraph4NodeENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #5 align 2

; Function Attrs: nounwind
declare void @_ZN4juce18MessageManagerLockD1Ev(ptr noundef nonnull align 8 dereferenceable(9)) unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce19AudioProcessorGraph32AudioProcessorGraphBufferHelpers22setRenderingBufferSizeEii(ptr noundef nonnull align 8 dereferenceable(1200), i32 noundef, i32 noundef) local_unnamed_addr #5 align 2

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

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

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

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

!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, !9, i64 16}
!6 = !{!"_ZTSN4juce19AudioProcessorGraph4NodeE", !7, i64 0, !9, i64 16, !12, i64 24, !17, i64 48, !18, i64 56}
!7 = !{!"_ZTSN4juce22ReferenceCountedObjectE", !8, i64 8}
!8 = !{!"_ZTSN4juce6AtomicIiEE", !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"_ZTSN4juce13NamedValueSetE", !13, i64 0}
!13 = !{!"_ZTSN4juce5ArrayINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionELi0EEE", !14, i64 0, !9, i64 16}
!14 = !{!"_ZTSN4juce19ArrayAllocationBaseINS_13NamedValueSet10NamedValueENS_20DummyCriticalSectionEEE", !15, i64 0, !9, i64 8}
!15 = !{!"_ZTSN4juce9HeapBlockINS_13NamedValueSet10NamedValueELb0EEE", !16, i64 0}
!16 = !{!"any pointer", !10, i64 0}
!17 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioProcessorEEE", !16, i64 0}
!18 = !{!"bool", !10, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}
!23 = distinct !{!23, !20}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass