; LLVM IR from hasseily/SuperDuperDisplay :: extras (ImGuiFileDialog)

; 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.__gnu_cxx::__normal_iterator.141" = type { ptr }
%class.anon = type { i8 }
%class.anon.142 = type { i8 }
%class.anon.144 = type { i8 }
%class.anon.146 = type { i8 }
%class.anon.148 = type { i8 }
%class.anon.150 = type { i8 }
%class.anon.152 = type { i8 }
%class.anon.154 = type { i8 }
%"class.IGFD::FileManager" = type { %"class.std::__cxx11::basic_string", %"class.std::vector", %"class.std::vector.46", %"class.std::vector.46", %"class.std::vector.46", %"class.std::vector.46", %"class.__gnu_cxx::__normal_iterator.51", %"class.std::__cxx11::basic_string", %"class.std::set", i8, %"class.std::__cxx11::basic_string", %"class.std::unique_ptr", i8, i8, i8, [1024 x i8], [1024 x i8], [1024 x i8], [1024 x i8], %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", [4 x i8], i32, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i64, i8, %"class.std::__cxx11::basic_string" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.46" = type { %"struct.std::_Vector_base.47" }
%"struct.std::_Vector_base.47" = type { %"struct.std::_Vector_base<std::shared_ptr<IGFD::FileInfos>, std::allocator<std::shared_ptr<IGFD::FileInfos>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::shared_ptr<IGFD::FileInfos>, std::allocator<std::shared_ptr<IGFD::FileInfos>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::shared_ptr<IGFD::FileInfos>, std::allocator<std::shared_ptr<IGFD::FileInfos>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::shared_ptr<IGFD::FileInfos>, std::allocator<std::shared_ptr<IGFD::FileInfos>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.51" = type { ptr }
%"class.std::set" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char>, std::_Identity<std::__cxx11::basic_string<char>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.56" }
%"struct.std::_Head_base.56" = type { ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }

@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4IGFD11FileManager12m_SortFieldsERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648) %0, ptr noundef nonnull align 8 dereferenceable(6528) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) #0 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %11 = alloca %class.anon, align 1
  %12 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %14 = alloca %class.anon.142, align 1
  %15 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %17 = alloca %class.anon.144, align 1
  %18 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %20 = alloca %class.anon.146, align 1
  %21 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %22 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %23 = alloca %class.anon.148, align 1
  %24 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %25 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %26 = alloca %class.anon.150, align 1
  %27 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %28 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %29 = alloca %class.anon.152, align 1
  %30 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %31 = alloca %"class.__gnu_cxx::__normal_iterator.141", align 8
  %32 = alloca %class.anon.154, align 1
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %33 = load ptr, ptr %5, align 8
  %34 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 24
  %35 = load i32, ptr %34, align 4, !tbaa !9
  %36 = icmp ne i32 %35, 0
  br i1 %36, label %37, label %46

37:                                               ; preds = %4
  %38 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 19
  %39 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef @.str.24)
  %40 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 20
  %41 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef @.str.25)
  %42 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 21
  %43 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef @.str.26)
  %44 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 22
  %45 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef @.str.27)
  br label %46

46:                                               ; preds = %37, %4
  %47 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 24
  %48 = load i32, ptr %47, align 4, !tbaa !9
  %49 = icmp eq i32 %48, 1
  br i1 %49, label %50, label %78

50:                                               ; preds = %46
  %51 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 23
  %52 = getelementptr inbounds [4 x i8], ptr %51, i64 0, i64 0
  %53 = load i8, ptr %52, align 8, !tbaa !39, !range !40, !noundef !41
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %66

55:                                               ; preds = %50
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %56) #3
  %58 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %9, i32 0, i32 0
  store ptr %57, ptr %58, align 8
  %59 = load ptr, ptr %7, align 8, !tbaa !5
  %60 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %59) #3
  %61 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %10, i32 0, i32 0
  store ptr %60, ptr %61, align 8
  %62 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %9, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8
  %64 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %10, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_0EvT_SH_T0_"(ptr %63, ptr %65)
  br label %77

66:                                               ; preds = %50
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %67) #3
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %12, i32 0, i32 0
  store ptr %68, ptr %69, align 8
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %70) #3
  %72 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %13, i32 0, i32 0
  store ptr %71, ptr %72, align 8
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %12, i32 0, i32 0
  %74 = load ptr, ptr %73, align 8
  %75 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %13, i32 0, i32 0
  %76 = load ptr, ptr %75, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_1EvT_SH_T0_"(ptr %74, ptr %76)
  br label %77

77:                                               ; preds = %66, %55
  br label %177

78:                                               ; preds = %46
  %79 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 24
  %80 = load i32, ptr %79, align 4, !tbaa !9
  %81 = icmp eq i32 %80, 2
  br i1 %81, label %82, label %110

82:                                               ; preds = %78
  %83 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 23
  %84 = getelementptr inbounds [4 x i8], ptr %83, i64 0, i64 1
  %85 = load i8, ptr %84, align 1, !tbaa !39, !range !40, !noundef !41
  %86 = trunc i8 %85 to i1
  br i1 %86, label %87, label %98

87:                                               ; preds = %82
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %88) #3
  %90 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %15, i32 0, i32 0
  store ptr %89, ptr %90, align 8
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %91) #3
  %93 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %16, i32 0, i32 0
  store ptr %92, ptr %93, align 8
  %94 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %15, i32 0, i32 0
  %95 = load ptr, ptr %94, align 8
  %96 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %16, i32 0, i32 0
  %97 = load ptr, ptr %96, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_2EvT_SH_T0_"(ptr %95, ptr %97)
  br label %109

98:                                               ; preds = %82
  %99 = load ptr, ptr %7, align 8, !tbaa !5
  %100 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #3
  %101 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %18, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  %102 = load ptr, ptr %7, align 8, !tbaa !5
  %103 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #3
  %104 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %19, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  %105 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %18, i32 0, i32 0
  %106 = load ptr, ptr %105, align 8
  %107 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %19, i32 0, i32 0
  %108 = load ptr, ptr %107, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_3EvT_SH_T0_"(ptr %106, ptr %108)
  br label %109

109:                                              ; preds = %98, %87
  br label %176

110:                                              ; preds = %78
  %111 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 24
  %112 = load i32, ptr %111, align 4, !tbaa !9
  %113 = icmp eq i32 %112, 3
  br i1 %113, label %114, label %142

114:                                              ; preds = %110
  %115 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 23
  %116 = getelementptr inbounds [4 x i8], ptr %115, i64 0, i64 2
  %117 = load i8, ptr %116, align 2, !tbaa !39, !range !40, !noundef !41
  %118 = trunc i8 %117 to i1
  br i1 %118, label %119, label %130

119:                                              ; preds = %114
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %120) #3
  %122 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %21, i32 0, i32 0
  store ptr %121, ptr %122, align 8
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %123) #3
  %125 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %22, i32 0, i32 0
  store ptr %124, ptr %125, align 8
  %126 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %21, i32 0, i32 0
  %127 = load ptr, ptr %126, align 8
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %22, i32 0, i32 0
  %129 = load ptr, ptr %128, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_4EvT_SH_T0_"(ptr %127, ptr %129)
  br label %141

130:                                              ; preds = %114
  %131 = load ptr, ptr %7, align 8, !tbaa !5
  %132 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %131) #3
  %133 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %24, i32 0, i32 0
  store ptr %132, ptr %133, align 8
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %134) #3
  %136 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %25, i32 0, i32 0
  store ptr %135, ptr %136, align 8
  %137 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %24, i32 0, i32 0
  %138 = load ptr, ptr %137, align 8
  %139 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %25, i32 0, i32 0
  %140 = load ptr, ptr %139, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_5EvT_SH_T0_"(ptr %138, ptr %140)
  br label %141

141:                                              ; preds = %130, %119
  br label %175

142:                                              ; preds = %110
  %143 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 24
  %144 = load i32, ptr %143, align 4, !tbaa !9
  %145 = icmp eq i32 %144, 4
  br i1 %145, label %146, label %174

146:                                              ; preds = %142
  %147 = getelementptr inbounds %"class.IGFD::FileManager", ptr %33, i32 0, i32 23
  %148 = getelementptr inbounds [4 x i8], ptr %147, i64 0, i64 3
  %149 = load i8, ptr %148, align 1, !tbaa !39, !range !40, !noundef !41
  %150 = trunc i8 %149 to i1
  br i1 %150, label %151, label %162

151:                                              ; preds = %146
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %152) #3
  %154 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %27, i32 0, i32 0
  store ptr %153, ptr %154, align 8
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %155) #3
  %157 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %28, i32 0, i32 0
  store ptr %156, ptr %157, align 8
  %158 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %27, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8
  %160 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %28, i32 0, i32 0
  %161 = load ptr, ptr %160, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_6EvT_SH_T0_"(ptr %159, ptr %161)
  br label %173

162:                                              ; preds = %146
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %163) #3
  %165 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %30, i32 0, i32 0
  store ptr %164, ptr %165, align 8
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %166) #3
  %168 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %31, i32 0, i32 0
  store ptr %167, ptr %168, align 8
  %169 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %30, i32 0, i32 0
  %170 = load ptr, ptr %169, align 8
  %171 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.141", ptr %31, i32 0, i32 0
  %172 = load ptr, ptr %171, align 8
  call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_7EvT_SH_T0_"(ptr %170, ptr %172)
  br label %173

173:                                              ; preds = %162, %151
  br label %174

174:                                              ; preds = %173, %142
  br label %175

175:                                              ; preds = %174, %141
  br label %176

176:                                              ; preds = %175, %109
  br label %177

177:                                              ; preds = %176, %77
  %178 = load ptr, ptr %6, align 8, !tbaa !5
  %179 = load ptr, ptr %7, align 8, !tbaa !5
  %180 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN4IGFD11FileManager26m_ApplyFilteringOnFileListERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648) %33, ptr noundef nonnull align 8 dereferenceable(6528) %178, ptr noundef nonnull align 8 dereferenceable(24) %179, ptr noundef nonnull align 8 dereferenceable(24) %180)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_0EvT_SH_T0_"(ptr, ptr) #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_1EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_2EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_3EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_4EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_5EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_6EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_7EvT_SH_T0_"(ptr, ptr) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD11FileManager26m_ApplyFilteringOnFileListERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648), ptr noundef nonnull align 8 dereferenceable(6528), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint 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 #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 = { 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, !38, i64 4524}
!10 = !{!"_ZTSN4IGFD11FileManagerE", !11, i64 0, !14, i64 32, !18, i64 56, !18, i64 80, !18, i64 104, !18, i64 128, !22, i64 152, !11, i64 160, !23, i64 192, !31, i64 240, !11, i64 248, !32, i64 280, !31, i64 288, !31, i64 289, !31, i64 290, !7, i64 291, !7, i64 1315, !7, i64 2339, !7, i64 3363, !11, i64 4392, !11, i64 4424, !11, i64 4456, !11, i64 4488, !7, i64 4520, !38, i64 4524, !31, i64 4528, !11, i64 4536, !11, i64 4568, !13, i64 4600, !31, i64 4608, !11, i64 4616}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !13, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!"_ZTSSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!22 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEE", !6, i64 0}
!23 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !26, i64 0, !28, i64 8}
!26 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !27, i64 0}
!27 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!28 = !{!"_ZTSSt15_Rb_tree_header", !29, i64 0, !13, i64 32}
!29 = !{!"_ZTSSt18_Rb_tree_node_base", !30, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!30 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!31 = !{!"bool", !7, i64 0}
!32 = !{!"_ZTSSt10unique_ptrIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_dataIN4IGFD11IFileSystemESt14default_deleteIS1_ELb1ELb1EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_implIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !35, i64 0}
!35 = !{!"_ZTSSt5tupleIJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt11_Tuple_implILm0EJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !37, i64 0}
!37 = !{!"_ZTSSt10_Head_baseILm0EPN4IGFD11IFileSystemELb0EE", !6, i64 0}
!38 = !{!"_ZTSN4IGFD11FileManager16SortingFieldEnumE", !7, i64 0}
!39 = !{!31, !31, i64 0}
!40 = !{i8 0, i8 2}
!41 = !{}


; 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"

@.str.24 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4IGFD11FileManager12m_SortFieldsERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648) %0, ptr noundef nonnull align 8 dereferenceable(6528) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds i8, ptr %0, i64 4524
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %.thread, label %7

7:                                                ; preds = %4
  %8 = getelementptr inbounds i8, ptr %0, i64 4392
  %9 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull @.str.24)
  %10 = getelementptr inbounds i8, ptr %0, i64 4424
  %11 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull @.str.25)
  %12 = getelementptr inbounds i8, ptr %0, i64 4456
  %13 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull @.str.26)
  %14 = getelementptr inbounds i8, ptr %0, i64 4488
  %15 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.27)
  %.pr = load i32, ptr %5, align 4, !tbaa !5
  switch i32 %.pr, label %.thread [
    i32 1, label %16
    i32 2, label %24
    i32 3, label %32
    i32 4, label %40
  ]

16:                                               ; preds = %7
  %17 = getelementptr inbounds i8, ptr %0, i64 4520
  %18 = load i8, ptr %17, align 8, !tbaa !38, !range !39, !noundef !40
  %19 = trunc nuw i8 %18 to i1
  %20 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %21 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  br i1 %19, label %22, label %23

22:                                               ; preds = %16
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_0EvT_SH_T0_"(ptr %20, ptr %21)
  br label %.thread

23:                                               ; preds = %16
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_1EvT_SH_T0_"(ptr %20, ptr %21)
  br label %.thread

24:                                               ; preds = %7
  %25 = getelementptr inbounds i8, ptr %0, i64 4521
  %26 = load i8, ptr %25, align 1, !tbaa !38, !range !39, !noundef !40
  %27 = trunc nuw i8 %26 to i1
  %28 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %29 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  br i1 %27, label %30, label %31

30:                                               ; preds = %24
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_2EvT_SH_T0_"(ptr %28, ptr %29)
  br label %.thread

31:                                               ; preds = %24
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_3EvT_SH_T0_"(ptr %28, ptr %29)
  br label %.thread

32:                                               ; preds = %7
  %33 = getelementptr inbounds i8, ptr %0, i64 4522
  %34 = load i8, ptr %33, align 2, !tbaa !38, !range !39, !noundef !40
  %35 = trunc nuw i8 %34 to i1
  %36 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %37 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  br i1 %35, label %38, label %39

38:                                               ; preds = %32
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_4EvT_SH_T0_"(ptr %36, ptr %37)
  br label %.thread

39:                                               ; preds = %32
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_5EvT_SH_T0_"(ptr %36, ptr %37)
  br label %.thread

40:                                               ; preds = %7
  %41 = getelementptr inbounds i8, ptr %0, i64 4523
  %42 = load i8, ptr %41, align 1, !tbaa !38, !range !39, !noundef !40
  %43 = trunc nuw i8 %42 to i1
  %44 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  %45 = tail call ptr @_ZNSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %2) #3
  br i1 %43, label %46, label %47

46:                                               ; preds = %40
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_6EvT_SH_T0_"(ptr %44, ptr %45)
  br label %.thread

47:                                               ; preds = %40
  tail call void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_7EvT_SH_T0_"(ptr %44, ptr %45)
  br label %.thread

.thread:                                          ; preds = %4, %7, %31, %30, %47, %46, %38, %39, %22, %23
  tail call void @_ZN4IGFD11FileManager26m_ApplyFilteringOnFileListERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648) %0, ptr noundef nonnull align 8 dereferenceable(6528) %1, ptr noundef nonnull align 8 dereferenceable(24) %2, ptr noundef nonnull align 8 dereferenceable(24) %3)
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_0EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_1EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_2EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_3EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_4EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_5EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_6EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @"_ZSt4sortIN9__gnu_cxx17__normal_iteratorIPSt10shared_ptrIN4IGFD9FileInfosEESt6vectorIS5_SaIS5_EEEEZNS3_11FileManager12m_SortFieldsERKNS3_18FileDialogInternalERS9_SF_E3$_7EvT_SH_T0_"(ptr, ptr) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD11FileManager26m_ApplyFilteringOnFileListERKNS_18FileDialogInternalERSt6vectorISt10shared_ptrINS_9FileInfosEESaIS7_EESA_(ptr noundef nonnull align 8 dereferenceable(4648), ptr noundef nonnull align 8 dereferenceable(6528), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint 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 #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 = { 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, !37, i64 4524}
!6 = !{!"_ZTSN4IGFD11FileManagerE", !7, i64 0, !13, i64 32, !17, i64 56, !17, i64 80, !17, i64 104, !17, i64 128, !21, i64 152, !7, i64 160, !22, i64 192, !30, i64 240, !7, i64 248, !31, i64 280, !30, i64 288, !30, i64 289, !30, i64 290, !10, i64 291, !10, i64 1315, !10, i64 2339, !10, i64 3363, !7, i64 4392, !7, i64 4424, !7, i64 4456, !7, i64 4488, !10, i64 4520, !37, i64 4524, !30, i64 4528, !7, i64 4536, !7, i64 4568, !12, i64 4600, !30, i64 4608, !7, i64 4616}
!7 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !8, i64 0, !12, i64 8, !10, i64 16}
!8 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !9, i64 0}
!9 = !{!"any pointer", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C++ TBAA"}
!12 = !{!"long", !10, i64 0}
!13 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!17 = !{!"_ZTSSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE17_Vector_impl_dataE", !9, i64 0, !9, i64 8, !9, i64 16}
!21 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEE", !9, i64 0}
!22 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !23, i64 0}
!23 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !24, i64 0}
!24 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !25, i64 0, !27, i64 8}
!25 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !26, i64 0}
!26 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!27 = !{!"_ZTSSt15_Rb_tree_header", !28, i64 0, !12, i64 32}
!28 = !{!"_ZTSSt18_Rb_tree_node_base", !29, i64 0, !9, i64 8, !9, i64 16, !9, i64 24}
!29 = !{!"_ZTSSt14_Rb_tree_color", !10, i64 0}
!30 = !{!"bool", !10, i64 0}
!31 = !{!"_ZTSSt10unique_ptrIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_dataIN4IGFD11IFileSystemESt14default_deleteIS1_ELb1ELb1EE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_implIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt5tupleIJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !35, i64 0}
!35 = !{!"_ZTSSt11_Tuple_implILm0EJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_Head_baseILm0EPN4IGFD11IFileSystemELb0EE", !9, i64 0}
!37 = !{!"_ZTSN4IGFD11FileManager16SortingFieldEnumE", !10, i64 0}
!38 = !{!30, !30, i64 0}
!39 = !{i8 0, i8 2}
!40 = !{}


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