; LLVM IR from bohanwang/libpgo :: third-party/imgui/imgui_widgets.ll (ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow)

; 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.ImGuiNextItemData = type <{ i32, i32, i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8] }>
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, i32, i32, float, float, float, float, i32, i16, i16, i8, [3 x i8] }>
%struct.ImGuiTabBar = type { %struct.ImVector.39, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, float, float, float, float, i32, i16, i8, i8, i8, i8, i16, i16, float, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.39 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.31 }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiContext = type { i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, 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, i32, [4 x i8], %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, 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.31, %struct.ImVector, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.33, %struct.ImChunkStream, %struct.ImChunkStream.34, %struct.ImVector.35, i32, [8 x ptr], i8, i32, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.31, [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, float, float, float, float, float, float, i8, i8, i8, i8, i8, [3 x i8], 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, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [55 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, 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.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.ImGuiInputTextState = type { ptr, i32, i32, i32, %struct.ImVector.5, %struct.ImVector.31, %struct.ImVector.31, 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.31 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.32, 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.32 = type { i32, i32, ptr }
%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.33 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.31 }
%struct.ImChunkStream.34 = type { %struct.ImVector.31 }
%struct.ImVector.35 = type { i32, i32, ptr }
%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.36, i8, float }
%struct.ImVector.36 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImGuiWindow = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i8, i8, i8, [3 x i8], i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, [3 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, %struct.ImVector.9, %struct.ImVector.10, float, ptr }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.8 }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [72 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: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

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

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

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

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

declare void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) #4

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #6

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) #4

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

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

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

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

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

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #9 align 2

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) #4

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

declare void @_ZN5ImGui11PopClipRectEv() #4

declare noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef, ptr noundef, i32 noundef) #4

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

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

; Function Attrs: mustprogress uwtable
declare hidden void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef, i32 noundef) #9

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef, ptr noundef, <2 x float>) #7

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) #7 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca %struct.ImGuiNextItemData, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca %struct.ImRect, align 4
  %19 = alloca ptr, align 8
  %20 = alloca i8, align 1
  %21 = alloca %struct.ImGuiTabItem, align 4
  %22 = alloca %struct.ImVec2, align 4
  %23 = alloca i8, align 1
  %24 = alloca i8, align 1
  %25 = alloca i8, align 1
  %26 = alloca i8, align 1
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = alloca %struct.ImRect, align 4
  %30 = alloca %struct.ImVec2, align 4
  %31 = alloca i8, align 1
  %32 = alloca %struct.ImVec2, align 4
  %33 = alloca %struct.ImVec2, align 4
  %34 = alloca %struct.ImVec2, align 4
  %35 = alloca %struct.ImVec2, align 4
  %36 = alloca %struct.ImVec2, align 4
  %37 = alloca %struct.ImRect, align 4
  %38 = alloca %struct.ImVec2, align 4
  %39 = alloca i8, align 1
  %40 = alloca %struct.ImVec2, align 4
  %41 = alloca %struct.ImVec2, align 4
  %42 = alloca %struct.ImVec2, align 4
  %43 = alloca %struct.ImVec2, align 4
  %44 = alloca i32, align 4
  %45 = alloca i8, align 1
  %46 = alloca i8, align 1
  %47 = alloca i8, align 1
  %48 = alloca %struct.ImVec2, align 4
  %49 = alloca %struct.ImVec2, align 4
  %50 = alloca ptr, align 8
  %51 = alloca i32, align 4
  %52 = alloca float, align 4
  %53 = alloca float, align 4
  %54 = alloca %struct.ImVec2, align 4
  %55 = alloca %struct.ImVec2, align 4
  %56 = alloca %struct.ImVec2, align 4
  %57 = alloca %struct.ImVec2, align 4
  %58 = alloca %struct.ImVec2, align 4
  %59 = alloca %struct.ImVec2, align 4
  %60 = alloca i8, align 1
  %61 = alloca i32, align 4
  %62 = alloca i8, align 1
  %63 = alloca i8, align 1
  %64 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #12
  %65 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %65, ptr %12, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiTabBar, ptr %66, i32 0, i32 24
  %68 = load i8, ptr %67, align 1, !tbaa !11, !range !21, !noundef !22
  %69 = trunc i8 %68 to i1
  br i1 %69, label %70, label %76

70:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #12
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 87
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %72, i64 40, i1 false), !tbaa.struct !23
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef %73)
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiContext, ptr %74, i32 0, i32 87
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %75, ptr align 8 %13, i64 38, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #12
  br label %76

76:                                               ; preds = %70, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #12
  %77 = load ptr, ptr %12, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.ImGuiContext, ptr %77, i32 0, i32 33
  %79 = load ptr, ptr %78, align 8, !tbaa !29
  store ptr %79, ptr %14, align 8, !tbaa !5
  %80 = load ptr, ptr %14, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ImGuiWindow, ptr %80, i32 0, i32 41
  %82 = load i8, ptr %81, align 1, !tbaa !98, !range !21, !noundef !22
  %83 = trunc i8 %82 to i1
  br i1 %83, label %84, label %85

84:                                               ; preds = %76
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %813

85:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #12
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ImGuiContext, ptr %86, i32 0, i32 4
  store ptr %87, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #12
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = load ptr, ptr %8, align 8, !tbaa !5
  %90 = load ptr, ptr %11, align 8, !tbaa !5
  %91 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKcP11ImGuiWindow(ptr noundef %88, ptr noundef %89, ptr noundef %90)
  store i32 %91, ptr %17, align 4, !tbaa !9
  %92 = load ptr, ptr %12, align 8, !tbaa !5
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %102

95:                                               ; preds = %85
  %96 = load ptr, ptr %9, align 8, !tbaa !5
  %97 = load i8, ptr %96, align 1, !tbaa !27, !range !21, !noundef !22
  %98 = trunc i8 %97 to i1
  br i1 %98, label %102, label %99

99:                                               ; preds = %95
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %18)
  %100 = load i32, ptr %17, align 4, !tbaa !9
  %101 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %18, i32 noundef %100, ptr noundef null, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #12
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %812

102:                                              ; preds = %95, %85
  %103 = load ptr, ptr %9, align 8, !tbaa !5
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %110

105:                                              ; preds = %102
  %106 = load i32, ptr %10, align 4, !tbaa !9
  %107 = and i32 %106, 2097152
  %108 = icmp ne i32 %107, 0
  %109 = xor i1 %108, true
  br label %110

110:                                              ; preds = %105, %102
  %111 = phi i1 [ true, %102 ], [ %109, %105 ]
  br i1 %111, label %112, label %113

112:                                              ; preds = %110
  br label %115

113:                                              ; preds = %110
  call void @__assert_fail(ptr noundef @.str.186, ptr noundef @.str.2, i32 noundef 8703, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

114:                                              ; No predecessors!
  br label %115

115:                                              ; preds = %114, %112
  %116 = load i32, ptr %10, align 4, !tbaa !9
  %117 = and i32 %116, 192
  %118 = icmp ne i32 %117, 192
  br i1 %118, label %119, label %120

119:                                              ; preds = %115
  br label %122

120:                                              ; preds = %115
  call void @__assert_fail(ptr noundef @.str.187, ptr noundef @.str.2, i32 noundef 8704, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

121:                                              ; No predecessors!
  br label %122

122:                                              ; preds = %121, %119
  %123 = load i32, ptr %10, align 4, !tbaa !9
  %124 = and i32 %123, 1048576
  %125 = icmp ne i32 %124, 0
  br i1 %125, label %126, label %127

126:                                              ; preds = %122
  store ptr null, ptr %9, align 8, !tbaa !5
  br label %134

127:                                              ; preds = %122
  %128 = load ptr, ptr %9, align 8, !tbaa !5
  %129 = icmp eq ptr %128, null
  br i1 %129, label %130, label %133

130:                                              ; preds = %127
  %131 = load i32, ptr %10, align 4, !tbaa !9
  %132 = or i32 %131, 1048576
  store i32 %132, ptr %10, align 4, !tbaa !9
  br label %133

133:                                              ; preds = %130, %127
  br label %134

134:                                              ; preds = %133, %126
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #12
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = load i32, ptr %17, align 4, !tbaa !9
  %137 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %135, i32 noundef %136)
  store ptr %137, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #12
  store i8 0, ptr %20, align 1, !tbaa !27
  %138 = load ptr, ptr %19, align 8, !tbaa !5
  %139 = icmp eq ptr %138, null
  br i1 %139, label %140, label %151

140:                                              ; preds = %134
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.ImGuiTabBar, ptr %141, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 44, ptr %21) #12
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(41) %21)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %142, ptr noundef nonnull align 4 dereferenceable(41) %21)
  call void @llvm.lifetime.end.p0(i64 44, ptr %21) #12
  %143 = load ptr, ptr %7, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ImGuiTabBar, ptr %143, i32 0, i32 0
  %145 = call noundef nonnull align 4 dereferenceable(41) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %144)
  store ptr %145, ptr %19, align 8, !tbaa !5
  %146 = load i32, ptr %17, align 4, !tbaa !9
  %147 = load ptr, ptr %19, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiTabItem, ptr %147, i32 0, i32 0
  store i32 %146, ptr %148, align 4, !tbaa !112
  store i8 1, ptr %20, align 1, !tbaa !27
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.ImGuiTabBar, ptr %149, i32 0, i32 26
  store i8 1, ptr %150, align 1, !tbaa !114
  br label %151

151:                                              ; preds = %140, %134
  %152 = load ptr, ptr %7, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiTabBar, ptr %152, i32 0, i32 0
  %154 = load ptr, ptr %19, align 8, !tbaa !5
  %155 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr noundef %154)
  %156 = trunc i32 %155 to i16
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiTabBar, ptr %157, i32 0, i32 28
  store i16 %156, ptr %158, align 8, !tbaa !115
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #12
  %159 = load ptr, ptr %8, align 8, !tbaa !5
  %160 = load ptr, ptr %9, align 8, !tbaa !5
  %161 = icmp ne ptr %160, null
  br i1 %161, label %166, label %162

162:                                              ; preds = %151
  %163 = load i32, ptr %10, align 4, !tbaa !9
  %164 = and i32 %163, 1
  %165 = icmp ne i32 %164, 0
  br label %166

166:                                              ; preds = %162, %151
  %167 = phi i1 [ true, %151 ], [ %165, %162 ]
  %168 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %159, i1 noundef zeroext %167)
  store <2 x float> %168, ptr %22, align 4
  %169 = load ptr, ptr %19, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiTabItem, ptr %169, i32 0, i32 7
  store float -1.000000e+00, ptr %170, align 4, !tbaa !116
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 87
  %173 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 8, !tbaa !117
  %175 = and i32 %174, 1
  %176 = icmp ne i32 %175, 0
  br i1 %176, label %177, label %185

177:                                              ; preds = %166
  %178 = load ptr, ptr %12, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 87
  %180 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %179, i32 0, i32 3
  %181 = load float, ptr %180, align 8, !tbaa !118
  %182 = load ptr, ptr %19, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ImGuiTabItem, ptr %182, i32 0, i32 7
  store float %181, ptr %183, align 4, !tbaa !116
  %184 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  store float %181, ptr %184, align 4, !tbaa !119
  br label %185

185:                                              ; preds = %177, %166
  %186 = load i8, ptr %20, align 1, !tbaa !27, !range !21, !noundef !22
  %187 = trunc i8 %186 to i1
  br i1 %187, label %188, label %194

188:                                              ; preds = %185
  %189 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %190 = load float, ptr %189, align 4, !tbaa !119
  %191 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %190)
  %192 = load ptr, ptr %19, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.ImGuiTabItem, ptr %192, i32 0, i32 5
  store float %191, ptr %193, align 4, !tbaa !120
  br label %194

194:                                              ; preds = %188, %185
  %195 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  %196 = load float, ptr %195, align 4, !tbaa !119
  %197 = load ptr, ptr %19, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.ImGuiTabItem, ptr %197, i32 0, i32 6
  store float %196, ptr %198, align 4, !tbaa !121
  %199 = load ptr, ptr %7, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.ImGuiTabBar, ptr %199, i32 0, i32 27
  %201 = load i16, ptr %200, align 2, !tbaa !122
  %202 = add i16 %201, 1
  store i16 %202, ptr %200, align 2, !tbaa !122
  %203 = load ptr, ptr %19, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiTabItem, ptr %203, i32 0, i32 9
  store i16 %201, ptr %204, align 4, !tbaa !123
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #12
  %205 = load ptr, ptr %7, align 8, !tbaa !5
  %206 = getelementptr inbounds %struct.ImGuiTabBar, ptr %205, i32 0, i32 7
  %207 = load i32, ptr %206, align 8, !tbaa !124
  %208 = add nsw i32 %207, 1
  %209 = load ptr, ptr %12, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiContext, ptr %209, i32 0, i32 11
  %211 = load i32, ptr %210, align 8, !tbaa !125
  %212 = icmp slt i32 %208, %211
  %213 = zext i1 %212 to i8
  store i8 %213, ptr %23, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #12
  %214 = load ptr, ptr %7, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImGuiTabBar, ptr %214, i32 0, i32 1
  %216 = load i32, ptr %215, align 8, !tbaa !126
  %217 = and i32 %216, 2097152
  %218 = icmp ne i32 %217, 0
  %219 = zext i1 %218 to i8
  store i8 %219, ptr %24, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #12
  %220 = load ptr, ptr %19, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.ImGuiTabItem, ptr %220, i32 0, i32 2
  %222 = load i32, ptr %221, align 4, !tbaa !127
  %223 = add nsw i32 %222, 1
  %224 = load ptr, ptr %12, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiContext, ptr %224, i32 0, i32 11
  %226 = load i32, ptr %225, align 8, !tbaa !125
  %227 = icmp slt i32 %223, %226
  %228 = zext i1 %227 to i8
  store i8 %228, ptr %25, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #12
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = and i32 %229, 1
  %231 = icmp ne i32 %230, 0
  br i1 %231, label %232, label %239

232:                                              ; preds = %194
  %233 = load ptr, ptr %19, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.ImGuiTabItem, ptr %233, i32 0, i32 1
  %235 = load i32, ptr %234, align 4, !tbaa !128
  %236 = and i32 %235, 1
  %237 = icmp ne i32 %236, 0
  %238 = xor i1 %237, true
  br label %239

