; LLVM IR from clangen/musikcube :: src/plugins/libopenmptdecoder (OpenMptDecoder)

; 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.openmpt_stream_callbacks = type { ptr, ptr, ptr }
%class.OpenMptDecoder = type <{ %"class.musik::core::sdk::IDecoder", ptr, ptr, i8, [7 x i8] }>
%"class.musik::core::sdk::IDecoder" = type { ptr }

@_ZTIN5musik4core3sdk11IDataStreamE = external dso_local constant { ptr, ptr }, align 8
@_ZTI17OpenMptDataStream = external constant ptr

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN14OpenMptDecoder4OpenEPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(25) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca %struct.openmpt_stream_callbacks, align 8
  %11 = alloca %struct.openmpt_stream_callbacks, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %13 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = icmp eq ptr %14, null
  br i1 %15, label %18, label %16

16:                                               ; preds = %2
  %17 = call ptr @__dynamic_cast(ptr %14, ptr @_ZTIN5musik4core3sdk11IDataStreamE, ptr @_ZTI17OpenMptDataStream, i64 0) #9
  br label %19

18:                                               ; preds = %2
  br label %19

19:                                               ; preds = %18, %16
  %20 = phi ptr [ %17, %16 ], [ null, %18 ]
  store ptr %20, ptr %6, align 8, !tbaa !5
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %23, label %27

23:                                               ; preds = %19
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 2
  store ptr %24, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 3
  store i8 0, ptr %26, align 8, !tbaa !13
  br label %54

27:                                               ; preds = %19
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 64) #10
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN17OpenMptDataStreamC1EPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(57) %28, ptr noundef %29)
          to label %30 unwind label %46

30:                                               ; preds = %27
  store ptr %28, ptr %6, align 8, !tbaa !5
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load ptr, ptr %32, align 8, !tbaa !14
  %34 = getelementptr inbounds ptr, ptr %33, i64 16
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef ptr %35(ptr noundef nonnull align 8 dereferenceable(8) %32)
  %37 = call noundef zeroext i1 @_ZN17OpenMptDataStream5ParseEPKc(ptr noundef nonnull align 8 dereferenceable(57) %31, ptr noundef %36)
  br i1 %37, label %50, label %38

38:                                               ; preds = %30
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = icmp eq ptr %39, null
  br i1 %40, label %45, label %41

41:                                               ; preds = %38
  %42 = load ptr, ptr %39, align 8, !tbaa !14
  %43 = getelementptr inbounds ptr, ptr %42, i64 1
  %44 = load ptr, ptr %43, align 8
  call void %44(ptr noundef nonnull align 8 dereferenceable(57) %39) #9
  br label %45

45:                                               ; preds = %41, %38
  store ptr null, ptr %6, align 8, !tbaa !5
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %82

46:                                               ; preds = %27
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 64) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  br label %84

50:                                               ; preds = %30
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 2
  store ptr %51, ptr %52, align 8, !tbaa !9
  %53 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 3
  store i8 1, ptr %53, align 8, !tbaa !13
  br label %54

54:                                               ; preds = %50, %23
  call void @llvm.lifetime.start.p0(i64 24, ptr %10) #9
  call void @llvm.memset.p0.i64(ptr align 8 %10, i8 0, i64 24, i1 false)
  %55 = getelementptr inbounds %struct.openmpt_stream_callbacks, ptr %10, i32 0, i32 0
  store ptr @_ZL12readCallbackPvS_m, ptr %55, align 8, !tbaa !16
  %56 = getelementptr inbounds %struct.openmpt_stream_callbacks, ptr %10, i32 0, i32 1
  store ptr @_ZL12seekCallbackPvli, ptr %56, align 8, !tbaa !18
  %57 = getelementptr inbounds %struct.openmpt_stream_callbacks, ptr %10, i32 0, i32 2
  store ptr @_ZL12tellCallbackPv, ptr %57, align 8, !tbaa !19
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %10, i64 24, i1 false), !tbaa.struct !20
  %58 = call ptr @openmpt_module_create2(ptr noundef byval(%struct.openmpt_stream_callbacks) align 8 %11, ptr noundef %13, ptr noundef @_ZL11logCallbackPKcPv, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
  %59 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 1
  store ptr %58, ptr %59, align 8, !tbaa !21
  %60 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 1
  %61 = load ptr, ptr %60, align 8, !tbaa !21
  %62 = icmp ne ptr %61, null
  br i1 %62, label %63, label %80

63:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  %64 = load ptr, ptr %6, align 8, !tbaa !5
  %65 = call noundef i32 @_ZN17OpenMptDataStream14GetTrackNumberEv(ptr noundef nonnull align 8 dereferenceable(57) %64)
  store i32 %65, ptr %12, align 4, !tbaa !22
  %66 = load i32, ptr %12, align 4, !tbaa !22
  %67 = icmp sge i32 %66, 0
  br i1 %67, label %68, label %79

68:                                               ; preds = %63
  %69 = load i32, ptr %12, align 4, !tbaa !22
  %70 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 1
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = call i32 @openmpt_module_get_num_subsongs(ptr noundef %71)
  %73 = icmp slt i32 %69, %72
  br i1 %73, label %74, label %79

74:                                               ; preds = %68
  %75 = getelementptr inbounds %class.OpenMptDecoder, ptr %13, i32 0, i32 1
  %76 = load ptr, ptr %75, align 8, !tbaa !21
  %77 = load i32, ptr %12, align 4, !tbaa !22
  %78 = call i32 @openmpt_module_select_subsong(ptr noundef %76, i32 noundef %77)
  br label %79

79:                                               ; preds = %74, %68, %63
  store i1 true, ptr %3, align 1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  br label %81

80:                                               ; preds = %54
  store i1 false, ptr %3, align 1
  store i32 1, ptr %9, align 4
  br label %81

81:                                               ; preds = %80, %79
  call void @llvm.lifetime.end.p0(i64 24, ptr %10) #9
  br label %82

82:                                               ; preds = %81, %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #9
  %83 = load i1, ptr %3, align 1
  ret i1 %83

84:                                               ; preds = %46
  %85 = load ptr, ptr %7, align 8
  %86 = load i32, ptr %8, align 4
  %87 = insertvalue { ptr, i32 } poison, ptr %85, 0
  %88 = insertvalue { ptr, i32 } %87, i32 %86, 1
  resume { ptr, i32 } %88
}

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

