; LLVM IR from BrunoLevy/learn-fpga :: LiteX/software/Libs/imgui/imgui_widgets.ll (ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, i32, i32, float, float, float, i32, i16, i16, i8, [3 x i8] }>
%struct.ImGuiTabBar = type { %struct.ImVector.38, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, 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.38 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.27 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [7 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.11, %struct.ImGuiStorage, i32, %struct.ImVec2, [4 x i8], ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, [4 x i8], %struct.ImGuiNextWindowData, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.17, i32, [4 x i8], %struct.ImVector.18, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, [4 x i8], %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, ptr, ptr, ptr, float, float, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.19, [16 x i8], i32, [4 x i8], %struct.ImVector.20, ptr, i32, [4 x i8], %struct.ImVector.21, %struct.ImPool, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.23, %struct.ImVector.25, %struct.ImVector.26, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, float, i8, i8, [2 x i8], float, float, float, float, i16, i16, float, [4 x i8], %struct.ImVector.27, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.29, %struct.ImChunkStream, %struct.ImChunkStream.30, %struct.ImVector.31, i32, i8, [3 x i8], i32, [4 x i8], ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [4 x i8], %struct.ImGuiStackTool, [120 x float], i32, i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [20 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i8, i32, i32, %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], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [20 x float], [20 x float], float, i8, i16, %struct.ImVector.5 }
%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, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [53 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [48 x %struct.ImVec2], float, [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.23 = type { %struct.ImVector.24, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ i32, i32, i32, [4 x i8], %struct.ImVector.5, %struct.ImVector.27, %struct.ImVector.27, i8, [3 x i8], i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i8, i32, [4 x i8] }>
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.1, float, float, %struct.ImVector.5, %struct.ImVector.28, ptr, ptr, ptr, i16, i16, i16, i16, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.27 }
%struct.ImChunkStream.30 = type { %struct.ImVector.27 }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiStackTool = type { i32, i32, i32, %struct.ImVector.32 }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %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, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i32, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, 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, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [98 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.180 = 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

; 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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #6

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

declare void @_ZN5ImGui11PopClipRectEv() #6

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

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

declare void @_ZN5ImGui10SetTooltipEPKcz(ptr noundef, ...) #6

; 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 nounwind uwtable
declare dso_local void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(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) #4 align 2

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

57:                                               ; preds = %4
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef %58)
  br label %59

59:                                               ; preds = %57, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #11
  %60 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %60, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #11
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiContext, ptr %61, i32 0, i32 28
  %63 = load ptr, ptr %62, align 8, !tbaa !23
  store ptr %63, ptr %11, align 8, !tbaa !5
  %64 = load ptr, ptr %11, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiWindow, ptr %64, i32 0, i32 28
  %66 = load i8, ptr %65, align 1, !tbaa !76, !range !21, !noundef !22
  %67 = trunc i8 %66 to i1
  br i1 %67, label %68, label %69

68:                                               ; preds = %59
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %714

69:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiContext, ptr %70, i32 0, i32 4
  store ptr %71, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef %72, ptr noundef %73)
  store i32 %74, ptr %14, align 4, !tbaa !9
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %84

77:                                               ; preds = %69
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = load i8, ptr %78, align 1, !tbaa !91, !range !21, !noundef !22
  %80 = trunc i8 %79 to i1
  br i1 %80, label %84, label %81

81:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %15)
  %82 = load i32, ptr %14, align 4, !tbaa !9
  %83 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %82, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #11
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %713

84:                                               ; preds = %77, %69
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %92

87:                                               ; preds = %84
  %88 = load i32, ptr %9, align 4, !tbaa !9
  %89 = and i32 %88, 2097152
  %90 = icmp ne i32 %89, 0
  %91 = xor i1 %90, true
  br label %92

92:                                               ; preds = %87, %84
  %93 = phi i1 [ true, %84 ], [ %91, %87 ]
  br i1 %93, label %94, label %95

94:                                               ; preds = %92
  br label %97

95:                                               ; preds = %92
  call void @__assert_fail(ptr noundef @.str.177, ptr noundef @.str.2, i32 noundef 7973, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

96:                                               ; No predecessors!
  br label %97

97:                                               ; preds = %96, %94
  %98 = load i32, ptr %9, align 4, !tbaa !9
  %99 = and i32 %98, 192
  %100 = icmp ne i32 %99, 192
  br i1 %100, label %101, label %102

101:                                              ; preds = %97
  br label %104

102:                                              ; preds = %97
  call void @__assert_fail(ptr noundef @.str.178, ptr noundef @.str.2, i32 noundef 7974, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

103:                                              ; No predecessors!
  br label %104

104:                                              ; preds = %103, %101
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = and i32 %105, 1048576
  %107 = icmp ne i32 %106, 0
  br i1 %107, label %108, label %109

108:                                              ; preds = %104
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %116

109:                                              ; preds = %104
  %110 = load ptr, ptr %8, align 8, !tbaa !5
  %111 = icmp eq ptr %110, null
  br i1 %111, label %112, label %115

112:                                              ; preds = %109
  %113 = load i32, ptr %9, align 4, !tbaa !9
  %114 = or i32 %113, 1048576
  store i32 %114, ptr %9, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %112, %109
  br label %116

116:                                              ; preds = %115, %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %117 = load ptr, ptr %7, align 8, !tbaa !5
  %118 = load ptr, ptr %8, align 8, !tbaa !5
  %119 = icmp ne ptr %118, null
  %120 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %117, i1 noundef zeroext %119)
  store <2 x float> %120, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = load i32, ptr %14, align 4, !tbaa !9
  %123 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %121, i32 noundef %122)
  store ptr %123, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #11
  store i8 0, ptr %18, align 1, !tbaa !91
  %124 = load ptr, ptr %17, align 8, !tbaa !5
  %125 = icmp eq ptr %124, null
  br i1 %125, label %126, label %141

126:                                              ; preds = %116
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiTabBar, ptr %127, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 40, ptr %19) #11
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(37) %19)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef nonnull align 4 dereferenceable(37) %19)
  call void @llvm.lifetime.end.p0(i64 40, ptr %19) #11
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiTabBar, ptr %129, i32 0, i32 0
  %131 = call noundef nonnull align 4 dereferenceable(37) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %130)
  store ptr %131, ptr %17, align 8, !tbaa !5
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiTabItem, ptr %133, i32 0, i32 0
  store i32 %132, ptr %134, align 4, !tbaa !92
  %135 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %136 = load float, ptr %135, align 4, !tbaa !94
  %137 = load ptr, ptr %17, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiTabItem, ptr %137, i32 0, i32 5
  store float %136, ptr %138, align 4, !tbaa !95
  %139 = load ptr, ptr %6, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiTabBar, ptr %139, i32 0, i32 24
  store i8 1, ptr %140, align 1, !tbaa !96
  store i8 1, ptr %18, align 1, !tbaa !91
  br label %141

141:                                              ; preds = %126, %116
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiTabBar, ptr %142, i32 0, i32 0
  %144 = load ptr, ptr %17, align 8, !tbaa !5
  %145 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %143, ptr noundef %144)
  %146 = trunc i32 %145 to i16
  %147 = load ptr, ptr %6, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiTabBar, ptr %147, i32 0, i32 26
  store i16 %146, ptr %148, align 8, !tbaa !97
  %149 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %150 = load float, ptr %149, align 4, !tbaa !94
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiTabItem, ptr %151, i32 0, i32 6
  store float %150, ptr %152, align 4, !tbaa !98
  %153 = load ptr, ptr %6, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiTabBar, ptr %153, i32 0, i32 25
  %155 = load i16, ptr %154, align 2, !tbaa !99
  %156 = add i16 %155, 1
  store i16 %156, ptr %154, align 2, !tbaa !99
  %157 = load ptr, ptr %17, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiTabItem, ptr %157, i32 0, i32 8
  store i16 %155, ptr %158, align 4, !tbaa !100
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #11
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiTabBar, ptr %159, i32 0, i32 7
  %161 = load i32, ptr %160, align 8, !tbaa !101
  %162 = add nsw i32 %161, 1
  %163 = load ptr, ptr %10, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiContext, ptr %163, i32 0, i32 10
  %165 = load i32, ptr %164, align 8, !tbaa !102
  %166 = icmp slt i32 %162, %165
  %167 = zext i1 %166 to i8
  store i8 %167, ptr %20, align 1, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  %168 = load ptr, ptr %6, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiTabBar, ptr %168, i32 0, i32 1
  %170 = load i32, ptr %169, align 8, !tbaa !103
  %171 = and i32 %170, 2097152
  %172 = icmp ne i32 %171, 0
  %173 = zext i1 %172 to i8
  store i8 %173, ptr %21, align 1, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #11
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImGuiTabItem, ptr %174, i32 0, i32 2
  %176 = load i32, ptr %175, align 4, !tbaa !104
  %177 = add nsw i32 %176, 1
  %178 = load ptr, ptr %10, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.ImGuiContext, ptr %178, i32 0, i32 10
  %180 = load i32, ptr %179, align 8, !tbaa !102
  %181 = icmp slt i32 %177, %180
  %182 = zext i1 %181 to i8
  store i8 %182, ptr %22, align 1, !tbaa !91
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #11
  %183 = load i32, ptr %9, align 4, !tbaa !9
  %184 = and i32 %183, 2097152
  %185 = icmp ne i32 %184, 0
  %186 = zext i1 %185 to i8
  store i8 %186, ptr %23, align 1, !tbaa !91
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiContext, ptr %187, i32 0, i32 10
  %189 = load i32, ptr %188, align 8, !tbaa !102
  %190 = load ptr, ptr %17, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiTabItem, ptr %190, i32 0, i32 2
  store i32 %189, ptr %191, align 4, !tbaa !104
  %192 = load i32, ptr %9, align 4, !tbaa !9
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiTabItem, ptr %193, i32 0, i32 1
  store i32 %192, ptr %194, align 4, !tbaa !105
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiTabBar, ptr %195, i32 0, i32 30
  %197 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %196)
  %198 = load ptr, ptr %17, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiTabItem, ptr %198, i32 0, i32 7
  store i32 %197, ptr %199, align 4, !tbaa !106
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImGuiTabBar, ptr %200, i32 0, i32 30
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = load ptr, ptr %7, align 8, !tbaa !5
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = call i64 @strlen(ptr noundef %204) #13
  %206 = getelementptr inbounds i8, ptr %203, i64 %205
  %207 = getelementptr inbounds i8, ptr %206, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %201, ptr noundef %202, ptr noundef %207)
  %208 = load i8, ptr %22, align 1, !tbaa !91, !range !21, !noundef !22
  %209 = trunc i8 %208 to i1
  br i1 %209, label %210, label %238

210:                                              ; preds = %141
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.ImGuiTabBar, ptr %211, i32 0, i32 1
  %213 = load i32, ptr %212, align 8, !tbaa !103
  %214 = and i32 %213, 2
  %215 = icmp ne i32 %214, 0
  br i1 %215, label %216, label %238

216:                                              ; preds = %210
  %217 = load ptr, ptr %6, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.ImGuiTabBar, ptr %217, i32 0, i32 4
  %219 = load i32, ptr %218, align 4, !tbaa !107
  %220 = icmp eq i32 %219, 0
  br i1 %220, label %221, label %238

221:                                              ; preds = %216
  %222 = load i8, ptr %20, align 1, !tbaa !91, !range !21, !noundef !22
  %223 = trunc i8 %222 to i1
  br i1 %223, label %224, label %229

224:                                              ; preds = %221
  %225 = load ptr, ptr %6, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiTabBar, ptr %225, i32 0, i32 3
  %227 = load i32, ptr %226, align 8, !tbaa !108
  %228 = icmp eq i32 %227, 0
  br i1 %228, label %229, label %237

229:                                              ; preds = %224, %221
  %230 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %231 = trunc i8 %230 to i1
  br i1 %231, label %236, label %232

232:                                              ; preds = %229
  %233 = load i32, ptr %14, align 4, !tbaa !9
  %234 = load ptr, ptr %6, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.ImGuiTabBar, ptr %234, i32 0, i32 4
  store i32 %233, ptr %235, align 4, !tbaa !107
  br label %236

236:                                              ; preds = %232, %229
  br label %237

237:                                              ; preds = %236, %224
  br label %238

238:                                              ; preds = %237, %216, %210, %141
  %239 = load i32, ptr %9, align 4, !tbaa !9
  %240 = and i32 %239, 2
  %241 = icmp ne i32 %240, 0
  br i1 %241, label %242, label %256

242:                                              ; preds = %238
  %243 = load ptr, ptr %6, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.ImGuiTabBar, ptr %243, i32 0, i32 3
  %245 = load i32, ptr %244, align 8, !tbaa !108
  %246 = load i32, ptr %14, align 4, !tbaa !9
  %247 = icmp ne i32 %245, %246
  br i1 %247, label %248, label %256

248:                                              ; preds = %242
  %249 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %250 = trunc i8 %249 to i1
  br i1 %250, label %255, label %251

251:                                              ; preds = %248
  %252 = load i32, ptr %14, align 4, !tbaa !9
  %253 = load ptr, ptr %6, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.ImGuiTabBar, ptr %253, i32 0, i32 4
  store i32 %252, ptr %254, align 4, !tbaa !107
  br label %255

255:                                              ; preds = %251, %248
  br label %256

256:                                              ; preds = %255, %242, %238
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #11
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiTabBar, ptr %257, i32 0, i32 5
  %259 = load i32, ptr %258, align 8, !tbaa !109
  %260 = load i32, ptr %14, align 4, !tbaa !9
  %261 = icmp eq i32 %259, %260
  %262 = zext i1 %261 to i8
  store i8 %262, ptr %24, align 1, !tbaa !91
  %263 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %264 = trunc i8 %263 to i1
  br i1 %264, label %265, label %268

265:                                              ; preds = %256
  %266 = load ptr, ptr %6, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.ImGuiTabBar, ptr %266, i32 0, i32 23
  store i8 1, ptr %267, align 4, !tbaa !110
  br label %268

268:                                              ; preds = %265, %256
  %269 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %270 = trunc i8 %269 to i1
  br i1 %270, label %293, label %271

271:                                              ; preds = %268
  %272 = load ptr, ptr %6, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiTabBar, ptr %272, i32 0, i32 3
  %274 = load i32, ptr %273, align 8, !tbaa !108
  %275 = icmp eq i32 %274, 0
  br i1 %275, label %276, label %293

276:                                              ; preds = %271
  %277 = load i8, ptr %20, align 1, !tbaa !91, !range !21, !noundef !22
  %278 = trunc i8 %277 to i1
  br i1 %278, label %279, label %293

279:                                              ; preds = %276
  %280 = load ptr, ptr %6, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.ImGuiTabBar, ptr %280, i32 0, i32 0
  %282 = getelementptr inbounds %struct.ImVector.38, ptr %281, i32 0, i32 0
  %283 = load i32, ptr %282, align 8, !tbaa !111
  %284 = icmp eq i32 %283, 1
  br i1 %284, label %285, label %292

285:                                              ; preds = %279
  %286 = load ptr, ptr %6, align 8, !tbaa !5
  %287 = getelementptr inbounds %struct.ImGuiTabBar, ptr %286, i32 0, i32 1
  %288 = load i32, ptr %287, align 8, !tbaa !103
  %289 = and i32 %288, 2
  %290 = icmp ne i32 %289, 0
  br i1 %290, label %292, label %291

291:                                              ; preds = %285
  store i8 1, ptr %24, align 1, !tbaa !91
  br label %292

292:                                              ; preds = %291, %285, %279
  br label %293

293:                                              ; preds = %292, %276, %271, %268
  %294 = load i8, ptr %22, align 1, !tbaa !91, !range !21, !noundef !22
  %295 = trunc i8 %294 to i1
  br i1 %295, label %296, label %311

296:                                              ; preds = %293
  %297 = load i8, ptr %20, align 1, !tbaa !91, !range !21, !noundef !22
  %298 = trunc i8 %297 to i1
  br i1 %298, label %299, label %302

299:                                              ; preds = %296
  %300 = load i8, ptr %18, align 1, !tbaa !91, !range !21, !noundef !22
  %301 = trunc i8 %300 to i1
  br i1 %301, label %302, label %311

302:                                              ; preds = %299, %296
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25)
  %303 = load i32, ptr %14, align 4, !tbaa !9
  %304 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %303, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #11
  %305 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %306 = trunc i8 %305 to i1
  br i1 %306, label %307, label %308

307:                                              ; preds = %302
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %712

308:                                              ; preds = %302
  %309 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %310 = trunc i8 %309 to i1
  store i1 %310, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %712

311:                                              ; preds = %299, %293
  %312 = load ptr, ptr %6, align 8, !tbaa !5
  %313 = getelementptr inbounds %struct.ImGuiTabBar, ptr %312, i32 0, i32 3
  %314 = load i32, ptr %313, align 8, !tbaa !108
  %315 = load i32, ptr %14, align 4, !tbaa !9
  %316 = icmp eq i32 %314, %315
  br i1 %316, label %317, label %323

317:                                              ; preds = %311
  %318 = load ptr, ptr %10, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiContext, ptr %318, i32 0, i32 10
  %320 = load i32, ptr %319, align 8, !tbaa !102
  %321 = load ptr, ptr %17, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImGuiTabItem, ptr %321, i32 0, i32 3
  store i32 %320, ptr %322, align 4, !tbaa !112
  br label %323

323:                                              ; preds = %317, %311
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiWindow, ptr %324, i32 0, i32 54
  %326 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %325, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %326, i64 8, i1 false), !tbaa.struct !113
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #11
  %327 = load ptr, ptr %17, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.ImGuiTabItem, ptr %327, i32 0, i32 1
  %329 = load i32, ptr %328, align 4, !tbaa !105
  %330 = and i32 %329, 192
  %331 = icmp eq i32 %330, 0
  %332 = zext i1 %331 to i8
  store i8 %332, ptr %27, align 1, !tbaa !91
  %333 = load ptr, ptr %17, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.ImGuiTabItem, ptr %333, i32 0, i32 5
  %335 = load float, ptr %334, align 4, !tbaa !95
  %336 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %335, ptr %336, align 4, !tbaa !94
  %337 = load i8, ptr %27, align 1, !tbaa !91, !range !21, !noundef !22
  %338 = trunc i8 %337 to i1
  br i1 %338, label %339, label %356

339:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %340 = load ptr, ptr %6, align 8, !tbaa !5
  %341 = getelementptr inbounds %struct.ImGuiTabBar, ptr %340, i32 0, i32 8
  %342 = getelementptr inbounds %struct.ImRect, ptr %341, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %343 = load ptr, ptr %17, align 8, !tbaa !5
  %344 = getelementptr inbounds %struct.ImGuiTabItem, ptr %343, i32 0, i32 4
  %345 = load float, ptr %344, align 4, !tbaa !115
  %346 = load ptr, ptr %6, align 8, !tbaa !5
  %347 = getelementptr inbounds %struct.ImGuiTabBar, ptr %346, i32 0, i32 13
  %348 = load float, ptr %347, align 4, !tbaa !116
  %349 = fsub float %345, %348
  %350 = fptosi float %349 to i32
  %351 = sitofp i32 %350 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %351, float noundef 0.000000e+00)
  %352 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %342, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %352, ptr %28, align 4
  %353 = load ptr, ptr %11, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.ImGuiWindow, ptr %353, i32 0, i32 54
  %355 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %354, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %355, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !113
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  br label %367

356:                                              ; preds = %323
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %357 = load ptr, ptr %6, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiTabBar, ptr %357, i32 0, i32 8
  %359 = getelementptr inbounds %struct.ImRect, ptr %358, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  %360 = load ptr, ptr %17, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiTabItem, ptr %360, i32 0, i32 4
  %362 = load float, ptr %361, align 4, !tbaa !115
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %31, float noundef %362, float noundef 0.000000e+00)
  %363 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %359, ptr noundef nonnull align 4 dereferenceable(8) %31)
  store <2 x float> %363, ptr %30, align 4
  %364 = load ptr, ptr %11, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiWindow, ptr %364, i32 0, i32 54
  %366 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %365, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %366, ptr align 4 %30, i64 8, i1 false), !tbaa.struct !113
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %367

367:                                              ; preds = %356, %339
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  %368 = load ptr, ptr %11, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiWindow, ptr %368, i32 0, i32 54
  %370 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %369, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %370, i64 8, i1 false), !tbaa.struct !113
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %371 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %371, ptr %34, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %33, ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %34)
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %35) #11
  %372 = load i8, ptr %27, align 1, !tbaa !91, !range !21, !noundef !22
  %373 = trunc i8 %372 to i1
  br i1 %373, label %374, label %392

374:                                              ; preds = %367
  %375 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %376 = getelementptr inbounds %struct.ImVec2, ptr %375, i32 0, i32 0
  %377 = load float, ptr %376, align 4, !tbaa !117
  %378 = load ptr, ptr %6, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.ImGuiTabBar, ptr %378, i32 0, i32 17
  %380 = load float, ptr %379, align 4, !tbaa !118
  %381 = fcmp olt float %377, %380
  br i1 %381, label %390, label %382

382:                                              ; preds = %374
  %383 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %384 = getelementptr inbounds %struct.ImVec2, ptr %383, i32 0, i32 0
  %385 = load float, ptr %384, align 4, !tbaa !119
  %386 = load ptr, ptr %6, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.ImGuiTabBar, ptr %386, i32 0, i32 18
  %388 = load float, ptr %387, align 8, !tbaa !120
  %389 = fcmp ogt float %385, %388
  br label %390

390:                                              ; preds = %382, %374
  %391 = phi i1 [ true, %374 ], [ %389, %382 ]
  br label %392

392:                                              ; preds = %390, %367
  %393 = phi i1 [ false, %367 ], [ %391, %390 ]
  %394 = zext i1 %393 to i8
  store i8 %394, ptr %35, align 1, !tbaa !91
  %395 = load i8, ptr %35, align 1, !tbaa !91, !range !21, !noundef !22
  %396 = trunc i8 %395 to i1
  br i1 %396, label %397, label %415

397:                                              ; preds = %392
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %398 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %399 = getelementptr inbounds %struct.ImVec2, ptr %398, i32 0, i32 0
  %400 = load float, ptr %399, align 4, !tbaa !117
  %401 = load ptr, ptr %6, align 8, !tbaa !5
  %402 = getelementptr inbounds %struct.ImGuiTabBar, ptr %401, i32 0, i32 17
  %403 = load float, ptr %402, align 4, !tbaa !118
  %404 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %400, float noundef %403)
  %405 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %406 = getelementptr inbounds %struct.ImVec2, ptr %405, i32 0, i32 1
  %407 = load float, ptr %406, align 4, !tbaa !121
  %408 = fsub float %407, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %404, float noundef %408)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiTabBar, ptr %409, i32 0, i32 18
  %411 = load float, ptr %410, align 8, !tbaa !120
  %412 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %413 = getelementptr inbounds %struct.ImVec2, ptr %412, i32 0, i32 1
  %414 = load float, ptr %413, align 4, !tbaa !122
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %411, float noundef %414)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %36, ptr noundef nonnull align 4 dereferenceable(8) %37, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #11
  br label %415

415:                                              ; preds = %397, %392
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #11
  %416 = load ptr, ptr %11, align 8, !tbaa !5
  %417 = getelementptr inbounds %struct.ImGuiWindow, ptr %416, i32 0, i32 54
  %418 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %417, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 8 %418, i64 8, i1 false), !tbaa.struct !113
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %419 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %33)
  store <2 x float> %419, ptr %39, align 4
  %420 = load ptr, ptr %13, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.ImGuiStyle, ptr %420, i32 0, i32 12
  %422 = getelementptr inbounds %struct.ImVec2, ptr %421, i32 0, i32 1
  %423 = load float, ptr %422, align 4, !tbaa !123
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %39, float noundef %423)
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  %424 = load ptr, ptr %11, align 8, !tbaa !5
  %425 = getelementptr inbounds %struct.ImGuiWindow, ptr %424, i32 0, i32 54
  %426 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %425, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %426, ptr align 4 %38, i64 8, i1 false), !tbaa.struct !113
  %427 = load i32, ptr %14, align 4, !tbaa !9
  %428 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %427, ptr noundef null, i32 noundef 0)
  br i1 %428, label %439, label %429

429:                                              ; preds = %415
  %430 = load i8, ptr %35, align 1, !tbaa !91, !range !21, !noundef !22
  %431 = trunc i8 %430 to i1
  br i1 %431, label %432, label %433

432:                                              ; preds = %429
  call void @_ZN5ImGui11PopClipRectEv()
  br label %433

433:                                              ; preds = %432, %429
  %434 = load ptr, ptr %11, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.ImGuiWindow, ptr %434, i32 0, i32 54
  %436 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %435, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %436, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !113
  %437 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %438 = trunc i8 %437 to i1
  store i1 %438, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %711

439:                                              ; preds = %415
  call void @llvm.lifetime.start.p0(i64 4, ptr %40) #11
  %440 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %441 = trunc i8 %440 to i1
  %442 = zext i1 %441 to i64
  %443 = select i1 %441, i32 32, i32 16
  %444 = or i32 %443, 4096
  store i32 %444, ptr %40, align 4, !tbaa !9
  %445 = load ptr, ptr %10, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImGuiContext, ptr %445, i32 0, i32 139
  %447 = load i8, ptr %446, align 4, !tbaa !124, !range !21, !noundef !22
  %448 = trunc i8 %447 to i1
  br i1 %448, label %449, label %452

449:                                              ; preds = %439
  %450 = load i32, ptr %40, align 4, !tbaa !9
  %451 = or i32 %450, 512
  store i32 %451, ptr %40, align 4, !tbaa !9
  br label %452

452:                                              ; preds = %449, %439
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  %453 = load i32, ptr %14, align 4, !tbaa !9
  %454 = load i32, ptr %40, align 4, !tbaa !9
  %455 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %453, ptr noundef %41, ptr noundef %42, i32 noundef %454)
  %456 = zext i1 %455 to i8
  store i8 %456, ptr %43, align 1, !tbaa !91
  %457 = load i8, ptr %43, align 1, !tbaa !91, !range !21, !noundef !22
  %458 = trunc i8 %457 to i1
  br i1 %458, label %459, label %466

459:                                              ; preds = %452
  %460 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %461 = trunc i8 %460 to i1
  br i1 %461, label %466, label %462

462:                                              ; preds = %459
  %463 = load i32, ptr %14, align 4, !tbaa !9
  %464 = load ptr, ptr %6, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.ImGuiTabBar, ptr %464, i32 0, i32 4
  store i32 %463, ptr %465, align 4, !tbaa !107
  br label %466

466:                                              ; preds = %462, %459, %452
  %467 = load ptr, ptr %10, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.ImGuiContext, ptr %467, i32 0, i32 44
  %469 = load i32, ptr %468, align 4, !tbaa !125
  %470 = load i32, ptr %14, align 4, !tbaa !9
  %471 = icmp ne i32 %469, %470
  br i1 %471, label %472, label %473

472:                                              ; preds = %466
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %473

473:                                              ; preds = %472, %466
  %474 = load i8, ptr %42, align 1, !tbaa !91, !range !21, !noundef !22
  %475 = trunc i8 %474 to i1
  br i1 %475, label %476, label %543

476:                                              ; preds = %473
  %477 = load i8, ptr %22, align 1, !tbaa !91, !range !21, !noundef !22
  %478 = trunc i8 %477 to i1
  br i1 %478, label %543, label %479

479:                                              ; preds = %476
  %480 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %480, label %481, label %543

481:                                              ; preds = %479
  %482 = load ptr, ptr %10, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.ImGuiContext, ptr %482, i32 0, i32 139
  %484 = load i8, ptr %483, align 4, !tbaa !124, !range !21, !noundef !22
  %485 = trunc i8 %484 to i1
  br i1 %485, label %542, label %486

486:                                              ; preds = %481
  %487 = load ptr, ptr %6, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.ImGuiTabBar, ptr %487, i32 0, i32 1
  %489 = load i32, ptr %488, align 8, !tbaa !103
  %490 = and i32 %489, 1
  %491 = icmp ne i32 %490, 0
  br i1 %491, label %492, label %542

492:                                              ; preds = %486
  %493 = load ptr, ptr %10, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.ImGuiContext, ptr %493, i32 0, i32 3
  %495 = getelementptr inbounds %struct.ImGuiIO, ptr %494, i32 0, i32 59
  %496 = getelementptr inbounds %struct.ImVec2, ptr %495, i32 0, i32 0
  %497 = load float, ptr %496, align 4, !tbaa !126
  %498 = fcmp olt float %497, 0.000000e+00
  br i1 %498, label %499, label %516

499:                                              ; preds = %492
  %500 = load ptr, ptr %10, align 8, !tbaa !5
  %501 = getelementptr inbounds %struct.ImGuiContext, ptr %500, i32 0, i32 3
  %502 = getelementptr inbounds %struct.ImGuiIO, ptr %501, i32 0, i32 36
  %503 = getelementptr inbounds %struct.ImVec2, ptr %502, i32 0, i32 0
  %504 = load float, ptr %503, align 8, !tbaa !127
  %505 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %506 = getelementptr inbounds %struct.ImVec2, ptr %505, i32 0, i32 0
  %507 = load float, ptr %506, align 4, !tbaa !117
  %508 = fcmp olt float %504, %507
  br i1 %508, label %509, label %516

509:                                              ; preds = %499
  %510 = load ptr, ptr %6, align 8, !tbaa !5
  %511 = load ptr, ptr %17, align 8, !tbaa !5
  %512 = load ptr, ptr %10, align 8, !tbaa !5
  %513 = getelementptr inbounds %struct.ImGuiContext, ptr %512, i32 0, i32 3
  %514 = getelementptr inbounds %struct.ImGuiIO, ptr %513, i32 0, i32 36
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %514, i64 8, i1 false), !tbaa.struct !113
  %515 = load <2 x float>, ptr %44, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(ptr noundef %510, ptr noundef %511, <2 x float> %515)
  br label %541

516:                                              ; preds = %499, %492
  %517 = load ptr, ptr %10, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.ImGuiContext, ptr %517, i32 0, i32 3
  %519 = getelementptr inbounds %struct.ImGuiIO, ptr %518, i32 0, i32 59
  %520 = getelementptr inbounds %struct.ImVec2, ptr %519, i32 0, i32 0
  %521 = load float, ptr %520, align 4, !tbaa !126
  %522 = fcmp ogt float %521, 0.000000e+00
  br i1 %522, label %523, label %540

523:                                              ; preds = %516
  %524 = load ptr, ptr %10, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.ImGuiContext, ptr %524, i32 0, i32 3
  %526 = getelementptr inbounds %struct.ImGuiIO, ptr %525, i32 0, i32 36
  %527 = getelementptr inbounds %struct.ImVec2, ptr %526, i32 0, i32 0
  %528 = load float, ptr %527, align 8, !tbaa !127
  %529 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %530 = getelementptr inbounds %struct.ImVec2, ptr %529, i32 0, i32 0
  %531 = load float, ptr %530, align 4, !tbaa !119
  %532 = fcmp ogt float %528, %531
  br i1 %532, label %533, label %540

533:                                              ; preds = %523
  %534 = load ptr, ptr %6, align 8, !tbaa !5
  %535 = load ptr, ptr %17, align 8, !tbaa !5
  %536 = load ptr, ptr %10, align 8, !tbaa !5
  %537 = getelementptr inbounds %struct.ImGuiContext, ptr %536, i32 0, i32 3
  %538 = getelementptr inbounds %struct.ImGuiIO, ptr %537, i32 0, i32 36
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %538, i64 8, i1 false), !tbaa.struct !113
  %539 = load <2 x float>, ptr %45, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(ptr noundef %534, ptr noundef %535, <2 x float> %539)
  br label %540

540:                                              ; preds = %533, %523, %516
  br label %541

541:                                              ; preds = %540, %509
  br label %542

542:                                              ; preds = %541, %486, %481
  br label %543

543:                                              ; preds = %542, %479, %476, %473
  call void @llvm.lifetime.start.p0(i64 8, ptr %46) #11
  %544 = load ptr, ptr %11, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.ImGuiWindow, ptr %544, i32 0, i32 72
  %546 = load ptr, ptr %545, align 8, !tbaa !128
  store ptr %546, ptr %46, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #11
  %547 = load i8, ptr %42, align 1, !tbaa !91, !range !21, !noundef !22
  %548 = trunc i8 %547 to i1
  br i1 %548, label %552, label %549

549:                                              ; preds = %543
  %550 = load i8, ptr %41, align 1, !tbaa !91, !range !21, !noundef !22
  %551 = trunc i8 %550 to i1
  br i1 %551, label %552, label %553

552:                                              ; preds = %549, %543
  br label %568

553:                                              ; preds = %549
  %554 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %555 = trunc i8 %554 to i1
  br i1 %555, label %556, label %561

556:                                              ; preds = %553
  %557 = load i8, ptr %21, align 1, !tbaa !91, !range !21, !noundef !22
  %558 = trunc i8 %557 to i1
  %559 = zext i1 %558 to i64
  %560 = select i1 %558, i32 35, i32 37
  br label %566

561:                                              ; preds = %553
  %562 = load i8, ptr %21, align 1, !tbaa !91, !range !21, !noundef !22
  %563 = trunc i8 %562 to i1
  %564 = zext i1 %563 to i64
  %565 = select i1 %563, i32 33, i32 36
  br label %566

566:                                              ; preds = %561, %556
  %567 = phi i32 [ %560, %556 ], [ %565, %561 ]
  br label %568

568:                                              ; preds = %566, %552
  %569 = phi i32 [ 34, %552 ], [ %567, %566 ]
  %570 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %569, float noundef 1.000000e+00)
  store i32 %570, ptr %47, align 4, !tbaa !9
  %571 = load ptr, ptr %46, align 8, !tbaa !5
  %572 = load i32, ptr %9, align 4, !tbaa !9
  %573 = load i32, ptr %47, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %571, ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %572, i32 noundef %573)
  %574 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %574, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #11
  %575 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  %576 = zext i1 %575 to i8
  store i8 %576, ptr %48, align 1, !tbaa !91
  %577 = load i8, ptr %48, align 1, !tbaa !91, !range !21, !noundef !22
  %578 = trunc i8 %577 to i1
  br i1 %578, label %579, label %591

579:                                              ; preds = %568
  %580 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %580, label %583, label %581

581:                                              ; preds = %579
  %582 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %582, label %583, label %591

583:                                              ; preds = %581, %579
  %584 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %585 = trunc i8 %584 to i1
  br i1 %585, label %590, label %586

586:                                              ; preds = %583
  %587 = load i32, ptr %14, align 4, !tbaa !9
  %588 = load ptr, ptr %6, align 8, !tbaa !5
  %589 = getelementptr inbounds %struct.ImGuiTabBar, ptr %588, i32 0, i32 4
  store i32 %587, ptr %589, align 4, !tbaa !107
  br label %590

590:                                              ; preds = %586, %583
  br label %591

591:                                              ; preds = %590, %581, %568
  %592 = load ptr, ptr %6, align 8, !tbaa !5
  %593 = getelementptr inbounds %struct.ImGuiTabBar, ptr %592, i32 0, i32 1
  %594 = load i32, ptr %593, align 8, !tbaa !103
  %595 = and i32 %594, 8
  %596 = icmp ne i32 %595, 0
  br i1 %596, label %597, label %600

597:                                              ; preds = %591
  %598 = load i32, ptr %9, align 4, !tbaa !9
  %599 = or i32 %598, 4
  store i32 %599, ptr %9, align 4, !tbaa !9
  br label %600

600:                                              ; preds = %597, %591
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  %601 = load ptr, ptr %8, align 8, !tbaa !5
  %602 = icmp ne ptr %601, null
  br i1 %602, label %603, label %606

603:                                              ; preds = %600
  %604 = load i32, ptr %14, align 4, !tbaa !9
  %605 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef @.str.147, ptr noundef null, i32 noundef %604)
  br label %607

606:                                              ; preds = %600
  br label %607

607:                                              ; preds = %606, %603
  %608 = phi i32 [ %605, %603 ], [ 0, %606 ]
  store i32 %608, ptr %49, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %50) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #11
  %609 = load ptr, ptr %46, align 8, !tbaa !5
  %610 = load i32, ptr %9, align 4, !tbaa !9
  %611 = load ptr, ptr %6, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.ImGuiTabBar, ptr %611, i32 0, i32 28
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 8 %612, i64 8, i1 false), !tbaa.struct !113
  %613 = load ptr, ptr %7, align 8, !tbaa !5
  %614 = load i32, ptr %14, align 4, !tbaa !9
  %615 = load i32, ptr %49, align 4, !tbaa !9
  %616 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %617 = trunc i8 %616 to i1
  %618 = load <2 x float>, ptr %52, align 4
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %609, ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %610, <2 x float> %618, ptr noundef %613, i32 noundef %614, i32 noundef %615, i1 noundef zeroext %617, ptr noundef %50, ptr noundef %51)
  %619 = load i8, ptr %50, align 1, !tbaa !91, !range !21, !noundef !22
  %620 = trunc i8 %619 to i1
  br i1 %620, label %621, label %628

621:                                              ; preds = %607
  %622 = load ptr, ptr %8, align 8, !tbaa !5
  %623 = icmp ne ptr %622, null
  br i1 %623, label %624, label %628

624:                                              ; preds = %621
  %625 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %625, align 1, !tbaa !91
  %626 = load ptr, ptr %6, align 8, !tbaa !5
  %627 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %626, ptr noundef %627)
  br label %628

628:                                              ; preds = %624, %621, %607
  %629 = load i8, ptr %35, align 1, !tbaa !91, !range !21, !noundef !22
  %630 = trunc i8 %629 to i1
  br i1 %630, label %631, label %632

631:                                              ; preds = %628
  call void @_ZN5ImGui11PopClipRectEv()
  br label %632

632:                                              ; preds = %631, %628
  %633 = load ptr, ptr %11, align 8, !tbaa !5
  %634 = getelementptr inbounds %struct.ImGuiWindow, ptr %633, i32 0, i32 54
  %635 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %634, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %635, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !113
  %636 = load i8, ptr %51, align 1, !tbaa !91, !range !21, !noundef !22
  %637 = trunc i8 %636 to i1
  br i1 %637, label %638, label %679

638:                                              ; preds = %632
  %639 = load ptr, ptr %10, align 8, !tbaa !5
  %640 = getelementptr inbounds %struct.ImGuiContext, ptr %639, i32 0, i32 36
  %641 = load i32, ptr %640, align 8, !tbaa !129
  %642 = load i32, ptr %14, align 4, !tbaa !9
  %643 = icmp eq i32 %641, %642
  br i1 %643, label %644, label %679

644:                                              ; preds = %638
  %645 = load i8, ptr %42, align 1, !tbaa !91, !range !21, !noundef !22
  %646 = trunc i8 %645 to i1
  br i1 %646, label %679, label %647

647:                                              ; preds = %644
  %648 = load ptr, ptr %10, align 8, !tbaa !5
  %649 = getelementptr inbounds %struct.ImGuiContext, ptr %648, i32 0, i32 43
  %650 = load float, ptr %649, align 8, !tbaa !130
  %651 = load ptr, ptr %10, align 8, !tbaa !5
  %652 = getelementptr inbounds %struct.ImGuiContext, ptr %651, i32 0, i32 193
  %653 = load float, ptr %652, align 8, !tbaa !131
  %654 = fcmp ogt float %650, %653
  br i1 %654, label %655, label %679

655:                                              ; preds = %647
  %656 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %656, label %657, label %679

657:                                              ; preds = %655
  %658 = load ptr, ptr %6, align 8, !tbaa !5
  %659 = getelementptr inbounds %struct.ImGuiTabBar, ptr %658, i32 0, i32 1
  %660 = load i32, ptr %659, align 8, !tbaa !103
  %661 = and i32 %660, 32
  %662 = icmp ne i32 %661, 0
  br i1 %662, label %678, label %663

663:                                              ; preds = %657
  %664 = load ptr, ptr %17, align 8, !tbaa !5
  %665 = getelementptr inbounds %struct.ImGuiTabItem, ptr %664, i32 0, i32 1
  %666 = load i32, ptr %665, align 4, !tbaa !105
  %667 = and i32 %666, 16
  %668 = icmp ne i32 %667, 0
  br i1 %668, label %678, label %669

669:                                              ; preds = %663
  %670 = load ptr, ptr %7, align 8, !tbaa !5
  %671 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %670, ptr noundef null)
  %672 = load ptr, ptr %7, align 8, !tbaa !5
  %673 = ptrtoint ptr %671 to i64
  %674 = ptrtoint ptr %672 to i64
  %675 = sub i64 %673, %674
  %676 = trunc i64 %675 to i32
  %677 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.179, i32 noundef %676, ptr noundef %677)
  br label %678

678:                                              ; preds = %669, %663, %657
  br label %679

679:                                              ; preds = %678, %655, %647, %644, %638, %632
  %680 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %681 = trunc i8 %680 to i1
  br i1 %681, label %682, label %696

682:                                              ; preds = %679
  %683 = load ptr, ptr %6, align 8, !tbaa !5
  %684 = getelementptr inbounds %struct.ImGuiTabBar, ptr %683, i32 0, i32 3
  %685 = load i32, ptr %684, align 8, !tbaa !108
  %686 = load ptr, ptr %17, align 8, !tbaa !5
  %687 = getelementptr inbounds %struct.ImGuiTabItem, ptr %686, i32 0, i32 0
  %688 = load i32, ptr %687, align 4, !tbaa !92
  %689 = icmp eq i32 %685, %688
  br i1 %689, label %690, label %693

690:                                              ; preds = %682
  %691 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %692 = trunc i8 %691 to i1
  br label %693

693:                                              ; preds = %690, %682
  %694 = phi i1 [ false, %682 ], [ %692, %690 ]
  %695 = xor i1 %694, true
  br label %696

696:                                              ; preds = %693, %679
  %697 = phi i1 [ true, %679 ], [ %695, %693 ]
  br i1 %697, label %698, label %699

698:                                              ; preds = %696
  br label %701

699:                                              ; preds = %696
  call void @__assert_fail(ptr noundef @.str.180, ptr noundef @.str.2, i32 noundef 8155, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

700:                                              ; No predecessors!
  br label %701

701:                                              ; preds = %700, %698
  %702 = load i8, ptr %23, align 1, !tbaa !91, !range !21, !noundef !22
  %703 = trunc i8 %702 to i1
  br i1 %703, label %704, label %707

704:                                              ; preds = %701
  %705 = load i8, ptr %43, align 1, !tbaa !91, !range !21, !noundef !22
  %706 = trunc i8 %705 to i1
  store i1 %706, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %710

707:                                              ; preds = %701
  %708 = load i8, ptr %24, align 1, !tbaa !91, !range !21, !noundef !22
  %709 = trunc i8 %708 to i1
  store i1 %709, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %710

710:                                              ; preds = %707, %704
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %40) #11
  br label %711

711:                                              ; preds = %710, %433
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %35) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #11
  br label %712

712:                                              ; preds = %711, %308, %307
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #11
  br label %713

713:                                              ; preds = %712, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %714

714:                                              ; preds = %713, %68
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  %715 = load i1, ptr %5, align 1
  ret i1 %715
}

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

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

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

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

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

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

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

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

; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "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 = { 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 #11 = { nounwind }
attributes #12 = { noreturn nounwind }
attributes #13 = { 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 107}
!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, !10, i64 100, !17, i64 104, !7, i64 106, !18, i64 107, !18, i64 108, !18, i64 109, !17, i64 110, !17, i64 112, !16, i64 116, !15, i64 120, !15, i64 128, !19, i64 136}
!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 = !{!24, !6, i64 7200}
!24 = !{!"_ZTS12ImGuiContext", !18, i64 0, !18, i64 1, !25, i64 8, !27, i64 5488, !6, i64 6536, !16, i64 6544, !16, i64 6548, !28, i64 6552, !30, i64 7064, !10, i64 7072, !10, i64 7076, !10, i64 7080, !18, i64 7084, !18, i64 7085, !18, i64 7086, !18, i64 7087, !18, i64 7088, !6, i64 7096, !31, i64 7104, !31, i64 7120, !31, i64 7136, !32, i64 7152, !33, i64 7168, !10, i64 7184, !15, i64 7188, !6, i64 7200, !6, i64 7208, !6, i64 7216, !6, i64 7224, !6, i64 7232, !15, i64 7240, !16, i64 7248, !10, i64 7252, !10, i64 7256, !10, i64 7260, !18, i64 7264, !18, i64 7265, !18, i64 7266, !18, i64 7267, !16, i64 7268, !16, i64 7272, !10, i64 7276, !10, i64 7280, !16, i64 7284, !18, i64 7288, !18, i64 7289, !18, i64 7290, !18, i64 7291, !18, i64 7292, !18, i64 7293, !18, i64 7294, !10, i64 7296, !10, i64 7300, !35, i64 7304, !15, i64 7312, !6, i64 7320, !36, i64 7328, !10, i64 7332, !10, i64 7336, !18, i64 7340, !18, i64 7341, !6, i64 7344, !10, i64 7352, !16, i64 7356, !10, i64 7360, !37, i64 7364, !38, i64 7384, !39, i64 7448, !40, i64 7560, !41, i64 7576, !42, i64 7592, !43, i64 7608, !44, i64 7624, !45, i64 7640, !46, i64 7656, !46, i64 7672, !10, i64 7688, !47, i64 7696, !6, i64 7712, !10, i64 7720, !10, i64 7724, !10, i64 7728, !10, i64 7732, !10, i64 7736, !10, i64 7740, !10, i64 7744, !10, i64 7748, !10, i64 7752, !10, i64 7756, !10, i64 7760, !10, i64 7764, !36, i64 7768, !48, i64 7772, !18, i64 7776, !18, i64 7777, !18, i64 7778, !18, i64 7779, !18, i64 7780, !18, i64 7781, !18, i64 7782, !10, i64 7784, !14, i64 7788, !18, i64 7804, !18, i64 7805, !18, i64 7806, !10, i64 7808, !10, i64 7812, !10, i64 7816, !10, i64 7820, !10, i64 7824, !10, i64 7828, !14, i64 7832, !14, i64 7848, !10, i64 7864, !10, i64 7868, !10, i64 7872, !49, i64 7880, !49, i64 7928, !49, i64 7976, !49, i64 8024, !6, i64 8072, !6, i64 8080, !6, i64 8088, !16, i64 8096, !16, i64 8100, !18, i64 8104, !16, i64 8108, !10, i64 8112, !18, i64 8116, !18, i64 8117, !18, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !50, i64 8136, !14, i64 8200, !10, i64 8216, !10, i64 8220, !16, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !51, i64 8248, !7, i64 8264, !10, i64 8280, !52, i64 8288, !6, i64 8304, !10, i64 8312, !53, i64 8320, !54, i64 8336, !56, i64 8376, !57, i64 8392, !6, i64 8408, !58, i64 8416, !60, i64 8456, !61, i64 8472, !15, i64 8488, !62, i64 8496, !65, i64 12216, !10, i64 12328, !10, i64 12332, !16, i64 12336, !16, i64 12340, !10, i64 12344, !29, i64 12348, !67, i64 12364, !16, i64 12412, !18, i64 12416, !18, i64 12417, !16, i64 12420, !16, i64 12424, !16, i64 12428, !16, i64 12432, !17, i64 12436, !17, i64 12438, !16, i64 12440, !20, i64 12448, !43, i64 12464, !15, i64 12480, !15, i64 12488, !7, i64 12496, !18, i64 12497, !16, i64 12500, !19, i64 12504, !68, i64 12520, !69, i64 12536, !70, i64 12552, !71, i64 12568, !10, i64 12584, !18, i64 12588, !72, i64 12592, !6, i64 12600, !19, i64 12608, !6, i64 12624, !6, i64 12632, !16, i64 12640, !18, i64 12644, !10, i64 12648, !10, i64 12652, !10, i64 12656, !18, i64 12660, !10, i64 12664, !73, i64 12668, !74, i64 12688, !7, i64 12720, !10, i64 13200, !10, i64 13204, !16, i64 13208, !10, i64 13212, !10, i64 13216, !10, i64 13220, !7, i64 13224}
!25 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !18, i64 172, !6, i64 176, !15, i64 184, !18, i64 192, !18, i64 193, !18, i64 194, !18, i64 195, !18, i64 196, !18, i64 197, !16, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !18, i64 312, !18, i64 313, !18, i64 314, !18, i64 315, !7, i64 316, !7, i64 828, !18, i64 908, !18, i64 909, !18, i64 910, !18, i64 911, !18, i64 912, !18, i64 913, !18, i64 914, !16, i64 916, !10, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !15, i64 940, !18, i64 948, !10, i64 952, !10, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1068, !7, i64 1078, !7, i64 1083, !7, i64 1088, !7, i64 1096, !7, i64 1116, !7, i64 1136, !7, i64 1176, !7, i64 1196, !7, i64 3244, !7, i64 5292, !7, i64 5372, !16, i64 5452, !18, i64 5456, !17, i64 5458, !26, i64 5464}
!26 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !10, 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, !10, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !18, i64 188, !18, i64 189, !18, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!28 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !29, i64 28, !10, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !6, i64 504}
!29 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"long long", !7, i64 0}
!36 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!37 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !18, i64 16}
!38 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !14, i64 12, !14, i64 28, !14, i64 44}
!39 = !{!"_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, !18, i64 56, !14, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!40 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!49 = !{!"_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}
!50 = !{!"_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}
!51 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS6ImPoolI10ImGuiTableE", !55, i64 0, !33, i64 16, !10, i64 32, !10, i64 36}
!55 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !59, i64 0, !33, i64 16, !10, i64 32, !10, i64 36}
!59 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !20, i64 32, !20, i64 48, !18, i64 64, !10, i64 68, !16, i64 72, !63, i64 76, !16, i64 3704, !18, i64 3708, !18, i64 3709, !18, i64 3710, !10, i64 3712}
!63 = !{!"_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, !64, i64 32}
!64 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!65 = !{!"_ZTS6ImFont", !56, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !66, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !18, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !10, i64 104, !7, i64 108}
!66 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS21ImGuiComboPreviewData", !14, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!70 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!71 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!72 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!73 = !{!"_ZTS18ImGuiMetricsConfig", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !18, i64 4, !18, i64 5, !10, i64 8, !10, i64 12}
!74 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !75, i64 16}
!75 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!77, !18, i64 147}
!77 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !16, i64 72, !16, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !18, i64 140, !18, i64 141, !18, i64 142, !18, i64 143, !18, i64 144, !18, i64 145, !18, i64 146, !18, i64 147, !18, i64 148, !18, i64 149, !18, i64 150, !18, i64 151, !18, i64 152, !7, i64 153, !17, i64 154, !17, i64 156, !17, i64 158, !17, i64 160, !10, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !18, i64 171, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !10, i64 180, !10, i64 181, !10, i64 182, !15, i64 184, !15, i64 192, !43, i64 200, !78, i64 216, !14, i64 448, !14, i64 464, !14, i64 480, !14, i64 496, !14, i64 512, !14, i64 528, !14, i64 544, !81, i64 560, !81, i64 564, !10, i64 568, !16, i64 572, !16, i64 576, !33, i64 584, !82, i64 600, !16, i64 616, !10, i64 620, !6, i64 624, !83, i64 632, !6, i64 832, !6, i64 840, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !10, i64 928, !10, i64 932, !18, i64 936}
!78 = !{!"_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, !79, i64 64, !79, i64 68, !79, i64 72, !15, i64 76, !48, i64 84, !17, i64 88, !17, i64 90, !10, i64 92, !18, i64 96, !18, i64 97, !18, i64 98, !15, i64 100, !80, i64 108, !10, i64 136, !10, i64 140, !31, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !16, i64 188, !16, i64 192, !56, i64 200, !56, i64 216}
!79 = !{!"_ZTS6ImVec1", !16, i64 0}
!80 = !{!"_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}
!81 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!82 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS10ImDrawList", !84, i64 0, !26, i64 16, !85, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !86, i64 88, !87, i64 104, !88, i64 120, !89, i64 136, !90, i64 168, !16, i64 192}
!84 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!85 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!86 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!89 = !{!"_ZTS15ImDrawCmdHeader", !29, i64 0, !6, i64 16, !10, i64 24}
!90 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !57, i64 8}
!91 = !{!18, !18, i64 0}
!92 = !{!93, !10, i64 0}
!93 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !10, i64 28, !17, i64 32, !17, i64 34, !18, i64 36}
!94 = !{!15, !16, i64 0}
!95 = !{!93, !16, i64 20}
!96 = !{!12, !18, i64 109}
!97 = !{!12, !17, i64 112}
!98 = !{!93, !16, i64 24}
!99 = !{!12, !17, i64 110}
!100 = !{!93, !17, i64 32}
!101 = !{!12, !10, i64 40}
!102 = !{!24, !10, i64 7072}
!103 = !{!12, !10, i64 16}
!104 = !{!93, !10, i64 8}
!105 = !{!93, !10, i64 4}
!106 = !{!93, !10, i64 28}
!107 = !{!12, !10, i64 28}
!108 = !{!12, !10, i64 24}
!109 = !{!12, !10, i64 32}
!110 = !{!12, !18, i64 108}
!111 = !{!12, !10, i64 0}
!112 = !{!93, !10, i64 12}
!113 = !{i64 0, i64 4, !114, i64 4, i64 4, !114}
!114 = !{!16, !16, i64 0}
!115 = !{!93, !16, i64 16}
!116 = !{!12, !16, i64 76}
!117 = !{!14, !16, i64 0}
!118 = !{!12, !16, i64 92}
!119 = !{!14, !16, i64 8}
!120 = !{!12, !16, i64 96}
!121 = !{!14, !16, i64 4}
!122 = !{!14, !16, i64 12}
!123 = !{!27, !16, i64 64}
!124 = !{!24, !18, i64 8116}
!125 = !{!24, !10, i64 7276}
!126 = !{!24, !16, i64 948}
!127 = !{!24, !16, i64 296}
!128 = !{!77, !6, i64 624}
!129 = !{!24, !10, i64 7256}
!130 = !{!24, !16, i64 7272}
!131 = !{!24, !16, i64 12440}


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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, i32, i32, 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 [98 x i8], align 1
@.str.147 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.179 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.180 = 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 nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #3

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

; 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 #4

; 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

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

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

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

; 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 #6

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #5

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #5

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

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

declare void @_ZN5ImGui10SetTooltipEPKcz(ptr noundef, ...) local_unnamed_addr #5

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

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

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

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

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

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

24:                                               ; preds = %4
  tail call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef nonnull %0)
  br label %25

25:                                               ; preds = %24, %4
  %26 = load ptr, ptr @GImGui, align 8, !tbaa !21
  %27 = getelementptr inbounds i8, ptr %26, i64 7200
  %28 = load ptr, ptr %27, align 8, !tbaa !22
  %29 = getelementptr inbounds i8, ptr %28, i64 147
  %30 = load i8, ptr %29, align 1, !tbaa !75, !range !19, !noundef !20
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %304, label %32

32:                                               ; preds = %25
  %33 = tail call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef nonnull %0, ptr noundef %1)
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %.thread, label %34

34:                                               ; preds = %32
  %35 = load i8, ptr %2, align 1, !tbaa !90, !range !19, !noundef !20
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %39, label %37

37:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %38 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef %33, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  br label %304

39:                                               ; preds = %34
  %40 = and i32 %3, 2097152
  %.not194 = icmp eq i32 %40, 0
  br i1 %.not194, label %.thread, label %41

41:                                               ; preds = %39
  tail call void @__assert_fail(ptr noundef nonnull @.str.177, ptr noundef nonnull @.str.2, i32 noundef 7973, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #11
  unreachable

.thread:                                          ; preds = %32, %39
  %42 = and i32 %3, 192
  %.not195 = icmp eq i32 %42, 192
  br i1 %.not195, label %43, label %44

43:                                               ; preds = %.thread
  tail call void @__assert_fail(ptr noundef nonnull @.str.178, ptr noundef nonnull @.str.2, i32 noundef 7974, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #11
  unreachable

44:                                               ; preds = %.thread
  %45 = and i32 %3, 1048576
  %.not196 = icmp eq i32 %45, 0
  %46 = or disjoint i32 %3, 1048576
  %47 = and i1 %.not, %.not196
  %.0182 = select i1 %47, i32 %46, i32 %3
  %.0181 = select i1 %.not196, ptr %2, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #10
  %48 = icmp ne ptr %.0181, null
  %49 = tail call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %48)
  store <2 x float> %49, ptr %6, align 8
  %50 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %33)
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %57

52:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #10
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(37) %7)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(37) %7)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #10
  %53 = call noundef nonnull align 4 dereferenceable(37) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %33, ptr %53, align 4, !tbaa !91
  %54 = load float, ptr %6, align 8, !tbaa !93
  %55 = getelementptr inbounds i8, ptr %53, i64 20
  store float %54, ptr %55, align 4, !tbaa !94
  %56 = getelementptr inbounds i8, ptr %0, i64 109
  store i8 1, ptr %56, align 1, !tbaa !95
  br label %57

57:                                               ; preds = %52, %44
  %.0184 = phi ptr [ %53, %52 ], [ %50, %44 ]
  %58 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0184)
  %59 = trunc i32 %58 to i16
  %60 = getelementptr inbounds i8, ptr %0, i64 112
  store i16 %59, ptr %60, align 8, !tbaa !96
  %61 = load float, ptr %6, align 8, !tbaa !93
  %62 = getelementptr inbounds i8, ptr %.0184, i64 24
  store float %61, ptr %62, align 4, !tbaa !97
  %63 = getelementptr inbounds i8, ptr %0, i64 110
  %64 = load i16, ptr %63, align 2, !tbaa !98
  %65 = add i16 %64, 1
  store i16 %65, ptr %63, align 2, !tbaa !98
  %66 = getelementptr inbounds i8, ptr %.0184, i64 32
  store i16 %64, ptr %66, align 4, !tbaa !99
  %67 = getelementptr inbounds i8, ptr %0, i64 40
  %68 = load i32, ptr %67, align 8, !tbaa !100
  %69 = add nsw i32 %68, 1
  %70 = getelementptr inbounds i8, ptr %26, i64 7072
  %71 = load i32, ptr %70, align 8, !tbaa !101
  %72 = icmp sge i32 %69, %71
  %73 = getelementptr inbounds i8, ptr %0, i64 16
  %74 = load i32, ptr %73, align 8, !tbaa !102
  %75 = and i32 %74, 2097152
  %.not197 = icmp eq i32 %75, 0
  %76 = getelementptr inbounds i8, ptr %.0184, i64 8
  %77 = load i32, ptr %76, align 4, !tbaa !103
  %78 = add nsw i32 %77, 1
  %79 = icmp slt i32 %78, %71
  %80 = and i32 %.0182, 2097152
  %.not198 = icmp eq i32 %80, 0
  store i32 %71, ptr %76, align 4, !tbaa !103
  %81 = getelementptr inbounds i8, ptr %.0184, i64 4
  store i32 %.0182, ptr %81, align 4, !tbaa !104
  %82 = getelementptr inbounds i8, ptr %0, i64 136
  %83 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %84 = getelementptr inbounds i8, ptr %.0184, i64 28
  store i32 %83, ptr %84, align 4, !tbaa !105
  %85 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #12
  %86 = getelementptr inbounds i8, ptr %1, i64 %85
  %87 = getelementptr inbounds i8, ptr %86, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef %1, ptr noundef nonnull %87)
  br i1 %79, label %88, label %102

88:                                               ; preds = %57
  %89 = load i32, ptr %73, align 8, !tbaa !102
  %90 = and i32 %89, 2
  %.not199 = icmp eq i32 %90, 0
  br i1 %.not199, label %102, label %91

91:                                               ; preds = %88
  %92 = getelementptr inbounds i8, ptr %0, i64 28
  %93 = load i32, ptr %92, align 4, !tbaa !106
  %94 = icmp eq i32 %93, 0
  br i1 %94, label %95, label %102

95:                                               ; preds = %91
  br i1 %72, label %100, label %96

96:                                               ; preds = %95
  %97 = getelementptr inbounds i8, ptr %0, i64 24
  %98 = load i32, ptr %97, align 8, !tbaa !107
  %99 = icmp eq i32 %98, 0
  %brmerge.not = select i1 %99, i1 %.not198, i1 false
  br i1 %brmerge.not, label %101, label %102

100:                                              ; preds = %95
  br i1 %.not198, label %101, label %102

101:                                              ; preds = %96, %100
  store i32 %33, ptr %92, align 4, !tbaa !106
  br label %102

102:                                              ; preds = %96, %101, %100, %91, %88, %57
  %103 = and i32 %.0182, 2
  %.not200 = icmp eq i32 %103, 0
  br i1 %.not200, label %109, label %104

104:                                              ; preds = %102
  %105 = getelementptr inbounds i8, ptr %0, i64 24
  %106 = load i32, ptr %105, align 8, !tbaa !107
  %.not201 = icmp ne i32 %106, %33
  %brmerge212.not = select i1 %.not201, i1 %.not198, i1 false
  br i1 %brmerge212.not, label %107, label %109

107:                                              ; preds = %104
  %108 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %33, ptr %108, align 4, !tbaa !106
  br label %109

109:                                              ; preds = %104, %107, %102
  %110 = getelementptr inbounds i8, ptr %0, i64 32
  %111 = load i32, ptr %110, align 8, !tbaa !108
  %112 = icmp eq i32 %111, %33
  br i1 %112, label %113, label %.critedge214

113:                                              ; preds = %109
  %114 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 1, ptr %114, align 4, !tbaa !109
  br label %124

.critedge214:                                     ; preds = %109
  %115 = getelementptr inbounds i8, ptr %0, i64 24
  %116 = load i32, ptr %115, align 8, !tbaa !107
  %117 = icmp ne i32 %116, 0
  %brmerge217 = select i1 %117, i1 true, i1 %72
  br i1 %brmerge217, label %124, label %118

118:                                              ; preds = %.critedge214
  %119 = load i32, ptr %0, align 8, !tbaa !110
  %120 = icmp eq i32 %119, 1
  br i1 %120, label %121, label %124

121:                                              ; preds = %118
  %122 = load i32, ptr %73, align 8, !tbaa !102
  %123 = and i32 %122, 2
  %.not202 = icmp eq i32 %123, 0
  br label %124

124:                                              ; preds = %121, %113, %.critedge214, %118
  %.0186.shrunk = phi i1 [ true, %113 ], [ false, %118 ], [ false, %.critedge214 ], [ %.not202, %121 ]
  %brmerge220 = or i1 %51, %72
  %or.cond232 = select i1 %79, i1 %brmerge220, i1 false
  br i1 %or.cond232, label %125, label %127

125:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %126 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %33, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #10
  %.0186.shrunk. = select i1 %.not198, i1 %.0186.shrunk, i1 false
  br label %303

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

131:                                              ; preds = %127
  %132 = load i32, ptr %70, align 8, !tbaa !101
  %133 = getelementptr inbounds i8, ptr %.0184, i64 12
  store i32 %132, ptr %133, align 4, !tbaa !111
  br label %134

134:                                              ; preds = %131, %127
  %135 = getelementptr inbounds i8, ptr %28, i64 216
  %136 = load i64, ptr %135, align 8
  %137 = load i32, ptr %81, align 4, !tbaa !104
  %138 = and i32 %137, 192
  %139 = icmp eq i32 %138, 0
  %140 = getelementptr inbounds i8, ptr %.0184, i64 20
  %141 = load float, ptr %140, align 4, !tbaa !94
  store float %141, ptr %6, align 8, !tbaa !93
  %142 = getelementptr inbounds i8, ptr %0, i64 44
  %143 = getelementptr inbounds i8, ptr %.0184, i64 16
  br i1 %139, label %144, label %152

144:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #10
  %145 = load float, ptr %143, align 4, !tbaa !112
  %146 = getelementptr inbounds i8, ptr %0, i64 76
  %147 = load float, ptr %146, align 4, !tbaa !113
  %148 = fsub float %145, %147
  %149 = fptosi float %148 to i32
  %150 = sitofp i32 %149 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %150, float noundef 0.000000e+00)
  %151 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %142, ptr noundef nonnull align 4 dereferenceable(8) %9)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #10
  br label %155

152:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #10
  %153 = load float, ptr %143, align 4, !tbaa !112
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %153, float noundef 0.000000e+00)
  %154 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %142, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #10
  br label %155

155:                                              ; preds = %152, %144
  %.sink = phi <2 x float> [ %151, %144 ], [ %154, %152 ]
  store <2 x float> %.sink, ptr %135, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #10
  store <2 x float> %.sink, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #10
  %156 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %156, ptr %13, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #10
  br i1 %139, label %157, label %.thread237

157:                                              ; preds = %155
  %158 = load float, ptr %12, align 4, !tbaa !114
  %159 = getelementptr inbounds i8, ptr %0, i64 92
  %160 = load float, ptr %159, align 4, !tbaa !115
  %161 = fcmp olt float %158, %160
  br i1 %161, label %.thread236, label %162

162:                                              ; preds = %157
  %163 = getelementptr inbounds i8, ptr %12, i64 8
  %164 = load float, ptr %163, align 4, !tbaa !116
  %165 = getelementptr inbounds i8, ptr %0, i64 96
  %166 = load float, ptr %165, align 8, !tbaa !117
  %167 = fcmp ogt float %164, %166
  br i1 %167, label %.thread236, label %.thread237

.thread236:                                       ; preds = %157, %162
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %168 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %158, float noundef %160)
  %169 = getelementptr inbounds i8, ptr %12, i64 4
  %170 = load float, ptr %169, align 4, !tbaa !118
  %171 = fadd float %170, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %168, float noundef %171)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %172 = getelementptr inbounds i8, ptr %0, i64 96
  %173 = load float, ptr %172, align 8, !tbaa !117
  %174 = getelementptr inbounds i8, ptr %12, i64 12
  %175 = load float, ptr %174, align 4, !tbaa !119
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %173, float noundef %175)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #10
  br label %.thread237

.thread237:                                       ; preds = %155, %.thread236, %162
  %176 = phi i1 [ true, %.thread236 ], [ false, %162 ], [ false, %155 ]
  %177 = getelementptr inbounds i8, ptr %28, i64 240
  %178 = load i64, ptr %177, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %179 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  store <2 x float> %179, ptr %16, align 8
  %180 = getelementptr inbounds i8, ptr %26, i64 5552
  %181 = load float, ptr %180, align 4, !tbaa !120
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %181)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  store i64 %178, ptr %177, align 8
  %182 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %33, ptr noundef null, i32 noundef 0)
  br i1 %182, label %186, label %183

183:                                              ; preds = %.thread237
  br i1 %176, label %184, label %185

184:                                              ; preds = %183
  call void @_ZN5ImGui11PopClipRectEv()
  br label %185

185:                                              ; preds = %184, %183
  store i64 %136, ptr %135, align 8
  br label %302

186:                                              ; preds = %.thread237
  %187 = select i1 %.not198, i32 4112, i32 4128
  %188 = getelementptr inbounds i8, ptr %26, i64 8116
  %189 = load i8, ptr %188, align 4, !tbaa !121, !range !19, !noundef !20
  %190 = trunc nuw i8 %189 to i1
  %191 = or disjoint i32 %187, 512
  %spec.select221 = select i1 %190, i32 %191, i32 %187
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #10
  %192 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %33, ptr noundef nonnull %17, ptr noundef nonnull %18, i32 noundef %spec.select221)
  %193 = select i1 %192, i1 %.not198, i1 false
  br i1 %193, label %194, label %196

194:                                              ; preds = %186
  %195 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %33, ptr %195, align 4, !tbaa !106
  br label %196

196:                                              ; preds = %186, %194
  %197 = getelementptr inbounds i8, ptr %26, i64 7276
  %198 = load i32, ptr %197, align 4, !tbaa !122
  %.not203 = icmp eq i32 %198, %33
  br i1 %.not203, label %200, label %199

199:                                              ; preds = %196
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %200

200:                                              ; preds = %199, %196
  %201 = load i8, ptr %18, align 1, !tbaa !90, !range !19, !noundef !20
  %202 = trunc nuw i8 %201 to i1
  %.not225 = xor i1 %202, true
  %brmerge226 = select i1 %.not225, i1 true, i1 %79
  br i1 %brmerge226, label %228, label %203

203:                                              ; preds = %200
  %204 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %204, label %205, label %228

205:                                              ; preds = %203
  %206 = load i8, ptr %188, align 4, !tbaa !121, !range !19, !noundef !20
  %207 = trunc nuw i8 %206 to i1
  br i1 %207, label %228, label %208

208:                                              ; preds = %205
  %209 = load i32, ptr %73, align 8, !tbaa !102
  %210 = and i32 %209, 1
  %.not204 = icmp eq i32 %210, 0
  br i1 %.not204, label %228, label %211

211:                                              ; preds = %208
  %212 = getelementptr inbounds i8, ptr %26, i64 948
  %213 = load float, ptr %212, align 4, !tbaa !123
  %214 = fcmp olt float %213, 0.000000e+00
  br i1 %214, label %215, label %220

215:                                              ; preds = %211
  %216 = getelementptr inbounds i8, ptr %26, i64 296
  %217 = load float, ptr %216, align 8, !tbaa !124
  %218 = load float, ptr %12, align 4, !tbaa !114
  %219 = fcmp olt float %217, %218
  br i1 %219, label %.sink.split, label %220

220:                                              ; preds = %215, %211
  %221 = fcmp ogt float %213, 0.000000e+00
  br i1 %221, label %222, label %228

222:                                              ; preds = %220
  %223 = getelementptr inbounds i8, ptr %26, i64 296
  %224 = load float, ptr %223, align 8, !tbaa !124
  %225 = getelementptr inbounds i8, ptr %12, i64 8
  %226 = load float, ptr %225, align 4, !tbaa !116
  %227 = fcmp ogt float %224, %226
  br i1 %227, label %.sink.split, label %228

.sink.split:                                      ; preds = %222, %215
  %.sink239 = phi ptr [ %216, %215 ], [ %223, %222 ]
  %.sroa.05.0.copyload = load <2 x float>, ptr %.sink239, align 8
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(ptr noundef nonnull %0, ptr noundef nonnull %.0184, <2 x float> %.sroa.05.0.copyload)
  br label %228

228:                                              ; preds = %.sink.split, %200, %205, %208, %220, %222, %203
  %229 = getelementptr inbounds i8, ptr %28, i64 624
  %230 = load ptr, ptr %229, align 8, !tbaa !125
  %231 = load i8, ptr %18, align 1, !tbaa !90, !range !19, !noundef !20
  %232 = trunc nuw i8 %231 to i1
  br i1 %232, label %241, label %233

233:                                              ; preds = %228
  %234 = load i8, ptr %17, align 1, !tbaa !90, !range !19, !noundef !20
  %235 = trunc nuw i8 %234 to i1
  br i1 %235, label %241, label %236

236:                                              ; preds = %233
  br i1 %.0186.shrunk, label %237, label %239

237:                                              ; preds = %236
  %238 = select i1 %.not197, i32 37, i32 35
  br label %241

239:                                              ; preds = %236
  %240 = select i1 %.not197, i32 36, i32 33
  br label %241

241:                                              ; preds = %237, %239, %228, %233
  %242 = phi i32 [ 34, %233 ], [ 34, %228 ], [ %238, %237 ], [ %240, %239 ]
  %243 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %242, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %230, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %.0182, i32 noundef %243)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %33, i32 noundef 1)
  %244 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %244, label %245, label %253

245:                                              ; preds = %241
  %246 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %246, label %250, label %247

247:                                              ; preds = %245
  %248 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  %249 = select i1 %248, i1 %.not198, i1 false
  br i1 %249, label %251, label %253

250:                                              ; preds = %245
  br i1 %.not198, label %251, label %253

251:                                              ; preds = %247, %250
  %252 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %33, ptr %252, align 4, !tbaa !106
  br label %253

253:                                              ; preds = %247, %250, %251, %241
  %254 = load i32, ptr %73, align 8, !tbaa !102
  %255 = lshr i32 %254, 1
  %256 = and i32 %255, 4
  %spec.select230 = or i32 %256, %.0182
  br i1 %48, label %257, label %259

257:                                              ; preds = %253
  %258 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef nonnull @.str.147, ptr noundef null, i32 noundef %33)
  br label %259

259:                                              ; preds = %253, %257
  %260 = phi i32 [ %258, %257 ], [ 0, %253 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #10
  %261 = getelementptr inbounds i8, ptr %0, i64 120
  %.sroa.0.0.copyload = load <2 x float>, ptr %261, align 8
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %230, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %spec.select230, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %33, i32 noundef %260, i1 noundef zeroext %.0186.shrunk, ptr noundef nonnull %19, ptr noundef nonnull %20)
  %262 = load i8, ptr %19, align 1, !tbaa !90, !range !19, !noundef !20
  %263 = trunc nuw i8 %262 to i1
  %or.cond = and i1 %48, %263
  br i1 %or.cond, label %264, label %265

264:                                              ; preds = %259
  store i8 0, ptr %.0181, align 1, !tbaa !90
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0184)
  br label %265

265:                                              ; preds = %264, %259
  br i1 %176, label %266, label %267

266:                                              ; preds = %265
  call void @_ZN5ImGui11PopClipRectEv()
  br label %267

267:                                              ; preds = %266, %265
  store i64 %136, ptr %135, align 8
  %268 = load i8, ptr %20, align 1, !tbaa !90, !range !19, !noundef !20
  %269 = trunc nuw i8 %268 to i1
  br i1 %269, label %270, label %297

270:                                              ; preds = %267
  %271 = getelementptr inbounds i8, ptr %26, i64 7256
  %272 = load i32, ptr %271, align 8, !tbaa !126
  %273 = icmp eq i32 %272, %33
  br i1 %273, label %274, label %297

274:                                              ; preds = %270
  %275 = load i8, ptr %18, align 1, !tbaa !90, !range !19, !noundef !20
  %276 = trunc nuw i8 %275 to i1
  br i1 %276, label %297, label %277

277:                                              ; preds = %274
  %278 = getelementptr inbounds i8, ptr %26, i64 7272
  %279 = load float, ptr %278, align 8, !tbaa !127
  %280 = getelementptr inbounds i8, ptr %26, i64 12440
  %281 = load float, ptr %280, align 8, !tbaa !128
  %282 = fcmp ogt float %279, %281
  br i1 %282, label %283, label %297

283:                                              ; preds = %277
  %284 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %284, label %285, label %297

285:                                              ; preds = %283
  %286 = load i32, ptr %73, align 8, !tbaa !102
  %287 = and i32 %286, 32
  %.not206 = icmp eq i32 %287, 0
  br i1 %.not206, label %288, label %297

288:                                              ; preds = %285
  %289 = load i32, ptr %81, align 4, !tbaa !104
  %290 = and i32 %289, 16
  %.not207 = icmp eq i32 %290, 0
  br i1 %.not207, label %291, label %297

291:                                              ; preds = %288
  %292 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %293 = ptrtoint ptr %292 to i64
  %294 = ptrtoint ptr %1 to i64
  %295 = sub i64 %293, %294
  %296 = trunc i64 %295 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.179, i32 noundef %296, ptr noundef %1)
  br label %297

297:                                              ; preds = %285, %288, %291, %283, %277, %274, %270, %267
  br i1 %.not198, label %.critedge, label %298

298:                                              ; preds = %297
  %299 = load i32, ptr %128, align 8, !tbaa !107
  %300 = load i32, ptr %.0184, align 4, !tbaa !91
  %.not208 = icmp eq i32 %299, %300
  br i1 %.not208, label %301, label %.critedge

301:                                              ; preds = %298
  call void @__assert_fail(ptr noundef nonnull @.str.180, ptr noundef nonnull @.str.2, i32 noundef 8155, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #11
  unreachable

.critedge:                                        ; preds = %297, %298
  %.0186.shrunk.231 = phi i1 [ %.0186.shrunk, %297 ], [ %192, %298 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #10
  br label %302

302:                                              ; preds = %.critedge, %185
  %.1 = phi i1 [ %.0186.shrunk.231, %.critedge ], [ %.0186.shrunk, %185 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #10
  br label %303

303:                                              ; preds = %125, %302
  %.2 = phi i1 [ %.1, %302 ], [ %.0186.shrunk., %125 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %304

304:                                              ; preds = %37, %303, %25
  %.4 = phi i1 [ false, %25 ], [ %.2, %303 ], [ false, %37 ]
  ret i1 %.4
}

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

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

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

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

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

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

; 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 #8

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

; 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 #6

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 nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn nounwind }
attributes #12 = { 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, !16, i64 107}
!6 = !{!"_ZTS11ImGuiTabBar", !7, i64 0, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !12, i64 44, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !14, i64 92, !14, i64 96, !8, i64 100, !15, i64 104, !9, i64 106, !16, i64 107, !16, i64 108, !16, i64 109, !15, i64 110, !15, i64 112, !14, i64 116, !13, i64 120, !13, i64 128, !17, i64 136}
!7 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"short", !9, i64 0}
!16 = !{!"bool", !9, i64 0}
!17 = !{!"_ZTS15ImGuiTextBuffer", !18, i64 0}
!18 = !{!"_ZTS8ImVectorIcE", !8, i64 0, !8, i64 4, !11, i64 8}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 7200}
!23 = !{!"_ZTS12ImGuiContext", !16, i64 0, !16, i64 1, !24, i64 8, !26, i64 5488, !11, i64 6536, !14, i64 6544, !14, i64 6548, !27, i64 6552, !29, i64 7064, !8, i64 7072, !8, i64 7076, !8, i64 7080, !16, i64 7084, !16, i64 7085, !16, i64 7086, !16, i64 7087, !16, i64 7088, !11, i64 7096, !30, i64 7104, !30, i64 7120, !30, i64 7136, !31, i64 7152, !32, i64 7168, !8, i64 7184, !13, i64 7188, !11, i64 7200, !11, i64 7208, !11, i64 7216, !11, i64 7224, !11, i64 7232, !13, i64 7240, !14, i64 7248, !8, i64 7252, !8, i64 7256, !8, i64 7260, !16, i64 7264, !16, i64 7265, !16, i64 7266, !16, i64 7267, !14, i64 7268, !14, i64 7272, !8, i64 7276, !8, i64 7280, !14, i64 7284, !16, i64 7288, !16, i64 7289, !16, i64 7290, !16, i64 7291, !16, i64 7292, !16, i64 7293, !16, i64 7294, !8, i64 7296, !8, i64 7300, !34, i64 7304, !13, i64 7312, !11, i64 7320, !35, i64 7328, !8, i64 7332, !8, i64 7336, !16, i64 7340, !16, i64 7341, !11, i64 7344, !8, i64 7352, !14, i64 7356, !8, i64 7360, !36, i64 7364, !37, i64 7384, !38, i64 7448, !39, i64 7560, !40, i64 7576, !41, i64 7592, !42, i64 7608, !43, i64 7624, !44, i64 7640, !45, i64 7656, !45, i64 7672, !8, i64 7688, !46, i64 7696, !11, i64 7712, !8, i64 7720, !8, i64 7724, !8, i64 7728, !8, i64 7732, !8, i64 7736, !8, i64 7740, !8, i64 7744, !8, i64 7748, !8, i64 7752, !8, i64 7756, !8, i64 7760, !8, i64 7764, !35, i64 7768, !47, i64 7772, !16, i64 7776, !16, i64 7777, !16, i64 7778, !16, i64 7779, !16, i64 7780, !16, i64 7781, !16, i64 7782, !8, i64 7784, !12, i64 7788, !16, i64 7804, !16, i64 7805, !16, i64 7806, !8, i64 7808, !8, i64 7812, !8, i64 7816, !8, i64 7820, !8, i64 7824, !8, i64 7828, !12, i64 7832, !12, i64 7848, !8, i64 7864, !8, i64 7868, !8, i64 7872, !48, i64 7880, !48, i64 7928, !48, i64 7976, !48, i64 8024, !11, i64 8072, !11, i64 8080, !11, i64 8088, !14, i64 8096, !14, i64 8100, !16, i64 8104, !14, i64 8108, !8, i64 8112, !16, i64 8116, !16, i64 8117, !16, i64 8118, !8, i64 8120, !8, i64 8124, !8, i64 8128, !49, i64 8136, !12, i64 8200, !8, i64 8216, !8, i64 8220, !14, i64 8224, !8, i64 8228, !8, i64 8232, !8, i64 8236, !8, i64 8240, !50, i64 8248, !9, i64 8264, !8, i64 8280, !51, i64 8288, !11, i64 8304, !8, i64 8312, !52, i64 8320, !53, i64 8336, !55, i64 8376, !56, i64 8392, !11, i64 8408, !57, i64 8416, !59, i64 8456, !60, i64 8472, !13, i64 8488, !61, i64 8496, !64, i64 12216, !8, i64 12328, !8, i64 12332, !14, i64 12336, !14, i64 12340, !8, i64 12344, !28, i64 12348, !66, i64 12364, !14, i64 12412, !16, i64 12416, !16, i64 12417, !14, i64 12420, !14, i64 12424, !14, i64 12428, !14, i64 12432, !15, i64 12436, !15, i64 12438, !14, i64 12440, !18, i64 12448, !42, i64 12464, !13, i64 12480, !13, i64 12488, !9, i64 12496, !16, i64 12497, !14, i64 12500, !17, i64 12504, !67, i64 12520, !68, i64 12536, !69, i64 12552, !70, i64 12568, !8, i64 12584, !16, i64 12588, !71, i64 12592, !11, i64 12600, !17, i64 12608, !11, i64 12624, !11, i64 12632, !14, i64 12640, !16, i64 12644, !8, i64 12648, !8, i64 12652, !8, i64 12656, !16, i64 12660, !8, i64 12664, !72, i64 12668, !73, i64 12688, !9, i64 12720, !8, i64 13200, !8, i64 13204, !14, i64 13208, !8, i64 13212, !8, i64 13216, !8, i64 13220, !9, i64 13224}
!24 = !{!"_ZTS7ImGuiIO", !8, i64 0, !8, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !11, i64 24, !11, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !9, i64 52, !14, i64 140, !14, i64 144, !11, i64 152, !11, i64 160, !14, i64 168, !16, i64 172, !11, i64 176, !13, i64 184, !16, i64 192, !16, i64 193, !16, i64 194, !16, i64 195, !16, i64 196, !16, i64 197, !14, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !13, i64 288, !9, i64 296, !14, i64 304, !14, i64 308, !16, i64 312, !16, i64 313, !16, i64 314, !16, i64 315, !9, i64 316, !9, i64 828, !16, i64 908, !16, i64 909, !16, i64 910, !16, i64 911, !16, i64 912, !16, i64 913, !16, i64 914, !14, i64 916, !8, i64 920, !8, i64 924, !8, i64 928, !8, i64 932, !8, i64 936, !13, i64 940, !16, i64 948, !8, i64 952, !8, i64 956, !13, i64 960, !9, i64 968, !9, i64 1008, !9, i64 1048, !9, i64 1053, !9, i64 1058, !9, i64 1068, !9, i64 1078, !9, i64 1083, !9, i64 1088, !9, i64 1096, !9, i64 1116, !9, i64 1136, !9, i64 1176, !9, i64 1196, !9, i64 3244, !9, i64 5292, !9, i64 5372, !14, i64 5452, !16, i64 5456, !15, i64 5458, !25, i64 5464}
!25 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !14, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !13, i64 24, !13, i64 32, !8, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !14, i64 56, !13, i64 60, !14, i64 68, !14, i64 72, !13, i64 76, !13, i64 84, !13, i64 92, !13, i64 100, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !14, i64 136, !14, i64 140, !14, i64 144, !8, i64 148, !13, i64 152, !13, i64 160, !13, i64 168, !13, i64 176, !14, i64 184, !16, i64 188, !16, i64 189, !16, i64 190, !14, i64 192, !14, i64 196, !9, i64 200}
!27 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !28, i64 28, !8, i64 44, !9, i64 48, !14, i64 432, !9, i64 436, !11, i64 504}
!28 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!29 = !{!"double", !9, i64 0}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !8, i64 0, !8, i64 4, !11, i64 8}
!31 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !11, i64 8}
!34 = !{!"long long", !9, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !9, i64 0}
!36 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !14, i64 4, !8, i64 8, !8, i64 12, !16, i64 16}
!37 = !{!"_ZTS17ImGuiLastItemData", !8, i64 0, !8, i64 4, !8, i64 8, !12, i64 12, !12, i64 28, !12, i64 44}
!38 = !{!"_ZTS19ImGuiNextWindowData", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !16, i64 56, !12, i64 60, !11, i64 80, !11, i64 88, !14, i64 96, !13, i64 100}
!39 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !8, i64 0, !8, i64 4, !11, i64 8}
!40 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !8, i64 0, !8, i64 4, !11, i64 8}
!41 = !{!"_ZTS8ImVectorIP6ImFontE", !8, i64 0, !8, i64 4, !11, i64 8}
!42 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!43 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !11, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!46 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !8, i64 0, !8, i64 4, !11, i64 8}
!47 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!48 = !{!"_ZTS16ImGuiNavItemData", !11, i64 0, !8, i64 8, !8, i64 12, !12, i64 16, !8, i64 32, !14, i64 36, !14, i64 40, !14, i64 44}
!49 = !{!"_ZTS12ImGuiPayload", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !9, i64 24, !16, i64 57, !16, i64 58}
!50 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !11, i64 8}
!51 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!52 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !32, i64 16, !8, i64 32, !8, i64 36}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !8, i64 0, !8, i64 4, !11, i64 8}
!55 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!56 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !32, i64 16, !8, i64 32, !8, i64 36}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !11, i64 8}
!59 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !11, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!61 = !{!"_ZTS19ImGuiInputTextState", !8, i64 0, !8, i64 4, !8, i64 8, !25, i64 16, !18, i64 32, !18, i64 48, !16, i64 64, !8, i64 68, !14, i64 72, !62, i64 76, !14, i64 3704, !16, i64 3708, !16, i64 3709, !16, i64 3710, !8, i64 3712}
!62 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !8, i64 0, !8, i64 4, !8, i64 8, !9, i64 12, !8, i64 16, !9, i64 20, !9, i64 21, !9, i64 22, !9, i64 23, !9, i64 24, !9, i64 25, !9, i64 26, !14, i64 28, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !15, i64 3582, !15, i64 3584, !8, i64 3588, !8, i64 3592}
!64 = !{!"_ZTS6ImFont", !55, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !65, i64 40, !11, i64 56, !11, i64 64, !11, i64 72, !15, i64 80, !15, i64 82, !15, i64 84, !15, i64 86, !16, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !8, i64 104, !9, i64 108}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !11, i64 8}
!66 = !{!"_ZTS21ImGuiComboPreviewData", !12, i64 0, !13, i64 16, !13, i64 24, !13, i64 32, !14, i64 40, !8, i64 44}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !11, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !18, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !18, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !8, i64 0, !8, i64 4, !11, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !16, i64 0, !16, i64 1, !16, i64 2, !16, i64 3, !16, i64 4, !16, i64 5, !8, i64 8, !8, i64 12}
!73 = !{!"_ZTS14ImGuiStackTool", !8, i64 0, !8, i64 4, !8, i64 8, !74, i64 16}
!74 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !8, i64 0, !8, i64 4, !11, i64 8}
!75 = !{!76, !16, i64 147}
!76 = !{!"_ZTS11ImGuiWindow", !11, i64 0, !8, i64 8, !8, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !13, i64 64, !14, i64 72, !14, i64 76, !8, i64 80, !8, i64 84, !8, i64 88, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !13, i64 132, !16, i64 140, !16, i64 141, !16, i64 142, !16, i64 143, !16, i64 144, !16, i64 145, !16, i64 146, !16, i64 147, !16, i64 148, !16, i64 149, !16, i64 150, !16, i64 151, !16, i64 152, !9, i64 153, !15, i64 154, !15, i64 156, !15, i64 158, !15, i64 160, !8, i64 164, !9, i64 168, !9, i64 169, !9, i64 170, !16, i64 171, !8, i64 172, !9, i64 176, !9, i64 177, !9, i64 178, !9, i64 179, !8, i64 180, !8, i64 181, !8, i64 182, !13, i64 184, !13, i64 192, !42, i64 200, !77, i64 216, !12, i64 448, !12, i64 464, !12, i64 480, !12, i64 496, !12, i64 512, !12, i64 528, !12, i64 544, !80, i64 560, !80, i64 564, !8, i64 568, !14, i64 572, !14, i64 576, !32, i64 584, !81, i64 600, !14, i64 616, !8, i64 620, !11, i64 624, !82, i64 632, !11, i64 832, !11, i64 840, !11, i64 848, !11, i64 856, !11, i64 864, !11, i64 872, !11, i64 880, !9, i64 888, !9, i64 896, !8, i64 928, !8, i64 932, !16, i64 936}
!77 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !78, i64 64, !78, i64 68, !78, i64 72, !13, i64 76, !47, i64 84, !15, i64 88, !15, i64 90, !8, i64 92, !16, i64 96, !16, i64 97, !16, i64 98, !13, i64 100, !79, i64 108, !8, i64 136, !8, i64 140, !30, i64 144, !11, i64 160, !11, i64 168, !8, i64 176, !8, i64 180, !8, i64 184, !14, i64 188, !14, i64 192, !55, i64 200, !55, i64 216}
!78 = !{!"_ZTS6ImVec1", !14, i64 0}
!79 = !{!"_ZTS16ImGuiMenuColumns", !8, i64 0, !8, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !9, i64 18}
!80 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!81 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!82 = !{!"_ZTS10ImDrawList", !83, i64 0, !25, i64 16, !84, i64 32, !8, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !85, i64 88, !86, i64 104, !87, i64 120, !88, i64 136, !89, i64 168, !14, i64 192}
!83 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!84 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!85 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!86 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!87 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!88 = !{!"_ZTS15ImDrawCmdHeader", !28, i64 0, !11, i64 16, !8, i64 24}
!89 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !56, i64 8}
!90 = !{!16, !16, i64 0}
!91 = !{!92, !8, i64 0}
!92 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !8, i64 28, !15, i64 32, !15, i64 34, !16, i64 36}
!93 = !{!13, !14, i64 0}
!94 = !{!92, !14, i64 20}
!95 = !{!6, !16, i64 109}
!96 = !{!6, !15, i64 112}
!97 = !{!92, !14, i64 24}
!98 = !{!6, !15, i64 110}
!99 = !{!92, !15, i64 32}
!100 = !{!6, !8, i64 40}
!101 = !{!23, !8, i64 7072}
!102 = !{!6, !8, i64 16}
!103 = !{!92, !8, i64 8}
!104 = !{!92, !8, i64 4}
!105 = !{!92, !8, i64 28}
!106 = !{!6, !8, i64 28}
!107 = !{!6, !8, i64 24}
!108 = !{!6, !8, i64 32}
!109 = !{!6, !16, i64 108}
!110 = !{!6, !8, i64 0}
!111 = !{!92, !8, i64 12}
!112 = !{!92, !14, i64 16}
!113 = !{!6, !14, i64 76}
!114 = !{!12, !14, i64 0}
!115 = !{!6, !14, i64 92}
!116 = !{!12, !14, i64 8}
!117 = !{!6, !14, i64 96}
!118 = !{!12, !14, i64 4}
!119 = !{!12, !14, i64 12}
!120 = !{!26, !14, i64 64}
!121 = !{!23, !16, i64 8116}
!122 = !{!23, !8, i64 7276}
!123 = !{!23, !14, i64 948}
!124 = !{!23, !14, i64 296}
!125 = !{!76, !11, i64 624}
!126 = !{!23, !8, i64 7256}
!127 = !{!23, !14, i64 7272}
!128 = !{!23, !14, i64 12440}


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