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

; 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.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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%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.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 }
%struct.ImGuiMultiSelectState = type { ptr, i32, i32, i32, i8, i8, i64, i64 }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16BeginMultiSelectEiii = external hidden unnamed_addr constant [77 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [17 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: 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) #1

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

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN5ImGui8ShortcutEiij(i32 noundef, i32 noundef, i32 noundef) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14BeginBoxSelectERK6ImRectP11ImGuiWindowji(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, i32 noundef, i32 noundef) #5

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23BoxSelectDeactivateDragP19ImGuiBoxSelectState(ptr noundef) #6

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui16BeginMultiSelectEiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) #5 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca %struct.ImGuiMultiSelectTempData, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i8, align 1
  %16 = alloca i8, align 1
  %17 = alloca ptr, align 8
  %18 = alloca %struct.ImRect, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  %19 = load ptr, ptr @GImGui, align 8, !tbaa !9
  store ptr %19, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %20 = load ptr, ptr %7, align 8, !tbaa !9
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 34
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %22, ptr %8, align 8, !tbaa !9
  %23 = load ptr, ptr %7, align 8, !tbaa !9
  %24 = getelementptr inbounds %struct.ImGuiContext, ptr %23, i32 0, i32 194
  %25 = load i32, ptr %24, align 8, !tbaa !92
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %24, align 8, !tbaa !92
  %27 = load ptr, ptr %7, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.ImGuiContext, ptr %27, i32 0, i32 195
  %29 = getelementptr inbounds %struct.ImVector.31, ptr %28, i32 0, i32 0
  %30 = load i32, ptr %29, align 8, !tbaa !93
  %31 = icmp sgt i32 %26, %30
  br i1 %31, label %32, label %43

32:                                               ; preds = %3
  %33 = load ptr, ptr %7, align 8, !tbaa !9
  %34 = getelementptr inbounds %struct.ImGuiContext, ptr %33, i32 0, i32 195
  %35 = load ptr, ptr %7, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.ImGuiContext, ptr %35, i32 0, i32 194
  %37 = load i32, ptr %36, align 8, !tbaa !92
  call void @llvm.lifetime.start.p0(i64 96, ptr %9) #8
  call void @_ZN24ImGuiMultiSelectTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(95) %9)
  invoke void @_ZN8ImVectorI24ImGuiMultiSelectTempDataE6resizeEiRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %34, i32 noundef %37, ptr noundef nonnull align 8 dereferenceable(95) %9)
          to label %38 unwind label %39

38:                                               ; preds = %32
  call void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95) %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #8
  br label %43

39:                                               ; preds = %32
  %40 = landingpad { ptr, i32 }
          cleanup
  %41 = extractvalue { ptr, i32 } %40, 0
  store ptr %41, ptr %10, align 8
  %42 = extractvalue { ptr, i32 } %40, 1
  store i32 %42, ptr %11, align 4
  call void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95) %9) #8
  call void @llvm.lifetime.end.p0(i64 96, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  br label %414

43:                                               ; preds = %38, %3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #8
  %44 = load ptr, ptr %7, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.ImGuiContext, ptr %44, i32 0, i32 195
  %46 = load ptr, ptr %7, align 8, !tbaa !9
  %47 = getelementptr inbounds %struct.ImGuiContext, ptr %46, i32 0, i32 194
  %48 = load i32, ptr %47, align 8, !tbaa !92
  %49 = sub nsw i32 %48, 1
  %50 = call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %45, i32 noundef %49)
  store ptr %50, ptr %12, align 8, !tbaa !9
  %51 = load ptr, ptr %12, align 8, !tbaa !9
  %52 = load ptr, ptr %7, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.ImGuiContext, ptr %52, i32 0, i32 193
  store ptr %51, ptr %53, align 8, !tbaa !94
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = and i32 %54, 6144
  %56 = icmp eq i32 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %43
  %58 = load i32, ptr %4, align 4, !tbaa !5
  %59 = or i32 %58, 2048
  store i32 %59, ptr %4, align 4, !tbaa !5
  br label %60

60:                                               ; preds = %57, %43
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = and i32 %61, 1
  %63 = icmp ne i32 %62, 0
  br i1 %63, label %64, label %67

64:                                               ; preds = %60
  %65 = load i32, ptr %4, align 4, !tbaa !5
  %66 = and i32 %65, -193
  store i32 %66, ptr %4, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %64, %60
  %68 = load i32, ptr %4, align 4, !tbaa !5
  %69 = and i32 %68, 128
  %70 = icmp ne i32 %69, 0
  br i1 %70, label %71, label %74

71:                                               ; preds = %67
  %72 = load i32, ptr %4, align 4, !tbaa !5
  %73 = and i32 %72, -65
  store i32 %73, ptr %4, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %71, %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %75 = load ptr, ptr %8, align 8, !tbaa !9
  %76 = getelementptr inbounds %struct.ImGuiWindow, ptr %75, i32 0, i32 68
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %76)
  %78 = load i32, ptr %77, align 4, !tbaa !5
  store i32 %78, ptr %13, align 4, !tbaa !5
  %79 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_ZN24ImGuiMultiSelectTempData5ClearEv(ptr noundef nonnull align 8 dereferenceable(95) %79)
  %80 = load i32, ptr %13, align 4, !tbaa !5
  %81 = load ptr, ptr %12, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %81, i32 0, i32 2
  store i32 %80, ptr %82, align 8, !tbaa !95
  %83 = load i32, ptr %4, align 4, !tbaa !5
  %84 = load ptr, ptr %12, align 8, !tbaa !9
  %85 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %84, i32 0, i32 3
  store i32 %83, ptr %85, align 4, !tbaa !99
  %86 = load ptr, ptr %12, align 8, !tbaa !9
  %87 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %86, i32 0, i32 2
  %88 = load i32, ptr %87, align 8, !tbaa !95
  %89 = load ptr, ptr %7, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.ImGuiContext, ptr %89, i32 0, i32 103
  %91 = load i32, ptr %90, align 4, !tbaa !100
  %92 = icmp eq i32 %88, %91
  %93 = load ptr, ptr %12, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %93, i32 0, i32 11
  %95 = zext i1 %92 to i8
  store i8 %95, ptr %94, align 2, !tbaa !101
  %96 = load ptr, ptr %8, align 8, !tbaa !9
  %97 = getelementptr inbounds %struct.ImGuiWindow, ptr %96, i32 0, i32 69
  %98 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %97, i32 0, i32 3
  %99 = load ptr, ptr %12, align 8, !tbaa !9
  %100 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %99, i32 0, i32 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %100, ptr align 8 %98, i64 8, i1 false), !tbaa.struct !102
  %101 = load ptr, ptr %8, align 8, !tbaa !9
  %102 = getelementptr inbounds %struct.ImGuiWindow, ptr %101, i32 0, i32 69
  %103 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %102, i32 0, i32 0
  %104 = load ptr, ptr %8, align 8, !tbaa !9
  %105 = getelementptr inbounds %struct.ImGuiWindow, ptr %104, i32 0, i32 69
  %106 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %105, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %106, ptr align 8 %103, i64 8, i1 false), !tbaa.struct !102
  %107 = load ptr, ptr %12, align 8, !tbaa !9
  %108 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %107, i32 0, i32 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %108, ptr align 4 %106, i64 8, i1 false), !tbaa.struct !102
  %109 = load ptr, ptr %12, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %109, i32 0, i32 2
  %111 = load i32, ptr %110, align 8, !tbaa !95
  call void @_ZN5ImGui14PushFocusScopeEj(i32 noundef %111)
  %112 = load i32, ptr %4, align 4, !tbaa !5
  %113 = and i32 %112, 2048
  %114 = icmp ne i32 %113, 0
  br i1 %114, label %115, label %123

115:                                              ; preds = %74
  %116 = load ptr, ptr %8, align 8, !tbaa !9
  %117 = getelementptr inbounds %struct.ImGuiWindow, ptr %116, i32 0, i32 69
  %118 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %117, i32 0, i32 16
  %119 = load i16, ptr %118, align 4, !tbaa !104
  %120 = sext i16 %119 to i32
  %121 = or i32 %120, 1
  %122 = trunc i32 %121 to i16
  store i16 %122, ptr %118, align 4, !tbaa !104
  br label %123

123:                                              ; preds = %115, %74
  %124 = load ptr, ptr %7, align 8, !tbaa !9
  %125 = getelementptr inbounds %struct.ImGuiContext, ptr %124, i32 0, i32 143
  %126 = load i32, ptr %125, align 4, !tbaa !118
  %127 = icmp ne i32 %126, 0
  br i1 %127, label %128, label %140

128:                                              ; preds = %123
  %129 = load ptr, ptr %7, align 8, !tbaa !9
  %130 = getelementptr inbounds %struct.ImGuiContext, ptr %129, i32 0, i32 146
  %131 = load i8, ptr %130, align 8, !tbaa !119, !range !120, !noundef !121
  %132 = trunc i8 %131 to i1
  br i1 %132, label %133, label %134

133:                                              ; preds = %128
  br label %138

134:                                              ; preds = %128
  %135 = load ptr, ptr %7, align 8, !tbaa !9
  %136 = getelementptr inbounds %struct.ImGuiContext, ptr %135, i32 0, i32 145
  %137 = load i32, ptr %136, align 4, !tbaa !122
  br label %138

138:                                              ; preds = %134, %133
  %139 = phi i32 [ 0, %133 ], [ %137, %134 ]
  br label %145

140:                                              ; preds = %123
  %141 = load ptr, ptr %7, align 8, !tbaa !9
  %142 = getelementptr inbounds %struct.ImGuiContext, ptr %141, i32 0, i32 3
  %143 = getelementptr inbounds %struct.ImGuiIO, ptr %142, i32 0, i32 73
  %144 = load i32, ptr %143, align 8, !tbaa !123
  br label %145

145:                                              ; preds = %140, %138
  %146 = phi i32 [ %139, %138 ], [ %144, %140 ]
  %147 = load ptr, ptr %12, align 8, !tbaa !9
  %148 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %147, i32 0, i32 8
  store i32 %146, ptr %148, align 4, !tbaa !124
  %149 = load i32, ptr %4, align 4, !tbaa !5
  %150 = and i32 %149, 4
  %151 = icmp ne i32 %150, 0
  br i1 %151, label %152, label %157

152:                                              ; preds = %145
  %153 = load ptr, ptr %12, align 8, !tbaa !9
  %154 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %153, i32 0, i32 8
  %155 = load i32, ptr %154, align 4, !tbaa !124
  %156 = and i32 %155, -8193
  store i32 %156, ptr %154, align 4, !tbaa !124
  br label %157

157:                                              ; preds = %152, %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  %158 = load ptr, ptr %7, align 8, !tbaa !9
  %159 = getelementptr inbounds %struct.ImGuiContext, ptr %158, i32 0, i32 196
  %160 = load i32, ptr %13, align 4, !tbaa !5
  %161 = call noundef ptr @_ZN6ImPoolI21ImGuiMultiSelectStateE13GetOrAddByKeyEj(ptr noundef nonnull align 8 dereferenceable(40) %159, i32 noundef %160)
  store ptr %161, ptr %14, align 8, !tbaa !9
  %162 = load i32, ptr %13, align 4, !tbaa !5
  %163 = load ptr, ptr %14, align 8, !tbaa !9
  %164 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %163, i32 0, i32 1
  store i32 %162, ptr %164, align 8, !tbaa !125
  %165 = load ptr, ptr %7, align 8, !tbaa !9
  %166 = getelementptr inbounds %struct.ImGuiContext, ptr %165, i32 0, i32 12
  %167 = load i32, ptr %166, align 8, !tbaa !127
  %168 = load ptr, ptr %14, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %168, i32 0, i32 2
  store i32 %167, ptr %169, align 4, !tbaa !128
  %170 = load i32, ptr %5, align 4, !tbaa !5
  %171 = load ptr, ptr %14, align 8, !tbaa !9
  %172 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %171, i32 0, i32 3
  store i32 %170, ptr %172, align 8, !tbaa !129
  %173 = load ptr, ptr %8, align 8, !tbaa !9
  %174 = load ptr, ptr %14, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %174, i32 0, i32 0
  store ptr %173, ptr %175, align 8, !tbaa !130
  %176 = load ptr, ptr %14, align 8, !tbaa !9
  %177 = load ptr, ptr %12, align 8, !tbaa !9
  %178 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %177, i32 0, i32 1
  store ptr %176, ptr %178, align 8, !tbaa !131
  %179 = load ptr, ptr %12, align 8, !tbaa !9
  %180 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %179, i32 0, i32 0
  %181 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %180, i32 0, i32 0
  call void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %181, i32 noundef 0)
  %182 = load ptr, ptr %14, align 8, !tbaa !9
  %183 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %182, i32 0, i32 6
  %184 = load i64, ptr %183, align 8, !tbaa !132
  %185 = load ptr, ptr %12, align 8, !tbaa !9
  %186 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %185, i32 0, i32 0
  %187 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %186, i32 0, i32 1
  store i64 %184, ptr %187, align 8, !tbaa !133
  %188 = load ptr, ptr %14, align 8, !tbaa !9
  %189 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %188, i32 0, i32 7
  %190 = load i64, ptr %189, align 8, !tbaa !134
  %191 = load ptr, ptr %12, align 8, !tbaa !9
  %192 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %191, i32 0, i32 0
  %193 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %192, i32 0, i32 2
  store i64 %190, ptr %193, align 8, !tbaa !135
  %194 = load ptr, ptr %14, align 8, !tbaa !9
  %195 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %194, i32 0, i32 5
  %196 = load i8, ptr %195, align 1, !tbaa !136
  %197 = sext i8 %196 to i32
  %198 = icmp eq i32 %197, 1
  %199 = zext i1 %198 to i64
  %200 = select i1 %198, i1 true, i1 false
  %201 = load ptr, ptr %12, align 8, !tbaa !9
  %202 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %201, i32 0, i32 0
  %203 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %202, i32 0, i32 3
  %204 = zext i1 %200 to i8
  store i8 %204, ptr %203, align 8, !tbaa !137
  %205 = load i32, ptr %6, align 4, !tbaa !5
  %206 = load ptr, ptr %12, align 8, !tbaa !9
  %207 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %206, i32 0, i32 0
  %208 = getelementptr inbounds %struct.ImGuiMultiSelectIO, ptr %207, i32 0, i32 5
  store i32 %205, ptr %208, align 4, !tbaa !138
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #8
  store i8 0, ptr %15, align 1, !tbaa !139
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #8
  store i8 0, ptr %16, align 1, !tbaa !139
  %209 = load ptr, ptr %7, align 8, !tbaa !9
  %210 = getelementptr inbounds %struct.ImGuiContext, ptr %209, i32 0, i32 143
  %211 = load i32, ptr %210, align 4, !tbaa !118
  %212 = icmp ne i32 %211, 0
  br i1 %212, label %213, label %261

213:                                              ; preds = %157
  %214 = load ptr, ptr %7, align 8, !tbaa !9
  %215 = getelementptr inbounds %struct.ImGuiContext, ptr %214, i32 0, i32 144
  %216 = load i32, ptr %215, align 8, !tbaa !140
  %217 = load ptr, ptr %12, align 8, !tbaa !9
  %218 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %217, i32 0, i32 2
  %219 = load i32, ptr %218, align 8, !tbaa !95
  %220 = icmp eq i32 %216, %219
  br i1 %220, label %221, label %261

221:                                              ; preds = %213
  %222 = load ptr, ptr %7, align 8, !tbaa !9
  %223 = getelementptr inbounds %struct.ImGuiContext, ptr %222, i32 0, i32 147
  %224 = load i8, ptr %223, align 1, !tbaa !141, !range !120, !noundef !121
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %261

226:                                              ; preds = %221
  %227 = load ptr, ptr %12, align 8, !tbaa !9
  %228 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %227, i32 0, i32 8
  %229 = load i32, ptr %228, align 4, !tbaa !124
  %230 = and i32 %229, 8192
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %235

232:                                              ; preds = %226
  %233 = load ptr, ptr %12, align 8, !tbaa !9
  %234 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %233, i32 0, i32 12
  store i8 1, ptr %234, align 1, !tbaa !142
  br label %235

235:                                              ; preds = %232, %226
  %236 = load ptr, ptr %12, align 8, !tbaa !9
  %237 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %236, i32 0, i32 12
  %238 = load i8, ptr %237, align 1, !tbaa !142, !range !120, !noundef !121
  %239 = trunc i8 %238 to i1
  br i1 %239, label %240, label %249

240:                                              ; preds = %235
  %241 = load ptr, ptr %14, align 8, !tbaa !9
  %242 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %241, i32 0, i32 6
  %243 = load i64, ptr %242, align 8, !tbaa !132
  %244 = icmp ne i64 %243, -1
  br i1 %244, label %245, label %246

245:                                              ; preds = %240
  br label %248

246:                                              ; preds = %240
  call void @__assert_fail(ptr noundef @.str.156, ptr noundef @.str.2, i32 noundef 7413, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui16BeginMultiSelectEiii) #9
  unreachable

247:                                              ; No predecessors!
  br label %248

248:                                              ; preds = %247, %245
  br label %249

249:                                              ; preds = %248, %235
  %250 = load ptr, ptr %12, align 8, !tbaa !9
  %251 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %250, i32 0, i32 8
  %252 = load i32, ptr %251, align 4, !tbaa !124
  %253 = and i32 %252, 12288
  %254 = icmp eq i32 %253, 0
  br i1 %254, label %255, label %260

255:                                              ; preds = %249
  %256 = load i32, ptr %4, align 4, !tbaa !5
  %257 = and i32 %256, 24
  %258 = icmp eq i32 %257, 0
  br i1 %258, label %259, label %260

259:                                              ; preds = %255
  store i8 1, ptr %15, align 1, !tbaa !139
  br label %260

260:                                              ; preds = %259, %255, %249
  br label %282

261:                                              ; preds = %221, %213, %157
  %262 = load ptr, ptr %7, align 8, !tbaa !9
  %263 = getelementptr inbounds %struct.ImGuiContext, ptr %262, i32 0, i32 142
  %264 = load i32, ptr %263, align 8, !tbaa !143
  %265 = load ptr, ptr %12, align 8, !tbaa !9
  %266 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %265, i32 0, i32 2
  %267 = load i32, ptr %266, align 8, !tbaa !95
  %268 = icmp eq i32 %264, %267
  br i1 %268, label %269, label %281

269:                                              ; preds = %261
  %270 = load ptr, ptr %12, align 8, !tbaa !9
  %271 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %270, i32 0, i32 8
  %272 = load i32, ptr %271, align 4, !tbaa !124
  %273 = and i32 %272, 12288
  %274 = icmp eq i32 %273, 0
  br i1 %274, label %275, label %280

275:                                              ; preds = %269
  %276 = load i32, ptr %4, align 4, !tbaa !5
  %277 = and i32 %276, 24
  %278 = icmp eq i32 %277, 0
  br i1 %278, label %279, label %280

279:                                              ; preds = %275
  store i8 1, ptr %15, align 1, !tbaa !139
  br label %280

280:                                              ; preds = %279, %275, %269
  br label %281

281:                                              ; preds = %280, %261
  br label %282

282:                                              ; preds = %281, %260
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  %283 = load ptr, ptr %7, align 8, !tbaa !9
  %284 = getelementptr inbounds %struct.ImGuiContext, ptr %283, i32 0, i32 192
  store ptr %284, ptr %17, align 8, !tbaa !9
  %285 = load i32, ptr %4, align 4, !tbaa !5
  %286 = and i32 %285, 192
  %287 = icmp ne i32 %286, 0
  br i1 %287, label %288, label %318

288:                                              ; preds = %282
  %289 = call noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef @.str.157)
  %290 = load ptr, ptr %12, align 8, !tbaa !9
  %291 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %290, i32 0, i32 7
  store i32 %289, ptr %291, align 8, !tbaa !144
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #8
  %292 = load ptr, ptr %12, align 8, !tbaa !9
  %293 = load ptr, ptr %8, align 8, !tbaa !9
  %294 = call { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef %292, ptr noundef %293)
  %295 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 0
  %296 = extractvalue { <2 x float>, <2 x float> } %294, 0
  store <2 x float> %296, ptr %295, align 4
  %297 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %18, i32 0, i32 1
  %298 = extractvalue { <2 x float>, <2 x float> } %294, 1
  store <2 x float> %298, ptr %297, align 4
  %299 = load ptr, ptr %8, align 8, !tbaa !9
  %300 = load ptr, ptr %12, align 8, !tbaa !9
  %301 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %300, i32 0, i32 7
  %302 = load i32, ptr %301, align 8, !tbaa !144
  %303 = load i32, ptr %4, align 4, !tbaa !5
  %304 = call noundef zeroext i1 @_ZN5ImGui14BeginBoxSelectERK6ImRectP11ImGuiWindowji(ptr noundef nonnull align 4 dereferenceable(16) %18, ptr noundef %299, i32 noundef %302, i32 noundef %303)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #8
  br i1 %304, label %305, label %317

305:                                              ; preds = %288
  %306 = load ptr, ptr %17, align 8, !tbaa !9
  %307 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %306, i32 0, i32 5
  %308 = load i8, ptr %307, align 8, !tbaa !145, !range !120, !noundef !121
  %309 = trunc i8 %308 to i1
  %310 = zext i1 %309 to i32
  %311 = load i8, ptr %15, align 1, !tbaa !139, !range !120, !noundef !121
  %312 = trunc i8 %311 to i1
  %313 = zext i1 %312 to i32
  %314 = or i32 %313, %310
  %315 = icmp ne i32 %314, 0
  %316 = zext i1 %315 to i8
  store i8 %316, ptr %15, align 1, !tbaa !139
  br label %317

317:                                              ; preds = %305, %288
  br label %318

318:                                              ; preds = %317, %282
  %319 = load ptr, ptr %12, align 8, !tbaa !9
  %320 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %319, i32 0, i32 11
  %321 = load i8, ptr %320, align 2, !tbaa !101, !range !120, !noundef !121
  %322 = trunc i8 %321 to i1
  br i1 %322, label %323, label %371

323:                                              ; preds = %318
  %324 = load i32, ptr %4, align 4, !tbaa !5
  %325 = and i32 %324, 512
  %326 = icmp ne i32 %325, 0
  br i1 %326, label %327, label %358

327:                                              ; preds = %323
  %328 = load i32, ptr %5, align 4, !tbaa !5
  %329 = icmp ne i32 %328, 0
  br i1 %329, label %335, label %330

330:                                              ; preds = %327
  %331 = load ptr, ptr %17, align 8, !tbaa !9
  %332 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %331, i32 0, i32 1
  %333 = load i8, ptr %332, align 4, !tbaa !146, !range !120, !noundef !121
  %334 = trunc i8 %333 to i1
  br i1 %334, label %335, label %357

335:                                              ; preds = %330, %327
  %336 = load ptr, ptr %17, align 8, !tbaa !9
  %337 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %336, i32 0, i32 1
  %338 = load i8, ptr %337, align 4, !tbaa !146, !range !120, !noundef !121
  %339 = trunc i8 %338 to i1
  br i1 %339, label %340, label %344

340:                                              ; preds = %335
  %341 = load ptr, ptr %17, align 8, !tbaa !9
  %342 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %341, i32 0, i32 0
  %343 = load i32, ptr %342, align 8, !tbaa !147
  br label %345

344:                                              ; preds = %335
  br label %345

345:                                              ; preds = %344, %340
  %346 = phi i32 [ %343, %340 ], [ 0, %344 ]
  %347 = call noundef zeroext i1 @_ZN5ImGui8ShortcutEiij(i32 noundef 526, i32 noundef 0, i32 noundef %346)
  br i1 %347, label %348, label %356

348:                                              ; preds = %345
  store i8 1, ptr %15, align 1, !tbaa !139
  %349 = load ptr, ptr %17, align 8, !tbaa !9
  %350 = getelementptr inbounds %struct.ImGuiBoxSelectState, ptr %349, i32 0, i32 1
  %351 = load i8, ptr %350, align 4, !tbaa !146, !range !120, !noundef !121
  %352 = trunc i8 %351 to i1
  br i1 %352, label %353, label %355

353:                                              ; preds = %348
  %354 = load ptr, ptr %17, align 8, !tbaa !9
  call void @_ZL23BoxSelectDeactivateDragP19ImGuiBoxSelectState(ptr noundef %354)
  br label %355

355:                                              ; preds = %353, %348
  br label %356

356:                                              ; preds = %355, %345
  br label %357

357:                                              ; preds = %356, %330
  br label %358

358:                                              ; preds = %357, %323
  %359 = load i32, ptr %4, align 4, !tbaa !5
  %360 = and i32 %359, 1
  %361 = icmp ne i32 %360, 0
  br i1 %361, label %370, label %362

362:                                              ; preds = %358
  %363 = load i32, ptr %4, align 4, !tbaa !5
  %364 = and i32 %363, 2
  %365 = icmp ne i32 %364, 0
  br i1 %365, label %370, label %366

366:                                              ; preds = %362
  %367 = call noundef zeroext i1 @_ZN5ImGui8ShortcutEii(i32 noundef 4642, i32 noundef 0)
  br i1 %367, label %368, label %369

368:                                              ; preds = %366
  store i8 1, ptr %16, align 1, !tbaa !139
  br label %369

369:                                              ; preds = %368, %366
  br label %370

370:                                              ; preds = %369, %362, %358
  br label %371

371:                                              ; preds = %370, %318
  %372 = load i8, ptr %15, align 1, !tbaa !139, !range !120, !noundef !121
  %373 = trunc i8 %372 to i1
  br i1 %373, label %377, label %374

374:                                              ; preds = %371
  %375 = load i8, ptr %16, align 1, !tbaa !139, !range !120, !noundef !121
  %376 = trunc i8 %375 to i1
  br i1 %376, label %377, label %387

377:                                              ; preds = %374, %371
  %378 = load ptr, ptr %12, align 8, !tbaa !9
  %379 = load i8, ptr %16, align 1, !tbaa !139, !range !120, !noundef !121
  %380 = trunc i8 %379 to i1
  call void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef %378, i1 noundef zeroext %380)
  %381 = load i8, ptr %16, align 1, !tbaa !139, !range !120, !noundef !121
  %382 = trunc i8 %381 to i1
  br i1 %382, label %386, label %383

383:                                              ; preds = %377
  %384 = load ptr, ptr %14, align 8, !tbaa !9
  %385 = getelementptr inbounds %struct.ImGuiMultiSelectState, ptr %384, i32 0, i32 3
  store i32 0, ptr %385, align 8, !tbaa !129
  br label %386

386:                                              ; preds = %383, %377
  br label %387

387:                                              ; preds = %386, %374
  %388 = load i8, ptr %16, align 1, !tbaa !139, !range !120, !noundef !121
  %389 = trunc i8 %388 to i1
  br i1 %389, label %390, label %391

390:                                              ; preds = %387
  br label %396

391:                                              ; preds = %387
  %392 = load i8, ptr %15, align 1, !tbaa !139, !range !120, !noundef !121
  %393 = trunc i8 %392 to i1
  %394 = zext i1 %393 to i64
  %395 = select i1 %393, i32 0, i32 -1
  br label %396

396:                                              ; preds = %391, %390
  %397 = phi i32 [ 1, %390 ], [ %395, %391 ]
  %398 = trunc i32 %397 to i8
  %399 = load ptr, ptr %12, align 8, !tbaa !9
  %400 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %399, i32 0, i32 9
  store i8 %398, ptr %400, align 8, !tbaa !148
  %401 = load ptr, ptr %12, align 8, !tbaa !9
  %402 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %401, i32 0, i32 6
  store i64 -1, ptr %402, align 8, !tbaa !149
  %403 = load ptr, ptr %7, align 8, !tbaa !9
  %404 = getelementptr inbounds %struct.ImGuiContext, ptr %403, i32 0, i32 260
  %405 = load i32, ptr %404, align 4, !tbaa !150
  %406 = and i32 %405, 32
  %407 = icmp ne i32 %406, 0
  br i1 %407, label %408, label %411

408:                                              ; preds = %396
  %409 = load ptr, ptr %12, align 8, !tbaa !9
  %410 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %409, i32 0, i32 0
  call void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef @.str.158, ptr noundef %410)
  br label %411

411:                                              ; preds = %408, %396
  %412 = load ptr, ptr %12, align 8, !tbaa !9
  %413 = getelementptr inbounds %struct.ImGuiMultiSelectTempData, ptr %412, i32 0, i32 0
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret ptr %413

414:                                              ; preds = %39
  %415 = load ptr, ptr %10, align 8
  %416 = load i32, ptr %11, align 4
  %417 = insertvalue { ptr, i32 } poison, ptr %415, 0
  %418 = insertvalue { ptr, i32 } %417, i32 %416, 1
  resume { ptr, i32 } %418
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN24ImGuiMultiSelectTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(95)) unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95)) unnamed_addr #4 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) #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN24ImGuiMultiSelectTempData5ClearEv(ptr noundef nonnull align 8 dereferenceable(95)) #6 align 2

declare void @_ZN5ImGui14PushFocusScopeEj(i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6ImPoolI21ImGuiMultiSelectStateE13GetOrAddByKeyEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #6 align 2

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

declare noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef) #3

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

declare noundef zeroext i1 @_ZN5ImGui8ShortcutEii(i32 noundef, i32 noundef) #3

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

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

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


; 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.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.ImVec2 = type { float, float }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.156 = external hidden unnamed_addr constant [54 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui16BeginMultiSelectEiii = external hidden unnamed_addr constant [77 x i8], align 1
@.str.157 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.158 = external hidden unnamed_addr constant [17 x i8], align 1

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

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

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

declare i32 @__gxx_personality_v0(...)

declare noundef zeroext i1 @_ZN5ImGui8ShortcutEiij(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui14BeginBoxSelectERK6ImRectP11ImGuiWindowji(ptr noundef nonnull align 4 dereferenceable(16), ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare hidden void @_ZL23BoxSelectDeactivateDragP19ImGuiBoxSelectState(ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN5ImGui16BeginMultiSelectEiii(i32 noundef %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #4 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.ImGuiMultiSelectTempData, align 8
  %5 = alloca %struct.ImRect, align 8
  %6 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %6, i64 16504
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %9 = getelementptr inbounds i8, ptr %6, i64 20400
  %10 = load i32, ptr %9, align 8, !tbaa !91
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %9, align 8, !tbaa !91
  %12 = getelementptr inbounds i8, ptr %6, i64 20408
  %13 = load i32, ptr %12, align 8, !tbaa !92
  %.not = icmp slt i32 %10, %13
  br i1 %.not, label %18, label %14

14:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 96, ptr nonnull %4) #7
  call void @_ZN24ImGuiMultiSelectTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(95) %4)
  invoke void @_ZN8ImVectorI24ImGuiMultiSelectTempDataE6resizeEiRKS0_(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %11, ptr noundef nonnull align 8 dereferenceable(95) %4)
          to label %15 unwind label %16

15:                                               ; preds = %14
  call void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95) %4) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #7
  %.pre = load i32, ptr %9, align 8, !tbaa !91
  br label %18

16:                                               ; preds = %14
  %17 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95) %4) #7
  call void @llvm.lifetime.end.p0(i64 96, ptr nonnull %4) #7
  resume { ptr, i32 } %17

18:                                               ; preds = %15, %3
  %19 = phi i32 [ %.pre, %15 ], [ %11, %3 ]
  %20 = add nsw i32 %19, -1
  %21 = call noundef nonnull align 8 dereferenceable(95) ptr @_ZN8ImVectorI24ImGuiMultiSelectTempDataEixEi(ptr noundef nonnull align 8 dereferenceable(16) %12, i32 noundef %20)
  %22 = getelementptr inbounds i8, ptr %6, i64 20392
  store ptr %21, ptr %22, align 8, !tbaa !93
  %23 = and i32 %0, 6144
  %24 = icmp eq i32 %23, 0
  %25 = or disjoint i32 %0, 2048
  %spec.select = select i1 %24, i32 %25, i32 %0
  %26 = and i32 %spec.select, 1
  %.not113 = icmp eq i32 %26, 0
  %27 = and i32 %spec.select, -193
  %.1 = select i1 %.not113, i32 %spec.select, i32 %27
  %28 = and i32 %.1, 128
  %.not114 = icmp eq i32 %28, 0
  %29 = and i32 %.1, -65
  %.2 = select i1 %.not114, i32 %.1, i32 %29
  %30 = getelementptr inbounds i8, ptr %8, i64 264
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN8ImVectorIjE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %30)
  %32 = load i32, ptr %31, align 4, !tbaa !94
  call void @_ZN24ImGuiMultiSelectTempData5ClearEv(ptr noundef nonnull align 8 dereferenceable(95) %21)
  %33 = getelementptr inbounds i8, ptr %21, i64 48
  store i32 %32, ptr %33, align 8, !tbaa !95
  %34 = getelementptr inbounds i8, ptr %21, i64 52
  store i32 %.2, ptr %34, align 4, !tbaa !99
  %35 = getelementptr inbounds i8, ptr %6, i64 19372
  %36 = load i32, ptr %35, align 4, !tbaa !100
  %37 = icmp eq i32 %32, %36
  %38 = getelementptr inbounds i8, ptr %21, i64 90
  %39 = zext i1 %37 to i8
  store i8 %39, ptr %38, align 2, !tbaa !101
  %40 = getelementptr inbounds i8, ptr %8, i64 280
  %41 = getelementptr inbounds i8, ptr %8, i64 304
  %42 = getelementptr inbounds i8, ptr %21, i64 64
  %43 = load i64, ptr %41, align 8
  store i64 %43, ptr %42, align 8
  %44 = load i64, ptr %40, align 8
  store i64 %44, ptr %41, align 8
  %45 = getelementptr inbounds i8, ptr %21, i64 56
  store i64 %44, ptr %45, align 8
  %46 = load i32, ptr %33, align 8, !tbaa !95
  call void @_ZN5ImGui14PushFocusScopeEj(i32 noundef %46)
  %47 = and i32 %.2, 2048
  %.not115 = icmp eq i32 %47, 0
  br i1 %.not115, label %52, label %48

48:                                               ; preds = %18
  %49 = getelementptr inbounds i8, ptr %8, i64 372
  %50 = load i16, ptr %49, align 4, !tbaa !102
  %51 = or i16 %50, 1
  store i16 %51, ptr %49, align 4, !tbaa !102
  br label %52

52:                                               ; preds = %48, %18
  %53 = getelementptr inbounds i8, ptr %6, i64 19812
  %54 = load i32, ptr %53, align 4, !tbaa !116
  %.not116 = icmp eq i32 %54, 0
  br i1 %.not116, label %62, label %55

55:                                               ; preds = %52
  %56 = getelementptr inbounds i8, ptr %6, i64 19824
  %57 = load i8, ptr %56, align 8, !tbaa !117, !range !118, !noundef !119
  %58 = trunc nuw i8 %57 to i1
  br i1 %58, label %65, label %59

59:                                               ; preds = %55
  %60 = getelementptr inbounds i8, ptr %6, i64 19820
  %61 = load i32, ptr %60, align 4, !tbaa !120
  br label %65

62:                                               ; preds = %52
  %63 = getelementptr inbounds i8, ptr %6, i64 304
  %64 = load i32, ptr %63, align 8, !tbaa !121
  br label %65

65:                                               ; preds = %59, %55, %62
  %66 = phi i32 [ %64, %62 ], [ %61, %59 ], [ 0, %55 ]
  %67 = getelementptr inbounds i8, ptr %21, i64 84
  %68 = and i32 %.2, 4
  %.not117 = icmp eq i32 %68, 0
  %69 = and i32 %66, -8193
  %spec.select127 = select i1 %.not117, i32 %66, i32 %69
  store i32 %spec.select127, ptr %67, align 4, !tbaa !122
  %70 = getelementptr inbounds i8, ptr %6, i64 20424
  %71 = call noundef ptr @_ZN6ImPoolI21ImGuiMultiSelectStateE13GetOrAddByKeyEj(ptr noundef nonnull align 8 dereferenceable(40) %70, i32 noundef %32)
  %72 = getelementptr inbounds i8, ptr %71, i64 8
  store i32 %32, ptr %72, align 8, !tbaa !123
  %73 = getelementptr inbounds i8, ptr %6, i64 16320
  %74 = load i32, ptr %73, align 8, !tbaa !125
  %75 = getelementptr inbounds i8, ptr %71, i64 12
  store i32 %74, ptr %75, align 4, !tbaa !126
  %76 = getelementptr inbounds i8, ptr %71, i64 16
  store i32 %1, ptr %76, align 8, !tbaa !127
  store ptr %8, ptr %71, align 8, !tbaa !128
  %77 = getelementptr inbounds i8, ptr %21, i64 40
  store ptr %71, ptr %77, align 8, !tbaa !129
  call void @_ZN8ImVectorI21ImGuiSelectionRequestE6resizeEi(ptr noundef nonnull align 8 dereferenceable(16) %21, i32 noundef 0)
  %78 = getelementptr inbounds i8, ptr %71, i64 24
  %79 = getelementptr inbounds i8, ptr %21, i64 16
  %80 = load <2 x i64>, ptr %78, align 8, !tbaa !130
  store <2 x i64> %80, ptr %79, align 8, !tbaa !130
  %81 = getelementptr inbounds i8, ptr %71, i64 21
  %82 = load i8, ptr %81, align 1, !tbaa !131
  %83 = icmp eq i8 %82, 1
  %84 = getelementptr inbounds i8, ptr %21, i64 32
  %85 = zext i1 %83 to i8
  store i8 %85, ptr %84, align 8, !tbaa !132
  %86 = getelementptr inbounds i8, ptr %21, i64 36
  store i32 %2, ptr %86, align 4, !tbaa !133
  %87 = load i32, ptr %53, align 4, !tbaa !116
  %.not118 = icmp eq i32 %87, 0
  %.pre137 = load i32, ptr %33, align 8, !tbaa !95
  br i1 %.not118, label %110, label %88

88:                                               ; preds = %65
  %89 = getelementptr inbounds i8, ptr %6, i64 19816
  %90 = load i32, ptr %89, align 8, !tbaa !134
  %91 = icmp eq i32 %90, %.pre137
  br i1 %91, label %92, label %110

92:                                               ; preds = %88
  %93 = getelementptr inbounds i8, ptr %6, i64 19825
  %94 = load i8, ptr %93, align 1, !tbaa !135, !range !118, !noundef !119
  %95 = trunc nuw i8 %94 to i1
  br i1 %95, label %96, label %110

96:                                               ; preds = %92
  %97 = load i32, ptr %67, align 4, !tbaa !122
  %98 = and i32 %97, 8192
  %.not119 = icmp eq i32 %98, 0
  %.phi.trans.insert = getelementptr inbounds i8, ptr %21, i64 91
  br i1 %.not119, label %._crit_edge, label %100

._crit_edge:                                      ; preds = %96
  %.pre136 = load i8, ptr %.phi.trans.insert, align 1, !tbaa !136, !range !118
  %99 = trunc nuw i8 %.pre136 to i1
  br label %101

100:                                              ; preds = %96
  store i8 1, ptr %.phi.trans.insert, align 1, !tbaa !136
  br label %101

101:                                              ; preds = %._crit_edge, %100
  %102 = phi i1 [ %99, %._crit_edge ], [ true, %100 ]
  %103 = extractelement <2 x i64> %80, i64 0
  %.not120 = icmp eq i64 %103, -1
  %or.cond135 = select i1 %102, i1 %.not120, i1 false
  br i1 %or.cond135, label %104, label %105

104:                                              ; preds = %101
  call void @__assert_fail(ptr noundef nonnull @.str.156, ptr noundef nonnull @.str.2, i32 noundef 7413, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui16BeginMultiSelectEiii) #8
  unreachable

105:                                              ; preds = %101
  %106 = and i32 %97, 12288
  %107 = icmp eq i32 %106, 0
  %108 = and i32 %.2, 24
  %109 = icmp eq i32 %108, 0
  %or.cond = select i1 %107, i1 %109, i1 false
  br label %120

110:                                              ; preds = %92, %88, %65
  %111 = getelementptr inbounds i8, ptr %6, i64 19808
  %112 = load i32, ptr %111, align 8, !tbaa !137
  %113 = icmp eq i32 %112, %.pre137
  br i1 %113, label %114, label %120

114:                                              ; preds = %110
  %115 = load i32, ptr %67, align 4, !tbaa !122
  %116 = and i32 %115, 12288
  %117 = icmp eq i32 %116, 0
  %118 = and i32 %.2, 24
  %119 = icmp eq i32 %118, 0
  %or.cond130 = select i1 %117, i1 %119, i1 false
  br label %120

120:                                              ; preds = %114, %105, %110
  %.0109.shrunk = phi i1 [ false, %110 ], [ %or.cond, %105 ], [ %or.cond130, %114 ]
  %.0109 = zext i1 %.0109.shrunk to i8
  %121 = getelementptr inbounds i8, ptr %6, i64 20288
  %122 = and i32 %.2, 192
  %.not121 = icmp eq i32 %122, 0
  br i1 %.not121, label %136, label %123

123:                                              ; preds = %120
  %124 = call noundef i32 @_ZN5ImGui5GetIDEPKc(ptr noundef nonnull @.str.157)
  %125 = getelementptr inbounds i8, ptr %21, i64 80
  store i32 %124, ptr %125, align 8, !tbaa !138
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #7
  %126 = call { <2 x float>, <2 x float> } @_ZL13CalcScopeRectP24ImGuiMultiSelectTempDataP11ImGuiWindow(ptr noundef nonnull %21, ptr noundef nonnull %8)
  %127 = extractvalue { <2 x float>, <2 x float> } %126, 0
  store <2 x float> %127, ptr %5, align 8
  %128 = getelementptr inbounds i8, ptr %5, i64 8
  %129 = extractvalue { <2 x float>, <2 x float> } %126, 1
  store <2 x float> %129, ptr %128, align 8
  %130 = load i32, ptr %125, align 8, !tbaa !138
  %131 = call noundef zeroext i1 @_ZN5ImGui14BeginBoxSelectERK6ImRectP11ImGuiWindowji(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull %8, i32 noundef %130, i32 noundef %.2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #7
  br i1 %131, label %132, label %136

132:                                              ; preds = %123
  %133 = getelementptr inbounds i8, ptr %6, i64 20296
  %134 = load i8, ptr %133, align 8, !tbaa !139, !range !118, !noundef !119
  %135 = or i8 %134, %.0109
  br label %136

136:                                              ; preds = %123, %132, %120
  %.1110 = phi i8 [ %135, %132 ], [ %.0109, %123 ], [ %.0109, %120 ]
  %137 = load i8, ptr %38, align 2, !tbaa !101, !range !118, !noundef !119
  %138 = trunc nuw i8 %137 to i1
  br i1 %138, label %139, label %161

139:                                              ; preds = %136
  %140 = and i32 %.2, 512
  %.not122 = icmp eq i32 %140, 0
  br i1 %.not122, label %157, label %141

141:                                              ; preds = %139
  %.not123 = icmp eq i32 %1, 0
  %142 = getelementptr inbounds i8, ptr %6, i64 20292
  %143 = load i8, ptr %142, align 4, !tbaa !140, !range !118
  br i1 %.not123, label %144, label %._crit_edge138

144:                                              ; preds = %141
  %145 = trunc nuw i8 %143 to i1
  br i1 %145, label %._crit_edge138, label %157

._crit_edge138:                                   ; preds = %141, %144
  %146 = getelementptr inbounds i8, ptr %6, i64 20292
  %147 = trunc nuw i8 %143 to i1
  br i1 %147, label %148, label %150

148:                                              ; preds = %._crit_edge138
  %149 = load i32, ptr %121, align 8, !tbaa !141
  br label %150

150:                                              ; preds = %._crit_edge138, %148
  %151 = phi i32 [ %149, %148 ], [ 0, %._crit_edge138 ]
  %152 = call noundef zeroext i1 @_ZN5ImGui8ShortcutEiij(i32 noundef 526, i32 noundef 0, i32 noundef %151)
  br i1 %152, label %153, label %157

153:                                              ; preds = %150
  %154 = load i8, ptr %146, align 4, !tbaa !140, !range !118, !noundef !119
  %155 = trunc nuw i8 %154 to i1
  br i1 %155, label %156, label %157

156:                                              ; preds = %153
  call void @_ZL23BoxSelectDeactivateDragP19ImGuiBoxSelectState(ptr noundef nonnull %121)
  br label %157

157:                                              ; preds = %144, %153, %156, %150, %139
  %.2111 = phi i8 [ 1, %156 ], [ 1, %153 ], [ %.1110, %150 ], [ %.1110, %144 ], [ %.1110, %139 ]
  %158 = and i32 %.2, 3
  %or.cond131 = icmp eq i32 %158, 0
  br i1 %or.cond131, label %159, label %161

159:                                              ; preds = %157
  %160 = call noundef zeroext i1 @_ZN5ImGui8ShortcutEii(i32 noundef 4642, i32 noundef 0)
  br label %161

161:                                              ; preds = %159, %157, %136
  %.3 = phi i8 [ %.2111, %157 ], [ %.1110, %136 ], [ %.2111, %159 ]
  %.0108 = phi i1 [ false, %157 ], [ false, %136 ], [ %160, %159 ]
  %162 = trunc nuw i8 %.3 to i1
  %brmerge = or i1 %.0108, %162
  br i1 %brmerge, label %163, label %164

163:                                              ; preds = %161
  call void @_ZN5ImGui20MultiSelectAddSetAllEP24ImGuiMultiSelectTempDatab(ptr noundef nonnull %21, i1 noundef zeroext %.0108)
  br i1 %.0108, label %.critedge, label %.thread

.thread:                                          ; preds = %163
  store i32 0, ptr %76, align 8, !tbaa !127
  br label %164

164:                                              ; preds = %161, %.thread
  %165 = or i8 %.3, -2
  %.neg = add nsw i8 %165, 1
  br label %.critedge

.critedge:                                        ; preds = %163, %164
  %166 = phi i8 [ %.neg, %164 ], [ 1, %163 ]
  %167 = getelementptr inbounds i8, ptr %21, i64 88
  store i8 %166, ptr %167, align 8, !tbaa !142
  %168 = getelementptr inbounds i8, ptr %21, i64 72
  store i64 -1, ptr %168, align 8, !tbaa !143
  %169 = getelementptr inbounds i8, ptr %6, i64 24956
  %170 = load i32, ptr %169, align 4, !tbaa !144
  %171 = and i32 %170, 32
  %.not126 = icmp eq i32 %171, 0
  br i1 %.not126, label %173, label %172

172:                                              ; preds = %.critedge
  call void @_ZL27DebugLogMultiSelectRequestsPKcPK18ImGuiMultiSelectIO(ptr noundef nonnull @.str.158, ptr noundef nonnull %21)
  br label %173

173:                                              ; preds = %172, %.critedge
  ret ptr %21
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN24ImGuiMultiSelectTempDataC2Ev(ptr noundef nonnull align 8 dereferenceable(95)) unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN24ImGuiMultiSelectTempDataD2Ev(ptr noundef nonnull align 8 dereferenceable(95)) unnamed_addr #3 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 #3 align 2

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

declare void @_ZN5ImGui14PushFocusScopeEj(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN6ImPoolI21ImGuiMultiSelectStateE13GetOrAddByKeyEj(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #5 align 2

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

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

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

declare noundef zeroext i1 @_ZN5ImGui8ShortcutEii(i32 noundef, i32 noundef) local_unnamed_addr #2

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress uwtable "min-legal-vector-width"="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 #5 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { 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 #7 = { nounwind }
attributes #8 = { 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 16504}
!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 = !{!10, !13, i64 20400}
!92 = !{!10, !13, i64 20408}
!93 = !{!10, !6, i64 20392}
!94 = !{!13, !13, i64 0}
!95 = !{!96, !13, i64 48}
!96 = !{!"_ZTS24ImGuiMultiSelectTempData", !97, 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}
!97 = !{!"_ZTS18ImGuiMultiSelectIO", !98, i64 0, !35, i64 16, !35, i64 24, !11, i64 32, !11, i64 33, !13, i64 36}
!98 = !{!"_ZTS8ImVectorI21ImGuiSelectionRequestE", !13, i64 0, !13, i64 4, !6, i64 8}
!99 = !{!96, !13, i64 52}
!100 = !{!10, !13, i64 19372}
!101 = !{!96, !11, i64 90}
!102 = !{!103, !16, i64 372}
!103 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !14, i64 80, !14, i64 88, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !13, i64 136, !13, i64 140, !13, i64 144, !13, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !11, i64 200, !11, i64 201, !11, i64 202, !11, i64 203, !11, i64 204, !11, i64 205, !11, i64 206, !11, i64 207, !11, i64 208, !11, i64 209, !11, i64 210, !11, i64 211, !11, i64 212, !11, i64 213, !7, i64 214, !7, i64 215, !16, i64 216, !16, i64 218, !16, i64 220, !16, i64 222, !16, i64 224, !7, i64 226, !7, i64 227, !11, i64 228, !20, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !13, i64 240, !13, i64 241, !13, i64 242, !14, i64 244, !14, i64 252, !76, i64 264, !104, i64 280, !38, i64 512, !38, i64 528, !38, i64 544, !38, i64 560, !38, i64 576, !38, i64 592, !38, i64 608, !107, i64 624, !107, i64 628, !13, i64 632, !15, i64 636, !15, i64 640, !28, i64 648, !108, i64 664, !15, i64 680, !13, i64 684, !6, i64 688, !109, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !13, i64 1016, !13, i64 1020, !13, i64 1024, !11, i64 1028}
!104 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !11, i64 64, !11, i64 65, !105, i64 68, !105, i64 72, !105, i64 76, !14, i64 80, !49, i64 88, !16, i64 92, !16, i64 94, !11, i64 96, !11, i64 97, !11, i64 98, !11, i64 99, !14, i64 100, !106, i64 108, !13, i64 136, !13, i64 140, !26, i64 144, !6, i64 160, !6, i64 168, !13, i64 176, !13, i64 180, !13, i64 184, !13, i64 188, !15, i64 192, !15, i64 196, !58, i64 200, !58, i64 216}
!105 = !{!"_ZTS6ImVec1", !15, i64 0}
!106 = !{!"_ZTS16ImGuiMenuColumns", !13, i64 0, !13, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!107 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!108 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !13, i64 0, !13, i64 4, !6, i64 8}
!109 = !{!"_ZTS10ImDrawList", !110, i64 0, !18, i64 16, !111, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !23, i64 80, !112, i64 96, !113, i64 128, !114, i64 152, !115, i64 168, !15, i64 184, !6, i64 192}
!110 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!112 = !{!"_ZTS15ImDrawCmdHeader", !22, i64 0, !6, i64 16, !13, i64 24}
!113 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !59, i64 8}
!114 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!115 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!116 = !{!10, !13, i64 19812}
!117 = !{!10, !11, i64 19824}
!118 = !{i8 0, i8 2}
!119 = !{}
!120 = !{!10, !13, i64 19820}
!121 = !{!10, !13, i64 304}
!122 = !{!96, !13, i64 84}
!123 = !{!124, !13, i64 8}
!124 = !{!"_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}
!125 = !{!10, !13, i64 16320}
!126 = !{!124, !13, i64 12}
!127 = !{!124, !13, i64 16}
!128 = !{!124, !6, i64 0}
!129 = !{!96, !6, i64 40}
!130 = !{!35, !35, i64 0}
!131 = !{!124, !7, i64 21}
!132 = !{!96, !11, i64 32}
!133 = !{!96, !13, i64 36}
!134 = !{!10, !13, i64 19816}
!135 = !{!10, !11, i64 19825}
!136 = !{!96, !11, i64 91}
!137 = !{!10, !13, i64 19808}
!138 = !{!96, !13, i64 80}
!139 = !{!64, !11, i64 8}
!140 = !{!64, !11, i64 4}
!141 = !{!64, !13, i64 0}
!142 = !{!96, !7, i64 88}
!143 = !{!96, !35, i64 72}
!144 = !{!10, !13, i64 24956}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass