; LLVM IR from modlfo/AudioEngine :: AudioEngine/JuceLibraryCode (juce_audio_utils)

; 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.juce::SoundPlayer" = type <{ %"class.juce::AudioIODeviceCallback", %"class.juce::AudioFormatManager", %"class.juce::AudioSourcePlayer", %"class.juce::MixerAudioSource", %"class.juce::OwnedArray.215", double, i32, [4 x i8] }>
%"class.juce::AudioIODeviceCallback" = type { ptr }
%"class.juce::AudioFormatManager" = type { %"class.juce::OwnedArray.122", i32, [4 x i8] }
%"class.juce::OwnedArray.122" = type { %"class.juce::ArrayAllocationBase.123", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.123" = type <{ %"class.juce::HeapBlock.124", i32, [4 x i8] }>
%"class.juce::HeapBlock.124" = type { ptr }
%"class.juce::AudioSourcePlayer" = type { %"class.juce::AudioIODeviceCallback", %"class.juce::CriticalSection", ptr, double, i32, [128 x ptr], [128 x ptr], [128 x ptr], %"class.juce::AudioBuffer", float, float }
%"class.juce::CriticalSection" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.juce::AudioBuffer" = type <{ i32, i32, i64, ptr, %"class.juce::HeapBlock.42", [32 x ptr], i8, [7 x i8] }>
%"class.juce::HeapBlock.42" = type { ptr }
%"class.juce::MixerAudioSource" = type <{ %"class.juce::AudioSource", %"class.juce::Array.210", %"class.juce::BigInteger", %"class.juce::CriticalSection", %"class.juce::AudioBuffer", double, i32, [4 x i8] }>
%"class.juce::AudioSource" = type { ptr }
%"class.juce::Array.210" = type { %"class.juce::ArrayAllocationBase.211", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.211" = type <{ %"class.juce::HeapBlock.212", i32, [4 x i8] }>
%"class.juce::HeapBlock.212" = type { ptr }
%"class.juce::BigInteger" = type <{ %"class.juce::HeapBlock.34", [4 x i32], i64, i32, i8, [3 x i8] }>
%"class.juce::HeapBlock.34" = type { ptr }
%"class.juce::OwnedArray.215" = type { %"class.juce::ArrayAllocationBase.211", i32, [4 x i8] }

@_ZTIN4juce23PositionableAudioSourceE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN4juce20AudioTransportSourceE = external constant ptr

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

declare i32 @__gxx_personality_v0(...)

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11SoundPlayer4playEPNS_23PositionableAudioSourceEb(ptr noundef nonnull align 8 dereferenceable(3948) %0, ptr noundef %1, i1 noundef zeroext %2) #3 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %10 = zext i1 %2 to i8
  store i8 %10, ptr %6, align 1, !tbaa !9
  %11 = load ptr, ptr %4, align 8
  %12 = load ptr, ptr %5, align 8, !tbaa !5
  %13 = icmp ne ptr %12, null
  br i1 %13, label %14, label %70

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = icmp eq ptr %15, null
  br i1 %16, label %19, label %17

17:                                               ; preds = %14
  %18 = call ptr @__dynamic_cast(ptr %15, ptr @_ZTIN4juce23PositionableAudioSourceE, ptr @_ZTIN4juce20AudioTransportSourceE, i64 0) #6
  br label %20

19:                                               ; preds = %14
  br label %20

20:                                               ; preds = %19, %17
  %21 = phi ptr [ %18, %17 ], [ null, %19 ]
  store ptr %21, ptr %7, align 8, !tbaa !5
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %45

24:                                               ; preds = %20
  %25 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %26 = trunc i8 %25 to i1
  br i1 %26, label %27, label %35

27:                                               ; preds = %24
  %28 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 200) #7
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZN4juce32AudioSourceOwningTransportSourceC2EPNS_23PositionableAudioSourceE(ptr noundef nonnull align 8 dereferenceable(200) %28, ptr noundef %29)
          to label %30 unwind label %31

30:                                               ; preds = %27
  store ptr %28, ptr %7, align 8, !tbaa !5
  br label %44

31:                                               ; preds = %27
  %32 = landingpad { ptr, i32 }
          cleanup
  %33 = extractvalue { ptr, i32 } %32, 0
  store ptr %33, ptr %8, align 8
  %34 = extractvalue { ptr, i32 } %32, 1
  store i32 %34, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %28, i64 noundef 200) #8
  br label %69

35:                                               ; preds = %24
  %36 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 192) #7
  invoke void @_ZN4juce20AudioTransportSourceC1Ev(ptr noundef nonnull align 8 dereferenceable(186) %36)
          to label %37 unwind label %40

37:                                               ; preds = %35
  store ptr %36, ptr %7, align 8, !tbaa !5
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  call void @_ZN4juce20AudioTransportSource9setSourceEPNS_23PositionableAudioSourceEiPNS_15TimeSliceThreadEdi(ptr noundef nonnull align 8 dereferenceable(186) %38, ptr noundef %39, i32 noundef 0, ptr noundef null, double noundef 0.000000e+00, i32 noundef 2)
  store i8 1, ptr %6, align 1, !tbaa !9
  br label %44

40:                                               ; preds = %35
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %8, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %36, i64 noundef 192) #8
  br label %69

44:                                               ; preds = %37, %30
  br label %45

45:                                               ; preds = %44, %20
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN4juce20AudioTransportSource5startEv(ptr noundef nonnull align 8 dereferenceable(186) %46)
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds %"class.juce::SoundPlayer", ptr %11, i32 0, i32 6
  %49 = load i32, ptr %48, align 8, !tbaa !13
  %50 = getelementptr inbounds %"class.juce::SoundPlayer", ptr %11, i32 0, i32 5
  %51 = load double, ptr %50, align 8, !tbaa !36
  %52 = load ptr, ptr %47, align 8, !tbaa !37
  %53 = getelementptr inbounds ptr, ptr %52, i64 2
  %54 = load ptr, ptr %53, align 8
  call void %54(ptr noundef nonnull align 8 dereferenceable(186) %47, i32 noundef %49, double noundef %51)
  %55 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 248) #7
  %56 = getelementptr inbounds %"class.juce::SoundPlayer", ptr %11, i32 0, i32 3
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %59 = trunc i8 %58 to i1
  %60 = getelementptr inbounds %"class.juce::SoundPlayer", ptr %11, i32 0, i32 6
  %61 = load i32, ptr %60, align 8, !tbaa !13
  %62 = getelementptr inbounds %"class.juce::SoundPlayer", ptr %11, i32 0, i32 5
  %63 = load double, ptr %62, align 8, !tbaa !36
  invoke void @_ZN4juce27AutoRemovingTransportSourceC2ERNS_16MixerAudioSourceEPNS_20AudioTransportSourceEbid(ptr noundef nonnull align 8 dereferenceable(248) %55, ptr noundef nonnull align 8 dereferenceable(420) %56, ptr noundef %57, i1 noundef zeroext %59, i32 noundef %61, double noundef %63)
          to label %64 unwind label %65

64:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %82

65:                                               ; preds = %45
  %66 = landingpad { ptr, i32 }
          cleanup
  %67 = extractvalue { ptr, i32 } %66, 0
  store ptr %67, ptr %8, align 8
  %68 = extractvalue { ptr, i32 } %66, 1
  store i32 %68, ptr %9, align 4
  call void @_ZdlPvm(ptr noundef %55, i64 noundef 248) #8
  br label %69

69:                                               ; preds = %65, %40, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %83

70:                                               ; preds = %3
  %71 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %81

73:                                               ; preds = %70
  %74 = load ptr, ptr %5, align 8, !tbaa !5
  %75 = icmp eq ptr %74, null
  br i1 %75, label %80, label %76

76:                                               ; preds = %73
  %77 = load ptr, ptr %74, align 8, !tbaa !37
  %78 = getelementptr inbounds ptr, ptr %77, i64 1
  %79 = load ptr, ptr %78, align 8
  call void %79(ptr noundef nonnull align 8 dereferenceable(8) %74) #6
  br label %80

80:                                               ; preds = %76, %73
  br label %81

81:                                               ; preds = %80, %70
  br label %82

82:                                               ; preds = %81, %64
  ret void

83:                                               ; preds = %69
  %84 = load ptr, ptr %8, align 8
  %85 = load i32, ptr %9, align 4
  %86 = insertvalue { ptr, i32 } poison, ptr %84, 0
  %87 = insertvalue { ptr, i32 } %86, i32 %85, 1
  resume { ptr, i32 } %87
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce32AudioSourceOwningTransportSourceC2EPNS_23PositionableAudioSourceE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef) unnamed_addr #3 align 2

declare void @_ZN4juce20AudioTransportSourceC1Ev(ptr noundef nonnull align 8 dereferenceable(186)) unnamed_addr #5

declare void @_ZN4juce20AudioTransportSource9setSourceEPNS_23PositionableAudioSourceEiPNS_15TimeSliceThreadEdi(ptr noundef nonnull align 8 dereferenceable(186), ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef) #5

declare void @_ZN4juce20AudioTransportSource5startEv(ptr noundef nonnull align 8 dereferenceable(186)) #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce27AutoRemovingTransportSourceC2ERNS_16MixerAudioSourceEPNS_20AudioTransportSourceEbid(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef nonnull align 8 dereferenceable(420), ptr noundef, i1 noundef zeroext, i32 noundef, double noundef) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { nounwind willreturn memory(read) }
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) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !20, i64 3944}
!14 = !{!"_ZTSN4juce11SoundPlayerE", !15, i64 0, !16, i64 8, !21, i64 40, !28, i64 3488, !35, i64 3912, !23, i64 3936, !20, i64 3944}
!15 = !{!"_ZTSN4juce21AudioIODeviceCallbackE"}
!16 = !{!"_ZTSN4juce18AudioFormatManagerE", !17, i64 0, !20, i64 24}
!17 = !{!"_ZTSN4juce10OwnedArrayINS_11AudioFormatENS_20DummyCriticalSectionEEE", !18, i64 0, !20, i64 16}
!18 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11AudioFormatENS_20DummyCriticalSectionEEE", !19, i64 0, !20, i64 8}
!19 = !{!"_ZTSN4juce9HeapBlockIPNS_11AudioFormatELb0EEE", !6, i64 0}
!20 = !{!"int", !7, i64 0}
!21 = !{!"_ZTSN4juce17AudioSourcePlayerE", !15, i64 0, !22, i64 8, !6, i64 48, !23, i64 56, !20, i64 64, !7, i64 72, !7, i64 1096, !7, i64 2120, !24, i64 3144, !27, i64 3440, !27, i64 3444}
!22 = !{!"_ZTSN4juce15CriticalSectionE", !7, i64 0}
!23 = !{!"double", !7, i64 0}
!24 = !{!"_ZTSN4juce11AudioBufferIfEE", !20, i64 0, !20, i64 4, !25, i64 8, !6, i64 16, !26, i64 24, !7, i64 32, !10, i64 288}
!25 = !{!"long", !7, i64 0}
!26 = !{!"_ZTSN4juce9HeapBlockIcLb1EEE", !6, i64 0}
!27 = !{!"float", !7, i64 0}
!28 = !{!"_ZTSN4juce16MixerAudioSourceE", !29, i64 0, !30, i64 8, !33, i64 32, !22, i64 72, !24, i64 112, !23, i64 408, !20, i64 416}
!29 = !{!"_ZTSN4juce11AudioSourceE"}
!30 = !{!"_ZTSN4juce5ArrayIPNS_11AudioSourceENS_20DummyCriticalSectionELi0EEE", !31, i64 0, !20, i64 16}
!31 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11AudioSourceENS_20DummyCriticalSectionEEE", !32, i64 0, !20, i64 8}
!32 = !{!"_ZTSN4juce9HeapBlockIPNS_11AudioSourceELb0EEE", !6, i64 0}
!33 = !{!"_ZTSN4juce10BigIntegerE", !34, i64 0, !7, i64 8, !25, i64 24, !20, i64 32, !10, i64 36}
!34 = !{!"_ZTSN4juce9HeapBlockIjLb0EEE", !6, i64 0}
!35 = !{!"_ZTSN4juce10OwnedArrayINS_11AudioSourceENS_20DummyCriticalSectionEEE", !31, i64 0, !20, i64 16}
!36 = !{!14, !23, i64 3936}
!37 = !{!38, !38, i64 0}
!38 = !{!"vtable pointer", !8, 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"

@_ZTIN4juce23PositionableAudioSourceE = external dso_local constant { ptr, ptr, ptr }, align 8
@_ZTIN4juce20AudioTransportSourceE = external constant ptr

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce11SoundPlayer4playEPNS_23PositionableAudioSourceEb(ptr noundef nonnull align 8 dereferenceable(3948) %0, ptr noundef %1, i1 noundef zeroext %2) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %.not = icmp eq ptr %1, null
  br i1 %.not, label %32, label %4

4:                                                ; preds = %3
  %5 = tail call ptr @__dynamic_cast(ptr nonnull %1, ptr nonnull @_ZTIN4juce23PositionableAudioSourceE, ptr nonnull @_ZTIN4juce20AudioTransportSourceE, i64 0) #5
  %6 = icmp eq ptr %5, null
  br i1 %6, label %7, label %17

7:                                                ; preds = %4
  br i1 %2, label %8, label %12

8:                                                ; preds = %7
  %9 = tail call noalias noundef nonnull dereferenceable(200) ptr @_Znwm(i64 noundef 200) #6
  invoke void @_ZN4juce32AudioSourceOwningTransportSourceC2EPNS_23PositionableAudioSourceE(ptr noundef nonnull align 8 dereferenceable(200) %9, ptr noundef nonnull %1)
          to label %17 unwind label %10

10:                                               ; preds = %8
  %11 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %9, i64 noundef 200) #7
  br label %31

12:                                               ; preds = %7
  %13 = tail call noalias noundef nonnull dereferenceable(192) ptr @_Znwm(i64 noundef 192) #6
  invoke void @_ZN4juce20AudioTransportSourceC1Ev(ptr noundef nonnull align 8 dereferenceable(186) %13)
          to label %14 unwind label %15

14:                                               ; preds = %12
  tail call void @_ZN4juce20AudioTransportSource9setSourceEPNS_23PositionableAudioSourceEiPNS_15TimeSliceThreadEdi(ptr noundef nonnull align 8 dereferenceable(186) %13, ptr noundef nonnull %1, i32 noundef 0, ptr noundef null, double noundef 0.000000e+00, i32 noundef 2)
  br label %17

15:                                               ; preds = %12
  %16 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %13, i64 noundef 192) #7
  br label %31

17:                                               ; preds = %8, %14, %4
  %.017.shrunk = phi i1 [ true, %14 ], [ %2, %4 ], [ true, %8 ]
  %.016 = phi ptr [ %13, %14 ], [ %5, %4 ], [ %9, %8 ]
  tail call void @_ZN4juce20AudioTransportSource5startEv(ptr noundef nonnull align 8 dereferenceable(186) %.016)
  %18 = getelementptr inbounds i8, ptr %0, i64 3944
  %19 = load i32, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 3936
  %21 = load double, ptr %20, align 8, !tbaa !32
  %22 = load ptr, ptr %.016, align 8, !tbaa !33
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %24 = load ptr, ptr %23, align 8
  tail call void %24(ptr noundef nonnull align 8 dereferenceable(186) %.016, i32 noundef %19, double noundef %21)
  %25 = tail call noalias noundef nonnull dereferenceable(248) ptr @_Znwm(i64 noundef 248) #6
  %26 = getelementptr inbounds i8, ptr %0, i64 3488
  %27 = load i32, ptr %18, align 8, !tbaa !5
  %28 = load double, ptr %20, align 8, !tbaa !32
  invoke void @_ZN4juce27AutoRemovingTransportSourceC2ERNS_16MixerAudioSourceEPNS_20AudioTransportSourceEbid(ptr noundef nonnull align 8 dereferenceable(248) %25, ptr noundef nonnull align 8 dereferenceable(420) %26, ptr noundef nonnull %.016, i1 noundef zeroext %.017.shrunk, i32 noundef %27, double noundef %28)
          to label %32 unwind label %29

29:                                               ; preds = %17
  %30 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %25, i64 noundef 248) #7
  br label %31

31:                                               ; preds = %29, %15, %10
  %.pn = phi { ptr, i32 } [ %30, %29 ], [ %11, %10 ], [ %16, %15 ]
  resume { ptr, i32 } %.pn

32:                                               ; preds = %3, %17
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce32AudioSourceOwningTransportSourceC2EPNS_23PositionableAudioSourceE(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef) unnamed_addr #2 align 2

declare void @_ZN4juce20AudioTransportSourceC1Ev(ptr noundef nonnull align 8 dereferenceable(186)) unnamed_addr #4

declare void @_ZN4juce20AudioTransportSource9setSourceEPNS_23PositionableAudioSourceEiPNS_15TimeSliceThreadEdi(ptr noundef nonnull align 8 dereferenceable(186), ptr noundef, i32 noundef, ptr noundef, double noundef, i32 noundef) local_unnamed_addr #4

declare void @_ZN4juce20AudioTransportSource5startEv(ptr noundef nonnull align 8 dereferenceable(186)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce27AutoRemovingTransportSourceC2ERNS_16MixerAudioSourceEPNS_20AudioTransportSourceEbid(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef nonnull align 8 dereferenceable(420), ptr noundef, i1 noundef zeroext, i32 noundef, double noundef) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { 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 #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 = { mustprogress nofree nounwind willreturn memory(read) }
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 }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { 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, !15, i64 3944}
!6 = !{!"_ZTSN4juce11SoundPlayerE", !7, i64 0, !8, i64 8, !16, i64 40, !24, i64 3488, !31, i64 3912, !18, i64 3936, !15, i64 3944}
!7 = !{!"_ZTSN4juce21AudioIODeviceCallbackE"}
!8 = !{!"_ZTSN4juce18AudioFormatManagerE", !9, i64 0, !15, i64 24}
!9 = !{!"_ZTSN4juce10OwnedArrayINS_11AudioFormatENS_20DummyCriticalSectionEEE", !10, i64 0, !15, i64 16}
!10 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11AudioFormatENS_20DummyCriticalSectionEEE", !11, i64 0, !15, i64 8}
!11 = !{!"_ZTSN4juce9HeapBlockIPNS_11AudioFormatELb0EEE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"int", !13, i64 0}
!16 = !{!"_ZTSN4juce17AudioSourcePlayerE", !7, i64 0, !17, i64 8, !12, i64 48, !18, i64 56, !15, i64 64, !13, i64 72, !13, i64 1096, !13, i64 2120, !19, i64 3144, !23, i64 3440, !23, i64 3444}
!17 = !{!"_ZTSN4juce15CriticalSectionE", !13, i64 0}
!18 = !{!"double", !13, i64 0}
!19 = !{!"_ZTSN4juce11AudioBufferIfEE", !15, i64 0, !15, i64 4, !20, i64 8, !12, i64 16, !21, i64 24, !13, i64 32, !22, i64 288}
!20 = !{!"long", !13, i64 0}
!21 = !{!"_ZTSN4juce9HeapBlockIcLb1EEE", !12, i64 0}
!22 = !{!"bool", !13, i64 0}
!23 = !{!"float", !13, i64 0}
!24 = !{!"_ZTSN4juce16MixerAudioSourceE", !25, i64 0, !26, i64 8, !29, i64 32, !17, i64 72, !19, i64 112, !18, i64 408, !15, i64 416}
!25 = !{!"_ZTSN4juce11AudioSourceE"}
!26 = !{!"_ZTSN4juce5ArrayIPNS_11AudioSourceENS_20DummyCriticalSectionELi0EEE", !27, i64 0, !15, i64 16}
!27 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_11AudioSourceENS_20DummyCriticalSectionEEE", !28, i64 0, !15, i64 8}
!28 = !{!"_ZTSN4juce9HeapBlockIPNS_11AudioSourceELb0EEE", !12, i64 0}
!29 = !{!"_ZTSN4juce10BigIntegerE", !30, i64 0, !13, i64 8, !20, i64 24, !15, i64 32, !22, i64 36}
!30 = !{!"_ZTSN4juce9HeapBlockIjLb0EEE", !12, i64 0}
!31 = !{!"_ZTSN4juce10OwnedArrayINS_11AudioSourceENS_20DummyCriticalSectionEEE", !27, i64 0, !15, i64 16}
!32 = !{!6, !18, i64 3936}
!33 = !{!34, !34, i64 0}
!34 = !{!"vtable pointer", !14, i64 0}


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