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

; 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::Time" = type { i64 }
%"class.juce::DirectoryContentsList" = type <{ %"class.juce::ChangeBroadcaster", %"class.juce::TimeSliceClient", %"class.juce::File", ptr, ptr, i32, [4 x i8], %"class.juce::CriticalSection", %"class.juce::OwnedArray.219", %"class.juce::ScopedPointer.224", i8, [7 x i8] }>
%"class.juce::ChangeBroadcaster" = type { ptr, %"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback", %"class.juce::ListenerList.39" }
%"class.juce::ChangeBroadcaster::ChangeBroadcasterCallback" = type { %"class.juce::AsyncUpdater", ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::ListenerList.39" = type { %"class.juce::Array.40" }
%"class.juce::Array.40" = type { %"class.juce::ArrayAllocationBase.41", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.41" = type <{ %"class.juce::HeapBlock.42", i32, [4 x i8] }>
%"class.juce::HeapBlock.42" = type { ptr }
%"class.juce::TimeSliceClient" = type { ptr, %"class.juce::Time" }
%"class.juce::File" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = 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 }
%"class.juce::OwnedArray.219" = type { %"class.juce::ArrayAllocationBase.220", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.220" = type <{ %"class.juce::HeapBlock.221", i32, [4 x i8] }>
%"class.juce::HeapBlock.221" = type { ptr }
%"class.juce::ScopedPointer.224" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce21DirectoryContentsList13checkNextFileERb(ptr noundef nonnull align 8 dereferenceable(177) %0, ptr noundef nonnull align 1 dereferenceable(1) %1) #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i8, align 1
  %9 = alloca i64, align 8
  %10 = alloca %"class.juce::Time", align 8
  %11 = alloca %"class.juce::Time", align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca %"class.juce::Time", align 8
  %15 = alloca %"class.juce::Time", align 8
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %17 = load ptr, ptr %4, align 8
  %18 = getelementptr inbounds %"class.juce::DirectoryContentsList", ptr %17, i32 0, i32 9
  %19 = call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #6
  %20 = icmp ne ptr %19, null
  br i1 %20, label %21, label %57

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  call void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #6
  call void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %22 = getelementptr inbounds %"class.juce::DirectoryContentsList", ptr %17, i32 0, i32 9
  %23 = call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %22) #6
  %24 = invoke noundef zeroext i1 @_ZN4juce17DirectoryIterator4nextEPbS1_PxPNS_4TimeES4_S1_(ptr noundef nonnull align 8 dereferenceable(80) %23, ptr noundef %6, ptr noundef %7, ptr noundef %9, ptr noundef %10, ptr noundef %11, ptr noundef %8)
          to label %25 unwind label %40

25:                                               ; preds = %21
  br i1 %24, label %26, label %49

26:                                               ; preds = %25
  %27 = getelementptr inbounds %"class.juce::DirectoryContentsList", ptr %17, i32 0, i32 9
  %28 = call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce17DirectoryIterator7getFileEv(ptr noundef nonnull align 8 dereferenceable(80) %28)
          to label %30 unwind label %40

30:                                               ; preds = %26
  %31 = load i8, ptr %6, align 1, !tbaa !9, !range !11, !noundef !12
  %32 = trunc i8 %31 to i1
  %33 = load i64, ptr %9, align 8, !tbaa !13
  call void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %34 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %35 = trunc i8 %34 to i1
  %36 = invoke noundef zeroext i1 @_ZN4juce21DirectoryContentsList7addFileERKNS_4FileEbxNS_4TimeES4_b(ptr noundef nonnull align 8 dereferenceable(177) %17, ptr noundef nonnull align 8 dereferenceable(8) %29, i1 noundef zeroext %32, i64 noundef %33, ptr noundef %14, ptr noundef %15, i1 noundef zeroext %35)
          to label %37 unwind label %44

37:                                               ; preds = %30
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %36, label %38, label %48

38:                                               ; preds = %37
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  store i8 1, ptr %39, align 1, !tbaa !9
  br label %48

40:                                               ; preds = %49, %26, %21
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %12, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %13, align 4
  br label %56

44:                                               ; preds = %30
  %45 = landingpad { ptr, i32 }
          cleanup
  %46 = extractvalue { ptr, i32 } %45, 0
  store ptr %46, ptr %12, align 8
  %47 = extractvalue { ptr, i32 } %45, 1
  store i32 %47, ptr %13, align 4
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %56

48:                                               ; preds = %38, %37
  store i1 true, ptr %3, align 1
  store i32 1, ptr %16, align 4
  br label %53

49:                                               ; preds = %25
  %50 = getelementptr inbounds %"class.juce::DirectoryContentsList", ptr %17, i32 0, i32 9
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_17DirectoryIteratorEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef null)
          to label %52 unwind label %40

52:                                               ; preds = %49
  store i32 0, ptr %16, align 4
  br label %53

53:                                               ; preds = %52, %48
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  %54 = load i32, ptr %16, align 4
  switch i32 %54, label %65 [
    i32 0, label %55
    i32 1, label %58
  ]

55:                                               ; preds = %53
  br label %57

56:                                               ; preds = %44, %40
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #6
  br label %60

57:                                               ; preds = %55, %2
  store i1 false, ptr %3, align 1
  br label %58

58:                                               ; preds = %57, %53
  %59 = load i1, ptr %3, align 1
  ret i1 %59

60:                                               ; preds = %56
  %61 = load ptr, ptr %12, align 8
  %62 = load i32, ptr %13, align 4
  %63 = insertvalue { ptr, i32 } poison, ptr %61, 0
  %64 = insertvalue { ptr, i32 } %63, i32 %62, 1
  resume { ptr, i32 } %64

65:                                               ; preds = %53
  unreachable
}

; Function Attrs: nounwind
declare void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

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

declare noundef zeroext i1 @_ZN4juce17DirectoryIterator4nextEPbS1_PxPNS_4TimeES4_S1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce21DirectoryContentsList7addFileERKNS_4FileEbxNS_4TimeES4_b(ptr noundef nonnull align 8 dereferenceable(177), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, i64 noundef, ptr noundef, ptr noundef, i1 noundef zeroext) #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce17DirectoryIterator7getFileEv(ptr noundef nonnull align 8 dereferenceable(80)) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { 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 #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 }

!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, !14, i64 0}
!14 = !{!"long long", !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::Time" = type { i64 }

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nounwind
declare void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

; Function Attrs: nounwind
declare void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_17DirectoryIteratorEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4juce21DirectoryContentsList13checkNextFileERb(ptr noundef nonnull align 8 dereferenceable(177) %0, ptr nocapture noundef nonnull writeonly align 1 dereferenceable(1) %1) local_unnamed_addr #4 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i8, align 1
  %4 = alloca i8, align 1
  %5 = alloca i8, align 1
  %6 = alloca i64, align 8
  %7 = alloca %"class.juce::Time", align 8
  %8 = alloca %"class.juce::Time", align 8
  %9 = alloca %"class.juce::Time", align 8
  %10 = alloca %"class.juce::Time", align 8
  %11 = getelementptr inbounds i8, ptr %0, i64 168
  %12 = tail call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEcvPS1_Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %.not = icmp eq ptr %12, null
  br i1 %.not, label %37, label %13

13:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %14 = call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %15 = invoke noundef zeroext i1 @_ZN4juce17DirectoryIterator4nextEPbS1_PxPNS_4TimeES4_S1_(ptr noundef nonnull align 8 dereferenceable(80) %14, ptr noundef nonnull %3, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef nonnull %5)
          to label %16 unwind label %29

16:                                               ; preds = %13
  br i1 %15, label %17, label %33

17:                                               ; preds = %16
  %18 = call noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  %19 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce17DirectoryIterator7getFileEv(ptr noundef nonnull align 8 dereferenceable(80) %18)
          to label %20 unwind label %29

20:                                               ; preds = %17
  %21 = load i8, ptr %3, align 1, !tbaa !5, !range !9, !noundef !10
  %22 = trunc nuw i8 %21 to i1
  %23 = load i64, ptr %6, align 8, !tbaa !11
  call void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @_ZN4juce4TimeC1ERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  %24 = load i8, ptr %5, align 1, !tbaa !5, !range !9, !noundef !10
  %25 = trunc nuw i8 %24 to i1
  %26 = invoke noundef zeroext i1 @_ZN4juce21DirectoryContentsList7addFileERKNS_4FileEbxNS_4TimeES4_b(ptr noundef nonnull align 8 dereferenceable(177) %0, ptr noundef nonnull align 8 dereferenceable(8) %19, i1 noundef zeroext %22, i64 noundef %23, ptr noundef nonnull %9, ptr noundef nonnull %10, i1 noundef zeroext %25)
          to label %27 unwind label %31

27:                                               ; preds = %20
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %26, label %28, label %35

28:                                               ; preds = %27
  store i8 1, ptr %1, align 1, !tbaa !5
  br label %35

29:                                               ; preds = %17, %13
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %36

31:                                               ; preds = %20
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %36

33:                                               ; preds = %16
  %34 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce13ScopedPointerINS_17DirectoryIteratorEEaSEPS1_(ptr noundef nonnull align 8 dereferenceable(8) %11, ptr noundef null)
  br label %35

35:                                               ; preds = %27, %28, %33
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  br i1 %15, label %38, label %37

36:                                               ; preds = %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  call void @_ZN4juce4TimeD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn

37:                                               ; preds = %35, %2
  br label %38

38:                                               ; preds = %35, %37
  %.1 = phi i1 [ true, %35 ], [ false, %37 ]
  ret i1 %.1
}

; Function Attrs: nounwind
declare void @_ZN4juce4TimeC1Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK4juce13ScopedPointerINS_17DirectoryIteratorEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

declare noundef zeroext i1 @_ZN4juce17DirectoryIterator4nextEPbS1_PxPNS_4TimeES4_S1_(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4juce21DirectoryContentsList7addFileERKNS_4FileEbxNS_4TimeES4_b(ptr noundef nonnull align 8 dereferenceable(177), ptr noundef nonnull align 8 dereferenceable(8), i1 noundef zeroext, i64 noundef, ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #4 align 2

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce17DirectoryIterator7getFileEv(ptr noundef nonnull align 8 dereferenceable(80)) local_unnamed_addr #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { 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 #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 }

!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 = !{!"bool", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{i8 0, i8 2}
!10 = !{}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !7, i64 0}


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