; 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::File" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }
%"class.juce::FileBrowserComponent" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::FileBrowserListener", %"class.juce::TextEditor::Listener", %"class.juce::Button::Listener", %"class.juce::ComboBox::Listener", %"class.juce::FileFilter", %"class.juce::Timer", %"class.juce::ScopedPointer.232", ptr, i32, [4 x i8], %"class.juce::File", %"class.juce::Array.233", %"class.juce::ListenerList.213", %"class.juce::ScopedPointer.238", ptr, %"class.juce::ComboBox", %"class.juce::TextEditor", %"class.juce::Label", %"class.juce::ScopedPointer.282", %"class.juce::TimeSliceThread", i8, [7 x i8] }>
%"class.juce::Component.base" = type <{ %"class.juce::MouseListener", %"class.juce::String", %"class.juce::String", ptr, %"class.juce::Rectangle", %"class.juce::ScopedPointer", %"class.juce::ScopedPointer.0", %"class.juce::Array", ptr, %"class.juce::MouseCursor", ptr, %"class.juce::ScopedPointer.1", %"class.juce::ScopedPointer.2", %"class.juce::ScopedPointer.3", %"class.juce::ListenerList", %"class.juce::NamedValueSet", %"class.juce::WeakReference<juce::Component>::Master", %union.anon, i8 }>
%"class.juce::MouseListener" = type { ptr }
%"class.juce::Rectangle" = type { %"class.juce::Point", i32, i32 }
%"class.juce::Point" = type { i32, i32 }
%"class.juce::ScopedPointer" = type { ptr }
%"class.juce::ScopedPointer.0" = type { ptr }
%"class.juce::Array" = type { %"class.juce::ArrayAllocationBase", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase" = type <{ %"class.juce::HeapBlock", i32, [4 x i8] }>
%"class.juce::HeapBlock" = type { ptr }
%"class.juce::MouseCursor" = type { ptr }
%"class.juce::ScopedPointer.1" = type { ptr }
%"class.juce::ScopedPointer.2" = type { ptr }
%"class.juce::ScopedPointer.3" = type { ptr }
%"class.juce::ListenerList" = type { %"class.juce::Array.4" }
%"class.juce::Array.4" = type { %"class.juce::ArrayAllocationBase.5", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.5" = type <{ %"class.juce::HeapBlock.6", i32, [4 x i8] }>
%"class.juce::HeapBlock.6" = type { ptr }
%"class.juce::NamedValueSet" = type { %"class.juce::Array.9" }
%"class.juce::Array.9" = type { %"class.juce::ArrayAllocationBase.10", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.10" = type <{ %"class.juce::HeapBlock.11", i32, [4 x i8] }>
%"class.juce::HeapBlock.11" = type { ptr }
%"class.juce::WeakReference<juce::Component>::Master" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ReferenceCountedObjectPtr" = type { ptr }
%union.anon = type { i32 }
%"class.juce::FileBrowserListener" = type { ptr }
%"class.juce::TextEditor::Listener" = type { ptr }
%"class.juce::Button::Listener" = type { ptr }
%"class.juce::ComboBox::Listener" = type { ptr }
%"class.juce::FileFilter" = type { ptr, %"class.juce::String" }
%"class.juce::Timer" = type { ptr, i32, i32, ptr, ptr }
%"class.juce::ScopedPointer.232" = type { ptr }
%"class.juce::Array.233" = type { %"class.juce::ArrayAllocationBase.234", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.234" = type <{ %"class.juce::HeapBlock.235", i32, [4 x i8] }>
%"class.juce::HeapBlock.235" = type { ptr }
%"class.juce::ListenerList.213" = type { %"class.juce::Array.214" }
%"class.juce::Array.214" = type { %"class.juce::ArrayAllocationBase.215", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.215" = type <{ %"class.juce::HeapBlock.216", i32, [4 x i8] }>
%"class.juce::HeapBlock.216" = type { ptr }
%"class.juce::ScopedPointer.238" = type { ptr }
%"class.juce::ComboBox" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::Label::Listener", %"class.juce::Value::Listener", %"class.juce::AsyncUpdater", %"class.juce::PopupMenu", %"class.juce::Value", i32, i8, i8, i8, i8, float, [4 x i8], %"class.juce::ListenerList.244", %"class.juce::ScopedPointer.250", %"class.juce::String", %"class.juce::String", i32, [4 x i8] }>
%"class.juce::SettableTooltipClient" = type { %"class.juce::TooltipClient", %"class.juce::String" }
%"class.juce::TooltipClient" = type { ptr }
%"class.juce::Label::Listener" = type { ptr }
%"class.juce::Value::Listener" = type { ptr }
%"class.juce::AsyncUpdater" = type { ptr, %"class.juce::ReferenceCountedObjectPtr.15" }
%"class.juce::ReferenceCountedObjectPtr.15" = type { ptr }
%"class.juce::PopupMenu" = type { %"class.juce::OwnedArray.239", %"class.juce::WeakReference.37" }
%"class.juce::OwnedArray.239" = type { %"class.juce::ArrayAllocationBase.240", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.240" = type <{ %"class.juce::HeapBlock.241", i32, [4 x i8] }>
%"class.juce::HeapBlock.241" = type { ptr }
%"class.juce::WeakReference.37" = type { %"class.juce::ReferenceCountedObjectPtr.38" }
%"class.juce::ReferenceCountedObjectPtr.38" = type { ptr }
%"class.juce::Value" = type { %"class.juce::ReferenceCountedObjectPtr.116", %"class.juce::ListenerList.117" }
%"class.juce::ReferenceCountedObjectPtr.116" = type { ptr }
%"class.juce::ListenerList.117" = type { %"class.juce::Array.118" }
%"class.juce::Array.118" = type { %"class.juce::ArrayAllocationBase.119", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.119" = type <{ %"class.juce::HeapBlock.120", i32, [4 x i8] }>
%"class.juce::HeapBlock.120" = type { ptr }
%"class.juce::ListenerList.244" = type { %"class.juce::Array.245" }
%"class.juce::Array.245" = type { %"class.juce::ArrayAllocationBase.246", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.246" = type <{ %"class.juce::HeapBlock.247", i32, [4 x i8] }>
%"class.juce::HeapBlock.247" = type { ptr }
%"class.juce::ScopedPointer.250" = type { ptr }
%"class.juce::TextEditor" = type { %"class.juce::Component.base", %"class.juce::TextInputTarget", %"class.juce::SettableTooltipClient", %"class.juce::ScopedPointer.251", ptr, %"class.juce::BorderSize", i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, %"class.juce::UndoManager", %"class.juce::ScopedPointer.257", %"class.juce::Range", i32, i32, i32, %"class.juce::Font", i32, i32, %"class.juce::OwnedArray.258", %"class.juce::String", %"class.juce::Colour", i32, %"class.juce::OptionalScopedPointer", %"class.juce::Value", i32, i32, %"class.juce::ListenerList.264", %"class.juce::Array.270" }
%"class.juce::TextInputTarget" = type { ptr }
%"class.juce::ScopedPointer.251" = type { ptr }
%"class.juce::BorderSize" = type { i32, i32, i32, i32 }
%"class.juce::UndoManager" = type <{ %"class.juce::ChangeBroadcaster", %"class.juce::OwnedArray.252", %"class.juce::OwnedArray.252", %"class.juce::String", i32, i32, i32, i32, i8, i8, [6 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::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::OwnedArray.252" = type { %"class.juce::ArrayAllocationBase.253", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.253" = type <{ %"class.juce::HeapBlock.254", i32, [4 x i8] }>
%"class.juce::HeapBlock.254" = type { ptr }
%"class.juce::ScopedPointer.257" = type { ptr }
%"class.juce::Range" = type { i32, i32 }
%"class.juce::Font" = type { %"class.juce::ReferenceCountedObjectPtr.158" }
%"class.juce::ReferenceCountedObjectPtr.158" = type { ptr }
%"class.juce::OwnedArray.258" = type { %"class.juce::ArrayAllocationBase.259", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.259" = type <{ %"class.juce::HeapBlock.260", i32, [4 x i8] }>
%"class.juce::HeapBlock.260" = type { ptr }
%"class.juce::Colour" = type { %"class.juce::PixelARGB" }
%"class.juce::PixelARGB" = type { %union.anon.77 }
%union.anon.77 = type { i32 }
%"class.juce::OptionalScopedPointer" = type <{ %"class.juce::ScopedPointer.263", i8, [7 x i8] }>
%"class.juce::ScopedPointer.263" = type { ptr }
%"class.juce::ListenerList.264" = type { %"class.juce::Array.265" }
%"class.juce::Array.265" = type { %"class.juce::ArrayAllocationBase.266", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.266" = type <{ %"class.juce::HeapBlock.267", i32, [4 x i8] }>
%"class.juce::HeapBlock.267" = type { ptr }
%"class.juce::Array.270" = type { %"class.juce::ArrayAllocationBase.271", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.271" = type <{ %"class.juce::HeapBlock.272", i32, [4 x i8] }>
%"class.juce::HeapBlock.272" = type { ptr }
%"class.juce::Label" = type <{ %"class.juce::Component.base", [3 x i8], %"class.juce::SettableTooltipClient", %"class.juce::TextEditor::Listener", %"class.juce::ComponentListener", %"class.juce::Value::Listener", %"class.juce::Value", %"class.juce::String", %"class.juce::Font", %"class.juce::Justification", [4 x i8], %"class.juce::ScopedPointer.275", %"class.juce::ListenerList.276", %"class.juce::WeakReference", %"class.juce::BorderSize", float, i32, i8, i8, i8, i8, [4 x i8] }>
%"class.juce::ComponentListener" = type { ptr }
%"class.juce::Justification" = type { i32 }
%"class.juce::ScopedPointer.275" = type { ptr }
%"class.juce::ListenerList.276" = type { %"class.juce::Array.277" }
%"class.juce::Array.277" = type { %"class.juce::ArrayAllocationBase.278", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.278" = type <{ %"class.juce::HeapBlock.279", i32, [4 x i8] }>
%"class.juce::HeapBlock.279" = type { ptr }
%"class.juce::WeakReference" = type { %"class.juce::ReferenceCountedObjectPtr" }
%"class.juce::ScopedPointer.282" = type { ptr }
%"class.juce::TimeSliceThread" = type { %"class.juce::Thread.base", %"class.juce::CriticalSection", %"class.juce::CriticalSection", %"class.juce::Array.225", ptr }
%"class.juce::Thread.base" = type <{ ptr, %"class.juce::String", ptr, ptr, %"class.juce::CriticalSection", %"class.juce::WaitableEvent", %"class.juce::WaitableEvent", i32, [4 x i8], i64, i32, i8 }>
%"class.juce::WaitableEvent" = type <{ %union.pthread_cond_t, %union.pthread_mutex_t, i8, i8, [6 x i8] }>
%union.pthread_cond_t = type { %struct.__pthread_cond_s }
%struct.__pthread_cond_s = type { %union.__atomic_wide_counter, %union.__atomic_wide_counter, [2 x i32], [2 x i32], i32, i32, [2 x i32] }
%union.__atomic_wide_counter = type { i64 }
%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::CriticalSection" = type { %union.pthread_mutex_t }
%"class.juce::Array.225" = type { %"class.juce::ArrayAllocationBase.226", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.226" = type <{ %"class.juce::HeapBlock.227", i32, [4 x i8] }>
%"class.juce::HeapBlock.227" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #0

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0

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

declare noundef zeroext i1 @_ZNK4juce4File11isDirectoryEv(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce4FileaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #0

declare void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind writable sret(%"class.juce::File") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137), ptr noundef nonnull align 8 dereferenceable(8)) #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20FileBrowserComponent15comboBoxChangedEPNS_8ComboBoxE(ptr noundef nonnull align 8 dereferenceable(2137) %0, ptr noundef %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.juce::String", align 8
  %6 = alloca %"class.juce::String", align 8
  %7 = alloca %"class.juce::String", align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"class.juce::StringArray", align 8
  %12 = alloca %"class.juce::StringArray", align 8
  %13 = alloca %"class.juce::File", align 8
  %14 = alloca %"class.juce::File", align 8
  %15 = alloca %"class.juce::File", align 8
  %16 = alloca %"class.juce::File", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %17 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %18 = getelementptr inbounds %"class.juce::FileBrowserComponent", ptr %17, i32 0, i32 17
  call void @_ZNK4juce8ComboBox7getTextEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %7, ptr noundef nonnull align 8 dereferenceable(380) %18)
  invoke void @_ZNK4juce6String4trimEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %6, ptr noundef nonnull align 8 dereferenceable(8) %7)
          to label %19 unwind label %38

19:                                               ; preds = %2
  invoke void @_ZNK4juce6String8unquotedEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8 %5, ptr noundef nonnull align 8 dereferenceable(8) %6)
          to label %20 unwind label %42

20:                                               ; preds = %19
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  %21 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %21, label %22, label %101

22:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  %23 = getelementptr inbounds %"class.juce::FileBrowserComponent", ptr %17, i32 0, i32 17
  %24 = call noundef i32 @_ZNK4juce8ComboBox13getSelectedIdEv(ptr noundef nonnull align 8 dereferenceable(380) %23) #6
  %25 = sub nsw i32 %24, 1
  store i32 %25, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %12) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  %26 = load ptr, ptr %17, align 8, !tbaa !11
  %27 = getelementptr inbounds ptr, ptr %26, i64 58
  %28 = load ptr, ptr %27, align 8
  invoke void %28(ptr noundef nonnull align 8 dereferenceable(2137) %17, ptr noundef nonnull align 8 dereferenceable(24) %11, ptr noundef nonnull align 8 dereferenceable(24) %12)
          to label %29 unwind label %47

29:                                               ; preds = %22
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef %30) #6
  %32 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %31) #6
  br i1 %32, label %33, label %60

33:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %34 = load i32, ptr %10, align 4, !tbaa !9
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef %34) #6
  invoke void @_ZN4juce4FileC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %35)
          to label %36 unwind label %51

36:                                               ; preds = %33
  invoke void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137) %17, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %37 unwind label %55

37:                                               ; preds = %36
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %99

38:                                               ; preds = %2
  %39 = landingpad { ptr, i32 }
          cleanup
  %40 = extractvalue { ptr, i32 } %39, 0
  store ptr %40, ptr %8, align 8
  %41 = extractvalue { ptr, i32 } %39, 1
  store i32 %41, ptr %9, align 4
  br label %46

42:                                               ; preds = %19
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %8, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %9, align 4
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %6) #6
  br label %46

46:                                               ; preds = %42, %38
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %102

47:                                               ; preds = %22
  %48 = landingpad { ptr, i32 }
          cleanup
  %49 = extractvalue { ptr, i32 } %48, 0
  store ptr %49, ptr %8, align 8
  %50 = extractvalue { ptr, i32 } %48, 1
  store i32 %50, ptr %9, align 4
  br label %100

51:                                               ; preds = %33
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %8, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %9, align 4
  br label %59

55:                                               ; preds = %36
  %56 = landingpad { ptr, i32 }
          cleanup
  %57 = extractvalue { ptr, i32 } %56, 0
  store ptr %57, ptr %8, align 8
  %58 = extractvalue { ptr, i32 } %56, 1
  store i32 %58, ptr %9, align 4
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  br label %59

59:                                               ; preds = %55, %51
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  br label %100

60:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #6
  invoke void @_ZN4juce4FileC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %61 unwind label %67

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %90, %61
  %63 = invoke noundef zeroext i1 @_ZNK4juce4File11isDirectoryEv(ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %64 unwind label %71

64:                                               ; preds = %62
  br i1 %63, label %65, label %75

65:                                               ; preds = %64
  invoke void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137) %17, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %66 unwind label %71

66:                                               ; preds = %65
  br label %96

67:                                               ; preds = %60
  %68 = landingpad { ptr, i32 }
          cleanup
  %69 = extractvalue { ptr, i32 } %68, 0
  store ptr %69, ptr %8, align 8
  %70 = extractvalue { ptr, i32 } %68, 1
  store i32 %70, ptr %9, align 4
  br label %98

71:                                               ; preds = %65, %62
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %8, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %9, align 4
  br label %97

75:                                               ; preds = %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  invoke void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind writable sret(%"class.juce::File") align 8 %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %76 unwind label %80

76:                                               ; preds = %75
  %77 = invoke noundef zeroext i1 @_ZNK4juce4FileeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %15, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %78 unwind label %84

78:                                               ; preds = %76
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br i1 %77, label %79, label %89

79:                                               ; preds = %78
  br label %96

80:                                               ; preds = %75
  %81 = landingpad { ptr, i32 }
          cleanup
  %82 = extractvalue { ptr, i32 } %81, 0
  store ptr %82, ptr %8, align 8
  %83 = extractvalue { ptr, i32 } %81, 1
  store i32 %83, ptr %9, align 4
  br label %88

84:                                               ; preds = %76
  %85 = landingpad { ptr, i32 }
          cleanup
  %86 = extractvalue { ptr, i32 } %85, 0
  store ptr %86, ptr %8, align 8
  %87 = extractvalue { ptr, i32 } %85, 1
  store i32 %87, ptr %9, align 4
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %15) #6
  br label %88

88:                                               ; preds = %84, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  br label %97

89:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #6
  invoke void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind writable sret(%"class.juce::File") align 8 %16, ptr noundef nonnull align 8 dereferenceable(8) %14)
          to label %90 unwind label %92

90:                                               ; preds = %89
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce4FileaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %62, !llvm.loop !13

92:                                               ; preds = %89
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %8, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #6
  br label %97

96:                                               ; preds = %79, %66
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %99

97:                                               ; preds = %92, %88, %71
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br label %98

98:                                               ; preds = %97, %67
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #6
  br label %100

99:                                               ; preds = %96, %37
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %101

100:                                              ; preds = %98, %59, %47
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %12) #6
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br label %102

101:                                              ; preds = %99, %20
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  ret void

102:                                              ; preds = %100, %46
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  br label %103

103:                                              ; preds = %102
  %104 = load ptr, ptr %8, align 8
  %105 = load i32, ptr %9, align 4
  %106 = insertvalue { ptr, i32 } poison, ptr %104, 0
  %107 = insertvalue { ptr, i32 } %106, i32 %105, 1
  resume { ptr, i32 } %107
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8ComboBox7getTextEv(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(380)) #5 align 2

declare void @_ZNK4juce6String4trimEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

declare void @_ZNK4juce6String8unquotedEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

!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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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::File" = type { %"class.juce::String" }
%"class.juce::String" = type { %"class.juce::CharPointer_UTF8" }
%"class.juce::CharPointer_UTF8" = type { ptr }
%"class.juce::StringArray" = type { %"class.juce::Array.150" }
%"class.juce::Array.150" = type { %"class.juce::ArrayAllocationBase.151", i32, [4 x i8] }
%"class.juce::ArrayAllocationBase.151" = type <{ %"class.juce::HeapBlock.152", i32, [4 x i8] }>
%"class.juce::HeapBlock.152" = type { ptr }

declare i32 @__gxx_personality_v0(...)

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

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

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

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

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind
declare void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0

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

declare noundef zeroext i1 @_ZNK4juce4File11isDirectoryEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare noundef zeroext i1 @_ZNK4juce4FileeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce4FileaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0

declare void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind writable sret(%"class.juce::File") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4juce20FileBrowserComponent15comboBoxChangedEPNS_8ComboBoxE(ptr noundef nonnull align 8 dereferenceable(2137) %0, ptr nocapture noundef readnone %1) unnamed_addr #5 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.juce::String", align 8
  %4 = alloca %"class.juce::String", align 8
  %5 = alloca %"class.juce::String", align 8
  %6 = alloca %"class.juce::StringArray", align 8
  %7 = alloca %"class.juce::StringArray", align 8
  %8 = alloca %"class.juce::File", align 8
  %9 = alloca %"class.juce::File", align 8
  %10 = alloca %"class.juce::File", align 8
  %11 = alloca %"class.juce::File", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %12 = getelementptr inbounds i8, ptr %0, i64 376
  call void @_ZNK4juce8ComboBox7getTextEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %5, ptr noundef nonnull align 8 dereferenceable(380) %12)
  invoke void @_ZNK4juce6String4trimEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %4, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %13 unwind label %29

