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

%"struct.juce::AudioProcessor::BusesLayout" = type { %"class.juce::Array.51", %"class.juce::Array.51" }
%"class.juce::Array.51" = type { %"class.juce::ArrayAllocationBase.52", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.52" = type <{ %"class.juce::HeapBlock.53", i32, [4 x i8] }>
%"class.juce::HeapBlock.53" = type { ptr }
%"class.juce::AudioChannelSet" = type { %"class.juce::BigInteger" }
%"class.juce::BigInteger" = type <{ %"class.juce::HeapBlock.50", [4 x i32], i64, i32, i8, [3 x i8] }>
%"class.juce::HeapBlock.50" = type { ptr }
%"class.juce::AudioProcessor::Bus" = type { ptr, %"class.juce::String", %"class.juce::AudioChannelSet", %"class.juce::AudioChannelSet", %"class.juce::AudioChannelSet", i8, i32 }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = 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: 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce14AudioProcessor14setBusesLayoutERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce14AudioProcessor14getBusesLayoutEv(ptr dead_on_unwind noalias writable sret(%"struct.juce::AudioProcessor::BusesLayout") align 8, ptr noundef nonnull align 8 dereferenceable(256)) #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4juce14AudioProcessor11BusesLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce14AudioProcessor29setBusesLayoutWithoutEnablingERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca %"struct.juce::AudioProcessor::BusesLayout", align 8
  %9 = alloca %"struct.juce::AudioProcessor::BusesLayout", align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.juce::AudioChannelSet", align 8
  %14 = alloca i32, align 4
  %15 = alloca %"class.juce::AudioChannelSet", align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i8, align 1
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %"class.juce::AudioChannelSet", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %23 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  %24 = call noundef i32 @_ZNK4juce14AudioProcessor11getBusCountEb(ptr noundef nonnull align 8 dereferenceable(256) %23, i1 noundef zeroext true) #6
  store i32 %24, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %25 = call noundef i32 @_ZNK4juce14AudioProcessor11getBusCountEb(ptr noundef nonnull align 8 dereferenceable(256) %23, i1 noundef zeroext false) #6
  store i32 %25, ptr %7, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %2
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 48, ptr %8) #6
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce14AudioProcessor11BusesLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %8, ptr noundef nonnull align 8 dereferenceable(48) %29)
  call void @llvm.lifetime.start.p0(i64 48, ptr %9) #6
  invoke void @_ZNK4juce14AudioProcessor14getBusesLayoutEv(ptr dead_on_unwind writable sret(%"struct.juce::AudioProcessor::BusesLayout") align 8 %9, ptr noundef nonnull align 8 dereferenceable(256) %23)
          to label %30 unwind label %36

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %55, %30
  %32 = load i32, ptr %12, align 4, !tbaa !9
  %33 = load i32, ptr %6, align 4, !tbaa !9
  %34 = icmp slt i32 %32, %33
  br i1 %34, label %40, label %35

35:                                               ; preds = %31
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %58

36:                                               ; preds = %28
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %10, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %11, align 4
  br label %159

40:                                               ; preds = %31
  %41 = load i32, ptr %12, align 4, !tbaa !9
  %42 = call noundef i32 @_ZNK4juce14AudioProcessor11BusesLayout14getNumChannelsEbi(ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext true, i32 noundef %41) #6
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %54

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #6
  %45 = load i32, ptr %12, align 4, !tbaa !9
  call void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %13, ptr noundef nonnull align 8 dereferenceable(48) %9, i1 noundef zeroext true, i32 noundef %45) #6
  %46 = load i32, ptr %12, align 4, !tbaa !9
  %47 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext true, i32 noundef %46)
          to label %48 unwind label %50

48:                                               ; preds = %44
  %49 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  br label %54

50:                                               ; preds = %44
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %10, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %11, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  br label %158

54:                                               ; preds = %48, %40
  br label %55

55:                                               ; preds = %54
  %56 = load i32, ptr %12, align 4, !tbaa !9
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %12, align 4, !tbaa !9
  br label %31, !llvm.loop !11

58:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %79, %58
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = load i32, ptr %7, align 4, !tbaa !9
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %82

64:                                               ; preds = %59
  %65 = load i32, ptr %14, align 4, !tbaa !9
  %66 = call noundef i32 @_ZNK4juce14AudioProcessor11BusesLayout14getNumChannelsEbi(ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext false, i32 noundef %65) #6
  %67 = icmp eq i32 %66, 0
  br i1 %67, label %68, label %78

68:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #6
  %69 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %15, ptr noundef nonnull align 8 dereferenceable(48) %9, i1 noundef zeroext false, i32 noundef %69) #6
  %70 = load i32, ptr %14, align 4, !tbaa !9
  %71 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext false, i32 noundef %70)
          to label %72 unwind label %74

72:                                               ; preds = %68
  %73 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %71, ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #6
  br label %78

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %10, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %11, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %158

78:                                               ; preds = %72, %64
  br label %79

79:                                               ; preds = %78
  %80 = load i32, ptr %14, align 4, !tbaa !9
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %14, align 4, !tbaa !9
  br label %59, !llvm.loop !13

82:                                               ; preds = %63
  %83 = invoke noundef zeroext i1 @_ZNK4juce14AudioProcessor25checkBusesLayoutSupportedERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %23, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %84 unwind label %86

84:                                               ; preds = %82
  br i1 %83, label %90, label %85

85:                                               ; preds = %84
  store i1 false, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %156

86:                                               ; preds = %153, %82
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %10, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %11, align 4
  br label %158

90:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #6
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %150, %90
  %92 = load i32, ptr %17, align 4, !tbaa !9
  %93 = icmp slt i32 %92, 2
  br i1 %93, label %95, label %94

94:                                               ; preds = %91
  store i32 10, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %153

95:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #6
  %96 = load i32, ptr %17, align 4, !tbaa !9
  %97 = icmp ne i32 %96, 0
  %98 = zext i1 %97 to i8
  store i8 %98, ptr %18, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %99

99:                                               ; preds = %145, %95
  %100 = load i32, ptr %19, align 4, !tbaa !9
  %101 = load i8, ptr %18, align 1, !tbaa !14, !range !16, !noundef !17
  %102 = trunc i8 %101 to i1
  br i1 %102, label %103, label %105

103:                                              ; preds = %99
  %104 = load i32, ptr %6, align 4, !tbaa !9
  br label %107

105:                                              ; preds = %99
  %106 = load i32, ptr %7, align 4, !tbaa !9
  br label %107

107:                                              ; preds = %105, %103
  %108 = phi i32 [ %104, %103 ], [ %106, %105 ]
  %109 = icmp slt i32 %100, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %107
  store i32 13, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %149

111:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  %112 = load i8, ptr %18, align 1, !tbaa !14, !range !16, !noundef !17
  %113 = trunc i8 %112 to i1
  %114 = load i32, ptr %19, align 4, !tbaa !9
  %115 = call noundef ptr @_ZN4juce14AudioProcessor6getBusEbi(ptr noundef nonnull align 8 dereferenceable(256) %23, i1 noundef zeroext %113, i32 noundef %114) #6
  store ptr %115, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  %116 = load i8, ptr %18, align 1, !tbaa !14, !range !16, !noundef !17
  %117 = trunc i8 %116 to i1
  %118 = load i32, ptr %19, align 4, !tbaa !9
  %119 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %8, i1 noundef zeroext %117, i32 noundef %118)
          to label %120 unwind label %132

120:                                              ; preds = %111
  store ptr %119, ptr %21, align 8, !tbaa !5
  %121 = load ptr, ptr %20, align 8, !tbaa !5
  %122 = call noundef zeroext i1 @_ZNK4juce14AudioProcessor3Bus9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(144) %121) #6
  br i1 %122, label %144, label %123

123:                                              ; preds = %120
  %124 = load ptr, ptr %21, align 8, !tbaa !5
  %125 = call noundef zeroext i1 @_ZNK4juce15AudioChannelSet10isDisabledEv(ptr noundef nonnull align 8 dereferenceable(40) %124) #6
  br i1 %125, label %136, label %126

126:                                              ; preds = %123
  %127 = load ptr, ptr %21, align 8, !tbaa !5
  %128 = load ptr, ptr %20, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.juce::AudioProcessor::Bus", ptr %128, i32 0, i32 4
  %130 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %129, ptr noundef nonnull align 8 dereferenceable(40) %127)
          to label %131 unwind label %132

131:                                              ; preds = %126
  br label %136

132:                                              ; preds = %126, %111
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %10, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %11, align 4
  br label %148

136:                                              ; preds = %131, %123
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #6
  invoke void @_ZN4juce15AudioChannelSet8disabledEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %22)
          to label %137 unwind label %140

137:                                              ; preds = %136
  %138 = load ptr, ptr %21, align 8, !tbaa !5
  %139 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %138, ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  br label %144

140:                                              ; preds = %136
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %10, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #6
  br label %148

144:                                              ; preds = %137, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  br label %145

145:                                              ; preds = %144
  %146 = load i32, ptr %19, align 4, !tbaa !9
  %147 = add nsw i32 %146, 1
  store i32 %147, ptr %19, align 4, !tbaa !9
  br label %99, !llvm.loop !18

148:                                              ; preds = %140, %132
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #6
  br label %158

149:                                              ; preds = %110
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #6
  br label %150

150:                                              ; preds = %149
  %151 = load i32, ptr %17, align 4, !tbaa !9
  %152 = add nsw i32 %151, 1
  store i32 %152, ptr %17, align 4, !tbaa !9
  br label %91, !llvm.loop !19

153:                                              ; preds = %94
  %154 = invoke noundef zeroext i1 @_ZN4juce14AudioProcessor14setBusesLayoutERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %23, ptr noundef nonnull align 8 dereferenceable(48) %8)
          to label %155 unwind label %86

155:                                              ; preds = %153
  store i1 %154, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %156

156:                                              ; preds = %155, %85
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %157 = load i1, ptr %3, align 1
  ret i1 %157

158:                                              ; preds = %148, %86, %74, %50
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %9) #6
  br label %159

159:                                              ; preds = %158, %36
  call void @llvm.lifetime.end.p0(i64 48, ptr %9) #6
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %8) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %160

160:                                              ; preds = %159
  %161 = load ptr, ptr %10, align 8
  %162 = load i32, ptr %11, align 4
  %163 = insertvalue { ptr, i32 } poison, ptr %161, 0
  %164 = insertvalue { ptr, i32 } %163, i32 %162, 1
  resume { ptr, i32 } %164
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8, ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext, i32 noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce14AudioProcessor25checkBusesLayoutSupportedERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce14AudioProcessor3Bus9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(144)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce15AudioChannelSet10isDisabledEv(ptr noundef nonnull align 8 dereferenceable(40)) #2 align 2

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

declare void @_ZN4juce15AudioChannelSet8disabledEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


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

%"struct.juce::AudioProcessor::BusesLayout" = type { %"class.juce::Array.51", %"class.juce::Array.51" }
%"class.juce::Array.51" = type { %"class.juce::ArrayAllocationBase.52", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.52" = type <{ %"class.juce::HeapBlock.53", i32, [4 x i8] }>
%"class.juce::HeapBlock.53" = type { ptr }
%"class.juce::AudioChannelSet" = type { %"class.juce::BigInteger" }
%"class.juce::BigInteger" = type <{ %"class.juce::HeapBlock.50", [4 x i32], i64, i32, i8, [3 x i8] }>
%"class.juce::HeapBlock.50" = 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: 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: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce14AudioProcessor14setBusesLayoutERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce14AudioProcessor14getBusesLayoutEv(ptr dead_on_unwind noalias writable sret(%"struct.juce::AudioProcessor::BusesLayout") align 8, ptr noundef nonnull align 8 dereferenceable(256)) local_unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4juce14AudioProcessor11BusesLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce14AudioProcessor29setBusesLayoutWithoutEnablingERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(48) %1) local_unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.juce::AudioProcessor::BusesLayout", align 8
  %4 = alloca %"struct.juce::AudioProcessor::BusesLayout", align 8
  %5 = alloca %"class.juce::AudioChannelSet", align 8
  %6 = alloca %"class.juce::AudioChannelSet", align 8
  %7 = alloca %"class.juce::AudioChannelSet", align 8
  %8 = tail call noundef i32 @_ZNK4juce14AudioProcessor11getBusCountEb(ptr noundef nonnull align 8 dereferenceable(256) %0, i1 noundef zeroext true) #6
  %9 = tail call noundef i32 @_ZNK4juce14AudioProcessor11getBusCountEb(ptr noundef nonnull align 8 dereferenceable(256) %0, i1 noundef zeroext false) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #6
  call void @_ZN4juce14AudioProcessor11BusesLayoutC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(48) %3, ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4) #6
  invoke void @_ZNK4juce14AudioProcessor14getBusesLayoutEv(ptr dead_on_unwind nonnull writable sret(%"struct.juce::AudioProcessor::BusesLayout") align 8 %4, ptr noundef nonnull align 8 dereferenceable(256) %0)
          to label %.preheader47 unwind label %12

.preheader47:                                     ; preds = %2
  %10 = icmp sgt i32 %8, 0
  br i1 %10, label %.lr.ph, label %.preheader46

.preheader46:                                     ; preds = %19, %.preheader47
  %11 = icmp sgt i32 %9, 0
  br i1 %11, label %.lr.ph50, label %._crit_edge

12:                                               ; preds = %2
  %13 = landingpad { ptr, i32 }
          cleanup
  br label %62

.lr.ph:                                           ; preds = %.preheader47, %19
  %.04048 = phi i32 [ %20, %19 ], [ 0, %.preheader47 ]
  %14 = call noundef i32 @_ZNK4juce14AudioProcessor11BusesLayout14getNumChannelsEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext true, i32 noundef %.04048) #6
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %19

16:                                               ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #6
  call void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %5, ptr noundef nonnull align 8 dereferenceable(48) %4, i1 noundef zeroext true, i32 noundef %.04048) #6
  %17 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext true, i32 noundef %.04048)
  %18 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #6
  br label %19

19:                                               ; preds = %.lr.ph, %16
  %20 = add nuw nsw i32 %.04048, 1
  %exitcond.not = icmp eq i32 %20, %8
  br i1 %exitcond.not, label %.preheader46, label %.lr.ph, !llvm.loop !5

._crit_edge:                                      ; preds = %27, %.preheader46
  %21 = invoke noundef zeroext i1 @_ZNK4juce14AudioProcessor25checkBusesLayoutSupportedERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %29 unwind label %30

.lr.ph50:                                         ; preds = %.preheader46, %27
  %.03949 = phi i32 [ %28, %27 ], [ 0, %.preheader46 ]
  %22 = call noundef i32 @_ZNK4juce14AudioProcessor11BusesLayout14getNumChannelsEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext false, i32 noundef %.03949) #6
  %23 = icmp eq i32 %22, 0
  br i1 %23, label %24, label %27

24:                                               ; preds = %.lr.ph50
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #6
  call void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %6, ptr noundef nonnull align 8 dereferenceable(48) %4, i1 noundef zeroext false, i32 noundef %.03949) #6
  %25 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext false, i32 noundef %.03949)
  %26 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %25, ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #6
  br label %27

27:                                               ; preds = %.lr.ph50, %24
  %28 = add nuw nsw i32 %.03949, 1
  %exitcond56.not = icmp eq i32 %28, %9
  br i1 %exitcond56.not, label %._crit_edge, label %.lr.ph50, !llvm.loop !7

29:                                               ; preds = %._crit_edge
  br i1 %21, label %.preheader.preheader, label %60

.preheader.preheader:                             ; preds = %29
  br i1 %11, label %.lr.ph53, label %._crit_edge54

30:                                               ; preds = %._crit_edge54.1, %._crit_edge
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %61

._crit_edge54:                                    ; preds = %58, %.preheader.preheader
  br i1 %10, label %.lr.ph53.1, label %._crit_edge54.1

.lr.ph53.1:                                       ; preds = %._crit_edge54, %43
  %.03451.1 = phi i32 [ %44, %43 ], [ 0, %._crit_edge54 ]
  %32 = call noundef ptr @_ZN4juce14AudioProcessor6getBusEbi(ptr noundef nonnull align 8 dereferenceable(256) %0, i1 noundef zeroext true, i32 noundef %.03451.1) #6
  %33 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext true, i32 noundef %.03451.1)
  %34 = call noundef zeroext i1 @_ZNK4juce14AudioProcessor3Bus9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(144) %32) #6
  br i1 %34, label %43, label %35

35:                                               ; preds = %.lr.ph53.1
  %36 = call noundef zeroext i1 @_ZNK4juce15AudioChannelSet10isDisabledEv(ptr noundef nonnull align 8 dereferenceable(40) %33) #6
  br i1 %36, label %40, label %37

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %32, i64 96
  %39 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %38, ptr noundef nonnull align 8 dereferenceable(40) %33)
          to label %40 unwind label %.loopexit.split-lp

40:                                               ; preds = %37, %35
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  invoke void @_ZN4juce15AudioChannelSet8disabledEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %7)
          to label %41 unwind label %.loopexit.split-lp59

41:                                               ; preds = %40
  %42 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %33, ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  br label %43

43:                                               ; preds = %41, %.lr.ph53.1
  %44 = add nuw nsw i32 %.03451.1, 1
  %exitcond57.1.not = icmp eq i32 %44, %8
  br i1 %exitcond57.1.not, label %._crit_edge54.1, label %.lr.ph53.1, !llvm.loop !8

._crit_edge54.1:                                  ; preds = %43, %._crit_edge54
  %45 = invoke noundef zeroext i1 @_ZN4juce14AudioProcessor14setBusesLayoutERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256) %0, ptr noundef nonnull align 8 dereferenceable(48) %3)
          to label %60 unwind label %30

.lr.ph53:                                         ; preds = %.preheader.preheader, %58
  %.03451 = phi i32 [ %59, %58 ], [ 0, %.preheader.preheader ]
  %46 = call noundef ptr @_ZN4juce14AudioProcessor6getBusEbi(ptr noundef nonnull align 8 dereferenceable(256) %0, i1 noundef zeroext false, i32 noundef %.03451) #6
  %47 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr noundef nonnull align 8 dereferenceable(48) %3, i1 noundef zeroext false, i32 noundef %.03451)
  %48 = call noundef zeroext i1 @_ZNK4juce14AudioProcessor3Bus9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(144) %46) #6
  br i1 %48, label %58, label %49

49:                                               ; preds = %.lr.ph53
  %50 = call noundef zeroext i1 @_ZNK4juce15AudioChannelSet10isDisabledEv(ptr noundef nonnull align 8 dereferenceable(40) %47) #6
  br i1 %50, label %54, label %51

51:                                               ; preds = %49
  %52 = getelementptr inbounds i8, ptr %46, i64 96
  %53 = invoke noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %52, ptr noundef nonnull align 8 dereferenceable(40) %47)
          to label %54 unwind label %.loopexit

.loopexit:                                        ; preds = %51
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %61

.loopexit.split-lp:                               ; preds = %37
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %61

54:                                               ; preds = %51, %49
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #6
  invoke void @_ZN4juce15AudioChannelSet8disabledEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %7)
          to label %55 unwind label %.loopexit58

55:                                               ; preds = %54
  %56 = call noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSEOS0_(ptr noundef nonnull align 8 dereferenceable(40) %47, ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #6
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  br label %58

.loopexit58:                                      ; preds = %54
  %lpad.loopexit60 = landingpad { ptr, i32 }
          cleanup
  br label %57

.loopexit.split-lp59:                             ; preds = %40
  %lpad.loopexit.split-lp61 = landingpad { ptr, i32 }
          cleanup
  br label %57

57:                                               ; preds = %.loopexit.split-lp59, %.loopexit58
  %lpad.phi62 = phi { ptr, i32 } [ %lpad.loopexit60, %.loopexit58 ], [ %lpad.loopexit.split-lp61, %.loopexit.split-lp59 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #6
  br label %61

58:                                               ; preds = %55, %.lr.ph53
  %59 = add nuw nsw i32 %.03451, 1
  %exitcond57.not = icmp eq i32 %59, %9
  br i1 %exitcond57.not, label %._crit_edge54, label %.lr.ph53, !llvm.loop !8

60:                                               ; preds = %._crit_edge54.1, %29
  %.0 = phi i1 [ false, %29 ], [ %45, %._crit_edge54.1 ]
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  ret i1 %.0

61:                                               ; preds = %.loopexit, %.loopexit.split-lp, %57, %30
  %.pn.pn = phi { ptr, i32 } [ %31, %30 ], [ %lpad.phi62, %57 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %4) #6
  br label %62

62:                                               ; preds = %61, %12
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %61 ], [ %13, %12 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %4) #6
  call void @_ZN4juce14AudioProcessor11BusesLayoutD2Ev(ptr noundef nonnull align 8 dereferenceable(48) %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn.pn.pn
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce14AudioProcessor11BusesLayout13getChannelSetEbi(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8, ptr noundef nonnull align 8 dereferenceable(48), i1 noundef zeroext, i32 noundef) local_unnamed_addr #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce14AudioProcessor25checkBusesLayoutSupportedERKNS0_11BusesLayoutE(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #3 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce14AudioProcessor3Bus9isEnabledEv(ptr noundef nonnull align 8 dereferenceable(144)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK4juce15AudioChannelSet10isDisabledEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(40) ptr @_ZN4juce15AudioChannelSetaSERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #4 align 2

declare void @_ZN4juce15AudioChannelSet8disabledEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}
!8 = distinct !{!8, !6}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass