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

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

%"class.juce::AudioChannelSet" = type { %"class.juce::BigInteger" }
%"class.juce::BigInteger" = type <{ %"class.juce::HeapBlock.9", [4 x i32], i64, i32, i8, [3 x i8] }>
%"class.juce::HeapBlock.9" = type { ptr }
%"class.juce::Array.21" = type { %"class.juce::ArrayAllocationBase.22", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.22" = type <{ %"class.juce::HeapBlock.23", i32, [4 x i8] }>
%"class.juce::HeapBlock.23" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; 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 uwtable
declare dso_local void @_ZN4juce15AudioChannelSet4monoEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet6stereoEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9createLCREv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9createLRSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet10createLCRSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create5point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create5point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create6point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create6point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet18create6point0MusicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet18create6point1MusicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create7point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create7point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet17create7point0SDDSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet17create7point1SDDSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet12quadraphonicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet10pentagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9hexagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9octagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9ambisonicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet16discreteChannelsEi(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8, i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15AudioChannelSet31channelSetsWithNumberOfChannelsEi(ptr dead_on_unwind noalias writable sret(%"class.juce::Array.21") align 8 %0, i32 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i1, align 1
  %6 = alloca %"class.juce::AudioChannelSet", align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.juce::AudioChannelSet", align 8
  %10 = alloca %"class.juce::AudioChannelSet", align 8
  %11 = alloca %"class.juce::AudioChannelSet", align 8
  %12 = alloca %"class.juce::AudioChannelSet", align 8
  %13 = alloca %"class.juce::AudioChannelSet", align 8
  %14 = alloca %"class.juce::AudioChannelSet", align 8
  %15 = alloca %"class.juce::AudioChannelSet", align 8
  %16 = alloca %"class.juce::AudioChannelSet", align 8
  %17 = alloca %"class.juce::AudioChannelSet", align 8
  %18 = alloca %"class.juce::AudioChannelSet", align 8
  %19 = alloca %"class.juce::AudioChannelSet", align 8
  %20 = alloca %"class.juce::AudioChannelSet", align 8
  %21 = alloca %"class.juce::AudioChannelSet", align 8
  %22 = alloca %"class.juce::AudioChannelSet", align 8
  %23 = alloca %"class.juce::AudioChannelSet", align 8
  %24 = alloca %"class.juce::AudioChannelSet", align 8
  %25 = alloca %"class.juce::AudioChannelSet", align 8
  %26 = alloca %"class.juce::AudioChannelSet", align 8
  %27 = alloca %"class.juce::AudioChannelSet", align 8
  %28 = alloca %"class.juce::AudioChannelSet", align 8
  store ptr %0, ptr %3, align 8
  store i32 %1, ptr %4, align 4, !tbaa !5
  store i1 false, ptr %5, align 1
  call void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  %29 = load i32, ptr %4, align 4, !tbaa !5
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %31, label %303

31:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #4
  %32 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_ZN4juce15AudioChannelSet16discreteChannelsEi(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %6, i32 noundef %32)
          to label %33 unwind label %40

33:                                               ; preds = %31
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %34 unwind label %44

34:                                               ; preds = %33
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #4
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %37, label %58

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #4
  invoke void @_ZN4juce15AudioChannelSet4monoEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %9)
          to label %38 unwind label %49

38:                                               ; preds = %37
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %39 unwind label %53

39:                                               ; preds = %38
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #4
  br label %302

40:                                               ; preds = %31
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %7, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %8, align 4
  br label %48

44:                                               ; preds = %33
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %7, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  br label %48

48:                                               ; preds = %44, %40
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #4
  br label %307

49:                                               ; preds = %37
  %50 = landingpad { ptr, i32 }
          cleanup
  %51 = extractvalue { ptr, i32 } %50, 0
  store ptr %51, ptr %7, align 8
  %52 = extractvalue { ptr, i32 } %50, 1
  store i32 %52, ptr %8, align 4
  br label %57

53:                                               ; preds = %38
  %54 = landingpad { ptr, i32 }
          cleanup
  %55 = extractvalue { ptr, i32 } %54, 0
  store ptr %55, ptr %7, align 8
  %56 = extractvalue { ptr, i32 } %54, 1
  store i32 %56, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  br label %57

57:                                               ; preds = %53, %49
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #4
  br label %307

58:                                               ; preds = %34
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = icmp eq i32 %59, 2
  br i1 %60, label %61, label %73

61:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #4
  invoke void @_ZN4juce15AudioChannelSet6stereoEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %10)
          to label %62 unwind label %64

62:                                               ; preds = %61
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %63 unwind label %68

63:                                               ; preds = %62
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #4
  br label %301

64:                                               ; preds = %61
  %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
  br label %72

68:                                               ; preds = %62
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %7, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #4
  br label %72

72:                                               ; preds = %68, %64
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #4
  br label %307

73:                                               ; preds = %58
  %74 = load i32, ptr %4, align 4, !tbaa !5
  %75 = icmp eq i32 %74, 3
  br i1 %75, label %76, label %99

76:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #4
  invoke void @_ZN4juce15AudioChannelSet9createLCREv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %11)
          to label %77 unwind label %81

77:                                               ; preds = %76
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %78 unwind label %85

78:                                               ; preds = %77
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #4
  invoke void @_ZN4juce15AudioChannelSet9createLRSEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %12)
          to label %79 unwind label %90

79:                                               ; preds = %78
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %12)
          to label %80 unwind label %94

80:                                               ; preds = %79
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #4
  br label %300

81:                                               ; preds = %76
  %82 = landingpad { ptr, i32 }
          cleanup
  %83 = extractvalue { ptr, i32 } %82, 0
  store ptr %83, ptr %7, align 8
  %84 = extractvalue { ptr, i32 } %82, 1
  store i32 %84, ptr %8, align 4
  br label %89

85:                                               ; preds = %77
  %86 = landingpad { ptr, i32 }
          cleanup
  %87 = extractvalue { ptr, i32 } %86, 0
  store ptr %87, ptr %7, align 8
  %88 = extractvalue { ptr, i32 } %86, 1
  store i32 %88, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #4
  br label %89

89:                                               ; preds = %85, %81
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #4
  br label %307

90:                                               ; preds = %78
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %7, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %8, align 4
  br label %98

94:                                               ; preds = %79
  %95 = landingpad { ptr, i32 }
          cleanup
  %96 = extractvalue { ptr, i32 } %95, 0
  store ptr %96, ptr %7, align 8
  %97 = extractvalue { ptr, i32 } %95, 1
  store i32 %97, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  br label %98

98:                                               ; preds = %94, %90
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #4
  br label %307

99:                                               ; preds = %73
  %100 = load i32, ptr %4, align 4, !tbaa !5
  %101 = icmp eq i32 %100, 4
  br i1 %101, label %102, label %136

102:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #4
  invoke void @_ZN4juce15AudioChannelSet12quadraphonicEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %13)
          to label %103 unwind label %109

103:                                              ; preds = %102
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %104 unwind label %113

104:                                              ; preds = %103
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %14) #4
  invoke void @_ZN4juce15AudioChannelSet10createLCRSEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %14)
          to label %105 unwind label %118

105:                                              ; preds = %104
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %106 unwind label %122

106:                                              ; preds = %105
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %15) #4
  invoke void @_ZN4juce15AudioChannelSet9ambisonicEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %15)
          to label %107 unwind label %127

107:                                              ; preds = %106
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %108 unwind label %131

108:                                              ; preds = %107
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #4
  br label %299

109:                                              ; preds = %102
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  br label %117

113:                                              ; preds = %103
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %7, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  br label %117

117:                                              ; preds = %113, %109
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #4
  br label %307

118:                                              ; preds = %104
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %7, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %8, align 4
  br label %126

122:                                              ; preds = %105
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %7, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  br label %126

126:                                              ; preds = %122, %118
  call void @llvm.lifetime.end.p0(i64 40, ptr %14) #4
  br label %307

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

131:                                              ; preds = %107
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %7, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #4
  br label %135

135:                                              ; preds = %131, %127
  call void @llvm.lifetime.end.p0(i64 40, ptr %15) #4
  br label %307

136:                                              ; preds = %99
  %137 = load i32, ptr %4, align 4, !tbaa !5
  %138 = icmp eq i32 %137, 5
  br i1 %138, label %139, label %162

139:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 40, ptr %16) #4
  invoke void @_ZN4juce15AudioChannelSet13create5point0Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %16)
          to label %140 unwind label %144

140:                                              ; preds = %139
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %141 unwind label %148

141:                                              ; preds = %140
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %17) #4
  invoke void @_ZN4juce15AudioChannelSet10pentagonalEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %17)
          to label %142 unwind label %153

142:                                              ; preds = %141
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %143 unwind label %157

143:                                              ; preds = %142
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  br label %298

144:                                              ; preds = %139
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %7, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %8, align 4
  br label %152

148:                                              ; preds = %140
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %7, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 40, ptr %16) #4
  br label %307

153:                                              ; preds = %141
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %7, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %8, align 4
  br label %161

157:                                              ; preds = %142
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %7, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  br label %161

161:                                              ; preds = %157, %153
  call void @llvm.lifetime.end.p0(i64 40, ptr %17) #4
  br label %307

162:                                              ; preds = %136
  %163 = load i32, ptr %4, align 4, !tbaa !5
  %164 = icmp eq i32 %163, 6
  br i1 %164, label %165, label %210

165:                                              ; preds = %162
  call void @llvm.lifetime.start.p0(i64 40, ptr %18) #4
  invoke void @_ZN4juce15AudioChannelSet13create5point1Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %18)
          to label %166 unwind label %174

166:                                              ; preds = %165
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %18)
          to label %167 unwind label %178

167:                                              ; preds = %166
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #4
  invoke void @_ZN4juce15AudioChannelSet13create6point0Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %19)
          to label %168 unwind label %183

168:                                              ; preds = %167
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %169 unwind label %187

169:                                              ; preds = %168
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %20) #4
  invoke void @_ZN4juce15AudioChannelSet18create6point0MusicEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %20)
          to label %170 unwind label %192

170:                                              ; preds = %169
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %171 unwind label %196

171:                                              ; preds = %170
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #4
  invoke void @_ZN4juce15AudioChannelSet9hexagonalEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %21)
          to label %172 unwind label %201

172:                                              ; preds = %171
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %173 unwind label %205

173:                                              ; preds = %172
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #4
  br label %297

174:                                              ; preds = %165
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %7, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %8, align 4
  br label %182

178:                                              ; preds = %166
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %7, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #4
  br label %182

182:                                              ; preds = %178, %174
  call void @llvm.lifetime.end.p0(i64 40, ptr %18) #4
  br label %307

183:                                              ; preds = %167
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %7, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %8, align 4
  br label %191

187:                                              ; preds = %168
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %7, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #4
  br label %191

191:                                              ; preds = %187, %183
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #4
  br label %307

192:                                              ; preds = %169
  %193 = landingpad { ptr, i32 }
          cleanup
  %194 = extractvalue { ptr, i32 } %193, 0
  store ptr %194, ptr %7, align 8
  %195 = extractvalue { ptr, i32 } %193, 1
  store i32 %195, ptr %8, align 4
  br label %200

196:                                              ; preds = %170
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %7, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #4
  br label %200

200:                                              ; preds = %196, %192
  call void @llvm.lifetime.end.p0(i64 40, ptr %20) #4
  br label %307

201:                                              ; preds = %171
  %202 = landingpad { ptr, i32 }
          cleanup
  %203 = extractvalue { ptr, i32 } %202, 0
  store ptr %203, ptr %7, align 8
  %204 = extractvalue { ptr, i32 } %202, 1
  store i32 %204, ptr %8, align 4
  br label %209

205:                                              ; preds = %172
  %206 = landingpad { ptr, i32 }
          cleanup
  %207 = extractvalue { ptr, i32 } %206, 0
  store ptr %207, ptr %7, align 8
  %208 = extractvalue { ptr, i32 } %206, 1
  store i32 %208, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #4
  br label %209

209:                                              ; preds = %205, %201
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #4
  br label %307

210:                                              ; preds = %162
  %211 = load i32, ptr %4, align 4, !tbaa !5
  %212 = icmp eq i32 %211, 7
  br i1 %212, label %213, label %258

213:                                              ; preds = %210
  call void @llvm.lifetime.start.p0(i64 40, ptr %22) #4
  invoke void @_ZN4juce15AudioChannelSet13create7point0Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %22)
          to label %214 unwind label %222

214:                                              ; preds = %213
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %215 unwind label %226

215:                                              ; preds = %214
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %23) #4
  invoke void @_ZN4juce15AudioChannelSet17create7point0SDDSEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %23)
          to label %216 unwind label %231

216:                                              ; preds = %215
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %217 unwind label %235

217:                                              ; preds = %216
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %24) #4
  invoke void @_ZN4juce15AudioChannelSet13create6point1Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %24)
          to label %218 unwind label %240

218:                                              ; preds = %217
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %24)
          to label %219 unwind label %244

219:                                              ; preds = %218
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %25) #4
  invoke void @_ZN4juce15AudioChannelSet18create6point1MusicEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %25)
          to label %220 unwind label %249

220:                                              ; preds = %219
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %25)
          to label %221 unwind label %253

221:                                              ; preds = %220
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #4
  br label %296

222:                                              ; preds = %213
  %223 = landingpad { ptr, i32 }
          cleanup
  %224 = extractvalue { ptr, i32 } %223, 0
  store ptr %224, ptr %7, align 8
  %225 = extractvalue { ptr, i32 } %223, 1
  store i32 %225, ptr %8, align 4
  br label %230

226:                                              ; preds = %214
  %227 = landingpad { ptr, i32 }
          cleanup
  %228 = extractvalue { ptr, i32 } %227, 0
  store ptr %228, ptr %7, align 8
  %229 = extractvalue { ptr, i32 } %227, 1
  store i32 %229, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #4
  br label %230

230:                                              ; preds = %226, %222
  call void @llvm.lifetime.end.p0(i64 40, ptr %22) #4
  br label %307

231:                                              ; preds = %215
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %7, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %8, align 4
  br label %239

235:                                              ; preds = %216
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %7, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #4
  br label %239

239:                                              ; preds = %235, %231
  call void @llvm.lifetime.end.p0(i64 40, ptr %23) #4
  br label %307

240:                                              ; preds = %217
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %7, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %8, align 4
  br label %248

244:                                              ; preds = %218
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %7, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %24) #4
  br label %248

248:                                              ; preds = %244, %240
  call void @llvm.lifetime.end.p0(i64 40, ptr %24) #4
  br label %307

249:                                              ; preds = %219
  %250 = landingpad { ptr, i32 }
          cleanup
  %251 = extractvalue { ptr, i32 } %250, 0
  store ptr %251, ptr %7, align 8
  %252 = extractvalue { ptr, i32 } %250, 1
  store i32 %252, ptr %8, align 4
  br label %257

253:                                              ; preds = %220
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %7, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %25) #4
  br label %257

257:                                              ; preds = %253, %249
  call void @llvm.lifetime.end.p0(i64 40, ptr %25) #4
  br label %307

258:                                              ; preds = %210
  %259 = load i32, ptr %4, align 4, !tbaa !5
  %260 = icmp eq i32 %259, 8
  br i1 %260, label %261, label %295

261:                                              ; preds = %258
  call void @llvm.lifetime.start.p0(i64 40, ptr %26) #4
  invoke void @_ZN4juce15AudioChannelSet13create7point1Ev(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %26)
          to label %262 unwind label %268

262:                                              ; preds = %261
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %26)
          to label %263 unwind label %272

263:                                              ; preds = %262
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %27) #4
  invoke void @_ZN4juce15AudioChannelSet17create7point1SDDSEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %27)
          to label %264 unwind label %277

264:                                              ; preds = %263
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %27)
          to label %265 unwind label %281

265:                                              ; preds = %264
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr %28) #4
  invoke void @_ZN4juce15AudioChannelSet9octagonalEv(ptr dead_on_unwind writable sret(%"class.juce::AudioChannelSet") align 8 %28)
          to label %266 unwind label %286

266:                                              ; preds = %265
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %28)
          to label %267 unwind label %290

267:                                              ; preds = %266
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #4
  br label %295

268:                                              ; preds = %261
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %7, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %8, align 4
  br label %276

272:                                              ; preds = %262
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %7, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %26) #4
  br label %276

276:                                              ; preds = %272, %268
  call void @llvm.lifetime.end.p0(i64 40, ptr %26) #4
  br label %307

277:                                              ; preds = %263
  %278 = landingpad { ptr, i32 }
          cleanup
  %279 = extractvalue { ptr, i32 } %278, 0
  store ptr %279, ptr %7, align 8
  %280 = extractvalue { ptr, i32 } %278, 1
  store i32 %280, ptr %8, align 4
  br label %285

281:                                              ; preds = %264
  %282 = landingpad { ptr, i32 }
          cleanup
  %283 = extractvalue { ptr, i32 } %282, 0
  store ptr %283, ptr %7, align 8
  %284 = extractvalue { ptr, i32 } %282, 1
  store i32 %284, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %27) #4
  br label %285

285:                                              ; preds = %281, %277
  call void @llvm.lifetime.end.p0(i64 40, ptr %27) #4
  br label %307

286:                                              ; preds = %265
  %287 = landingpad { ptr, i32 }
          cleanup
  %288 = extractvalue { ptr, i32 } %287, 0
  store ptr %288, ptr %7, align 8
  %289 = extractvalue { ptr, i32 } %287, 1
  store i32 %289, ptr %8, align 4
  br label %294

290:                                              ; preds = %266
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %7, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, ptr %8, align 4
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %28) #4
  br label %294

294:                                              ; preds = %290, %286
  call void @llvm.lifetime.end.p0(i64 40, ptr %28) #4
  br label %307

295:                                              ; preds = %267, %258
  br label %296

296:                                              ; preds = %295, %221
  br label %297

297:                                              ; preds = %296, %173
  br label %298

298:                                              ; preds = %297, %143
  br label %299

299:                                              ; preds = %298, %108
  br label %300

300:                                              ; preds = %299, %80
  br label %301

301:                                              ; preds = %300, %63
  br label %302

302:                                              ; preds = %301, %39
  br label %303

303:                                              ; preds = %302, %2
  store i1 true, ptr %5, align 1
  %304 = load i1, ptr %5, align 1
  br i1 %304, label %306, label %305

305:                                              ; preds = %303
  call void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  br label %306

306:                                              ; preds = %305, %303
  ret void

307:                                              ; preds = %294, %285, %276, %257, %248, %239, %230, %209, %200, %191, %182, %161, %152, %135, %126, %117, %98, %89, %72, %57, %48
  call void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  br label %308

308:                                              ; preds = %307
  %309 = load ptr, ptr %7, align 8
  %310 = load i32, ptr %8, align 4
  %311 = insertvalue { ptr, i32 } poison, ptr %309, 0
  %312 = insertvalue { ptr, i32 } %311, i32 %310, 1
  resume { ptr, i32 } %312
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

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

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


; 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::AudioChannelSet" = type { %"class.juce::BigInteger" }
%"class.juce::BigInteger" = type <{ %"class.juce::HeapBlock.9", [4 x i32], i64, i32, i8, [3 x i8] }>
%"class.juce::HeapBlock.9" = type { ptr }
%"class.juce::Array.21" = type { %"class.juce::ArrayAllocationBase.22", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.22" = type <{ %"class.juce::HeapBlock.23", i32, [4 x i8] }>
%"class.juce::HeapBlock.23" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; 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 uwtable
declare dso_local void @_ZN4juce15AudioChannelSet4monoEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet6stereoEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9createLCREv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9createLRSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet10createLCRSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create5point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create5point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create6point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create6point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet18create6point0MusicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet18create6point1MusicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create7point0Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet13create7point1Ev(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet17create7point0SDDSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet17create7point1SDDSEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet12quadraphonicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet10pentagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9hexagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9octagonalEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet9ambisonicEv(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce15AudioChannelSet16discreteChannelsEi(ptr dead_on_unwind noalias writable sret(%"class.juce::AudioChannelSet") align 8, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce15AudioChannelSet31channelSetsWithNumberOfChannelsEi(ptr dead_on_unwind noalias nonnull writable sret(%"class.juce::Array.21") align 8 %0, i32 noundef %1) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::AudioChannelSet", align 8
  %4 = alloca %"class.juce::AudioChannelSet", align 8
  %5 = alloca %"class.juce::AudioChannelSet", align 8
  %6 = alloca %"class.juce::AudioChannelSet", align 8
  %7 = alloca %"class.juce::AudioChannelSet", align 8
  %8 = alloca %"class.juce::AudioChannelSet", align 8
  %9 = alloca %"class.juce::AudioChannelSet", align 8
  %10 = alloca %"class.juce::AudioChannelSet", align 8
  %11 = alloca %"class.juce::AudioChannelSet", align 8
  %12 = alloca %"class.juce::AudioChannelSet", align 8
  %13 = alloca %"class.juce::AudioChannelSet", align 8
  %14 = alloca %"class.juce::AudioChannelSet", align 8
  %15 = alloca %"class.juce::AudioChannelSet", align 8
  %16 = alloca %"class.juce::AudioChannelSet", align 8
  %17 = alloca %"class.juce::AudioChannelSet", align 8
  %18 = alloca %"class.juce::AudioChannelSet", align 8
  %19 = alloca %"class.juce::AudioChannelSet", align 8
  %20 = alloca %"class.juce::AudioChannelSet", align 8
  %21 = alloca %"class.juce::AudioChannelSet", align 8
  %22 = alloca %"class.juce::AudioChannelSet", align 8
  %23 = alloca %"class.juce::AudioChannelSet", align 8
  tail call void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EEC2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  %.not = icmp eq i32 %1, 0
  br i1 %.not, label %180, label %24

24:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #4
  invoke void @_ZN4juce15AudioChannelSet16discreteChannelsEi(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %3, i32 noundef %1)
          to label %25 unwind label %30

25:                                               ; preds = %24
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %3)
          to label %26 unwind label %32

26:                                               ; preds = %25
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  switch i32 %1, label %180 [
    i32 1, label %27
    i32 2, label %40
    i32 3, label %48
    i32 4, label %63
    i32 5, label %85
    i32 6, label %100
    i32 7, label %129
    i32 8, label %158
  ]

27:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #4
  invoke void @_ZN4juce15AudioChannelSet4monoEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %4)
          to label %28 unwind label %35

28:                                               ; preds = %27
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %4)
          to label %29 unwind label %37

29:                                               ; preds = %28
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  br label %180

30:                                               ; preds = %24
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %34

32:                                               ; preds = %25
  %33 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #4
  br label %34

34:                                               ; preds = %32, %30
  %.pn = phi { ptr, i32 } [ %33, %32 ], [ %31, %30 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #4
  br label %181

35:                                               ; preds = %27
  %36 = landingpad { ptr, i32 }
          cleanup
  br label %39

37:                                               ; preds = %28
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #4
  br label %39

39:                                               ; preds = %37, %35
  %.pn74 = phi { ptr, i32 } [ %38, %37 ], [ %36, %35 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #4
  br label %181

40:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #4
  invoke void @_ZN4juce15AudioChannelSet6stereoEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %5)
          to label %41 unwind label %43

41:                                               ; preds = %40
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %5)
          to label %42 unwind label %45

42:                                               ; preds = %41
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  br label %180

43:                                               ; preds = %40
  %44 = landingpad { ptr, i32 }
          cleanup
  br label %47

45:                                               ; preds = %41
  %46 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #4
  br label %47

47:                                               ; preds = %45, %43
  %.pn72 = phi { ptr, i32 } [ %46, %45 ], [ %44, %43 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #4
  br label %181

48:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #4
  invoke void @_ZN4juce15AudioChannelSet9createLCREv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %6)
          to label %49 unwind label %53

49:                                               ; preds = %48
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %6)
          to label %50 unwind label %55

50:                                               ; preds = %49
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #4
  invoke void @_ZN4juce15AudioChannelSet9createLRSEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %7)
          to label %51 unwind label %58

51:                                               ; preds = %50
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %7)
          to label %52 unwind label %60

52:                                               ; preds = %51
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #4
  br label %180

53:                                               ; preds = %48
  %54 = landingpad { ptr, i32 }
          cleanup
  br label %57

55:                                               ; preds = %49
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %6) #4
  br label %57

57:                                               ; preds = %55, %53
  %.pn68 = phi { ptr, i32 } [ %56, %55 ], [ %54, %53 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #4
  br label %181

58:                                               ; preds = %50
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %51
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %7) #4
  br label %62

62:                                               ; preds = %60, %58
  %.pn70 = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #4
  br label %181

63:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #4
  invoke void @_ZN4juce15AudioChannelSet12quadraphonicEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %8)
          to label %64 unwind label %70

64:                                               ; preds = %63
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %8)
          to label %65 unwind label %72

65:                                               ; preds = %64
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %9) #4
  invoke void @_ZN4juce15AudioChannelSet10createLCRSEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %9)
          to label %66 unwind label %75

66:                                               ; preds = %65
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %9)
          to label %67 unwind label %77

67:                                               ; preds = %66
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %10) #4
  invoke void @_ZN4juce15AudioChannelSet9ambisonicEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %10)
          to label %68 unwind label %80

68:                                               ; preds = %67
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %10)
          to label %69 unwind label %82

69:                                               ; preds = %68
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  br label %180

70:                                               ; preds = %63
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %74

72:                                               ; preds = %64
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %8) #4
  br label %74

74:                                               ; preds = %72, %70
  %.pn62 = phi { ptr, i32 } [ %73, %72 ], [ %71, %70 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #4
  br label %181

75:                                               ; preds = %65
  %76 = landingpad { ptr, i32 }
          cleanup
  br label %79

77:                                               ; preds = %66
  %78 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  br label %79

79:                                               ; preds = %77, %75
  %.pn64 = phi { ptr, i32 } [ %78, %77 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %9) #4
  br label %181

80:                                               ; preds = %67
  %81 = landingpad { ptr, i32 }
          cleanup
  br label %84

82:                                               ; preds = %68
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %10) #4
  br label %84

84:                                               ; preds = %82, %80
  %.pn66 = phi { ptr, i32 } [ %83, %82 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %10) #4
  br label %181

85:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %11) #4
  invoke void @_ZN4juce15AudioChannelSet13create5point0Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %11)
          to label %86 unwind label %90

86:                                               ; preds = %85
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %11)
          to label %87 unwind label %92

87:                                               ; preds = %86
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %12) #4
  invoke void @_ZN4juce15AudioChannelSet10pentagonalEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %12)
          to label %88 unwind label %95

88:                                               ; preds = %87
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %12)
          to label %89 unwind label %97

89:                                               ; preds = %88
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #4
  br label %180

90:                                               ; preds = %85
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %94

92:                                               ; preds = %86
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #4
  br label %94

94:                                               ; preds = %92, %90
  %.pn58 = phi { ptr, i32 } [ %93, %92 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %11) #4
  br label %181

95:                                               ; preds = %87
  %96 = landingpad { ptr, i32 }
          cleanup
  br label %99

97:                                               ; preds = %88
  %98 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %12) #4
  br label %99

99:                                               ; preds = %97, %95
  %.pn60 = phi { ptr, i32 } [ %98, %97 ], [ %96, %95 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %12) #4
  br label %181

100:                                              ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %13) #4
  invoke void @_ZN4juce15AudioChannelSet13create5point1Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %13)
          to label %101 unwind label %109

101:                                              ; preds = %100
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %13)
          to label %102 unwind label %111

102:                                              ; preds = %101
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %14) #4
  invoke void @_ZN4juce15AudioChannelSet13create6point0Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %14)
          to label %103 unwind label %114

103:                                              ; preds = %102
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %14)
          to label %104 unwind label %116

104:                                              ; preds = %103
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %15) #4
  invoke void @_ZN4juce15AudioChannelSet18create6point0MusicEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %15)
          to label %105 unwind label %119

105:                                              ; preds = %104
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %15)
          to label %106 unwind label %121

106:                                              ; preds = %105
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %16) #4
  invoke void @_ZN4juce15AudioChannelSet9hexagonalEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %16)
          to label %107 unwind label %124

107:                                              ; preds = %106
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %16)
          to label %108 unwind label %126

108:                                              ; preds = %107
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  br label %180

109:                                              ; preds = %100
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %113

111:                                              ; preds = %101
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #4
  br label %113

113:                                              ; preds = %111, %109
  %.pn50 = phi { ptr, i32 } [ %112, %111 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %13) #4
  br label %181

114:                                              ; preds = %102
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %118

116:                                              ; preds = %103
  %117 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %14) #4
  br label %118

118:                                              ; preds = %116, %114
  %.pn52 = phi { ptr, i32 } [ %117, %116 ], [ %115, %114 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %14) #4
  br label %181

119:                                              ; preds = %104
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %123

121:                                              ; preds = %105
  %122 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %15) #4
  br label %123

123:                                              ; preds = %121, %119
  %.pn54 = phi { ptr, i32 } [ %122, %121 ], [ %120, %119 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %15) #4
  br label %181

124:                                              ; preds = %106
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %128

126:                                              ; preds = %107
  %127 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %16) #4
  br label %128

128:                                              ; preds = %126, %124
  %.pn56 = phi { ptr, i32 } [ %127, %126 ], [ %125, %124 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %16) #4
  br label %181

129:                                              ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %17) #4
  invoke void @_ZN4juce15AudioChannelSet13create7point0Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %17)
          to label %130 unwind label %138

130:                                              ; preds = %129
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %17)
          to label %131 unwind label %140

131:                                              ; preds = %130
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %18) #4
  invoke void @_ZN4juce15AudioChannelSet17create7point0SDDSEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %18)
          to label %132 unwind label %143

132:                                              ; preds = %131
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %18)
          to label %133 unwind label %145

133:                                              ; preds = %132
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %19) #4
  invoke void @_ZN4juce15AudioChannelSet13create6point1Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %19)
          to label %134 unwind label %148

134:                                              ; preds = %133
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %19)
          to label %135 unwind label %150

135:                                              ; preds = %134
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %20) #4
  invoke void @_ZN4juce15AudioChannelSet18create6point1MusicEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %20)
          to label %136 unwind label %153

136:                                              ; preds = %135
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %20)
          to label %137 unwind label %155

137:                                              ; preds = %136
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #4
  br label %180

138:                                              ; preds = %129
  %139 = landingpad { ptr, i32 }
          cleanup
  br label %142

140:                                              ; preds = %130
  %141 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #4
  br label %142

142:                                              ; preds = %140, %138
  %.pn42 = phi { ptr, i32 } [ %141, %140 ], [ %139, %138 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %17) #4
  br label %181

143:                                              ; preds = %131
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

145:                                              ; preds = %132
  %146 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %18) #4
  br label %147

147:                                              ; preds = %145, %143
  %.pn44 = phi { ptr, i32 } [ %146, %145 ], [ %144, %143 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %18) #4
  br label %181

148:                                              ; preds = %133
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %134
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #4
  br label %152

152:                                              ; preds = %150, %148
  %.pn46 = phi { ptr, i32 } [ %151, %150 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %19) #4
  br label %181

153:                                              ; preds = %135
  %154 = landingpad { ptr, i32 }
          cleanup
  br label %157

155:                                              ; preds = %136
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %20) #4
  br label %157

157:                                              ; preds = %155, %153
  %.pn48 = phi { ptr, i32 } [ %156, %155 ], [ %154, %153 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %20) #4
  br label %181

158:                                              ; preds = %26
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %21) #4
  invoke void @_ZN4juce15AudioChannelSet13create7point1Ev(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %21)
          to label %159 unwind label %165

159:                                              ; preds = %158
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %21)
          to label %160 unwind label %167

160:                                              ; preds = %159
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %22) #4
  invoke void @_ZN4juce15AudioChannelSet17create7point1SDDSEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %22)
          to label %161 unwind label %170

161:                                              ; preds = %160
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %22)
          to label %162 unwind label %172

162:                                              ; preds = %161
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #4
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %23) #4
  invoke void @_ZN4juce15AudioChannelSet9octagonalEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::AudioChannelSet") align 8 %23)
          to label %163 unwind label %175

163:                                              ; preds = %162
  invoke void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EE3addEOS1_(ptr noundef nonnull align 8 dereferenceable(20) %0, ptr noundef nonnull align 8 dereferenceable(40) %23)
          to label %164 unwind label %177

164:                                              ; preds = %163
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #4
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #4
  br label %180

165:                                              ; preds = %158
  %166 = landingpad { ptr, i32 }
          cleanup
  br label %169

167:                                              ; preds = %159
  %168 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %21) #4
  br label %169

169:                                              ; preds = %167, %165
  %.pn36 = phi { ptr, i32 } [ %168, %167 ], [ %166, %165 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %21) #4
  br label %181

170:                                              ; preds = %160
  %171 = landingpad { ptr, i32 }
          cleanup
  br label %174

172:                                              ; preds = %161
  %173 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %22) #4
  br label %174

174:                                              ; preds = %172, %170
  %.pn38 = phi { ptr, i32 } [ %173, %172 ], [ %171, %170 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %22) #4
  br label %181

175:                                              ; preds = %162
  %176 = landingpad { ptr, i32 }
          cleanup
  br label %179

177:                                              ; preds = %163
  %178 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce15AudioChannelSetD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %23) #4
  br label %179

179:                                              ; preds = %177, %175
  %.pn40 = phi { ptr, i32 } [ %178, %177 ], [ %176, %175 ]
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %23) #4
  br label %181

180:                                              ; preds = %2, %42, %69, %108, %164, %137, %89, %52, %29, %26
  ret void

181:                                              ; preds = %179, %174, %169, %157, %152, %147, %142, %128, %123, %118, %113, %99, %94, %84, %79, %74, %62, %57, %47, %39, %34
  %.pn74.pn = phi { ptr, i32 } [ %.pn74, %39 ], [ %.pn72, %47 ], [ %.pn70, %62 ], [ %.pn68, %57 ], [ %.pn66, %84 ], [ %.pn64, %79 ], [ %.pn62, %74 ], [ %.pn60, %99 ], [ %.pn58, %94 ], [ %.pn56, %128 ], [ %.pn54, %123 ], [ %.pn52, %118 ], [ %.pn50, %113 ], [ %.pn48, %157 ], [ %.pn46, %152 ], [ %.pn44, %147 ], [ %.pn42, %142 ], [ %.pn40, %179 ], [ %.pn38, %174 ], [ %.pn36, %169 ], [ %.pn, %34 ]
  call void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20) %0) #4
  resume { ptr, i32 } %.pn74.pn
}

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce5ArrayINS_15AudioChannelSetENS_20DummyCriticalSectionELi0EED2Ev(ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #3 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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)"}


; Effective O3 passes: GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass