; LLVM IR from merpheus-dev/LavaEngine :: src/Utils/soloud/src/audiosource/wav (soloud_wav)

; 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.stb_vorbis_info = type { i32, i32, i32, i32, i32, i32 }
%"class.SoLoud::AudioSource" = type { ptr, i32, float, float, i32, i32, float, float, float, i32, float, [8 x ptr], ptr, ptr, ptr, i32, double }
%"class.SoLoud::Wav" = type <{ %"class.SoLoud::AudioSource", ptr, i32, [4 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6SoLoud3Wav7loadoggEPNS_10MemoryFileE(ptr noundef nonnull align 8 dereferenceable(164) %0, ptr noundef %1) #4 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %struct.stb_vorbis_info, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  store ptr null, ptr %7, align 8, !tbaa !5
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = load ptr, ptr %15, align 8, !tbaa !11
  %17 = getelementptr inbounds ptr, ptr %16, i64 8
  %18 = load ptr, ptr %17, align 8
  %19 = call noundef ptr %18(ptr noundef nonnull align 8 dereferenceable(25) %15)
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = load ptr, ptr %20, align 8, !tbaa !11
  %22 = getelementptr inbounds ptr, ptr %21, i64 4
  %23 = load ptr, ptr %22, align 8
  %24 = call noundef i32 %23(ptr noundef nonnull align 8 dereferenceable(25) %20)
  %25 = call ptr @stb_vorbis_open_memory(ptr noundef %19, i32 noundef %24, ptr noundef %6, ptr noundef null)
  store ptr %25, ptr %7, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = icmp eq ptr null, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %2
  store i32 3, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %105

29:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #6
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  call void @stb_vorbis_get_info(ptr dead_on_unwind writable sret(%struct.stb_vorbis_info) align 4 %9, ptr noundef %30)
  %31 = getelementptr inbounds %struct.stb_vorbis_info, ptr %9, i32 0, i32 0
  %32 = load i32, ptr %31, align 4, !tbaa !13
  %33 = uitofp i32 %32 to float
  %34 = getelementptr inbounds %"class.SoLoud::AudioSource", ptr %14, i32 0, i32 2
  store float %33, ptr %34, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = call i32 @stb_vorbis_stream_length_in_samples(ptr noundef %35)
  store i32 %36, ptr %10, align 4, !tbaa !9
  %37 = getelementptr inbounds %struct.stb_vorbis_info, ptr %9, i32 0, i32 1
  %38 = load i32, ptr %37, align 4, !tbaa !19
  %39 = icmp sgt i32 %38, 8
  br i1 %39, label %40, label %42

40:                                               ; preds = %29
  %41 = getelementptr inbounds %"class.SoLoud::AudioSource", ptr %14, i32 0, i32 4
  store i32 8, ptr %41, align 4, !tbaa !20
  br label %46

42:                                               ; preds = %29
  %43 = getelementptr inbounds %struct.stb_vorbis_info, ptr %9, i32 0, i32 1
  %44 = load i32, ptr %43, align 4, !tbaa !19
  %45 = getelementptr inbounds %"class.SoLoud::AudioSource", ptr %14, i32 0, i32 4
  store i32 %44, ptr %45, align 4, !tbaa !20
  br label %46

46:                                               ; preds = %42, %40
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = getelementptr inbounds %"class.SoLoud::AudioSource", ptr %14, i32 0, i32 4
  %49 = load i32, ptr %48, align 4, !tbaa !20
  %50 = mul i32 %47, %49
  %51 = zext i32 %50 to i64
  %52 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %51, i64 4)
  %53 = extractvalue { i64, i1 } %52, 1
  %54 = extractvalue { i64, i1 } %52, 0
  %55 = select i1 %53, i64 -1, i64 %54
  %56 = call noalias noundef nonnull ptr @_Znam(i64 noundef %55) #7
  %57 = getelementptr inbounds %"class.SoLoud::Wav", ptr %14, i32 0, i32 1
  store ptr %56, ptr %57, align 8, !tbaa !21
  %58 = load i32, ptr %10, align 4, !tbaa !9
  %59 = getelementptr inbounds %"class.SoLoud::Wav", ptr %14, i32 0, i32 2
  store i32 %58, ptr %59, align 8, !tbaa !23
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %60

60:                                               ; preds = %102, %46
  br label %61

61:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = call i32 @stb_vorbis_get_frame_float(ptr noundef %62, ptr noundef null, ptr noundef %11)
  store i32 %63, ptr %12, align 4, !tbaa !9
  %64 = load i32, ptr %12, align 4, !tbaa !9
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %66, label %67

66:                                               ; preds = %61
  store i32 3, ptr %8, align 4
  br label %100

67:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #6
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %93, %67
  %69 = load i32, ptr %13, align 4, !tbaa !9
  %70 = getelementptr inbounds %"class.SoLoud::AudioSource", ptr %14, i32 0, i32 4
  %71 = load i32, ptr %70, align 4, !tbaa !20
  %72 = icmp ult i32 %69, %71
  br i1 %72, label %73, label %96

73:                                               ; preds = %68
  %74 = getelementptr inbounds %"class.SoLoud::Wav", ptr %14, i32 0, i32 1
  %75 = load ptr, ptr %74, align 8, !tbaa !21
  %76 = load i32, ptr %10, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %75, i64 %77
  %79 = getelementptr inbounds %"class.SoLoud::Wav", ptr %14, i32 0, i32 2
  %80 = load i32, ptr %79, align 8, !tbaa !23
  %81 = load i32, ptr %13, align 4, !tbaa !9
  %82 = mul i32 %80, %81
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds float, ptr %78, i64 %83
  %85 = load ptr, ptr %11, align 8, !tbaa !5
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = zext i32 %86 to i64
  %88 = getelementptr inbounds ptr, ptr %85, i64 %87
  %89 = load ptr, ptr %88, align 8, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = mul i64 4, %91
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %84, ptr align 4 %89, i64 %92, i1 false)
  br label %93

93:                                               ; preds = %73
  %94 = load i32, ptr %13, align 4, !tbaa !9
  %95 = add i32 %94, 1
  store i32 %95, ptr %13, align 4, !tbaa !9
  br label %68, !llvm.loop !24

96:                                               ; preds = %68
  %97 = load i32, ptr %12, align 4, !tbaa !9
  %98 = load i32, ptr %10, align 4, !tbaa !9
  %99 = add nsw i32 %98, %97
  store i32 %99, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #6
  store i32 0, ptr %8, align 4
  br label %100

100:                                              ; preds = %96, %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  %101 = load i32, ptr %8, align 4
  switch i32 %101, label %107 [
    i32 0, label %102
    i32 3, label %103
  ]

102:                                              ; preds = %100
  br label %60, !llvm.loop !26

103:                                              ; preds = %100
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  call void @stb_vorbis_close(ptr noundef %104)
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #6
  br label %105

105:                                              ; preds = %103, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  %106 = load i32, ptr %3, align 4
  ret i32 %106

107:                                              ; preds = %100
  unreachable
}

declare ptr @stb_vorbis_open_memory(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #5

declare void @stb_vorbis_get_info(ptr dead_on_unwind writable sret(%struct.stb_vorbis_info) align 4, ptr noundef) #5

declare i32 @stb_vorbis_stream_length_in_samples(ptr noundef) #5

declare i32 @stb_vorbis_get_frame_float(ptr noundef, ptr noundef, ptr noundef) #5

declare void @stb_vorbis_close(ptr noundef) #5

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

!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, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTS15stb_vorbis_info", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20}
!15 = !{!16, !17, i64 12}
!16 = !{!"_ZTSN6SoLoud11AudioSourceE", !10, i64 8, !17, i64 12, !17, i64 16, !10, i64 20, !10, i64 24, !17, i64 28, !17, i64 32, !17, i64 36, !10, i64 40, !17, i64 44, !7, i64 48, !6, i64 112, !6, i64 120, !6, i64 128, !10, i64 136, !18, i64 144}
!17 = !{!"float", !7, i64 0}
!18 = !{!"double", !7, i64 0}
!19 = !{!14, !10, i64 4}
!20 = !{!16, !10, i64 20}
!21 = !{!22, !6, i64 152}
!22 = !{!"_ZTSN6SoLoud3WavE", !16, i64 0, !6, i64 152, !10, i64 160}
!23 = !{!22, !10, i64 160}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}


; 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.stb_vorbis_info = type { i32, i32, i32, i32, i32, i32 }

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 4) i32 @_ZN6SoLoud3Wav7loadoggEPNS_10MemoryFileE(ptr nocapture noundef nonnull align 8 dereferenceable(164) %0, ptr noundef %1) local_unnamed_addr #3 align 2 {
  %3 = alloca i32, align 4
  %4 = alloca %struct.stb_vorbis_info, align 4
  %5 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  %6 = load ptr, ptr %1, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %6, i64 64
  %8 = load ptr, ptr %7, align 8
  %9 = tail call noundef ptr %8(ptr noundef nonnull align 8 dereferenceable(25) %1)
  %10 = load ptr, ptr %1, align 8, !tbaa !9
  %11 = getelementptr inbounds i8, ptr %10, i64 32
  %12 = load ptr, ptr %11, align 8
  %13 = tail call noundef i32 %12(ptr noundef nonnull align 8 dereferenceable(25) %1)
  %14 = call ptr @stb_vorbis_open_memory(ptr noundef %9, i32 noundef %13, ptr noundef nonnull %3, ptr noundef null)
  %15 = icmp eq ptr %14, null
  br i1 %15, label %54, label %16

16:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %4) #6
  call void @stb_vorbis_get_info(ptr dead_on_unwind nonnull writable sret(%struct.stb_vorbis_info) align 4 %4, ptr noundef nonnull %14)
  %17 = load i32, ptr %4, align 4, !tbaa !11
  %18 = uitofp i32 %17 to float
  %19 = getelementptr inbounds i8, ptr %0, i64 12
  store float %18, ptr %19, align 4, !tbaa !13
  %20 = call i32 @stb_vorbis_stream_length_in_samples(ptr noundef nonnull %14)
  %21 = getelementptr inbounds i8, ptr %4, i64 4
  %22 = load i32, ptr %21, align 4, !tbaa !18
  %spec.select = call i32 @llvm.smin.i32(i32 %22, i32 8)
  %23 = getelementptr inbounds i8, ptr %0, i64 20
  store i32 %spec.select, ptr %23, align 4
  %24 = mul i32 %spec.select, %20
  %25 = zext i32 %24 to i64
  %26 = shl nuw nsw i64 %25, 2
  %27 = call noalias noundef nonnull ptr @_Znam(i64 noundef %26) #7
  %28 = getelementptr inbounds i8, ptr %0, i64 152
  store ptr %27, ptr %28, align 8, !tbaa !19
  %29 = getelementptr inbounds i8, ptr %0, i64 160
  store i32 %20, ptr %29, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %30 = call i32 @stb_vorbis_get_frame_float(ptr noundef nonnull %14, ptr noundef null, ptr noundef nonnull %5)
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %._crit_edge31, label %.preheader

.preheader:                                       ; preds = %16, %._crit_edge
  %32 = phi i32 [ %52, %._crit_edge ], [ %30, %16 ]
  %.02130 = phi i32 [ %51, %._crit_edge ], [ 0, %16 ]
  %33 = load i32, ptr %23, align 4, !tbaa !22
  %.not = icmp eq i32 %33, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %34 = sext i32 %.02130 to i64
  %35 = sext i32 %32 to i64
  %36 = shl nsw i64 %35, 2
  br label %37

37:                                               ; preds = %.lr.ph, %37
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %37 ]
  %38 = load ptr, ptr %28, align 8, !tbaa !19
  %39 = getelementptr inbounds float, ptr %38, i64 %34
  %40 = load i32, ptr %29, align 8, !tbaa !21
  %41 = trunc nuw i64 %indvars.iv to i32
  %42 = mul i32 %40, %41
  %43 = zext i32 %42 to i64
  %44 = getelementptr inbounds float, ptr %39, i64 %43
  %45 = load ptr, ptr %5, align 8, !tbaa !23
  %46 = getelementptr inbounds ptr, ptr %45, i64 %indvars.iv
  %47 = load ptr, ptr %46, align 8, !tbaa !23
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %44, ptr noundef nonnull align 4 dereferenceable(1) %47, i64 %36, i1 false)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = load i32, ptr %23, align 4, !tbaa !22
  %49 = zext i32 %48 to i64
  %50 = icmp ult i64 %indvars.iv.next, %49
  br i1 %50, label %37, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %37, %.preheader
  %51 = add nsw i32 %32, %.02130
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %52 = call i32 @stb_vorbis_get_frame_float(ptr noundef nonnull %14, ptr noundef null, ptr noundef nonnull %5)
  %53 = icmp eq i32 %52, 0
  br i1 %53, label %._crit_edge31, label %.preheader

._crit_edge31:                                    ; preds = %._crit_edge, %16
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @stb_vorbis_close(ptr noundef nonnull %14)
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #6
  br label %54

54:                                               ; preds = %2, %._crit_edge31
  %.020 = phi i32 [ 0, %._crit_edge31 ], [ 3, %2 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  ret i32 %.020
}

declare ptr @stb_vorbis_open_memory(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @stb_vorbis_get_info(ptr dead_on_unwind writable sret(%struct.stb_vorbis_info) align 4, ptr noundef) local_unnamed_addr #4

declare i32 @stb_vorbis_stream_length_in_samples(ptr noundef) local_unnamed_addr #4

declare i32 @stb_vorbis_get_frame_float(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @stb_vorbis_close(ptr noundef) local_unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #5

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS15stb_vorbis_info", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20}
!13 = !{!14, !15, i64 12}
!14 = !{!"_ZTSN6SoLoud11AudioSourceE", !6, i64 8, !15, i64 12, !15, i64 16, !6, i64 20, !6, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !6, i64 40, !15, i64 44, !7, i64 48, !16, i64 112, !16, i64 120, !16, i64 128, !6, i64 136, !17, i64 144}
!15 = !{!"float", !7, i64 0}
!16 = !{!"any pointer", !7, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = !{!12, !6, i64 4}
!19 = !{!20, !16, i64 152}
!20 = !{!"_ZTSN6SoLoud3WavE", !14, i64 0, !16, i64 152, !6, i64 160}
!21 = !{!20, !6, i64 160}
!22 = !{!14, !6, i64 20}
!23 = !{!16, !16, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


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