; 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::GenericScopedLock" = type { ptr }
%"struct.juce::AudioThumbnail::MinMaxValue" = type { [2 x i8] }
%"class.juce::AudioThumbnail" = type { %"class.juce::AudioThumbnailBase", ptr, ptr, %"class.juce::ScopedPointer.115", %"class.juce::ScopedPointer.116", %"class.juce::OwnedArray.117", i32, i64, i64, i32, double, %"class.juce::CriticalSection" }
%"class.juce::AudioThumbnailBase" = type { %"class.juce::ChangeBroadcaster", %"class.juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver" }
%"class.juce::ChangeBroadcaster" = type { ptr, %"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback", %"class.juce::ListenerList.20" }
%"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback" = type { %"class.juce::AsyncUpdater", ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.19" }
%"class.juce::ReferenceCountedObjectPtr.19" = type { ptr }
%"class.juce::ListenerList.20" = type { %"class.juce::Array.21" }
%"class.juce::Array.21" = type { %"class.juce::ArrayAllocationBase.22", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.22" = type <{ %"class.juce::HeapBlock.23", i32, [4 x i8] }>
%"class.juce::HeapBlock.23" = type { ptr }
%"class.juce::AudioFormatWriter::ThreadedWriter::IncomingDataReceiver" = type { ptr }
%"class.juce::ScopedPointer.115" = type { ptr }
%"class.juce::ScopedPointer.116" = type { ptr }
%"class.juce::OwnedArray.117" = type { %"class.juce::ArrayAllocationBase.118", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.118" = type <{ %"class.juce::HeapBlock.119", i32, [4 x i8] }>
%"class.juce::HeapBlock.119" = type { ptr }
%"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 }

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef, i32 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZNK4juce14AudioThumbnail20getApproximateMinMaxEddiRfS1_(ptr noundef nonnull align 8 dereferenceable(200) %0, double noundef %1, double noundef %2, i32 noundef %3, ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5) unnamed_addr #3 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca ptr, align 8
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %"class.juce::GenericScopedLock", align 8
  %14 = alloca %"struct.juce::AudioThumbnail::MinMaxValue", align 1
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store double %1, ptr %8, align 8, !tbaa !9
  store double %2, ptr %9, align 8, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !11
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  %18 = load ptr, ptr %7, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %19 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 11
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(40) %19) #5
  call void @llvm.lifetime.start.p0(i64 2, ptr %14) #5
  call void @_ZN4juce14AudioThumbnail11MinMaxValueC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %20 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 5
  %21 = load i32, ptr %10, align 4, !tbaa !11
  %22 = call noundef ptr @_ZNK4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEixEi(ptr noundef nonnull align 8 dereferenceable(20) %20, i32 noundef %21) #5
  store ptr %22, ptr %15, align 8, !tbaa !5
  %23 = load ptr, ptr %15, align 8, !tbaa !5
  %24 = icmp ne ptr %23, null
  br i1 %24, label %25, label %57

25:                                               ; preds = %6
  %26 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 10
  %27 = load double, ptr %26, align 8, !tbaa !13
  %28 = fcmp ogt double %27, 0.000000e+00
  br i1 %28, label %29, label %57

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %30 = load double, ptr %8, align 8, !tbaa !9
  %31 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 10
  %32 = load double, ptr %31, align 8, !tbaa !13
  %33 = fmul double %30, %32
  %34 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 6
  %35 = load i32, ptr %34, align 8, !tbaa !32
  %36 = sitofp i32 %35 to double
  %37 = fdiv double %33, %36
  %38 = fptosi double %37 to i32
  store i32 %38, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %39 = load double, ptr %9, align 8, !tbaa !9
  %40 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 10
  %41 = load double, ptr %40, align 8, !tbaa !13
  %42 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 6
  %43 = load i32, ptr %42, align 8, !tbaa !32
  %44 = sitofp i32 %43 to double
  %45 = call double @llvm.fmuladd.f64(double %39, double %41, double %44)
  %46 = fsub double %45, 1.000000e+00
  %47 = getelementptr inbounds %"class.juce::AudioThumbnail", ptr %18, i32 0, i32 6
  %48 = load i32, ptr %47, align 8, !tbaa !32
  %49 = sitofp i32 %48 to double
  %50 = fdiv double %46, %49
  %51 = fptosi double %50 to i32
  store i32 %51, ptr %17, align 4, !tbaa !11
  %52 = load ptr, ptr %15, align 8, !tbaa !5
  %53 = load i32, ptr %16, align 4, !tbaa !11
  %54 = invoke noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %53)
          to label %55 unwind label %68

55:                                               ; preds = %29
  %56 = load i32, ptr %17, align 4, !tbaa !11
  call void @_ZNK4juce14AudioThumbnail9ThumbData9getMinMaxEiiRNS0_11MinMaxValueE(ptr noundef nonnull align 8 dereferenceable(28) %52, i32 noundef %54, i32 noundef %56, ptr noundef nonnull align 1 dereferenceable(2) %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %57

57:                                               ; preds = %55, %25, %6
  %58 = call noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMinValueEv(ptr noundef nonnull align 1 dereferenceable(2) %14) #5
  %59 = sext i8 %58 to i32
  %60 = sitofp i32 %59 to float
  %61 = fdiv float %60, 1.280000e+02
  %62 = load ptr, ptr %11, align 8, !tbaa !5
  store float %61, ptr %62, align 4, !tbaa !33
  %63 = call noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMaxValueEv(ptr noundef nonnull align 1 dereferenceable(2) %14) #5
  %64 = sext i8 %63 to i32
  %65 = sitofp i32 %64 to float
  %66 = fdiv float %65, 1.280000e+02
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  store float %66, ptr %67, align 4, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 2, ptr %14) #5
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  ret void

68:                                               ; preds = %29
  %69 = landingpad { ptr, i32 }
          catch ptr null
  %70 = extractvalue { ptr, i32 } %69, 0
  call void @__clang_call_terminate(ptr %70) #6
  unreachable
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4juce14AudioThumbnail11MinMaxValueC2Ev(ptr noundef nonnull align 1 dereferenceable(2)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEixEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK4juce14AudioThumbnail9ThumbData9getMinMaxEiiRNS0_11MinMaxValueE(ptr noundef nonnull align 8 dereferenceable(28), i32 noundef, i32 noundef, ptr noundef nonnull align 1 dereferenceable(2)) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMinValueEv(ptr noundef nonnull align 1 dereferenceable(2)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMaxValueEv(ptr noundef nonnull align 1 dereferenceable(2)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noinline noreturn nounwind uwtable "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 = { 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 #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }
attributes #6 = { noreturn 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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !10, i64 152}
!14 = !{!"_ZTSN4juce14AudioThumbnailE", !15, i64 0, !6, i64 64, !6, i64 72, !25, i64 80, !26, i64 88, !27, i64 96, !12, i64 120, !30, i64 128, !30, i64 136, !12, i64 144, !10, i64 152, !31, i64 160}
!15 = !{!"_ZTSN4juce18AudioThumbnailBaseE", !16, i64 0, !24, i64 56}
!16 = !{!"_ZTSN4juce17ChangeBroadcasterE", !17, i64 8, !20, i64 32}
!17 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !18, i64 0, !6, i64 16}
!18 = !{!"_ZTSN4juce12AsyncUpdaterE", !19, i64 8}
!19 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !6, i64 0}
!20 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !21, i64 0}
!21 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !22, i64 0, !12, i64 16}
!22 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !23, i64 0, !12, i64 8}
!23 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !6, i64 0}
!24 = !{!"_ZTSN4juce17AudioFormatWriter14ThreadedWriter20IncomingDataReceiverE"}
!25 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioThumbnail15LevelDataSourceEEE", !6, i64 0}
!26 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioThumbnail12CachedWindowEEE", !6, i64 0}
!27 = !{!"_ZTSN4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEE", !28, i64 0, !12, i64 16}
!28 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEE", !29, i64 0, !12, i64 8}
!29 = !{!"_ZTSN4juce9HeapBlockIPNS_14AudioThumbnail9ThumbDataELb0EEE", !6, i64 0}
!30 = !{!"long long", !7, i64 0}
!31 = !{!"_ZTSN4juce15CriticalSectionE", !7, i64 0}
!32 = !{!14, !12, i64 120}
!33 = !{!34, !34, i64 0}
!34 = !{!"float", !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"

%"class.juce::GenericScopedLock" = type { ptr }
%"struct.juce::AudioThumbnail::MinMaxValue" = type { [2 x i8] }

; Function Attrs: mustprogress 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: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZNK4juce14AudioThumbnail20getApproximateMinMaxEddiRfS1_(ptr noundef nonnull align 8 dereferenceable(200) %0, double noundef %1, double noundef %2, i32 noundef %3, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %4, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %5) unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.juce::GenericScopedLock", align 8
  %8 = alloca %"struct.juce::AudioThumbnail::MinMaxValue", align 1
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %9 = getelementptr inbounds i8, ptr %0, i64 160
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(40) %9) #4
  call void @llvm.lifetime.start.p0(i64 2, ptr nonnull %8) #4
  call void @_ZN4juce14AudioThumbnail11MinMaxValueC2Ev(ptr noundef nonnull align 1 dereferenceable(2) %8) #4
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  %11 = call noundef ptr @_ZNK4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEixEi(ptr noundef nonnull align 8 dereferenceable(20) %10, i32 noundef %3) #4
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %28, label %12

12:                                               ; preds = %6
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = load double, ptr %13, align 8, !tbaa !5
  %15 = fcmp ogt double %14, 0.000000e+00
  br i1 %15, label %16, label %28

16:                                               ; preds = %12
  %17 = fmul double %14, %1
  %18 = getelementptr inbounds i8, ptr %0, i64 120
  %19 = load i32, ptr %18, align 8, !tbaa !29
  %20 = sitofp i32 %19 to double
  %21 = fdiv double %17, %20
  %22 = fptosi double %21 to i32
  %23 = call double @llvm.fmuladd.f64(double %2, double %14, double %20)
  %24 = fadd double %23, -1.000000e+00
  %25 = fdiv double %24, %20
  %26 = fptosi double %25 to i32
  %27 = call noundef i32 @_ZN4juce4jmaxIiEET_S1_S1_(i32 noundef 0, i32 noundef %22)
  call void @_ZNK4juce14AudioThumbnail9ThumbData9getMinMaxEiiRNS0_11MinMaxValueE(ptr noundef nonnull align 8 dereferenceable(28) %11, i32 noundef %27, i32 noundef %26, ptr noundef nonnull align 1 dereferenceable(2) %8) #4
  br label %28

28:                                               ; preds = %16, %12, %6
  %29 = call noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMinValueEv(ptr noundef nonnull align 1 dereferenceable(2) %8) #4
  %30 = sitofp i8 %29 to float
  %31 = fmul float %30, 7.812500e-03
  store float %31, ptr %4, align 4, !tbaa !30
  %32 = call noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMaxValueEv(ptr noundef nonnull align 1 dereferenceable(2) %8) #4
  %33 = sitofp i8 %32 to float
  %34 = fmul float %33, 7.812500e-03
  store float %34, ptr %5, align 4, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 2, ptr nonnull %8) #4
  call void @_ZN4juce17GenericScopedLockINS_15CriticalSectionEED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEixEi(ptr noundef nonnull align 8 dereferenceable(20), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMinValueEv(ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZNK4juce14AudioThumbnail11MinMaxValue11getMaxValueEv(ptr noundef nonnull align 1 dereferenceable(2)) local_unnamed_addr #1 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !27, i64 152}
!6 = !{!"_ZTSN4juce14AudioThumbnailE", !7, i64 0, !12, i64 64, !12, i64 72, !21, i64 80, !22, i64 88, !23, i64 96, !19, i64 120, !26, i64 128, !26, i64 136, !19, i64 144, !27, i64 152, !28, i64 160}
!7 = !{!"_ZTSN4juce18AudioThumbnailBaseE", !8, i64 0, !20, i64 56}
!8 = !{!"_ZTSN4juce17ChangeBroadcasterE", !9, i64 8, !15, i64 32}
!9 = !{!"_ZTSN4juce17ChangeBroadcaster25ChangeBroadcasterCallbackE", !10, i64 0, !12, i64 16}
!10 = !{!"_ZTSN4juce12AsyncUpdaterE", !11, i64 8}
!11 = !{!"_ZTSN4juce25ReferenceCountedObjectPtrINS_12AsyncUpdater19AsyncUpdaterMessageEEE", !12, i64 0}
!12 = !{!"any pointer", !13, i64 0}
!13 = !{!"omnipotent char", !14, i64 0}
!14 = !{!"Simple C++ TBAA"}
!15 = !{!"_ZTSN4juce12ListenerListINS_14ChangeListenerENS_5ArrayIPS1_NS_20DummyCriticalSectionELi0EEEEE", !16, i64 0}
!16 = !{!"_ZTSN4juce5ArrayIPNS_14ChangeListenerENS_20DummyCriticalSectionELi0EEE", !17, i64 0, !19, i64 16}
!17 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14ChangeListenerENS_20DummyCriticalSectionEEE", !18, i64 0, !19, i64 8}
!18 = !{!"_ZTSN4juce9HeapBlockIPNS_14ChangeListenerELb0EEE", !12, i64 0}
!19 = !{!"int", !13, i64 0}
!20 = !{!"_ZTSN4juce17AudioFormatWriter14ThreadedWriter20IncomingDataReceiverE"}
!21 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioThumbnail15LevelDataSourceEEE", !12, i64 0}
!22 = !{!"_ZTSN4juce13ScopedPointerINS_14AudioThumbnail12CachedWindowEEE", !12, i64 0}
!23 = !{!"_ZTSN4juce10OwnedArrayINS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEE", !24, i64 0, !19, i64 16}
!24 = !{!"_ZTSN4juce19ArrayAllocationBaseIPNS_14AudioThumbnail9ThumbDataENS_20DummyCriticalSectionEEE", !25, i64 0, !19, i64 8}
!25 = !{!"_ZTSN4juce9HeapBlockIPNS_14AudioThumbnail9ThumbDataELb0EEE", !12, i64 0}
!26 = !{!"long long", !13, i64 0}
!27 = !{!"double", !13, i64 0}
!28 = !{!"_ZTSN4juce15CriticalSectionE", !13, i64 0}
!29 = !{!6, !19, i64 120}
!30 = !{!31, !31, i64 0}
!31 = !{!"float", !13, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass