; LLVM IR from Try/Tempest :: Engine/thirdparty/openal-soft/core/converter.ll (ZNK16ChannelConverter7convertEPKvPfj)

; 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.al::span.12" = type { ptr, i64 }
%struct.ChannelConverter = type <{ i8, [3 x i8], i32, i32, i8, [3 x i8] }>

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK16ChannelConverter7convertEPKvPfj(ptr noundef nonnull align 4 dereferenceable(13) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #1 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca %"class.al::span.12", align 8
  %11 = alloca %"class.al::span.12", align 8
  %12 = alloca %"class.al::span.12", align 8
  %13 = alloca %"class.al::span.12", align 8
  %14 = alloca %"class.al::span.12", align 8
  %15 = alloca %"class.al::span.12", align 8
  %16 = alloca %"class.al::span.12", align 8
  %17 = alloca %"class.al::span.12", align 8
  %18 = alloca %"class.al::span.12", align 8
  %19 = alloca %"class.al::span.12", align 8
  %20 = alloca %"class.al::span.12", align 8
  %21 = alloca %"class.al::span.12", align 8
  %22 = alloca %"class.al::span.12", align 8
  %23 = alloca %"class.al::span.12", align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  %24 = load ptr, ptr %5, align 8
  %25 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 4
  %26 = load i8, ptr %25, align 4, !tbaa !11
  %27 = zext i8 %26 to i32
  %28 = icmp eq i32 %27, 0
  br i1 %28, label %29, label %145

29:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %30 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %31 = load i32, ptr %30, align 4, !tbaa !15
  %32 = call noundef i32 @_ZN2al8popcountIjEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i32 noundef %31) #4
  %33 = sitofp i32 %32 to float
  %34 = fdiv float 1.000000e+00, %33
  %35 = call noundef float @_ZSt4sqrtf(float noundef %34)
  store float %35, ptr %9, align 4, !tbaa !16
  %36 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 0
  %37 = load i8, ptr %36, align 4, !tbaa !18
  %38 = zext i8 %37 to i32
  switch i32 %38, label %144 [
    i32 0, label %39
    i32 1, label %54
    i32 2, label %69
    i32 3, label %84
    i32 4, label %99
    i32 5, label %114
    i32 6, label %129
  ]

39:                                               ; preds = %29
  %40 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %41 = load i32, ptr %40, align 4, !tbaa !15
  %42 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %43 = load i32, ptr %42, align 4, !tbaa !19
  %44 = zext i32 %43 to i64
  %45 = load float, ptr %9, align 4, !tbaa !16
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = load i32, ptr %8, align 4, !tbaa !9
  %48 = zext i32 %47 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %46, i64 noundef %48)
  %49 = load ptr, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 0
  %51 = load ptr, ptr %50, align 8
  %52 = getelementptr inbounds { ptr, i64 }, ptr %10, i32 0, i32 1
  %53 = load i64, ptr %52, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType0EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %41, i64 noundef %44, float noundef %45, ptr %51, i64 %53, ptr noundef %49) #4
  br label %144

54:                                               ; preds = %29
  %55 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %56 = load i32, ptr %55, align 4, !tbaa !15
  %57 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %58 = load i32, ptr %57, align 4, !tbaa !19
  %59 = zext i32 %58 to i64
  %60 = load float, ptr %9, align 4, !tbaa !16
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = zext i32 %62 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %61, i64 noundef %63)
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %66 = load ptr, ptr %65, align 8
  %67 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %68 = load i64, ptr %67, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType1EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %56, i64 noundef %59, float noundef %60, ptr %66, i64 %68, ptr noundef %64) #4
  br label %144

69:                                               ; preds = %29
  %70 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %71 = load i32, ptr %70, align 4, !tbaa !15
  %72 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %73 = load i32, ptr %72, align 4, !tbaa !19
  %74 = zext i32 %73 to i64
  %75 = load float, ptr %9, align 4, !tbaa !16
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load i32, ptr %8, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %76, i64 noundef %78)
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8
  %82 = getelementptr inbounds { ptr, i64 }, ptr %12, i32 0, i32 1
  %83 = load i64, ptr %82, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType2EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %71, i64 noundef %74, float noundef %75, ptr %81, i64 %83, ptr noundef %79) #4
  br label %144

84:                                               ; preds = %29
  %85 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %86 = load i32, ptr %85, align 4, !tbaa !15
  %87 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %88 = load i32, ptr %87, align 4, !tbaa !19
  %89 = zext i32 %88 to i64
  %90 = load float, ptr %9, align 4, !tbaa !16
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load i32, ptr %8, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %91, i64 noundef %93)
  %94 = load ptr, ptr %6, align 8, !tbaa !5
  %95 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 0
  %96 = load ptr, ptr %95, align 8
  %97 = getelementptr inbounds { ptr, i64 }, ptr %13, i32 0, i32 1
  %98 = load i64, ptr %97, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType3EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %86, i64 noundef %89, float noundef %90, ptr %96, i64 %98, ptr noundef %94) #4
  br label %144

99:                                               ; preds = %29
  %100 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %101 = load i32, ptr %100, align 4, !tbaa !15
  %102 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %103 = load i32, ptr %102, align 4, !tbaa !19
  %104 = zext i32 %103 to i64
  %105 = load float, ptr %9, align 4, !tbaa !16
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = load i32, ptr %8, align 4, !tbaa !9
  %108 = zext i32 %107 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %106, i64 noundef %108)
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8
  %112 = getelementptr inbounds { ptr, i64 }, ptr %14, i32 0, i32 1
  %113 = load i64, ptr %112, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType4EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %101, i64 noundef %104, float noundef %105, ptr %111, i64 %113, ptr noundef %109) #4
  br label %144

114:                                              ; preds = %29
  %115 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %116 = load i32, ptr %115, align 4, !tbaa !15
  %117 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %118 = load i32, ptr %117, align 4, !tbaa !19
  %119 = zext i32 %118 to i64
  %120 = load float, ptr %9, align 4, !tbaa !16
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = load i32, ptr %8, align 4, !tbaa !9
  %123 = zext i32 %122 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %121, i64 noundef %123)
  %124 = load ptr, ptr %6, align 8, !tbaa !5
  %125 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 0
  %126 = load ptr, ptr %125, align 8
  %127 = getelementptr inbounds { ptr, i64 }, ptr %15, i32 0, i32 1
  %128 = load i64, ptr %127, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType5EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %116, i64 noundef %119, float noundef %120, ptr %126, i64 %128, ptr noundef %124) #4
  br label %144

129:                                              ; preds = %29
  %130 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %131 = load i32, ptr %130, align 4, !tbaa !15
  %132 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 2
  %133 = load i32, ptr %132, align 4, !tbaa !19
  %134 = zext i32 %133 to i64
  %135 = load float, ptr %9, align 4, !tbaa !16
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load i32, ptr %8, align 4, !tbaa !9
  %138 = zext i32 %137 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %136, i64 noundef %138)
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %141 = load ptr, ptr %140, align 8
  %142 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %143 = load i64, ptr %142, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType6EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %131, i64 noundef %134, float noundef %135, ptr %141, i64 %143, ptr noundef %139) #4
  br label %144

144:                                              ; preds = %129, %114, %99, %84, %69, %54, %39, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %237

145:                                              ; preds = %4
  %146 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 3
  %147 = load i32, ptr %146, align 4, !tbaa !15
  %148 = icmp eq i32 %147, 1
  br i1 %148, label %149, label %236

149:                                              ; preds = %145
  %150 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 4
  %151 = load i8, ptr %150, align 4, !tbaa !11
  %152 = zext i8 %151 to i32
  %153 = icmp eq i32 %152, 1
  br i1 %153, label %154, label %236

154:                                              ; preds = %149
  %155 = getelementptr inbounds %struct.ChannelConverter, ptr %24, i32 0, i32 0
  %156 = load i8, ptr %155, align 4, !tbaa !18
  %157 = zext i8 %156 to i32
  switch i32 %157, label %235 [
    i32 0, label %158
    i32 1, label %169
    i32 2, label %180
    i32 3, label %191
    i32 4, label %202
    i32 5, label %213
    i32 6, label %224
  ]

158:                                              ; preds = %154
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = load i32, ptr %8, align 4, !tbaa !9
  %161 = zext i32 %160 to i64
  %162 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %163 = mul i64 %161, %162
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %159, i64 noundef %163)
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8
  %167 = getelementptr inbounds { ptr, i64 }, ptr %17, i32 0, i32 1
  %168 = load i64, ptr %167, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType0EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %166, i64 %168, ptr noundef %164) #4
  br label %235

169:                                              ; preds = %154
  %170 = load ptr, ptr %7, align 8, !tbaa !5
  %171 = load i32, ptr %8, align 4, !tbaa !9
  %172 = zext i32 %171 to i64
  %173 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %174 = mul i64 %172, %173
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %170, i64 noundef %174)
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 0
  %177 = load ptr, ptr %176, align 8
  %178 = getelementptr inbounds { ptr, i64 }, ptr %18, i32 0, i32 1
  %179 = load i64, ptr %178, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType1EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %177, i64 %179, ptr noundef %175) #4
  br label %235

180:                                              ; preds = %154
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = load i32, ptr %8, align 4, !tbaa !9
  %183 = zext i32 %182 to i64
  %184 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %185 = mul i64 %183, %184
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %19, ptr noundef %181, i64 noundef %185)
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %188 = load ptr, ptr %187, align 8
  %189 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %190 = load i64, ptr %189, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType2EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %188, i64 %190, ptr noundef %186) #4
  br label %235

191:                                              ; preds = %154
  %192 = load ptr, ptr %7, align 8, !tbaa !5
  %193 = load i32, ptr %8, align 4, !tbaa !9
  %194 = zext i32 %193 to i64
  %195 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %196 = mul i64 %194, %195
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef %192, i64 noundef %196)
  %197 = load ptr, ptr %6, align 8, !tbaa !5
  %198 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 0
  %199 = load ptr, ptr %198, align 8
  %200 = getelementptr inbounds { ptr, i64 }, ptr %20, i32 0, i32 1
  %201 = load i64, ptr %200, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType3EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %199, i64 %201, ptr noundef %197) #4
  br label %235

202:                                              ; preds = %154
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = load i32, ptr %8, align 4, !tbaa !9
  %205 = zext i32 %204 to i64
  %206 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %207 = mul i64 %205, %206
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %21, ptr noundef %203, i64 noundef %207)
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %210 = load ptr, ptr %209, align 8
  %211 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %212 = load i64, ptr %211, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType4EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %210, i64 %212, ptr noundef %208) #4
  br label %235

213:                                              ; preds = %154
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = load i32, ptr %8, align 4, !tbaa !9
  %216 = zext i32 %215 to i64
  %217 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %218 = mul i64 %216, %217
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %22, ptr noundef %214, i64 noundef %218)
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %221 = load ptr, ptr %220, align 8
  %222 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %223 = load i64, ptr %222, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType5EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %221, i64 %223, ptr noundef %219) #4
  br label %235

224:                                              ; preds = %154
  %225 = load ptr, ptr %7, align 8, !tbaa !5
  %226 = load i32, ptr %8, align 4, !tbaa !9
  %227 = zext i32 %226 to i64
  %228 = call noundef i64 @_Zli3_uzy(i64 noundef 2) #4
  %229 = mul i64 %227, %228
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef %225, i64 noundef %229)
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %232 = load ptr, ptr %231, align 8
  %233 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %234 = load i64, ptr %233, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType6EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %232, i64 %234, ptr noundef %230) #4
  br label %235

235:                                              ; preds = %224, %213, %202, %191, %180, %169, %158, %154
  br label %236

236:                                              ; preds = %235, %149, %145
  br label %237

237:                                              ; preds = %236, %144
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2al8popcountIjEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType0EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType1EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType2EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType3EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType4EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType5EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType6EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType0EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType1EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType2EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType3EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType4EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType5EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType6EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) #3

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

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

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


; 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.al::span.12" = type { ptr, i64 }

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZNK16ChannelConverter7convertEPKvPfj(ptr nocapture noundef nonnull readonly align 4 dereferenceable(13) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) local_unnamed_addr #0 align 2 {
  %5 = alloca %"class.al::span.12", align 8
  %6 = alloca %"class.al::span.12", align 8
  %7 = alloca %"class.al::span.12", align 8
  %8 = alloca %"class.al::span.12", align 8
  %9 = alloca %"class.al::span.12", align 8
  %10 = alloca %"class.al::span.12", align 8
  %11 = alloca %"class.al::span.12", align 8
  %12 = alloca %"class.al::span.12", align 8
  %13 = alloca %"class.al::span.12", align 8
  %14 = alloca %"class.al::span.12", align 8
  %15 = alloca %"class.al::span.12", align 8
  %16 = alloca %"class.al::span.12", align 8
  %17 = alloca %"class.al::span.12", align 8
  %18 = alloca %"class.al::span.12", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 12
  %20 = load i8, ptr %19, align 4, !tbaa !5
  %21 = icmp eq i8 %20, 0
  %22 = getelementptr inbounds i8, ptr %0, i64 8
  %23 = load i32, ptr %22, align 4, !tbaa !12
  br i1 %21, label %24, label %93

24:                                               ; preds = %4
  %25 = tail call noundef i32 @_ZN2al8popcountIjEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i32 noundef %23) #2
  %26 = sitofp i32 %25 to float
  %27 = fdiv float 1.000000e+00, %26
  %28 = tail call noundef float @_ZSt4sqrtf(float noundef %27)
  %29 = load i8, ptr %0, align 4, !tbaa !13
  switch i8 %29, label %147 [
    i8 0, label %30
    i8 1, label %39
    i8 2, label %48
    i8 3, label %57
    i8 4, label %66
    i8 5, label %75
    i8 6, label %84
  ]

30:                                               ; preds = %24
  %31 = load i32, ptr %22, align 4, !tbaa !12
  %32 = getelementptr inbounds i8, ptr %0, i64 4
  %33 = load i32, ptr %32, align 4, !tbaa !14
  %34 = zext i32 %33 to i64
  %35 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef %2, i64 noundef %35)
  %36 = load ptr, ptr %5, align 8
  %37 = getelementptr inbounds i8, ptr %5, i64 8
  %38 = load i64, ptr %37, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType0EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %31, i64 noundef %34, float noundef %28, ptr %36, i64 %38, ptr noundef %1) #2
  br label %147

39:                                               ; preds = %24
  %40 = load i32, ptr %22, align 4, !tbaa !12
  %41 = getelementptr inbounds i8, ptr %0, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = zext i32 %42 to i64
  %44 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef %2, i64 noundef %44)
  %45 = load ptr, ptr %6, align 8
  %46 = getelementptr inbounds i8, ptr %6, i64 8
  %47 = load i64, ptr %46, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType1EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %40, i64 noundef %43, float noundef %28, ptr %45, i64 %47, ptr noundef %1) #2
  br label %147

48:                                               ; preds = %24
  %49 = load i32, ptr %22, align 4, !tbaa !12
  %50 = getelementptr inbounds i8, ptr %0, i64 4
  %51 = load i32, ptr %50, align 4, !tbaa !14
  %52 = zext i32 %51 to i64
  %53 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %2, i64 noundef %53)
  %54 = load ptr, ptr %7, align 8
  %55 = getelementptr inbounds i8, ptr %7, i64 8
  %56 = load i64, ptr %55, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType2EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %49, i64 noundef %52, float noundef %28, ptr %54, i64 %56, ptr noundef %1) #2
  br label %147

57:                                               ; preds = %24
  %58 = load i32, ptr %22, align 4, !tbaa !12
  %59 = getelementptr inbounds i8, ptr %0, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !14
  %61 = zext i32 %60 to i64
  %62 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr noundef %2, i64 noundef %62)
  %63 = load ptr, ptr %8, align 8
  %64 = getelementptr inbounds i8, ptr %8, i64 8
  %65 = load i64, ptr %64, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType3EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %58, i64 noundef %61, float noundef %28, ptr %63, i64 %65, ptr noundef %1) #2
  br label %147

66:                                               ; preds = %24
  %67 = load i32, ptr %22, align 4, !tbaa !12
  %68 = getelementptr inbounds i8, ptr %0, i64 4
  %69 = load i32, ptr %68, align 4, !tbaa !14
  %70 = zext i32 %69 to i64
  %71 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef %2, i64 noundef %71)
  %72 = load ptr, ptr %9, align 8
  %73 = getelementptr inbounds i8, ptr %9, i64 8
  %74 = load i64, ptr %73, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType4EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %67, i64 noundef %70, float noundef %28, ptr %72, i64 %74, ptr noundef %1) #2
  br label %147

75:                                               ; preds = %24
  %76 = load i32, ptr %22, align 4, !tbaa !12
  %77 = getelementptr inbounds i8, ptr %0, i64 4
  %78 = load i32, ptr %77, align 4, !tbaa !14
  %79 = zext i32 %78 to i64
  %80 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef %2, i64 noundef %80)
  %81 = load ptr, ptr %10, align 8
  %82 = getelementptr inbounds i8, ptr %10, i64 8
  %83 = load i64, ptr %82, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType5EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %76, i64 noundef %79, float noundef %28, ptr %81, i64 %83, ptr noundef %1) #2
  br label %147

84:                                               ; preds = %24
  %85 = load i32, ptr %22, align 4, !tbaa !12
  %86 = getelementptr inbounds i8, ptr %0, i64 4
  %87 = load i32, ptr %86, align 4, !tbaa !14
  %88 = zext i32 %87 to i64
  %89 = zext i32 %3 to i64
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef %2, i64 noundef %89)
  %90 = load ptr, ptr %11, align 8
  %91 = getelementptr inbounds i8, ptr %11, i64 8
  %92 = load i64, ptr %91, align 8
  call void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType6EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef %85, i64 noundef %88, float noundef %28, ptr %90, i64 %92, ptr noundef %1) #2
  br label %147

93:                                               ; preds = %4
  %94 = icmp eq i32 %23, 1
  %95 = icmp eq i8 %20, 1
  %or.cond = and i1 %95, %94
  br i1 %or.cond, label %96, label %147

96:                                               ; preds = %93
  %97 = load i8, ptr %0, align 4, !tbaa !13
  switch i8 %97, label %147 [
    i8 0, label %98
    i8 1, label %105
    i8 2, label %112
    i8 3, label %119
    i8 4, label %126
    i8 5, label %133
    i8 6, label %140
  ]

98:                                               ; preds = %96
  %99 = zext i32 %3 to i64
  %100 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %101 = mul i64 %100, %99
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef %2, i64 noundef %101)
  %102 = load ptr, ptr %12, align 8
  %103 = getelementptr inbounds i8, ptr %12, i64 8
  %104 = load i64, ptr %103, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType0EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %102, i64 %104, ptr noundef %1) #2
  br label %147

105:                                              ; preds = %96
  %106 = zext i32 %3 to i64
  %107 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %108 = mul i64 %107, %106
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %13, ptr noundef %2, i64 noundef %108)
  %109 = load ptr, ptr %13, align 8
  %110 = getelementptr inbounds i8, ptr %13, i64 8
  %111 = load i64, ptr %110, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType1EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %109, i64 %111, ptr noundef %1) #2
  br label %147

112:                                              ; preds = %96
  %113 = zext i32 %3 to i64
  %114 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %115 = mul i64 %114, %113
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr noundef %2, i64 noundef %115)
  %116 = load ptr, ptr %14, align 8
  %117 = getelementptr inbounds i8, ptr %14, i64 8
  %118 = load i64, ptr %117, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType2EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %116, i64 %118, ptr noundef %1) #2
  br label %147

119:                                              ; preds = %96
  %120 = zext i32 %3 to i64
  %121 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %122 = mul i64 %121, %120
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %15, ptr noundef %2, i64 noundef %122)
  %123 = load ptr, ptr %15, align 8
  %124 = getelementptr inbounds i8, ptr %15, i64 8
  %125 = load i64, ptr %124, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType3EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %123, i64 %125, ptr noundef %1) #2
  br label %147

126:                                              ; preds = %96
  %127 = zext i32 %3 to i64
  %128 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %129 = mul i64 %128, %127
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %16, ptr noundef %2, i64 noundef %129)
  %130 = load ptr, ptr %16, align 8
  %131 = getelementptr inbounds i8, ptr %16, i64 8
  %132 = load i64, ptr %131, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType4EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %130, i64 %132, ptr noundef %1) #2
  br label %147

133:                                              ; preds = %96
  %134 = zext i32 %3 to i64
  %135 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %136 = mul i64 %135, %134
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr noundef %2, i64 noundef %136)
  %137 = load ptr, ptr %17, align 8
  %138 = getelementptr inbounds i8, ptr %17, i64 8
  %139 = load i64, ptr %138, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType5EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %137, i64 %139, ptr noundef %1) #2
  br label %147

140:                                              ; preds = %96
  %141 = zext i32 %3 to i64
  %142 = tail call noundef i64 @_Zli3_uzy(i64 noundef 2) #2
  %143 = mul i64 %142, %141
  call void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16) %18, ptr noundef %2, i64 noundef %143)
  %144 = load ptr, ptr %18, align 8
  %145 = getelementptr inbounds i8, ptr %18, i64 8
  %146 = load i64, ptr %145, align 8
  call void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType6EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr %144, i64 %146, ptr noundef %1) #2
  br label %147

147:                                              ; preds = %24, %30, %39, %48, %57, %66, %75, %84, %93, %140, %133, %126, %119, %112, %105, %98, %96
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4sqrtf(float noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN2al8popcountIjEENSt9enable_ifIXaasr3std11is_integralIT_EE5valuesr3std11is_unsignedIS2_EE5valueEiE4typeES2_(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType0EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2al4spanIfLm18446744073709551615EEC2IPfEET_m(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, i64 noundef) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType1EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType2EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType3EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType4EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType5EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_110Multi2MonoIL10DevFmtType6EEEvjmfN2al4spanIfLm18446744073709551615EEEPKv(i32 noundef, i64 noundef, float noundef, ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType0EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_Zli3_uzy(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType1EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType2EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType3EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType4EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType5EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZN12_GLOBAL__N_111Mono2StereoIL10DevFmtType6EEEvN2al4spanIfLm18446744073709551615EEEPKv(ptr, i64, ptr noundef) local_unnamed_addr #0

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

!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, !11, i64 12}
!6 = !{!"_ZTS16ChannelConverter", !7, i64 0, !10, i64 4, !10, i64 8, !11, i64 12}
!7 = !{!"_ZTS10DevFmtType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS14DevFmtChannels", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 0}
!14 = !{!6, !10, i64 4}


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