13:                                               ; preds = %2
  invoke void @_ZNK4juce6String8unquotedEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::String") align 8 %3, ptr noundef nonnull align 8 dereferenceable(8) %4)
          to label %14 unwind label %31

14:                                               ; preds = %13
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  %15 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br i1 %15, label %16, label %65

16:                                               ; preds = %14
  %17 = call noundef i32 @_ZNK4juce8ComboBox13getSelectedIdEv(ptr noundef nonnull align 8 dereferenceable(380) %12) #6
  %18 = add nsw i32 %17, -1
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN4juce11StringArrayC1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %19 = load ptr, ptr %0, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %19, i64 464
  %21 = load ptr, ptr %20, align 8
  invoke void %21(ptr noundef nonnull align 8 dereferenceable(2137) %0, ptr noundef nonnull align 8 dereferenceable(24) %6, ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %22 unwind label %34

22:                                               ; preds = %16
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %18) #6
  %24 = call noundef zeroext i1 @_ZNK4juce6String10isNotEmptyEv(ptr noundef nonnull align 8 dereferenceable(8) %23) #6
  br i1 %24, label %25, label %41

25:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #6
  %26 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK4juce11StringArrayixEi(ptr noundef nonnull align 8 dereferenceable(24) %7, i32 noundef %18) #6
  invoke void @_ZN4juce4FileC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %27 unwind label %36

27:                                               ; preds = %25
  invoke void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137) %0, ptr noundef nonnull align 8 dereferenceable(8) %8)
          to label %28 unwind label %38

28:                                               ; preds = %27
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %63

29:                                               ; preds = %2
  %30 = landingpad { ptr, i32 }
          cleanup
  br label %33

31:                                               ; preds = %13
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  br label %33

33:                                               ; preds = %31, %29
  %.pn = phi { ptr, i32 } [ %32, %31 ], [ %30, %29 ]
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  br label %66

34:                                               ; preds = %16
  %35 = landingpad { ptr, i32 }
          cleanup
  br label %64

36:                                               ; preds = %25
  %37 = landingpad { ptr, i32 }
          cleanup
  br label %40

38:                                               ; preds = %27
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %40

40:                                               ; preds = %38, %36
  %.pn17 = phi { ptr, i32 } [ %39, %38 ], [ %37, %36 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #6
  br label %64

41:                                               ; preds = %22
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  invoke void @_ZN4juce4FileC1ERKNS_6StringE(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %.preheader unwind label %45

.preheader:                                       ; preds = %41, %57
  %42 = invoke noundef zeroext i1 @_ZNK4juce4File11isDirectoryEv(ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %43 unwind label %.loopexit

43:                                               ; preds = %.preheader
  br i1 %42, label %44, label %47

44:                                               ; preds = %43
  invoke void @_ZN4juce20FileBrowserComponent7setRootERKNS_4FileE(ptr noundef nonnull align 8 dereferenceable(2137) %0, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %.loopexit21 unwind label %.loopexit.split-lp

45:                                               ; preds = %41
  %46 = landingpad { ptr, i32 }
          cleanup
  br label %62

.loopexit:                                        ; preds = %.preheader
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %61

.loopexit.split-lp:                               ; preds = %44
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %61

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  invoke void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::File") align 8 %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %48 unwind label %51

48:                                               ; preds = %47
  %49 = invoke noundef zeroext i1 @_ZNK4juce4FileeqERKS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %50 unwind label %53

50:                                               ; preds = %48
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br i1 %49, label %.loopexit21, label %56

51:                                               ; preds = %47
  %52 = landingpad { ptr, i32 }
          cleanup
  br label %55

53:                                               ; preds = %48
  %54 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  br label %55

55:                                               ; preds = %53, %51
  %.pn12 = phi { ptr, i32 } [ %54, %53 ], [ %52, %51 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  br label %61

56:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  invoke void @_ZNK4juce4File18getParentDirectoryEv(ptr dead_on_unwind nonnull writable sret(%"class.juce::File") align 8 %11, ptr noundef nonnull align 8 dereferenceable(8) %9)
          to label %57 unwind label %59

57:                                               ; preds = %56
  %58 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN4juce4FileaSEOS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %.preheader, !llvm.loop !8

59:                                               ; preds = %56
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br label %61

.loopexit21:                                      ; preds = %50, %44
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %63

61:                                               ; preds = %.loopexit, %.loopexit.split-lp, %59, %55
  %.pn14 = phi { ptr, i32 } [ %60, %59 ], [ %.pn12, %55 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZN4juce4FileD2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br label %62

62:                                               ; preds = %61, %45
  %.pn14.pn = phi { ptr, i32 } [ %.pn14, %61 ], [ %46, %45 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  br label %64

63:                                               ; preds = %.loopexit21, %28
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  br label %65

64:                                               ; preds = %62, %40, %34
  %.pn17.pn = phi { ptr, i32 } [ %.pn17, %40 ], [ %.pn14.pn, %62 ], [ %35, %34 ]
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN4juce11StringArrayD1Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #6
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  br label %66

65:                                               ; preds = %63, %14
  call void @_ZN4juce6StringD1Ev(ptr noundef nonnull align 8 dereferenceable(8) %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  ret void

66:                                               ; preds = %64, %33
  %.pn17.pn.pn = phi { ptr, i32 } [ %.pn17.pn, %64 ], [ %.pn, %33 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #6
  resume { ptr, i32 } %.pn17.pn.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4juce8ComboBox7getTextEv(ptr dead_on_unwind noalias writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(380)) local_unnamed_addr #5 align 2

declare void @_ZNK4juce6String4trimEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

declare void @_ZNK4juce6String8unquotedEv(ptr dead_on_unwind writable sret(%"class.juce::String") align 8, ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

!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 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass