; 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.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] }
%struct.ImVec2 = type { float, float }
%"class.std::allocator" = type { i8 }
%"class.IGFD::FileDialog" = type <{ ptr, %"class.IGFD::FileDialogInternal", %struct.ImGuiListClipper, %struct.ImGuiListClipper, float, [4 x i8] }>
%"class.IGFD::FileDialogInternal" = type { %"class.IGFD::FileManager", %"class.IGFD::FilterManager", %"class.IGFD::SearchManager", %"class.std::__cxx11::basic_string", i8, %struct.ImVec2, i32, float, i8, i8, i8, i8, i8, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i8, i8, i32, %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"struct.IGFD::FileDialogConfig" }
%"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.IGFD::FilterManager" = type { %"class.std::vector.57", %"class.std::unordered_map", %"class.std::vector.67", %"class.IGFD::FilterInfos", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string" }
%"class.std::vector.57" = type { %"struct.std::_Vector_base.58" }
%"struct.std::_Vector_base.58" = type { %"struct.std::_Vector_base<IGFD::FilterInfos, std::allocator<IGFD::FilterInfos>>::_Vector_impl" }
%"struct.std::_Vector_base<IGFD::FilterInfos, std::allocator<IGFD::FilterInfos>>::_Vector_impl" = type { %"struct.std::_Vector_base<IGFD::FilterInfos, std::allocator<IGFD::FilterInfos>>::_Vector_impl_data" }
%"struct.std::_Vector_base<IGFD::FilterInfos, std::allocator<IGFD::FilterInfos>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unordered_map" = type { %"class.std::_Hashtable" }
%"class.std::_Hashtable" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"struct.std::__detail::_Hash_node_base" = type { ptr }
%"struct.std::__detail::_Prime_rehash_policy" = type { float, i64 }
%"class.std::vector.67" = type { %"struct.std::_Vector_base.68" }
%"struct.std::_Vector_base.68" = type { %"struct.std::_Vector_base<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>, std::allocator<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>, std::allocator<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>, std::allocator<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>, std::allocator<std::function<bool (const IGFD::FileInfos &, IGFD::FileStyle &)>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.IGFD::FilterInfos" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.IGFD::SearchableVector", %"class.IGFD::SearchableVector", %"class.std::vector.92", i64 }
%"class.IGFD::SearchableVector" = type { %"class.std::unordered_map.72", %"class.std::vector" }
%"class.std::unordered_map.72" = type { %"class.std::_Hashtable.73" }
%"class.std::_Hashtable.73" = type { ptr, i64, %"struct.std::__detail::_Hash_node_base", i64, %"struct.std::__detail::_Prime_rehash_policy", ptr }
%"class.std::vector.92" = type { %"struct.std::_Vector_base.93" }
%"struct.std::_Vector_base.93" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::__cxx11::basic_regex<char>, std::allocator<std::__cxx11::basic_regex<char>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.IGFD::SearchManager" = type <{ %"class.std::__cxx11::basic_string", [1024 x i8], i8, [7 x i8] }>
%"struct.IGFD::FileDialogConfig" = type { %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", %"class.std::__cxx11::basic_string", i32, ptr, i32, %"class.std::function", float, %"class.std::function.97" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::function.97" = type { %"class.std::_Function_base", ptr }
%struct.ImGuiListClipper = type { ptr, i32, i32, i32, float, float, ptr }
%struct.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, %struct.ImVector.13, i32, %struct.ImVector.14, ptr, i32, i32, %struct.ImVector.9, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, ptr, ptr, ptr, float, float, i8, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.15, [16 x i8], i32, %struct.ImVector.16, ptr, i32, i32, %struct.ImVector.17, %struct.ImPool, %struct.ImVector.19, %struct.ImVector.20, ptr, %struct.ImPool.21, %struct.ImVector.23, %struct.ImVector.24, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, float, float, i8, i8, float, float, float, float, i16, i16, i16, %struct.ImVector.25, %struct.ImVector.27, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, %struct.ImChunkStream.29, %struct.ImVector.30, i32, [8 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.25, [64 x i8] }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, [666 x i32], [666 x i8], [16 x float], ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, %struct.ImVector }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i64, float, i8, i8, [2 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, [3 x i8], %struct.ImRect, ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type <{ ptr, i32, i32, %struct.ImRect, i32, [4 x i8], i64, float, float, float, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.18, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.21 = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, i32, i32, i32, [4 x i8], %struct.ImVector, %struct.ImVector.25, %struct.ImVector.25, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.25 }
%struct.ImFont = type <{ %struct.ImVector.19, float, float, %struct.ImVector, %struct.ImVector.26, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.25 }
%struct.ImChunkStream.29 = type { %struct.ImVector.25 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.25 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.31, i8, float }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector.27, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.32, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.19, %struct.ImVector.19 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.33, %struct.ImVector, %struct.ImVector.34, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.35, %struct.ImVector.36, %struct.ImVector.0, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.35 = type { i32, i32, ptr }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.20 }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags = external hidden global i32, align 4
@.str.43 = external hidden unnamed_addr constant [3 x i8], align 1

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4IGFD5Utils13ReplaceStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS6_S9_RKm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) #1 align 2

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

; 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) #3 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD13FilterManager24SetSelectedFilterWithExtERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD11FileManager7ScanDirERKNS_18FileDialogInternalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648), ptr noundef nonnull align 8 dereferenceable(6528), ptr noundef nonnull align 8 dereferenceable(32)) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528)) #1 align 2

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) #6

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #5

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_(ptr noundef nonnull align 8 dereferenceable(6620) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2, <2 x float> %3, <2 x float> %4) #7 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca i1, align 1
  %7 = alloca %struct.ImVec2, align 4
  %8 = alloca %struct.ImVec2, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  %17 = alloca %"class.std::__cxx11::basic_string", align 8
  %18 = alloca %"class.std::__cxx11::basic_string", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i8, align 1
  %22 = alloca i32, align 4
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  %26 = alloca i64, align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  %28 = alloca %"class.std::allocator", align 1
  %29 = alloca %struct.ImVec2, align 4
  store <2 x float> %3, ptr %7, align 4
  store <2 x float> %4, ptr %8, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store i32 %2, ptr %11, align 4, !tbaa !9
  %30 = load ptr, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #9
  store i8 0, ptr %12, align 1, !tbaa !11
  %31 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %32 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %31, i32 0, i32 4
  %33 = load i8, ptr %32, align 8, !tbaa !13, !range !73, !noundef !74
  %34 = trunc i8 %33 to i1
  br i1 %34, label %35, label %344

35:                                               ; preds = %5
  %36 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %37 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %36, i32 0, i32 13
  %38 = load ptr, ptr %10, align 8, !tbaa !5
  %39 = call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  br i1 %39, label %40, label %344

40:                                               ; preds = %35
  %41 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %42 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %41, i32 0, i32 16
  %43 = load i8, ptr %42, align 1, !tbaa !75, !range !73, !noundef !74
  %44 = trunc i8 %43 to i1
  br i1 %44, label %45, label %53

45:                                               ; preds = %40
  %46 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %47 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %46, i32 0, i32 17
  %48 = load i32, ptr %47, align 4, !tbaa !76
  %49 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %50 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %49, i32 0, i32 18
  %51 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %50) #9
  %52 = call ptr @setlocale(i32 noundef %48, ptr noundef %51) #9
  br label %53

53:                                               ; preds = %45, %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #9
  %54 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %55 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %54, i32 0, i32 0
  store ptr %55, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #9
  %56 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %57 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %56, i32 0, i32 1
  store ptr %57, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  %58 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %58, ptr %15, align 8, !tbaa !5
  %59 = load ptr, ptr %15, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiContext, ptr %59, i32 0, i32 9
  %61 = load i32, ptr %60, align 8, !tbaa !77
  %62 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %63 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %62, i32 0, i32 6
  %64 = load i32, ptr %63, align 4, !tbaa !148
  %65 = icmp eq i32 %61, %64
  br i1 %65, label %66, label %69

66:                                               ; preds = %53
  %67 = load i8, ptr %12, align 1, !tbaa !11, !range !73, !noundef !74
  %68 = trunc i8 %67 to i1
  store i1 %68, ptr %6, align 1
  store i32 1, ptr %16, align 4
  br label %338

69:                                               ; preds = %53
  %70 = load ptr, ptr %15, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 9
  %72 = load i32, ptr %71, align 8, !tbaa !77
  %73 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %74 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %73, i32 0, i32 6
  store i32 %72, ptr %74, align 4, !tbaa !148
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #9
  %75 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %76 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %75, i32 0, i32 14
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %18, ptr noundef nonnull align 8 dereferenceable(32) %76, ptr noundef @.str.43)
  %77 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %78 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %77, i32 0, i32 13
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %17, ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %78)
          to label %79 unwind label %87

79:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  %80 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %81 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %80, i32 0, i32 3
  %82 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br i1 %82, label %83, label %91

83:                                               ; preds = %79
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN4IGFD11FileManager13ClearComposerEv(ptr noundef nonnull align 8 dereferenceable(4648) %84)
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  call void @_ZN4IGFD11FileManager14ClearFileListsEv(ptr noundef nonnull align 8 dereferenceable(4648) %85)
  %86 = load i32, ptr %11, align 4, !tbaa !9
  store i32 %86, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !9
  br label %91

87:                                               ; preds = %69
  %88 = landingpad { ptr, i32 }
          cleanup
  %89 = extractvalue { ptr, i32 } %88, 0
  store ptr %89, ptr %19, align 8
  %90 = extractvalue { ptr, i32 } %88, 1
  store i32 %90, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #9
  br label %343

91:                                               ; preds = %83, %79
  invoke void @_ZN4IGFD10FileDialog10m_NewFrameEv(ptr noundef nonnull align 8 dereferenceable(6620) %30)
          to label %92 unwind label %100

92:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #9
  store i8 0, ptr %21, align 1, !tbaa !11
  %93 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %94 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %93)
  %95 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %94, i32 0, i32 5
  %96 = load i32, ptr %95, align 8, !tbaa !149
  %97 = and i32 %96, 64
  %98 = icmp ne i32 %97, 0
  br i1 %98, label %99, label %104

99:                                               ; preds = %92
  store i8 1, ptr %21, align 1, !tbaa !11
  br label %138

100:                                              ; preds = %91
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %19, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %20, align 4
  br label %342

104:                                              ; preds = %92
  invoke void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef null, ptr noundef null)
          to label %105 unwind label %126

105:                                              ; preds = %104
  %106 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %107 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %106)
  %108 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %107, i32 0, i32 5
  %109 = load i32, ptr %108, align 8, !tbaa !149
  %110 = and i32 %109, 512
  %111 = icmp ne i32 %110, 0
  br i1 %111, label %112, label %130

112:                                              ; preds = %105
  %113 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %114 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %113, i32 0, i32 9
  %115 = load i8, ptr %114, align 1, !tbaa !150, !range !73, !noundef !74
  %116 = trunc i8 %115 to i1
  br i1 %116, label %130, label %117

117:                                              ; preds = %112
  %118 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  invoke void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %118, i32 noundef 0)
          to label %119 unwind label %126

119:                                              ; preds = %117
  %120 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  %121 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !9
  %122 = or i32 %121, 8
  %123 = invoke noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef %120, ptr noundef null, i32 noundef %122)
          to label %124 unwind label %126

124:                                              ; preds = %119
  %125 = zext i1 %123 to i8
  store i8 %125, ptr %21, align 1, !tbaa !11
  br label %137

126:                                              ; preds = %318, %315, %130, %119, %117, %104
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %19, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %20, align 4
  br label %341

130:                                              ; preds = %112, %105
  %131 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  %132 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !9
  %133 = or i32 %132, 8
  %134 = invoke noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %131, ptr noundef null, i32 noundef %133)
          to label %135 unwind label %126

135:                                              ; preds = %130
  %136 = zext i1 %134 to i8
  store i8 %136, ptr %21, align 1, !tbaa !11
  br label %137

137:                                              ; preds = %135, %124
  br label %138

138:                                              ; preds = %137, %99
  %139 = load i8, ptr %21, align 1, !tbaa !11, !range !73, !noundef !74
  %140 = trunc i8 %139 to i1
  br i1 %140, label %141, label %295

141:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #9
  %142 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  %143 = invoke noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef %142)
          to label %144 unwind label %153

144:                                              ; preds = %141
  store i32 %143, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #9
  invoke void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef 0.000000e+00, float noundef 0.000000e+00)
          to label %145 unwind label %157

145:                                              ; preds = %144
  %146 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %147 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %146)
  %148 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %147, i32 0, i32 5
  %149 = load i32, ptr %148, align 8, !tbaa !149
  %150 = and i32 %149, 64
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %161

152:                                              ; preds = %145
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !151
  br label %161

153:                                              ; preds = %141
  %154 = landingpad { ptr, i32 }
          cleanup
  %155 = extractvalue { ptr, i32 } %154, 0
  store ptr %155, ptr %19, align 8
  %156 = extractvalue { ptr, i32 } %154, 1
  store i32 %156, ptr %20, align 4
  br label %294

157:                                              ; preds = %286, %266, %263, %258, %254, %250, %244, %220, %216, %190, %180, %175, %167, %161, %144
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %19, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %20, align 4
  br label %293

161:                                              ; preds = %152, %145
  %162 = load i32, ptr %22, align 4, !tbaa !9
  %163 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !9
  %164 = or i32 %163, 8
  %165 = invoke noundef zeroext i1 @_ZN5ImGui10BeginChildEjRK6ImVec2ii(i32 noundef %162, ptr noundef nonnull align 4 dereferenceable(8) %23, i32 noundef 0, i32 noundef %164)
          to label %166 unwind label %157

166:                                              ; preds = %161
  br i1 %165, label %167, label %266

167:                                              ; preds = %166
  %168 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %169 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %168, i32 0, i32 3
  %170 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %169, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %171 unwind label %157

171:                                              ; preds = %167
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = getelementptr inbounds %"class.IGFD::FileManager", ptr %172, i32 0, i32 26
  %174 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %173) #9
  br i1 %174, label %175, label %180

175:                                              ; preds = %171
  %176 = load ptr, ptr %13, align 8, !tbaa !5
  %177 = getelementptr inbounds %"class.IGFD::FileManager", ptr %176, i32 0, i32 26
  %178 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %177, ptr noundef @.str.22)
          to label %179 unwind label %157

179:                                              ; preds = %175
  br label %180

180:                                              ; preds = %179, %171
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  invoke void @_ZN4IGFD13FilterManager28SetDefaultFilterIfNotDefinedEv(ptr noundef nonnull align 8 dereferenceable(424) %181)
          to label %182 unwind label %157

182:                                              ; preds = %180
  %183 = load ptr, ptr %13, align 8, !tbaa !5
  %184 = call noundef zeroext i1 @_ZN4IGFD11FileManager15IsFileListEmptyEv(ptr noundef nonnull align 8 dereferenceable(4648) %183)
  br i1 %184, label %185, label %250

185:                                              ; preds = %182
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = getelementptr inbounds %"class.IGFD::FileManager", ptr %186, i32 0, i32 25
  %188 = load i8, ptr %187, align 8, !tbaa !153, !range !73, !noundef !74
  %189 = trunc i8 %188 to i1
  br i1 %189, label %250, label %190

190:                                              ; preds = %185
  %191 = load ptr, ptr %13, align 8, !tbaa !5
  %192 = getelementptr inbounds %"class.IGFD::FileManager", ptr %191, i32 0, i32 26
  %193 = invoke noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %192, ptr noundef @.str.22)
          to label %194 unwind label %157

194:                                              ; preds = %190
  br i1 %193, label %195, label %212

195:                                              ; preds = %194
  %196 = load ptr, ptr %13, align 8, !tbaa !5
  %197 = getelementptr inbounds %"class.IGFD::FileManager", ptr %196, i32 0, i32 27
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = getelementptr inbounds %"class.IGFD::FileManager", ptr %198, i32 0, i32 26
  call void @llvm.lifetime.start.p0(i64 32, ptr %24) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %200 unwind label %203

200:                                              ; preds = %195
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #9
  store i64 10, ptr %26, align 8, !tbaa !154
  %201 = invoke noundef zeroext i1 @_ZN4IGFD5Utils13ReplaceStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS6_S9_RKm(ptr noundef nonnull align 8 dereferenceable(32) %197, ptr noundef nonnull align 8 dereferenceable(32) %199, ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(8) %26)
          to label %202 unwind label %207

202:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %212

203:                                              ; preds = %195
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %19, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %20, align 4
  br label %211

207:                                              ; preds = %200
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %19, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #9
  br label %211

211:                                              ; preds = %207, %203
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %24) #9
  br label %293

212:                                              ; preds = %202, %194
  %213 = load ptr, ptr %13, align 8, !tbaa !5
  %214 = getelementptr inbounds %"class.IGFD::FileManager", ptr %213, i32 0, i32 27
  %215 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %214) #9
  br i1 %215, label %225, label %216

216:                                              ; preds = %212
  %217 = load ptr, ptr %13, align 8, !tbaa !5
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  %219 = getelementptr inbounds %"class.IGFD::FileManager", ptr %218, i32 0, i32 27
  invoke void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %217, ptr noundef nonnull align 8 dereferenceable(32) %219)
          to label %220 unwind label %157

220:                                              ; preds = %216
  %221 = load ptr, ptr %14, align 8, !tbaa !5
  %222 = load ptr, ptr %14, align 8, !tbaa !5
  %223 = getelementptr inbounds %"class.IGFD::FilterManager", ptr %222, i32 0, i32 5
  invoke void @_ZN4IGFD13FilterManager24SetSelectedFilterWithExtERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424) %221, ptr noundef nonnull align 8 dereferenceable(32) %223)
          to label %224 unwind label %157

224:                                              ; preds = %220
  br label %244

225:                                              ; preds = %212
  %226 = load ptr, ptr %13, align 8, !tbaa !5
  %227 = getelementptr inbounds %"class.IGFD::FileManager", ptr %226, i32 0, i32 29
  %228 = load i8, ptr %227, align 8, !tbaa !155, !range !73, !noundef !74
  %229 = trunc i8 %228 to i1
  br i1 %229, label %230, label %243

230:                                              ; preds = %225
  %231 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #9
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %28)
          to label %232 unwind label %234

232:                                              ; preds = %230
  invoke void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %231, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %233 unwind label %238

233:                                              ; preds = %232
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %243

234:                                              ; preds = %230
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %19, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %20, align 4
  br label %242

238:                                              ; preds = %232
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %19, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %242

242:                                              ; preds = %238, %234
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %28) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %293

243:                                              ; preds = %233, %225
  br label %244

244:                                              ; preds = %243, %224
  %245 = load ptr, ptr %13, align 8, !tbaa !5
  %246 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = getelementptr inbounds %"class.IGFD::FileManager", ptr %247, i32 0, i32 26
  invoke void @_ZN4IGFD11FileManager7ScanDirERKNS_18FileDialogInternalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %245, ptr noundef nonnull align 8 dereferenceable(6528) %246, ptr noundef nonnull align 8 dereferenceable(32) %248)
          to label %249 unwind label %157

249:                                              ; preds = %244
  br label %250

250:                                              ; preds = %249, %185, %182
  %251 = load ptr, ptr %30, align 8, !tbaa !156
  %252 = getelementptr inbounds ptr, ptr %251, i64 3
  %253 = load ptr, ptr %252, align 8
  invoke void %253(ptr noundef nonnull align 8 dereferenceable(6620) %30)
          to label %254 unwind label %157

254:                                              ; preds = %250
  %255 = load ptr, ptr %30, align 8, !tbaa !156
  %256 = getelementptr inbounds ptr, ptr %255, i64 4
  %257 = load ptr, ptr %256, align 8
  invoke void %257(ptr noundef nonnull align 8 dereferenceable(6620) %30)
          to label %258 unwind label %157

258:                                              ; preds = %254
  %259 = load ptr, ptr %30, align 8, !tbaa !156
  %260 = getelementptr inbounds ptr, ptr %259, i64 5
  %261 = load ptr, ptr %260, align 8
  %262 = invoke noundef zeroext i1 %261(ptr noundef nonnull align 8 dereferenceable(6620) %30)
          to label %263 unwind label %157

263:                                              ; preds = %258
  %264 = zext i1 %262 to i8
  store i8 %264, ptr %12, align 1, !tbaa !11
  invoke void @_ZN4IGFD10FileDialog10m_EndFrameEv(ptr noundef nonnull align 8 dereferenceable(6620) %30)
          to label %265 unwind label %157

265:                                              ; preds = %263
  br label %266

266:                                              ; preds = %265, %166
  invoke void @_ZN5ImGui8EndChildEv()
          to label %267 unwind label %157

267:                                              ; preds = %266
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #9
  %268 = invoke noundef ptr @_ZN5ImGui20GetCurrentWindowReadEv()
          to label %269 unwind label %288

269:                                              ; preds = %267
  %270 = getelementptr inbounds %struct.ImGuiWindow, ptr %268, i32 0, i32 75
  %271 = invoke <2 x float> @_ZNK6ImRect9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %270)
          to label %272 unwind label %288

272:                                              ; preds = %269
  store <2 x float> %271, ptr %29, align 4
  %273 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %274 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %273, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %274, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !151
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  %275 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %276 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %275)
  %277 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %276, i32 0, i32 5
  %278 = load i32, ptr %277, align 8, !tbaa !149
  %279 = and i32 %278, 512
  %280 = icmp ne i32 %279, 0
  br i1 %280, label %281, label %292

281:                                              ; preds = %272
  %282 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %283 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %282, i32 0, i32 9
  %284 = load i8, ptr %283, align 1, !tbaa !150, !range !73, !noundef !74
  %285 = trunc i8 %284 to i1
  br i1 %285, label %292, label %286

286:                                              ; preds = %281
  invoke void @_ZN5ImGui8EndPopupEv()
          to label %287 unwind label %157

287:                                              ; preds = %286
  br label %292

288:                                              ; preds = %269, %267
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %19, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #9
  br label %293

292:                                              ; preds = %287, %281, %272
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %295

293:                                              ; preds = %288, %242, %211, %157
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #9
  br label %294

294:                                              ; preds = %293, %153
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #9
  br label %341

295:                                              ; preds = %292, %138
  %296 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %297 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %296)
  %298 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %297, i32 0, i32 5
  %299 = load i32, ptr %298, align 8, !tbaa !149
  %300 = and i32 %299, 64
  %301 = icmp ne i32 %300, 0
  br i1 %301, label %302, label %303

302:                                              ; preds = %295
  br label %318

303:                                              ; preds = %295
  %304 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %305 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %304)
  %306 = getelementptr inbounds %"struct.IGFD::FileDialogConfig", ptr %305, i32 0, i32 5
  %307 = load i32, ptr %306, align 8, !tbaa !149
  %308 = and i32 %307, 512
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %310, label %315

310:                                              ; preds = %303
  %311 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %312 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %311, i32 0, i32 9
  %313 = load i8, ptr %312, align 1, !tbaa !150, !range !73, !noundef !74
  %314 = trunc i8 %313 to i1
  br i1 %314, label %315, label %317

315:                                              ; preds = %310, %303
  invoke void @_ZN5ImGui3EndEv()
          to label %316 unwind label %126

316:                                              ; preds = %315
  br label %317

317:                                              ; preds = %316, %310
  br label %318

318:                                              ; preds = %317, %302
  %319 = load i8, ptr %12, align 1, !tbaa !11, !range !73, !noundef !74
  %320 = trunc i8 %319 to i1
  %321 = load i32, ptr %11, align 4, !tbaa !9
  %322 = invoke noundef zeroext i1 @_ZN4IGFD10FileDialog45m_Confirm_Or_OpenOverWriteFileDialog_IfNeededEbi(ptr noundef nonnull align 8 dereferenceable(6620) %30, i1 noundef zeroext %320, i32 noundef %321)
          to label %323 unwind label %126

323:                                              ; preds = %318
  %324 = zext i1 %322 to i8
  store i8 %324, ptr %12, align 1, !tbaa !11
  %325 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %326 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %325, i32 0, i32 16
  %327 = load i8, ptr %326, align 1, !tbaa !75, !range !73, !noundef !74
  %328 = trunc i8 %327 to i1
  br i1 %328, label %329, label %337

329:                                              ; preds = %323
  %330 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %331 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %330, i32 0, i32 17
  %332 = load i32, ptr %331, align 4, !tbaa !76
  %333 = getelementptr inbounds %"class.IGFD::FileDialog", ptr %30, i32 0, i32 1
  %334 = getelementptr inbounds %"class.IGFD::FileDialogInternal", ptr %333, i32 0, i32 19
  %335 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %334) #9
  %336 = call ptr @setlocale(i32 noundef %332, ptr noundef %335) #9
  br label %337

337:                                              ; preds = %329, %323
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  store i32 0, ptr %16, align 4
  br label %338

338:                                              ; preds = %337, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  %339 = load i32, ptr %16, align 4
  switch i32 %339, label %347 [
    i32 0, label %340
  ]

340:                                              ; preds = %338
  br label %344

341:                                              ; preds = %294, %126
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #9
  br label %342

342:                                              ; preds = %341, %100
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  br label %343

343:                                              ; preds = %342, %87
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  br label %349

344:                                              ; preds = %340, %35, %5
  %345 = load i8, ptr %12, align 1, !tbaa !11, !range !73, !noundef !74
  %346 = trunc i8 %345 to i1
  store i1 %346, ptr %6, align 1
  store i32 1, ptr %16, align 4
  br label %347

347:                                              ; preds = %344, %338
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #9
  %348 = load i1, ptr %6, align 1
  ret i1 %348

349:                                              ; preds = %343
  %350 = load ptr, ptr %19, align 8
  %351 = load i32, ptr %20, align 4
  %352 = insertvalue { ptr, i32 } poison, ptr %350, 0
  %353 = insertvalue { ptr, i32 } %352, i32 %351, 1
  resume { ptr, i32 } %353
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #5

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

declare void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) #6

declare noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #6

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) #6

declare noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef) #6

declare noundef zeroext i1 @_ZN5ImGui10BeginChildEjRK6ImVec2ii(i32 noundef, ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, i32 noundef) #6

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

declare void @_ZN5ImGui8EndChildEv() #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui20GetCurrentWindowReadEv() #4

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16)) #7 align 2

declare void @_ZN5ImGui8EndPopupEv() #6

declare void @_ZN5ImGui3EndEv() #6

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4IGFD10FileDialog45m_Confirm_Or_OpenOverWriteFileDialog_IfNeededEbi(ptr noundef nonnull align 8 dereferenceable(6620), i1 noundef zeroext, i32 noundef) #7 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { 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 #6 = { "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 #7 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #8 = { 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 #9 = { 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 = !{!"bool", !7, i64 0}
!13 = !{!14, !12, i64 6176}
!14 = !{!"_ZTSN4IGFD10FileDialogE", !15, i64 8, !72, i64 6536, !72, i64 6576, !53, i64 6616}
!15 = !{!"_ZTSN4IGFD18FileDialogInternalE", !16, i64 0, !44, i64 4648, !66, i64 5072, !17, i64 6136, !12, i64 6168, !67, i64 6172, !10, i64 6180, !53, i64 6184, !12, i64 6188, !12, i64 6189, !12, i64 6190, !12, i64 6191, !12, i64 6192, !17, i64 6200, !17, i64 6232, !12, i64 6264, !12, i64 6265, !10, i64 6268, !17, i64 6272, !17, i64 6304, !68, i64 6336}
!16 = !{!"_ZTSN4IGFD11FileManagerE", !17, i64 0, !20, i64 32, !24, i64 56, !24, i64 80, !24, i64 104, !24, i64 128, !28, i64 152, !17, i64 160, !29, i64 192, !12, i64 240, !17, i64 248, !37, i64 280, !12, i64 288, !12, i64 289, !12, i64 290, !7, i64 291, !7, i64 1315, !7, i64 2339, !7, i64 3363, !17, i64 4392, !17, i64 4424, !17, i64 4456, !17, i64 4488, !7, i64 4520, !43, i64 4524, !12, i64 4528, !17, i64 4536, !17, i64 4568, !19, i64 4600, !12, i64 4608, !17, i64 4616}
!17 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !18, i64 0, !19, i64 8, !7, i64 16}
!18 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"_ZTSSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE12_Vector_implE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!28 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEE", !6, i64 0}
!29 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !30, i64 0}
!30 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !31, i64 0}
!31 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !32, i64 0, !34, i64 8}
!32 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !33, i64 0}
!33 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!34 = !{!"_ZTSSt15_Rb_tree_header", !35, i64 0, !19, i64 32}
!35 = !{!"_ZTSSt18_Rb_tree_node_base", !36, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!36 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!37 = !{!"_ZTSSt10unique_ptrIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_dataIN4IGFD11IFileSystemESt14default_deleteIS1_ELb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_implIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !40, i64 0}
!40 = !{!"_ZTSSt5tupleIJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !41, i64 0}
!41 = !{!"_ZTSSt11_Tuple_implILm0EJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_Head_baseILm0EPN4IGFD11IFileSystemELb0EE", !6, i64 0}
!43 = !{!"_ZTSN4IGFD11FileManager16SortingFieldEnumE", !7, i64 0}
!44 = !{!"_ZTSN4IGFD13FilterManagerE", !45, i64 0, !49, i64 24, !54, i64 80, !58, i64 104, !17, i64 360, !17, i64 392}
!45 = !{!"_ZTSSt6vectorIN4IGFD11FilterInfosESaIS1_EE", !46, i64 0}
!46 = !{!"_ZTSSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE", !47, i64 0}
!47 = !{!"_ZTSNSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE12_Vector_implE", !48, i64 0}
!48 = !{!"_ZTSNSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!49 = !{!"_ZTSSt13unordered_mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN4IGFD9FileStyleEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEESA_IiESC_IiESaISE_IKiSI_EEE", !50, i64 0}
!50 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN4IGFD9FileStyleEESt4hashIS8_ESt8equal_toIS8_ESaIS0_IKS8_SC_EEEESaISL_ENSt8__detail10_Select1stESF_IiESD_IiENSN_18_Mod_range_hashingENSN_20_Default_ranged_hashENSN_20_Prime_rehash_policyENSN_17_Hashtable_traitsILb0ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !51, i64 16, !19, i64 24, !52, i64 32, !6, i64 48}
!51 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !6, i64 0}
!52 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !53, i64 0, !19, i64 8}
!53 = !{!"float", !7, i64 0}
!54 = !{!"_ZTSSt6vectorISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE", !55, i64 0}
!55 = !{!"_ZTSSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE", !56, i64 0}
!56 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE12_Vector_implE", !57, i64 0}
!57 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!58 = !{!"_ZTSN4IGFD11FilterInfosE", !17, i64 0, !17, i64 32, !59, i64 64, !59, i64 144, !62, i64 224, !19, i64 248}
!59 = !{!"_ZTSN4IGFD16SearchableVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !60, i64 0, !20, i64 56}
!60 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE", !61, i64 0}
!61 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !6, i64 0, !19, i64 8, !51, i64 16, !19, i64 24, !52, i64 32, !6, i64 48}
!62 = !{!"_ZTSSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE", !63, i64 0}
!63 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE", !64, i64 0}
!64 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE12_Vector_implE", !65, i64 0}
!65 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!66 = !{!"_ZTSN4IGFD13SearchManagerE", !17, i64 0, !7, i64 32, !12, i64 1056}
!67 = !{!"_ZTS6ImVec2", !53, i64 0, !53, i64 4}
!68 = !{!"_ZTSN4IGFD16FileDialogConfigE", !17, i64 0, !17, i64 32, !17, i64 64, !10, i64 96, !6, i64 104, !10, i64 112, !69, i64 120, !53, i64 152, !71, i64 160}
!69 = !{!"_ZTSSt8functionIFvPKcPvPbEE", !70, i64 0, !6, i64 24}
!70 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!71 = !{!"_ZTSSt8functionIFbPN4IGFD9FileInfosEPvEE", !70, i64 0, !6, i64 24}
!72 = !{!"_ZTS16ImGuiListClipper", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !53, i64 20, !53, i64 24, !6, i64 32}
!73 = !{i8 0, i8 2}
!74 = !{}
!75 = !{!14, !12, i64 6273}
!76 = !{!14, !10, i64 6276}
!77 = !{!78, !10, i64 16216}
!78 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !79, i64 8, !83, i64 14568, !6, i64 15664, !53, i64 15672, !53, i64 15676, !84, i64 15680, !87, i64 16208, !10, i64 16216, !10, i64 16220, !10, i64 16224, !12, i64 16228, !12, i64 16229, !12, i64 16230, !12, i64 16231, !12, i64 16232, !6, i64 16240, !88, i64 16248, !88, i64 16264, !81, i64 16280, !10, i64 16284, !89, i64 16288, !89, i64 16304, !89, i64 16320, !90, i64 16336, !91, i64 16352, !10, i64 16368, !67, i64 16372, !10, i64 16380, !6, i64 16384, !6, i64 16392, !6, i64 16400, !6, i64 16408, !6, i64 16416, !67, i64 16424, !10, i64 16432, !10, i64 16436, !53, i64 16440, !67, i64 16444, !67, i64 16452, !10, i64 16460, !10, i64 16464, !10, i64 16468, !12, i64 16472, !12, i64 16473, !53, i64 16476, !53, i64 16480, !10, i64 16484, !10, i64 16488, !53, i64 16492, !12, i64 16496, !12, i64 16497, !12, i64 16498, !12, i64 16499, !12, i64 16500, !12, i64 16501, !67, i64 16504, !6, i64 16512, !93, i64 16520, !10, i64 16524, !10, i64 16528, !12, i64 16532, !12, i64 16533, !6, i64 16536, !10, i64 16544, !53, i64 16548, !87, i64 16552, !87, i64 16560, !87, i64 16568, !94, i64 16576, !7, i64 16596, !95, i64 18448, !10, i64 18792, !12, i64 18796, !10, i64 18800, !10, i64 18804, !10, i64 18808, !10, i64 18812, !10, i64 18816, !97, i64 18824, !99, i64 18848, !101, i64 18928, !12, i64 19040, !10, i64 19044, !102, i64 19048, !103, i64 19064, !104, i64 19080, !105, i64 19096, !106, i64 19112, !107, i64 19128, !108, i64 19144, !108, i64 19160, !109, i64 19176, !10, i64 19192, !110, i64 19200, !6, i64 19216, !10, i64 19224, !10, i64 19228, !105, i64 19232, !10, i64 19248, !10, i64 19252, !10, i64 19256, !10, i64 19260, !10, i64 19264, !10, i64 19268, !10, i64 19272, !10, i64 19276, !10, i64 19280, !93, i64 19284, !111, i64 19288, !98, i64 19296, !12, i64 19304, !12, i64 19305, !12, i64 19306, !12, i64 19307, !12, i64 19308, !12, i64 19309, !12, i64 19310, !112, i64 19312, !12, i64 19376, !12, i64 19377, !12, i64 19378, !10, i64 19380, !10, i64 19384, !10, i64 19388, !10, i64 19392, !10, i64 19396, !10, i64 19400, !100, i64 19404, !100, i64 19420, !10, i64 19436, !10, i64 19440, !10, i64 19444, !112, i64 19448, !112, i64 19512, !112, i64 19576, !112, i64 19640, !10, i64 19704, !10, i64 19708, !6, i64 19712, !6, i64 19720, !6, i64 19728, !53, i64 19736, !53, i64 19740, !12, i64 19744, !67, i64 19748, !67, i64 19756, !53, i64 19764, !12, i64 19768, !12, i64 19769, !12, i64 19770, !10, i64 19772, !10, i64 19776, !10, i64 19780, !113, i64 19784, !100, i64 19848, !100, i64 19864, !10, i64 19880, !10, i64 19884, !53, i64 19888, !10, i64 19892, !10, i64 19896, !10, i64 19900, !10, i64 19904, !114, i64 19912, !7, i64 19928, !10, i64 19944, !115, i64 19952, !6, i64 19968, !10, i64 19976, !10, i64 19980, !116, i64 19984, !117, i64 20000, !119, i64 20040, !120, i64 20056, !6, i64 20072, !121, i64 20080, !123, i64 20120, !124, i64 20136, !10, i64 20152, !10, i64 20156, !53, i64 20160, !53, i64 20164, !10, i64 20168, !10, i64 20172, !10, i64 20176, !53, i64 20180, !67, i64 20184, !125, i64 20192, !129, i64 23920, !130, i64 23944, !10, i64 24064, !10, i64 24068, !10, i64 24072, !10, i64 24076, !53, i64 24080, !53, i64 24084, !10, i64 24088, !85, i64 24092, !132, i64 24108, !100, i64 24156, !12, i64 24172, !53, i64 24176, !53, i64 24180, !12, i64 24184, !12, i64 24185, !53, i64 24188, !53, i64 24192, !53, i64 24196, !53, i64 24200, !80, i64 24204, !80, i64 24206, !80, i64 24208, !126, i64 24216, !133, i64 24232, !134, i64 24248, !136, i64 24352, !136, i64 24368, !12, i64 24384, !53, i64 24388, !137, i64 24392, !138, i64 24408, !139, i64 24424, !140, i64 24440, !141, i64 24456, !10, i64 24472, !7, i64 24480, !12, i64 24544, !142, i64 24548, !6, i64 24552, !137, i64 24560, !6, i64 24576, !6, i64 24584, !53, i64 24592, !12, i64 24596, !10, i64 24600, !10, i64 24604, !10, i64 24608, !10, i64 24612, !137, i64 24616, !143, i64 24632, !10, i64 24656, !7, i64 24660, !7, i64 24661, !12, i64 24662, !10, i64 24664, !7, i64 24668, !12, i64 24669, !7, i64 24670, !10, i64 24672, !53, i64 24676, !85, i64 24680, !144, i64 24696, !145, i64 24720, !147, i64 24760, !7, i64 24820, !10, i64 25060, !10, i64 25064, !53, i64 25068, !10, i64 25072, !10, i64 25076, !10, i64 25080, !126, i64 25088, !7, i64 25104}
!79 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !67, i64 8, !53, i64 16, !53, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !53, i64 56, !12, i64 60, !6, i64 64, !67, i64 72, !12, i64 80, !12, i64 81, !12, i64 82, !12, i64 83, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !53, i64 88, !53, i64 92, !53, i64 96, !53, i64 100, !53, i64 104, !53, i64 108, !12, i64 112, !12, i64 113, !12, i64 114, !12, i64 115, !12, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !80, i64 192, !12, i64 194, !12, i64 195, !12, i64 196, !12, i64 197, !12, i64 198, !12, i64 199, !12, i64 200, !53, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !67, i64 224, !7, i64 232, !7, i64 2896, !7, i64 3564, !6, i64 3632, !67, i64 3640, !7, i64 3648, !53, i64 3656, !53, i64 3660, !81, i64 3664, !12, i64 3668, !12, i64 3669, !12, i64 3670, !12, i64 3671, !10, i64 3672, !7, i64 3676, !12, i64 14332, !67, i64 14336, !7, i64 14344, !7, i64 14384, !7, i64 14424, !7, i64 14429, !7, i64 14434, !7, i64 14444, !7, i64 14454, !7, i64 14459, !7, i64 14464, !12, i64 14469, !7, i64 14472, !7, i64 14492, !7, i64 14512, !53, i64 14532, !12, i64 14536, !12, i64 14537, !7, i64 14538, !12, i64 14539, !80, i64 14540, !82, i64 14544}
!80 = !{!"short", !7, i64 0}
!81 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!82 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS10ImGuiStyle", !53, i64 0, !53, i64 4, !67, i64 8, !53, i64 16, !53, i64 20, !67, i64 24, !67, i64 32, !10, i64 40, !53, i64 44, !53, i64 48, !53, i64 52, !53, i64 56, !67, i64 60, !53, i64 68, !53, i64 72, !67, i64 76, !67, i64 84, !67, i64 92, !67, i64 100, !53, i64 108, !53, i64 112, !53, i64 116, !53, i64 120, !53, i64 124, !53, i64 128, !53, i64 132, !53, i64 136, !53, i64 140, !53, i64 144, !53, i64 148, !53, i64 152, !10, i64 156, !67, i64 160, !67, i64 168, !53, i64 176, !67, i64 180, !67, i64 188, !67, i64 196, !67, i64 204, !53, i64 212, !12, i64 216, !12, i64 217, !12, i64 218, !53, i64 220, !53, i64 224, !7, i64 228, !53, i64 1076, !53, i64 1080, !53, i64 1084, !10, i64 1088, !10, i64 1092}
!84 = !{!"_ZTS20ImDrawListSharedData", !67, i64 0, !6, i64 8, !53, i64 16, !53, i64 20, !53, i64 24, !85, i64 28, !10, i64 44, !86, i64 48, !7, i64 64, !53, i64 448, !7, i64 452, !6, i64 520}
!85 = !{!"_ZTS6ImVec4", !53, i64 0, !53, i64 4, !53, i64 8, !53, i64 12}
!86 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"double", !7, i64 0}
!88 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!91 = !{!"_ZTS12ImGuiStorage", !92, i64 0}
!92 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!93 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!94 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!95 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !96, i64 312, !96, i64 328}
!96 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!97 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !10, i64 4, !98, i64 8, !53, i64 16, !12, i64 20, !10, i64 21}
!98 = !{!"long long", !7, i64 0}
!99 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !100, i64 12, !100, i64 28, !100, i64 44, !100, i64 60}
!100 = !{!"_ZTS6ImRect", !67, i64 0, !67, i64 8}
!101 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !67, i64 16, !67, i64 24, !67, i64 32, !67, i64 40, !67, i64 48, !10, i64 56, !12, i64 60, !100, i64 64, !6, i64 80, !6, i64 88, !53, i64 96, !67, i64 100}
!102 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!103 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!104 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!105 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!106 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!108 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!109 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!110 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!111 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!112 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !100, i64 16, !10, i64 32, !98, i64 40, !53, i64 48, !53, i64 52, !53, i64 56}
!113 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!114 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!115 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!116 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!117 = !{!"_ZTS6ImPoolI10ImGuiTableE", !118, i64 0, !91, i64 16, !10, i64 32, !10, i64 36}
!118 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!119 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!120 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!121 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !122, i64 0, !91, i64 16, !10, i64 32, !10, i64 36}
!122 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!123 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!124 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!125 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !82, i64 24, !126, i64 40, !126, i64 56, !12, i64 72, !10, i64 76, !53, i64 80, !127, i64 84, !53, i64 3712, !12, i64 3716, !12, i64 3717, !12, i64 3718, !10, i64 3720}
!126 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!127 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !53, i64 28, !128, i64 32}
!128 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !80, i64 3582, !80, i64 3584, !10, i64 3588, !10, i64 3592}
!129 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !126, i64 8}
!130 = !{!"_ZTS6ImFont", !119, i64 0, !53, i64 16, !53, i64 20, !82, i64 24, !131, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !80, i64 80, !80, i64 82, !80, i64 84, !80, i64 86, !53, i64 88, !53, i64 92, !12, i64 96, !53, i64 100, !53, i64 104, !53, i64 108, !10, i64 112, !7, i64 116}
!131 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!132 = !{!"_ZTS21ImGuiComboPreviewData", !100, i64 0, !67, i64 16, !67, i64 24, !67, i64 32, !53, i64 40, !10, i64 44}
!133 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!134 = !{!"_ZTS22ImGuiTypingSelectState", !135, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !53, i64 96, !12, i64 100}
!135 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !12, i64 16, !12, i64 17, !7, i64 18}
!136 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !67, i64 4, !53, i64 12}
!137 = !{!"_ZTS15ImGuiTextBuffer", !126, i64 0}
!138 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!139 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !126, i64 0}
!140 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !126, i64 0}
!141 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!142 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!143 = !{!"_ZTS14ImGuiTextIndex", !106, i64 0, !10, i64 16}
!144 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !10, i64 12, !10, i64 16}
!145 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !146, i64 16, !12, i64 32, !53, i64 36}
!146 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!147 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !80, i64 8, !7, i64 12}
!148 = !{!14, !10, i64 6188}
!149 = !{!68, !10, i64 112}
!150 = !{!14, !12, i64 6197}
!151 = !{i64 0, i64 4, !152, i64 4, i64 4, !152}
!152 = !{!53, !53, i64 0}
!153 = !{!16, !12, i64 4528}
!154 = !{!19, !19, i64 0}
!155 = !{!16, !12, i64 4608}
!156 = !{!157, !157, i64 0}
!157 = !{!"vtable pointer", !8, i64 0}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"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] }
%struct.ImVec2 = type { float, float }
%"class.std::allocator" = type { i8 }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags = external hidden local_unnamed_addr global i32, align 4
@.str.43 = external hidden unnamed_addr constant [3 x i8], align 1

; 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 nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4IGFD5Utils13ReplaceStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS6_S9_RKm(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #1 align 2

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

; 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 #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD13FilterManager24SetSelectedFilterWithExtERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD13FilterManager28SetDefaultFilterIfNotDefinedEv(ptr noundef nonnull align 8 dereferenceable(424)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4IGFD11FileManager13ClearComposerEv(ptr noundef nonnull align 8 dereferenceable(4648)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4IGFD11FileManager14ClearFileListsEv(ptr noundef nonnull align 8 dereferenceable(4648)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528)) local_unnamed_addr #1 align 2

declare void @_ZN5ImGui9OpenPopupEPKci(ptr noundef, i32 noundef) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_(ptr noundef nonnull align 8 dereferenceable(6620) %0, ptr noundef nonnull align 8 dereferenceable(32) %1, i32 noundef %2, <2 x float> %3, <2 x float> %4) local_unnamed_addr #6 align 2 personality ptr @__gxx_personality_v0 {
  %6 = alloca %struct.ImVec2, align 8
  %7 = alloca %struct.ImVec2, align 8
  %8 = alloca %"class.std::__cxx11::basic_string", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %struct.ImVec2, align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca i64, align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::allocator", align 1
  store <2 x float> %3, ptr %6, align 8
  store <2 x float> %4, ptr %7, align 8
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = getelementptr inbounds i8, ptr %0, i64 6176
  %18 = load i8, ptr %17, align 8, !tbaa !5, !range !70, !noundef !71
  %19 = trunc nuw i8 %18 to i1
  br i1 %19, label %20, label %206

20:                                               ; preds = %5
  %21 = getelementptr inbounds i8, ptr %0, i64 6208
  %22 = tail call noundef zeroext i1 @_ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %1) #8
  br i1 %22, label %23, label %206

23:                                               ; preds = %20
  %24 = getelementptr inbounds i8, ptr %0, i64 6273
  %25 = load i8, ptr %24, align 1, !tbaa !72, !range !70, !noundef !71
  %26 = trunc nuw i8 %25 to i1
  br i1 %26, label %27, label %33

27:                                               ; preds = %23
  %28 = getelementptr inbounds i8, ptr %0, i64 6276
  %29 = load i32, ptr %28, align 4, !tbaa !73
  %30 = getelementptr inbounds i8, ptr %0, i64 6280
  %31 = tail call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %30) #8
  %32 = tail call ptr @setlocale(i32 noundef %29, ptr noundef %31) #8
  br label %33

33:                                               ; preds = %27, %23
  %34 = getelementptr inbounds i8, ptr %0, i64 4656
  %35 = load ptr, ptr @GImGui, align 8, !tbaa !74
  %36 = getelementptr inbounds i8, ptr %35, i64 16216
  %37 = load i32, ptr %36, align 8, !tbaa !75
  %38 = getelementptr inbounds i8, ptr %0, i64 6188
  %39 = load i32, ptr %38, align 4, !tbaa !146
  %.not61 = icmp ne i32 %37, %39
  br i1 %.not61, label %40, label %203

40:                                               ; preds = %33
  store i32 %37, ptr %38, align 4, !tbaa !146
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #8
  %41 = getelementptr inbounds i8, ptr %0, i64 6240
  call void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %9, ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull @.str.43)
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_RKS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %8, ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %42 unwind label %46

42:                                               ; preds = %40
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  %43 = getelementptr inbounds i8, ptr %0, i64 6144
  %44 = call noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EESA_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br i1 %44, label %45, label %48

45:                                               ; preds = %42
  call void @_ZN4IGFD11FileManager13ClearComposerEv(ptr noundef nonnull align 8 dereferenceable(4648) %16)
  call void @_ZN4IGFD11FileManager14ClearFileListsEv(ptr noundef nonnull align 8 dereferenceable(4648) %16)
  store i32 %2, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !147
  br label %48

46:                                               ; preds = %40
  %47 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #8
  br label %205

48:                                               ; preds = %45, %42
  call void @_ZN4IGFD10FileDialog10m_NewFrameEv(ptr noundef nonnull align 8 dereferenceable(6620) %0)
  %49 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %50 = getelementptr inbounds i8, ptr %49, i64 112
  %51 = load i32, ptr %50, align 8, !tbaa !148
  %52 = and i32 %51, 64
  %.not = icmp eq i32 %52, 0
  br i1 %.not, label %53, label %.critedge

53:                                               ; preds = %48
  invoke void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(8) %7, ptr noundef null, ptr noundef null)
          to label %54 unwind label %70

54:                                               ; preds = %53
  %55 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %56 = getelementptr inbounds i8, ptr %55, i64 112
  %57 = load i32, ptr %56, align 8, !tbaa !148
  %58 = and i32 %57, 512
  %.not47 = icmp eq i32 %58, 0
  br i1 %.not47, label %72, label %59

59:                                               ; preds = %54
  %60 = getelementptr inbounds i8, ptr %0, i64 6197
  %61 = load i8, ptr %60, align 1, !tbaa !149, !range !70, !noundef !71
  %62 = trunc nuw i8 %61 to i1
  br i1 %62, label %72, label %63

63:                                               ; preds = %59
  %64 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  invoke void @_ZN5ImGui9OpenPopupEPKci(ptr noundef %64, i32 noundef 0)
          to label %65 unwind label %70

65:                                               ; preds = %63
  %66 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  %67 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !147
  %68 = or i32 %67, 8
  %69 = invoke noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef %66, ptr noundef null, i32 noundef %68)
          to label %77 unwind label %70

70:                                               ; preds = %191, %190, %72, %65, %63, %53
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %204

72:                                               ; preds = %59, %54
  %73 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  %74 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !147
  %75 = or i32 %74, 8
  %76 = invoke noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef %73, ptr noundef null, i32 noundef %75)
          to label %77 unwind label %70

77:                                               ; preds = %72, %65
  %.035.shrunk = phi i1 [ %69, %65 ], [ %76, %72 ]
  br i1 %.035.shrunk, label %.critedge, label %176

.critedge:                                        ; preds = %48, %77
  %78 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  %79 = invoke noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef %78)
          to label %80 unwind label %87

80:                                               ; preds = %.critedge
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef 0.000000e+00, float noundef 0.000000e+00)
  %81 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %82 = getelementptr inbounds i8, ptr %81, i64 112
  %83 = load i32, ptr %82, align 8, !tbaa !148
  %84 = and i32 %83, 64
  %.not48 = icmp eq i32 %84, 0
  br i1 %.not48, label %91, label %85

85:                                               ; preds = %80
  %86 = load i64, ptr %7, align 8
  store i64 %86, ptr %10, align 8
  br label %91

87:                                               ; preds = %.critedge
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %204

89:                                               ; preds = %171, %156, %155, %150, %146, %142, %141, %127, %126, %110, %103, %101, %96, %91
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %175

91:                                               ; preds = %85, %80
  %92 = load i32, ptr @_ZZN4IGFD10FileDialog7DisplayERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi6ImVec2S9_E5flags, align 4, !tbaa !147
  %93 = or i32 %92, 8
  %94 = invoke noundef zeroext i1 @_ZN5ImGui10BeginChildEjRK6ImVec2ii(i32 noundef %79, ptr noundef nonnull align 4 dereferenceable(8) %10, i32 noundef 0, i32 noundef %93)
          to label %95 unwind label %89

95:                                               ; preds = %91
  br i1 %94, label %96, label %156

96:                                               ; preds = %95
  %97 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %8)
          to label %98 unwind label %89

98:                                               ; preds = %96
  %99 = getelementptr inbounds i8, ptr %0, i64 4544
  %100 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %99) #8
  br i1 %100, label %101, label %103

101:                                              ; preds = %98
  %102 = invoke noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSEPKc(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.22)
          to label %103 unwind label %89

103:                                              ; preds = %101, %98
  invoke void @_ZN4IGFD13FilterManager28SetDefaultFilterIfNotDefinedEv(ptr noundef nonnull align 8 dereferenceable(424) %34)
          to label %104 unwind label %89

104:                                              ; preds = %103
  %105 = call noundef zeroext i1 @_ZN4IGFD11FileManager15IsFileListEmptyEv(ptr noundef nonnull align 8 dereferenceable(4648) %16)
  br i1 %105, label %106, label %142

106:                                              ; preds = %104
  %107 = getelementptr inbounds i8, ptr %0, i64 4536
  %108 = load i8, ptr %107, align 8, !tbaa !150, !range !70, !noundef !71
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %142, label %110

110:                                              ; preds = %106
  %111 = invoke noundef zeroext i1 @_ZStneIcSt11char_traitsIcESaIcEEbRKNSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_(ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull @.str.22)
          to label %112 unwind label %89

112:                                              ; preds = %110
  br i1 %111, label %113, label %123

113:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %114 unwind label %118

114:                                              ; preds = %113
  %115 = getelementptr inbounds i8, ptr %0, i64 4576
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #8
  store i64 10, ptr %13, align 8, !tbaa !151
  %116 = invoke noundef zeroext i1 @_ZN4IGFD5Utils13ReplaceStringERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS6_S9_RKm(ptr noundef nonnull align 8 dereferenceable(32) %115, ptr noundef nonnull align 8 dereferenceable(32) %99, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(8) %13)
          to label %117 unwind label %120

117:                                              ; preds = %114
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %123

118:                                              ; preds = %113
  %119 = landingpad { ptr, i32 }
          cleanup
  br label %122

120:                                              ; preds = %114
  %121 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #8
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #8
  br label %122

122:                                              ; preds = %120, %118
  %.pn = phi { ptr, i32 } [ %121, %120 ], [ %119, %118 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #8
  br label %175

123:                                              ; preds = %117, %112
  %124 = getelementptr inbounds i8, ptr %0, i64 4576
  %125 = call noundef zeroext i1 @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5emptyEv(ptr noundef nonnull align 8 dereferenceable(32) %124) #8
  br i1 %125, label %129, label %126

126:                                              ; preds = %123
  invoke void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %16, ptr noundef nonnull align 8 dereferenceable(32) %124)
          to label %127 unwind label %89

127:                                              ; preds = %126
  %128 = getelementptr inbounds i8, ptr %0, i64 5048
  invoke void @_ZN4IGFD13FilterManager24SetSelectedFilterWithExtERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(424) %34, ptr noundef nonnull align 8 dereferenceable(32) %128)
          to label %141 unwind label %89

129:                                              ; preds = %123
  %130 = getelementptr inbounds i8, ptr %0, i64 4616
  %131 = load i8, ptr %130, align 8, !tbaa !152, !range !70, !noundef !71
  %132 = trunc nuw i8 %131 to i1
  br i1 %132, label %133, label %141

133:                                              ; preds = %129
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %15) #8
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull @.str.22, ptr noundef nonnull align 1 dereferenceable(1) %15)
          to label %134 unwind label %136

134:                                              ; preds = %133
  invoke void @_ZN4IGFD11FileManager18SetDefaultFileNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %16, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %135 unwind label %138

135:                                              ; preds = %134
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %141

136:                                              ; preds = %133
  %137 = landingpad { ptr, i32 }
          cleanup
  br label %140

138:                                              ; preds = %134
  %139 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  br label %140

140:                                              ; preds = %138, %136
  %.pn50 = phi { ptr, i32 } [ %139, %138 ], [ %137, %136 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %15) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  br label %175

141:                                              ; preds = %129, %135, %127
  invoke void @_ZN4IGFD11FileManager7ScanDirERKNS_18FileDialogInternalERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(4648) %16, ptr noundef nonnull align 8 dereferenceable(6528) %16, ptr noundef nonnull align 8 dereferenceable(32) %99)
          to label %142 unwind label %89

142:                                              ; preds = %141, %106, %104
  %143 = load ptr, ptr %0, align 8, !tbaa !153
  %144 = getelementptr inbounds i8, ptr %143, i64 24
  %145 = load ptr, ptr %144, align 8
  invoke void %145(ptr noundef nonnull align 8 dereferenceable(6620) %0)
          to label %146 unwind label %89

146:                                              ; preds = %142
  %147 = load ptr, ptr %0, align 8, !tbaa !153
  %148 = getelementptr inbounds i8, ptr %147, i64 32
  %149 = load ptr, ptr %148, align 8
  invoke void %149(ptr noundef nonnull align 8 dereferenceable(6620) %0)
          to label %150 unwind label %89

150:                                              ; preds = %146
  %151 = load ptr, ptr %0, align 8, !tbaa !153
  %152 = getelementptr inbounds i8, ptr %151, i64 40
  %153 = load ptr, ptr %152, align 8
  %154 = invoke noundef zeroext i1 %153(ptr noundef nonnull align 8 dereferenceable(6620) %0)
          to label %155 unwind label %89

155:                                              ; preds = %150
  invoke void @_ZN4IGFD10FileDialog10m_EndFrameEv(ptr noundef nonnull align 8 dereferenceable(6620) %0)
          to label %156 unwind label %89

156:                                              ; preds = %155, %95
  %.033 = phi i1 [ %154, %155 ], [ false, %95 ]
  invoke void @_ZN5ImGui8EndChildEv()
          to label %157 unwind label %89

157:                                              ; preds = %156
  %158 = call noundef ptr @_ZN5ImGui20GetCurrentWindowReadEv()
  %159 = getelementptr inbounds i8, ptr %158, i64 600
  %160 = invoke <2 x float> @_ZNK6ImRect9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16) %159)
          to label %161 unwind label %172

161:                                              ; preds = %157
  %162 = getelementptr inbounds i8, ptr %0, i64 6180
  store <2 x float> %160, ptr %162, align 4
  %163 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %164 = getelementptr inbounds i8, ptr %163, i64 112
  %165 = load i32, ptr %164, align 8, !tbaa !148
  %166 = and i32 %165, 512
  %.not52 = icmp eq i32 %166, 0
  br i1 %.not52, label %174, label %167

167:                                              ; preds = %161
  %168 = getelementptr inbounds i8, ptr %0, i64 6197
  %169 = load i8, ptr %168, align 1, !tbaa !149, !range !70, !noundef !71
  %170 = trunc nuw i8 %169 to i1
  br i1 %170, label %174, label %171

171:                                              ; preds = %167
  invoke void @_ZN5ImGui8EndPopupEv()
          to label %174 unwind label %89

172:                                              ; preds = %157
  %173 = landingpad { ptr, i32 }
          cleanup
  br label %175

174:                                              ; preds = %171, %167, %161
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %176

175:                                              ; preds = %172, %140, %122, %89
  %.pn53 = phi { ptr, i32 } [ %90, %89 ], [ %173, %172 ], [ %.pn50, %140 ], [ %.pn, %122 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #8
  br label %204

176:                                              ; preds = %174, %77
  %.134 = phi i1 [ %.033, %174 ], [ false, %77 ]
  %177 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %178 = getelementptr inbounds i8, ptr %177, i64 112
  %179 = load i32, ptr %178, align 8, !tbaa !148
  %180 = and i32 %179, 64
  %.not56 = icmp eq i32 %180, 0
  br i1 %.not56, label %181, label %191

181:                                              ; preds = %176
  %182 = call noundef nonnull align 8 dereferenceable(192) ptr @_ZNK4IGFD18FileDialogInternal15getDialogConfigEv(ptr noundef nonnull align 8 dereferenceable(6528) %16)
  %183 = getelementptr inbounds i8, ptr %182, i64 112
  %184 = load i32, ptr %183, align 8, !tbaa !148
  %185 = and i32 %184, 512
  %.not57 = icmp eq i32 %185, 0
  br i1 %.not57, label %190, label %186

186:                                              ; preds = %181
  %187 = getelementptr inbounds i8, ptr %0, i64 6197
  %188 = load i8, ptr %187, align 1, !tbaa !149, !range !70, !noundef !71
  %189 = trunc nuw i8 %188 to i1
  br i1 %189, label %190, label %191

190:                                              ; preds = %186, %181
  invoke void @_ZN5ImGui3EndEv()
          to label %191 unwind label %70

191:                                              ; preds = %186, %190, %176
  %192 = invoke noundef zeroext i1 @_ZN4IGFD10FileDialog45m_Confirm_Or_OpenOverWriteFileDialog_IfNeededEbi(ptr noundef nonnull align 8 dereferenceable(6620) %0, i1 noundef zeroext %.134, i32 noundef %2)
          to label %193 unwind label %70

193:                                              ; preds = %191
  %194 = load i8, ptr %24, align 1, !tbaa !72, !range !70, !noundef !71
  %195 = trunc nuw i8 %194 to i1
  br i1 %195, label %196, label %202

196:                                              ; preds = %193
  %197 = getelementptr inbounds i8, ptr %0, i64 6276
  %198 = load i32, ptr %197, align 4, !tbaa !73
  %199 = getelementptr inbounds i8, ptr %0, i64 6312
  %200 = call noundef ptr @_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv(ptr noundef nonnull align 8 dereferenceable(32) %199) #8
  %201 = call ptr @setlocale(i32 noundef %198, ptr noundef %200) #8
  br label %202

202:                                              ; preds = %196, %193
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  br label %203

203:                                              ; preds = %33, %202
  %.2 = phi i1 [ %192, %202 ], [ false, %33 ]
  %spec.select = and i1 %.not61, %.2
  br label %206

204:                                              ; preds = %87, %175, %70
  %.pn58 = phi { ptr, i32 } [ %71, %70 ], [ %.pn53, %175 ], [ %88, %87 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #8
  br label %205

205:                                              ; preds = %204, %46
  %.pn58.pn = phi { ptr, i32 } [ %.pn58, %204 ], [ %47, %46 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #8
  resume { ptr, i32 } %.pn58.pn

206:                                              ; preds = %203, %5, %20
  %.1 = phi i1 [ false, %20 ], [ false, %5 ], [ %spec.select, %203 ]
  ret i1 %.1
}

; Function Attrs: nounwind
declare ptr @setlocale(i32 noundef, ptr noundef) local_unnamed_addr #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4IGFD10FileDialog10m_NewFrameEv(ptr noundef nonnull align 8 dereferenceable(6620)) local_unnamed_addr #1 align 2

declare void @_ZN5ImGui28SetNextWindowSizeConstraintsERK6ImVec2S2_PFvP21ImGuiSizeCallbackDataEPv(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef, ptr noundef) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN5ImGui15BeginPopupModalEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN5ImGui5BeginEPKcPbi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4IGFD10FileDialog10m_EndFrameEv(ptr noundef nonnull align 8 dereferenceable(6620)) local_unnamed_addr #2 align 2

declare void @_ZN5ImGui8EndChildEv() local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui20GetCurrentWindowReadEv() local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6ImRect9GetCenterEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #6 align 2

declare void @_ZN5ImGui8EndPopupEv() local_unnamed_addr #5

declare void @_ZN5ImGui3EndEv() local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4IGFD10FileDialog45m_Confirm_Or_OpenOverWriteFileDialog_IfNeededEbi(ptr noundef nonnull align 8 dereferenceable(6620), i1 noundef zeroext, i32 noundef) local_unnamed_addr #6 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { 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 #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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 #7 = { 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 #8 = { 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, !32, i64 6176}
!6 = !{!"_ZTSN4IGFD10FileDialogE", !7, i64 8, !69, i64 6536, !69, i64 6576, !49, i64 6616}
!7 = !{!"_ZTSN4IGFD18FileDialogInternalE", !8, i64 0, !40, i64 4648, !62, i64 5072, !9, i64 6136, !32, i64 6168, !63, i64 6172, !64, i64 6180, !49, i64 6184, !32, i64 6188, !32, i64 6189, !32, i64 6190, !32, i64 6191, !32, i64 6192, !9, i64 6200, !9, i64 6232, !32, i64 6264, !32, i64 6265, !64, i64 6268, !9, i64 6272, !9, i64 6304, !65, i64 6336}
!8 = !{!"_ZTSN4IGFD11FileManagerE", !9, i64 0, !15, i64 32, !19, i64 56, !19, i64 80, !19, i64 104, !19, i64 128, !23, i64 152, !9, i64 160, !24, i64 192, !32, i64 240, !9, i64 248, !33, i64 280, !32, i64 288, !32, i64 289, !32, i64 290, !12, i64 291, !12, i64 1315, !12, i64 2339, !12, i64 3363, !9, i64 4392, !9, i64 4424, !9, i64 4456, !9, i64 4488, !12, i64 4520, !39, i64 4524, !32, i64 4528, !9, i64 4536, !9, i64 4568, !14, i64 4600, !32, i64 4608, !9, i64 4616}
!9 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !10, i64 0, !14, i64 8, !12, i64 16}
!10 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !13, i64 0}
!13 = !{!"Simple C++ TBAA"}
!14 = !{!"long", !12, i64 0}
!15 = !{!"_ZTSSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!19 = !{!"_ZTSSt6vectorISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseISt10shared_ptrIN4IGFD9FileInfosEESaIS3_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!23 = !{!"_ZTSN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS6_SaIS6_EEEE", !11, i64 0}
!24 = !{!"_ZTSSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIS5_ESaIS5_EE", !25, i64 0}
!25 = !{!"_ZTSSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE", !26, i64 0}
!26 = !{!"_ZTSNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE13_Rb_tree_implIS9_Lb1EEE", !27, i64 0, !29, i64 8}
!27 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !28, i64 0}
!28 = !{!"_ZTSSt4lessINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEE"}
!29 = !{!"_ZTSSt15_Rb_tree_header", !30, i64 0, !14, i64 32}
!30 = !{!"_ZTSSt18_Rb_tree_node_base", !31, i64 0, !11, i64 8, !11, i64 16, !11, i64 24}
!31 = !{!"_ZTSSt14_Rb_tree_color", !12, i64 0}
!32 = !{!"bool", !12, i64 0}
!33 = !{!"_ZTSSt10unique_ptrIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !34, i64 0}
!34 = !{!"_ZTSSt15__uniq_ptr_dataIN4IGFD11IFileSystemESt14default_deleteIS1_ELb1ELb1EE", !35, i64 0}
!35 = !{!"_ZTSSt15__uniq_ptr_implIN4IGFD11IFileSystemESt14default_deleteIS1_EE", !36, i64 0}
!36 = !{!"_ZTSSt5tupleIJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !37, i64 0}
!37 = !{!"_ZTSSt11_Tuple_implILm0EJPN4IGFD11IFileSystemESt14default_deleteIS1_EEE", !38, i64 0}
!38 = !{!"_ZTSSt10_Head_baseILm0EPN4IGFD11IFileSystemELb0EE", !11, i64 0}
!39 = !{!"_ZTSN4IGFD11FileManager16SortingFieldEnumE", !12, i64 0}
!40 = !{!"_ZTSN4IGFD13FilterManagerE", !41, i64 0, !45, i64 24, !50, i64 80, !54, i64 104, !9, i64 360, !9, i64 392}
!41 = !{!"_ZTSSt6vectorIN4IGFD11FilterInfosESaIS1_EE", !42, i64 0}
!42 = !{!"_ZTSSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE", !43, i64 0}
!43 = !{!"_ZTSNSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE12_Vector_implE", !44, i64 0}
!44 = !{!"_ZTSNSt12_Vector_baseIN4IGFD11FilterInfosESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!45 = !{!"_ZTSSt13unordered_mapIiS_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN4IGFD9FileStyleEESt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_S9_EEESA_IiESC_IiESaISE_IKiSI_EEE", !46, i64 0}
!46 = !{!"_ZTSSt10_HashtableIiSt4pairIKiSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt10shared_ptrIN4IGFD9FileStyleEESt4hashIS8_ESt8equal_toIS8_ESaIS0_IKS8_SC_EEEESaISL_ENSt8__detail10_Select1stESF_IiESD_IiENSN_18_Mod_range_hashingENSN_20_Default_ranged_hashENSN_20_Prime_rehash_policyENSN_17_Hashtable_traitsILb0ELb0ELb1EEEE", !11, i64 0, !14, i64 8, !47, i64 16, !14, i64 24, !48, i64 32, !11, i64 48}
!47 = !{!"_ZTSNSt8__detail15_Hash_node_baseE", !11, i64 0}
!48 = !{!"_ZTSNSt8__detail20_Prime_rehash_policyE", !49, i64 0, !14, i64 8}
!49 = !{!"float", !12, i64 0}
!50 = !{!"_ZTSSt6vectorISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE", !51, i64 0}
!51 = !{!"_ZTSSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE", !52, i64 0}
!52 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE12_Vector_implE", !53, i64 0}
!53 = !{!"_ZTSNSt12_Vector_baseISt8functionIFbRKN4IGFD9FileInfosERNS1_9FileStyleEEESaIS8_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!54 = !{!"_ZTSN4IGFD11FilterInfosE", !9, i64 0, !9, i64 32, !55, i64 64, !55, i64 144, !58, i64 224, !14, i64 248}
!55 = !{!"_ZTSN4IGFD16SearchableVectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE", !56, i64 0, !15, i64 56}
!56 = !{!"_ZTSSt13unordered_mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmSt4hashIS5_ESt8equal_toIS5_ESaISt4pairIKS5_mEEE", !57, i64 0}
!57 = !{!"_ZTSSt10_HashtableINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_mESaIS8_ENSt8__detail10_Select1stESt8equal_toIS5_ESt4hashIS5_ENSA_18_Mod_range_hashingENSA_20_Default_ranged_hashENSA_20_Prime_rehash_policyENSA_17_Hashtable_traitsILb1ELb0ELb1EEEE", !11, i64 0, !14, i64 8, !47, i64 16, !14, i64 24, !48, i64 32, !11, i64 48}
!58 = !{!"_ZTSSt6vectorINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE", !59, i64 0}
!59 = !{!"_ZTSSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE", !60, i64 0}
!60 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE12_Vector_implE", !61, i64 0}
!61 = !{!"_ZTSNSt12_Vector_baseINSt7__cxx1111basic_regexIcNS0_12regex_traitsIcEEEESaIS4_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!62 = !{!"_ZTSN4IGFD13SearchManagerE", !9, i64 0, !12, i64 32, !32, i64 1056}
!63 = !{!"_ZTS6ImVec2", !49, i64 0, !49, i64 4}
!64 = !{!"int", !12, i64 0}
!65 = !{!"_ZTSN4IGFD16FileDialogConfigE", !9, i64 0, !9, i64 32, !9, i64 64, !64, i64 96, !11, i64 104, !64, i64 112, !66, i64 120, !49, i64 152, !68, i64 160}
!66 = !{!"_ZTSSt8functionIFvPKcPvPbEE", !67, i64 0, !11, i64 24}
!67 = !{!"_ZTSSt14_Function_base", !12, i64 0, !11, i64 16}
!68 = !{!"_ZTSSt8functionIFbPN4IGFD9FileInfosEPvEE", !67, i64 0, !11, i64 24}
!69 = !{!"_ZTS16ImGuiListClipper", !11, i64 0, !64, i64 8, !64, i64 12, !64, i64 16, !49, i64 20, !49, i64 24, !11, i64 32}
!70 = !{i8 0, i8 2}
!71 = !{}
!72 = !{!6, !32, i64 6273}
!73 = !{!6, !64, i64 6276}
!74 = !{!11, !11, i64 0}
!75 = !{!76, !64, i64 16216}
!76 = !{!"_ZTS12ImGuiContext", !32, i64 0, !32, i64 1, !77, i64 8, !81, i64 14568, !11, i64 15664, !49, i64 15672, !49, i64 15676, !82, i64 15680, !85, i64 16208, !64, i64 16216, !64, i64 16220, !64, i64 16224, !32, i64 16228, !32, i64 16229, !32, i64 16230, !32, i64 16231, !32, i64 16232, !11, i64 16240, !86, i64 16248, !86, i64 16264, !79, i64 16280, !64, i64 16284, !87, i64 16288, !87, i64 16304, !87, i64 16320, !88, i64 16336, !89, i64 16352, !64, i64 16368, !63, i64 16372, !64, i64 16380, !11, i64 16384, !11, i64 16392, !11, i64 16400, !11, i64 16408, !11, i64 16416, !63, i64 16424, !64, i64 16432, !64, i64 16436, !49, i64 16440, !63, i64 16444, !63, i64 16452, !64, i64 16460, !64, i64 16464, !64, i64 16468, !32, i64 16472, !32, i64 16473, !49, i64 16476, !49, i64 16480, !64, i64 16484, !64, i64 16488, !49, i64 16492, !32, i64 16496, !32, i64 16497, !32, i64 16498, !32, i64 16499, !32, i64 16500, !32, i64 16501, !63, i64 16504, !11, i64 16512, !91, i64 16520, !64, i64 16524, !64, i64 16528, !32, i64 16532, !32, i64 16533, !11, i64 16536, !64, i64 16544, !49, i64 16548, !85, i64 16552, !85, i64 16560, !85, i64 16568, !92, i64 16576, !12, i64 16596, !93, i64 18448, !64, i64 18792, !32, i64 18796, !64, i64 18800, !64, i64 18804, !64, i64 18808, !64, i64 18812, !64, i64 18816, !95, i64 18824, !97, i64 18848, !99, i64 18928, !32, i64 19040, !64, i64 19044, !100, i64 19048, !101, i64 19064, !102, i64 19080, !103, i64 19096, !104, i64 19112, !105, i64 19128, !106, i64 19144, !106, i64 19160, !107, i64 19176, !64, i64 19192, !108, i64 19200, !11, i64 19216, !64, i64 19224, !64, i64 19228, !103, i64 19232, !64, i64 19248, !64, i64 19252, !64, i64 19256, !64, i64 19260, !64, i64 19264, !64, i64 19268, !64, i64 19272, !64, i64 19276, !64, i64 19280, !91, i64 19284, !109, i64 19288, !96, i64 19296, !32, i64 19304, !32, i64 19305, !32, i64 19306, !32, i64 19307, !32, i64 19308, !32, i64 19309, !32, i64 19310, !110, i64 19312, !32, i64 19376, !32, i64 19377, !32, i64 19378, !64, i64 19380, !64, i64 19384, !64, i64 19388, !64, i64 19392, !64, i64 19396, !64, i64 19400, !98, i64 19404, !98, i64 19420, !64, i64 19436, !64, i64 19440, !64, i64 19444, !110, i64 19448, !110, i64 19512, !110, i64 19576, !110, i64 19640, !64, i64 19704, !64, i64 19708, !11, i64 19712, !11, i64 19720, !11, i64 19728, !49, i64 19736, !49, i64 19740, !32, i64 19744, !63, i64 19748, !63, i64 19756, !49, i64 19764, !32, i64 19768, !32, i64 19769, !32, i64 19770, !64, i64 19772, !64, i64 19776, !64, i64 19780, !111, i64 19784, !98, i64 19848, !98, i64 19864, !64, i64 19880, !64, i64 19884, !49, i64 19888, !64, i64 19892, !64, i64 19896, !64, i64 19900, !64, i64 19904, !112, i64 19912, !12, i64 19928, !64, i64 19944, !113, i64 19952, !11, i64 19968, !64, i64 19976, !64, i64 19980, !114, i64 19984, !115, i64 20000, !117, i64 20040, !118, i64 20056, !11, i64 20072, !119, i64 20080, !121, i64 20120, !122, i64 20136, !64, i64 20152, !64, i64 20156, !49, i64 20160, !49, i64 20164, !64, i64 20168, !64, i64 20172, !64, i64 20176, !49, i64 20180, !63, i64 20184, !123, i64 20192, !127, i64 23920, !128, i64 23944, !64, i64 24064, !64, i64 24068, !64, i64 24072, !64, i64 24076, !49, i64 24080, !49, i64 24084, !64, i64 24088, !83, i64 24092, !130, i64 24108, !98, i64 24156, !32, i64 24172, !49, i64 24176, !49, i64 24180, !32, i64 24184, !32, i64 24185, !49, i64 24188, !49, i64 24192, !49, i64 24196, !49, i64 24200, !78, i64 24204, !78, i64 24206, !78, i64 24208, !124, i64 24216, !131, i64 24232, !132, i64 24248, !134, i64 24352, !134, i64 24368, !32, i64 24384, !49, i64 24388, !135, i64 24392, !136, i64 24408, !137, i64 24424, !138, i64 24440, !139, i64 24456, !64, i64 24472, !12, i64 24480, !32, i64 24544, !140, i64 24548, !11, i64 24552, !135, i64 24560, !11, i64 24576, !11, i64 24584, !49, i64 24592, !32, i64 24596, !64, i64 24600, !64, i64 24604, !64, i64 24608, !64, i64 24612, !135, i64 24616, !141, i64 24632, !64, i64 24656, !12, i64 24660, !12, i64 24661, !32, i64 24662, !64, i64 24664, !12, i64 24668, !32, i64 24669, !12, i64 24670, !64, i64 24672, !49, i64 24676, !83, i64 24680, !142, i64 24696, !143, i64 24720, !145, i64 24760, !12, i64 24820, !64, i64 25060, !64, i64 25064, !49, i64 25068, !64, i64 25072, !64, i64 25076, !64, i64 25080, !124, i64 25088, !12, i64 25104}
!77 = !{!"_ZTS7ImGuiIO", !64, i64 0, !64, i64 4, !63, i64 8, !49, i64 16, !49, i64 20, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !49, i64 56, !32, i64 60, !11, i64 64, !63, i64 72, !32, i64 80, !32, i64 81, !32, i64 82, !32, i64 83, !32, i64 84, !32, i64 85, !32, i64 86, !32, i64 87, !49, i64 88, !49, i64 92, !49, i64 96, !49, i64 100, !49, i64 104, !49, i64 108, !32, i64 112, !32, i64 113, !32, i64 114, !32, i64 115, !32, i64 116, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !78, i64 192, !32, i64 194, !32, i64 195, !32, i64 196, !32, i64 197, !32, i64 198, !32, i64 199, !32, i64 200, !49, i64 204, !64, i64 208, !64, i64 212, !64, i64 216, !64, i64 220, !63, i64 224, !12, i64 232, !12, i64 2896, !12, i64 3564, !11, i64 3632, !63, i64 3640, !12, i64 3648, !49, i64 3656, !49, i64 3660, !79, i64 3664, !32, i64 3668, !32, i64 3669, !32, i64 3670, !32, i64 3671, !64, i64 3672, !12, i64 3676, !32, i64 14332, !63, i64 14336, !12, i64 14344, !12, i64 14384, !12, i64 14424, !12, i64 14429, !12, i64 14434, !12, i64 14444, !12, i64 14454, !12, i64 14459, !12, i64 14464, !32, i64 14469, !12, i64 14472, !12, i64 14492, !12, i64 14512, !49, i64 14532, !32, i64 14536, !32, i64 14537, !12, i64 14538, !32, i64 14539, !78, i64 14540, !80, i64 14544}
!78 = !{!"short", !12, i64 0}
!79 = !{!"_ZTS16ImGuiMouseSource", !12, i64 0}
!80 = !{!"_ZTS8ImVectorItE", !64, i64 0, !64, i64 4, !11, i64 8}
!81 = !{!"_ZTS10ImGuiStyle", !49, i64 0, !49, i64 4, !63, i64 8, !49, i64 16, !49, i64 20, !63, i64 24, !63, i64 32, !64, i64 40, !49, i64 44, !49, i64 48, !49, i64 52, !49, i64 56, !63, i64 60, !49, i64 68, !49, i64 72, !63, i64 76, !63, i64 84, !63, i64 92, !63, i64 100, !49, i64 108, !49, i64 112, !49, i64 116, !49, i64 120, !49, i64 124, !49, i64 128, !49, i64 132, !49, i64 136, !49, i64 140, !49, i64 144, !49, i64 148, !49, i64 152, !64, i64 156, !63, i64 160, !63, i64 168, !49, i64 176, !63, i64 180, !63, i64 188, !63, i64 196, !63, i64 204, !49, i64 212, !32, i64 216, !32, i64 217, !32, i64 218, !49, i64 220, !49, i64 224, !12, i64 228, !49, i64 1076, !49, i64 1080, !49, i64 1084, !64, i64 1088, !64, i64 1092}
!82 = !{!"_ZTS20ImDrawListSharedData", !63, i64 0, !11, i64 8, !49, i64 16, !49, i64 20, !49, i64 24, !83, i64 28, !64, i64 44, !84, i64 48, !12, i64 64, !49, i64 448, !12, i64 452, !11, i64 520}
!83 = !{!"_ZTS6ImVec4", !49, i64 0, !49, i64 4, !49, i64 8, !49, i64 12}
!84 = !{!"_ZTS8ImVectorI6ImVec2E", !64, i64 0, !64, i64 4, !11, i64 8}
!85 = !{!"double", !12, i64 0}
!86 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !64, i64 0, !64, i64 4, !11, i64 8}
!87 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !64, i64 0, !64, i64 4, !11, i64 8}
!88 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!89 = !{!"_ZTS12ImGuiStorage", !90, i64 0}
!90 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !64, i64 0, !64, i64 4, !11, i64 8}
!91 = !{!"_ZTS16ImGuiInputSource", !12, i64 0}
!92 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !12, i64 0}
!93 = !{!"_ZTS20ImGuiKeyRoutingTable", !12, i64 0, !94, i64 312, !94, i64 328}
!94 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!95 = !{!"_ZTS17ImGuiNextItemData", !64, i64 0, !64, i64 4, !96, i64 8, !49, i64 16, !32, i64 20, !64, i64 21}
!96 = !{!"long long", !12, i64 0}
!97 = !{!"_ZTS17ImGuiLastItemData", !64, i64 0, !64, i64 4, !64, i64 8, !98, i64 12, !98, i64 28, !98, i64 44, !98, i64 60}
!98 = !{!"_ZTS6ImRect", !63, i64 0, !63, i64 8}
!99 = !{!"_ZTS19ImGuiNextWindowData", !64, i64 0, !64, i64 4, !64, i64 8, !64, i64 12, !63, i64 16, !63, i64 24, !63, i64 32, !63, i64 40, !63, i64 48, !64, i64 56, !32, i64 60, !98, i64 64, !11, i64 80, !11, i64 88, !49, i64 96, !63, i64 100}
!100 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !64, i64 0, !64, i64 4, !11, i64 8}
!101 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !64, i64 0, !64, i64 4, !11, i64 8}
!102 = !{!"_ZTS8ImVectorIP6ImFontE", !64, i64 0, !64, i64 4, !11, i64 8}
!103 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!104 = !{!"_ZTS8ImVectorIiE", !64, i64 0, !64, i64 4, !11, i64 8}
!105 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!106 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!107 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!108 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !64, i64 0, !64, i64 4, !11, i64 8}
!109 = !{!"_ZTS13ImGuiNavLayer", !12, i64 0}
!110 = !{!"_ZTS16ImGuiNavItemData", !11, i64 0, !64, i64 8, !64, i64 12, !98, i64 16, !64, i64 32, !96, i64 40, !49, i64 48, !49, i64 52, !49, i64 56}
!111 = !{!"_ZTS12ImGuiPayload", !11, i64 0, !64, i64 8, !64, i64 12, !64, i64 16, !64, i64 20, !12, i64 24, !32, i64 57, !32, i64 58}
!112 = !{!"_ZTS8ImVectorIhE", !64, i64 0, !64, i64 4, !11, i64 8}
!113 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!114 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !64, i64 0, !64, i64 4, !11, i64 8}
!115 = !{!"_ZTS6ImPoolI10ImGuiTableE", !116, i64 0, !89, i64 16, !64, i64 32, !64, i64 36}
!116 = !{!"_ZTS8ImVectorI10ImGuiTableE", !64, i64 0, !64, i64 4, !11, i64 8}
!117 = !{!"_ZTS8ImVectorIfE", !64, i64 0, !64, i64 4, !11, i64 8}
!118 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !64, i64 0, !64, i64 4, !11, i64 8}
!119 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !120, i64 0, !89, i64 16, !64, i64 32, !64, i64 36}
!120 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !64, i64 0, !64, i64 4, !11, i64 8}
!121 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !64, i64 0, !64, i64 4, !11, i64 8}
!122 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !64, i64 0, !64, i64 4, !11, i64 8}
!123 = !{!"_ZTS19ImGuiInputTextState", !11, i64 0, !64, i64 8, !64, i64 12, !64, i64 16, !80, i64 24, !124, i64 40, !124, i64 56, !32, i64 72, !64, i64 76, !49, i64 80, !125, i64 84, !49, i64 3712, !32, i64 3716, !32, i64 3717, !32, i64 3718, !64, i64 3720}
!124 = !{!"_ZTS8ImVectorIcE", !64, i64 0, !64, i64 4, !11, i64 8}
!125 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !64, i64 0, !64, i64 4, !64, i64 8, !12, i64 12, !64, i64 16, !12, i64 20, !12, i64 21, !12, i64 22, !12, i64 23, !12, i64 24, !12, i64 25, !12, i64 26, !49, i64 28, !126, i64 32}
!126 = !{!"_ZTSN5ImStb12StbUndoStateE", !12, i64 0, !12, i64 1584, !78, i64 3582, !78, i64 3584, !64, i64 3588, !64, i64 3592}
!127 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !64, i64 0, !124, i64 8}
!128 = !{!"_ZTS6ImFont", !117, i64 0, !49, i64 16, !49, i64 20, !80, i64 24, !129, i64 40, !11, i64 56, !11, i64 64, !11, i64 72, !78, i64 80, !78, i64 82, !78, i64 84, !78, i64 86, !49, i64 88, !49, i64 92, !32, i64 96, !49, i64 100, !49, i64 104, !49, i64 108, !64, i64 112, !12, i64 116}
!129 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !64, i64 0, !64, i64 4, !11, i64 8}
!130 = !{!"_ZTS21ImGuiComboPreviewData", !98, i64 0, !63, i64 16, !63, i64 24, !63, i64 32, !49, i64 40, !64, i64 44}
!131 = !{!"_ZTS8ImVectorIjE", !64, i64 0, !64, i64 4, !11, i64 8}
!132 = !{!"_ZTS22ImGuiTypingSelectState", !133, i64 0, !12, i64 24, !64, i64 88, !64, i64 92, !49, i64 96, !32, i64 100}
!133 = !{!"_ZTS24ImGuiTypingSelectRequest", !64, i64 0, !64, i64 4, !11, i64 8, !32, i64 16, !32, i64 17, !12, i64 18}
!134 = !{!"_ZTS20ImGuiPlatformImeData", !32, i64 0, !63, i64 4, !49, i64 12}
!135 = !{!"_ZTS15ImGuiTextBuffer", !124, i64 0}
!136 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !64, i64 0, !64, i64 4, !11, i64 8}
!137 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !124, i64 0}
!138 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !124, i64 0}
!139 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !64, i64 0, !64, i64 4, !11, i64 8}
!140 = !{!"_ZTS12ImGuiLogType", !12, i64 0}
!141 = !{!"_ZTS14ImGuiTextIndex", !104, i64 0, !64, i64 16}
!142 = !{!"_ZTS18ImGuiMetricsConfig", !32, i64 0, !32, i64 1, !32, i64 2, !32, i64 3, !32, i64 4, !32, i64 5, !32, i64 6, !32, i64 7, !32, i64 8, !64, i64 12, !64, i64 16}
!143 = !{!"_ZTS16ImGuiIDStackTool", !64, i64 0, !64, i64 4, !64, i64 8, !144, i64 16, !32, i64 32, !49, i64 36}
!144 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !64, i64 0, !64, i64 4, !11, i64 8}
!145 = !{!"_ZTS19ImGuiDebugAllocInfo", !64, i64 0, !64, i64 4, !78, i64 8, !12, i64 12}
!146 = !{!6, !64, i64 6188}
!147 = !{!64, !64, i64 0}
!148 = !{!65, !64, i64 112}
!149 = !{!6, !32, i64 6197}
!150 = !{!8, !32, i64 4528}
!151 = !{!14, !14, i64 0}
!152 = !{!8, !32, i64 4608}
!153 = !{!154, !154, i64 0}
!154 = !{!"vtable pointer", !13, i64 0}


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