; LLVM IR from Overload-Technologies/Overload :: Dependencies/soloud/src/audiosource/ay (chipplayer)

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

%struct.SNDCHIP_VOLTAB = type { [32 x i32] }
%struct.SNDCHIP_PANTAB = type { [6 x i32] }
%class.ChipPlayer = type { ptr, %class.SNDBUFFER, %class.SNDCHIP, %class.SNDCHIP, i32, i32, i32, i32 }
%class.SNDBUFFER = type <{ ptr, i32, i32, i32, [4 x i8] }>
%class.SNDCHIP = type <{ %class.SNDRENDER, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8], [6 x [32 x i32]], i32, %union.anon, i32, i32, i32, i32, %struct.SNDCHIP_VOLTAB, %struct.SNDCHIP_PANTAB, [4 x i8] }>
%class.SNDRENDER = type { ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%union.anon = type { [16 x i8] }
%"class.SoLoud::AyInstance" = type <{ %"class.SoLoud::AudioSourceInstance", ptr, ptr, i32, [4 x i8] }>
%"class.SoLoud::AudioSourceInstance" = type { ptr, i32, i32, i32, float, [8 x float], float, float, float, float, i32, float, float, double, double, %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", %"class.SoLoud::Fader", i32, [8 x float], i32, i32, [8 x ptr], [2 x ptr], i32, i32, i32, double }
%"class.SoLoud::Fader" = type { float, float, float, double, double, double, float, i32 }
%"class.SoLoud::Ay" = type { %"class.SoLoud::AudioSource", i8, i32, i32, i32, i32, ptr }
%"class.SoLoud::AudioSource" = type { ptr, i32, float, float, i32, i32, float, float, float, i32, float, [8 x ptr], ptr, ptr, ptr, i32, double }

@SNDR_VOL_YM_S = external global %struct.SNDCHIP_VOLTAB, align 4
@SNDR_PAN_ABC_S = external global %struct.SNDCHIP_PANTAB, align 4
@SNDR_VOL_AY_S = external global %struct.SNDCHIP_VOLTAB, align 4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ChipPlayerC2EPN6SoLoud10AyInstanceE(ptr noundef nonnull align 8 dereferenceable(2384) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8
  %8 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 0
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %9, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 1
  call void @_ZN9SNDBUFFERC1Ej(ptr noundef nonnull align 8 dereferenceable(20) %10, i32 noundef 8192)
  %11 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 2
  %12 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 1
  invoke void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164) %11, ptr noundef nonnull align 8 dereferenceable(20) %12)
          to label %13 unwind label %40

13:                                               ; preds = %2
  %14 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 3
  %15 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 1
  invoke void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164) %14, ptr noundef nonnull align 8 dereferenceable(20) %15)
          to label %16 unwind label %40

16:                                               ; preds = %13
  %17 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 4
  store i32 0, ptr %17, align 8, !tbaa !18
  %18 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 5
  store i32 0, ptr %18, align 4, !tbaa !19
  %19 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 6
  store i32 0, ptr %19, align 8, !tbaa !20
  %20 = getelementptr inbounds %class.ChipPlayer, ptr %7, i32 0, i32 7
  store i32 0, ptr %20, align 4, !tbaa !21
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.SoLoud::AyInstance", ptr %21, i32 0, i32 1
  %23 = load ptr, ptr %22, align 8, !tbaa !22
  %24 = getelementptr inbounds %"class.SoLoud::Ay", ptr %23, i32 0, i32 3
  %25 = load i32, ptr %24, align 8, !tbaa !28
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %"class.SoLoud::AyInstance", ptr %26, i32 0, i32 1
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  %29 = getelementptr inbounds %"class.SoLoud::Ay", ptr %28, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !32
  invoke void @_ZN10ChipPlayer11set_timingsEjjj(ptr noundef nonnull align 8 dereferenceable(2384) %7, i32 noundef %25, i32 noundef %30, i32 noundef 44100)
          to label %31 unwind label %40

31:                                               ; preds = %16
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"class.SoLoud::AyInstance", ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !22
  %35 = getelementptr inbounds %"class.SoLoud::Ay", ptr %34, i32 0, i32 1
  %36 = load i8, ptr %35, align 8, !tbaa !33, !range !34, !noundef !35
  %37 = trunc i8 %36 to i1
  br i1 %37, label %38, label %44

38:                                               ; preds = %31
  invoke void @_ZN10ChipPlayer11set_volumesEN7SNDCHIP9CHIP_TYPEEjPK14SNDCHIP_VOLTABPK14SNDCHIP_PANTAB(ptr noundef nonnull align 8 dereferenceable(2384) %7, i32 noundef 1, i32 noundef 32767, ptr noundef @SNDR_VOL_YM_S, ptr noundef @SNDR_PAN_ABC_S)
          to label %39 unwind label %40

39:                                               ; preds = %38
  br label %46

40:                                               ; preds = %44, %38, %16, %13, %2
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %5, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %6, align 4
  call void @_ZN9SNDBUFFERD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %10) #3
  br label %47

44:                                               ; preds = %31
  invoke void @_ZN10ChipPlayer11set_volumesEN7SNDCHIP9CHIP_TYPEEjPK14SNDCHIP_VOLTABPK14SNDCHIP_PANTAB(ptr noundef nonnull align 8 dereferenceable(2384) %7, i32 noundef 0, i32 noundef 32767, ptr noundef @SNDR_VOL_AY_S, ptr noundef @SNDR_PAN_ABC_S)
          to label %45 unwind label %40

45:                                               ; preds = %44
  br label %46

46:                                               ; preds = %45, %39
  ret void

47:                                               ; preds = %40
  %48 = load ptr, ptr %5, align 8
  %49 = load i32, ptr %6, align 4
  %50 = insertvalue { ptr, i32 } poison, ptr %48, 0
  %51 = insertvalue { ptr, i32 } %50, i32 %49, 1
  resume { ptr, i32 } %51
}

declare void @_ZN9SNDBUFFERC1Ej(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #1

declare void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ChipPlayer11set_timingsEjjj(ptr noundef nonnull align 8 dereferenceable(2384), i32 noundef, i32 noundef, i32 noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ChipPlayer11set_volumesEN7SNDCHIP9CHIP_TYPEEjPK14SNDCHIP_VOLTABPK14SNDCHIP_PANTAB(ptr noundef nonnull align 8 dereferenceable(2384), i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0 align 2

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

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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, !6, i64 0}
!10 = !{!"_ZTS10ChipPlayer", !6, i64 0, !11, i64 8, !13, i64 32, !13, i64 1200, !12, i64 2368, !12, i64 2372, !12, i64 2376, !12, i64 2380}
!11 = !{!"_ZTS9SNDBUFFER", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS7SNDCHIP", !14, i64 0, !12, i64 80, !12, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !12, i64 100, !12, i64 104, !12, i64 108, !12, i64 112, !12, i64 116, !12, i64 120, !12, i64 124, !12, i64 128, !12, i64 132, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !12, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !12, i64 172, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !12, i64 192, !12, i64 196, !12, i64 200, !7, i64 204, !7, i64 205, !7, i64 208, !15, i64 976, !7, i64 980, !12, i64 996, !12, i64 1000, !12, i64 1004, !12, i64 1008, !16, i64 1012, !17, i64 1140}
!14 = !{!"_ZTS9SNDRENDER", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !6, i64 24, !12, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !12, i64 64, !12, i64 68, !12, i64 72, !12, i64 76}
!15 = !{!"_ZTSN7SNDCHIP9CHIP_TYPEE", !7, i64 0}
!16 = !{!"_ZTS14SNDCHIP_VOLTAB", !7, i64 0}
!17 = !{!"_ZTS14SNDCHIP_PANTAB", !7, i64 0}
!18 = !{!10, !12, i64 2368}
!19 = !{!10, !12, i64 2372}
!20 = !{!10, !12, i64 2376}
!21 = !{!10, !12, i64 2380}
!22 = !{!23, !6, i64 496}
!23 = !{!"_ZTSN6SoLoud10AyInstanceE", !24, i64 0, !6, i64 496, !6, i64 504, !12, i64 512}
!24 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !12, i64 8, !12, i64 12, !12, i64 16, !25, i64 20, !7, i64 24, !25, i64 56, !25, i64 60, !25, i64 64, !25, i64 68, !12, i64 72, !25, i64 76, !25, i64 80, !26, i64 88, !26, i64 96, !27, i64 104, !27, i64 152, !27, i64 200, !27, i64 248, !27, i64 296, !12, i64 344, !7, i64 348, !12, i64 380, !12, i64 384, !7, i64 392, !7, i64 456, !12, i64 472, !12, i64 476, !12, i64 480, !26, i64 488}
!25 = !{!"float", !7, i64 0}
!26 = !{!"double", !7, i64 0}
!27 = !{!"_ZTSN6SoLoud5FaderE", !25, i64 0, !25, i64 4, !25, i64 8, !26, i64 16, !26, i64 24, !26, i64 32, !25, i64 40, !12, i64 44}
!28 = !{!29, !12, i64 160}
!29 = !{!"_ZTSN6SoLoud2AyE", !30, i64 0, !31, i64 152, !12, i64 156, !12, i64 160, !12, i64 164, !12, i64 168, !6, i64 176}
!30 = !{!"_ZTSN6SoLoud11AudioSourceE", !12, i64 8, !25, i64 12, !25, i64 16, !12, i64 20, !12, i64 24, !25, i64 28, !25, i64 32, !25, i64 36, !12, i64 40, !25, i64 44, !7, i64 48, !6, i64 112, !6, i64 120, !6, i64 128, !12, i64 136, !26, i64 144}
!31 = !{!"bool", !7, i64 0}
!32 = !{!29, !12, i64 156}
!33 = !{!29, !31, i64 152}
!34 = !{i8 0, i8 2}
!35 = !{}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.SNDCHIP_VOLTAB = type { [32 x i32] }
%struct.SNDCHIP_PANTAB = type { [6 x i32] }

@SNDR_VOL_YM_S = external global %struct.SNDCHIP_VOLTAB, align 4
@SNDR_PAN_ABC_S = external global %struct.SNDCHIP_PANTAB, align 4
@SNDR_VOL_AY_S = external global %struct.SNDCHIP_VOLTAB, align 4

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10ChipPlayerC2EPN6SoLoud10AyInstanceE(ptr noundef nonnull align 8 dereferenceable(2384) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr %1, ptr %0, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZN9SNDBUFFERC1Ej(ptr noundef nonnull align 8 dereferenceable(20) %3, i32 noundef 8192)
  %4 = getelementptr inbounds i8, ptr %0, i64 32
  invoke void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164) %4, ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %5 unwind label %21

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 1200
  invoke void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164) %6, ptr noundef nonnull align 8 dereferenceable(20) %3)
          to label %7 unwind label %21

7:                                                ; preds = %5
  %8 = getelementptr inbounds i8, ptr %0, i64 2368
  %9 = getelementptr inbounds i8, ptr %1, i64 496
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %8, i8 0, i64 16, i1 false)
  %10 = load ptr, ptr %9, align 8, !tbaa !17
  %11 = getelementptr inbounds i8, ptr %10, i64 160
  %12 = load i32, ptr %11, align 8, !tbaa !23
  %13 = getelementptr inbounds i8, ptr %10, i64 156
  %14 = load i32, ptr %13, align 4, !tbaa !27
  invoke void @_ZN10ChipPlayer11set_timingsEjjj(ptr noundef nonnull align 8 dereferenceable(2384) %0, i32 noundef %12, i32 noundef %14, i32 noundef 44100)
          to label %.invoke unwind label %21

.invoke:                                          ; preds = %7
  %15 = load ptr, ptr %9, align 8, !tbaa !17
  %16 = getelementptr inbounds i8, ptr %15, i64 152
  %17 = load i8, ptr %16, align 8, !tbaa !28, !range !29, !noundef !30
  %18 = trunc nuw i8 %17 to i1
  %19 = zext nneg i8 %17 to i32
  %20 = select i1 %18, ptr @SNDR_VOL_YM_S, ptr @SNDR_VOL_AY_S
  invoke void @_ZN10ChipPlayer11set_volumesEN7SNDCHIP9CHIP_TYPEEjPK14SNDCHIP_VOLTABPK14SNDCHIP_PANTAB(ptr noundef nonnull align 8 dereferenceable(2384) %0, i32 noundef %19, i32 noundef 32767, ptr noundef nonnull %20, ptr noundef nonnull @SNDR_PAN_ABC_S)
          to label %23 unwind label %21

21:                                               ; preds = %.invoke, %7, %5, %2
  %22 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN9SNDBUFFERD1Ev(ptr noundef nonnull align 8 dereferenceable(20) %3) #4
  resume { ptr, i32 } %22

23:                                               ; preds = %.invoke
  ret void
}

declare void @_ZN9SNDBUFFERC1Ej(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) unnamed_addr #1

declare void @_ZN7SNDCHIPC1ER9SNDBUFFER(ptr noundef nonnull align 8 dereferenceable(1164), ptr noundef nonnull align 8 dereferenceable(20)) unnamed_addr #1

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ChipPlayer11set_timingsEjjj(ptr noundef nonnull align 8 dereferenceable(2384), i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10ChipPlayer11set_volumesEN7SNDCHIP9CHIP_TYPEEjPK14SNDCHIP_VOLTABPK14SNDCHIP_PANTAB(ptr noundef nonnull align 8 dereferenceable(2384), i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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, !7, i64 0}
!6 = !{!"_ZTS10ChipPlayer", !7, i64 0, !10, i64 8, !12, i64 32, !12, i64 1200, !11, i64 2368, !11, i64 2372, !11, i64 2376, !11, i64 2380}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTS9SNDBUFFER", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16}
!11 = !{!"int", !8, i64 0}
!12 = !{!"_ZTS7SNDCHIP", !13, i64 0, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, i64 96, !11, i64 100, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !11, i64 128, !11, i64 132, !11, i64 136, !11, i64 140, !11, i64 144, !11, i64 148, !11, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !11, i64 188, !11, i64 192, !11, i64 196, !11, i64 200, !8, i64 204, !8, i64 205, !8, i64 208, !14, i64 976, !8, i64 980, !11, i64 996, !11, i64 1000, !11, i64 1004, !11, i64 1008, !15, i64 1012, !16, i64 1140}
!13 = !{!"_ZTS9SNDRENDER", !7, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !11, i64 20, !7, i64 24, !11, i64 32, !11, i64 36, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !11, i64 72, !11, i64 76}
!14 = !{!"_ZTSN7SNDCHIP9CHIP_TYPEE", !8, i64 0}
!15 = !{!"_ZTS14SNDCHIP_VOLTAB", !8, i64 0}
!16 = !{!"_ZTS14SNDCHIP_PANTAB", !8, i64 0}
!17 = !{!18, !7, i64 496}
!18 = !{!"_ZTSN6SoLoud10AyInstanceE", !19, i64 0, !7, i64 496, !7, i64 504, !11, i64 512}
!19 = !{!"_ZTSN6SoLoud19AudioSourceInstanceE", !11, i64 8, !11, i64 12, !11, i64 16, !20, i64 20, !8, i64 24, !20, i64 56, !20, i64 60, !20, i64 64, !20, i64 68, !11, i64 72, !20, i64 76, !20, i64 80, !21, i64 88, !21, i64 96, !22, i64 104, !22, i64 152, !22, i64 200, !22, i64 248, !22, i64 296, !11, i64 344, !8, i64 348, !11, i64 380, !11, i64 384, !8, i64 392, !8, i64 456, !11, i64 472, !11, i64 476, !11, i64 480, !21, i64 488}
!20 = !{!"float", !8, i64 0}
!21 = !{!"double", !8, i64 0}
!22 = !{!"_ZTSN6SoLoud5FaderE", !20, i64 0, !20, i64 4, !20, i64 8, !21, i64 16, !21, i64 24, !21, i64 32, !20, i64 40, !11, i64 44}
!23 = !{!24, !11, i64 160}
!24 = !{!"_ZTSN6SoLoud2AyE", !25, i64 0, !26, i64 152, !11, i64 156, !11, i64 160, !11, i64 164, !11, i64 168, !7, i64 176}
!25 = !{!"_ZTSN6SoLoud11AudioSourceE", !11, i64 8, !20, i64 12, !20, i64 16, !11, i64 20, !11, i64 24, !20, i64 28, !20, i64 32, !20, i64 36, !11, i64 40, !20, i64 44, !8, i64 48, !7, i64 112, !7, i64 120, !7, i64 128, !11, i64 136, !21, i64 144}
!26 = !{!"bool", !8, i64 0}
!27 = !{!24, !11, i64 156}
!28 = !{!24, !26, i64 152}
!29 = !{i8 0, i8 2}
!30 = !{}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass