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

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [76 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.216 = 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 @_ZN5ImGui14SetItemTooltipEPKcz(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

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) #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 56, ptr %13) #12
  %71 = load ptr, ptr %12, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiContext, ptr %71, i32 0, i32 86
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %72, i64 56, 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 86
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %75, ptr align 8 %13, i64 52, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 56, 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 34
  %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 !102, !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 %817

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 2)
  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 %816

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.212, ptr noundef @.str.2, i32 noundef 9817, 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.213, ptr noundef @.str.2, i32 noundef 9818, 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 !116
  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 !118
  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 !119
  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 !120
  %171 = load ptr, ptr %12, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiContext, ptr %171, i32 0, i32 86
  %173 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %172, i32 0, i32 0
  %174 = load i32, ptr %173, align 8, !tbaa !121
  %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 86
  %180 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %179, i32 0, i32 5
  %181 = load float, ptr %180, align 8, !tbaa !122
  %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 !120
  %184 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  store float %181, ptr %184, align 4, !tbaa !123
  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 !123
  %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 !124
  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 !123
  %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 !125
  %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 !126
  %202 = add i16 %201, 1
  store i16 %202, ptr %200, align 2, !tbaa !126
  %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 !127
  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 !128
  %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 12
  %211 = load i32, ptr %210, align 8, !tbaa !129
  %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 !130
  %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 !131
  %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 12
  %226 = load i32, ptr %225, align 8, !tbaa !129
  %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 !132
  %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 12
  %248 = load i32, ptr %247, align 8, !tbaa !129
  %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 !131
  %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 !132
  %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.214, ptr noundef @.str.2, i32 noundef 9859, 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 !133
  %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 !130
  %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 !134
  %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 !135
  %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 !135
  %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 !136
  %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 !137
  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 !135
  %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.43, ptr %345, i32 0, i32 0
  %347 = load i32, ptr %346, align 8, !tbaa !138
  %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 !130
  %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 2)
  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 %815

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 %815

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 !135
  %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 12
  %384 = load i32, ptr %383, align 8, !tbaa !129
  %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 !139
  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 !140
  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 !132
  %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 !124
  %400 = getelementptr inbounds %struct.ImVec2, ptr %22, i32 0, i32 0
  store float %399, ptr %400, align 4, !tbaa !123
  %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 !141
  %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 !142
  %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 !140
  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 !141
  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 !140
  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 !140
  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 !143
  %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 !144
  %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 !145
  %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 !146
  %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 !143
  %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 !144
  %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 !147
  %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 !146
  %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 !148
  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 !140
  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 !149
  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 !140
  %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 !140
  %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 %814

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 160
  %511 = load i8, ptr %510, align 4, !tbaa !150, !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 160
  %540 = load i8, ptr %539, align 4, !tbaa !150, !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 !130
  %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 61
  %552 = getelementptr inbounds %struct.ImVec2, ptr %551, i32 0, i32 0
  %553 = load float, ptr %552, align 8, !tbaa !151
  %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 63
  %559 = getelementptr inbounds %struct.ImVec2, ptr %558, i32 0, i32 0
  %560 = load float, ptr %559, align 8, !tbaa !152
  %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 !143
  %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 63
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 8 %570, i64 8, i1 false), !tbaa.struct !140
  %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 61
  %576 = getelementptr inbounds %struct.ImVec2, ptr %575, i32 0, i32 0
  %577 = load float, ptr %576, align 8, !tbaa !151
  %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 63
  %583 = getelementptr inbounds %struct.ImVec2, ptr %582, i32 0, i32 0
  %584 = load float, ptr %583, align 8, !tbaa !152
  %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 !145
  %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 63
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %49, ptr align 8 %594, i64 8, i1 false), !tbaa.struct !140
  %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 !153
  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 %680

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 !130
  %636 = and i32 %635, 64
  %637 = icmp ne i32 %636, 0
  br i1 %637, label %638, label %680

638:                                              ; preds = %632
  %639 = load ptr, ptr %16, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiStyle, ptr %639, i32 0, i32 30
  %641 = load float, ptr %640, align 4, !tbaa !154
  %642 = fcmp ogt float %641, 0.000000e+00
  br i1 %642, label %643, label %680

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

656:                                              ; preds = %643
  store float 0.000000e+00, ptr %52, align 4, !tbaa !26
  br label %657

657:                                              ; preds = %656, %643
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #12
  %658 = load ptr, ptr %12, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.ImGuiContext, ptr %658, i32 0, i32 9
  %660 = load float, ptr %659, align 4, !tbaa !156
  %661 = fmul float 1.000000e+00, %660
  store float %661, ptr %53, align 4, !tbaa !26
  %662 = 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
  %663 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %663, ptr %55, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %56) #12
  %664 = load float, ptr %52, align 4, !tbaa !26
  %665 = load float, ptr %53, align 4, !tbaa !26
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %56, float noundef %664, float noundef %665)
  %666 = 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> %666, 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
  %667 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %37)
  store <2 x float> %667, ptr %58, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #12
  %668 = load float, ptr %52, align 4, !tbaa !26
  %669 = fneg float %668
  %670 = load float, ptr %53, align 4, !tbaa !26
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %59, float noundef %669, float noundef %670)
  %671 = 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> %671, ptr %57, align 4
  %672 = load i8, ptr %24, align 1, !tbaa !27, !range !21, !noundef !22
  %673 = trunc i8 %672 to i1
  %674 = zext i1 %673 to i64
  %675 = select i1 %673, i32 36, i32 39
  %676 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %675, float noundef 1.000000e+00)
  %677 = load ptr, ptr %16, align 8, !tbaa !5
  %678 = getelementptr inbounds %struct.ImGuiStyle, ptr %677, i32 0, i32 30
  %679 = load float, ptr %678, align 4, !tbaa !154
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(200) %662, ptr noundef nonnull align 4 dereferenceable(8) %54, ptr noundef nonnull align 4 dereferenceable(8) %57, i32 noundef %676, float noundef %679)
  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 %680

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

686:                                              ; preds = %680
  %687 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %687, label %690, label %688

688:                                              ; preds = %686
  %689 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %689, label %690, label %696

690:                                              ; preds = %688, %686
  %691 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %692 = trunc i8 %691 to i1
  br i1 %692, label %696, label %693

693:                                              ; preds = %690
  %694 = load ptr, ptr %7, align 8, !tbaa !5
  %695 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %694, ptr noundef %695)
  br label %696

696:                                              ; preds = %693, %690, %688, %680
  %697 = load ptr, ptr %7, align 8, !tbaa !5
  %698 = getelementptr inbounds %struct.ImGuiTabBar, ptr %697, i32 0, i32 1
  %699 = load i32, ptr %698, align 8, !tbaa !130
  %700 = and i32 %699, 8
  %701 = icmp ne i32 %700, 0
  br i1 %701, label %702, label %705

702:                                              ; preds = %696
  %703 = load i32, ptr %10, align 4, !tbaa !9
  %704 = or i32 %703, 4
  store i32 %704, ptr %10, align 4, !tbaa !9
  br label %705

705:                                              ; preds = %702, %696
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #12
  %706 = load ptr, ptr %9, align 8, !tbaa !5
  %707 = icmp ne ptr %706, null
  br i1 %707, label %708, label %711

708:                                              ; preds = %705
  %709 = load i32, ptr %17, align 4, !tbaa !9
  %710 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef @.str.151, ptr noundef null, i32 noundef %709)
  br label %712

711:                                              ; preds = %705
  br label %712

712:                                              ; preds = %711, %708
  %713 = phi i32 [ %710, %708 ], [ 0, %711 ]
  store i32 %713, 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
  %714 = load ptr, ptr %50, align 8, !tbaa !5
  %715 = load i8, ptr %26, align 1, !tbaa !27, !range !21, !noundef !22
  %716 = trunc i8 %715 to i1
  br i1 %716, label %717, label %720

717:                                              ; preds = %712
  %718 = load i32, ptr %10, align 4, !tbaa !9
  %719 = and i32 %718, -2
  br label %722

720:                                              ; preds = %712
  %721 = load i32, ptr %10, align 4, !tbaa !9
  br label %722

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

734:                                              ; preds = %722
  %735 = load ptr, ptr %9, align 8, !tbaa !5
  %736 = icmp ne ptr %735, null
  br i1 %736, label %737, label %741

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

741:                                              ; preds = %737, %734, %722
  %742 = load i8, ptr %39, align 1, !tbaa !27, !range !21, !noundef !22
  %743 = trunc i8 %742 to i1
  br i1 %743, label %744, label %745

744:                                              ; preds = %741
  call void @_ZN5ImGui11PopClipRectEv()
  br label %745

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

751:                                              ; preds = %745
  %752 = load ptr, ptr %12, align 8, !tbaa !5
  %753 = getelementptr inbounds %struct.ImGuiContext, ptr %752, i32 0, i32 47
  %754 = load i32, ptr %753, align 8, !tbaa !157
  %755 = load i32, ptr %17, align 4, !tbaa !9
  %756 = icmp eq i32 %754, %755
  br i1 %756, label %757, label %782

757:                                              ; preds = %751
  %758 = load i8, ptr %46, align 1, !tbaa !27, !range !21, !noundef !22
  %759 = trunc i8 %758 to i1
  br i1 %759, label %782, label %760

760:                                              ; preds = %757
  %761 = load ptr, ptr %7, align 8, !tbaa !5
  %762 = getelementptr inbounds %struct.ImGuiTabBar, ptr %761, i32 0, i32 1
  %763 = load i32, ptr %762, align 8, !tbaa !130
  %764 = and i32 %763, 32
  %765 = icmp ne i32 %764, 0
  br i1 %765, label %781, label %766

766:                                              ; preds = %760
  %767 = load ptr, ptr %19, align 8, !tbaa !5
  %768 = getelementptr inbounds %struct.ImGuiTabItem, ptr %767, i32 0, i32 1
  %769 = load i32, ptr %768, align 4, !tbaa !132
  %770 = and i32 %769, 16
  %771 = icmp ne i32 %770, 0
  br i1 %771, label %781, label %772

772:                                              ; preds = %766
  %773 = load ptr, ptr %8, align 8, !tbaa !5
  %774 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %773, ptr noundef null)
  %775 = load ptr, ptr %8, align 8, !tbaa !5
  %776 = ptrtoint ptr %774 to i64
  %777 = ptrtoint ptr %775 to i64
  %778 = sub i64 %776, %777
  %779 = trunc i64 %778 to i32
  %780 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui14SetItemTooltipEPKcz(ptr noundef @.str.215, i32 noundef %779, ptr noundef %780)
  br label %781

781:                                              ; preds = %772, %766, %760
  br label %782

782:                                              ; preds = %781, %757, %751, %745
  %783 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %784 = trunc i8 %783 to i1
  br i1 %784, label %785, label %799

785:                                              ; preds = %782
  %786 = load ptr, ptr %7, align 8, !tbaa !5
  %787 = getelementptr inbounds %struct.ImGuiTabBar, ptr %786, i32 0, i32 3
  %788 = load i32, ptr %787, align 8, !tbaa !135
  %789 = load ptr, ptr %19, align 8, !tbaa !5
  %790 = getelementptr inbounds %struct.ImGuiTabItem, ptr %789, i32 0, i32 0
  %791 = load i32, ptr %790, align 4, !tbaa !116
  %792 = icmp eq i32 %788, %791
  br i1 %792, label %793, label %796

793:                                              ; preds = %785
  %794 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %795 = trunc i8 %794 to i1
  br label %796

796:                                              ; preds = %793, %785
  %797 = phi i1 [ false, %785 ], [ %795, %793 ]
  %798 = xor i1 %797, true
  br label %799

799:                                              ; preds = %796, %782
  %800 = phi i1 [ true, %782 ], [ %798, %796 ]
  br i1 %800, label %801, label %802

801:                                              ; preds = %799
  br label %804

802:                                              ; preds = %799
  call void @__assert_fail(ptr noundef @.str.216, ptr noundef @.str.2, i32 noundef 10015, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

803:                                              ; No predecessors!
  br label %804

804:                                              ; preds = %803, %801
  %805 = load i8, ptr %27, align 1, !tbaa !27, !range !21, !noundef !22
  %806 = trunc i8 %805 to i1
  br i1 %806, label %807, label %810

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

810:                                              ; preds = %804
  %811 = load i8, ptr %28, align 1, !tbaa !27, !range !21, !noundef !22
  %812 = trunc i8 %811 to i1
  store i1 %812, ptr %6, align 1
  store i32 1, ptr %15, align 4
  br label %813

813:                                              ; preds = %810, %807
  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 %814

814:                                              ; preds = %813, %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 %815

815:                                              ; preds = %814, %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 %816

816:                                              ; preds = %815, %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 %817

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

; 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

; 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

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 4, !9, i64 16, i64 8, !24, i64 24, i64 4, !26, i64 28, i64 4, !9, i64 32, i64 4, !9, i64 36, i64 1, !27, i64 37, i64 1, !28, i64 38, i64 8, !28, i64 48, i64 4, !9}
!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 16504}
!30 = !{!"_ZTS12ImGuiContext", !18, i64 0, !18, i64 1, !31, i64 8, !34, i64 14592, !6, i64 15752, !16, i64 15760, !16, i64 15764, !16, i64 15768, !16, i64 15772, !36, i64 15776, !39, i64 16312, !10, i64 16320, !10, i64 16324, !10, i64 16328, !18, i64 16332, !18, i64 16333, !18, i64 16334, !18, i64 16335, !18, i64 16336, !6, i64 16344, !7, i64 16352, !40, i64 16368, !40, i64 16384, !32, i64 16400, !10, i64 16404, !41, i64 16408, !41, i64 16424, !41, i64 16440, !42, i64 16456, !43, i64 16472, !10, i64 16488, !15, i64 16492, !10, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !15, i64 16552, !10, i64 16560, !10, i64 16564, !16, i64 16568, !15, i64 16572, !15, i64 16580, !10, i64 16588, !10, i64 16592, !10, i64 16596, !16, i64 16600, !16, i64 16604, !18, i64 16608, !18, i64 16609, !18, i64 16610, !10, i64 16612, !10, i64 16616, !16, i64 16620, !18, i64 16624, !18, i64 16625, !18, i64 16626, !18, i64 16627, !18, i64 16628, !18, i64 16629, !18, i64 16630, !10, i64 16631, !15, i64 16632, !6, i64 16640, !45, i64 16648, !10, i64 16652, !18, i64 16656, !18, i64 16657, !6, i64 16664, !10, i64 16672, !16, i64 16676, !39, i64 16680, !39, i64 16688, !39, i64 16696, !46, i64 16704, !7, i64 16724, !47, i64 18576, !10, i64 18920, !18, i64 18924, !10, i64 18928, !10, i64 18932, !10, i64 18936, !10, i64 18940, !49, i64 18944, !51, i64 19000, !52, i64 19080, !18, i64 19192, !10, i64 19196, !53, i64 19200, !54, i64 19216, !55, i64 19232, !56, i64 19248, !57, i64 19264, !58, i64 19280, !59, i64 19296, !59, i64 19312, !60, i64 19328, !61, i64 19344, !6, i64 19360, !10, i64 19368, !10, i64 19372, !62, i64 19376, !10, i64 19380, !10, i64 19384, !10, i64 19388, !10, i64 19392, !56, i64 19400, !10, i64 19416, !16, i64 19420, !10, i64 19424, !10, i64 19428, !45, i64 19432, !25, i64 19440, !18, i64 19448, !18, i64 19449, !18, i64 19450, !18, i64 19451, !18, i64 19452, !18, i64 19453, !18, i64 19454, !63, i64 19456, !18, i64 19512, !18, i64 19513, !18, i64 19514, !10, i64 19516, !10, i64 19520, !10, i64 19524, !35, i64 19528, !35, i64 19532, !35, i64 19536, !14, i64 19540, !14, i64 19556, !10, i64 19572, !10, i64 19576, !10, i64 19580, !63, i64 19584, !63, i64 19640, !63, i64 19696, !63, i64 19752, !10, i64 19808, !10, i64 19812, !10, i64 19816, !10, i64 19820, !18, i64 19824, !18, i64 19825, !10, i64 19828, !10, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !16, i64 19864, !16, i64 19868, !18, i64 19872, !64, i64 19876, !15, i64 19880, !15, i64 19888, !16, i64 19896, !18, i64 19900, !18, i64 19901, !18, i64 19902, !10, i64 19904, !10, i64 19908, !10, i64 19912, !65, i64 19920, !14, i64 19984, !14, i64 20000, !10, i64 20016, !10, i64 20020, !16, i64 20024, !10, i64 20028, !10, i64 20032, !10, i64 20036, !10, i64 20040, !66, i64 20048, !7, i64 20064, !10, i64 20080, !67, i64 20088, !6, i64 20104, !10, i64 20112, !10, i64 20116, !68, i64 20120, !69, i64 20136, !71, i64 20176, !72, i64 20192, !6, i64 20208, !73, i64 20216, !75, i64 20256, !76, i64 20272, !77, i64 20288, !6, i64 20392, !10, i64 20400, !78, i64 20408, !79, i64 20424, !10, i64 20464, !10, i64 20468, !16, i64 20472, !16, i64 20476, !10, i64 20480, !10, i64 20484, !10, i64 20488, !16, i64 20492, !15, i64 20496, !81, i64 20504, !84, i64 24240, !85, i64 24264, !10, i64 24384, !50, i64 24388, !10, i64 24396, !10, i64 24400, !10, i64 24404, !10, i64 24408, !10, i64 24412, !16, i64 24416, !16, i64 24420, !10, i64 24424, !37, i64 24428, !87, i64 24444, !14, i64 24492, !18, i64 24508, !17, i64 24510, !16, i64 24512, !16, i64 24516, !16, i64 24520, !18, i64 24524, !18, i64 24525, !16, i64 24528, !16, i64 24532, !16, i64 24536, !17, i64 24540, !17, i64 24542, !17, i64 24544, !20, i64 24552, !88, i64 24568, !89, i64 24584, !91, i64 24688, !91, i64 24704, !18, i64 24720, !16, i64 24724, !19, i64 24728, !92, i64 24744, !93, i64 24760, !94, i64 24776, !95, i64 24792, !10, i64 24808, !7, i64 24816, !18, i64 24888, !96, i64 24892, !6, i64 24896, !19, i64 24904, !6, i64 24920, !6, i64 24928, !16, i64 24936, !18, i64 24940, !10, i64 24944, !10, i64 24948, !10, i64 24952, !10, i64 24956, !19, i64 24960, !97, i64 24976, !10, i64 25000, !7, i64 25004, !7, i64 25005, !18, i64 25006, !10, i64 25008, !7, i64 25012, !18, i64 25013, !7, i64 25014, !10, i64 25016, !16, i64 25020, !37, i64 25024, !98, i64 25040, !99, i64 25072, !101, i64 25112, !7, i64 25172, !10, i64 25412, !10, i64 25416, !16, i64 25420, !10, i64 25424, !10, i64 25428, !10, i64 25432, !20, i64 25440, !7, i64 25456}
!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, !18, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !18, i64 116, !18, i64 117, !18, i64 118, !18, i64 119, !18, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !17, i64 216, !18, i64 218, !18, i64 219, !18, i64 220, !18, i64 221, !18, i64 222, !18, i64 223, !18, i64 224, !16, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !15, i64 248, !6, i64 256, !15, i64 264, !7, i64 272, !16, i64 280, !16, i64 284, !32, i64 288, !18, i64 292, !18, i64 293, !18, i64 294, !18, i64 295, !10, i64 296, !7, i64 300, !18, i64 10956, !15, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !18, i64 11093, !18, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !16, i64 11156, !18, i64 11160, !18, i64 11161, !7, i64 11162, !18, i64 11163, !17, i64 11164, !33, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!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, !16, i64 156, !15, i64 160, !35, i64 168, !15, i64 172, !15, i64 180, !16, i64 188, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !16, i64 224, !18, i64 228, !18, i64 229, !18, i64 230, !16, i64 232, !16, i64 236, !7, i64 240, !16, i64 1136, !16, i64 1140, !16, i64 1144, !10, i64 1148, !10, i64 1152}
!35 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!36 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !37, i64 32, !10, i64 48, !38, i64 56, !7, i64 72, !16, i64 456, !7, i64 460, !6, i64 528}
!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, !10, i64 8, !25, i64 16, !16, i64 24, !10, i64 28, !10, i64 32, !18, i64 36, !7, i64 37, !50, i64 38, !10, i64 48}
!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 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !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 = !{!"_ZTS19ImGuiBoxSelectState", !10, i64 0, !18, i64 4, !18, i64 5, !18, i64 6, !18, i64 7, !18, i64 8, !10, i64 9, !15, i64 12, !15, i64 20, !15, i64 28, !6, i64 40, !18, i64 48, !14, i64 52, !14, i64 68, !14, i64 84}
!78 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !80, i64 0, !43, i64 16, !10, i64 32, !10, i64 36}
!80 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_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, !82, 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}
!82 = !{!"_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, !83, i64 32}
!83 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!84 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !10, i64 0, !20, i64 8}
!85 = !{!"_ZTS6ImFont", !71, i64 0, !16, i64 16, !16, i64 20, !33, i64 24, !86, 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}
!86 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS21ImGuiComboPreviewData", !14, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!88 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS22ImGuiTypingSelectState", !90, i64 0, !7, i64 24, !10, i64 88, !10, i64 92, !16, i64 96, !18, i64 100}
!90 = !{!"_ZTS24ImGuiTypingSelectRequest", !10, i64 0, !10, i64 4, !6, i64 8, !18, i64 16, !18, i64 17, !7, i64 18}
!91 = !{!"_ZTS20ImGuiPlatformImeData", !18, i64 0, !15, i64 4, !16, i64 12}
!92 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!93 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!94 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!95 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!96 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!97 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !10, i64 16}
!98 = !{!"_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}
!99 = !{!"_ZTS16ImGuiIDStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !100, i64 16, !18, i64 32, !16, i64 36}
!100 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!101 = !{!"_ZTS19ImGuiDebugAllocInfo", !10, i64 0, !10, i64 4, !17, i64 8, !7, i64 12}
!102 = !{!103, !18, i64 207}
!103 = !{!"_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, !88, i64 264, !104, i64 280, !14, i64 512, !14, i64 528, !14, i64 544, !14, i64 560, !14, i64 576, !14, i64 592, !14, i64 608, !107, i64 624, !107, i64 628, !10, i64 632, !16, i64 636, !16, i64 640, !43, i64 648, !108, i64 664, !16, i64 680, !10, i64 684, !6, i64 688, !109, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !10, i64 1016, !10, i64 1020, !10, i64 1024, !18, i64 1028}
!104 = !{!"_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, !105, i64 68, !105, i64 72, !105, 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, !106, 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}
!105 = !{!"_ZTS6ImVec1", !16, i64 0}
!106 = !{!"_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}
!107 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!108 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!109 = !{!"_ZTS10ImDrawList", !110, i64 0, !33, i64 16, !111, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !38, i64 80, !112, i64 96, !113, i64 128, !114, i64 152, !115, i64 168, !16, i64 184, !6, i64 192}
!110 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!112 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !10, i64 24}
!113 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !72, i64 8}
!114 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!115 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!116 = !{!117, !10, i64 0}
!117 = !{!"_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}
!118 = !{!12, !18, i64 117}
!119 = !{!12, !17, i64 120}
!120 = !{!117, !16, i64 28}
!121 = !{!30, !10, i64 18944}
!122 = !{!30, !16, i64 18968}
!123 = !{!15, !16, i64 0}
!124 = !{!117, !16, i64 20}
!125 = !{!117, !16, i64 24}
!126 = !{!12, !17, i64 118}
!127 = !{!117, !17, i64 36}
!128 = !{!12, !10, i64 40}
!129 = !{!30, !10, i64 16320}
!130 = !{!12, !10, i64 16}
!131 = !{!117, !10, i64 8}
!132 = !{!117, !10, i64 4}
!133 = !{!117, !10, i64 32}
!134 = !{!12, !10, i64 28}
!135 = !{!12, !10, i64 24}
!136 = !{!12, !10, i64 32}
!137 = !{!12, !18, i64 116}
!138 = !{!12, !10, i64 0}
!139 = !{!117, !10, i64 12}
!140 = !{i64 0, i64 4, !26, i64 4, i64 4, !26}
!141 = !{!117, !16, i64 16}
!142 = !{!12, !16, i64 76}
!143 = !{!14, !16, i64 0}
!144 = !{!12, !16, i64 92}
!145 = !{!14, !16, i64 8}
!146 = !{!12, !16, i64 96}
!147 = !{!14, !16, i64 4}
!148 = !{!14, !16, i64 12}
!149 = !{!34, !16, i64 64}
!150 = !{!30, !18, i64 19900}
!151 = !{!30, !16, i64 256}
!152 = !{!30, !16, i64 272}
!153 = !{!103, !6, i64 688}
!154 = !{!34, !16, i64 152}
!155 = !{!34, !16, i64 136}
!156 = !{!30, !16, i64 15772}
!157 = !{!30, !10, i64 16592}


; 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, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 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 [76 x i8], align 1
@.str.151 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.212 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.213 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.214 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.215 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.216 = 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 @_ZN5ImGui14SetItemTooltipEPKcz(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

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

declare noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef, i1 noundef zeroext) 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 56, ptr nonnull %6)
  %34 = getelementptr inbounds i8, ptr %29, i64 18944
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(56) %6, ptr noundef nonnull align 8 dereferenceable(56) %34, i64 56, 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(52) %34, ptr noundef nonnull align 8 dereferenceable(52) %6, i64 52, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 56, ptr nonnull %6)
  br label %35

35:                                               ; preds = %33, %5
  %36 = getelementptr inbounds i8, ptr %29, i64 16504
  %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 !102, !range !20, !noundef !21
  %40 = trunc nuw i8 %39 to i1
  br i1 %40, label %349, 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 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #12
  br label %349

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

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

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

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

53:                                               ; preds = %.thread
  %54 = and i32 %3, 1048576
  %.not222 = icmp eq i32 %54, 0
  %55 = or disjoint i32 %3, 1048576
  %56 = and i1 %.not, %.not222
  %.0207 = select i1 %56, i32 %55, i32 %3
  %.0206 = select i1 %.not222, 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 !116
  %61 = getelementptr inbounds i8, ptr %0, i64 117
  store i8 1, ptr %61, align 1, !tbaa !118
  br label %62

62:                                               ; preds = %59, %53
  %.0210 = phi ptr [ %60, %59 ], [ %57, %53 ]
  %63 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0210)
  %64 = trunc i32 %63 to i16
  %65 = getelementptr inbounds i8, ptr %0, i64 120
  store i16 %64, ptr %65, align 8, !tbaa !119
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #12
  %66 = icmp ne ptr %.0206, null
  %67 = and i32 %.0207, 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 %.0210, i64 28
  store float -1.000000e+00, ptr %71, align 4, !tbaa !120
  %72 = getelementptr inbounds i8, ptr %29, i64 18944
  %73 = load i32, ptr %72, align 8, !tbaa !121
  %74 = and i32 %73, 1
  %.not223 = icmp eq i32 %74, 0
  %75 = extractelement <2 x float> %70, i64 0
  br i1 %.not223, label %79, label %76

76:                                               ; preds = %62
  %77 = getelementptr inbounds i8, ptr %29, i64 18968
  %78 = load float, ptr %77, align 8, !tbaa !122
  store float %78, ptr %71, align 4, !tbaa !120
  store float %78, ptr %9, align 8, !tbaa !123
  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 %.0210, i64 20
  store float %82, ptr %83, align 4, !tbaa !124
  %.pre = load float, ptr %9, align 8, !tbaa !123
  br label %84

84:                                               ; preds = %81, %79
  %85 = phi float [ %.pre, %81 ], [ %80, %79 ]
  %86 = getelementptr inbounds i8, ptr %.0210, i64 24
  store float %85, ptr %86, align 4, !tbaa !125
  %87 = getelementptr inbounds i8, ptr %0, i64 118
  %88 = load i16, ptr %87, align 2, !tbaa !126
  %89 = add i16 %88, 1
  store i16 %89, ptr %87, align 2, !tbaa !126
  %90 = getelementptr inbounds i8, ptr %.0210, i64 36
  store i16 %88, ptr %90, align 4, !tbaa !127
  %91 = getelementptr inbounds i8, ptr %0, i64 40
  %92 = load i32, ptr %91, align 8, !tbaa !128
  %93 = add nsw i32 %92, 1
  %94 = getelementptr inbounds i8, ptr %29, i64 16320
  %95 = load i32, ptr %94, align 8, !tbaa !129
  %96 = icmp sge i32 %93, %95
  %97 = getelementptr inbounds i8, ptr %0, i64 16
  %98 = load i32, ptr %97, align 8, !tbaa !130
  %99 = and i32 %98, 2097152
  %.not224 = icmp eq i32 %99, 0
  %100 = getelementptr inbounds i8, ptr %.0210, i64 8
  %101 = load i32, ptr %100, align 4, !tbaa !131
  %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 %.0210, i64 4
  %106 = load i32, ptr %105, align 4, !tbaa !132
  %107 = and i32 %106, 1
  %.not225 = icmp eq i32 %107, 0
  br label %108

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

112:                                              ; preds = %108
  call void @__assert_fail(ptr noundef nonnull @.str.214, ptr noundef nonnull @.str.2, i32 noundef 9859, 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 %.0210, i64 32
  store i32 %115, ptr %116, align 4, !tbaa !133
  %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 %.not226, 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 !130
  %123 = and i32 %122, 2
  %.not228 = icmp eq i32 %123, 0
  br i1 %.not228, label %134, label %124

124:                                              ; preds = %121
  %125 = getelementptr inbounds i8, ptr %0, i64 28
  %126 = load i32, ptr %125, align 4, !tbaa !134
  %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 !135
  %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 %.0210)
  br label %134

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

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

139:                                              ; preds = %136
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0210)
  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 !136
  %143 = icmp eq i32 %142, %42
  br i1 %143, label %144, label %.critedge240

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

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

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

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

155:                                              ; preds = %152, %144, %.critedge240, %149
  %.0212.shrunk = phi i1 [ true, %144 ], [ false, %149 ], [ false, %.critedge240 ], [ %.not231, %152 ]
  %brmerge245 = or i1 %58, %96
  %or.cond256 = select i1 %103, i1 %brmerge245, i1 false
  br i1 %or.cond256, 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 2)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %10) #12
  %.0212.shrunk. = select i1 %.not226, i1 %.0212.shrunk, i1 false
  br label %348

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

162:                                              ; preds = %158
  %163 = load i32, ptr %94, align 8, !tbaa !129
  %164 = getelementptr inbounds i8, ptr %.0210, i64 12
  store i32 %163, ptr %164, align 4, !tbaa !139
  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 !132
  %169 = and i32 %168, 192
  %170 = icmp eq i32 %169, 0
  %171 = getelementptr inbounds i8, ptr %.0210, i64 20
  %172 = load float, ptr %171, align 4, !tbaa !124
  store float %172, ptr %9, align 8, !tbaa !123
  %173 = getelementptr inbounds i8, ptr %0, i64 44
  %174 = getelementptr inbounds i8, ptr %.0210, 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 !140
  %177 = getelementptr inbounds i8, ptr %0, i64 76
  %178 = load float, ptr %177, align 4, !tbaa !141
  %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 !140
  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 %.thread261

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

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

.thread260:                                       ; 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 !146
  %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 !145
  %205 = getelementptr inbounds i8, ptr %14, i64 12
  %206 = load float, ptr %205, align 4, !tbaa !147
  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 %.thread261

.thread261:                                       ; preds = %186, %.thread260, %193
  %207 = phi i1 [ true, %.thread260 ], [ 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 14656
  %212 = load float, ptr %211, align 4, !tbaa !148
  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 = %.thread261
  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 %347

217:                                              ; preds = %.thread261
  %218 = select i1 %.not226, i32 4112, i32 4128
  %219 = getelementptr inbounds i8, ptr %29, i64 19900
  %220 = load i8, ptr %219, align 4, !tbaa !149, !range !20, !noundef !21
  %221 = trunc nuw i8 %220 to i1
  %222 = or disjoint i32 %218, 512
  %spec.select246 = 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.select246)
  %224 = select i1 %223, i1 %.not226, i1 false
  br i1 %224, label %225, label %226

225:                                              ; preds = %217
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0210)
  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
  %.not249 = xor i1 %228, true
  %brmerge250 = select i1 %.not249, i1 true, i1 %103
  br i1 %brmerge250, 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 !149, !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 !130
  %236 = and i32 %235, 1
  %.not232 = icmp eq i32 %236, 0
  br i1 %.not232, label %254, label %237

237:                                              ; preds = %234
  %238 = getelementptr inbounds i8, ptr %29, i64 256
  %239 = load float, ptr %238, align 8, !tbaa !150
  %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 272
  %243 = load float, ptr %242, align 8, !tbaa !151
  %244 = load float, ptr %14, align 4, !tbaa !142
  %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 272
  %250 = load float, ptr %249, align 8, !tbaa !151
  %251 = getelementptr inbounds i8, ptr %14, i64 8
  %252 = load float, ptr %251, align 4, !tbaa !144
  %253 = fcmp ogt float %250, %252
  br i1 %253, label %.sink.split, label %254

.sink.split:                                      ; preds = %248, %241
  %.sink263 = phi ptr [ %242, %241 ], [ %249, %248 ]
  %.sroa.011.0.copyload = load <2 x float>, ptr %.sink263, align 8
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarP12ImGuiTabItem6ImVec2(ptr noundef nonnull %0, ptr noundef nonnull %.0210, <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 !152
  %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 %.0212.shrunk, label %263, label %265

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

265:                                              ; preds = %262
  %266 = select i1 %.not224, 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 %.0207, i32 noundef %269)
  br i1 %.0212.shrunk, label %270, label %295

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

273:                                              ; preds = %270
  %274 = getelementptr inbounds i8, ptr %29, i64 14744
  %275 = load float, ptr %274, align 4, !tbaa !153
  %276 = fcmp ogt float %275, 0.000000e+00
  br i1 %276, label %277, label %295

277:                                              ; preds = %273
  %278 = getelementptr inbounds i8, ptr %29, i64 14728
  %279 = load float, ptr %278, align 4, !tbaa !154
  %280 = fmul float %279, 0x3FD99999A0000000
  %281 = fptosi float %280 to i32
  %282 = sitofp i32 %281 to float
  %283 = getelementptr inbounds i8, ptr %29, i64 15772
  %284 = load float, ptr %283, align 4, !tbaa !155
  %285 = fmul float %284, 2.000000e+00
  %286 = fcmp ogt float %285, %282
  %.0209 = select i1 %286, float 0.000000e+00, float %282
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %21) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %22) #12
  %287 = call <2 x float> @_ZNK6ImRect5GetTLEv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store <2 x float> %287, 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 %.0209, float noundef %284)
  %288 = 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> %288, 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
  %289 = call <2 x float> @_ZNK6ImRect5GetTREv(ptr noundef nonnull align 4 dereferenceable(16) %14)
  store <2 x float> %289, ptr %25, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %26) #12
  %290 = fneg float %.0209
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %26, float noundef %290, float noundef %284)
  %291 = 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> %291, ptr %24, align 8
  %292 = select i1 %.not224, i32 39, i32 36
  %293 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %292, float noundef 1.000000e+00)
  %294 = load float, ptr %274, align 4, !tbaa !153
  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 %293, float noundef %294)
  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 %295

295:                                              ; preds = %277, %273, %270, %267
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %14, i32 noundef %42, i32 noundef 0)
  %296 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %296, label %297, label %304

297:                                              ; preds = %295
  %298 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %298, label %302, label %299

299:                                              ; preds = %297
  %300 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  %301 = select i1 %300, i1 %.not226, i1 false
  br i1 %301, label %303, label %304

302:                                              ; preds = %297
  br i1 %.not226, label %303, label %304

303:                                              ; preds = %299, %302
  call void @_ZN5ImGui16TabBarQueueFocusEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0210)
  br label %304

304:                                              ; preds = %299, %303, %302, %295
  %305 = load i32, ptr %97, align 8, !tbaa !130
  %306 = lshr i32 %305, 1
  %307 = and i32 %306, 4
  %spec.select254 = or i32 %307, %.0207
  br i1 %66, label %308, label %310

308:                                              ; preds = %304
  %309 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef nonnull @.str.151, ptr noundef null, i32 noundef %42)
  br label %310

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

317:                                              ; preds = %310
  store i8 0, ptr %.0206, align 1, !tbaa !27
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0210)
  br label %318

318:                                              ; preds = %317, %310
  br i1 %207, label %319, label %320

319:                                              ; preds = %318
  call void @_ZN5ImGui11PopClipRectEv()
  br label %320

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

323:                                              ; preds = %320
  %324 = getelementptr inbounds i8, ptr %29, i64 16592
  %325 = load i32, ptr %324, align 8, !tbaa !156
  %326 = icmp eq i32 %325, %42
  br i1 %326, label %327, label %342

327:                                              ; preds = %323
  %328 = load i8, ptr %20, align 1, !tbaa !27, !range !20, !noundef !21
  %329 = trunc nuw i8 %328 to i1
  br i1 %329, label %342, label %330

330:                                              ; preds = %327
  %331 = load i32, ptr %97, align 8, !tbaa !130
  %332 = and i32 %331, 32
  %.not235 = icmp eq i32 %332, 0
  br i1 %.not235, label %333, label %342

333:                                              ; preds = %330
  %334 = load i32, ptr %111, align 4, !tbaa !132
  %335 = and i32 %334, 16
  %.not236 = icmp eq i32 %335, 0
  br i1 %.not236, label %336, label %342

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

342:                                              ; preds = %330, %333, %336, %327, %323, %320
  br i1 %.not226, label %.critedge, label %343

343:                                              ; preds = %342
  %344 = load i32, ptr %159, align 8, !tbaa !135
  %345 = load i32, ptr %.0210, align 4, !tbaa !116
  %.not237 = icmp eq i32 %344, %345
  br i1 %.not237, label %346, label %.critedge

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

.critedge:                                        ; preds = %342, %343
  %.0212.shrunk.255 = phi i1 [ %.0212.shrunk, %342 ], [ %223, %343 ]
  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 %347

347:                                              ; preds = %.critedge, %216
  %.1 = phi i1 [ %.0212.shrunk.255, %.critedge ], [ %.0212.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 %348

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

349:                                              ; preds = %46, %348, %35
  %.4 = phi i1 [ false, %35 ], [ %.2, %348 ], [ 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

; 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

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 4, !23, i64 16, i64 8, !24, i64 24, i64 4, !26, i64 28, i64 4, !23, i64 32, i64 4, !23, i64 36, i64 1, !27, i64 37, i64 1, !28, i64 38, i64 8, !28, i64 48, i64 4, !23}
!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 16504}
!30 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !31, i64 8, !34, i64 14592, !6, i64 15752, !15, i64 15760, !15, i64 15764, !15, i64 15768, !15, i64 15772, !36, i64 15776, !39, i64 16312, !12, i64 16320, !12, i64 16324, !12, i64 16328, !17, i64 16332, !17, i64 16333, !17, i64 16334, !17, i64 16335, !17, i64 16336, !6, i64 16344, !7, i64 16352, !40, i64 16368, !40, i64 16384, !32, i64 16400, !12, i64 16404, !41, i64 16408, !41, i64 16424, !41, i64 16440, !42, i64 16456, !43, i64 16472, !12, i64 16488, !14, i64 16492, !12, i64 16500, !6, i64 16504, !6, i64 16512, !6, i64 16520, !6, i64 16528, !6, i64 16536, !6, i64 16544, !14, i64 16552, !12, i64 16560, !12, i64 16564, !15, i64 16568, !14, i64 16572, !14, i64 16580, !12, i64 16588, !12, i64 16592, !12, i64 16596, !15, i64 16600, !15, i64 16604, !17, i64 16608, !17, i64 16609, !17, i64 16610, !12, i64 16612, !12, i64 16616, !15, i64 16620, !17, i64 16624, !17, i64 16625, !17, i64 16626, !17, i64 16627, !17, i64 16628, !17, i64 16629, !17, i64 16630, !12, i64 16631, !14, i64 16632, !6, i64 16640, !45, i64 16648, !12, i64 16652, !17, i64 16656, !17, i64 16657, !6, i64 16664, !12, i64 16672, !15, i64 16676, !39, i64 16680, !39, i64 16688, !39, i64 16696, !46, i64 16704, !7, i64 16724, !47, i64 18576, !12, i64 18920, !17, i64 18924, !12, i64 18928, !12, i64 18932, !12, i64 18936, !12, i64 18940, !49, i64 18944, !51, i64 19000, !52, i64 19080, !17, i64 19192, !12, i64 19196, !53, i64 19200, !54, i64 19216, !55, i64 19232, !56, i64 19248, !57, i64 19264, !58, i64 19280, !59, i64 19296, !59, i64 19312, !60, i64 19328, !61, i64 19344, !6, i64 19360, !12, i64 19368, !12, i64 19372, !62, i64 19376, !12, i64 19380, !12, i64 19384, !12, i64 19388, !12, i64 19392, !56, i64 19400, !12, i64 19416, !15, i64 19420, !12, i64 19424, !12, i64 19428, !45, i64 19432, !25, i64 19440, !17, i64 19448, !17, i64 19449, !17, i64 19450, !17, i64 19451, !17, i64 19452, !17, i64 19453, !17, i64 19454, !63, i64 19456, !17, i64 19512, !17, i64 19513, !17, i64 19514, !12, i64 19516, !12, i64 19520, !12, i64 19524, !35, i64 19528, !35, i64 19532, !35, i64 19536, !13, i64 19540, !13, i64 19556, !12, i64 19572, !12, i64 19576, !12, i64 19580, !63, i64 19584, !63, i64 19640, !63, i64 19696, !63, i64 19752, !12, i64 19808, !12, i64 19812, !12, i64 19816, !12, i64 19820, !17, i64 19824, !17, i64 19825, !12, i64 19828, !12, i64 19832, !6, i64 19840, !6, i64 19848, !6, i64 19856, !15, i64 19864, !15, i64 19868, !17, i64 19872, !64, i64 19876, !14, i64 19880, !14, i64 19888, !15, i64 19896, !17, i64 19900, !17, i64 19901, !17, i64 19902, !12, i64 19904, !12, i64 19908, !12, i64 19912, !65, i64 19920, !13, i64 19984, !13, i64 20000, !12, i64 20016, !12, i64 20020, !15, i64 20024, !12, i64 20028, !12, i64 20032, !12, i64 20036, !12, i64 20040, !66, i64 20048, !7, i64 20064, !12, i64 20080, !67, i64 20088, !6, i64 20104, !12, i64 20112, !12, i64 20116, !68, i64 20120, !69, i64 20136, !71, i64 20176, !72, i64 20192, !6, i64 20208, !73, i64 20216, !75, i64 20256, !76, i64 20272, !77, i64 20288, !6, i64 20392, !12, i64 20400, !78, i64 20408, !79, i64 20424, !12, i64 20464, !12, i64 20468, !15, i64 20472, !15, i64 20476, !12, i64 20480, !12, i64 20484, !12, i64 20488, !15, i64 20492, !14, i64 20496, !81, i64 20504, !84, i64 24240, !85, i64 24264, !12, i64 24384, !50, i64 24388, !12, i64 24396, !12, i64 24400, !12, i64 24404, !12, i64 24408, !12, i64 24412, !15, i64 24416, !15, i64 24420, !12, i64 24424, !37, i64 24428, !87, i64 24444, !13, i64 24492, !17, i64 24508, !16, i64 24510, !15, i64 24512, !15, i64 24516, !15, i64 24520, !17, i64 24524, !17, i64 24525, !15, i64 24528, !15, i64 24532, !15, i64 24536, !16, i64 24540, !16, i64 24542, !16, i64 24544, !19, i64 24552, !88, i64 24568, !89, i64 24584, !91, i64 24688, !91, i64 24704, !17, i64 24720, !15, i64 24724, !18, i64 24728, !92, i64 24744, !93, i64 24760, !94, i64 24776, !95, i64 24792, !12, i64 24808, !7, i64 24816, !17, i64 24888, !96, i64 24892, !6, i64 24896, !18, i64 24904, !6, i64 24920, !6, i64 24928, !15, i64 24936, !17, i64 24940, !12, i64 24944, !12, i64 24948, !12, i64 24952, !12, i64 24956, !18, i64 24960, !97, i64 24976, !12, i64 25000, !7, i64 25004, !7, i64 25005, !17, i64 25006, !12, i64 25008, !7, i64 25012, !17, i64 25013, !7, i64 25014, !12, i64 25016, !15, i64 25020, !37, i64 25024, !98, i64 25040, !99, i64 25072, !101, i64 25112, !7, i64 25172, !12, i64 25412, !12, i64 25416, !15, i64 25420, !12, i64 25424, !12, i64 25428, !12, i64 25432, !19, i64 25440, !7, i64 25456}
!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, !17, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !17, i64 116, !17, i64 117, !17, i64 118, !17, i64 119, !17, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !6, i64 208, !16, i64 216, !17, i64 218, !17, i64 219, !17, i64 220, !17, i64 221, !17, i64 222, !17, i64 223, !17, i64 224, !15, i64 228, !12, i64 232, !12, i64 236, !12, i64 240, !12, i64 244, !14, i64 248, !6, i64 256, !14, i64 264, !7, i64 272, !15, i64 280, !15, i64 284, !32, i64 288, !17, i64 292, !17, i64 293, !17, i64 294, !17, i64 295, !12, i64 296, !7, i64 300, !17, i64 10956, !14, i64 10960, !7, i64 10968, !7, i64 11008, !7, i64 11048, !7, i64 11053, !7, i64 11058, !7, i64 11068, !7, i64 11078, !7, i64 11083, !7, i64 11088, !17, i64 11093, !17, i64 11094, !7, i64 11096, !7, i64 11116, !7, i64 11136, !15, i64 11156, !17, i64 11160, !17, i64 11161, !7, i64 11162, !17, i64 11163, !16, i64 11164, !33, i64 11168, !7, i64 11184, !7, i64 13848, !7, i64 14516}
!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, !15, i64 156, !14, i64 160, !35, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !17, i64 228, !17, i64 229, !17, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !12, i64 1148, !12, i64 1152}
!35 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!36 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !37, i64 32, !12, i64 48, !38, i64 56, !7, i64 72, !15, i64 456, !7, i64 460, !6, i64 528}
!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, !12, i64 8, !25, i64 16, !15, i64 24, !12, i64 28, !12, i64 32, !17, i64 36, !7, i64 37, !50, i64 38, !12, i64 48}
!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 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !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 = !{!"_ZTS19ImGuiBoxSelectState", !12, i64 0, !17, i64 4, !17, i64 5, !17, i64 6, !17, i64 7, !17, i64 8, !12, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !17, i64 48, !13, i64 52, !13, i64 68, !13, i64 84}
!78 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!79 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !80, i64 0, !43, i64 16, !12, i64 32, !12, i64 36}
!80 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !12, i64 0, !12, i64 4, !6, i64 8}
!81 = !{!"_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, !82, 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}
!82 = !{!"_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, !83, i64 32}
!83 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !12, i64 3588, !12, i64 3592}
!84 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !12, i64 0, !19, i64 8}
!85 = !{!"_ZTS6ImFont", !71, i64 0, !15, i64 16, !15, i64 20, !33, i64 24, !86, 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}
!86 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !12, i64 0, !12, i64 4, !6, i64 8}
!87 = !{!"_ZTS21ImGuiComboPreviewData", !13, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !12, i64 44}
!88 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!89 = !{!"_ZTS22ImGuiTypingSelectState", !90, i64 0, !7, i64 24, !12, i64 88, !12, i64 92, !15, i64 96, !17, i64 100}
!90 = !{!"_ZTS24ImGuiTypingSelectRequest", !12, i64 0, !12, i64 4, !6, i64 8, !17, i64 16, !17, i64 17, !7, i64 18}
!91 = !{!"_ZTS20ImGuiPlatformImeData", !17, i64 0, !14, i64 4, !15, i64 12}
!92 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !12, i64 0, !12, i64 4, !6, i64 8}
!93 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !19, i64 0}
!94 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !19, i64 0}
!95 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !12, i64 0, !12, i64 4, !6, i64 8}
!96 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!97 = !{!"_ZTS14ImGuiTextIndex", !57, i64 0, !12, i64 16}
!98 = !{!"_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}
!99 = !{!"_ZTS16ImGuiIDStackTool", !12, i64 0, !12, i64 4, !12, i64 8, !100, i64 16, !17, i64 32, !15, i64 36}
!100 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !12, i64 0, !12, i64 4, !6, i64 8}
!101 = !{!"_ZTS19ImGuiDebugAllocInfo", !12, i64 0, !12, i64 4, !16, i64 8, !7, i64 12}
!102 = !{!103, !17, i64 207}
!103 = !{!"_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, !88, i64 264, !104, i64 280, !13, i64 512, !13, i64 528, !13, i64 544, !13, i64 560, !13, i64 576, !13, i64 592, !13, i64 608, !107, i64 624, !107, i64 628, !12, i64 632, !15, i64 636, !15, i64 640, !43, i64 648, !108, i64 664, !15, i64 680, !12, i64 684, !6, i64 688, !109, i64 696, !6, i64 896, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !7, i64 1000, !12, i64 1016, !12, i64 1020, !12, i64 1024, !17, i64 1028}
!104 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !17, i64 64, !17, i64 65, !105, i64 68, !105, i64 72, !105, 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, !106, 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}
!105 = !{!"_ZTS6ImVec1", !15, i64 0}
!106 = !{!"_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}
!107 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!108 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!109 = !{!"_ZTS10ImDrawList", !110, i64 0, !33, i64 16, !111, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !38, i64 80, !112, i64 96, !113, i64 128, !114, i64 152, !115, i64 168, !15, i64 184, !6, i64 192}
!110 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!111 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!112 = !{!"_ZTS15ImDrawCmdHeader", !37, i64 0, !6, i64 16, !12, i64 24}
!113 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !72, i64 8}
!114 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!115 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!116 = !{!117, !12, i64 0}
!117 = !{!"_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}
!118 = !{!10, !17, i64 117}
!119 = !{!10, !16, i64 120}
!120 = !{!117, !15, i64 28}
!121 = !{!30, !12, i64 18944}
!122 = !{!30, !15, i64 18968}
!123 = !{!14, !15, i64 0}
!124 = !{!117, !15, i64 20}
!125 = !{!117, !15, i64 24}
!126 = !{!10, !16, i64 118}
!127 = !{!117, !16, i64 36}
!128 = !{!10, !12, i64 40}
!129 = !{!30, !12, i64 16320}
!130 = !{!10, !12, i64 16}
!131 = !{!117, !12, i64 8}
!132 = !{!117, !12, i64 4}
!133 = !{!117, !12, i64 32}
!134 = !{!10, !12, i64 28}
!135 = !{!10, !12, i64 24}
!136 = !{!10, !12, i64 32}
!137 = !{!10, !17, i64 116}
!138 = !{!10, !12, i64 0}
!139 = !{!117, !12, i64 12}
!140 = !{!117, !15, i64 16}
!141 = !{!10, !15, i64 76}
!142 = !{!13, !15, i64 0}
!143 = !{!10, !15, i64 92}
!144 = !{!13, !15, i64 8}
!145 = !{!10, !15, i64 96}
!146 = !{!13, !15, i64 4}
!147 = !{!13, !15, i64 12}
!148 = !{!34, !15, i64 64}
!149 = !{!30, !17, i64 19900}
!150 = !{!30, !15, i64 256}
!151 = !{!30, !15, i64 272}
!152 = !{!103, !6, i64 688}
!153 = !{!34, !15, i64 152}
!154 = !{!34, !15, i64 136}
!155 = !{!30, !15, i64 15772}
!156 = !{!30, !12, i64 16592}


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