; Function Attrs: nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) #2

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

declare void @_ZN17OpenMptDataStreamC1EPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef) unnamed_addr #4

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

declare noundef zeroext i1 @_ZN17OpenMptDataStream5ParseEPKc(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef) #4

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

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZL12readCallbackPvS_m(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL12seekCallbackPvli(ptr noundef, i64 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZL12tellCallbackPv(ptr noundef) #0

declare ptr @openmpt_module_create2(ptr noundef byval(%struct.openmpt_stream_callbacks) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #4

; 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) #7

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11logCallbackPKcPv(ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17OpenMptDataStream14GetTrackNumberEv(ptr noundef nonnull align 8 dereferenceable(57)) #8 align 2

declare i32 @openmpt_module_get_num_subsongs(ptr noundef) #4

declare i32 @openmpt_module_select_subsong(ptr noundef, i32 noundef) #4

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind willreturn memory(read) }
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 = { "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 = { nobuiltin 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #7 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { nounwind }
attributes #10 = { builtin allocsize(0) }
attributes #11 = { builtin 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 16}
!10 = !{!"_ZTS14OpenMptDecoder", !11, i64 0, !6, i64 8, !6, i64 16, !12, i64 24}
!11 = !{!"_ZTSN5musik4core3sdk8IDecoderE"}
!12 = !{!"bool", !7, i64 0}
!13 = !{!10, !12, i64 24}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = !{!17, !6, i64 0}
!17 = !{!"_ZTS24openmpt_stream_callbacks", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!17, !6, i64 8}
!19 = !{!17, !6, i64 16}
!20 = !{i64 0, i64 8, !5, i64 8, i64 8, !5, i64 16, i64 8, !5}
!21 = !{!10, !6, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"int", !7, i64 0}


; 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.openmpt_stream_callbacks = type { ptr, ptr, ptr }

@_ZTIN5musik4core3sdk11IDataStreamE = external dso_local constant { ptr, ptr }, align 8
@_ZTI17OpenMptDataStream = external constant ptr

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN14OpenMptDecoder4OpenEPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(25) %0, ptr noundef %1) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %struct.openmpt_stream_callbacks, align 8
  %4 = icmp eq ptr %1, null
  br i1 %4, label %.thread, label %5

5:                                                ; preds = %2
  %6 = tail call ptr @__dynamic_cast(ptr nonnull %1, ptr nonnull @_ZTIN5musik4core3sdk11IDataStreamE, ptr nonnull @_ZTI17OpenMptDataStream, i64 0) #6
  %.not = icmp eq ptr %6, null
  br i1 %.not, label %.thread, label %20

.thread:                                          ; preds = %2, %5
  %7 = tail call noalias noundef nonnull dereferenceable(64) ptr @_Znwm(i64 noundef 64) #7
  invoke void @_ZN17OpenMptDataStreamC1EPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(57) %7, ptr noundef %1)
          to label %8 unwind label %18

8:                                                ; preds = %.thread
  %9 = load ptr, ptr %1, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %9, i64 128
  %11 = load ptr, ptr %10, align 8
  %12 = tail call noundef ptr %11(ptr noundef nonnull align 8 dereferenceable(8) %1)
  %13 = tail call noundef zeroext i1 @_ZN17OpenMptDataStream5ParseEPKc(ptr noundef nonnull align 8 dereferenceable(57) %7, ptr noundef %12)
  br i1 %13, label %20, label %14

14:                                               ; preds = %8
  %15 = load ptr, ptr %7, align 8, !tbaa !5
  %16 = getelementptr inbounds i8, ptr %15, i64 8
  %17 = load ptr, ptr %16, align 8
  tail call void %17(ptr noundef nonnull align 8 dereferenceable(57) %7) #6
  br label %35

18:                                               ; preds = %.thread
  %19 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %7, i64 noundef 64) #8
  resume { ptr, i32 } %19

20:                                               ; preds = %8, %5
  %.sink22 = phi ptr [ %6, %5 ], [ %7, %8 ]
  %.sink = phi i8 [ 0, %5 ], [ 1, %8 ]
  %21 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %.sink22, ptr %21, align 8, !tbaa !8
  %22 = getelementptr inbounds i8, ptr %0, i64 24
  store i8 %.sink, ptr %22, align 8, !tbaa !14
  store ptr @_ZL12readCallbackPvS_m, ptr %3, align 8, !tbaa !15
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  store ptr @_ZL12seekCallbackPvli, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !15
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 16
  store ptr @_ZL12tellCallbackPv, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !15
  %23 = tail call ptr @openmpt_module_create2(ptr noundef nonnull byval(%struct.openmpt_stream_callbacks) align 8 %3, ptr noundef nonnull %0, ptr noundef nonnull @_ZL11logCallbackPKcPv, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null, ptr noundef null)
  %24 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %23, ptr %24, align 8, !tbaa !16
  %.not19.not = icmp eq ptr %23, null
  br i1 %.not19.not, label %35, label %25

25:                                               ; preds = %20
  %26 = tail call noundef i32 @_ZN17OpenMptDataStream14GetTrackNumberEv(ptr noundef nonnull align 8 dereferenceable(57) %.sink22)
  %27 = icmp sgt i32 %26, -1
  br i1 %27, label %28, label %35

28:                                               ; preds = %25
  %29 = load ptr, ptr %24, align 8, !tbaa !16
  %30 = tail call i32 @openmpt_module_get_num_subsongs(ptr noundef %29)
  %31 = icmp slt i32 %26, %30
  br i1 %31, label %32, label %35

32:                                               ; preds = %28
  %33 = load ptr, ptr %24, align 8, !tbaa !16
  %34 = tail call i32 @openmpt_module_select_subsong(ptr noundef %33, i32 noundef %26)
  br label %35

35:                                               ; preds = %32, %28, %25, %20, %14
  %.1 = phi i1 [ false, %14 ], [ false, %20 ], [ true, %25 ], [ true, %28 ], [ true, %32 ]
  ret i1 %.1
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(read)
declare ptr @__dynamic_cast(ptr, ptr, ptr, i64) local_unnamed_addr #1

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

declare void @_ZN17OpenMptDataStreamC1EPN5musik4core3sdk11IDataStreamE(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef) unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN17OpenMptDataStream5ParseEPKc(ptr noundef nonnull align 8 dereferenceable(57), ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZL12readCallbackPvS_m(ptr noundef, ptr noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZL12seekCallbackPvli(ptr noundef, i64 noundef, i32 noundef) #0

; Function Attrs: mustprogress uwtable
declare hidden noundef i64 @_ZL12tellCallbackPv(ptr noundef) #0

declare ptr @openmpt_module_create2(ptr noundef byval(%struct.openmpt_stream_callbacks) align 8, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL11logCallbackPKcPv(ptr noundef, ptr noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN17OpenMptDataStream14GetTrackNumberEv(ptr noundef nonnull align 8 dereferenceable(57)) local_unnamed_addr #5 align 2

declare i32 @openmpt_module_get_num_subsongs(ptr noundef) local_unnamed_addr #3

declare i32 @openmpt_module_select_subsong(ptr noundef, i32 noundef) local_unnamed_addr #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 = { mustprogress nofree nounwind willreturn memory(read) }
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 = { "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 = { nobuiltin 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 16}
!9 = !{!"_ZTS14OpenMptDecoder", !10, i64 0, !11, i64 8, !11, i64 16, !13, i64 24}
!10 = !{!"_ZTSN5musik4core3sdk8IDecoderE"}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"bool", !12, i64 0}
!14 = !{!9, !13, i64 24}
!15 = !{!11, !11, i64 0}
!16 = !{!9, !11, i64 8}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,SROAPass,SimplifyCFGPass,TailCallElimPass