239:                                              ; preds = %232, %194
  %240 = phi i1 [ false, %194 ], [ %238, %232 ]
  %241 = zext i1 %240 to i8
  store i8 %241, ptr %26, align 1, !tbaa !27
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #12
  %242 = load i32, ptr %10, align 4, !tbaa !9
  %243 = and i32 %242, 2097152
  %244 = icmp ne i32 %243, 0
  %245 = zext i1 %244 to i8
  store i8 %245, ptr %27, align 1, !tbaa !27
  %246 = load ptr, ptr %12, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.ImGuiContext, ptr %246, i32 0, i32 11
  %248 = load i32, ptr %247, align 8, !tbaa !125
  %249 = load ptr, ptr %19, align 8, !tbaa !5
  %250 = getelementptr inbounds %struct.ImGuiTabItem, ptr %249, i32 0, i32 2
  store i32 %248, ptr %250, align 4, !tbaa !127
  %251 = load i32, ptr %10, align 4, !tbaa !9
  %252 = load ptr, ptr %19, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.ImGuiTabItem, ptr %252, i32 0, i32 1
  store i32 %251, ptr %253, align 4, !tbaa !128
  %254 = load ptr, ptr %11, align 8, !tbaa !5
  %255 = icmp ne ptr %254, null
  br i1 %255, label %256, label %263

256:                                              ; preds = %239
  %257 = load ptr, ptr %11, align 8, !tbaa !5
  %258 = icmp eq ptr %257, null
  br i1 %258, label %259, label %260

259:                                              ; preds = %256
  br label %262

260:                                              ; preds = %256
  call void @__assert_fail(ptr noundef @.str.188, ptr noundef @.str.2, i32 noundef 8745, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

261:                                              ; No predecessors!
  br label %262

262:                                              ; preds = %261, %259
  br label %277

263:                                              ; preds = %239
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiTabBar, ptr %264, i32 0, i32 32
  %266 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %265)
  %267 = load ptr, ptr %19, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.ImGuiTabItem, ptr %267, i32 0, i32 8
  store i32 %266, ptr %268, align 4, !tbaa !129
  %269 = load ptr, ptr %7, align 8, !tbaa !5
  %270 = getelementptr inbounds %struct.ImGuiTabBar, ptr %269, i32 0, i32 32
  %271 = load ptr, ptr %8, align 8, !tbaa !5
  %272 = load ptr, ptr %8, align 8, !tbaa !5
  %273 = load ptr, ptr %8, align 8, !tbaa !5
  %274 = call i64 @strlen(ptr noundef %273) #14
  %275 = getelementptr inbounds i8, ptr %272, i64 %274
  %276 = getelementptr inbounds i8, ptr %275, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %270, ptr noundef %271, ptr noundef %276)
  br label %277

277:                                              ; preds = %263, %262
  %278 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %279 = trunc i8 %278 to i1
  br i1 %279, label %320, label %280

280:                                              ; preds = %277
  %281 = load i8, ptr %25, align 1, !tbaa !27, !range !21, !noundef !22
  %282 = trunc i8 %281 to i1
  br i1 %282, label %283, label %306

283:                                              ; preds = %280
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = getelementptr inbounds %struct.ImGuiTabBar, ptr %284, i32 0, i32 1
  %286 = load i32, ptr %285, align 8, !tbaa !126
  %287 = and i32 %286, 2
  %288 = icmp ne i32 %287, 0
  br i1 %288, label %289, label %306

289:                                              ; preds = %283
  %290 = load ptr, ptr %7, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.ImGuiTabBar, ptr %290, i32 0, i32 4
  %292 = load i32, ptr %291, align 4, !tbaa !130
  %293 = icmp eq i32 %292, 0
  br i1 %293, label %294, label %306

294:                                              ; preds = %289
  %295 = load i8, ptr %23, align 1, !tbaa !27, !range !21, !noundef !22
  %296 = trunc i8 %295 to i1
  br i1 %296, label %297, label %302

297:                                              ; preds = %294
  %298 = load ptr, ptr %7, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.ImGuiTabBar, ptr %298, i32 0, i32 3
  %300 = load i32, ptr %299, align 8, !tbaa !131
  %301 = icmp eq i32 %300, 0
  br i1 %301, label %302, label %305

302:                                              ; preds = %297, %294
  %303 = load ptr, ptr %7, align 8, !tbaa !5
  %304 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %303, ptr noundef %304)
  br label %305

305:                                              ; preds = %302, %297
  br label %306

306:                                              ; preds = %305, %289, %283, %280
  %307 = load i32, ptr %10, align 4, !tbaa !9
  %308 = and i32 %307, 2
  %309 = icmp ne i32 %308, 0
  br i1 %309, label %310, label %319

310:                                              ; preds = %306
  %311 = load ptr, ptr %7, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiTabBar, ptr %311, i32 0, i32 3
  %313 = load i32, ptr %312, align 8, !tbaa !131
  %314 = load i32, ptr %17, align 4, !tbaa !9
  %315 = icmp ne i32 %313, %314
  br i1 %315, label %316, label %319

316:                                              ; preds = %310
  %317 = load ptr, ptr %7, align 8, !tbaa !5
  %318 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %317, ptr noundef %318)
  br label %319

319:                                              ; preds = %316, %310, %306
  br label %320

320:                                              ; preds = %319, %277
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #12
  %321 = load ptr, ptr %7, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImGuiTabBar, ptr %321, i32 0, i32 5
  %323 = load i32, ptr %322, align 8, !tbaa !132
  %324 = load i32, ptr %17, align 4, !tbaa !9
  %325 = icmp eq i32 %323, %324
  %326 = zext i1 %325 to i8
  store i8 %326, ptr %28, align 1, !tbaa !27
  %327 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %328 = trunc i8 %327 to i1
  br i1 %328, label %329, label %332

329:                                              ; preds = %320
  %330 = load ptr, ptr %7, align 8, !tbaa !5
  %331 = getelementptr inbounds %struct.ImGuiTabBar, ptr %330, i32 0, i32 25
  store i8 1, ptr %331, align 4, !tbaa !133
  br label %332

332:                                              ; preds = %329, %320
  %333 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %334 = trunc i8 %333 to i1
  br i1 %334, label %357, label %335

335:                                              ; preds = %332
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiTabBar, ptr %336, i32 0, i32 3
  %338 = load i32, ptr %337, align 8, !tbaa !131
  %339 = icmp eq i32 %338, 0
  br i1 %339, label %340, label %357

340:                                              ; preds = %335
  %341 = load i8, ptr %23, align 1, !tbaa !27, !range !21, !noundef !22
  %342 = trunc i8 %341 to i1
  br i1 %342, label %343, label %357

343:                                              ; preds = %340
  %344 = load ptr, ptr %7, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiTabBar, ptr %344, i32 0, i32 0
  %346 = getelementptr inbounds %struct.ImVector.39, ptr %345, i32 0, i32 0
  %347 = load i32, ptr %346, align 8, !tbaa !134
  %348 = icmp eq i32 %347, 1
  br i1 %348, label %349, label %356

349:                                              ; preds = %343
  %350 = load ptr, ptr %7, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiTabBar, ptr %350, i32 0, i32 1
  %352 = load i32, ptr %351, align 8, !tbaa !126
  %353 = and i32 %352, 2
  %354 = icmp ne i32 %353, 0
  br i1 %354, label %356, label %355

355:                                              ; preds = %349
  store i8 1, ptr %28, align 1, !tbaa !27
  br label %356

356:                                              ; preds = %355, %349, %343
  br label %357

357:                                              ; preds = %356, %340, %335, %332
  %358 = load i8, ptr %25, align 1, !tbaa !27, !range !21, !noundef !22
  %359 = trunc i8 %358 to i1
  br i1 %359, label %360, label %375

360:                                              ; preds = %357
  %361 = load i8, ptr %23, align 1, !tbaa !27, !range !21, !noundef !22
  %362 = trunc i8 %361 to i1
  br i1 %362, label %363, label %366

363:                                              ; preds = %360
  %364 = load i8, ptr %20, align 1, !tbaa !27, !range !21, !noundef !22
  %365 = trunc i8 %364 to i1
  br i1 %365, label %366, label %375

366:                                              ; preds = %363, %360
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %29)
  %367 = load i32, ptr %17, align 4, !tbaa !9
  %368 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %367, ptr noundef null, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #12
  %369 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %370 = trunc i8 %369 to i1
  br i1 %370, label %371, label %372

371:                                              ; preds = %366
  store i1 false, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %811

372:                                              ; preds = %366
  %373 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %374 = trunc i8 %373 to i1
  store i1 %374, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %811

375:                                              ; preds = %363, %357
  %376 = load ptr, ptr %7, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.ImGuiTabBar, ptr %376, i32 0, i32 3
  %378 = load i32, ptr %377, align 8, !tbaa !131
  %379 = load i32, ptr %17, align 4, !tbaa !9
  %380 = icmp eq i32 %378, %379
  br i1 %380, label %381, label %387

381:                                              ; preds = %375
  %382 = load ptr, ptr %12, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiContext, ptr %382, i32 0, i32 11
  %384 = load i32, ptr %383, align 8, !tbaa !125
  %385 = load ptr, ptr %19, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiTabItem, ptr %385, i32 0, i32 3
  store i32 %384, ptr %386, align 4, !tbaa !135
  br label %387

387:                                              ; preds = %381, %375
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #12
  %388 = load ptr, ptr %14, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiWindow, ptr %388, i32 0, i32 69
  %390 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %389, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %390, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #12
  %391 = load ptr, ptr %19, align 8, !tbaa !5
  %392 = getelementptr inbounds %struct.ImGuiTabItem, ptr %391, i32 0, i32 1
  %393 = load i32, ptr %392, align 4, !tbaa !128
  %394 = and i32 %393, 192
  %395 = icmp eq i32 %394, 0
  %396 = zext i1 %395 to i8
  store i8 %396, ptr %31, align 1, !tbaa !27
  %397 = load ptr, ptr %19, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.ImGuiTabItem, ptr %397, i32 0, i32 5
  %399 = load float, ptr %398, align 4, !tbaa !120
  %400 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  store float %399, ptr %400, align 4, !tbaa !119
  %401 = load i8, ptr %31, align 1, !tbaa !27, !range !21, !noundef !22
  %402 = trunc i8 %401 to i1
  br i1 %402, label %403, label %420

403:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #12
  %404 = load ptr, ptr %7, align 8, !tbaa !5
  %405 = getelementptr inbounds %struct.ImGuiTabBar, ptr %404, i32 0, i32 8
  %406 = getelementptr inbounds %struct.ImRect, ptr %405, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #12
  %407 = load ptr, ptr %19, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.ImGuiTabItem, ptr %407, i32 0, i32 4
  %409 = load float, ptr %408, align 4, !tbaa !137
  %410 = load ptr, ptr %7, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.ImGuiTabBar, ptr %410, i32 0, i32 13
  %412 = load float, ptr %411, align 4, !tbaa !138
  %413 = fsub float %409, %412
  %414 = fptosi float %413 to i32
  %415 = sitofp i32 %414 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %415, float noundef 0.000000e+00)
  %416 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %406, ptr noundef nonnull align 4 dereferenceable(8) %33)
  store <2 x float> %416, ptr %32, align 4
  %417 = load ptr, ptr %14, align 8, !tbaa !5
  %418 = getelementptr inbounds %struct.ImGuiWindow, ptr %417, i32 0, i32 69
  %419 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %418, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %419, ptr align 4 %32, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #12
  br label %431

420:                                              ; preds = %387
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #12
  %421 = load ptr, ptr %7, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.ImGuiTabBar, ptr %421, i32 0, i32 8
  %423 = getelementptr inbounds %struct.ImRect, ptr %422, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #12
  %424 = load ptr, ptr %19, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.ImGuiTabItem, ptr %424, i32 0, i32 4
  %426 = load float, ptr %425, align 4, !tbaa !137
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %426, float noundef 0.000000e+00)
  %427 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %423, ptr noundef nonnull align 4 dereferenceable(8) %35)
  store <2 x float> %427, ptr %34, align 4
  %428 = load ptr, ptr %14, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.ImGuiWindow, ptr %428, i32 0, i32 69
  %430 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %429, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %430, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #12
  br label %431

431:                                              ; preds = %420, %403
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #12
  %432 = load ptr, ptr %14, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.ImGuiWindow, ptr %432, i32 0, i32 69
  %434 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %433, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %434, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.start.p0(i64 16, ptr %37) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #12
  %435 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %22)
  store <2 x float> %435, ptr %38, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %37, ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %38)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #12
  %436 = load i8, ptr %31, align 1, !tbaa !27, !range !21, !noundef !22
  %437 = trunc i8 %436 to i1
  br i1 %437, label %438, label %456

438:                                              ; preds = %431
  %439 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 0
  %440 = getelementptr inbounds %struct.ImVec2, ptr %439, i32 0, i32 0
  %441 = load float, ptr %440, align 4, !tbaa !139
  %442 = load ptr, ptr %7, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.ImGuiTabBar, ptr %442, i32 0, i32 17
  %444 = load float, ptr %443, align 4, !tbaa !140
  %445 = fcmp olt float %441, %444
  br i1 %445, label %454, label %446

446:                                              ; preds = %438
  %447 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 1
  %448 = getelementptr inbounds %struct.ImVec2, ptr %447, i32 0, i32 0
  %449 = load float, ptr %448, align 4, !tbaa !141
  %450 = load ptr, ptr %7, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.ImGuiTabBar, ptr %450, i32 0, i32 18
  %452 = load float, ptr %451, align 8, !tbaa !142
  %453 = fcmp ogt float %449, %452
  br label %454

454:                                              ; preds = %446, %438
  %455 = phi i1 [ true, %438 ], [ %453, %446 ]
  br label %456

456:                                              ; preds = %454, %431
  %457 = phi i1 [ false, %431 ], [ %455, %454 ]
  %458 = zext i1 %457 to i8
  store i8 %458, ptr %39, align 1, !tbaa !27
  %459 = load i8, ptr %39, align 1, !tbaa !27, !range !21, !noundef !22
  %460 = trunc i8 %459 to i1
  br i1 %460, label %461, label %479

461:                                              ; preds = %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #12
  %462 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 0
  %463 = getelementptr inbounds %struct.ImVec2, ptr %462, i32 0, i32 0
  %464 = load float, ptr %463, align 4, !tbaa !139
  %465 = load ptr, ptr %7, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.ImGuiTabBar, ptr %465, i32 0, i32 17
  %467 = load float, ptr %466, align 4, !tbaa !140
  %468 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %464, float noundef %467)
  %469 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 0
  %470 = getelementptr inbounds %struct.ImVec2, ptr %469, i32 0, i32 1
  %471 = load float, ptr %470, align 4, !tbaa !143
  %472 = fsub float %471, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %468, float noundef %472)
  call void @llvm.lifetime.start.p0(i64 8, ptr %41) #12
  %473 = load ptr, ptr %7, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImGuiTabBar, ptr %473, i32 0, i32 18
  %475 = load float, ptr %474, align 8, !tbaa !142
  %476 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 1
  %477 = getelementptr inbounds %struct.ImVec2, ptr %476, i32 0, i32 1
  %478 = load float, ptr %477, align 4, !tbaa !144
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %41, float noundef %475, float noundef %478)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %40, ptr noundef nonnull align 4 dereferenceable(8) %41, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %41) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #12
  br label %479

479:                                              ; preds = %461, %456
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #12
  %480 = load ptr, ptr %14, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.ImGuiWindow, ptr %480, i32 0, i32 69
  %482 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %481, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 8 %482, i64 8, i1 false), !tbaa.struct !136
  call void @llvm.lifetime.start.p0(i64 8, ptr %43) #12
  %483 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %483, ptr %43, align 4
  %484 = load ptr, ptr %16, align 8, !tbaa !5
  %485 = getelementptr inbounds %struct.ImGuiStyle, ptr %484, i32 0, i32 12
  %486 = getelementptr inbounds %struct.ImVec2, ptr %485, i32 0, i32 1
  %487 = load float, ptr %486, align 4, !tbaa !145
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %43, float noundef %487)
  call void @llvm.lifetime.end.p0(i64 8, ptr %43) #12
  %488 = load ptr, ptr %14, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.ImGuiWindow, ptr %488, i32 0, i32 69
  %490 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %489, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %490, ptr align 4 %42, i64 8, i1 false), !tbaa.struct !136
  %491 = load i32, ptr %17, align 4, !tbaa !9
  %492 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %37, i32 noundef %491, ptr noundef null, i32 noundef 0)
  br i1 %492, label %503, label %493

493:                                              ; preds = %479
  %494 = load i8, ptr %39, align 1, !tbaa !27, !range !21, !noundef !22
  %495 = trunc i8 %494 to i1
  br i1 %495, label %496, label %497

496:                                              ; preds = %493
  call void @_ZN5ImGui11PopClipRectEv()
  br label %497

497:                                              ; preds = %496, %493
  %498 = load ptr, ptr %14, align 8, !tbaa !5
  %499 = getelementptr inbounds %struct.ImGuiWindow, ptr %498, i32 0, i32 69
  %500 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %499, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %500, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !136
  %501 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %502 = trunc i8 %501 to i1
  store i1 %502, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %810

503:                                              ; preds = %479
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #12
  %504 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %505 = trunc i8 %504 to i1
  %506 = zext i1 %505 to i64
  %507 = select i1 %505, i32 32, i32 16
  %508 = or i32 %507, 4096
  store i32 %508, ptr %44, align 4, !tbaa !9
  %509 = load ptr, ptr %12, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.ImGuiContext, ptr %509, i32 0, i32 161
  %511 = load i8, ptr %510, align 4, !tbaa !146, !range !21, !noundef !22
  %512 = trunc i8 %511 to i1
  br i1 %512, label %513, label %516

513:                                              ; preds = %503
  %514 = load i32, ptr %44, align 4, !tbaa !9
  %515 = or i32 %514, 512
  store i32 %515, ptr %44, align 4, !tbaa !9
  br label %516

516:                                              ; preds = %513, %503
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %47) #12
  %517 = load i32, ptr %17, align 4, !tbaa !9
  %518 = load i32, ptr %44, align 4, !tbaa !9
  %519 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %37, i32 noundef %517, ptr noundef %45, ptr noundef %46, i32 noundef %518)
  %520 = zext i1 %519 to i8
  store i8 %520, ptr %47, align 1, !tbaa !27
  %521 = load i8, ptr %47, align 1, !tbaa !27, !range !21, !noundef !22
  %522 = trunc i8 %521 to i1
  br i1 %522, label %523, label %529

523:                                              ; preds = %516
  %524 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %525 = trunc i8 %524 to i1
  br i1 %525, label %529, label %526

526:                                              ; preds = %523
  %527 = load ptr, ptr %7, align 8, !tbaa !5
  %528 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %527, ptr noundef %528)
  br label %529

529:                                              ; preds = %526, %523, %516
  %530 = load i8, ptr %46, align 1, !tbaa !27, !range !21, !noundef !22
  %531 = trunc i8 %530 to i1
  br i1 %531, label %532, label %599

532:                                              ; preds = %529
  %533 = load i8, ptr %25, align 1, !tbaa !27, !range !21, !noundef !22
  %534 = trunc i8 %533 to i1
  br i1 %534, label %599, label %535

535:                                              ; preds = %532
  %536 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %536, label %537, label %599

537:                                              ; preds = %535
  %538 = load ptr, ptr %12, align 8, !tbaa !5
  %539 = getelementptr inbounds %struct.ImGuiContext, ptr %538, i32 0, i32 161
  %540 = load i8, ptr %539, align 4, !tbaa !146, !range !21, !noundef !22
  %541 = trunc i8 %540 to i1
  br i1 %541, label %598, label %542

542:                                              ; preds = %537
  %543 = load ptr, ptr %7, align 8, !tbaa !5
  %544 = getelementptr inbounds %struct.ImGuiTabBar, ptr %543, i32 0, i32 1
  %545 = load i32, ptr %544, align 8, !tbaa !126
  %546 = and i32 %545, 1
  %547 = icmp ne i32 %546, 0
  br i1 %547, label %548, label %598

548:                                              ; preds = %542
  %549 = load ptr, ptr %12, align 8, !tbaa !5
  %550 = getelementptr inbounds %struct.ImGuiContext, ptr %549, i32 0, i32 3
  %551 = getelementptr inbounds %struct.ImGuiIO, ptr %550, i32 0, i32 57
  %552 = getelementptr inbounds %struct.ImVec2, ptr %551, i32 0, i32 0
  %553 = load float, ptr %552, align 8, !tbaa !147
  %554 = fcmp olt float %553, 0.000000e+00
  br i1 %554, label %555, label %572

555:                                              ; preds = %548
  %556 = load ptr, ptr %12, align 8, !tbaa !5
  %557 = getelementptr inbounds %struct.ImGuiContext, ptr %556, i32 0, i32 3
  %558 = getelementptr inbounds %struct.ImGuiIO, ptr %557, i32 0, i32 59
  %559 = getelementptr inbounds %struct.ImVec2, ptr %558, i32 0, i32 0
  %560 = load float, ptr %559, align 8, !tbaa !148
  %561 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 0
  %562 = getelementptr inbounds %struct.ImVec2, ptr %561, i32 0, i32 0
  %563 = load float, ptr %562, align 4, !tbaa !139
  %564 = fcmp olt float %560, %563
  br i1 %564, label %565, label %572

565:                                              ; preds = %555
  %566 = load ptr, ptr %7, align 8, !tbaa !5
  %567 = load ptr, ptr %19, align 8, !tbaa !5
  %568 = load ptr, ptr %12, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.ImGuiContext, ptr %568, i32 0, i32 3
  %570 = getelementptr inbounds %struct.ImGuiIO, ptr %569, i32 0, i32 59
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 8 %570, i64 8, i1 false), !tbaa.struct !136
  %571 = load <2 x float>, ptr %48, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef %566, ptr noundef %567, <2 x float> %571)
  br label %597

572:                                              ; preds = %555, %548
  %573 = load ptr, ptr %12, align 8, !tbaa !5
  %574 = getelementptr inbounds %struct.ImGuiContext, ptr %573, i32 0, i32 3
  %575 = getelementptr inbounds %struct.ImGuiIO, ptr %574, i32 0, i32 57
  %576 = getelementptr inbounds %struct.ImVec2, ptr %575, i32 0, i32 0
  %577 = load float, ptr %576, align 8, !tbaa !147
  %578 = fcmp ogt float %577, 0.000000e+00
  br i1 %578, label %579, label %596

579:                                              ; preds = %572
  %580 = load ptr, ptr %12, align 8, !tbaa !5
  %581 = getelementptr inbounds %struct.ImGuiContext, ptr %580, i32 0, i32 3
  %582 = getelementptr inbounds %struct.ImGuiIO, ptr %581, i32 0, i32 59
  %583 = getelementptr inbounds %struct.ImVec2, ptr %582, i32 0, i32 0
  %584 = load float, ptr %583, align 8, !tbaa !148
  %585 = getelementptr inbounds %struct.ImRect, ptr %37, i32 0, i32 1
  %586 = getelementptr inbounds %struct.ImVec2, ptr %585, i32 0, i32 0
  %587 = load float, ptr %586, align 4, !tbaa !141
  %588 = fcmp ogt float %584, %587
  br i1 %588, label %589, label %596

589:                                              ; preds = %579
  %590 = load ptr, ptr %7, align 8, !tbaa !5
  %591 = load ptr, ptr %19, align 8, !tbaa !5
  %592 = load ptr, ptr %12, align 8, !tbaa !5
  %593 = getelementptr inbounds %struct.ImGuiContext, ptr %592, i32 0, i32 3
  %594 = getelementptr inbounds %struct.ImGuiIO, ptr %593, i32 0, i32 59
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %594, i64 8, i1 false), !tbaa.struct !136
  %595 = load <2 x float>, ptr %49, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef %590, ptr noundef %591, <2 x float> %595)
  br label %596

596:                                              ; preds = %589, %579, %572
  br label %597

597:                                              ; preds = %596, %565
  br label %598

598:                                              ; preds = %597, %542, %537
  br label %599

599:                                              ; preds = %598, %535, %532, %529
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #12
  %600 = load ptr, ptr %14, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.ImGuiWindow, ptr %600, i32 0, i32 87
  %602 = load ptr, ptr %601, align 8, !tbaa !149
  store ptr %602, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #12
  %603 = load i8, ptr %46, align 1, !tbaa !27, !range !21, !noundef !22
  %604 = trunc i8 %603 to i1
  br i1 %604, label %608, label %605

605:                                              ; preds = %599
  %606 = load i8, ptr %45, align 1, !tbaa !27, !range !21, !noundef !22
  %607 = trunc i8 %606 to i1
  br i1 %607, label %608, label %609

608:                                              ; preds = %605, %599
  br label %624

609:                                              ; preds = %605
  %610 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %611 = trunc i8 %610 to i1
  br i1 %611, label %612, label %617

612:                                              ; preds = %609
  %613 = load i8, ptr %24, align 1, !tbaa !27, !range !21, !noundef !22
  %614 = trunc i8 %613 to i1
  %615 = zext i1 %614 to i64
  %616 = select i1 %614, i32 35, i32 38
  br label %622

617:                                              ; preds = %609
  %618 = load i8, ptr %24, align 1, !tbaa !27, !range !21, !noundef !22
  %619 = trunc i8 %618 to i1
  %620 = zext i1 %619 to i64
  %621 = select i1 %619, i32 34, i32 37
  br label %622

622:                                              ; preds = %617, %612
  %623 = phi i32 [ %616, %612 ], [ %621, %617 ]
  br label %624

624:                                              ; preds = %622, %608
  %625 = phi i32 [ 33, %608 ], [ %623, %622 ]
  %626 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %625, float noundef 1.000000e+00)
  store i32 %626, ptr %51, align 4, !tbaa !9
  %627 = load ptr, ptr %50, align 8, !tbaa !5
  %628 = load i32, ptr %10, align 4, !tbaa !9
  %629 = load i32, ptr %51, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %627, ptr noundef nonnull align 4 dereferenceable(16) %37, i32 noundef %628, i32 noundef %629)
  %630 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %631 = trunc i8 %630 to i1
  br i1 %631, label %632, label %676

632:                                              ; preds = %624
  %633 = load ptr, ptr %7, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct.ImGuiTabBar, ptr %633, i32 0, i32 1
  %635 = load i32, ptr %634, align 8, !tbaa !126
  %636 = and i32 %635, 64
  %637 = icmp ne i32 %636, 0
  br i1 %637, label %638, label %676

638:                                              ; preds = %632
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #12
  %639 = load ptr, ptr %16, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiStyle, ptr %639, i32 0, i32 26
  %641 = load float, ptr %640, align 4, !tbaa !150
  %642 = fmul float 0x3FD99999A0000000, %641
  %643 = fptosi float %642 to i32
  %644 = sitofp i32 %643 to float
  store float %644, ptr %52, align 4, !tbaa !26
  %645 = load float, ptr %52, align 4, !tbaa !26
  %646 = load ptr, ptr %12, align 8, !tbaa !5
  %647 = getelementptr inbounds %struct.ImGuiContext, ptr %646, i32 0, i32 8
  %648 = load float, ptr %647, align 8, !tbaa !151
  %649 = fmul float 2.000000e+00, %648
  %650 = fcmp olt float %645, %649
  br i1 %650, label %651, label %652

651:                                              ; preds = %638
  store float 0.000000e+00, ptr %52, align 4, !tbaa !26
  br label %652

652:                                              ; preds = %651, %638
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #12
  %653 = load ptr, ptr %12, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.ImGuiContext, ptr %653, i32 0, i32 8
  %655 = load float, ptr %654, align 8, !tbaa !151
  %656 = fmul float 1.000000e+00, %655
  store float %656, ptr %53, align 4, !tbaa !26
  %657 = load ptr, ptr %50, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %54) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %55) #12
  %658 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %658, ptr %55, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #12
  %659 = load float, ptr %52, align 4, !tbaa !26
  %660 = load float, ptr %53, align 4, !tbaa !26
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef %659, float noundef %660)
  %661 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %55, ptr noundef nonnull align 4 dereferenceable(8) %56)
  store <2 x float> %661, ptr %54, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #12
  %662 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %662, ptr %58, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #12
  %663 = load float, ptr %52, align 4, !tbaa !26
  %664 = fneg float %663
  %665 = load float, ptr %53, align 4, !tbaa !26
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef %664, float noundef %665)
  %666 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %58, ptr noundef nonnull align 4 dereferenceable(8) %59)
  store <2 x float> %666, ptr %57, align 4
  %667 = load i8, ptr %24, align 1, !tbaa !27, !range !21, !noundef !22
  %668 = trunc i8 %667 to i1
  %669 = zext i1 %668 to i64
  %670 = select i1 %668, i32 36, i32 39
  %671 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %670, float noundef 1.000000e+00)
  %672 = load ptr, ptr %12, align 8, !tbaa !5
  %673 = getelementptr inbounds %struct.ImGuiContext, ptr %672, i32 0, i32 8
  %674 = load float, ptr %673, align 8, !tbaa !151
  %675 = fmul float 2.000000e+00, %674
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(200) %657, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %57, i32 noundef %671, float noundef %675)
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %56) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %55) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %54) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #12
  br label %676

676:                                              ; preds = %652, %632, %624
  %677 = load i32, ptr %17, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %37, i32 noundef %677, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 1, ptr %60) #12
  %678 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  %679 = zext i1 %678 to i8
  store i8 %679, ptr %60, align 1, !tbaa !27
  %680 = load i8, ptr %60, align 1, !tbaa !27, !range !21, !noundef !22
  %681 = trunc i8 %680 to i1
  br i1 %681, label %682, label %692

682:                                              ; preds = %676
  %683 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %683, label %686, label %684

684:                                              ; preds = %682
  %685 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %685, label %686, label %692

686:                                              ; preds = %684, %682
  %687 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %688 = trunc i8 %687 to i1
  br i1 %688, label %692, label %689

689:                                              ; preds = %686
  %690 = load ptr, ptr %7, align 8, !tbaa !5
  %691 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %690, ptr noundef %691)
  br label %692

692:                                              ; preds = %689, %686, %684, %676
  %693 = load ptr, ptr %7, align 8, !tbaa !5
  %694 = getelementptr inbounds %struct.ImGuiTabBar, ptr %693, i32 0, i32 1
  %695 = load i32, ptr %694, align 8, !tbaa !126
  %696 = and i32 %695, 8
  %697 = icmp ne i32 %696, 0
  br i1 %697, label %698, label %701

698:                                              ; preds = %692
  %699 = load i32, ptr %10, align 4, !tbaa !9
  %700 = or i32 %699, 4
  store i32 %700, ptr %10, align 4, !tbaa !9
  br label %701

701:                                              ; preds = %698, %692
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #12
  %702 = load ptr, ptr %9, align 8, !tbaa !5
  %703 = icmp ne ptr %702, null
  br i1 %703, label %704, label %707

704:                                              ; preds = %701
  %705 = load i32, ptr %17, align 4, !tbaa !9
  %706 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef @.str.150, ptr noundef null, i32 noundef %705)
  br label %708

707:                                              ; preds = %701
  br label %708

708:                                              ; preds = %707, %704
  %709 = phi i32 [ %706, %704 ], [ 0, %707 ]
  store i32 %709, ptr %61, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %62) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %63) #12
  %710 = load ptr, ptr %50, align 8, !tbaa !5
  %711 = load i8, ptr %26, align 1, !tbaa !27, !range !21, !noundef !22
  %712 = trunc i8 %711 to i1
  br i1 %712, label %713, label %716

713:                                              ; preds = %708
  %714 = load i32, ptr %10, align 4, !tbaa !9
  %715 = and i32 %714, -2
  br label %718

716:                                              ; preds = %708
  %717 = load i32, ptr %10, align 4, !tbaa !9
  br label %718

718:                                              ; preds = %716, %713
  %719 = phi i32 [ %715, %713 ], [ %717, %716 ]
  %720 = load ptr, ptr %7, align 8, !tbaa !5
  %721 = getelementptr inbounds %struct.ImGuiTabBar, ptr %720, i32 0, i32 30
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 8 %721, i64 8, i1 false), !tbaa.struct !136
  %722 = load ptr, ptr %8, align 8, !tbaa !5
  %723 = load i32, ptr %17, align 4, !tbaa !9
  %724 = load i32, ptr %61, align 4, !tbaa !9
  %725 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %726 = trunc i8 %725 to i1
  %727 = load <2 x float>, ptr %64, align 4
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %710, ptr noundef nonnull align 4 dereferenceable(16) %37, i32 noundef %719, <2 x float> %727, ptr noundef %722, i32 noundef %723, i32 noundef %724, i1 noundef zeroext %726, ptr noundef %62, ptr noundef %63)
  %728 = load i8, ptr %62, align 1, !tbaa !27, !range !21, !noundef !22
  %729 = trunc i8 %728 to i1
  br i1 %729, label %730, label %737

730:                                              ; preds = %718
  %731 = load ptr, ptr %9, align 8, !tbaa !5
  %732 = icmp ne ptr %731, null
  br i1 %732, label %733, label %737

733:                                              ; preds = %730
  %734 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %734, align 1, !tbaa !27
  %735 = load ptr, ptr %7, align 8, !tbaa !5
  %736 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %735, ptr noundef %736)
  br label %737

737:                                              ; preds = %733, %730, %718
  %738 = load i8, ptr %39, align 1, !tbaa !27, !range !21, !noundef !22
  %739 = trunc i8 %738 to i1
  br i1 %739, label %740, label %741

740:                                              ; preds = %737
  call void @_ZN5ImGui11PopClipRectEv()
  br label %741

741:                                              ; preds = %740, %737
  %742 = load ptr, ptr %14, align 8, !tbaa !5
  %743 = getelementptr inbounds %struct.ImGuiWindow, ptr %742, i32 0, i32 69
  %744 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %743, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %744, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !136
  %745 = load i8, ptr %63, align 1, !tbaa !27, !range !21, !noundef !22
  %746 = trunc i8 %745 to i1
  br i1 %746, label %747, label %778

747:                                              ; preds = %741
  %748 = load ptr, ptr %12, align 8, !tbaa !5
  %749 = getelementptr inbounds %struct.ImGuiContext, ptr %748, i32 0, i32 46
  %750 = load i32, ptr %749, align 8, !tbaa !152
  %751 = load i32, ptr %17, align 4, !tbaa !9
  %752 = icmp eq i32 %750, %751
  br i1 %752, label %753, label %778

753:                                              ; preds = %747
  %754 = load i8, ptr %46, align 1, !tbaa !27, !range !21, !noundef !22
  %755 = trunc i8 %754 to i1
  br i1 %755, label %778, label %756

756:                                              ; preds = %753
  %757 = load ptr, ptr %7, align 8, !tbaa !5
  %758 = getelementptr inbounds %struct.ImGuiTabBar, ptr %757, i32 0, i32 1
  %759 = load i32, ptr %758, align 8, !tbaa !126
  %760 = and i32 %759, 32
  %761 = icmp ne i32 %760, 0
  br i1 %761, label %777, label %762

762:                                              ; preds = %756
  %763 = load ptr, ptr %19, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.ImGuiTabItem, ptr %763, i32 0, i32 1
  %765 = load i32, ptr %764, align 4, !tbaa !128
  %766 = and i32 %765, 16
  %767 = icmp ne i32 %766, 0
  br i1 %767, label %777, label %768

768:                                              ; preds = %762
  %769 = load ptr, ptr %8, align 8, !tbaa !5
  %770 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %769, ptr noundef null)
  %771 = load ptr, ptr %8, align 8, !tbaa !5
  %772 = ptrtoint ptr %770 to i64
  %773 = ptrtoint ptr %771 to i64
  %774 = sub i64 %772, %773
  %775 = trunc i64 %774 to i32
  %776 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui14SetItemTooltipEPKcz(ptr noundef @.str.189, i32 noundef %775, ptr noundef %776)
  br label %777

777:                                              ; preds = %768, %762, %756
  br label %778

778:                                              ; preds = %777, %753, %747, %741
  %779 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %780 = trunc i8 %779 to i1
  br i1 %780, label %781, label %795

781:                                              ; preds = %778
  %782 = load ptr, ptr %7, align 8, !tbaa !5
  %783 = getelementptr inbounds %struct.ImGuiTabBar, ptr %782, i32 0, i32 3
  %784 = load i32, ptr %783, align 8, !tbaa !131
  %785 = load ptr, ptr %19, align 8, !tbaa !5
  %786 = getelementptr inbounds %struct.ImGuiTabItem, ptr %785, i32 0, i32 0
  %787 = load i32, ptr %786, align 4, !tbaa !112
  %788 = icmp eq i32 %784, %787
  br i1 %788, label %789, label %792

789:                                              ; preds = %781
  %790 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %791 = trunc i8 %790 to i1
  br label %792

792:                                              ; preds = %789, %781
  %793 = phi i1 [ false, %781 ], [ %791, %789 ]
  %794 = xor i1 %793, true
  br label %795

795:                                              ; preds = %792, %778
  %796 = phi i1 [ true, %778 ], [ %794, %792 ]
  br i1 %796, label %797, label %798

797:                                              ; preds = %795
  br label %800

798:                                              ; preds = %795
  call void @__assert_fail(ptr noundef @.str.190, ptr noundef @.str.2, i32 noundef 8901, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

799:                                              ; No predecessors!
  br label %800

800:                                              ; preds = %799, %797
  %801 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %802 = trunc i8 %801 to i1
  br i1 %802, label %803, label %806

803:                                              ; preds = %800
  %804 = load i8, ptr %47, align 1, !tbaa !27, !range !21, !noundef !22
  %805 = trunc i8 %804 to i1
  store i1 %805, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %809

806:                                              ; preds = %800
  %807 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %808 = trunc i8 %807 to i1
  store i1 %808, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %809

809:                                              ; preds = %806, %803
  call void @llvm.lifetime.end.p0(i64 1, ptr %63) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %62) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %60) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %47) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %46) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #12
  br label %810

810:                                              ; preds = %809, %497
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %37) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #12
  br label %811

811:                                              ; preds = %810, %372, %371
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #12
  br label %812

812:                                              ; preds = %811, %99
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #12
  br label %813

813:                                              ; preds = %812, %84
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  %814 = load i1, ptr %6, align 1
  ret i1 %814
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(41)) #11 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef, i1 noundef zeroext) #7

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

declare void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) #4

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, <2 x float>, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #7

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !18, i64 115}
!12 = !{!"_ZTS11ImGuiTabBar", !13, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !14, i64 44, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !10, i64 108, !17, i64 112, !7, i64 114, !18, i64 115, !18, i64 116, !18, i64 117, !17, i64 118, !17, i64 120, !16, i64 124, !15, i64 128, !15, i64 136, !19, i64 144}
!13 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 8, !24, i64 16, i64 4, !26, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 1, !27, i64 29, i64 1, !28, i64 30, i64 8, !28}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !7, i64 0}
!26 = !{!16, !16, i64 0}
!27 = !{!18, !18, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{!30, !6, i64 16448}
!30 = !{!"_ZTS12ImGuiContext", !18, i64 0, !18, i64 1, !31, i64 8, !34, i64 14568, !6, i64 15704, !16, i64 15712, !16, i64 15716, !16, i64 15720, !36, i64 15728, !39, i64 16256, !10, i64 16264, !10, i64 16268, !10, i64 16272, !18, i64 16276, !18, i64 16277, !18, i64 16278, !18, i64 16279, !18, i64 16280, !6, i64 16288, !7, i64 16296, !40, i64 16312, !40, i64 16328, !32, i64 16344, !10, i64 16348, !41, i64 16352, !41, i64 16368, !41, i64 16384, !42, i64 16400, !43, i64 16416, !10, i64 16432, !15, i64 16436, !10, i64 16444, !6, i64 16448, !6, i64 16456, !6, i64 16464, !6, i64 16472, !6, i64 16480, !6, i64 16488, !15, i64 16496, !10, i64 16504, !10, i64 16508, !16, i64 16512, !15, i64 16516, !15, i64 16524, !10, i64 16532, !10, i64 16536, !10, i64 16540, !16, i64 16544, !16, i64 16548, !18, i64 16552, !18, i64 16553, !18, i64 16554, !10, i64 16556, !10, i64 16560, !16, i64 16564, !18, i64 16568, !18, i64 16569, !18, i64 16570, !18, i64 16571, !18, i64 16572, !18, i64 16573, !18, i64 16574, !10, i64 16575, !15, i64 16576, !6, i64 16584, !45, i64 16592, !10, i64 16596, !18, i64 16600, !18, i64 16601, !6, i64 16608, !10, i64 16616, !16, i64 16620, !39, i64 16624, !39, i64 16632, !39, i64 16640, !46, i64 16648, !7, i64 16668, !47, i64 18520, !10, i64 18864, !18, i64 18868, !10, i64 18872, !10, i64 18876, !10, i64 18880, !10, i64 18884, !10, i64 18888, !49, i64 18896, !51, i64 18936, !52, i64 19016, !18, i64 19128, !10, i64 19132, !53, i64 19136, !54, i64 19152, !55, i64 19168, !56, i64 19184, !57, i64 19200, !58, i64 19216, !59, i64 19232, !59, i64 19248, !60, i64 19264, !61, i64 19280, !6, i64 19296, !10, i64 19304, !10, i64 19308, !62, i64 19312, !10, i64 19316, !10, i64 19320, !10, i64 19324, !10, i64 19328, !56, i64 19336, !10, i64 19352, !16, i64 19356, !10, i64 19360, !10, i64 19364, !45, i64 19368, !25, i64 19376, !18, i64 19384, !18, i64 19385, !18, i64 19386, !18, i64 19387, !18, i64 19388, !18, i64 19389, !18, i64 19390, !63, i64 19392, !18, i64 19448, !18, i64 19449, !18, i64 19450, !10, i64 19452, !10, i64 19456, !10, i64 19460, !35, i64 19464, !35, i64 19468, !35, i64 19472, !14, i64 19476, !14, i64 19492, !10, i64 19508, !10, i64 19512, !10, i64 19516, !63, i64 19520, !63, i64 19576, !63, i64 19632, !63, i64 19688, !10, i64 19744, !10, i64 19748, !10, i64 19752, !10, i64 19756, !18, i64 19760, !18, i64 19761, !10, i64 19764, !10, i64 19768, !6, i64 19776, !6, i64 19784, !6, i64 19792, !16, i64 19800, !16, i64 19804, !18, i64 19808, !64, i64 19812, !15, i64 19816, !15, i64 19824, !16, i64 19832, !18, i64 19836, !18, i64 19837, !18, i64 19838, !10, i64 19840, !10, i64 19844, !10, i64 19848, !65, i64 19856, !14, i64 19920, !14, i64 19936, !10, i64 19952, !10, i64 19956, !16, i64 19960, !10, i64 19964, !10, i64 19968, !10, i64 19972, !10, i64 19976, !66, i64 19984, !7, i64 20000, !10, i64 20016, !67, i64 20024, !6, i64 20040, !10, i64 20048, !10, i64 20052, !68, i64 20056, !69, i64 20072, !71, i64 20112, !72, i64 20128, !6, i64 20144, !73, i64 20152, !75, i64 20192, !76, i64 20208, !10, i64 20224, !10, i64 20228, !16, i64 20232, !16, i64 20236, !10, i64 20240, !10, i64 20244, !10, i64 20248, !16, i64 20252, !15, i64 20256, !77, i64 20264, !80, i64 24000, !81, i64 24024, !10, i64 24144, !50, i64 24148, !10, i64 24156, !10, i64 24160, !10, i64 24164, !10, i64 24168, !10, i64 24172, !16, i64 24176, !16, i64 24180, !10, i64 24184, !37, i64 24188, !83, i64 24204, !14, i64 24252, !18, i64 24268, !17, i64 24270, !16, i64 24272, !16, i64 24276, !16, i64 24280, !18, i64 24284, !18, i64 24285, !16, i64 24288, !16, i64 24292, !16, i64 24296, !17, i64 24300, !17, i64 24302, !17, i64 24304, !20, i64 24312, !84, i64 24328, !85, i64 24344, !87, i64 24448, !87, i64 24464, !18, i64 24480, !16, i64 24484, !19, i64 24488, !88, i64 24504, !89, i64 24520, !90, i64 24536, !91, i64 24552, !10, i64 24568, !7, i64 24576, !18, i64 24640, !92, i64 24644, !6, i64 24648, !19, i64 24656, !6, i64 24672, !6, i64 24680, !16, i64 24688, !18, i64 24692, !10, i64 24696, !10, i64 24700, !10, i64 24704, !10, i64 24708, !19, i64 24712, !93, i64 24728, !10, i64 24752, !7, i64 24756, !7, i64 24757, !18, i64 24758, !10, i64 24760, !7, i64 24764, !18, i64 24765, !7, i64 24766, !10, i64 24768, !16, i64 24772, !37, i64 24776, !94, i64 24792, !95, i64 24824, !97, i64 24864, !7, i64 24924, !10, i64 25164, !10, i64 25168, !16, i64 25172, !10, i64 25176, !10, i64 25180, !10, i64 25184, !20, i64 25192, !7, i64 25208}
!31 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !16, i64 56, !18, i64 60, !6, i64 64, !15, i64 72, !18, i64 80, !18, i64 81, !18, i64 82, !18, i64 83, !18, i64 84, !18, i64 85, !18, i64 86, !18, i64 87, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !18, i64 112, !18, i64 113, !18, i64 114, !18, i64 115, !18, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !17, i64 192, !18, i64 194, !18, i64 195, !18, i64 196, !18, i64 197, !18, i64 198, !18, i64 199, !18, i64 200, !16, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !15, i64 224, !6, i64 232, !15, i64 240, !7, i64 248, !16, i64 256, !16, i64 260, !32, i64 264, !18, i64 268, !18, i64 269, !18, i64 270, !18, i64 271, !10, i64 272, !7, i64 276, !18, i64 10932, !15, i64 10936, !7, i64 10944, !7, i64 10984, !7, i64 11024, !7, i64 11029, !7, i64 11034, !7, i64 11044, !7, i64 11054, !7, i64 11059, !7, i64 11064, !18, i64 11069, !18, i64 11070, !7, i64 11072, !7, i64 11092, !7, i64 11112, !16, i64 11132, !18, i64 11136, !18, i64 11137, !7, i64 11138, !18, i64 11139, !17, i64 11140, !33, i64 11144, !7, i64 11160, !7, i64 13824, !7, i64 14492}
!32 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!33 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !35, 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, !15, i64 156, !35, i64 164, !15, i64 168, !15, i64 176, !16, i64 184, !15, i64 188, !15, i64 196, !15, i64 204, !15, i64 212, !16, i64 220, !18, i64 224, !18, i64 225, !18, i64 226, !16, i64 228, !16, i64 232, !7, i64 236, !16, i64 1116, !16, i64 1120, !16, i64 1124, !10, i64 1128, !10, i64 1132}
!35 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!36 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !37, i64 28, !10, i64 44, !38, i64 48, !7, i64 64, !16, i64 448, !7, i64 452, !6, i64 520}
!37 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!38 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"double", !7, i64 0}
!40 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS12ImGuiStorage", !44, i64 0}
!44 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!46 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!47 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !48, i64 312, !48, i64 328}
!48 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !10, i64 4, !25, i64 8, !16, i64 16, !10, i64 20, !10, i64 24, !18, i64 28, !7, i64 29, !50, i64 30}
!50 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!51 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !14, i64 12, !14, i64 28, !14, i64 44, !14, i64 60, !10, i64 76}
!52 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !10, i64 56, !18, i64 60, !14, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100, !10, i64 108}
!53 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!63 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !14, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44, !25, i64 48}
!64 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!65 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !18, i64 57, !18, i64 58}
!66 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI10ImGuiTableE", !70, i64 0, !43, i64 16, !10, i64 32, !10, i64 36}
!70 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !74, i64 0, !43, i64 16, !10, i64 32, !10, i64 36}
!74 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !33, i64 24, !20, i64 40, !20, i64 56, !18, i64 72, !10, i64 76, !16, i64 80, !78, i64 84, !16, i64 3712, !18, i64 3716, !18, i64 3717, !18, i64 3718, !10, i64 3720, !18, i64 3724, !10, i64 3728, !10, i64 3732}
!78 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !10, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !16, i64 28, !79, i64 32}
!79 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!80 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !20, i64 8}
!81 = !{!"_ZTS6ImFont", !71, i64 0, !16, i64 16, !16, i64 20, !33, i64 24, !82, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !16, i64 88, !16, i64 92, !18, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !10, i64 112, !7, i64 116}
!82 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS21ImGuiComboPreviewData", !14, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!84 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS22ImGuiTypingSelectState", !86, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !16, i64 96, !18, i64 100}
!86 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !18, i64 16, !18, i64 17, !7, i64 18}
!87 = !{!"_ZTS20ImGuiPlatformImeData", !18, i64 0, !15, i64 4, !16, i64 12}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!93 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !10, i64 16}
!94 = !{!"_ZTS18ImGuiMetricsConfig", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !18, i64 4, !18, i64 5, !18, i64 6, !18, i64 7, !18, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24}
!95 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !96, i64 16, !18, i64 32, !16, i64 36}
!96 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!97 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !17, i64 8, !7, i64 12}
!98 = !{!99, !18, i64 207}
!99 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !6, 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, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !15, i64 184, !15, i64 192, !18, i64 200, !18, i64 201, !18, i64 202, !18, i64 203, !18, i64 204, !18, i64 205, !18, i64 206, !18, i64 207, !18, i64 208, !18, i64 209, !18, i64 210, !18, i64 211, !18, i64 212, !18, 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, !18, i64 228, !35, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !10, i64 240, !10, i64 241, !10, i64 242, !15, i64 244, !15, i64 252, !84, i64 264, !100, i64 280, !14, i64 512, !14, i64 528, !14, i64 544, !14, i64 560, !14, i64 576, !14, i64 592, !14, i64 608, !103, i64 624, !103, i64 628, !10, i64 632, !16, i64 636, !16, i64 640, !43, i64 648, !104, i64 664, !16, i64 680, !10, i64 684, !6, i64 688, !105, 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, !10, i64 1016, !10, i64 1020, !10, i64 1024, !18, i64 1028}
!100 = !{!"_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, !18, i64 64, !18, i64 65, !101, i64 68, !101, i64 72, !101, i64 76, !15, i64 80, !62, i64 88, !17, i64 92, !17, i64 94, !18, i64 96, !18, i64 97, !18, i64 98, !18, i64 99, !15, i64 100, !102, i64 108, !10, i64 136, !10, i64 140, !41, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !16, i64 192, !16, i64 196, !71, i64 200, !71, i64 216}
!101 = !{!"_ZTS6ImVec1", !16, i64 0}
!102 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!103 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!104 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!105 = !{!"_ZTS10ImDrawList", !106, i64 0, !33, i64 16, !107, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !38, i64 80, !108, i64 96, !109, i64 128, !110, i64 152, !111, i64 168, !16, i64 184, !6, i64 192}
!106 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!108 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!109 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !72, i64 8}
!110 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!112 = !{!113, !10, i64 0}
!113 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !10, i64 32, !17, i64 36, !17, i64 38, !18, i64 40}
!114 = !{!12, !18, i64 117}
!115 = !{!12, !17, i64 120}
!116 = !{!113, !16, i64 28}
!117 = !{!30, !10, i64 18896}
!118 = !{!30, !16, i64 18912}
!119 = !{!15, !16, i64 0}
!120 = !{!113, !16, i64 20}
!121 = !{!113, !16, i64 24}
!122 = !{!12, !17, i64 118}
!123 = !{!113, !17, i64 36}
!124 = !{!12, !10, i64 40}
!125 = !{!30, !10, i64 16264}
!126 = !{!12, !10, i64 16}
!127 = !{!113, !10, i64 8}
!128 = !{!113, !10, i64 4}
!129 = !{!113, !10, i64 32}
!130 = !{!12, !10, i64 28}
!131 = !{!12, !10, i64 24}
!132 = !{!12, !10, i64 32}
!133 = !{!12, !18, i64 116}
!134 = !{!12, !10, i64 0}
!135 = !{!113, !10, i64 12}
!136 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!137 = !{!113, !16, i64 16}
!138 = !{!12, !16, i64 76}
!139 = !{!14, !16, i64 0}
!140 = !{!12, !16, i64 92}
!141 = !{!14, !16, i64 8}
!142 = !{!12, !16, i64 96}
!143 = !{!14, !16, i64 4}
!144 = !{!14, !16, i64 12}
!145 = !{!34, !16, i64 64}
!146 = !{!30, !18, i64 19836}
!147 = !{!30, !16, i64 232}
!148 = !{!30, !16, i64 248}
!149 = !{!99, !6, i64 688}
!150 = !{!34, !16, i64 136}
!151 = !{!30, !16, i64 15720}
!152 = !{!30, !10, i64 16536}


; 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.ImGuiNextItemData = type <{ i32, i32, i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8] }>
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, i32, i32, float, float, float, float, i32, i16, i16, i8, [3 x i8] }>

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.150 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.186 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.187 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.188 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.189 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.190 = external hidden unnamed_addr constant [72 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 nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

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

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

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

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

declare void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8), float noundef) local_unnamed_addr #4

declare noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress 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) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #6

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef) local_unnamed_addr #4

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

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

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

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(200), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16)) unnamed_addr #9 align 2

declare noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #4

declare noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef, i32 noundef) local_unnamed_addr #9

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef, ptr noundef, <2 x float>) local_unnamed_addr #7

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, ptr noundef %4) local_unnamed_addr #7 {
  %6 = alloca %struct.ImGuiNextItemData, align 8
  %7 = alloca %struct.ImRect, align 4
  %8 = alloca %struct.ImGuiTabItem, align 4
  %9 = alloca %struct.ImVec2, align 8
  %10 = alloca %struct.ImRect, align 4
  %11 = alloca %struct.ImVec2, align 4
  %12 = alloca %struct.ImVec2, align 4
  %13 = alloca %struct.ImVec2, align 8
  %14 = alloca %struct.ImRect, align 4
  %15 = alloca %struct.ImVec2, align 8
  %16 = alloca %struct.ImVec2, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 8
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca %struct.ImVec2, align 8
  %22 = alloca %struct.ImVec2, align 8
  %23 = alloca %struct.ImVec2, align 4
  %24 = alloca %struct.ImVec2, align 8
  %25 = alloca %struct.ImVec2, align 8
  %26 = alloca %struct.ImVec2, align 4
  %27 = alloca i8, align 1
  %28 = alloca i8, align 1
  %29 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %0, i64 115
  %31 = load i8, ptr %30, align 1, !tbaa !9, !range !20, !noundef !21
  %32 = trunc nuw i8 %31 to i1
  br i1 %32, label %33, label %35

33:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6)
  %34 = getelementptr inbounds i8, ptr %29, i64 18896
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(40) %34, i64 40, i1 false), !tbaa.struct !22
  tail call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef nonnull %0)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(38) %34, ptr noundef nonnull align 8 dereferenceable(38) %6, i64 38, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6)
  br label %35

35:                                               ; preds = %33, %5
  %36 = getelementptr inbounds i8, ptr %29, i64 16448
  %37 = load ptr, ptr %36, align 8, !tbaa !29
  %38 = getelementptr inbounds i8, ptr %37, i64 207
  %39 = load i8, ptr %38, align 1, !tbaa !98, !range !20, !noundef !21
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %346, label %41

41:                                               ; preds = %35
  %42 = tail call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKcP11ImGuiWindow(ptr noundef nonnull %0, ptr noundef %1, ptr noundef %4)
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.thread, label %43

43:                                               ; preds = %41
  %44 = load i8, ptr %2, align 1, !tbaa !27, !range !20, !noundef !21
  %45 = trunc nuw i8 %44 to i1
  br i1 %45, label %48, label %46

46:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %7)
  %47 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %7, i32 noundef %42, ptr noundef null, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #12
  br label %346

48:                                               ; preds = %43
  %49 = and i32 %3, 2097152
  %.not219 = icmp eq i32 %49, 0
  br i1 %.not219, label %.thread, label %50

50:                                               ; preds = %48
  tail call void @__assert_fail(ptr noundef nonnull @.str.186, ptr noundef nonnull @.str.2, i32 noundef 8703, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

.thread:                                          ; preds = %41, %48
  %51 = and i32 %3, 192
  %.not220 = icmp eq i32 %51, 192
  br i1 %.not220, label %52, label %53

52:                                               ; preds = %.thread
  tail call void @__assert_fail(ptr noundef nonnull @.str.187, ptr noundef nonnull @.str.2, i32 noundef 8704, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

53:                                               ; preds = %.thread
  %54 = and i32 %3, 1048576
  %.not221 = icmp eq i32 %54, 0
  %55 = or disjoint i32 %3, 1048576
  %56 = and i1 %.not, %.not221
  %.0206 = select i1 %56, i32 %55, i32 %3
  %.0205 = select i1 %.not221, ptr %2, ptr null
  %57 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %42)
  %58 = icmp eq ptr %57, null
  br i1 %58, label %59, label %62

59:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %8) #12
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(41) %8)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(41) %8)
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %8) #12
  %60 = call noundef nonnull align 4 dereferenceable(41) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %42, ptr %60, align 4, !tbaa !112
  %61 = getelementptr inbounds i8, ptr %0, i64 117
  store i8 1, ptr %61, align 1, !tbaa !114
  br label %62

62:                                               ; preds = %59, %53
  %.0209 = phi ptr [ %60, %59 ], [ %57, %53 ]
  %63 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0209)
  %64 = trunc i32 %63 to i16
  %65 = getelementptr inbounds i8, ptr %0, i64 120
  store i16 %64, ptr %65, align 8, !tbaa !115
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #12
  %66 = icmp ne ptr %.0205, null
  %67 = and i32 %.0206, 1
  %68 = icmp ne i32 %67, 0
  %69 = select i1 %66, i1 true, i1 %68
  %70 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %69)
  store <2 x float> %70, ptr %9, align 8
  %71 = getelementptr inbounds i8, ptr %.0209, i64 28
  store float -1.000000e+00, ptr %71, align 4, !tbaa !116
  %72 = getelementptr inbounds i8, ptr %29, i64 18896
  %73 = load i32, ptr %72, align 8, !tbaa !117
  %74 = and i32 %73, 1
  %.not222 = icmp eq i32 %74, 0
  %75 = extractelement <2 x float> %70, i64 0
  br i1 %.not222, label %79, label %76

76:                                               ; preds = %62
  %77 = getelementptr inbounds i8, ptr %29, i64 18912
  %78 = load float, ptr %77, align 8, !tbaa !118
  store float %78, ptr %71, align 4, !tbaa !116
  store float %78, ptr %9, align 8, !tbaa !119
  br label %79

79:                                               ; preds = %76, %62
  %80 = phi float [ %78, %76 ], [ %75, %62 ]
  br i1 %58, label %81, label %84

81:                                               ; preds = %79
  %82 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %80)
  %83 = getelementptr inbounds i8, ptr %.0209, i64 20
  store float %82, ptr %83, align 4, !tbaa !120
  %.pre = load float, ptr %9, align 8, !tbaa !119
  br label %84

84:                                               ; preds = %81, %79
  %85 = phi float [ %.pre, %81 ], [ %80, %79 ]
  %86 = getelementptr inbounds i8, ptr %.0209, i64 24
  store float %85, ptr %86, align 4, !tbaa !121
  %87 = getelementptr inbounds i8, ptr %0, i64 118
  %88 = load i16, ptr %87, align 2, !tbaa !122
  %89 = add i16 %88, 1
  store i16 %89, ptr %87, align 2, !tbaa !122
  %90 = getelementptr inbounds i8, ptr %.0209, i64 36
  store i16 %88, ptr %90, align 4, !tbaa !123
  %91 = getelementptr inbounds i8, ptr %0, i64 40
  %92 = load i32, ptr %91, align 8, !tbaa !124
  %93 = add nsw i32 %92, 1
  %94 = getelementptr inbounds i8, ptr %29, i64 16264
  %95 = load i32, ptr %94, align 8, !tbaa !125
  %96 = icmp sge i32 %93, %95
  %97 = getelementptr inbounds i8, ptr %0, i64 16
  %98 = load i32, ptr %97, align 8, !tbaa !126
  %99 = and i32 %98, 2097152
  %.not223 = icmp eq i32 %99, 0
  %100 = getelementptr inbounds i8, ptr %.0209, i64 8
  %101 = load i32, ptr %100, align 4, !tbaa !127
  %102 = add nsw i32 %101, 1
  %103 = icmp slt i32 %102, %95
  br i1 %68, label %104, label %108

104:                                              ; preds = %84
  %105 = getelementptr inbounds i8, ptr %.0209, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !128
  %107 = and i32 %106, 1
  %.not224 = icmp eq i32 %107, 0
  br label %108

108:                                              ; preds = %104, %84
  %109 = phi i1 [ false, %84 ], [ %.not224, %104 ]
  %110 = and i32 %.0206, 2097152
  %.not225 = icmp eq i32 %110, 0
  store i32 %95, ptr %100, align 4, !tbaa !127
  %111 = getelementptr inbounds i8, ptr %.0209, i64 4
  store i32 %.0206, ptr %111, align 4, !tbaa !128
  %.not226 = icmp eq ptr %4, null
  br i1 %.not226, label %113, label %112

112:                                              ; preds = %108
  call void @__assert_fail(ptr noundef nonnull @.str.188, ptr noundef nonnull @.str.2, i32 noundef 8745, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

113:                                              ; preds = %108
  %114 = getelementptr inbounds i8, ptr %0, i64 144
  %115 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %114)
  %116 = getelementptr inbounds i8, ptr %.0209, i64 32
  store i32 %115, ptr %116, align 4, !tbaa !129
  %117 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #14
  %118 = getelementptr inbounds i8, ptr %1, i64 %117
  %119 = getelementptr inbounds i8, ptr %118, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %114, ptr noundef %1, ptr noundef nonnull %119)
  br i1 %.not225, label %120, label %140

120:                                              ; preds = %113
  br i1 %103, label %121, label %134

121:                                              ; preds = %120
  %122 = load i32, ptr %97, align 8, !tbaa !126
  %123 = and i32 %122, 2
  %.not227 = icmp eq i32 %123, 0
  br i1 %.not227, label %134, label %124

124:                                              ; preds = %121
  %125 = getelementptr inbounds i8, ptr %0, i64 28
  %126 = load i32, ptr %125, align 4, !tbaa !130
  %127 = icmp eq i32 %126, 0
  br i1 %127, label %128, label %134

128:                                              ; preds = %124
  br i1 %96, label %133, label %129

129:                                              ; preds = %128
  %130 = getelementptr inbounds i8, ptr %0, i64 24
  %131 = load i32, ptr %130, align 8, !tbaa !131
  %132 = icmp eq i32 %131, 0
  br i1 %132, label %133, label %134

133:                                              ; preds = %129, %128
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0209)
  br label %134

134:                                              ; preds = %129, %133, %124, %121, %120
  %135 = and i32 %.0206, 2
  %.not228 = icmp eq i32 %135, 0
  br i1 %.not228, label %140, label %136

136:                                              ; preds = %134
  %137 = getelementptr inbounds i8, ptr %0, i64 24
  %138 = load i32, ptr %137, align 8, !tbaa !131
  %.not229 = icmp eq i32 %138, %42
  br i1 %.not229, label %140, label %139

139:                                              ; preds = %136
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0209)
  br label %140

140:                                              ; preds = %134, %136, %139, %113
  %141 = getelementptr inbounds i8, ptr %0, i64 32
  %142 = load i32, ptr %141, align 8, !tbaa !132
  %143 = icmp eq i32 %142, %42
  br i1 %143, label %144, label %.critedge239

144:                                              ; preds = %140
  %145 = getelementptr inbounds i8, ptr %0, i64 116
  store i8 1, ptr %145, align 4, !tbaa !133
  br label %155

.critedge239:                                     ; preds = %140
  %146 = getelementptr inbounds i8, ptr %0, i64 24
  %147 = load i32, ptr %146, align 8, !tbaa !131
  %148 = icmp ne i32 %147, 0
  %brmerge = select i1 %148, i1 true, i1 %96
  br i1 %brmerge, label %155, label %149

149:                                              ; preds = %.critedge239
  %150 = load i32, ptr %0, align 8, !tbaa !134
  %151 = icmp eq i32 %150, 1
  br i1 %151, label %152, label %155

152:                                              ; preds = %149
  %153 = load i32, ptr %97, align 8, !tbaa !126
  %154 = and i32 %153, 2
  %.not230 = icmp eq i32 %154, 0
  br label %155

155:                                              ; preds = %152, %144, %.critedge239, %149
  %.0211.shrunk = phi i1 [ true, %144 ], [ false, %149 ], [ false, %.critedge239 ], [ %.not230, %152 ]
  %brmerge244 = or i1 %58, %96
  %or.cond255 = select i1 %103, i1 %brmerge244, i1 false
  br i1 %or.cond255, label %156, label %158

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %10) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %10)
  %157 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %10, i32 noundef %42, ptr noundef null, i32 noundef 8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #12
  %.0211.shrunk. = select i1 %.not225, i1 %.0211.shrunk, i1 false
  br label %345

158:                                              ; preds = %155
  %159 = getelementptr inbounds i8, ptr %0, i64 24
  %160 = load i32, ptr %159, align 8, !tbaa !131
  %161 = icmp eq i32 %160, %42
  br i1 %161, label %162, label %165

162:                                              ; preds = %158
  %163 = load i32, ptr %94, align 8, !tbaa !125
  %164 = getelementptr inbounds i8, ptr %.0209, i64 12
  store i32 %163, ptr %164, align 4, !tbaa !135
  br label %165

165:                                              ; preds = %162, %158
  %166 = getelementptr inbounds i8, ptr %37, i64 280
  %167 = load i64, ptr %166, align 8
  %168 = load i32, ptr %111, align 4, !tbaa !128
  %169 = and i32 %168, 192
  %170 = icmp eq i32 %169, 0
  %171 = getelementptr inbounds i8, ptr %.0209, i64 20
  %172 = load float, ptr %171, align 4, !tbaa !120
  store float %172, ptr %9, align 8, !tbaa !119
  %173 = getelementptr inbounds i8, ptr %0, i64 44
  %174 = getelementptr inbounds i8, ptr %.0209, i64 16
  br i1 %170, label %175, label %183

175:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #12
  %176 = load float, ptr %174, align 4, !tbaa !136
  %177 = getelementptr inbounds i8, ptr %0, i64 76
  %178 = load float, ptr %177, align 4, !tbaa !137
  %179 = fsub float %176, %178
  %180 = fptosi float %179 to i32
  %181 = sitofp i32 %180 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %181, float noundef 0.000000e+00)
  %182 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %173, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #12
  br label %186

183:                                              ; preds = %165
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #12
  %184 = load float, ptr %174, align 4, !tbaa !136
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %12, float noundef %184, float noundef 0.000000e+00)
  %185 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %173, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #12
  br label %186

186:                                              ; preds = %183, %175
  %.sink = phi <2 x float> [ %182, %175 ], [ %185, %183 ]
  store <2 x float> %.sink, ptr %166, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #12
  store <2 x float> %.sink, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #12
  %187 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %187, ptr %15, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %14, ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %15)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #12
  br i1 %170, label %188, label %.thread260

188:                                              ; preds = %186
  %189 = load float, ptr %14, align 4, !tbaa !138
  %190 = getelementptr inbounds i8, ptr %0, i64 92
  %191 = load float, ptr %190, align 4, !tbaa !139
  %192 = fcmp olt float %189, %191
  br i1 %192, label %.thread259, label %193

193:                                              ; preds = %188
  %194 = getelementptr inbounds i8, ptr %14, i64 8
  %195 = load float, ptr %194, align 4, !tbaa !140
  %196 = getelementptr inbounds i8, ptr %0, i64 96
  %197 = load float, ptr %196, align 8, !tbaa !141
  %198 = fcmp ogt float %195, %197
  br i1 %198, label %.thread259, label %.thread260

.thread259:                                       ; preds = %188, %193
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #12
  %199 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %189, float noundef %191)
  %200 = getelementptr inbounds i8, ptr %14, i64 4
  %201 = load float, ptr %200, align 4, !tbaa !142
  %202 = fadd float %201, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %199, float noundef %202)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #12
  %203 = getelementptr inbounds i8, ptr %0, i64 96
  %204 = load float, ptr %203, align 8, !tbaa !141
  %205 = getelementptr inbounds i8, ptr %14, i64 12
  %206 = load float, ptr %205, align 4, !tbaa !143
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %204, float noundef %206)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %17, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #12
  br label %.thread260

.thread260:                                       ; preds = %186, %.thread259, %193
  %207 = phi i1 [ true, %.thread259 ], [ false, %193 ], [ false, %186 ]
  %208 = getelementptr inbounds i8, ptr %37, i64 304
  %209 = load i64, ptr %208, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #12
  %210 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store <2 x float> %210, ptr %18, align 8
  %211 = getelementptr inbounds i8, ptr %29, i64 14632
  %212 = load float, ptr %211, align 4, !tbaa !144
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %212)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #12
  store i64 %209, ptr %208, align 8
  %213 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %42, ptr noundef null, i32 noundef 0)
  br i1 %213, label %217, label %214

214:                                              ; preds = %.thread260
  br i1 %207, label %215, label %216

215:                                              ; preds = %214
  call void @_ZN5ImGui11PopClipRectEv()
  br label %216

216:                                              ; preds = %215, %214
  store i64 %167, ptr %166, align 8
  br label %344

217:                                              ; preds = %.thread260
  %218 = select i1 %.not225, i32 4112, i32 4128
  %219 = getelementptr inbounds i8, ptr %29, i64 19836
  %220 = load i8, ptr %219, align 4, !tbaa !145, !range !20, !noundef !21
  %221 = trunc nuw i8 %220 to i1
  %222 = or disjoint i32 %218, 512
  %spec.select245 = select i1 %221, i32 %222, i32 %218
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #12
  %223 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %42, ptr noundef nonnull %19, ptr noundef nonnull %20, i32 noundef %spec.select245)
  %224 = select i1 %223, i1 %.not225, i1 false
  br i1 %224, label %225, label %226

225:                                              ; preds = %217
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0209)
  br label %226

226:                                              ; preds = %217, %225
  %227 = load i8, ptr %20, align 1, !tbaa !27, !range !20, !noundef !21
  %228 = trunc nuw i8 %227 to i1
  %.not248 = xor i1 %228, true
  %brmerge249 = select i1 %.not248, i1 true, i1 %103
  br i1 %brmerge249, label %254, label %229

229:                                              ; preds = %226
  %230 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %230, label %231, label %254

231:                                              ; preds = %229
  %232 = load i8, ptr %219, align 4, !tbaa !145, !range !20, !noundef !21
  %233 = trunc nuw i8 %232 to i1
  br i1 %233, label %254, label %234

234:                                              ; preds = %231
  %235 = load i32, ptr %97, align 8, !tbaa !126
  %236 = and i32 %235, 1
  %.not231 = icmp eq i32 %236, 0
  br i1 %.not231, label %254, label %237

237:                                              ; preds = %234
  %238 = getelementptr inbounds i8, ptr %29, i64 232
  %239 = load float, ptr %238, align 8, !tbaa !146
  %240 = fcmp olt float %239, 0.000000e+00
  br i1 %240, label %241, label %246

241:                                              ; preds = %237
  %242 = getelementptr inbounds i8, ptr %29, i64 248
  %243 = load float, ptr %242, align 8, !tbaa !147
  %244 = load float, ptr %14, align 4, !tbaa !138
  %245 = fcmp olt float %243, %244
  br i1 %245, label %.sink.split, label %246

246:                                              ; preds = %241, %237
  %247 = fcmp ogt float %239, 0.000000e+00
  br i1 %247, label %248, label %254

248:                                              ; preds = %246
  %249 = getelementptr inbounds i8, ptr %29, i64 248
  %250 = load float, ptr %249, align 8, !tbaa !147
  %251 = getelementptr inbounds i8, ptr %14, i64 8
  %252 = load float, ptr %251, align 4, !tbaa !140
  %253 = fcmp ogt float %250, %252
  br i1 %253, label %.sink.split, label %254

.sink.split:                                      ; preds = %248, %241
  %.sink262 = phi ptr [ %242, %241 ], [ %249, %248 ]
  %.sroa.011.0.copyload = load <2 x float>, ptr %.sink262, align 8
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef nonnull %0, ptr noundef nonnull %.0209, <2 x float> %.sroa.011.0.copyload)
  br label %254

254:                                              ; preds = %.sink.split, %226, %231, %234, %246, %248, %229
  %255 = getelementptr inbounds i8, ptr %37, i64 688
  %256 = load ptr, ptr %255, align 8, !tbaa !148
  %257 = load i8, ptr %20, align 1, !tbaa !27, !range !20, !noundef !21
  %258 = trunc nuw i8 %257 to i1
  br i1 %258, label %267, label %259

259:                                              ; preds = %254
  %260 = load i8, ptr %19, align 1, !tbaa !27, !range !20, !noundef !21
  %261 = trunc nuw i8 %260 to i1
  br i1 %261, label %267, label %262

262:                                              ; preds = %259
  br i1 %.0211.shrunk, label %263, label %265

263:                                              ; preds = %262
  %264 = select i1 %.not223, i32 38, i32 35
  br label %267

265:                                              ; preds = %262
  %266 = select i1 %.not223, i32 37, i32 34
  br label %267

267:                                              ; preds = %263, %265, %254, %259
  %268 = phi i32 [ 33, %259 ], [ 33, %254 ], [ %264, %263 ], [ %266, %265 ]
  %269 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %268, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %256, ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %.0206, i32 noundef %269)
  br i1 %.0211.shrunk, label %270, label %292

270:                                              ; preds = %267
  %271 = load i32, ptr %97, align 8, !tbaa !126
  %272 = and i32 %271, 64
  %.not232 = icmp eq i32 %272, 0
  br i1 %.not232, label %292, label %273

273:                                              ; preds = %270
  %274 = getelementptr inbounds i8, ptr %29, i64 14704
  %275 = load float, ptr %274, align 4, !tbaa !149
  %276 = fmul float %275, 0x3FD99999A0000000
  %277 = fptosi float %276 to i32
  %278 = sitofp i32 %277 to float
  %279 = getelementptr inbounds i8, ptr %29, i64 15720
  %280 = load float, ptr %279, align 8, !tbaa !150
  %281 = fmul float %280, 2.000000e+00
  %282 = fcmp ogt float %281, %278
  %.0208 = select i1 %282, float 0.000000e+00, float %278
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #12
  %283 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store <2 x float> %283, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %23) #12
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %23, float noundef %.0208, float noundef %280)
  %284 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %22, ptr noundef nonnull align 4 dereferenceable(8) %23)
  store <2 x float> %284, ptr %21, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %24) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %25) #12
  %285 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store <2 x float> %285, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #12
  %286 = fneg float %.0208
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %286, float noundef %280)
  %287 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %25, ptr noundef nonnull align 4 dereferenceable(8) %26)
  store <2 x float> %287, ptr %24, align 8
  %288 = select i1 %.not223, i32 39, i32 36
  %289 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %288, float noundef 1.000000e+00)
  %290 = load float, ptr %279, align 8, !tbaa !150
  %291 = fmul float %290, 2.000000e+00
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(200) %256, ptr noundef nonnull align 4 dereferenceable(8) %21, ptr noundef nonnull align 4 dereferenceable(8) %24, i32 noundef %289, float noundef %291)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %26) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %24) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %23) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %22) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %21) #12
  br label %292

292:                                              ; preds = %273, %270, %267
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %42, i32 noundef 0)
  %293 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %293, label %294, label %301

294:                                              ; preds = %292
  %295 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %295, label %299, label %296

296:                                              ; preds = %294
  %297 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  %298 = select i1 %297, i1 %.not225, i1 false
  br i1 %298, label %300, label %301

299:                                              ; preds = %294
  br i1 %.not225, label %300, label %301

300:                                              ; preds = %296, %299
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0209)
  br label %301

301:                                              ; preds = %296, %300, %299, %292
  %302 = load i32, ptr %97, align 8, !tbaa !126
  %303 = lshr i32 %302, 1
  %304 = and i32 %303, 4
  %spec.select253 = or i32 %304, %.0206
  br i1 %66, label %305, label %307

305:                                              ; preds = %301
  %306 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef nonnull @.str.150, ptr noundef null, i32 noundef %42)
  br label %307

307:                                              ; preds = %301, %305
  %308 = phi i32 [ %306, %305 ], [ 0, %301 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %28) #12
  %309 = and i32 %spec.select253, -2
  %310 = select i1 %109, i32 %309, i32 %spec.select253
  %311 = getelementptr inbounds i8, ptr %0, i64 128
  %.sroa.0.0.copyload = load <2 x float>, ptr %311, align 8
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %256, ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %310, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %42, i32 noundef %308, i1 noundef zeroext %.0211.shrunk, ptr noundef nonnull %27, ptr noundef nonnull %28)
  %312 = load i8, ptr %27, align 1, !tbaa !27, !range !20, !noundef !21
  %313 = trunc nuw i8 %312 to i1
  %or.cond = and i1 %66, %313
  br i1 %or.cond, label %314, label %315

314:                                              ; preds = %307
  store i8 0, ptr %.0205, align 1, !tbaa !27
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0209)
  br label %315

315:                                              ; preds = %314, %307
  br i1 %207, label %316, label %317

316:                                              ; preds = %315
  call void @_ZN5ImGui11PopClipRectEv()
  br label %317

317:                                              ; preds = %316, %315
  store i64 %167, ptr %166, align 8
  %318 = load i8, ptr %28, align 1, !tbaa !27, !range !20, !noundef !21
  %319 = trunc nuw i8 %318 to i1
  br i1 %319, label %320, label %339

320:                                              ; preds = %317
  %321 = getelementptr inbounds i8, ptr %29, i64 16536
  %322 = load i32, ptr %321, align 8, !tbaa !151
  %323 = icmp eq i32 %322, %42
  br i1 %323, label %324, label %339

324:                                              ; preds = %320
  %325 = load i8, ptr %20, align 1, !tbaa !27, !range !20, !noundef !21
  %326 = trunc nuw i8 %325 to i1
  br i1 %326, label %339, label %327

327:                                              ; preds = %324
  %328 = load i32, ptr %97, align 8, !tbaa !126
  %329 = and i32 %328, 32
  %.not234 = icmp eq i32 %329, 0
  br i1 %.not234, label %330, label %339

330:                                              ; preds = %327
  %331 = load i32, ptr %111, align 4, !tbaa !128
  %332 = and i32 %331, 16
  %.not235 = icmp eq i32 %332, 0
  br i1 %.not235, label %333, label %339

333:                                              ; preds = %330
  %334 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %335 = ptrtoint ptr %334 to i64
  %336 = ptrtoint ptr %1 to i64
  %337 = sub i64 %335, %336
  %338 = trunc i64 %337 to i32
  call void (ptr, ...) @_ZN5ImGui14SetItemTooltipEPKcz(ptr noundef nonnull @.str.189, i32 noundef %338, ptr noundef %1)
  br label %339

339:                                              ; preds = %327, %330, %333, %324, %320, %317
  br i1 %.not225, label %.critedge, label %340

340:                                              ; preds = %339
  %341 = load i32, ptr %159, align 8, !tbaa !131
  %342 = load i32, ptr %.0209, align 4, !tbaa !112
  %.not236 = icmp eq i32 %341, %342
  br i1 %.not236, label %343, label %.critedge

343:                                              ; preds = %340
  call void @__assert_fail(ptr noundef nonnull @.str.190, ptr noundef nonnull @.str.2, i32 noundef 8901, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

.critedge:                                        ; preds = %339, %340
  %.0211.shrunk.254 = phi i1 [ %.0211.shrunk, %339 ], [ %223, %340 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %28) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #12
  br label %344

344:                                              ; preds = %.critedge, %216
  %.1 = phi i1 [ %.0211.shrunk.254, %.critedge ], [ %.0211.shrunk, %216 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #12
  br label %345

345:                                              ; preds = %156, %344
  %.2 = phi i1 [ %.1, %344 ], [ %.0211.shrunk., %156 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #12
  br label %346

346:                                              ; preds = %46, %345, %35
  %.4 = phi i1 [ false, %35 ], [ %.2, %345 ], [ false, %46 ]
  ret i1 %.4
}

; Function Attrs: mustprogress uwtable
declare hidden noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKcP11ImGuiWindow(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(41)) local_unnamed_addr #11 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef, i1 noundef zeroext) local_unnamed_addr #7

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

declare void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef, ptr noundef) local_unnamed_addr #4

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, <2 x float>, ptr noundef, i32 noundef, i32 noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #7

declare void @_ZN5ImGui14SetItemTooltipEPKcz(ptr noundef, ...) local_unnamed_addr #4

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

!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, !17, i64 115}
!10 = !{!"_ZTS11ImGuiTabBar", !11, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !13, i64 44, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !12, i64 108, !16, i64 112, !7, i64 114, !17, i64 115, !17, i64 116, !17, i64 117, !16, i64 118, !16, i64 120, !15, i64 124, !14, i64 128, !14, i64 136, !18, i64 144}
!11 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS15ImGuiTextBuffer", !19, i64 0}
!19 = !{!"_ZTS8ImVectorIcE", !12, i64 0, !12, i64 4, !6, i64 8}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23, i64 8, i64 8, !24, i64 16, i64 4, !26, i64 20, i64 4, !23, i64 24, i64 4, !23, i64 28, i64 1, !27, i64 29, i64 1, !28, i64 30, i64 8, !28}
!23 = !{!12, !12, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"long long", !7, i64 0}
!26 = !{!15, !15, i64 0}
!27 = !{!17, !17, i64 0}
!28 = !{!7, !7, i64 0}
!29 = !{!30, !6, i64 16448}
!30 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !31, i64 8, !34, i64 14568, !6, i64 15704, !15, i64 15712, !15, i64 15716, !15, i64 15720, !36, i64 15728, !39, i64 16256, !12, i64 16264, !12, i64 16268, !12, i64 16272, !17, i64 16276, !17, i64 16277, !17, i64 16278, !17, i64 16279, !17, i64 16280, !6, i64 16288, !7, i64 16296, !40, i64 16312, !40, i64 16328, !32, i64 16344, !12, i64 16348, !41, i64 16352, !41, i64 16368, !41, i64 16384, !42, i64 16400, !43, i64 16416, !12, i64 16432, !14, i64 16436, !12, i64 16444, !6, i64 16448, !6, i64 16456, !6, i64 16464, !6, i64 16472, !6, i64 16480, !6, i64 16488, !14, i64 16496, !12, i64 16504, !12, i64 16508, !15, i64 16512, !14, i64 16516, !14, i64 16524, !12, i64 16532, !12, i64 16536, !12, i64 16540, !15, i64 16544, !15, i64 16548, !17, i64 16552, !17, i64 16553, !17, i64 16554, !12, i64 16556, !12, i64 16560, !15, i64 16564, !17, i64 16568, !17, i64 16569, !17, i64 16570, !17, i64 16571, !17, i64 16572, !17, i64 16573, !17, i64 16574, !12, i64 16575, !14, i64 16576, !6, i64 16584, !45, i64 16592, !12, i64 16596, !17, i64 16600, !17, i64 16601, !6, i64 16608, !12, i64 16616, !15, i64 16620, !39, i64 16624, !39, i64 16632, !39, i64 16640, !46, i64 16648, !7, i64 16668, !47, i64 18520, !12, i64 18864, !17, i64 18868, !12, i64 18872, !12, i64 18876, !12, i64 18880, !12, i64 18884, !12, i64 18888, !49, i64 18896, !51, i64 18936, !52, i64 19016, !17, i64 19128, !12, i64 19132, !53, i64 19136, !54, i64 19152, !55, i64 19168, !56, i64 19184, !57, i64 19200, !58, i64 19216, !59, i64 19232, !59, i64 19248, !60, i64 19264, !61, i64 19280, !6, i64 19296, !12, i64 19304, !12, i64 19308, !62, i64 19312, !12, i64 19316, !12, i64 19320, !12, i64 19324, !12, i64 19328, !56, i64 19336, !12, i64 19352, !15, i64 19356, !12, i64 19360, !12, i64 19364, !45, i64 19368, !25, i64 19376, !17, i64 19384, !17, i64 19385, !17, i64 19386, !17, i64 19387, !17, i64 19388, !17, i64 19389, !17, i64 19390, !63, i64 19392, !17, i64 19448, !17, i64 19449, !17, i64 19450, !12, i64 19452, !12, i64 19456, !12, i64 19460, !35, i64 19464, !35, i64 19468, !35, i64 19472, !13, i64 19476, !13, i64 19492, !12, i64 19508, !12, i64 19512, !12, i64 19516, !63, i64 19520, !63, i64 19576, !63, i64 19632, !63, i64 19688, !12, i64 19744, !12, i64 19748, !12, i64 19752, !12, i64 19756, !17, i64 19760, !17, i64 19761, !12, i64 19764, !12, i64 19768, !6, i64 19776, !6, i64 19784, !6, i64 19792, !15, i64 19800, !15, i64 19804, !17, i64 19808, !64, i64 19812, !14, i64 19816, !14, i64 19824, !15, i64 19832, !17, i64 19836, !17, i64 19837, !17, i64 19838, !12, i64 19840, !12, i64 19844, !12, i64 19848, !65, i64 19856, !13, i64 19920, !13, i64 19936, !12, i64 19952, !12, i64 19956, !15, i64 19960, !12, i64 19964, !12, i64 19968, !12, i64 19972, !12, i64 19976, !66, i64 19984, !7, i64 20000, !12, i64 20016, !67, i64 20024, !6, i64 20040, !12, i64 20048, !12, i64 20052, !68, i64 20056, !69, i64 20072, !71, i64 20112, !72, i64 20128, !6, i64 20144, !73, i64 20152, !75, i64 20192, !76, i64 20208, !12, i64 20224, !12, i64 20228, !15, i64 20232, !15, i64 20236, !12, i64 20240, !12, i64 20244, !12, i64 20248, !15, i64 20252, !14, i64 20256, !77, i64 20264, !80, i64 24000, !81, i64 24024, !12, i64 24144, !50, i64 24148, !12, i64 24156, !12, i64 24160, !12, i64 24164, !12, i64 24168, !12, i64 24172, !15, i64 24176, !15, i64 24180, !12, i64 24184, !37, i64 24188, !83, i64 24204, !13, i64 24252, !17, i64 24268, !16, i64 24270, !15, i64 24272, !15, i64 24276, !15, i64 24280, !17, i64 24284, !17, i64 24285, !15, i64 24288, !15, i64 24292, !15, i64 24296, !16, i64 24300, !16, i64 24302, !16, i64 24304, !19, i64 24312, !84, i64 24328, !85, i64 24344, !87, i64 24448, !87, i64 24464, !17, i64 24480, !15, i64 24484, !18, i64 24488, !88, i64 24504, !89, i64 24520, !90, i64 24536, !91, i64 24552, !12, i64 24568, !7, i64 24576, !17, i64 24640, !92, i64 24644, !6, i64 24648, !18, i64 24656, !6, i64 24672, !6, i64 24680, !15, i64 24688, !17, i64 24692, !12, i64 24696, !12, i64 24700, !12, i64 24704, !12, i64 24708, !18, i64 24712, !93, i64 24728, !12, i64 24752, !7, i64 24756, !7, i64 24757, !17, i64 24758, !12, i64 24760, !7, i64 24764, !17, i64 24765, !7, i64 24766, !12, i64 24768, !15, i64 24772, !37, i64 24776, !94, i64 24792, !95, i64 24824, !97, i64 24864, !7, i64 24924, !12, i64 25164, !12, i64 25168, !15, i64 25172, !12, i64 25176, !12, i64 25180, !12, i64 25184, !19, i64 25192, !7, i64 25208}
!31 = !{!"_ZTS7ImGuiIO", !12, i64 0, !12, 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, !17, i64 60, !6, i64 64, !14, i64 72, !17, i64 80, !17, i64 81, !17, i64 82, !17, i64 83, !17, i64 84, !17, i64 85, !17, i64 86, !17, i64 87, !15, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !17, i64 112, !17, i64 113, !17, i64 114, !17, i64 115, !17, i64 116, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !16, i64 192, !17, i64 194, !17, i64 195, !17, i64 196, !17, i64 197, !17, i64 198, !17, i64 199, !17, i64 200, !15, i64 204, !12, i64 208, !12, i64 212, !12, i64 216, !12, i64 220, !14, i64 224, !6, i64 232, !14, i64 240, !7, i64 248, !15, i64 256, !15, i64 260, !32, i64 264, !17, i64 268, !17, i64 269, !17, i64 270, !17, i64 271, !12, i64 272, !7, i64 276, !17, i64 10932, !14, i64 10936, !7, i64 10944, !7, i64 10984, !7, i64 11024, !7, i64 11029, !7, i64 11034, !7, i64 11044, !7, i64 11054, !7, i64 11059, !7, i64 11064, !17, i64 11069, !17, i64 11070, !7, i64 11072, !7, i64 11092, !7, i64 11112, !15, i64 11132, !17, i64 11136, !17, i64 11137, !7, i64 11138, !17, i64 11139, !16, i64 11140, !33, i64 11144, !7, i64 11160, !7, i64 13824, !7, i64 14492}
!32 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!33 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!34 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !35, 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, !14, i64 156, !35, i64 164, !14, i64 168, !14, i64 176, !15, i64 184, !14, i64 188, !14, i64 196, !14, i64 204, !14, i64 212, !15, i64 220, !17, i64 224, !17, i64 225, !17, i64 226, !15, i64 228, !15, i64 232, !7, i64 236, !15, i64 1116, !15, i64 1120, !15, i64 1124, !12, i64 1128, !12, i64 1132}
!35 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!36 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !37, i64 28, !12, i64 44, !38, i64 48, !7, i64 64, !15, i64 448, !7, i64 452, !6, i64 520}
!37 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!38 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!39 = !{!"double", !7, i64 0}
!40 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !12, i64 0, !12, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!43 = !{!"_ZTS12ImGuiStorage", !44, i64 0}
!44 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !12, i64 0, !12, i64 4, !6, i64 8}
!45 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!46 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!47 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !48, i64 312, !48, i64 328}
!48 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!49 = !{!"_ZTS17ImGuiNextItemData", !12, i64 0, !12, i64 4, !25, i64 8, !15, i64 16, !12, i64 20, !12, i64 24, !17, i64 28, !7, i64 29, !50, i64 30}
!50 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!51 = !{!"_ZTS17ImGuiLastItemData", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 12, !13, i64 28, !13, i64 44, !13, i64 60, !12, i64 76}
!52 = !{!"_ZTS19ImGuiNextWindowData", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !12, i64 56, !17, i64 60, !13, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !12, i64 108}
!53 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !12, i64 0, !12, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !12, i64 0, !12, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorIP6ImFontE", !12, i64 0, !12, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorIiE", !12, i64 0, !12, i64 4, !6, i64 8}
!58 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiNavTreeNodeDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !12, i64 0, !12, i64 4, !6, i64 8}
!62 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!63 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !25, i64 48}
!64 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!65 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!66 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!69 = !{!"_ZTS6ImPoolI10ImGuiTableE", !70, i64 0, !43, i64 16, !12, i64 32, !12, i64 36}
!70 = !{!"_ZTS8ImVectorI10ImGuiTableE", !12, i64 0, !12, i64 4, !6, i64 8}
!71 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!72 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!73 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !74, i64 0, !43, i64 16, !12, i64 32, !12, i64 36}
!74 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !12, i64 0, !12, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !12, i64 0, !12, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!77 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !33, i64 24, !19, i64 40, !19, i64 56, !17, i64 72, !12, i64 76, !15, i64 80, !78, i64 84, !15, i64 3712, !17, i64 3716, !17, i64 3717, !17, i64 3718, !12, i64 3720, !17, i64 3724, !12, i64 3728, !12, i64 3732}
!78 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 12, !12, 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, !79, i64 32}
!79 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !12, i64 3588, !12, i64 3592}
!80 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !12, i64 0, !19, i64 8}
!81 = !{!"_ZTS6ImFont", !71, i64 0, !15, i64 16, !15, i64 20, !33, i64 24, !82, 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, !17, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !12, i64 112, !7, i64 116}
!82 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !12, i64 0, !12, i64 4, !6, i64 8}
!83 = !{!"_ZTS21ImGuiComboPreviewData", !13, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !12, i64 44}
!84 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!85 = !{!"_ZTS22ImGuiTypingSelectState", !86, i64 0, !7, i64 24, !12, i64 88, !12, i64 92, !15, i64 96, !17, i64 100}
!86 = !{!"_ZTS24ImGuiTypingSelectRequest", !12, i64 0, !12, i64 4, !6, i64 8, !17, i64 16, !17, i64 17, !7, i64 18}
!87 = !{!"_ZTS20ImGuiPlatformImeData", !17, i64 0, !14, i64 4, !15, i64 12}
!88 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !12, i64 0, !12, i64 4, !6, i64 8}
!89 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !19, i64 0}
!90 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !19, i64 0}
!91 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !12, i64 0, !12, i64 4, !6, i64 8}
!92 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!93 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !12, i64 16}
!94 = !{!"_ZTS18ImGuiMetricsConfig", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !17, i64 4, !17, i64 5, !17, i64 6, !17, i64 7, !17, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24}
!95 = !{!"_ZTS16ImGuiIDStackTool", !12, i64 0, !12, i64 4, !12, i64 8, !96, i64 16, !17, i64 32, !15, i64 36}
!96 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !12, i64 0, !12, i64 4, !6, i64 8}
!97 = !{!"_ZTS19ImGuiDebugAllocInfo", !12, i64 0, !12, i64 4, !16, i64 8, !7, i64 12}
!98 = !{!99, !17, i64 207}
!99 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !12, i64 16, !12, i64 20, !12, 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, !12, i64 136, !12, i64 140, !12, i64 144, !12, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !14, i64 184, !14, i64 192, !17, i64 200, !17, i64 201, !17, i64 202, !17, i64 203, !17, i64 204, !17, i64 205, !17, i64 206, !17, i64 207, !17, i64 208, !17, i64 209, !17, i64 210, !17, i64 211, !17, i64 212, !17, 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, !17, i64 228, !35, i64 232, !7, i64 236, !7, i64 237, !7, i64 238, !7, i64 239, !12, i64 240, !12, i64 241, !12, i64 242, !14, i64 244, !14, i64 252, !84, i64 264, !100, i64 280, !13, i64 512, !13, i64 528, !13, i64 544, !13, i64 560, !13, i64 576, !13, i64 592, !13, i64 608, !103, i64 624, !103, i64 628, !12, i64 632, !15, i64 636, !15, i64 640, !43, i64 648, !104, i64 664, !15, i64 680, !12, i64 684, !6, i64 688, !105, 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, !12, i64 1016, !12, i64 1020, !12, i64 1024, !17, i64 1028}
!100 = !{!"_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, !17, i64 64, !17, i64 65, !101, i64 68, !101, i64 72, !101, i64 76, !14, i64 80, !62, i64 88, !16, i64 92, !16, i64 94, !17, i64 96, !17, i64 97, !17, i64 98, !17, i64 99, !14, i64 100, !102, i64 108, !12, i64 136, !12, i64 140, !41, i64 144, !6, i64 160, !6, i64 168, !12, i64 176, !12, i64 180, !12, i64 184, !12, i64 188, !15, i64 192, !15, i64 196, !71, i64 200, !71, i64 216}
!101 = !{!"_ZTS6ImVec1", !15, i64 0}
!102 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!103 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!104 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!105 = !{!"_ZTS10ImDrawList", !106, i64 0, !33, i64 16, !107, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !38, i64 80, !108, i64 96, !109, i64 128, !110, i64 152, !111, i64 168, !15, i64 184, !6, i64 192}
!106 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!107 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!108 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !12, i64 24}
!109 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !72, i64 8}
!110 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!112 = !{!113, !12, i64 0}
!113 = !{!"_ZTS12ImGuiTabItem", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !12, i64 32, !16, i64 36, !16, i64 38, !17, i64 40}
!114 = !{!10, !17, i64 117}
!115 = !{!10, !16, i64 120}
!116 = !{!113, !15, i64 28}
!117 = !{!30, !12, i64 18896}
!118 = !{!30, !15, i64 18912}
!119 = !{!14, !15, i64 0}
!120 = !{!113, !15, i64 20}
!121 = !{!113, !15, i64 24}
!122 = !{!10, !16, i64 118}
!123 = !{!113, !16, i64 36}
!124 = !{!10, !12, i64 40}
!125 = !{!30, !12, i64 16264}
!126 = !{!10, !12, i64 16}
!127 = !{!113, !12, i64 8}
!128 = !{!113, !12, i64 4}
!129 = !{!113, !12, i64 32}
!130 = !{!10, !12, i64 28}
!131 = !{!10, !12, i64 24}
!132 = !{!10, !12, i64 32}
!133 = !{!10, !17, i64 116}
!134 = !{!10, !12, i64 0}
!135 = !{!113, !12, i64 12}
!136 = !{!113, !15, i64 16}
!137 = !{!10, !15, i64 76}
!138 = !{!13, !15, i64 0}
!139 = !{!10, !15, i64 92}
!140 = !{!13, !15, i64 8}
!141 = !{!10, !15, i64 96}
!142 = !{!13, !15, i64 4}
!143 = !{!13, !15, i64 12}
!144 = !{!34, !15, i64 64}
!145 = !{!30, !17, i64 19836}
!146 = !{!30, !15, i64 232}
!147 = !{!30, !15, i64 248}
!148 = !{!99, !6, i64 688}
!149 = !{!34, !15, i64 136}
!150 = !{!30, !15, i64 15720}
!151 = !{!30, !12, i64 16536}


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