; LLVM IR from aap/librw :: skeleton/imgui/imgui_widgets.ll (ZN5ImGui14EndMultiSelectEv)

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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type { i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.11, %struct.ImVector.11, i32, i32, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.12, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, i8, i8, ptr, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.19, %struct.ImVector.20, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVector.22, ptr, i32, i32, i32, i32, i32, i32, i32, %struct.ImVector.17, i32, float, i32, i32, i32, i64, 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, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.23, [16 x i8], i32, %struct.ImVector.24, ptr, i32, i32, %struct.ImVector.25, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.8, ptr, %struct.ImPool.27, %struct.ImVector.29, %struct.ImVector.30, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.31, %struct.ImPool.32, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, i16, %struct.ImVector.34, %struct.ImVector, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.36, %struct.ImChunkStream, %struct.ImChunkStream.37, %struct.ImVector.38, i32, [9 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.34, [64 x i8] }
%struct.ImGuiIO = type <{ i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, [3 x i8], ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, float, float, float, float, float, i8, i8, i8, i8, i8, [7 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8, i8, i8, i8, i8, i8, [3 x i8], float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], [3 x i8], float, float, i32, i8, i8, i8, i8, i32, [666 x %struct.ImGuiKeyData], i8, [3 x 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, i8, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i8, i8, i16, [2 x i8], %struct.ImVector.5, [666 x i32], [666 x i8], [2 x i8], [16 x float], [4 x i8] }>
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector.5 = 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, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, float, %struct.ImVec4, i32, %struct.ImVector.7, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = 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.13, %struct.ImVector.13 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, %struct.ImRect, ptr, ptr, float, %struct.ImVec2, i32 }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.26, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImPool.27 = type { %struct.ImVector.28, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImPool.32 = type { %struct.ImVector.33, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { ptr, i32, i32, i32, %struct.ImVector.5, %struct.ImVector.34, %struct.ImVector.34, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, i8, i32, i32 }
%"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.34 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.35, 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.35 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector = 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.36 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.34 }
%struct.ImChunkStream.37 = type { %struct.ImVector.34 }
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.34 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.18, 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, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.39, i8, float }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiMultiSelectTempData = type <{ %struct.ImGuiMultiSelectIO, ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, i64, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8 }>
%struct.ImGuiMultiSelectIO = type { %struct.ImVector.41, i64, i64, i8, i8, i32 }
%struct.ImVector.41 = type { i32, i32, ptr }
%struct.ImGuiMultiSelectState = type { ptr, i32, i32, i32, i8, i8, i64, i64 }
%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, float, float, i32, 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, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector, %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.3, 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.0, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%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.3 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.9, %struct.ImVector.10, float, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.8 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv = external hidden unnamed_addr constant [44 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [15 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() #1

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

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) #4

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 noundef) #4

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #6

declare noundef zeroext i1 @_ZN5ImGui24IsMouseDragPastThresholdEif(i32 noundef, float noundef) #4

declare void @_ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect(i32 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12EndBoxSelectERK6ImRecti(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) #7

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(8)) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #8 align 2

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef, ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef, i1 noundef zeroext) #9

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef, ptr noundef) #9

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui14EndMultiSelectEv() #7 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %struct.ImRect, align 4
  %6 = alloca i8, align 1
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImVec2, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #10
  %9 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %9, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #10
  %10 = load ptr, ptr %1, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.ImGuiContext, ptr %10, i32 0, i32 193
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  store ptr %12, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #10
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %13, i32 0, i32 1
  %15 = load ptr, ptr %14, align 8, !tbaa !91
  store ptr %15, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #10
  %16 = load ptr, ptr %1, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ImGuiContext, ptr %16, i32 0, i32 34
  %18 = load ptr, ptr %17, align 8, !tbaa !95
  store ptr %18, ptr %4, align 8, !tbaa !5
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %19, i32 0, i32 2
  %21 = load i32, ptr %20, align 8, !tbaa !96
  %22 = load ptr, ptr %1, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiContext, ptr %22, i32 0, i32 83
  %24 = load i32, ptr %23, align 4, !tbaa !97
  %25 = icmp eq i32 %21, %24
  br i1 %25, label %26, label %27

26:                                               ; preds = %0
  br label %29

27:                                               ; preds = %0
  call void @__assert_fail(ptr noundef @.str.159, ptr noundef @.str.2, i32 noundef 7478, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #11
  unreachable

28:                                               ; No predecessors!
  br label %29

29:                                               ; preds = %28, %26
  %30 = load ptr, ptr %1, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiContext, ptr %30, i32 0, i32 193
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %42

34:                                               ; preds = %29
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !98
  %38 = load ptr, ptr %1, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiContext, ptr %38, i32 0, i32 34
  %40 = load ptr, ptr %39, align 8, !tbaa !95
  %41 = icmp eq ptr %37, %40
  br label %42

42:                                               ; preds = %34, %29
  %43 = phi i1 [ false, %29 ], [ %41, %34 ]
  br i1 %43, label %44, label %45

44:                                               ; preds = %42
  br label %47

45:                                               ; preds = %42
  call void @__assert_fail(ptr noundef @.str.160, ptr noundef @.str.2, i32 noundef 7479, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #11
  unreachable

46:                                               ; No predecessors!
  br label %47

47:                                               ; preds = %46, %44
  %48 = load ptr, ptr %1, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiContext, ptr %48, i32 0, i32 194
  %50 = load i32, ptr %49, align 8, !tbaa !100
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %52, label %64

52:                                               ; preds = %47
  %53 = load ptr, ptr %1, align 8, !tbaa !5
  %54 = getelementptr inbounds %struct.ImGuiContext, ptr %53, i32 0, i32 195
  %55 = load ptr, ptr %1, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiContext, ptr %55, i32 0, i32 194
  %57 = load i32, ptr %56, align 8, !tbaa !100
  %58 = sub nsw i32 %57, 1
  %59 = call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %54, i32 noundef %58)
  %60 = load ptr, ptr %1, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 193
  %62 = load ptr, ptr %61, align 8, !tbaa !9
  %63 = icmp eq ptr %59, %62
  br label %64

64:                                               ; preds = %52, %47
  %65 = phi i1 [ false, %47 ], [ %63, %52 ]
  br i1 %65, label %66, label %67

66:                                               ; preds = %64
  br label %69

67:                                               ; preds = %64
  call void @__assert_fail(ptr noundef @.str.161, ptr noundef @.str.2, i32 noundef 7480, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #11
  unreachable

68:                                               ; No predecessors!
  br label %69

69:                                               ; preds = %68, %66
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #10
  %70 = load ptr, ptr %2, align 8, !tbaa !5
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = call { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef %70, ptr noundef %71)
  %73 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 0
  %74 = extractvalue { <2 x float>, <2 x float> } %72, 0
  store <2 x float> %74, ptr %73, align 4
  %75 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %5, i32 0, i32 1
  %76 = extractvalue { <2 x float>, <2 x float> } %72, 1
  store <2 x float> %76, ptr %75, align 4
  %77 = load ptr, ptr %2, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %77, i32 0, i32 11
  %79 = load i8, ptr %78, align 2, !tbaa !101, !range !102, !noundef !103
  %80 = trunc i8 %79 to i1
  br i1 %80, label %81, label %157

81:                                               ; preds = %69
  %82 = load ptr, ptr %2, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %83, i32 0, i32 4
  %85 = load i8, ptr %84, align 1, !tbaa !104, !range !102, !noundef !103
  %86 = trunc i8 %85 to i1
  br i1 %86, label %100, label %87

87:                                               ; preds = %81
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %88, i32 0, i32 14
  %90 = load i8, ptr %89, align 1, !tbaa !105, !range !102, !noundef !103
  %91 = trunc i8 %90 to i1
  %92 = zext i1 %91 to i32
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %113

94:                                               ; preds = %87
  %95 = load ptr, ptr %2, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %95, i32 0, i32 0
  %97 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %96, i32 0, i32 1
  %98 = load i64, ptr %97, align 8, !tbaa !106
  %99 = icmp ne i64 %98, -1
  br i1 %99, label %100, label %113

100:                                              ; preds = %94, %81
  br label %101

101:                                              ; preds = %100
  %102 = load ptr, ptr %1, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 260
  %104 = load i32, ptr %103, align 4, !tbaa !107
  %105 = and i32 %104, 32
  %106 = icmp ne i32 %105, 0
  br i1 %106, label %107, label %108

107:                                              ; preds = %101
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.162)
  br label %108

108:                                              ; preds = %107, %101
  br label %109

109:                                              ; preds = %108
  br label %110

110:                                              ; preds = %109
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %111, i32 0, i32 6
  store i64 -1, ptr %112, align 8, !tbaa !108
  br label %113

113:                                              ; preds = %110, %94, %87
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %114, i32 0, i32 13
  %116 = load i8, ptr %115, align 4, !tbaa !109, !range !102, !noundef !103
  %117 = trunc i8 %116 to i1
  %118 = zext i1 %117 to i32
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %140

120:                                              ; preds = %113
  %121 = load ptr, ptr %3, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %121, i32 0, i32 7
  %123 = load i64, ptr %122, align 8, !tbaa !110
  %124 = icmp ne i64 %123, -1
  br i1 %124, label %125, label %140

125:                                              ; preds = %120
  br label %126

126:                                              ; preds = %125
  %127 = load ptr, ptr %1, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiContext, ptr %127, i32 0, i32 260
  %129 = load i32, ptr %128, align 4, !tbaa !107
  %130 = and i32 %129, 32
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %133

132:                                              ; preds = %126
  call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef @.str.163)
  br label %133

133:                                              ; preds = %132, %126
  br label %134

134:                                              ; preds = %133
  br label %135

135:                                              ; preds = %134
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %136, i32 0, i32 7
  store i64 -1, ptr %137, align 8, !tbaa !110
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %138, i32 0, i32 5
  store i8 -1, ptr %139, align 1, !tbaa !111
  br label %140

140:                                              ; preds = %135, %120, %113
  %141 = load ptr, ptr %2, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %141, i32 0, i32 3
  %143 = load i32, ptr %142, align 4, !tbaa !112
  %144 = and i32 %143, 192
  %145 = icmp ne i32 %144, 0
  br i1 %145, label %146, label %156

146:                                              ; preds = %140
  %147 = load ptr, ptr %2, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %147, i32 0, i32 7
  %149 = load i32, ptr %148, align 8, !tbaa !113
  %150 = call noundef ptr @_ZN5ImGui17GetBoxSelectStateEj(i32 noundef %149)
  %151 = icmp ne ptr %150, null
  br i1 %151, label %152, label %156

152:                                              ; preds = %146
  %153 = load ptr, ptr %2, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %153, i32 0, i32 3
  %155 = load i32, ptr %154, align 4, !tbaa !112
  call void @_ZN5ImGui12EndBoxSelectERK6ImRecti(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef %155)
  br label %156

156:                                              ; preds = %152, %146, %140
  br label %157

157:                                              ; preds = %156, %69
  %158 = load ptr, ptr %2, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %158, i32 0, i32 10
  %160 = load i8, ptr %159, align 1, !tbaa !114, !range !102, !noundef !103
  %161 = trunc i8 %160 to i1
  %162 = zext i1 %161 to i32
  %163 = icmp eq i32 %162, 0
  br i1 %163, label %164, label %168

164:                                              ; preds = %157
  %165 = load ptr, ptr %2, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %165, i32 0, i32 0
  %167 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %166, i32 0, i32 0
  call void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %167, i32 noundef 0)
  br label %168

168:                                              ; preds = %164, %157
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #10
  %169 = call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %169, label %170, label %177

170:                                              ; preds = %168
  %171 = load ptr, ptr %4, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiWindow, ptr %171, i32 0, i32 71
  %173 = load ptr, ptr %1, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiContext, ptr %173, i32 0, i32 3
  %175 = getelementptr inbounds %struct.ImGuiIO, ptr %174, i32 0, i32 63
  %176 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %172, ptr noundef nonnull align 4 dereferenceable(8) %175)
  br label %177

177:                                              ; preds = %170, %168
  %178 = phi i1 [ false, %168 ], [ %176, %170 ]
  %179 = zext i1 %178 to i8
  store i8 %179, ptr %6, align 1, !tbaa !115
  %180 = load i8, ptr %6, align 1, !tbaa !115, !range !102, !noundef !103
  %181 = trunc i8 %180 to i1
  br i1 %181, label %182, label %200

182:                                              ; preds = %177
  %183 = load ptr, ptr %2, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %183, i32 0, i32 3
  %185 = load i32, ptr %184, align 4, !tbaa !112
  %186 = and i32 %185, 4096
  %187 = icmp ne i32 %186, 0
  br i1 %187, label %188, label %200

188:                                              ; preds = %182
  %189 = load ptr, ptr %1, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 3
  %191 = getelementptr inbounds %struct.ImGuiIO, ptr %190, i32 0, i32 63
  %192 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 4 dereferenceable(8) %191)
  %193 = zext i1 %192 to i32
  %194 = load i8, ptr %6, align 1, !tbaa !115, !range !102, !noundef !103
  %195 = trunc i8 %194 to i1
  %196 = zext i1 %195 to i32
  %197 = and i32 %196, %193
  %198 = icmp ne i32 %197, 0
  %199 = zext i1 %198 to i8
  store i8 %199, ptr %6, align 1, !tbaa !115
  br label %200

200:                                              ; preds = %188, %182, %177
  %201 = load i8, ptr %6, align 1, !tbaa !115, !range !102, !noundef !103
  %202 = trunc i8 %201 to i1
  br i1 %202, label %203, label %286

203:                                              ; preds = %200
  %204 = load ptr, ptr %1, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImGuiContext, ptr %204, i32 0, i32 47
  %206 = load i32, ptr %205, align 8, !tbaa !116
  %207 = icmp eq i32 %206, 0
  br i1 %207, label %208, label %286

208:                                              ; preds = %203
  %209 = load ptr, ptr %1, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiContext, ptr %209, i32 0, i32 54
  %211 = load i32, ptr %210, align 4, !tbaa !117
  %212 = icmp eq i32 %211, 0
  br i1 %212, label %213, label %286

213:                                              ; preds = %208
  %214 = load ptr, ptr %2, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %214, i32 0, i32 3
  %216 = load i32, ptr %215, align 4, !tbaa !112
  %217 = and i32 %216, 192
  %218 = icmp ne i32 %217, 0
  br i1 %218, label %219, label %264

219:                                              ; preds = %213
  %220 = load ptr, ptr %1, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiContext, ptr %220, i32 0, i32 192
  %222 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %221, i32 0, i32 1
  %223 = load i8, ptr %222, align 4, !tbaa !118, !range !102, !noundef !103
  %224 = trunc i8 %223 to i1
  br i1 %224, label %263, label %225

225:                                              ; preds = %219
  %226 = load ptr, ptr %1, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImGuiContext, ptr %226, i32 0, i32 192
  %228 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %227, i32 0, i32 2
  %229 = load i8, ptr %228, align 1, !tbaa !119, !range !102, !noundef !103
  %230 = trunc i8 %229 to i1
  br i1 %230, label %263, label %231

231:                                              ; preds = %225
  %232 = load ptr, ptr %1, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiContext, ptr %232, i32 0, i32 3
  %234 = getelementptr inbounds %struct.ImGuiIO, ptr %233, i32 0, i32 82
  %235 = getelementptr inbounds [5 x i16], ptr %234, i64 0, i64 0
  %236 = load i16, ptr %235, align 2, !tbaa !120
  %237 = zext i16 %236 to i32
  %238 = icmp eq i32 %237, 1
  br i1 %238, label %239, label %263

239:                                              ; preds = %231
  %240 = load ptr, ptr %2, align 8, !tbaa !5
  %241 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %240, i32 0, i32 7
  %242 = load i32, ptr %241, align 8, !tbaa !113
  call void @_ZL21BoxSelectPreStartDragjx(i32 noundef %242, i64 noundef -1)
  %243 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %243, i32 noundef 2)
  %244 = load ptr, ptr %2, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %244, i32 0, i32 7
  %246 = load i32, ptr %245, align 8, !tbaa !113
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %246)
  %247 = load ptr, ptr %2, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %247, i32 0, i32 3
  %249 = load i32, ptr %248, align 4, !tbaa !112
  %250 = and i32 %249, 4096
  %251 = icmp ne i32 %250, 0
  br i1 %251, label %252, label %262

252:                                              ; preds = %239
  %253 = load ptr, ptr %2, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %253, i32 0, i32 2
  %255 = load i32, ptr %254, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #10
  %256 = load ptr, ptr %1, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ImGuiContext, ptr %256, i32 0, i32 3
  %258 = getelementptr inbounds %struct.ImGuiIO, ptr %257, i32 0, i32 63
  %259 = load ptr, ptr %1, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.ImGuiContext, ptr %259, i32 0, i32 3
  %261 = getelementptr inbounds %struct.ImGuiIO, ptr %260, i32 0, i32 63
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %7, ptr noundef nonnull align 4 dereferenceable(8) %258, ptr noundef nonnull align 4 dereferenceable(8) %261)
  call void @_ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect(i32 noundef 0, i32 noundef 0, i32 noundef %255, ptr noundef nonnull align 4 dereferenceable(16) %7)
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #10
  br label %262

262:                                              ; preds = %252, %239
  br label %263

263:                                              ; preds = %262, %231, %225, %219
  br label %264

264:                                              ; preds = %263, %213
  %265 = load ptr, ptr %2, align 8, !tbaa !5
  %266 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %265, i32 0, i32 3
  %267 = load i32, ptr %266, align 4, !tbaa !112
  %268 = and i32 %267, 1024
  %269 = icmp ne i32 %268, 0
  br i1 %269, label %270, label %285

270:                                              ; preds = %264
  %271 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 0)
  br i1 %271, label %272, label %284

272:                                              ; preds = %270
  %273 = call noundef zeroext i1 @_ZN5ImGui24IsMouseDragPastThresholdEif(i32 noundef 0, float noundef -1.000000e+00)
  %274 = zext i1 %273 to i32
  %275 = icmp eq i32 %274, 0
  br i1 %275, label %276, label %284

276:                                              ; preds = %272
  %277 = load ptr, ptr %1, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiContext, ptr %277, i32 0, i32 3
  %279 = getelementptr inbounds %struct.ImGuiIO, ptr %278, i32 0, i32 73
  %280 = load i32, ptr %279, align 8, !tbaa !121
  %281 = icmp eq i32 %280, 0
  br i1 %281, label %282, label %284

282:                                              ; preds = %276
  %283 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef %283, i1 noundef zeroext false)
  br label %284

284:                                              ; preds = %282, %276, %272, %270
  br label %285

285:                                              ; preds = %284, %264
  br label %286

286:                                              ; preds = %285, %208, %203, %200
  %287 = load ptr, ptr %2, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %287, i32 0, i32 3
  %289 = load i32, ptr %288, align 4, !tbaa !112
  %290 = and i32 %289, 65536
  %291 = icmp ne i32 %290, 0
  br i1 %291, label %292, label %303

292:                                              ; preds = %286
  %293 = load ptr, ptr %2, align 8, !tbaa !5
  %294 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %293, i32 0, i32 3
  %295 = load i32, ptr %294, align 4, !tbaa !112
  %296 = and i32 %295, 2048
  %297 = icmp ne i32 %296, 0
  br i1 %297, label %298, label %299

298:                                              ; preds = %292
  br label %301

299:                                              ; preds = %292
  call void @__assert_fail(ptr noundef @.str.164, ptr noundef @.str.2, i32 noundef 7533, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #11
  unreachable

300:                                              ; No predecessors!
  br label %301

301:                                              ; preds = %300, %298
  %302 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  call void @_ZN5ImGui25NavMoveRequestTryWrappingEP11ImGuiWindowi(ptr noundef %302, i32 noundef 4)
  br label %303

303:                                              ; preds = %301, %286
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #10
  %304 = load ptr, ptr %2, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %304, i32 0, i32 5
  %306 = load ptr, ptr %4, align 8, !tbaa !5
  %307 = getelementptr inbounds %struct.ImGuiWindow, ptr %306, i32 0, i32 69
  %308 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %307, i32 0, i32 3
  %309 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %305, ptr noundef nonnull align 4 dereferenceable(8) %308)
  store <2 x float> %309, ptr %8, align 4
  %310 = load ptr, ptr %4, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.ImGuiWindow, ptr %310, i32 0, i32 69
  %312 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %311, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %312, ptr align 4 %8, i64 8, i1 false), !tbaa.struct !122
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #10
  call void @_ZN5ImGui13PopFocusScopeEv()
  %313 = load ptr, ptr %1, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.ImGuiContext, ptr %313, i32 0, i32 260
  %315 = load i32, ptr %314, align 4, !tbaa !107
  %316 = and i32 %315, 32
  %317 = icmp ne i32 %316, 0
  br i1 %317, label %318, label %321

318:                                              ; preds = %303
  %319 = load ptr, ptr %2, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %319, i32 0, i32 0
  call void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef @.str.165, ptr noundef %320)
  br label %321

321:                                              ; preds = %318, %303
  %322 = load ptr, ptr %2, align 8, !tbaa !5
  %323 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %322, i32 0, i32 2
  store i32 0, ptr %323, align 8, !tbaa !96
  %324 = load ptr, ptr %2, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %324, i32 0, i32 3
  store i32 0, ptr %325, align 4, !tbaa !112
  %326 = load ptr, ptr %1, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiContext, ptr %326, i32 0, i32 194
  %328 = load i32, ptr %327, align 8, !tbaa !100
  %329 = add nsw i32 %328, -1
  store i32 %329, ptr %327, align 8, !tbaa !100
  %330 = icmp sgt i32 %329, 0
  br i1 %330, label %331, label %339

331:                                              ; preds = %321
  %332 = load ptr, ptr %1, align 8, !tbaa !5
  %333 = getelementptr inbounds %struct.ImGuiContext, ptr %332, i32 0, i32 195
  %334 = load ptr, ptr %1, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiContext, ptr %334, i32 0, i32 194
  %336 = load i32, ptr %335, align 8, !tbaa !100
  %337 = sub nsw i32 %336, 1
  %338 = call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %333, i32 noundef %337)
  br label %340

339:                                              ; preds = %321
  br label %340

340:                                              ; preds = %339, %331
  %341 = phi ptr [ %338, %331 ], [ null, %339 ]
  %342 = load ptr, ptr %1, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 193
  store ptr %341, ptr %343, align 8, !tbaa !9
  %344 = load ptr, ptr %2, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %344, i32 0, i32 0
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #10
  ret ptr %345
}

declare void @_ZN5ImGui8DebugLogEPKcz(ptr noundef, ...) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui17GetBoxSelectStateEj(i32 noundef) #1

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21BoxSelectPreStartDragjx(i32 noundef, i64 noundef) #7

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef) #4

declare void @_ZN5ImGui25NavMoveRequestTryWrappingEP11ImGuiWindowi(ptr noundef, i32 noundef) #4

declare void @_ZN5ImGui13PopFocusScopeEv() #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { inlinehint 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 = { 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 = { 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 20392}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !21, i64 15776, !24, i64 16312, !13, i64 16320, !13, i64 16324, !13, i64 16328, !11, i64 16332, !11, i64 16333, !11, i64 16334, !11, i64 16335, !11, i64 16336, !6, i64 16344, !7, i64 16352, !25, i64 16368, !25, i64 16384, !17, i64 16400, !13, i64 16404, !26, i64 16408, !26, i64 16424, !26, i64 16440, !27, i64 16456, !28, i64 16472, !13, i64 16488, !14, i64 16492, !13, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !13, i64 16560, !13, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !13, i64 16588, !13, i64 16592, !13, i64 16596, !15, i64 16600, !15, i64 16604, !11, i64 16608, !11, i64 16609, !11, i64 16610, !13, i64 16612, !13, i64 16616, !15, i64 16620, !11, i64 16624, !11, i64 16625, !11, i64 16626, !11, i64 16627, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16631, !14, i64 16632, !6, i64 16640, !30, i64 16648, !13, i64 16652, !11, i64 16656, !11, i64 16657, !6, i64 16664, !13, i64 16672, !15, i64 16676, !24, i64 16680, !24, i64 16688, !24, i64 16696, !31, i64 16704, !7, i64 16724, !32, i64 18576, !13, i64 18920, !11, i64 18924, !13, i64 18928, !13, i64 18932, !13, i64 18936, !13, i64 18940, !34, i64 18944, !37, i64 19000, !39, i64 19080, !11, i64 19192, !13, i64 19196, !40, i64 19200, !41, i64 19216, !42, i64 19232, !43, i64 19248, !44, i64 19264, !45, i64 19280, !46, i64 19296, !46, i64 19312, !47, i64 19328, !48, i64 19344, !6, i64 19360, !13, i64 19368, !13, i64 19372, !49, i64 19376, !13, i64 19380, !13, i64 19384, !13, i64 19388, !13, i64 19392, !43, i64 19400, !13, i64 19416, !15, i64 19420, !13, i64 19424, !13, i64 19428, !30, i64 19432, !35, i64 19440, !11, i64 19448, !11, i64 19449, !11, i64 19450, !11, i64 19451, !11, i64 19452, !11, i64 19453, !11, i64 19454, !50, i64 19456, !11, i64 19512, !11, i64 19513, !11, i64 19514, !13, i64 19516, !13, i64 19520, !13, i64 19524, !20, i64 19528, !20, i64 19532, !20, i64 19536, !38, i64 19540, !38, i64 19556, !13, i64 19572, !13, i64 19576, !13, i64 19580, !50, i64 19584, !50, i64 19640, !50, i64 19696, !50, i64 19752, !13, i64 19808, !13, i64 19812, !13, i64 19816, !13, i64 19820, !11, i64 19824, !11, i64 19825, !13, i64 19828, !13, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !11, i64 19872, !51, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !11, i64 19900, !11, i64 19901, !11, i64 19902, !13, i64 19904, !13, i64 19908, !13, i64 19912, !52, i64 19920, !38, i64 19984, !38, i64 20000, !13, i64 20016, !13, i64 20020, !15, i64 20024, !13, i64 20028, !13, i64 20032, !13, i64 20036, !13, i64 20040, !53, i64 20048, !7, i64 20064, !13, i64 20080, !54, i64 20088, !6, i64 20104, !13, i64 20112, !13, i64 20116, !55, i64 20120, !56, i64 20136, !58, i64 20176, !59, i64 20192, !6, i64 20208, !60, i64 20216, !62, i64 20256, !63, i64 20272, !64, i64 20288, !6, i64 20392, !13, i64 20400, !65, i64 20408, !66, i64 20424, !13, i64 20464, !13, i64 20468, !15, i64 20472, !15, i64 20476, !13, i64 20480, !13, i64 20484, !13, i64 20488, !15, i64 20492, !14, i64 20496, !68, i64 20504, !72, i64 24240, !73, i64 24264, !13, i64 24384, !36, i64 24388, !13, i64 24396, !13, i64 24400, !13, i64 24404, !13, i64 24408, !13, i64 24412, !15, i64 24416, !15, i64 24420, !13, i64 24424, !22, i64 24428, !75, i64 24444, !38, i64 24492, !11, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !11, i64 24524, !11, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !69, i64 24552, !76, i64 24568, !77, i64 24584, !79, i64 24688, !79, i64 24704, !11, i64 24720, !15, i64 24724, !80, i64 24728, !81, i64 24744, !82, i64 24760, !83, i64 24776, !84, i64 24792, !13, i64 24808, !7, i64 24816, !11, i64 24888, !85, i64 24892, !6, i64 24896, !80, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !11, i64 24940, !13, i64 24944, !13, i64 24948, !13, i64 24952, !13, i64 24956, !80, i64 24960, !86, i64 24976, !13, i64 25000, !7, i64 25004, !7, i64 25005, !11, i64 25006, !13, i64 25008, !7, i64 25012, !11, i64 25013, !7, i64 25014, !13, i64 25016, !15, i64 25020, !22, i64 25024, !87, i64 25040, !88, i64 25072, !90, i64 25112, !7, i64 25172, !13, i64 25412, !13, i64 25416, !15, i64 25420, !13, i64 25424, !13, i64 25428, !13, i64 25432, !69, i64 25440, !7, i64 25456}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !11, 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, !6, i64 192, !6, i64 200, !6, i64 208, !16, i64 216, !11, i64 218, !11, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !11, i64 223, !11, i64 224, !15, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !17, i64 288, !11, i64 292, !11, i64 293, !11, i64 294, !11, i64 295, !13, i64 296, !7, i64 300, !11, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !11, i64 11093, !11, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !11, i64 11160, !11, i64 11161, !7, i64 11162, !11, i64 11163, !16, i64 11164, !18, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !20, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !14, i64 160, !20, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !22, i64 32, !13, i64 48, !23, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !35, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !36, i64 38, !13, i64 48}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !11, i64 60, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !38, i64 52, !38, i64 68, !38, i64 84}
!65 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !67, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !69, i64 40, !69, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !70, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!91 = !{!92, !6, i64 40}
!92 = !{!"_ZTS24ImGuiMultiSelectTempData", !93, i64 0, !6, i64 40, !13, i64 48, !13, i64 52, !14, i64 56, !14, i64 64, !35, i64 72, !13, i64 80, !13, i64 84, !7, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94}
!93 = !{!"_ZTS18ImGuiMultiSelectIO", !94, i64 0, !35, i64 16, !35, i64 24, !11, i64 32, !11, i64 33, !13, i64 36}
!94 = !{!"_ZTS8ImVectorI21ImGuiSelectionRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!95 = !{!10, !6, i64 16504}
!96 = !{!92, !13, i64 48}
!97 = !{!10, !13, i64 18932}
!98 = !{!99, !6, i64 0}
!99 = !{!"_ZTS21ImGuiMultiSelectState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !35, i64 24, !35, i64 32}
!100 = !{!10, !13, i64 20400}
!101 = !{!92, !11, i64 90}
!102 = !{i8 0, i8 2}
!103 = !{}
!104 = !{!92, !11, i64 33}
!105 = !{!92, !11, i64 93}
!106 = !{!92, !35, i64 16}
!107 = !{!10, !13, i64 24956}
!108 = !{!99, !35, i64 24}
!109 = !{!92, !11, i64 92}
!110 = !{!99, !35, i64 32}
!111 = !{!99, !7, i64 21}
!112 = !{!92, !13, i64 52}
!113 = !{!92, !13, i64 80}
!114 = !{!92, !11, i64 89}
!115 = !{!11, !11, i64 0}
!116 = !{!10, !13, i64 16592}
!117 = !{!10, !13, i64 16612}
!118 = !{!10, !11, i64 20292}
!119 = !{!10, !11, i64 20293}
!120 = !{!16, !16, i64 0}
!121 = !{!10, !13, i64 304}
!122 = !{i64 0, i64 4, !123, i64 4, i64 4, !123}
!123 = !{!15, !15, 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"

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.159 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv = external hidden unnamed_addr constant [44 x i8], align 1
@.str.160 = external hidden unnamed_addr constant [69 x i8], align 1
@.str.161 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.162 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.163 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.164 = external hidden unnamed_addr constant [46 x i8], align 1
@.str.165 = external hidden unnamed_addr constant [15 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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui16GetCurrentWindowEv() local_unnamed_addr #1

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

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

declare void @_ZN5ImGui12SetHoveredIDEj(i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare hidden <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #5

declare noundef zeroext i1 @_ZN5ImGui24IsMouseDragPastThresholdEif(i32 noundef, float noundef) local_unnamed_addr #3

declare void @_ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect(i32 noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12EndBoxSelectERK6ImRecti(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef) local_unnamed_addr #6

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef, ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef, i1 noundef zeroext) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef, ptr noundef) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui14EndMultiSelectEv() local_unnamed_addr #6 {
  %1 = alloca %struct.ImRect, align 8
  %2 = alloca %struct.ImRect, align 4
  %3 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %3, i64 20392
  %5 = load ptr, ptr %4, align 8, !tbaa !9
  %6 = getelementptr inbounds i8, ptr %5, i64 40
  %7 = load ptr, ptr %6, align 8, !tbaa !91
  %8 = getelementptr inbounds i8, ptr %3, i64 16504
  %9 = load ptr, ptr %8, align 8, !tbaa !95
  %10 = getelementptr inbounds i8, ptr %5, i64 48
  %11 = load i32, ptr %10, align 8, !tbaa !96
  %12 = getelementptr inbounds i8, ptr %3, i64 18932
  %13 = load i32, ptr %12, align 4, !tbaa !97
  %14 = icmp eq i32 %11, %13
  br i1 %14, label %16, label %15

15:                                               ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.159, ptr noundef nonnull @.str.2, i32 noundef 7478, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #9
  unreachable

16:                                               ; preds = %0
  %17 = load ptr, ptr %7, align 8, !tbaa !98
  %18 = icmp eq ptr %17, %9
  br i1 %18, label %19, label %.critedge

.critedge:                                        ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.160, ptr noundef nonnull @.str.2, i32 noundef 7479, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #9
  unreachable

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %3, i64 20400
  %21 = load i32, ptr %20, align 8, !tbaa !100
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %23, label %.critedge2

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %3, i64 20408
  %25 = add nsw i32 %21, -1
  %26 = tail call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef %25)
  %27 = load ptr, ptr %4, align 8, !tbaa !9
  %28 = icmp eq ptr %26, %27
  br i1 %28, label %29, label %.critedge2

.critedge2:                                       ; preds = %19, %23
  tail call void @__assert_fail(ptr noundef nonnull @.str.161, ptr noundef nonnull @.str.2, i32 noundef 7480, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #9
  unreachable

29:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1) #10
  %30 = tail call { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef nonnull %5, ptr noundef %9)
  %31 = extractvalue { <2 x float>, <2 x float> } %30, 0
  store <2 x float> %31, ptr %1, align 8
  %32 = getelementptr inbounds i8, ptr %1, i64 8
  %33 = extractvalue { <2 x float>, <2 x float> } %30, 1
  store <2 x float> %33, ptr %32, align 8
  %34 = getelementptr inbounds i8, ptr %5, i64 90
  %35 = load i8, ptr %34, align 2, !tbaa !101, !range !102, !noundef !103
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %37, label %79

37:                                               ; preds = %29
  %38 = getelementptr inbounds i8, ptr %5, i64 33
  %39 = load i8, ptr %38, align 1, !tbaa !104, !range !102, !noundef !103
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %48, label %41

41:                                               ; preds = %37
  %42 = getelementptr inbounds i8, ptr %5, i64 93
  %43 = load i8, ptr %42, align 1, !tbaa !105, !range !102, !noundef !103
  %44 = icmp eq i8 %43, 0
  br i1 %44, label %45, label %55

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %5, i64 16
  %47 = load i64, ptr %46, align 8, !tbaa !106
  %.not73 = icmp eq i64 %47, -1
  br i1 %.not73, label %55, label %48

48:                                               ; preds = %37, %45
  %49 = getelementptr inbounds i8, ptr %3, i64 24956
  %50 = load i32, ptr %49, align 4, !tbaa !107
  %51 = and i32 %50, 32
  %.not74 = icmp eq i32 %51, 0
  br i1 %.not74, label %53, label %52

52:                                               ; preds = %48
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.162)
  br label %53

53:                                               ; preds = %52, %48
  %54 = getelementptr inbounds i8, ptr %7, i64 24
  store i64 -1, ptr %54, align 8, !tbaa !108
  br label %55

55:                                               ; preds = %53, %45, %41
  %56 = getelementptr inbounds i8, ptr %5, i64 92
  %57 = load i8, ptr %56, align 4, !tbaa !109, !range !102, !noundef !103
  %58 = icmp eq i8 %57, 0
  br i1 %58, label %59, label %69

59:                                               ; preds = %55
  %60 = getelementptr inbounds i8, ptr %7, i64 32
  %61 = load i64, ptr %60, align 8, !tbaa !110
  %.not75 = icmp eq i64 %61, -1
  br i1 %.not75, label %69, label %62

62:                                               ; preds = %59
  %63 = getelementptr inbounds i8, ptr %3, i64 24956
  %64 = load i32, ptr %63, align 4, !tbaa !107
  %65 = and i32 %64, 32
  %.not76 = icmp eq i32 %65, 0
  br i1 %.not76, label %67, label %66

66:                                               ; preds = %62
  tail call void (ptr, ...) @_ZN5ImGui8DebugLogEPKcz(ptr noundef nonnull @.str.163)
  br label %67

67:                                               ; preds = %66, %62
  store i64 -1, ptr %60, align 8, !tbaa !110
  %68 = getelementptr inbounds i8, ptr %7, i64 21
  store i8 -1, ptr %68, align 1, !tbaa !111
  br label %69

69:                                               ; preds = %67, %59, %55
  %70 = getelementptr inbounds i8, ptr %5, i64 52
  %71 = load i32, ptr %70, align 4, !tbaa !112
  %72 = and i32 %71, 192
  %.not77 = icmp eq i32 %72, 0
  br i1 %.not77, label %79, label %73

73:                                               ; preds = %69
  %74 = getelementptr inbounds i8, ptr %5, i64 80
  %75 = load i32, ptr %74, align 8, !tbaa !113
  %76 = tail call noundef ptr @_ZN5ImGui17GetBoxSelectStateEj(i32 noundef %75)
  %.not78 = icmp eq ptr %76, null
  br i1 %.not78, label %79, label %77

77:                                               ; preds = %73
  %78 = load i32, ptr %70, align 4, !tbaa !112
  call void @_ZN5ImGui12EndBoxSelectERK6ImRecti(ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %78)
  br label %79

79:                                               ; preds = %69, %73, %77, %29
  %80 = getelementptr inbounds i8, ptr %5, i64 89
  %81 = load i8, ptr %80, align 1, !tbaa !114, !range !102, !noundef !103
  %82 = icmp eq i8 %81, 0
  br i1 %82, label %83, label %84

83:                                               ; preds = %79
  call void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %5, i32 noundef 0)
  br label %84

84:                                               ; preds = %83, %79
  %85 = call noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef 0)
  br i1 %85, label %86, label %.thread86

86:                                               ; preds = %84
  %87 = getelementptr inbounds i8, ptr %9, i64 528
  %88 = getelementptr inbounds i8, ptr %3, i64 272
  %89 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %87, ptr noundef nonnull align 4 dereferenceable(8) %88)
  br i1 %89, label %90, label %.thread86

90:                                               ; preds = %86
  %91 = getelementptr inbounds i8, ptr %5, i64 52
  %92 = load i32, ptr %91, align 4, !tbaa !112
  %93 = and i32 %92, 4096
  %.not79 = icmp eq i32 %93, 0
  br i1 %.not79, label %.thread88, label %94

94:                                               ; preds = %90
  %95 = call noundef zeroext i1 @_ZNK6ImRect8ContainsERK6ImVec2(ptr noundef nonnull align 4 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(8) %88)
  br i1 %95, label %.thread88, label %.thread86

.thread88:                                        ; preds = %90, %94
  %96 = getelementptr inbounds i8, ptr %3, i64 16592
  %97 = load i32, ptr %96, align 8, !tbaa !115
  %98 = icmp eq i32 %97, 0
  br i1 %98, label %99, label %.thread86

99:                                               ; preds = %.thread88
  %100 = getelementptr inbounds i8, ptr %3, i64 16612
  %101 = load i32, ptr %100, align 4, !tbaa !116
  %102 = icmp eq i32 %101, 0
  br i1 %102, label %103, label %.thread86

103:                                              ; preds = %99
  %104 = load i32, ptr %91, align 4, !tbaa !112
  %105 = and i32 %104, 192
  %.not80 = icmp eq i32 %105, 0
  br i1 %.not80, label %126, label %106

106:                                              ; preds = %103
  %107 = getelementptr inbounds i8, ptr %3, i64 20292
  %108 = load i8, ptr %107, align 4, !tbaa !117, !range !102, !noundef !103
  %109 = trunc nuw i8 %108 to i1
  br i1 %109, label %126, label %110

110:                                              ; preds = %106
  %111 = getelementptr inbounds i8, ptr %3, i64 20293
  %112 = load i8, ptr %111, align 1, !tbaa !118, !range !102, !noundef !103
  %113 = trunc nuw i8 %112 to i1
  br i1 %113, label %126, label %114

114:                                              ; preds = %110
  %115 = getelementptr inbounds i8, ptr %3, i64 11066
  %116 = load i16, ptr %115, align 2, !tbaa !119
  %117 = icmp eq i16 %116, 1
  br i1 %117, label %118, label %126

118:                                              ; preds = %114
  %119 = getelementptr inbounds i8, ptr %5, i64 80
  %120 = load i32, ptr %119, align 8, !tbaa !113
  call void @_ZL21BoxSelectPreStartDragjx(i32 noundef %120, i64 noundef -1)
  call void @_ZN5ImGui11FocusWindowEP11ImGuiWindowi(ptr noundef %9, i32 noundef 2)
  %121 = load i32, ptr %119, align 8, !tbaa !113
  call void @_ZN5ImGui12SetHoveredIDEj(i32 noundef %121)
  %122 = load i32, ptr %91, align 4, !tbaa !112
  %123 = and i32 %122, 4096
  %.not81 = icmp eq i32 %123, 0
  br i1 %.not81, label %126, label %124

124:                                              ; preds = %118
  %125 = load i32, ptr %10, align 8, !tbaa !96
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #10
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(8) %88, ptr noundef nonnull align 4 dereferenceable(8) %88)
  call void @_ZN5ImGui8SetNavIDEj13ImGuiNavLayerjRK6ImRect(i32 noundef 0, i32 noundef 0, i32 noundef %125, ptr noundef nonnull align 4 dereferenceable(16) %2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #10
  %.pre = load i32, ptr %91, align 4, !tbaa !112
  br label %126

126:                                              ; preds = %106, %110, %114, %124, %118, %103
  %127 = phi i32 [ %104, %106 ], [ %104, %110 ], [ %104, %114 ], [ %.pre, %124 ], [ %122, %118 ], [ %104, %103 ]
  %128 = and i32 %127, 1024
  %.not82 = icmp eq i32 %128, 0
  br i1 %.not82, label %.thread86, label %129

129:                                              ; preds = %126
  %130 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 0)
  br i1 %130, label %131, label %.thread86

131:                                              ; preds = %129
  %132 = call noundef zeroext i1 @_ZN5ImGui24IsMouseDragPastThresholdEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %132, label %.thread86, label %133

133:                                              ; preds = %131
  %134 = getelementptr inbounds i8, ptr %3, i64 304
  %135 = load i32, ptr %134, align 8, !tbaa !120
  %136 = icmp eq i32 %135, 0
  br i1 %136, label %137, label %.thread86

137:                                              ; preds = %133
  call void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef nonnull %5, i1 noundef zeroext false)
  br label %.thread86

.thread86:                                        ; preds = %84, %86, %126, %137, %133, %131, %129, %99, %.thread88, %94
  %138 = getelementptr inbounds i8, ptr %5, i64 52
  %139 = load i32, ptr %138, align 4, !tbaa !112
  %140 = and i32 %139, 65536
  %.not83 = icmp eq i32 %140, 0
  br i1 %.not83, label %146, label %141

141:                                              ; preds = %.thread86
  %142 = and i32 %139, 2048
  %.not84 = icmp eq i32 %142, 0
  br i1 %.not84, label %143, label %144

143:                                              ; preds = %141
  call void @__assert_fail(ptr noundef nonnull @.str.164, ptr noundef nonnull @.str.2, i32 noundef 7533, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui14EndMultiSelectEv) #9
  unreachable

144:                                              ; preds = %141
  %145 = call noundef ptr @_ZN5ImGui16GetCurrentWindowEv()
  call void @_ZN5ImGui25NavMoveRequestTryWrappingEP11ImGuiWindowi(ptr noundef %145, i32 noundef 4)
  br label %146

146:                                              ; preds = %144, %.thread86
  %147 = getelementptr inbounds i8, ptr %5, i64 64
  %148 = getelementptr inbounds i8, ptr %9, i64 304
  %149 = call <2 x float> @_ZL5ImMaxRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %147, ptr noundef nonnull align 4 dereferenceable(8) %148)
  store <2 x float> %149, ptr %148, align 8
  call void @_ZN5ImGui13PopFocusScopeEv()
  %150 = getelementptr inbounds i8, ptr %3, i64 24956
  %151 = load i32, ptr %150, align 4, !tbaa !107
  %152 = and i32 %151, 32
  %.not85 = icmp eq i32 %152, 0
  br i1 %.not85, label %154, label %153

153:                                              ; preds = %146
  call void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef nonnull @.str.165, ptr noundef nonnull %5)
  br label %154

154:                                              ; preds = %153, %146
  store i32 0, ptr %10, align 8, !tbaa !96
  store i32 0, ptr %138, align 4, !tbaa !112
  %155 = load i32, ptr %20, align 8, !tbaa !100
  %156 = add nsw i32 %155, -1
  store i32 %156, ptr %20, align 8, !tbaa !100
  %157 = icmp sgt i32 %155, 1
  br i1 %157, label %158, label %161

158:                                              ; preds = %154
  %159 = add nsw i32 %155, -2
  %160 = call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %24, i32 noundef %159)
  br label %161

161:                                              ; preds = %154, %158
  %162 = phi ptr [ %160, %158 ], [ null, %154 ]
  store ptr %162, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %1) #10
  ret ptr %5
}

declare void @_ZN5ImGui8DebugLogEPKcz(ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZN5ImGui17GetBoxSelectStateEj(i32 noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN5ImGui15IsWindowHoveredEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL21BoxSelectPreStartDragjx(i32 noundef, i64 noundef) local_unnamed_addr #6

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui25NavMoveRequestTryWrappingEP11ImGuiWindowi(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui13PopFocusScopeEv() local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { noreturn 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 #5 = { inlinehint 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 #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 = { 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 #8 = { 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 #9 = { noreturn nounwind }
attributes #10 = { 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, !6, i64 20392}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !21, i64 15776, !24, i64 16312, !13, i64 16320, !13, i64 16324, !13, i64 16328, !11, i64 16332, !11, i64 16333, !11, i64 16334, !11, i64 16335, !11, i64 16336, !6, i64 16344, !7, i64 16352, !25, i64 16368, !25, i64 16384, !17, i64 16400, !13, i64 16404, !26, i64 16408, !26, i64 16424, !26, i64 16440, !27, i64 16456, !28, i64 16472, !13, i64 16488, !14, i64 16492, !13, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !13, i64 16560, !13, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !13, i64 16588, !13, i64 16592, !13, i64 16596, !15, i64 16600, !15, i64 16604, !11, i64 16608, !11, i64 16609, !11, i64 16610, !13, i64 16612, !13, i64 16616, !15, i64 16620, !11, i64 16624, !11, i64 16625, !11, i64 16626, !11, i64 16627, !11, i64 16628, !11, i64 16629, !11, i64 16630, !13, i64 16631, !14, i64 16632, !6, i64 16640, !30, i64 16648, !13, i64 16652, !11, i64 16656, !11, i64 16657, !6, i64 16664, !13, i64 16672, !15, i64 16676, !24, i64 16680, !24, i64 16688, !24, i64 16696, !31, i64 16704, !7, i64 16724, !32, i64 18576, !13, i64 18920, !11, i64 18924, !13, i64 18928, !13, i64 18932, !13, i64 18936, !13, i64 18940, !34, i64 18944, !37, i64 19000, !39, i64 19080, !11, i64 19192, !13, i64 19196, !40, i64 19200, !41, i64 19216, !42, i64 19232, !43, i64 19248, !44, i64 19264, !45, i64 19280, !46, i64 19296, !46, i64 19312, !47, i64 19328, !48, i64 19344, !6, i64 19360, !13, i64 19368, !13, i64 19372, !49, i64 19376, !13, i64 19380, !13, i64 19384, !13, i64 19388, !13, i64 19392, !43, i64 19400, !13, i64 19416, !15, i64 19420, !13, i64 19424, !13, i64 19428, !30, i64 19432, !35, i64 19440, !11, i64 19448, !11, i64 19449, !11, i64 19450, !11, i64 19451, !11, i64 19452, !11, i64 19453, !11, i64 19454, !50, i64 19456, !11, i64 19512, !11, i64 19513, !11, i64 19514, !13, i64 19516, !13, i64 19520, !13, i64 19524, !20, i64 19528, !20, i64 19532, !20, i64 19536, !38, i64 19540, !38, i64 19556, !13, i64 19572, !13, i64 19576, !13, i64 19580, !50, i64 19584, !50, i64 19640, !50, i64 19696, !50, i64 19752, !13, i64 19808, !13, i64 19812, !13, i64 19816, !13, i64 19820, !11, i64 19824, !11, i64 19825, !13, i64 19828, !13, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !11, i64 19872, !51, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !11, i64 19900, !11, i64 19901, !11, i64 19902, !13, i64 19904, !13, i64 19908, !13, i64 19912, !52, i64 19920, !38, i64 19984, !38, i64 20000, !13, i64 20016, !13, i64 20020, !15, i64 20024, !13, i64 20028, !13, i64 20032, !13, i64 20036, !13, i64 20040, !53, i64 20048, !7, i64 20064, !13, i64 20080, !54, i64 20088, !6, i64 20104, !13, i64 20112, !13, i64 20116, !55, i64 20120, !56, i64 20136, !58, i64 20176, !59, i64 20192, !6, i64 20208, !60, i64 20216, !62, i64 20256, !63, i64 20272, !64, i64 20288, !6, i64 20392, !13, i64 20400, !65, i64 20408, !66, i64 20424, !13, i64 20464, !13, i64 20468, !15, i64 20472, !15, i64 20476, !13, i64 20480, !13, i64 20484, !13, i64 20488, !15, i64 20492, !14, i64 20496, !68, i64 20504, !72, i64 24240, !73, i64 24264, !13, i64 24384, !36, i64 24388, !13, i64 24396, !13, i64 24400, !13, i64 24404, !13, i64 24408, !13, i64 24412, !15, i64 24416, !15, i64 24420, !13, i64 24424, !22, i64 24428, !75, i64 24444, !38, i64 24492, !11, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !11, i64 24524, !11, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !69, i64 24552, !76, i64 24568, !77, i64 24584, !79, i64 24688, !79, i64 24704, !11, i64 24720, !15, i64 24724, !80, i64 24728, !81, i64 24744, !82, i64 24760, !83, i64 24776, !84, i64 24792, !13, i64 24808, !7, i64 24816, !11, i64 24888, !85, i64 24892, !6, i64 24896, !80, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !11, i64 24940, !13, i64 24944, !13, i64 24948, !13, i64 24952, !13, i64 24956, !80, i64 24960, !86, i64 24976, !13, i64 25000, !7, i64 25004, !7, i64 25005, !11, i64 25006, !13, i64 25008, !7, i64 25012, !11, i64 25013, !7, i64 25014, !13, i64 25016, !15, i64 25020, !22, i64 25024, !87, i64 25040, !88, i64 25072, !90, i64 25112, !7, i64 25172, !13, i64 25412, !13, i64 25416, !15, i64 25420, !13, i64 25424, !13, i64 25428, !13, i64 25432, !69, i64 25440, !7, i64 25456}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"_ZTS7ImGuiIO", !13, i64 0, !13, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !11, i64 116, !11, i64 117, !11, i64 118, !11, i64 119, !11, 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, !6, i64 192, !6, i64 200, !6, i64 208, !16, i64 216, !11, i64 218, !11, i64 219, !11, i64 220, !11, i64 221, !11, i64 222, !11, i64 223, !11, i64 224, !15, i64 228, !13, i64 232, !13, i64 236, !13, i64 240, !13, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !17, i64 288, !11, i64 292, !11, i64 293, !11, i64 294, !11, i64 295, !13, i64 296, !7, i64 300, !11, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !11, i64 11093, !11, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !11, i64 11160, !11, i64 11161, !7, i64 11162, !11, i64 11163, !16, i64 11164, !18, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !20, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !14, i64 160, !20, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!20 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!21 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !22, i64 32, !13, i64 48, !23, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!22 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!23 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!24 = !{!"double", !7, i64 0}
!25 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!26 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS12ImGuiStorage", !29, i64 0}
!29 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!30 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!31 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!32 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !33, i64 312, !33, i64 328}
!33 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !35, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !36, i64 38, !13, i64 48}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!37 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 12, !38, i64 28, !38, i64 44, !38, i64 60, !13, i64 76}
!38 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!39 = !{!"_ZTS19ImGuiNextWindowData", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !13, i64 56, !11, i64 60, !38, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!50 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !38, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !35, i64 48}
!51 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!52 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !7, i64 24, !11, i64 57, !11, i64 58}
!53 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS6ImPoolI10ImGuiTableE", !57, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!57 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !61, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!61 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !38, i64 52, !38, i64 68, !38, i64 84}
!65 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !67, i64 0, !28, i64 16, !13, i64 32, !13, i64 36}
!67 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !18, i64 24, !69, i64 40, !69, i64 56, !11, i64 72, !13, i64 76, !15, i64 80, !70, i64 84, !15, i64 3712, !11, i64 3716, !11, i64 3717, !11, i64 3718, !13, i64 3720, !11, i64 3724, !13, i64 3728, !13, i64 3732}
!69 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !71, i64 32}
!71 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !69, i64 8}
!73 = !{!"_ZTS6ImFont", !58, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !38, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !69, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !69, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !69, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!86 = !{!"_ZTS14ImGuiTextIndex", !44, i64 0, !13, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !16, i64 8, !7, i64 12}
!91 = !{!92, !6, i64 40}
!92 = !{!"_ZTS24ImGuiMultiSelectTempData", !93, i64 0, !6, i64 40, !13, i64 48, !13, i64 52, !14, i64 56, !14, i64 64, !35, i64 72, !13, i64 80, !13, i64 84, !7, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94}
!93 = !{!"_ZTS18ImGuiMultiSelectIO", !94, i64 0, !35, i64 16, !35, i64 24, !11, i64 32, !11, i64 33, !13, i64 36}
!94 = !{!"_ZTS8ImVectorI21ImGuiSelectionRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!95 = !{!10, !6, i64 16504}
!96 = !{!92, !13, i64 48}
!97 = !{!10, !13, i64 18932}
!98 = !{!99, !6, i64 0}
!99 = !{!"_ZTS21ImGuiMultiSelectState", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !35, i64 24, !35, i64 32}
!100 = !{!10, !13, i64 20400}
!101 = !{!92, !11, i64 90}
!102 = !{i8 0, i8 2}
!103 = !{}
!104 = !{!92, !11, i64 33}
!105 = !{!92, !11, i64 93}
!106 = !{!92, !35, i64 16}
!107 = !{!10, !13, i64 24956}
!108 = !{!99, !35, i64 24}
!109 = !{!92, !11, i64 92}
!110 = !{!99, !35, i64 32}
!111 = !{!99, !7, i64 21}
!112 = !{!92, !13, i64 52}
!113 = !{!92, !13, i64 80}
!114 = !{!92, !11, i64 89}
!115 = !{!10, !13, i64 16592}
!116 = !{!10, !13, i64 16612}
!117 = !{!10, !11, i64 20292}
!118 = !{!10, !11, i64 20293}
!119 = !{!16, !16, i64 0}
!120 = !{!10, !13, i64 304}


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