; LLVM IR from Aquatic-Games/mixr :: src/Impl/Impl.ll (ZN4mixr4Impl20MixToStereoF32BufferEPfm)

; 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.mixr::Impl" = type { i32, float, %"class.std::vector", %"class.std::vector.0", %"class.std::deque", %"class.std::deque" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<mixr::Buffer, std::allocator<mixr::Buffer>>::_Vector_impl" }
%"struct.std::_Vector_base<mixr::Buffer, std::allocator<mixr::Buffer>>::_Vector_impl" = type { %"struct.std::_Vector_base<mixr::Buffer, std::allocator<mixr::Buffer>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mixr::Buffer, std::allocator<mixr::Buffer>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<mixr::Source, std::allocator<mixr::Source>>::_Vector_impl" }
%"struct.std::_Vector_base<mixr::Source, std::allocator<mixr::Source>>::_Vector_impl" = type { %"struct.std::_Vector_base<mixr::Source, std::allocator<mixr::Source>>::_Vector_impl_data" }
%"struct.std::_Vector_base<mixr::Source, std::allocator<mixr::Source>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<unsigned long, std::allocator<unsigned long>>::_Deque_impl" }
%"struct.std::_Deque_base<unsigned long, std::allocator<unsigned long>>::_Deque_impl" = type { %"struct.std::_Deque_base<unsigned long, std::allocator<unsigned long>>::_Deque_impl_data" }
%"struct.std::_Deque_base<unsigned long, std::allocator<unsigned long>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }
%"struct.mixr::Source" = type { i32, %"struct.mixr::AudioFormat", i32, i32, double, %"class.std::deque", ptr, i8, double, float, i8, i64, float, float, i64, double, ptr, ptr, ptr, ptr, i64, float, float, i64, i64, i64 }
%"struct.mixr::AudioFormat" = type { i32, i32, i8 }
%"struct.mixr::Buffer" = type { %"class.std::vector.8", i64 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4mixr6BufferESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(248) ptr @_ZNSt6vectorIN4mixr6SourceESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4mixr4Impl10SourceStopEm(ptr noundef nonnull align 8 dereferenceable(216), i64 noundef) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr4Impl12UpdateSourceEPNS_6SourceE(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5Clampfff(float noundef, float noundef, float noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4mixr4Impl20MixToStereoF32BufferEPfm(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef %1, i64 noundef %2) #2 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i64, align 8
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i8, align 1
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca ptr, align 8
  %28 = alloca float, align 4
  %29 = alloca float, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %33 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %437, %3
  %35 = load i32, ptr %7, align 4, !tbaa !11
  %36 = sext i32 %35 to i64
  %37 = load i64, ptr %6, align 8, !tbaa !9
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %34
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %440

40:                                               ; preds = %34
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load i32, ptr %7, align 4, !tbaa !11
  %43 = add nsw i32 %42, 0
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds float, ptr %41, i64 %44
  store float 0.000000e+00, ptr %45, align 4, !tbaa !13
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load i32, ptr %7, align 4, !tbaa !11
  %48 = add nsw i32 %47, 1
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds float, ptr %46, i64 %49
  store float 0.000000e+00, ptr %50, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !11
  br label %51

51:                                               ; preds = %403, %40
  %52 = load i32, ptr %9, align 4, !tbaa !11
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds %"class.mixr::Impl", ptr %33, i32 0, i32 3
  %55 = call noundef i64 @_ZNKSt6vectorIN4mixr6SourceESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %54) #5
  %56 = icmp ult i64 %53, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %51
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %406

58:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %59 = getelementptr inbounds %"class.mixr::Impl", ptr %33, i32 0, i32 3
  %60 = load i32, ptr %9, align 4, !tbaa !11
  %61 = sext i32 %60 to i64
  %62 = call noundef nonnull align 8 dereferenceable(248) ptr @_ZNSt6vectorIN4mixr6SourceESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %59, i64 noundef %61) #5
  store ptr %62, ptr %10, align 8, !tbaa !5
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.mixr::Source", ptr %63, i32 0, i32 7
  %65 = load i8, ptr %64, align 8, !tbaa !15, !range !27, !noundef !28
  %66 = trunc i8 %65 to i1
  br i1 %66, label %67, label %72

67:                                               ; preds = %58
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.mixr::Source", ptr %68, i32 0, i32 9
  %70 = load float, ptr %69, align 8, !tbaa !29
  %71 = fcmp ole float %70, 0x3F847AE140000000
  br i1 %71, label %72, label %73

72:                                               ; preds = %67, %58
  store i32 7, ptr %8, align 4
  br label %400

73:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %74 = load ptr, ptr %10, align 8, !tbaa !5
  %75 = getelementptr inbounds %"struct.mixr::Source", ptr %74, i32 0, i32 4
  %76 = load double, ptr %75, align 8, !tbaa !30
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = getelementptr inbounds %"struct.mixr::Source", ptr %77, i32 0, i32 8
  %79 = load double, ptr %78, align 8, !tbaa !31
  %80 = fmul double %76, %79
  store double %80, ptr %11, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %81 = load double, ptr %11, align 8, !tbaa !32
  %82 = fptosi double %81 to i32
  store i32 %82, ptr %13, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 1, ptr %14, align 4, !tbaa !11
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %13, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %84 = load i32, ptr %83, align 4, !tbaa !11
  %85 = shl i32 %84, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  store i32 %85, ptr %12, align 4, !tbaa !11
  %86 = load i32, ptr %12, align 4, !tbaa !11
  %87 = sitofp i32 %86 to double
  %88 = load double, ptr %11, align 8, !tbaa !32
  %89 = fdiv double %88, %87
  store double %89, ptr %11, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !11
  br label %90

90:                                               ; preds = %395, %73
  %91 = load i32, ptr %15, align 4, !tbaa !11
  %92 = load i32, ptr %12, align 4, !tbaa !11
  %93 = icmp slt i32 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 8, ptr %8, align 4
  br label %398

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %96 = getelementptr inbounds %"class.mixr::Impl", ptr %33, i32 0, i32 2
  %97 = load ptr, ptr %10, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.mixr::Source", ptr %97, i32 0, i32 5
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeImSaImEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %98) #5
  %100 = load i64, ptr %99, align 8, !tbaa !9
  %101 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4mixr6BufferESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %96, i64 noundef %100) #5
  store ptr %101, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %102 = load ptr, ptr %16, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.mixr::Buffer", ptr %102, i32 0, i32 0
  %104 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %103) #5
  store ptr %104, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %105 = load ptr, ptr %10, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.mixr::Source", ptr %105, i32 0, i32 1
  store ptr %106, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %107 = load ptr, ptr %10, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.mixr::Source", ptr %107, i32 0, i32 14
  %109 = load i64, ptr %108, align 8, !tbaa !33
  %110 = load ptr, ptr %10, align 8, !tbaa !5
  %111 = getelementptr inbounds %"struct.mixr::Source", ptr %110, i32 0, i32 2
  %112 = load i32, ptr %111, align 8, !tbaa !34
  %113 = load ptr, ptr %10, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.mixr::Source", ptr %113, i32 0, i32 3
  %115 = load i32, ptr %114, align 4, !tbaa !35
  %116 = add nsw i32 %112, %115
  %117 = sext i32 %116 to i64
  %118 = mul i64 %109, %117
  store i64 %118, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  %119 = load ptr, ptr %10, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.mixr::Source", ptr %119, i32 0, i32 0
  %121 = load i32, ptr %120, align 8, !tbaa !36
  switch i32 %121, label %231 [
    i32 0, label %122
    i32 1, label %140
  ]

122:                                              ; preds = %95
  %123 = load ptr, ptr %17, align 8, !tbaa !5
  %124 = load i64, ptr %19, align 8, !tbaa !9
  %125 = load ptr, ptr %18, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %125, i32 0, i32 0
  %127 = load i32, ptr %126, align 4, !tbaa !37
  %128 = call noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef %123, i64 noundef %124, i32 noundef %127)
  store float %128, ptr %20, align 4, !tbaa !13
  %129 = load ptr, ptr %17, align 8, !tbaa !5
  %130 = load i64, ptr %19, align 8, !tbaa !9
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = getelementptr inbounds %"struct.mixr::Source", ptr %131, i32 0, i32 3
  %133 = load i32, ptr %132, align 4, !tbaa !35
  %134 = sext i32 %133 to i64
  %135 = add i64 %130, %134
  %136 = load ptr, ptr %18, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %136, i32 0, i32 0
  %138 = load i32, ptr %137, align 4, !tbaa !37
  %139 = call noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef %129, i64 noundef %135, i32 noundef %138)
  store float %139, ptr %21, align 4, !tbaa !13
  br label %231

140:                                              ; preds = %95
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #5
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = getelementptr inbounds %"struct.mixr::Source", ptr %141, i32 0, i32 1
  %143 = getelementptr inbounds %"struct.mixr::AudioFormat", ptr %142, i32 0, i32 2
  %144 = load i8, ptr %143, align 4, !tbaa !38
  %145 = zext i8 %144 to i32
  %146 = icmp eq i32 %145, 2
  %147 = zext i1 %146 to i8
  store i8 %147, ptr %22, align 1, !tbaa !39
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %148 = load ptr, ptr %10, align 8, !tbaa !5
  %149 = getelementptr inbounds %"struct.mixr::Source", ptr %148, i32 0, i32 24
  %150 = load i64, ptr %149, align 8, !tbaa !40
  store i64 %150, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  %151 = load i64, ptr %23, align 8, !tbaa !9
  %152 = load i8, ptr %22, align 1, !tbaa !39, !range !27, !noundef !28
  %153 = trunc i8 %152 to i1
  %154 = zext i1 %153 to i64
  %155 = select i1 %153, i32 8, i32 4
  %156 = sext i32 %155 to i64
  %157 = sub i64 %151, %156
  %158 = mul i64 %157, 4
  store i64 %158, ptr %24, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %159 = load i64, ptr %19, align 8, !tbaa !9
  %160 = load i64, ptr %24, align 8, !tbaa !9
  %161 = udiv i64 %159, %160
  store i64 %161, ptr %25, align 8, !tbaa !9
  %162 = load i64, ptr %25, align 8, !tbaa !9
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = getelementptr inbounds %"struct.mixr::Source", ptr %163, i32 0, i32 25
  %165 = load i64, ptr %164, align 8, !tbaa !41
  %166 = icmp ult i64 %162, %165
  br i1 %166, label %167, label %190

167:                                              ; preds = %140
  %168 = load i64, ptr %25, align 8, !tbaa !9
  %169 = load ptr, ptr %10, align 8, !tbaa !5
  %170 = getelementptr inbounds %"struct.mixr::Source", ptr %169, i32 0, i32 23
  %171 = load i64, ptr %170, align 8, !tbaa !42
  %172 = icmp ne i64 %168, %171
  br i1 %172, label %173, label %190

173:                                              ; preds = %167
  %174 = load i64, ptr %25, align 8, !tbaa !9
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = getelementptr inbounds %"struct.mixr::Source", ptr %175, i32 0, i32 23
  store i64 %174, ptr %176, align 8, !tbaa !42
  %177 = load ptr, ptr %16, align 8, !tbaa !5
  %178 = getelementptr inbounds %"struct.mixr::Buffer", ptr %177, i32 0, i32 0
  %179 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %178) #5
  %180 = load i64, ptr %25, align 8, !tbaa !9
  %181 = load i64, ptr %23, align 8, !tbaa !9
  %182 = mul i64 %180, %181
  %183 = getelementptr inbounds i8, ptr %179, i64 %182
  %184 = load i64, ptr %23, align 8, !tbaa !9
  %185 = load ptr, ptr %10, align 8, !tbaa !5
  %186 = getelementptr inbounds %"struct.mixr::Source", ptr %185, i32 0, i32 6
  %187 = load ptr, ptr %186, align 8, !tbaa !43
  %188 = load i8, ptr %22, align 1, !tbaa !39, !range !27, !noundef !28
  %189 = trunc i8 %188 to i1
  call void @_ZN4mixr5Utils5ADPCM14DecodeIMAChunkEPhmS2_b(ptr noundef %183, i64 noundef %184, ptr noundef %187, i1 noundef zeroext %189)
  br label %190

190:                                              ; preds = %173, %167, %140
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %191 = load i64, ptr %19, align 8, !tbaa !9
  %192 = load i64, ptr %24, align 8, !tbaa !9
  %193 = urem i64 %191, %192
  store i64 %193, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  %195 = getelementptr inbounds %"struct.mixr::Source", ptr %194, i32 0, i32 6
  %196 = load ptr, ptr %195, align 8, !tbaa !43
  store ptr %196, ptr %27, align 8, !tbaa !5
  %197 = load ptr, ptr %27, align 8, !tbaa !5
  %198 = load i64, ptr %26, align 8, !tbaa !9
  %199 = add i64 %198, 0
  %200 = getelementptr inbounds i8, ptr %197, i64 %199
  %201 = load i8, ptr %200, align 1, !tbaa !44
  %202 = zext i8 %201 to i32
  %203 = load ptr, ptr %27, align 8, !tbaa !5
  %204 = load i64, ptr %26, align 8, !tbaa !9
  %205 = add i64 %204, 1
  %206 = getelementptr inbounds i8, ptr %203, i64 %205
  %207 = load i8, ptr %206, align 1, !tbaa !44
  %208 = zext i8 %207 to i32
  %209 = shl i32 %208, 8
  %210 = or i32 %202, %209
  %211 = trunc i32 %210 to i16
  %212 = sitofp i16 %211 to float
  %213 = fdiv float %212, 3.276700e+04
  store float %213, ptr %20, align 4, !tbaa !13
  %214 = load ptr, ptr %27, align 8, !tbaa !5
  %215 = load i64, ptr %26, align 8, !tbaa !9
  %216 = add i64 %215, 2
  %217 = getelementptr inbounds i8, ptr %214, i64 %216
  %218 = load i8, ptr %217, align 1, !tbaa !44
  %219 = zext i8 %218 to i32
  %220 = load ptr, ptr %27, align 8, !tbaa !5
  %221 = load i64, ptr %26, align 8, !tbaa !9
  %222 = add i64 %221, 3
  %223 = getelementptr inbounds i8, ptr %220, i64 %222
  %224 = load i8, ptr %223, align 1, !tbaa !44
  %225 = zext i8 %224 to i32
  %226 = shl i32 %225, 8
  %227 = or i32 %219, %226
  %228 = trunc i32 %227 to i16
  %229 = sitofp i16 %228 to float
  %230 = fdiv float %229, 3.276700e+04
  store float %230, ptr %21, align 4, !tbaa !13
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #5
  br label %231

231:                                              ; preds = %190, %122, %95
  %232 = load i32, ptr %15, align 4, !tbaa !11
  %233 = icmp eq i32 %232, 0
  br i1 %233, label %234, label %289

234:                                              ; preds = %231
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  %235 = load ptr, ptr %10, align 8, !tbaa !5
  %236 = getelementptr inbounds %"struct.mixr::Source", ptr %235, i32 0, i32 21
  %237 = load float, ptr %236, align 8, !tbaa !45
  store float %237, ptr %28, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  %238 = load ptr, ptr %10, align 8, !tbaa !5
  %239 = getelementptr inbounds %"struct.mixr::Source", ptr %238, i32 0, i32 22
  %240 = load float, ptr %239, align 4, !tbaa !46
  store float %240, ptr %29, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %241 = load float, ptr %28, align 4, !tbaa !13
  %242 = load float, ptr %20, align 4, !tbaa !13
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  %244 = getelementptr inbounds %"struct.mixr::Source", ptr %243, i32 0, i32 15
  %245 = load double, ptr %244, align 8, !tbaa !47
  %246 = fptrunc double %245 to float
  %247 = call noundef float @_Z4Lerpfff(float noundef %241, float noundef %242, float noundef %246)
  %248 = load ptr, ptr %10, align 8, !tbaa !5
  %249 = getelementptr inbounds %"struct.mixr::Source", ptr %248, i32 0, i32 12
  %250 = load float, ptr %249, align 8, !tbaa !48
  %251 = fmul float %247, %250
  %252 = load ptr, ptr %10, align 8, !tbaa !5
  %253 = getelementptr inbounds %"struct.mixr::Source", ptr %252, i32 0, i32 9
  %254 = load float, ptr %253, align 8, !tbaa !29
  %255 = fmul float %251, %254
  store float %255, ptr %30, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %256 = load float, ptr %29, align 4, !tbaa !13
  %257 = load float, ptr %21, align 4, !tbaa !13
  %258 = load ptr, ptr %10, align 8, !tbaa !5
  %259 = getelementptr inbounds %"struct.mixr::Source", ptr %258, i32 0, i32 15
  %260 = load double, ptr %259, align 8, !tbaa !47
  %261 = fptrunc double %260 to float
  %262 = call noundef float @_Z4Lerpfff(float noundef %256, float noundef %257, float noundef %261)
  %263 = load ptr, ptr %10, align 8, !tbaa !5
  %264 = getelementptr inbounds %"struct.mixr::Source", ptr %263, i32 0, i32 13
  %265 = load float, ptr %264, align 4, !tbaa !49
  %266 = fmul float %262, %265
  %267 = load ptr, ptr %10, align 8, !tbaa !5
  %268 = getelementptr inbounds %"struct.mixr::Source", ptr %267, i32 0, i32 9
  %269 = load float, ptr %268, align 8, !tbaa !29
  %270 = fmul float %266, %269
  store float %270, ptr %31, align 4, !tbaa !13
  %271 = load float, ptr %30, align 4, !tbaa !13
  %272 = call noundef float @_Z5Clampfff(float noundef %271, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %273 = load ptr, ptr %5, align 8, !tbaa !5
  %274 = load i32, ptr %7, align 4, !tbaa !11
  %275 = add nsw i32 %274, 0
  %276 = sext i32 %275 to i64
  %277 = getelementptr inbounds float, ptr %273, i64 %276
  %278 = load float, ptr %277, align 4, !tbaa !13
  %279 = fadd float %278, %272
  store float %279, ptr %277, align 4, !tbaa !13
  %280 = load float, ptr %31, align 4, !tbaa !13
  %281 = call noundef float @_Z5Clampfff(float noundef %280, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %282 = load ptr, ptr %5, align 8, !tbaa !5
  %283 = load i32, ptr %7, align 4, !tbaa !11
  %284 = add nsw i32 %283, 1
  %285 = sext i32 %284 to i64
  %286 = getelementptr inbounds float, ptr %282, i64 %285
  %287 = load float, ptr %286, align 4, !tbaa !13
  %288 = fadd float %287, %281
  store float %288, ptr %286, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %289

289:                                              ; preds = %234, %231
  %290 = load double, ptr %11, align 8, !tbaa !32
  %291 = load ptr, ptr %10, align 8, !tbaa !5
  %292 = getelementptr inbounds %"struct.mixr::Source", ptr %291, i32 0, i32 15
  %293 = load double, ptr %292, align 8, !tbaa !47
  %294 = fadd double %293, %290
  store double %294, ptr %292, align 8, !tbaa !47
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #5
  %295 = load ptr, ptr %10, align 8, !tbaa !5
  %296 = getelementptr inbounds %"struct.mixr::Source", ptr %295, i32 0, i32 15
  %297 = load double, ptr %296, align 8, !tbaa !47
  %298 = fptosi double %297 to i32
  store i32 %298, ptr %32, align 4, !tbaa !11
  %299 = load i32, ptr %32, align 4, !tbaa !11
  %300 = sext i32 %299 to i64
  %301 = load ptr, ptr %10, align 8, !tbaa !5
  %302 = getelementptr inbounds %"struct.mixr::Source", ptr %301, i32 0, i32 14
  %303 = load i64, ptr %302, align 8, !tbaa !33
  %304 = add i64 %303, %300
  store i64 %304, ptr %302, align 8, !tbaa !33
  %305 = load i32, ptr %32, align 4, !tbaa !11
  %306 = sitofp i32 %305 to double
  %307 = load ptr, ptr %10, align 8, !tbaa !5
  %308 = getelementptr inbounds %"struct.mixr::Source", ptr %307, i32 0, i32 15
  %309 = load double, ptr %308, align 8, !tbaa !47
  %310 = fsub double %309, %306
  store double %310, ptr %308, align 8, !tbaa !47
  %311 = load ptr, ptr %10, align 8, !tbaa !5
  %312 = getelementptr inbounds %"struct.mixr::Source", ptr %311, i32 0, i32 14
  %313 = load i64, ptr %312, align 8, !tbaa !33
  %314 = load ptr, ptr %10, align 8, !tbaa !5
  %315 = getelementptr inbounds %"struct.mixr::Source", ptr %314, i32 0, i32 20
  %316 = load i64, ptr %315, align 8, !tbaa !50
  %317 = icmp ne i64 %313, %316
  br i1 %317, label %318, label %330

318:                                              ; preds = %289
  %319 = load ptr, ptr %10, align 8, !tbaa !5
  %320 = getelementptr inbounds %"struct.mixr::Source", ptr %319, i32 0, i32 14
  %321 = load i64, ptr %320, align 8, !tbaa !33
  %322 = load ptr, ptr %10, align 8, !tbaa !5
  %323 = getelementptr inbounds %"struct.mixr::Source", ptr %322, i32 0, i32 20
  store i64 %321, ptr %323, align 8, !tbaa !50
  %324 = load float, ptr %20, align 4, !tbaa !13
  %325 = load ptr, ptr %10, align 8, !tbaa !5
  %326 = getelementptr inbounds %"struct.mixr::Source", ptr %325, i32 0, i32 21
  store float %324, ptr %326, align 8, !tbaa !45
  %327 = load float, ptr %21, align 4, !tbaa !13
  %328 = load ptr, ptr %10, align 8, !tbaa !5
  %329 = getelementptr inbounds %"struct.mixr::Source", ptr %328, i32 0, i32 22
  store float %327, ptr %329, align 4, !tbaa !46
  br label %330

330:                                              ; preds = %318, %289
  %331 = load ptr, ptr %10, align 8, !tbaa !5
  %332 = getelementptr inbounds %"struct.mixr::Source", ptr %331, i32 0, i32 14
  %333 = load i64, ptr %332, align 8, !tbaa !33
  %334 = load ptr, ptr %10, align 8, !tbaa !5
  %335 = getelementptr inbounds %"struct.mixr::Source", ptr %334, i32 0, i32 11
  %336 = load i64, ptr %335, align 8, !tbaa !51
  %337 = icmp uge i64 %333, %336
  br i1 %337, label %338, label %391

338:                                              ; preds = %330
  %339 = load ptr, ptr %10, align 8, !tbaa !5
  %340 = getelementptr inbounds %"struct.mixr::Source", ptr %339, i32 0, i32 5
  %341 = call noundef i64 @_ZNKSt5dequeImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %340) #5
  %342 = icmp ugt i64 %341, 1
  br i1 %342, label %343, label %361

343:                                              ; preds = %338
  %344 = load ptr, ptr %10, align 8, !tbaa !5
  %345 = getelementptr inbounds %"struct.mixr::Source", ptr %344, i32 0, i32 16
  %346 = load ptr, ptr %345, align 8, !tbaa !52
  %347 = icmp ne ptr %346, null
  br i1 %347, label %348, label %355

348:                                              ; preds = %343
  %349 = load ptr, ptr %10, align 8, !tbaa !5
  %350 = getelementptr inbounds %"struct.mixr::Source", ptr %349, i32 0, i32 16
  %351 = load ptr, ptr %350, align 8, !tbaa !52
  %352 = load ptr, ptr %10, align 8, !tbaa !5
  %353 = getelementptr inbounds %"struct.mixr::Source", ptr %352, i32 0, i32 17
  %354 = load ptr, ptr %353, align 8, !tbaa !53
  call void %351(ptr noundef %354)
  br label %355

355:                                              ; preds = %348, %343
  %356 = load ptr, ptr %10, align 8, !tbaa !5
  %357 = getelementptr inbounds %"struct.mixr::Source", ptr %356, i32 0, i32 5
  call void @_ZNSt5dequeImSaImEE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %357) #5
  %358 = load ptr, ptr %10, align 8, !tbaa !5
  %359 = getelementptr inbounds %"struct.mixr::Source", ptr %358, i32 0, i32 14
  store i64 0, ptr %359, align 8, !tbaa !33
  %360 = load ptr, ptr %10, align 8, !tbaa !5
  call void @_ZN4mixr4Impl12UpdateSourceEPNS_6SourceE(ptr noundef nonnull align 8 dereferenceable(216) %33, ptr noundef %360)
  br label %390

361:                                              ; preds = %338
  %362 = load ptr, ptr %10, align 8, !tbaa !5
  %363 = getelementptr inbounds %"struct.mixr::Source", ptr %362, i32 0, i32 10
  %364 = load i8, ptr %363, align 4, !tbaa !54, !range !27, !noundef !28
  %365 = trunc i8 %364 to i1
  br i1 %365, label %366, label %374

366:                                              ; preds = %361
  %367 = load ptr, ptr %10, align 8, !tbaa !5
  %368 = getelementptr inbounds %"struct.mixr::Source", ptr %367, i32 0, i32 11
  %369 = load i64, ptr %368, align 8, !tbaa !51
  %370 = load ptr, ptr %10, align 8, !tbaa !5
  %371 = getelementptr inbounds %"struct.mixr::Source", ptr %370, i32 0, i32 14
  %372 = load i64, ptr %371, align 8, !tbaa !33
  %373 = sub i64 %372, %369
  store i64 %373, ptr %371, align 8, !tbaa !33
  br label %389

374:                                              ; preds = %361
  %375 = load i32, ptr %9, align 4, !tbaa !11
  %376 = sext i32 %375 to i64
  call void @_ZN4mixr4Impl10SourceStopEm(ptr noundef nonnull align 8 dereferenceable(216) %33, i64 noundef %376)
  %377 = load ptr, ptr %10, align 8, !tbaa !5
  %378 = getelementptr inbounds %"struct.mixr::Source", ptr %377, i32 0, i32 16
  %379 = load ptr, ptr %378, align 8, !tbaa !52
  %380 = icmp ne ptr %379, null
  br i1 %380, label %381, label %388

381:                                              ; preds = %374
  %382 = load ptr, ptr %10, align 8, !tbaa !5
  %383 = getelementptr inbounds %"struct.mixr::Source", ptr %382, i32 0, i32 16
  %384 = load ptr, ptr %383, align 8, !tbaa !52
  %385 = load ptr, ptr %10, align 8, !tbaa !5
  %386 = getelementptr inbounds %"struct.mixr::Source", ptr %385, i32 0, i32 17
  %387 = load ptr, ptr %386, align 8, !tbaa !53
  call void %384(ptr noundef %387)
  br label %388

388:                                              ; preds = %381, %374
  store i32 8, ptr %8, align 4
  br label %392

389:                                              ; preds = %366
  br label %390

390:                                              ; preds = %389, %355
  br label %391

391:                                              ; preds = %390, %330
  store i32 0, ptr %8, align 4
  br label %392

392:                                              ; preds = %391, %388
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  %393 = load i32, ptr %8, align 4
  switch i32 %393, label %398 [
    i32 0, label %394
  ]

394:                                              ; preds = %392
  br label %395

395:                                              ; preds = %394
  %396 = load i32, ptr %15, align 4, !tbaa !11
  %397 = add nsw i32 %396, 1
  store i32 %397, ptr %15, align 4, !tbaa !11
  br label %90, !llvm.loop !55

398:                                              ; preds = %392, %94
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %399

399:                                              ; preds = %398
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  store i32 0, ptr %8, align 4
  br label %400

400:                                              ; preds = %399, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  %401 = load i32, ptr %8, align 4
  switch i32 %401, label %441 [
    i32 0, label %402
    i32 7, label %403
  ]

402:                                              ; preds = %400
  br label %403

403:                                              ; preds = %402, %400
  %404 = load i32, ptr %9, align 4, !tbaa !11
  %405 = add nsw i32 %404, 1
  store i32 %405, ptr %9, align 4, !tbaa !11
  br label %51, !llvm.loop !57

406:                                              ; preds = %57
  %407 = load ptr, ptr %5, align 8, !tbaa !5
  %408 = load i32, ptr %7, align 4, !tbaa !11
  %409 = add nsw i32 %408, 0
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds float, ptr %407, i64 %410
  %412 = load float, ptr %411, align 4, !tbaa !13
  %413 = getelementptr inbounds %"class.mixr::Impl", ptr %33, i32 0, i32 1
  %414 = load float, ptr %413, align 4, !tbaa !58
  %415 = fmul float %412, %414
  %416 = call noundef float @_Z5Clampfff(float noundef %415, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %417 = load ptr, ptr %5, align 8, !tbaa !5
  %418 = load i32, ptr %7, align 4, !tbaa !11
  %419 = add nsw i32 %418, 0
  %420 = sext i32 %419 to i64
  %421 = getelementptr inbounds float, ptr %417, i64 %420
  store float %416, ptr %421, align 4, !tbaa !13
  %422 = load ptr, ptr %5, align 8, !tbaa !5
  %423 = load i32, ptr %7, align 4, !tbaa !11
  %424 = add nsw i32 %423, 1
  %425 = sext i32 %424 to i64
  %426 = getelementptr inbounds float, ptr %422, i64 %425
  %427 = load float, ptr %426, align 4, !tbaa !13
  %428 = getelementptr inbounds %"class.mixr::Impl", ptr %33, i32 0, i32 1
  %429 = load float, ptr %428, align 4, !tbaa !58
  %430 = fmul float %427, %429
  %431 = call noundef float @_Z5Clampfff(float noundef %430, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %432 = load ptr, ptr %5, align 8, !tbaa !5
  %433 = load i32, ptr %7, align 4, !tbaa !11
  %434 = add nsw i32 %433, 1
  %435 = sext i32 %434 to i64
  %436 = getelementptr inbounds float, ptr %432, i64 %435
  store float %431, ptr %436, align 4, !tbaa !13
  br label %437

437:                                              ; preds = %406
  %438 = load i32, ptr %7, align 4, !tbaa !11
  %439 = add nsw i32 %438, 2
  store i32 %439, ptr %7, align 4, !tbaa !11
  br label %34, !llvm.loop !68

440:                                              ; preds = %39
  ret void

441:                                              ; preds = %400
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef, i64 noundef, i32 noundef) #3

declare void @_ZN4mixr5Utils5ADPCM14DecodeIMAChunkEPhmS2_b(ptr noundef, i64 noundef, ptr noundef, i1 noundef zeroext) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z4Lerpfff(float noundef, float noundef, float noundef) #3

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !26, i64 120}
!16 = !{!"_ZTSN4mixr6SourceE", !17, i64 0, !18, i64 4, !12, i64 16, !12, i64 20, !20, i64 24, !21, i64 32, !6, i64 112, !26, i64 120, !20, i64 128, !14, i64 136, !26, i64 140, !10, i64 144, !14, i64 152, !14, i64 156, !10, i64 160, !20, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !10, i64 208, !14, i64 216, !14, i64 220, !10, i64 224, !10, i64 232, !10, i64 240}
!17 = !{!"_ZTSN4mixr10SourceTypeE", !7, i64 0}
!18 = !{!"_ZTSN4mixr11AudioFormatE", !19, i64 0, !12, i64 4, !7, i64 8}
!19 = !{!"_ZTSN4mixr8DataTypeE", !7, i64 0}
!20 = !{!"double", !7, i64 0}
!21 = !{!"_ZTSSt5dequeImSaImEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Deque_baseImSaImEE", !23, i64 0}
!23 = !{!"_ZTSNSt11_Deque_baseImSaImEE11_Deque_implE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseImSaImEE16_Deque_impl_dataE", !6, i64 0, !10, i64 8, !25, i64 16, !25, i64 48}
!25 = !{!"_ZTSSt15_Deque_iteratorImRmPmE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!26 = !{!"bool", !7, i64 0}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!16, !14, i64 136}
!30 = !{!16, !20, i64 24}
!31 = !{!16, !20, i64 128}
!32 = !{!20, !20, i64 0}
!33 = !{!16, !10, i64 160}
!34 = !{!16, !12, i64 16}
!35 = !{!16, !12, i64 20}
!36 = !{!16, !17, i64 0}
!37 = !{!18, !19, i64 0}
!38 = !{!16, !7, i64 12}
!39 = !{!26, !26, i64 0}
!40 = !{!16, !10, i64 232}
!41 = !{!16, !10, i64 240}
!42 = !{!16, !10, i64 224}
!43 = !{!16, !6, i64 112}
!44 = !{!7, !7, i64 0}
!45 = !{!16, !14, i64 216}
!46 = !{!16, !14, i64 220}
!47 = !{!16, !20, i64 168}
!48 = !{!16, !14, i64 152}
!49 = !{!16, !14, i64 156}
!50 = !{!16, !10, i64 208}
!51 = !{!16, !10, i64 144}
!52 = !{!16, !6, i64 176}
!53 = !{!16, !6, i64 184}
!54 = !{!16, !26, i64 140}
!55 = distinct !{!55, !56}
!56 = !{!"llvm.loop.mustprogress"}
!57 = distinct !{!57, !56}
!58 = !{!59, !14, i64 4}
!59 = !{!"_ZTSN4mixr4ImplE", !12, i64 0, !14, i64 4, !60, i64 8, !64, i64 32, !21, i64 56, !21, i64 136}
!60 = !{!"_ZTSSt6vectorIN4mixr6BufferESaIS1_EE", !61, i64 0}
!61 = !{!"_ZTSSt12_Vector_baseIN4mixr6BufferESaIS1_EE", !62, i64 0}
!62 = !{!"_ZTSNSt12_Vector_baseIN4mixr6BufferESaIS1_EE12_Vector_implE", !63, i64 0}
!63 = !{!"_ZTSNSt12_Vector_baseIN4mixr6BufferESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!64 = !{!"_ZTSSt6vectorIN4mixr6SourceESaIS1_EE", !65, i64 0}
!65 = !{!"_ZTSSt12_Vector_baseIN4mixr6SourceESaIS1_EE", !66, i64 0}
!66 = !{!"_ZTSNSt12_Vector_baseIN4mixr6SourceESaIS1_EE12_Vector_implE", !67, i64 0}
!67 = !{!"_ZTSNSt12_Vector_baseIN4mixr6SourceESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!68 = distinct !{!68, !56}


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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4mixr6BufferESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(248) ptr @_ZNSt6vectorIN4mixr6SourceESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4mixr4Impl12UpdateSourceEPNS_6SourceE(ptr noundef nonnull align 8 dereferenceable(216), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z5Clampfff(float noundef, float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4mixr4Impl20MixToStereoF32BufferEPfm(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #2 align 2 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %.not160 = icmp eq i64 %2, 0
  br i1 %.not160, label %._crit_edge159, label %.lr.ph158

.lr.ph158:                                        ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = getelementptr inbounds i8, ptr %0, i64 4
  br label %9

._crit_edge159:                                   ; preds = %._crit_edge, %3
  ret void

9:                                                ; preds = %.lr.ph158, %._crit_edge
  %indvars.iv165 = phi i64 [ 0, %.lr.ph158 ], [ %indvars.iv.next166, %._crit_edge ]
  %10 = phi <2 x float> [ undef, %.lr.ph158 ], [ %15, %._crit_edge ]
  %11 = getelementptr inbounds float, ptr %1, i64 %indvars.iv165
  %12 = or disjoint i64 %indvars.iv165, 1
  %13 = getelementptr inbounds float, ptr %1, i64 %12
  store <2 x float> zeroinitializer, ptr %11, align 4, !tbaa !5
  %14 = call noundef i64 @_ZNKSt6vectorIN4mixr6SourceESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %.not161 = icmp eq i64 %14, 0
  br i1 %.not161, label %._crit_edge, label %.lr.ph151

._crit_edge:                                      ; preds = %.critedge, %9
  %15 = phi <2 x float> [ %10, %9 ], [ %174, %.critedge ]
  %16 = load float, ptr %11, align 4, !tbaa !5
  %17 = load float, ptr %8, align 4, !tbaa !9
  %18 = fmul float %16, %17
  %19 = call noundef float @_Z5Clampfff(float noundef %18, float noundef -1.000000e+00, float noundef 1.000000e+00)
  store float %19, ptr %11, align 4, !tbaa !5
  %20 = load float, ptr %13, align 4, !tbaa !5
  %21 = load float, ptr %8, align 4, !tbaa !9
  %22 = fmul float %20, %21
  %23 = call noundef float @_Z5Clampfff(float noundef %22, float noundef -1.000000e+00, float noundef 1.000000e+00)
  store float %23, ptr %13, align 4, !tbaa !5
  %indvars.iv.next166 = add nuw nsw i64 %indvars.iv165, 2
  %24 = icmp ult i64 %indvars.iv.next166, %2
  br i1 %24, label %9, label %._crit_edge159, !llvm.loop !27

.lr.ph151:                                        ; preds = %9, %.critedge
  %indvars.iv = phi i64 [ %indvars.iv.next, %.critedge ], [ 0, %9 ]
  %25 = phi <2 x float> [ %174, %.critedge ], [ %10, %9 ]
  %26 = call noundef nonnull align 8 dereferenceable(248) ptr @_ZNSt6vectorIN4mixr6SourceESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #5
  %27 = getelementptr inbounds i8, ptr %26, i64 120
  %28 = load i8, ptr %27, align 8, !tbaa !29, !range !36, !noundef !37
  %29 = trunc nuw i8 %28 to i1
  br i1 %29, label %30, label %.critedge

30:                                               ; preds = %.lr.ph151
  %31 = getelementptr inbounds i8, ptr %26, i64 136
  %32 = load float, ptr %31, align 8, !tbaa !38
  %33 = fcmp ugt float %32, 0x3F847AE140000000
  br i1 %33, label %34, label %.critedge

34:                                               ; preds = %30
  %35 = getelementptr inbounds i8, ptr %26, i64 24
  %36 = load double, ptr %35, align 8, !tbaa !39
  %37 = getelementptr inbounds i8, ptr %26, i64 128
  %38 = load double, ptr %37, align 8, !tbaa !40
  %39 = fmul double %36, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %40 = fptosi double %39 to i32
  store i32 %40, ptr %4, align 4, !tbaa !41
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  store i32 1, ptr %5, align 4, !tbaa !41
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %42 = load i32, ptr %41, align 4, !tbaa !41
  %43 = shl i32 %42, 1
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  %44 = sitofp i32 %43 to double
  %45 = fdiv double %39, %44
  %46 = icmp sgt i32 %43, 0
  br i1 %46, label %.lr.ph, label %.critedge

.lr.ph:                                           ; preds = %34
  %47 = getelementptr inbounds i8, ptr %26, i64 32
  %48 = getelementptr inbounds i8, ptr %26, i64 160
  %49 = getelementptr inbounds i8, ptr %26, i64 16
  %50 = getelementptr inbounds i8, ptr %26, i64 20
  %51 = getelementptr inbounds i8, ptr %26, i64 12
  %52 = getelementptr inbounds i8, ptr %26, i64 232
  %53 = getelementptr inbounds i8, ptr %26, i64 240
  %54 = getelementptr inbounds i8, ptr %26, i64 224
  %55 = getelementptr inbounds i8, ptr %26, i64 112
  %56 = getelementptr inbounds i8, ptr %26, i64 4
  %57 = getelementptr inbounds i8, ptr %26, i64 216
  %58 = getelementptr inbounds i8, ptr %26, i64 220
  %59 = getelementptr inbounds i8, ptr %26, i64 168
  %60 = getelementptr inbounds i8, ptr %26, i64 152
  %61 = getelementptr inbounds i8, ptr %26, i64 156
  %62 = getelementptr inbounds i8, ptr %26, i64 208
  %63 = getelementptr inbounds i8, ptr %26, i64 144
  %64 = getelementptr inbounds i8, ptr %26, i64 140
  %65 = getelementptr inbounds i8, ptr %26, i64 176
  %66 = getelementptr inbounds i8, ptr %26, i64 184
  br label %67

67:                                               ; preds = %.lr.ph, %172
  %.0124146 = phi i32 [ 0, %.lr.ph ], [ %173, %172 ]
  %68 = phi <2 x float> [ %25, %.lr.ph ], [ %113, %172 ]
  %69 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt5dequeImSaImEE5frontEv(ptr noundef nonnull align 8 dereferenceable(80) %47) #5
  %70 = load i64, ptr %69, align 8, !tbaa !42
  %71 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorIN4mixr6BufferESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %70) #5
  %72 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #5
  %73 = load i64, ptr %48, align 8, !tbaa !43
  %74 = load i32, ptr %49, align 8, !tbaa !44
  %75 = load i32, ptr %50, align 4, !tbaa !45
  %76 = add nsw i32 %75, %74
  %77 = sext i32 %76 to i64
  %78 = mul i64 %73, %77
  %79 = load i32, ptr %26, align 8, !tbaa !46
  switch i32 %79, label %112 [
    i32 0, label %80
    i32 1, label %90
  ]

80:                                               ; preds = %67
  %81 = load i32, ptr %56, align 4, !tbaa !47
  %82 = call noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef %72, i64 noundef %78, i32 noundef %81)
  %83 = load i32, ptr %50, align 4, !tbaa !45
  %84 = sext i32 %83 to i64
  %85 = add i64 %78, %84
  %86 = load i32, ptr %56, align 4, !tbaa !47
  %87 = call noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef %72, i64 noundef %85, i32 noundef %86)
  %88 = insertelement <2 x float> poison, float %82, i64 0
  %89 = insertelement <2 x float> %88, float %87, i64 1
  br label %112

90:                                               ; preds = %67
  %91 = load i8, ptr %51, align 4, !tbaa !48
  %92 = icmp eq i8 %91, 2
  %93 = load i64, ptr %52, align 8, !tbaa !49
  %.neg = select i1 %92, i64 4611686018427387896, i64 4611686018427387900
  %94 = add i64 %.neg, %93
  %95 = shl i64 %94, 2
  %96 = udiv i64 %78, %95
  %97 = urem i64 %78, %95
  %98 = load i64, ptr %53, align 8, !tbaa !50
  %99 = icmp uge i64 %96, %98
  %100 = load i64, ptr %54, align 8
  %.not = icmp eq i64 %96, %100
  %or.cond = select i1 %99, i1 true, i1 %.not
  br i1 %or.cond, label %106, label %101

101:                                              ; preds = %90
  store i64 %96, ptr %54, align 8, !tbaa !51
  %102 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #5
  %103 = mul i64 %96, %93
  %104 = getelementptr inbounds i8, ptr %102, i64 %103
  %105 = load ptr, ptr %55, align 8, !tbaa !52
  call void @_ZN4mixr5Utils5ADPCM14DecodeIMAChunkEPhmS2_b(ptr noundef %104, i64 noundef %93, ptr noundef %105, i1 noundef zeroext %92)
  br label %106

106:                                              ; preds = %101, %90
  %107 = load ptr, ptr %55, align 8, !tbaa !52
  %108 = getelementptr inbounds i8, ptr %107, i64 %97
  %109 = load <2 x i16>, ptr %108, align 1
  %110 = sitofp <2 x i16> %109 to <2 x float>
  %111 = fdiv <2 x float> %110, <float 3.276700e+04, float 3.276700e+04>
  br label %112

112:                                              ; preds = %106, %80, %67
  %113 = phi <2 x float> [ %68, %67 ], [ %111, %106 ], [ %89, %80 ]
  %114 = icmp eq i32 %.0124146, 0
  br i1 %114, label %115, label %140

115:                                              ; preds = %112
  %116 = load float, ptr %57, align 8, !tbaa !53
  %117 = load float, ptr %58, align 4, !tbaa !54
  %118 = load double, ptr %59, align 8, !tbaa !55
  %119 = fptrunc double %118 to float
  %120 = extractelement <2 x float> %113, i64 0
  %121 = call noundef float @_Z4Lerpfff(float noundef %116, float noundef %120, float noundef %119)
  %122 = load float, ptr %60, align 8, !tbaa !56
  %123 = fmul float %121, %122
  %124 = load float, ptr %31, align 8, !tbaa !38
  %125 = fmul float %123, %124
  %126 = load double, ptr %59, align 8, !tbaa !55
  %127 = fptrunc double %126 to float
  %128 = extractelement <2 x float> %113, i64 1
  %129 = call noundef float @_Z4Lerpfff(float noundef %117, float noundef %128, float noundef %127)
  %130 = load float, ptr %61, align 4, !tbaa !57
  %131 = fmul float %129, %130
  %132 = load float, ptr %31, align 8, !tbaa !38
  %133 = fmul float %131, %132
  %134 = call noundef float @_Z5Clampfff(float noundef %125, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %135 = load float, ptr %11, align 4, !tbaa !5
  %136 = fadd float %134, %135
  store float %136, ptr %11, align 4, !tbaa !5
  %137 = call noundef float @_Z5Clampfff(float noundef %133, float noundef -1.000000e+00, float noundef 1.000000e+00)
  %138 = load float, ptr %13, align 4, !tbaa !5
  %139 = fadd float %137, %138
  store float %139, ptr %13, align 4, !tbaa !5
  br label %140

140:                                              ; preds = %115, %112
  %141 = load double, ptr %59, align 8, !tbaa !55
  %142 = fadd double %45, %141
  %143 = fptosi double %142 to i32
  %144 = sext i32 %143 to i64
  %145 = load i64, ptr %48, align 8, !tbaa !43
  %146 = add i64 %145, %144
  store i64 %146, ptr %48, align 8, !tbaa !43
  %147 = sitofp i32 %143 to double
  %148 = fsub double %142, %147
  store double %148, ptr %59, align 8, !tbaa !55
  %149 = load i64, ptr %62, align 8, !tbaa !58
  %.not138 = icmp eq i64 %146, %149
  br i1 %.not138, label %151, label %150

150:                                              ; preds = %140
  store i64 %146, ptr %62, align 8, !tbaa !58
  store <2 x float> %113, ptr %57, align 8, !tbaa !5
  br label %151

151:                                              ; preds = %150, %140
  %152 = load i64, ptr %63, align 8, !tbaa !59
  %.not139 = icmp ult i64 %146, %152
  br i1 %.not139, label %172, label %153

153:                                              ; preds = %151
  %154 = call noundef i64 @_ZNKSt5dequeImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(80) %47) #5
  %155 = icmp ugt i64 %154, 1
  br i1 %155, label %156, label %161

156:                                              ; preds = %153
  %157 = load ptr, ptr %65, align 8, !tbaa !60
  %.not141 = icmp eq ptr %157, null
  br i1 %.not141, label %160, label %158

158:                                              ; preds = %156
  %159 = load ptr, ptr %66, align 8, !tbaa !61
  call void %157(ptr noundef %159)
  br label %160

160:                                              ; preds = %158, %156
  call void @_ZNSt5dequeImSaImEE9pop_frontEv(ptr noundef nonnull align 8 dereferenceable(80) %47) #5
  store i64 0, ptr %48, align 8, !tbaa !43
  call void @_ZN4mixr4Impl12UpdateSourceEPNS_6SourceE(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull %26)
  br label %172

161:                                              ; preds = %153
  %162 = load i8, ptr %64, align 4, !tbaa !62, !range !36, !noundef !37
  %163 = trunc nuw i8 %162 to i1
  br i1 %163, label %164, label %168

164:                                              ; preds = %161
  %165 = load i64, ptr %63, align 8, !tbaa !59
  %166 = load i64, ptr %48, align 8, !tbaa !43
  %167 = sub i64 %166, %165
  store i64 %167, ptr %48, align 8, !tbaa !43
  br label %172

168:                                              ; preds = %161
  call void @_ZN4mixr4Impl10SourceStopEm(ptr noundef nonnull align 8 dereferenceable(216) %0, i64 noundef %indvars.iv)
  %169 = load ptr, ptr %65, align 8, !tbaa !60
  %.not140 = icmp eq ptr %169, null
  br i1 %.not140, label %.critedge, label %170

170:                                              ; preds = %168
  %171 = load ptr, ptr %66, align 8, !tbaa !61
  call void %169(ptr noundef %171)
  br label %.critedge

172:                                              ; preds = %160, %164, %151
  %173 = add nuw nsw i32 %.0124146, 1
  %exitcond.not = icmp eq i32 %173, %43
  br i1 %exitcond.not, label %.critedge, label %67, !llvm.loop !63

.critedge:                                        ; preds = %172, %34, %168, %170, %.lr.ph151, %30
  %174 = phi <2 x float> [ %25, %30 ], [ %25, %.lr.ph151 ], [ %113, %168 ], [ %113, %170 ], [ %25, %34 ], [ %113, %172 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %175 = call noundef i64 @_ZNKSt6vectorIN4mixr6SourceESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  %176 = icmp ugt i64 %175, %indvars.iv.next
  br i1 %176, label %.lr.ph151, label %._crit_edge, !llvm.loop !64
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4mixr9GetSampleEPKhmNS_8DataTypeE(ptr noundef, i64 noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN4mixr5Utils5ADPCM14DecodeIMAChunkEPhmS2_b(ptr noundef, i64 noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_Z4Lerpfff(float noundef, float noundef, float noundef) local_unnamed_addr #3

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

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 4}
!10 = !{!"_ZTSN4mixr4ImplE", !11, i64 0, !6, i64 4, !12, i64 8, !17, i64 32, !21, i64 56, !21, i64 136}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTSSt6vectorIN4mixr6BufferESaIS1_EE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIN4mixr6BufferESaIS1_EE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIN4mixr6BufferESaIS1_EE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIN4mixr6BufferESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"_ZTSSt6vectorIN4mixr6SourceESaIS1_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIN4mixr6SourceESaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN4mixr6SourceESaIS1_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIN4mixr6SourceESaIS1_EE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!21 = !{!"_ZTSSt5dequeImSaImEE", !22, i64 0}
!22 = !{!"_ZTSSt11_Deque_baseImSaImEE", !23, i64 0}
!23 = !{!"_ZTSNSt11_Deque_baseImSaImEE11_Deque_implE", !24, i64 0}
!24 = !{!"_ZTSNSt11_Deque_baseImSaImEE16_Deque_impl_dataE", !16, i64 0, !25, i64 8, !26, i64 16, !26, i64 48}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSSt15_Deque_iteratorImRmPmE", !16, i64 0, !16, i64 8, !16, i64 16, !16, i64 24}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!30, !35, i64 120}
!30 = !{!"_ZTSN4mixr6SourceE", !31, i64 0, !32, i64 4, !11, i64 16, !11, i64 20, !34, i64 24, !21, i64 32, !16, i64 112, !35, i64 120, !34, i64 128, !6, i64 136, !35, i64 140, !25, i64 144, !6, i64 152, !6, i64 156, !25, i64 160, !34, i64 168, !16, i64 176, !16, i64 184, !16, i64 192, !16, i64 200, !25, i64 208, !6, i64 216, !6, i64 220, !25, i64 224, !25, i64 232, !25, i64 240}
!31 = !{!"_ZTSN4mixr10SourceTypeE", !7, i64 0}
!32 = !{!"_ZTSN4mixr11AudioFormatE", !33, i64 0, !11, i64 4, !7, i64 8}
!33 = !{!"_ZTSN4mixr8DataTypeE", !7, i64 0}
!34 = !{!"double", !7, i64 0}
!35 = !{!"bool", !7, i64 0}
!36 = !{i8 0, i8 2}
!37 = !{}
!38 = !{!30, !6, i64 136}
!39 = !{!30, !34, i64 24}
!40 = !{!30, !34, i64 128}
!41 = !{!11, !11, i64 0}
!42 = !{!25, !25, i64 0}
!43 = !{!30, !25, i64 160}
!44 = !{!30, !11, i64 16}
!45 = !{!30, !11, i64 20}
!46 = !{!30, !31, i64 0}
!47 = !{!32, !33, i64 0}
!48 = !{!30, !7, i64 12}
!49 = !{!30, !25, i64 232}
!50 = !{!30, !25, i64 240}
!51 = !{!30, !25, i64 224}
!52 = !{!30, !16, i64 112}
!53 = !{!30, !6, i64 216}
!54 = !{!30, !6, i64 220}
!55 = !{!30, !34, i64 168}
!56 = !{!30, !6, i64 152}
!57 = !{!30, !6, i64 156}
!58 = !{!30, !25, i64 208}
!59 = !{!30, !25, i64 144}
!60 = !{!30, !16, i64 176}
!61 = !{!30, !16, i64 184}
!62 = !{!30, !35, i64 140}
!63 = distinct !{!63, !28}
!64 = distinct !{!64, !28}


; Effective O3 passes: AggressiveInstCombinePass,DSEPass,DivRemPairsPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass