; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/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, i16, i16, i16, i8, i8 }>
%struct.ImGuiTabBar = type { %struct.ImVector.31, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, float, float, i32, i8, i8, i8, i8, i8, i16, i16, float, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.25 }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i8, [3 x i8], i32, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, 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.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.1, %struct.ImVector.10, ptr, %struct.ImPool.21, %struct.ImVector.20, %struct.ImVector.24, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, float, %struct.ImVector.25, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.27, %struct.ImChunkStream, %struct.ImChunkStream.28, %struct.ImVector.29, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [120 x float], 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], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [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], [21 x float], [21 x float], float, i16, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { 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, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%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.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.11 = type { i32, i32, ptr }
%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.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = 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 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImPool.21 = type <{ %struct.ImVector.22, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.5, %struct.ImVector.25, %struct.ImVector.25, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"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.26, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.25 }
%struct.ImChunkStream.28 = type { %struct.ImVector.25 }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }
%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, i32, i8, i8, i8, i8, i32, i8, i8, i8, i32, i8, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.3, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [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, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, [4 x i8], %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.3 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.173 = 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 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) #4

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #7

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

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

declare void @_ZN5ImGui12PushItemFlagEib(i32 noundef, i1 noundef zeroext) #7

declare void @_ZN5ImGui11PopItemFlagEv() #7

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

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

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

declare void @_ZN5ImGui11PopClipRectEv() #7

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef, ptr noundef, i32 noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #8 {
  %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 ptr, align 8
  %45 = alloca i32, align 4
  %46 = alloca i8, align 1
  %47 = alloca i32, align 4
  %48 = alloca i8, align 1
  %49 = alloca i8, align 1
  %50 = 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
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ImGuiTabBar, ptr %51, i32 0, i32 22
  %53 = load i8, ptr %52, align 2, !tbaa !11, !range !21, !noundef !22
  %54 = trunc i8 %53 to i1
  br i1 %54, label %55, label %57

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

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

66:                                               ; preds = %57
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %734

67:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #11
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiContext, ptr %68, i32 0, i32 4
  store ptr %69, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #11
  %70 = load ptr, ptr %6, align 8, !tbaa !5
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef %70, ptr noundef %71)
  store i32 %72, ptr %14, align 4, !tbaa !9
  br label %73

73:                                               ; preds = %67
  br label %74

74:                                               ; preds = %73
  br label %75

75:                                               ; preds = %74
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %85

78:                                               ; preds = %75
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = load i8, ptr %79, align 1, !tbaa !87, !range !21, !noundef !22
  %81 = trunc i8 %80 to i1
  br i1 %81, label %85, label %82

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

85:                                               ; preds = %78, %75
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = icmp ne ptr %86, null
  br i1 %87, label %88, label %93

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

93:                                               ; preds = %88, %85
  %94 = phi i1 [ true, %85 ], [ %92, %88 ]
  br i1 %94, label %95, label %96

95:                                               ; preds = %93
  br label %98

96:                                               ; preds = %93
  call void @__assert_fail(ptr noundef @.str.170, ptr noundef @.str.1, i32 noundef 7592, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

97:                                               ; No predecessors!
  br label %98

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

102:                                              ; preds = %98
  br label %105

103:                                              ; preds = %98
  call void @__assert_fail(ptr noundef @.str.171, ptr noundef @.str.1, i32 noundef 7593, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

104:                                              ; No predecessors!
  br label %105

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

109:                                              ; preds = %105
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %117

110:                                              ; preds = %105
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %116

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

116:                                              ; preds = %113, %110
  br label %117

117:                                              ; preds = %116, %109
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #11
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = load ptr, ptr %8, align 8, !tbaa !5
  %120 = icmp ne ptr %119, null
  %121 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %118, i1 noundef zeroext %120)
  store <2 x float> %121, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %122 = load ptr, ptr %6, align 8, !tbaa !5
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %122, i32 noundef %123)
  store ptr %124, 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 !87
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  %126 = icmp eq ptr %125, null
  br i1 %126, label %127, label %142

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

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

212:                                              ; preds = %142
  %213 = load ptr, ptr %6, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.ImGuiTabBar, ptr %213, i32 0, i32 1
  %215 = load i32, ptr %214, align 8, !tbaa !99
  %216 = and i32 %215, 2
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %240

218:                                              ; preds = %212
  %219 = load ptr, ptr %6, align 8, !tbaa !5
  %220 = getelementptr inbounds %struct.ImGuiTabBar, ptr %219, i32 0, i32 4
  %221 = load i32, ptr %220, align 4, !tbaa !103
  %222 = icmp eq i32 %221, 0
  br i1 %222, label %223, label %240

223:                                              ; preds = %218
  %224 = load i8, ptr %20, align 1, !tbaa !87, !range !21, !noundef !22
  %225 = trunc i8 %224 to i1
  br i1 %225, label %226, label %231

226:                                              ; preds = %223
  %227 = load ptr, ptr %6, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImGuiTabBar, ptr %227, i32 0, i32 3
  %229 = load i32, ptr %228, align 8, !tbaa !104
  %230 = icmp eq i32 %229, 0
  br i1 %230, label %231, label %239

231:                                              ; preds = %226, %223
  %232 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %233 = trunc i8 %232 to i1
  br i1 %233, label %238, label %234

234:                                              ; preds = %231
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = load ptr, ptr %6, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiTabBar, ptr %236, i32 0, i32 4
  store i32 %235, ptr %237, align 4, !tbaa !103
  br label %238

238:                                              ; preds = %234, %231
  br label %239

239:                                              ; preds = %238, %226
  br label %240

240:                                              ; preds = %239, %218, %212, %142
  %241 = load i32, ptr %9, align 4, !tbaa !9
  %242 = and i32 %241, 2
  %243 = icmp ne i32 %242, 0
  br i1 %243, label %244, label %258

244:                                              ; preds = %240
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiTabBar, ptr %245, i32 0, i32 3
  %247 = load i32, ptr %246, align 8, !tbaa !104
  %248 = load i32, ptr %14, align 4, !tbaa !9
  %249 = icmp ne i32 %247, %248
  br i1 %249, label %250, label %258

250:                                              ; preds = %244
  %251 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %252 = trunc i8 %251 to i1
  br i1 %252, label %257, label %253

253:                                              ; preds = %250
  %254 = load i32, ptr %14, align 4, !tbaa !9
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiTabBar, ptr %255, i32 0, i32 4
  store i32 %254, ptr %256, align 4, !tbaa !103
  br label %257

257:                                              ; preds = %253, %250
  br label %258

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

267:                                              ; preds = %258
  %268 = load ptr, ptr %6, align 8, !tbaa !5
  %269 = getelementptr inbounds %struct.ImGuiTabBar, ptr %268, i32 0, i32 23
  store i8 1, ptr %269, align 1, !tbaa !106
  br label %270

270:                                              ; preds = %267, %258
  %271 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %272 = trunc i8 %271 to i1
  br i1 %272, label %295, label %273

273:                                              ; preds = %270
  %274 = load ptr, ptr %6, align 8, !tbaa !5
  %275 = getelementptr inbounds %struct.ImGuiTabBar, ptr %274, i32 0, i32 3
  %276 = load i32, ptr %275, align 8, !tbaa !104
  %277 = icmp eq i32 %276, 0
  br i1 %277, label %278, label %295

278:                                              ; preds = %273
  %279 = load i8, ptr %20, align 1, !tbaa !87, !range !21, !noundef !22
  %280 = trunc i8 %279 to i1
  br i1 %280, label %281, label %295

281:                                              ; preds = %278
  %282 = load ptr, ptr %6, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiTabBar, ptr %282, i32 0, i32 0
  %284 = getelementptr inbounds %struct.ImVector.31, ptr %283, i32 0, i32 0
  %285 = load i32, ptr %284, align 8, !tbaa !107
  %286 = icmp eq i32 %285, 1
  br i1 %286, label %287, label %294

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

293:                                              ; preds = %287
  store i8 1, ptr %24, align 1, !tbaa !87
  br label %294

294:                                              ; preds = %293, %287, %281
  br label %295

295:                                              ; preds = %294, %278, %273, %270
  %296 = load i8, ptr %22, align 1, !tbaa !87, !range !21, !noundef !22
  %297 = trunc i8 %296 to i1
  br i1 %297, label %298, label %313

298:                                              ; preds = %295
  %299 = load i8, ptr %20, align 1, !tbaa !87, !range !21, !noundef !22
  %300 = trunc i8 %299 to i1
  br i1 %300, label %301, label %304

301:                                              ; preds = %298
  %302 = load i8, ptr %18, align 1, !tbaa !87, !range !21, !noundef !22
  %303 = trunc i8 %302 to i1
  br i1 %303, label %304, label %313

304:                                              ; preds = %301, %298
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr %25) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %25)
  %305 = load i32, ptr %14, align 4, !tbaa !9
  %306 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %25, i32 noundef %305, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %25) #11
  call void @_ZN5ImGui11PopItemFlagEv()
  %307 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %308 = trunc i8 %307 to i1
  br i1 %308, label %309, label %310

309:                                              ; preds = %304
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %732

310:                                              ; preds = %304
  %311 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %312 = trunc i8 %311 to i1
  store i1 %312, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %732

313:                                              ; preds = %301, %295
  %314 = load ptr, ptr %6, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiTabBar, ptr %314, i32 0, i32 3
  %316 = load i32, ptr %315, align 8, !tbaa !104
  %317 = load i32, ptr %14, align 4, !tbaa !9
  %318 = icmp eq i32 %316, %317
  br i1 %318, label %319, label %325

319:                                              ; preds = %313
  %320 = load ptr, ptr %10, align 8, !tbaa !5
  %321 = getelementptr inbounds %struct.ImGuiContext, ptr %320, i32 0, i32 11
  %322 = load i32, ptr %321, align 8, !tbaa !98
  %323 = load ptr, ptr %17, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.ImGuiTabItem, ptr %323, i32 0, i32 3
  store i32 %322, ptr %324, align 4, !tbaa !108
  br label %325

325:                                              ; preds = %319, %313
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #11
  %326 = load ptr, ptr %11, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.ImGuiWindow, ptr %326, i32 0, i32 53
  %328 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %327, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 8 %328, i64 8, i1 false), !tbaa.struct !109
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #11
  %329 = load ptr, ptr %17, align 8, !tbaa !5
  %330 = getelementptr inbounds %struct.ImGuiTabItem, ptr %329, i32 0, i32 1
  %331 = load i32, ptr %330, align 4, !tbaa !101
  %332 = and i32 %331, 192
  %333 = icmp eq i32 %332, 0
  %334 = zext i1 %333 to i8
  store i8 %334, ptr %27, align 1, !tbaa !87
  %335 = load ptr, ptr %17, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiTabItem, ptr %335, i32 0, i32 5
  %337 = load float, ptr %336, align 4, !tbaa !91
  %338 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %337, ptr %338, align 4, !tbaa !90
  %339 = load i8, ptr %27, align 1, !tbaa !87, !range !21, !noundef !22
  %340 = trunc i8 %339 to i1
  br i1 %340, label %341, label %358

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

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

369:                                              ; preds = %358, %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  %370 = load ptr, ptr %11, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiWindow, ptr %370, i32 0, i32 53
  %372 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %371, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 8 %372, i64 8, i1 false), !tbaa.struct !109
  call void @llvm.lifetime.start.p0(i64 16, ptr %33) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #11
  %373 = 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> %373, 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
  %374 = load i8, ptr %27, align 1, !tbaa !87, !range !21, !noundef !22
  %375 = trunc i8 %374 to i1
  br i1 %375, label %376, label %394

376:                                              ; preds = %369
  %377 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %378 = getelementptr inbounds %struct.ImVec2, ptr %377, i32 0, i32 0
  %379 = load float, ptr %378, align 4, !tbaa !113
  %380 = load ptr, ptr %6, align 8, !tbaa !5
  %381 = getelementptr inbounds %struct.ImGuiTabBar, ptr %380, i32 0, i32 17
  %382 = load float, ptr %381, align 4, !tbaa !114
  %383 = fcmp olt float %379, %382
  br i1 %383, label %392, label %384

384:                                              ; preds = %376
  %385 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %386 = getelementptr inbounds %struct.ImVec2, ptr %385, i32 0, i32 0
  %387 = load float, ptr %386, align 4, !tbaa !115
  %388 = load ptr, ptr %6, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiTabBar, ptr %388, i32 0, i32 18
  %390 = load float, ptr %389, align 8, !tbaa !116
  %391 = fcmp ogt float %387, %390
  br label %392

392:                                              ; preds = %384, %376
  %393 = phi i1 [ true, %376 ], [ %391, %384 ]
  br label %394

394:                                              ; preds = %392, %369
  %395 = phi i1 [ false, %369 ], [ %393, %392 ]
  %396 = zext i1 %395 to i8
  store i8 %396, ptr %35, align 1, !tbaa !87
  %397 = load i8, ptr %35, align 1, !tbaa !87, !range !21, !noundef !22
  %398 = trunc i8 %397 to i1
  br i1 %398, label %399, label %417

399:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #11
  %400 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %401 = getelementptr inbounds %struct.ImVec2, ptr %400, i32 0, i32 0
  %402 = load float, ptr %401, align 4, !tbaa !113
  %403 = load ptr, ptr %6, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiTabBar, ptr %403, i32 0, i32 17
  %405 = load float, ptr %404, align 4, !tbaa !114
  %406 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %402, float noundef %405)
  %407 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %408 = getelementptr inbounds %struct.ImVec2, ptr %407, i32 0, i32 1
  %409 = load float, ptr %408, align 4, !tbaa !117
  %410 = fsub float %409, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %36, float noundef %406, float noundef %410)
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %411 = load ptr, ptr %6, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.ImGuiTabBar, ptr %411, i32 0, i32 18
  %413 = load float, ptr %412, align 8, !tbaa !116
  %414 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %415 = getelementptr inbounds %struct.ImVec2, ptr %414, i32 0, i32 1
  %416 = load float, ptr %415, align 4, !tbaa !118
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %413, float noundef %416)
  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 %417

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

431:                                              ; preds = %417
  %432 = load i8, ptr %35, align 1, !tbaa !87, !range !21, !noundef !22
  %433 = trunc i8 %432 to i1
  br i1 %433, label %434, label %435

434:                                              ; preds = %431
  call void @_ZN5ImGui11PopClipRectEv()
  br label %435

435:                                              ; preds = %434, %431
  %436 = load ptr, ptr %11, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiWindow, ptr %436, i32 0, i32 53
  %438 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %437, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %438, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !109
  %439 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %440 = trunc i8 %439 to i1
  store i1 %440, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %731

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

451:                                              ; preds = %441
  %452 = load i32, ptr %40, align 4, !tbaa !9
  %453 = or i32 %452, 512
  store i32 %453, ptr %40, align 4, !tbaa !9
  br label %454

454:                                              ; preds = %451, %441
  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
  %455 = load i32, ptr %14, align 4, !tbaa !9
  %456 = load i32, ptr %40, align 4, !tbaa !9
  %457 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %455, ptr noundef %41, ptr noundef %42, i32 noundef %456)
  %458 = zext i1 %457 to i8
  store i8 %458, ptr %43, align 1, !tbaa !87
  %459 = load i8, ptr %43, align 1, !tbaa !87, !range !21, !noundef !22
  %460 = trunc i8 %459 to i1
  br i1 %460, label %461, label %468

461:                                              ; preds = %454
  %462 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %463 = trunc i8 %462 to i1
  br i1 %463, label %468, label %464

464:                                              ; preds = %461
  %465 = load i32, ptr %14, align 4, !tbaa !9
  %466 = load ptr, ptr %6, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.ImGuiTabBar, ptr %466, i32 0, i32 4
  store i32 %465, ptr %467, align 4, !tbaa !103
  br label %468

468:                                              ; preds = %464, %461, %454
  %469 = load ptr, ptr %10, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.ImGuiContext, ptr %469, i32 0, i32 37
  %471 = load i32, ptr %470, align 4, !tbaa !121
  %472 = load i32, ptr %14, align 4, !tbaa !9
  %473 = icmp eq i32 %471, %472
  %474 = zext i1 %473 to i32
  %475 = load i8, ptr %41, align 1, !tbaa !87, !range !21, !noundef !22
  %476 = trunc i8 %475 to i1
  %477 = zext i1 %476 to i32
  %478 = or i32 %477, %474
  %479 = icmp ne i32 %478, 0
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %41, align 1, !tbaa !87
  %481 = load ptr, ptr %10, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.ImGuiContext, ptr %481, i32 0, i32 45
  %483 = load i32, ptr %482, align 8, !tbaa !122
  %484 = load i32, ptr %14, align 4, !tbaa !9
  %485 = icmp ne i32 %483, %484
  br i1 %485, label %486, label %487

486:                                              ; preds = %468
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %487

487:                                              ; preds = %486, %468
  %488 = load i8, ptr %42, align 1, !tbaa !87, !range !21, !noundef !22
  %489 = trunc i8 %488 to i1
  br i1 %489, label %490, label %563

490:                                              ; preds = %487
  %491 = load i8, ptr %22, align 1, !tbaa !87, !range !21, !noundef !22
  %492 = trunc i8 %491 to i1
  br i1 %492, label %563, label %493

493:                                              ; preds = %490
  %494 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %494, label %495, label %563

495:                                              ; preds = %493
  %496 = load ptr, ptr %10, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.ImGuiContext, ptr %496, i32 0, i32 146
  %498 = load i8, ptr %497, align 4, !tbaa !120, !range !21, !noundef !22
  %499 = trunc i8 %498 to i1
  br i1 %499, label %562, label %500

500:                                              ; preds = %495
  %501 = load ptr, ptr %6, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.ImGuiTabBar, ptr %501, i32 0, i32 1
  %503 = load i32, ptr %502, align 8, !tbaa !99
  %504 = and i32 %503, 1
  %505 = icmp ne i32 %504, 0
  br i1 %505, label %506, label %562

506:                                              ; preds = %500
  %507 = load ptr, ptr %10, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.ImGuiContext, ptr %507, i32 0, i32 3
  %509 = getelementptr inbounds %struct.ImGuiIO, ptr %508, i32 0, i32 59
  %510 = getelementptr inbounds %struct.ImVec2, ptr %509, i32 0, i32 0
  %511 = load float, ptr %510, align 8, !tbaa !123
  %512 = fcmp olt float %511, 0.000000e+00
  br i1 %512, label %513, label %533

513:                                              ; preds = %506
  %514 = load ptr, ptr %10, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.ImGuiContext, ptr %514, i32 0, i32 3
  %516 = getelementptr inbounds %struct.ImGuiIO, ptr %515, i32 0, i32 36
  %517 = getelementptr inbounds %struct.ImVec2, ptr %516, i32 0, i32 0
  %518 = load float, ptr %517, align 8, !tbaa !124
  %519 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 0
  %520 = getelementptr inbounds %struct.ImVec2, ptr %519, i32 0, i32 0
  %521 = load float, ptr %520, align 4, !tbaa !113
  %522 = fcmp olt float %518, %521
  br i1 %522, label %523, label %533

523:                                              ; preds = %513
  %524 = load ptr, ptr %6, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.ImGuiTabBar, ptr %524, i32 0, i32 1
  %526 = load i32, ptr %525, align 8, !tbaa !99
  %527 = and i32 %526, 1
  %528 = icmp ne i32 %527, 0
  br i1 %528, label %529, label %532

529:                                              ; preds = %523
  %530 = load ptr, ptr %6, align 8, !tbaa !5
  %531 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %530, ptr noundef %531, i32 noundef -1)
  br label %532

532:                                              ; preds = %529, %523
  br label %561

533:                                              ; preds = %513, %506
  %534 = load ptr, ptr %10, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.ImGuiContext, ptr %534, i32 0, i32 3
  %536 = getelementptr inbounds %struct.ImGuiIO, ptr %535, i32 0, i32 59
  %537 = getelementptr inbounds %struct.ImVec2, ptr %536, i32 0, i32 0
  %538 = load float, ptr %537, align 8, !tbaa !123
  %539 = fcmp ogt float %538, 0.000000e+00
  br i1 %539, label %540, label %560

540:                                              ; preds = %533
  %541 = load ptr, ptr %10, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.ImGuiContext, ptr %541, i32 0, i32 3
  %543 = getelementptr inbounds %struct.ImGuiIO, ptr %542, i32 0, i32 36
  %544 = getelementptr inbounds %struct.ImVec2, ptr %543, i32 0, i32 0
  %545 = load float, ptr %544, align 8, !tbaa !124
  %546 = getelementptr inbounds %struct.ImRect, ptr %33, i32 0, i32 1
  %547 = getelementptr inbounds %struct.ImVec2, ptr %546, i32 0, i32 0
  %548 = load float, ptr %547, align 4, !tbaa !115
  %549 = fcmp ogt float %545, %548
  br i1 %549, label %550, label %560

550:                                              ; preds = %540
  %551 = load ptr, ptr %6, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.ImGuiTabBar, ptr %551, i32 0, i32 1
  %553 = load i32, ptr %552, align 8, !tbaa !99
  %554 = and i32 %553, 1
  %555 = icmp ne i32 %554, 0
  br i1 %555, label %556, label %559

556:                                              ; preds = %550
  %557 = load ptr, ptr %6, align 8, !tbaa !5
  %558 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %557, ptr noundef %558, i32 noundef 1)
  br label %559

559:                                              ; preds = %556, %550
  br label %560

560:                                              ; preds = %559, %540, %533
  br label %561

561:                                              ; preds = %560, %532
  br label %562

562:                                              ; preds = %561, %500, %495
  br label %563

563:                                              ; preds = %562, %493, %490, %487
  call void @llvm.lifetime.start.p0(i64 8, ptr %44) #11
  %564 = load ptr, ptr %11, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.ImGuiWindow, ptr %564, i32 0, i32 71
  %566 = load ptr, ptr %565, align 8, !tbaa !125
  store ptr %566, ptr %44, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #11
  %567 = load i8, ptr %42, align 1, !tbaa !87, !range !21, !noundef !22
  %568 = trunc i8 %567 to i1
  br i1 %568, label %572, label %569

569:                                              ; preds = %563
  %570 = load i8, ptr %41, align 1, !tbaa !87, !range !21, !noundef !22
  %571 = trunc i8 %570 to i1
  br i1 %571, label %572, label %573

572:                                              ; preds = %569, %563
  br label %588

573:                                              ; preds = %569
  %574 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %575 = trunc i8 %574 to i1
  br i1 %575, label %576, label %581

576:                                              ; preds = %573
  %577 = load i8, ptr %21, align 1, !tbaa !87, !range !21, !noundef !22
  %578 = trunc i8 %577 to i1
  %579 = zext i1 %578 to i64
  %580 = select i1 %578, i32 35, i32 37
  br label %586

581:                                              ; preds = %573
  %582 = load i8, ptr %21, align 1, !tbaa !87, !range !21, !noundef !22
  %583 = trunc i8 %582 to i1
  %584 = zext i1 %583 to i64
  %585 = select i1 %583, i32 33, i32 36
  br label %586

586:                                              ; preds = %581, %576
  %587 = phi i32 [ %580, %576 ], [ %585, %581 ]
  br label %588

588:                                              ; preds = %586, %572
  %589 = phi i32 [ 34, %572 ], [ %587, %586 ]
  %590 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %589, float noundef 1.000000e+00)
  store i32 %590, ptr %45, align 4, !tbaa !9
  %591 = load ptr, ptr %44, align 8, !tbaa !5
  %592 = load i32, ptr %9, align 4, !tbaa !9
  %593 = load i32, ptr %45, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %591, ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %592, i32 noundef %593)
  %594 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %594, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %46) #11
  %595 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  %596 = zext i1 %595 to i8
  store i8 %596, ptr %46, align 1, !tbaa !87
  %597 = load i8, ptr %46, align 1, !tbaa !87, !range !21, !noundef !22
  %598 = trunc i8 %597 to i1
  br i1 %598, label %599, label %611

599:                                              ; preds = %588
  %600 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %600, label %603, label %601

601:                                              ; preds = %599
  %602 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %602, label %603, label %611

603:                                              ; preds = %601, %599
  %604 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %605 = trunc i8 %604 to i1
  br i1 %605, label %610, label %606

606:                                              ; preds = %603
  %607 = load i32, ptr %14, align 4, !tbaa !9
  %608 = load ptr, ptr %6, align 8, !tbaa !5
  %609 = getelementptr inbounds %struct.ImGuiTabBar, ptr %608, i32 0, i32 4
  store i32 %607, ptr %609, align 4, !tbaa !103
  br label %610

610:                                              ; preds = %606, %603
  br label %611

611:                                              ; preds = %610, %601, %588
  %612 = load ptr, ptr %6, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.ImGuiTabBar, ptr %612, i32 0, i32 1
  %614 = load i32, ptr %613, align 8, !tbaa !99
  %615 = and i32 %614, 8
  %616 = icmp ne i32 %615, 0
  br i1 %616, label %617, label %620

617:                                              ; preds = %611
  %618 = load i32, ptr %9, align 4, !tbaa !9
  %619 = or i32 %618, 4
  store i32 %619, ptr %9, align 4, !tbaa !9
  br label %620

620:                                              ; preds = %617, %611
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #11
  %621 = load ptr, ptr %8, align 8, !tbaa !5
  %622 = icmp ne ptr %621, null
  br i1 %622, label %623, label %626

623:                                              ; preds = %620
  %624 = load i32, ptr %14, align 4, !tbaa !9
  %625 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef @.str.140, ptr noundef null, i32 noundef %624)
  br label %627

626:                                              ; preds = %620
  br label %627

627:                                              ; preds = %626, %623
  %628 = phi i32 [ %625, %623 ], [ 0, %626 ]
  store i32 %628, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %48) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #11
  %629 = load ptr, ptr %44, align 8, !tbaa !5
  %630 = load i32, ptr %9, align 4, !tbaa !9
  %631 = load ptr, ptr %6, align 8, !tbaa !5
  %632 = getelementptr inbounds %struct.ImGuiTabBar, ptr %631, i32 0, i32 28
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %50, ptr align 8 %632, i64 8, i1 false), !tbaa.struct !109
  %633 = load ptr, ptr %7, align 8, !tbaa !5
  %634 = load i32, ptr %14, align 4, !tbaa !9
  %635 = load i32, ptr %47, align 4, !tbaa !9
  %636 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %637 = trunc i8 %636 to i1
  %638 = load <2 x float>, ptr %50, align 4
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %629, ptr noundef nonnull align 4 dereferenceable(16) %33, i32 noundef %630, <2 x float> %638, ptr noundef %633, i32 noundef %634, i32 noundef %635, i1 noundef zeroext %637, ptr noundef %48, ptr noundef %49)
  %639 = load i8, ptr %48, align 1, !tbaa !87, !range !21, !noundef !22
  %640 = trunc i8 %639 to i1
  br i1 %640, label %641, label %648

641:                                              ; preds = %627
  %642 = load ptr, ptr %8, align 8, !tbaa !5
  %643 = icmp ne ptr %642, null
  br i1 %643, label %644, label %648

644:                                              ; preds = %641
  %645 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %645, align 1, !tbaa !87
  %646 = load ptr, ptr %6, align 8, !tbaa !5
  %647 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %646, ptr noundef %647)
  br label %648

648:                                              ; preds = %644, %641, %627
  %649 = load i8, ptr %35, align 1, !tbaa !87, !range !21, !noundef !22
  %650 = trunc i8 %649 to i1
  br i1 %650, label %651, label %652

651:                                              ; preds = %648
  call void @_ZN5ImGui11PopClipRectEv()
  br label %652

652:                                              ; preds = %651, %648
  %653 = load ptr, ptr %11, align 8, !tbaa !5
  %654 = getelementptr inbounds %struct.ImGuiWindow, ptr %653, i32 0, i32 53
  %655 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %654, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %655, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !109
  %656 = load i8, ptr %49, align 1, !tbaa !87, !range !21, !noundef !22
  %657 = trunc i8 %656 to i1
  br i1 %657, label %658, label %699

658:                                              ; preds = %652
  %659 = load ptr, ptr %10, align 8, !tbaa !5
  %660 = getelementptr inbounds %struct.ImGuiContext, ptr %659, i32 0, i32 37
  %661 = load i32, ptr %660, align 4, !tbaa !121
  %662 = load i32, ptr %14, align 4, !tbaa !9
  %663 = icmp eq i32 %661, %662
  br i1 %663, label %664, label %699

664:                                              ; preds = %658
  %665 = load i8, ptr %42, align 1, !tbaa !87, !range !21, !noundef !22
  %666 = trunc i8 %665 to i1
  br i1 %666, label %699, label %667

667:                                              ; preds = %664
  %668 = load ptr, ptr %10, align 8, !tbaa !5
  %669 = getelementptr inbounds %struct.ImGuiContext, ptr %668, i32 0, i32 44
  %670 = load float, ptr %669, align 4, !tbaa !126
  %671 = load ptr, ptr %10, align 8, !tbaa !5
  %672 = getelementptr inbounds %struct.ImGuiContext, ptr %671, i32 0, i32 192
  %673 = load float, ptr %672, align 4, !tbaa !127
  %674 = fcmp ogt float %670, %673
  br i1 %674, label %675, label %699

675:                                              ; preds = %667
  %676 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %676, label %677, label %699

677:                                              ; preds = %675
  %678 = load ptr, ptr %6, align 8, !tbaa !5
  %679 = getelementptr inbounds %struct.ImGuiTabBar, ptr %678, i32 0, i32 1
  %680 = load i32, ptr %679, align 8, !tbaa !99
  %681 = and i32 %680, 32
  %682 = icmp ne i32 %681, 0
  br i1 %682, label %698, label %683

683:                                              ; preds = %677
  %684 = load ptr, ptr %17, align 8, !tbaa !5
  %685 = getelementptr inbounds %struct.ImGuiTabItem, ptr %684, i32 0, i32 1
  %686 = load i32, ptr %685, align 4, !tbaa !101
  %687 = and i32 %686, 16
  %688 = icmp ne i32 %687, 0
  br i1 %688, label %698, label %689

689:                                              ; preds = %683
  %690 = load ptr, ptr %7, align 8, !tbaa !5
  %691 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %690, ptr noundef null)
  %692 = load ptr, ptr %7, align 8, !tbaa !5
  %693 = ptrtoint ptr %691 to i64
  %694 = ptrtoint ptr %692 to i64
  %695 = sub i64 %693, %694
  %696 = trunc i64 %695 to i32
  %697 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.172, i32 noundef %696, ptr noundef %697)
  br label %698

698:                                              ; preds = %689, %683, %677
  br label %699

699:                                              ; preds = %698, %675, %667, %664, %658, %652
  %700 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %701 = trunc i8 %700 to i1
  br i1 %701, label %702, label %716

702:                                              ; preds = %699
  %703 = load ptr, ptr %6, align 8, !tbaa !5
  %704 = getelementptr inbounds %struct.ImGuiTabBar, ptr %703, i32 0, i32 3
  %705 = load i32, ptr %704, align 8, !tbaa !104
  %706 = load ptr, ptr %17, align 8, !tbaa !5
  %707 = getelementptr inbounds %struct.ImGuiTabItem, ptr %706, i32 0, i32 0
  %708 = load i32, ptr %707, align 4, !tbaa !88
  %709 = icmp eq i32 %705, %708
  br i1 %709, label %710, label %713

710:                                              ; preds = %702
  %711 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %712 = trunc i8 %711 to i1
  br label %713

713:                                              ; preds = %710, %702
  %714 = phi i1 [ false, %702 ], [ %712, %710 ]
  %715 = xor i1 %714, true
  br label %716

716:                                              ; preds = %713, %699
  %717 = phi i1 [ true, %699 ], [ %715, %713 ]
  br i1 %717, label %718, label %719

718:                                              ; preds = %716
  br label %721

719:                                              ; preds = %716
  call void @__assert_fail(ptr noundef @.str.173, ptr noundef @.str.1, i32 noundef 7776, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

720:                                              ; No predecessors!
  br label %721

721:                                              ; preds = %720, %718
  %722 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %723 = trunc i8 %722 to i1
  br i1 %723, label %724, label %727

724:                                              ; preds = %721
  %725 = load i8, ptr %43, align 1, !tbaa !87, !range !21, !noundef !22
  %726 = trunc i8 %725 to i1
  store i1 %726, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %730

727:                                              ; preds = %721
  %728 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %729 = trunc i8 %728 to i1
  store i1 %729, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %730

730:                                              ; preds = %727, %724
  call void @llvm.lifetime.end.p0(i64 1, 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 1, ptr %46) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %44) #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 %731

731:                                              ; preds = %730, %435
  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 %732

732:                                              ; preds = %731, %310, %309
  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 %733

733:                                              ; preds = %732, %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #11
  br label %734

734:                                              ; preds = %733, %66
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  %735 = load i1, ptr %5, align 1
  ret i1 %735
}

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

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

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

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

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 #6 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { "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"="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 #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, !17, i64 106}
!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, !7, i64 104, !7, i64 105, !17, i64 106, !17, i64 107, !17, i64 108, !18, i64 110, !18, 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 = !{!"bool", !7, i64 0}
!18 = !{!"short", !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 6880}
!24 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !25, i64 8, !27, i64 5472, !6, i64 6520, !16, i64 6528, !16, i64 6532, !28, i64 6536, !30, i64 6752, !10, i64 6760, !10, i64 6764, !10, i64 6768, !17, i64 6772, !17, i64 6773, !17, i64 6774, !17, i64 6775, !17, i64 6776, !10, i64 6780, !6, i64 6784, !31, i64 6792, !31, i64 6808, !31, i64 6824, !31, i64 6840, !32, i64 6856, !10, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !15, i64 6928, !16, i64 6936, !10, i64 6940, !10, i64 6944, !17, i64 6948, !17, i64 6949, !17, i64 6950, !17, i64 6951, !16, i64 6952, !16, i64 6956, !10, i64 6960, !10, i64 6964, !16, i64 6968, !17, i64 6972, !17, i64 6973, !17, i64 6974, !17, i64 6975, !17, i64 6976, !17, i64 6977, !17, i64 6978, !10, i64 6980, !10, i64 6984, !34, i64 6992, !15, i64 7000, !6, i64 7008, !35, i64 7016, !10, i64 7020, !10, i64 7024, !17, i64 7028, !17, i64 7029, !6, i64 7032, !10, i64 7040, !16, i64 7044, !36, i64 7048, !37, i64 7160, !38, i64 7184, !39, i64 7200, !40, i64 7216, !41, i64 7232, !42, i64 7248, !43, i64 7264, !44, i64 7280, !44, i64 7296, !6, i64 7312, !10, i64 7320, !10, i64 7324, !10, i64 7328, !10, i64 7332, !10, i64 7336, !10, i64 7340, !10, i64 7344, !10, i64 7348, !10, i64 7352, !10, i64 7356, !10, i64 7360, !35, i64 7364, !14, i64 7368, !10, i64 7384, !45, i64 7388, !10, i64 7392, !17, i64 7396, !17, i64 7397, !17, i64 7398, !17, i64 7399, !17, i64 7400, !17, i64 7401, !17, i64 7402, !10, i64 7404, !14, i64 7408, !17, i64 7424, !10, i64 7428, !46, i64 7432, !10, i64 7436, !10, i64 7440, !10, i64 7444, !10, i64 7448, !47, i64 7456, !47, i64 7504, !47, i64 7552, !6, i64 7600, !10, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !16, i64 7640, !16, i64 7644, !17, i64 7648, !6, i64 7656, !6, i64 7664, !10, i64 7672, !10, i64 7676, !10, i64 7680, !10, i64 7684, !17, i64 7688, !48, i64 7696, !49, i64 7752, !16, i64 7784, !50, i64 7792, !50, i64 7992, !10, i64 8192, !17, i64 8196, !17, i64 8197, !17, i64 8198, !10, i64 8200, !10, i64 8204, !10, i64 8208, !59, i64 8216, !14, i64 8280, !10, i64 8296, !10, i64 8300, !16, i64 8304, !10, i64 8308, !10, i64 8312, !10, i64 8316, !10, i64 8320, !60, i64 8328, !7, i64 8344, !6, i64 8360, !61, i64 8368, !63, i64 8408, !64, i64 8424, !58, i64 8440, !6, i64 8456, !65, i64 8464, !63, i64 8504, !67, i64 8520, !15, i64 8536, !68, i64 8544, !71, i64 12280, !10, i64 12392, !10, i64 12396, !16, i64 12400, !16, i64 12404, !7, i64 12408, !29, i64 12420, !16, i64 12436, !17, i64 12440, !17, i64 12441, !16, i64 12444, !16, i64 12448, !16, i64 12452, !10, i64 12456, !16, i64 12460, !20, i64 12464, !41, i64 12480, !15, i64 12496, !15, i64 12504, !7, i64 12512, !17, i64 12513, !16, i64 12516, !19, i64 12520, !73, i64 12536, !74, i64 12552, !75, i64 12568, !76, i64 12584, !17, i64 12600, !77, i64 12604, !6, i64 12608, !19, i64 12616, !16, i64 12632, !17, i64 12636, !10, i64 12640, !10, i64 12644, !10, i64 12648, !17, i64 12652, !10, i64 12656, !78, i64 12660, !7, i64 12676, !10, i64 13156, !16, i64 13160, !10, i64 13164, !10, i64 13168, !10, i64 13172, !7, i64 13176}
!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, !17, i64 172, !6, i64 176, !15, i64 184, !17, i64 192, !17, i64 193, !17, i64 194, !17, i64 195, !17, i64 196, !17, 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, !17, i64 312, !17, i64 313, !17, i64 314, !17, i64 315, !7, i64 316, !7, i64 828, !17, i64 912, !17, i64 913, !17, i64 914, !17, i64 915, !17, i64 916, !17, i64 917, !17, i64 918, !16, i64 920, !10, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !15, i64 944, !10, i64 952, !15, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440, !18, i64 5444, !26, i64 5448}
!26 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !10, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !16, i64 104, !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, !10, i64 144, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !16, i64 180, !17, i64 184, !17, i64 185, !17, i64 186, !16, i64 188, !16, i64 192, !7, i64 196}
!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, !7, i64 144, !6, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"long long", !7, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_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, !17, i64 56, !14, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!37 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !17, i64 16}
!38 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!46 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!47 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !14, i64 28}
!48 = !{!"_ZTS10ImDrawData", !17, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!49 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!50 = !{!"_ZTS10ImDrawList", !51, i64 0, !26, i64 16, !52, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !53, i64 88, !54, i64 104, !55, i64 120, !56, i64 136, !57, i64 168, !16, i64 192}
!51 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS15ImDrawCmdHeader", !29, i64 0, !6, i64 16, !10, i64 24}
!57 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !58, i64 8}
!58 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!60 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS6ImPoolI10ImGuiTableE", !62, i64 0, !32, i64 16, !10, i64 32}
!62 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !66, i64 0, !32, i64 16, !10, i64 32}
!66 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !20, i64 32, !20, i64 48, !17, i64 64, !10, i64 68, !16, i64 72, !69, i64 76, !16, i64 3704, !17, i64 3708, !17, i64 3709, !17, i64 3710, !10, i64 3712, !6, i64 3720, !6, i64 3728}
!69 = !{!"_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, !70, i64 32}
!70 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!71 = !{!"_ZTS6ImFont", !64, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !72, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !18, i64 80, !18, i64 82, !18, i64 84, !17, i64 86, !16, i64 88, !16, i64 92, !16, i64 96, !10, i64 100, !7, i64 104}
!72 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!74 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!75 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !20, i64 0}
!76 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !10, i64 0, !10, i64 4, !6, i64 8}
!77 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!78 = !{!"_ZTS18ImGuiMetricsConfig", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !17, i64 4, !10, i64 8, !10, i64 12}
!79 = !{!80, !17, i64 147}
!80 = !{!"_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, !17, i64 140, !17, i64 141, !17, i64 142, !17, i64 143, !17, i64 144, !17, i64 145, !17, i64 146, !17, i64 147, !17, i64 148, !17, i64 149, !17, i64 150, !17, i64 151, !7, i64 152, !18, i64 154, !18, i64 156, !18, i64 158, !10, i64 160, !7, i64 164, !7, i64 165, !7, i64 166, !17, i64 167, !10, i64 168, !7, i64 172, !7, i64 173, !7, i64 174, !10, i64 175, !10, i64 176, !10, i64 177, !15, i64 180, !15, i64 188, !41, i64 200, !81, i64 216, !14, i64 520, !14, i64 536, !14, i64 552, !14, i64 568, !14, i64 584, !14, i64 600, !14, i64 616, !85, i64 632, !85, i64 636, !10, i64 640, !16, i64 644, !16, i64 648, !32, i64 656, !86, i64 672, !16, i64 688, !10, i64 692, !6, i64 696, !50, i64 704, !6, i64 904, !6, i64 912, !6, i64 920, !6, i64 928, !6, i64 936, !7, i64 944, !7, i64 952, !10, i64 984, !10, i64 988, !17, i64 992}
!81 = !{!"_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, !82, i64 64, !82, i64 68, !82, i64 72, !10, i64 76, !10, i64 80, !14, i64 84, !14, i64 100, !45, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !17, i64 132, !17, i64 133, !17, i64 134, !15, i64 136, !83, i64 144, !10, i64 180, !10, i64 184, !31, i64 192, !6, i64 208, !6, i64 216, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !16, i64 248, !16, i64 252, !64, i64 256, !64, i64 272, !84, i64 288}
!82 = !{!"_ZTS6ImVec1", !16, i64 0}
!83 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!84 = !{!"_ZTS15ImGuiStackSizes", !18, i64 0, !18, i64 2, !18, i64 4, !18, i64 6, !18, i64 8, !18, i64 10, !18, i64 12}
!85 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!86 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!17, !17, i64 0}
!88 = !{!89, !10, i64 0}
!89 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !18, i64 28, !18, i64 30, !18, i64 32, !17, i64 34}
!90 = !{!15, !16, i64 0}
!91 = !{!89, !16, i64 20}
!92 = !{!12, !17, i64 108}
!93 = !{!12, !18, i64 112}
!94 = !{!89, !16, i64 24}
!95 = !{!12, !18, i64 110}
!96 = !{!89, !18, i64 30}
!97 = !{!12, !10, i64 40}
!98 = !{!24, !10, i64 6760}
!99 = !{!12, !10, i64 16}
!100 = !{!89, !10, i64 8}
!101 = !{!89, !10, i64 4}
!102 = !{!89, !18, i64 28}
!103 = !{!12, !10, i64 28}
!104 = !{!12, !10, i64 24}
!105 = !{!12, !10, i64 32}
!106 = !{!12, !17, i64 107}
!107 = !{!12, !10, i64 0}
!108 = !{!89, !10, i64 12}
!109 = !{i64 0, i64 4, !110, i64 4, i64 4, !110}
!110 = !{!16, !16, i64 0}
!111 = !{!89, !16, i64 16}
!112 = !{!12, !16, i64 76}
!113 = !{!14, !16, i64 0}
!114 = !{!12, !16, i64 92}
!115 = !{!14, !16, i64 8}
!116 = !{!12, !16, i64 96}
!117 = !{!14, !16, i64 4}
!118 = !{!14, !16, i64 12}
!119 = !{!27, !16, i64 60}
!120 = !{!24, !17, i64 8196}
!121 = !{!24, !10, i64 6940}
!122 = !{!24, !10, i64 6960}
!123 = !{!24, !16, i64 952}
!124 = !{!24, !16, i64 296}
!125 = !{!80, !6, i64 696}
!126 = !{!24, !16, i64 6956}
!127 = !{!24, !16, i64 12460}


; 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, i16, i16, i16, i8, i8 }>

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.140 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.172 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.173 = 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #2

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

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

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

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

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

declare noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef, float noundef) local_unnamed_addr #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) local_unnamed_addr #7

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

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

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

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

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

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

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

declare void @_ZN5ImGui12PushItemFlagEib(i32 noundef, i1 noundef zeroext) local_unnamed_addr #6

declare void @_ZN5ImGui11PopItemFlagEv() local_unnamed_addr #6

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

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

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #6

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; 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 #7 {
  %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 106
  %22 = load i8, ptr %21, align 2, !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 6880
  %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 !78, !range !19, !noundef !20
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %310, 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 !86, !range !19, !noundef !20
  %36 = trunc nuw i8 %35 to i1
  br i1 %36, label %39, label %37

37:                                               ; preds = %34
  tail call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  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_(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef %33, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #10
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %310

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.170, ptr noundef nonnull @.str.1, i32 noundef 7592, 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.171, ptr noundef nonnull @.str.1, i32 noundef 7593, 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 36, ptr nonnull %7) #10
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(35) %7)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(35) %7)
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %7) #10
  %53 = call noundef nonnull align 4 dereferenceable(35) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %33, ptr %53, align 4, !tbaa !87
  %54 = load float, ptr %6, align 8, !tbaa !89
  %55 = getelementptr inbounds i8, ptr %53, i64 20
  store float %54, ptr %55, align 4, !tbaa !90
  %56 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 1, ptr %56, align 4, !tbaa !91
  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 !92
  %61 = load float, ptr %6, align 8, !tbaa !89
  %62 = getelementptr inbounds i8, ptr %.0184, i64 24
  store float %61, ptr %62, align 4, !tbaa !93
  %63 = getelementptr inbounds i8, ptr %0, i64 110
  %64 = load i16, ptr %63, align 2, !tbaa !94
  %65 = add i16 %64, 1
  store i16 %65, ptr %63, align 2, !tbaa !94
  %66 = getelementptr inbounds i8, ptr %.0184, i64 30
  store i16 %64, ptr %66, align 2, !tbaa !95
  %67 = getelementptr inbounds i8, ptr %0, i64 40
  %68 = load i32, ptr %67, align 8, !tbaa !96
  %69 = add nsw i32 %68, 1
  %70 = getelementptr inbounds i8, ptr %26, i64 6760
  %71 = load i32, ptr %70, align 8, !tbaa !97
  %72 = icmp sge i32 %69, %71
  %73 = getelementptr inbounds i8, ptr %0, i64 16
  %74 = load i32, ptr %73, align 8, !tbaa !98
  %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 !99
  %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 !99
  %81 = getelementptr inbounds i8, ptr %.0184, i64 4
  store i32 %.0182, ptr %81, align 4, !tbaa !100
  %82 = getelementptr inbounds i8, ptr %0, i64 136
  %83 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %82)
  %84 = trunc i32 %83 to i16
  %85 = getelementptr inbounds i8, ptr %.0184, i64 28
  store i16 %84, ptr %85, align 4, !tbaa !101
  %86 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #12
  %87 = getelementptr inbounds i8, ptr %1, i64 %86
  %88 = getelementptr inbounds i8, ptr %87, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %82, ptr noundef %1, ptr noundef nonnull %88)
  br i1 %79, label %89, label %103

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

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

96:                                               ; preds = %92
  br i1 %72, label %101, label %97

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

101:                                              ; preds = %96
  br i1 %.not198, label %102, label %103

102:                                              ; preds = %97, %101
  store i32 %33, ptr %93, align 4, !tbaa !102
  br label %103

103:                                              ; preds = %97, %102, %101, %92, %89, %57
  %104 = and i32 %.0182, 2
  %.not200 = icmp eq i32 %104, 0
  br i1 %.not200, label %110, label %105

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

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

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

114:                                              ; preds = %110
  %115 = getelementptr inbounds i8, ptr %0, i64 107
  store i8 1, ptr %115, align 1, !tbaa !105
  br label %125

.critedge215:                                     ; preds = %110
  %116 = getelementptr inbounds i8, ptr %0, i64 24
  %117 = load i32, ptr %116, align 8, !tbaa !103
  %118 = icmp ne i32 %117, 0
  %brmerge218 = select i1 %118, i1 true, i1 %72
  br i1 %brmerge218, label %125, label %119

119:                                              ; preds = %.critedge215
  %120 = load i32, ptr %0, align 8, !tbaa !106
  %121 = icmp eq i32 %120, 1
  br i1 %121, label %122, label %125

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

125:                                              ; preds = %122, %114, %.critedge215, %119
  %.0187.shrunk = phi i1 [ true, %114 ], [ false, %119 ], [ false, %.critedge215 ], [ %.not202, %122 ]
  %brmerge221 = or i1 %51, %72
  %or.cond233 = select i1 %79, i1 %brmerge221, i1 false
  br i1 %or.cond233, label %126, label %128

126:                                              ; preds = %125
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %127 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %33, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #10
  call void @_ZN5ImGui11PopItemFlagEv()
  %.0187.shrunk. = select i1 %.not198, i1 %.0187.shrunk, i1 false
  br label %309

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

132:                                              ; preds = %128
  %133 = load i32, ptr %70, align 8, !tbaa !97
  %134 = getelementptr inbounds i8, ptr %.0184, i64 12
  store i32 %133, ptr %134, align 4, !tbaa !107
  br label %135

135:                                              ; preds = %132, %128
  %136 = getelementptr inbounds i8, ptr %28, i64 216
  %137 = load i64, ptr %136, align 8
  %138 = load i32, ptr %81, align 4, !tbaa !100
  %139 = and i32 %138, 192
  %140 = icmp eq i32 %139, 0
  %141 = getelementptr inbounds i8, ptr %.0184, i64 20
  %142 = load float, ptr %141, align 4, !tbaa !90
  store float %142, ptr %6, align 8, !tbaa !89
  %143 = getelementptr inbounds i8, ptr %0, i64 44
  %144 = getelementptr inbounds i8, ptr %.0184, i64 16
  br i1 %140, label %145, label %153

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

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

156:                                              ; preds = %153, %145
  %.sink = phi <2 x float> [ %152, %145 ], [ %155, %153 ]
  store <2 x float> %.sink, ptr %136, 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
  %157 = 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> %157, 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 %140, label %158, label %.thread238

158:                                              ; preds = %156
  %159 = load float, ptr %12, align 4, !tbaa !110
  %160 = getelementptr inbounds i8, ptr %0, i64 92
  %161 = load float, ptr %160, align 4, !tbaa !111
  %162 = fcmp olt float %159, %161
  br i1 %162, label %.thread237, label %163

163:                                              ; preds = %158
  %164 = getelementptr inbounds i8, ptr %12, i64 8
  %165 = load float, ptr %164, align 4, !tbaa !112
  %166 = getelementptr inbounds i8, ptr %0, i64 96
  %167 = load float, ptr %166, align 8, !tbaa !113
  %168 = fcmp ogt float %165, %167
  br i1 %168, label %.thread237, label %.thread238

.thread237:                                       ; preds = %158, %163
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #10
  %169 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %159, float noundef %161)
  %170 = getelementptr inbounds i8, ptr %12, i64 4
  %171 = load float, ptr %170, align 4, !tbaa !114
  %172 = fadd float %171, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %169, float noundef %172)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #10
  %173 = getelementptr inbounds i8, ptr %0, i64 96
  %174 = load float, ptr %173, align 8, !tbaa !113
  %175 = getelementptr inbounds i8, ptr %12, i64 12
  %176 = load float, ptr %175, align 4, !tbaa !115
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %174, float noundef %176)
  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 %.thread238

.thread238:                                       ; preds = %156, %.thread237, %163
  %177 = phi i1 [ true, %.thread237 ], [ false, %163 ], [ false, %156 ]
  %178 = getelementptr inbounds i8, ptr %28, i64 240
  %179 = load i64, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #10
  %180 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  store <2 x float> %180, ptr %16, align 8
  %181 = getelementptr inbounds i8, ptr %26, i64 5532
  %182 = load float, ptr %181, align 4, !tbaa !116
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %182)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #10
  store i64 %179, ptr %178, align 8
  %183 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %33, ptr noundef null)
  br i1 %183, label %187, label %184

184:                                              ; preds = %.thread238
  br i1 %177, label %185, label %186

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

186:                                              ; preds = %185, %184
  store i64 %137, ptr %136, align 8
  br label %308

187:                                              ; preds = %.thread238
  %188 = select i1 %.not198, i32 4112, i32 4128
  %189 = getelementptr inbounds i8, ptr %26, i64 8196
  %190 = load i8, ptr %189, align 4, !tbaa !117, !range !19, !noundef !20
  %191 = trunc nuw i8 %190 to i1
  %192 = or disjoint i32 %188, 512
  %spec.select222 = select i1 %191, i32 %192, i32 %188
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #10
  %193 = 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.select222)
  %194 = select i1 %193, i1 %.not198, i1 false
  br i1 %194, label %195, label %197

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

197:                                              ; preds = %187, %195
  %198 = getelementptr inbounds i8, ptr %26, i64 6940
  %199 = load i32, ptr %198, align 4, !tbaa !118
  %200 = icmp eq i32 %199, %33
  %201 = load i8, ptr %17, align 1, !tbaa !86, !range !19, !noundef !20
  %202 = zext i1 %200 to i8
  %203 = or i8 %201, %202
  store i8 %203, ptr %17, align 1, !tbaa !86
  %204 = getelementptr inbounds i8, ptr %26, i64 6960
  %205 = load i32, ptr %204, align 8, !tbaa !119
  %.not203 = icmp eq i32 %205, %33
  br i1 %.not203, label %207, label %206

206:                                              ; preds = %197
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %207

207:                                              ; preds = %206, %197
  %208 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %209 = trunc nuw i8 %208 to i1
  %.not226 = xor i1 %209, true
  %brmerge227 = select i1 %.not226, i1 true, i1 %79
  br i1 %brmerge227, label %235, label %210

210:                                              ; preds = %207
  %211 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %211, label %212, label %235

212:                                              ; preds = %210
  %213 = load i8, ptr %189, align 4, !tbaa !117, !range !19, !noundef !20
  %214 = trunc nuw i8 %213 to i1
  br i1 %214, label %235, label %215

215:                                              ; preds = %212
  %216 = load i32, ptr %73, align 8, !tbaa !98
  %217 = and i32 %216, 1
  %.not204 = icmp eq i32 %217, 0
  br i1 %.not204, label %235, label %218

218:                                              ; preds = %215
  %219 = getelementptr inbounds i8, ptr %26, i64 952
  %220 = load float, ptr %219, align 8, !tbaa !120
  %221 = fcmp olt float %220, 0.000000e+00
  br i1 %221, label %222, label %227

222:                                              ; preds = %218
  %223 = getelementptr inbounds i8, ptr %26, i64 296
  %224 = load float, ptr %223, align 8, !tbaa !121
  %225 = load float, ptr %12, align 4, !tbaa !110
  %226 = fcmp olt float %224, %225
  br i1 %226, label %.sink.split, label %227

227:                                              ; preds = %222, %218
  %228 = fcmp ogt float %220, 0.000000e+00
  br i1 %228, label %229, label %235

229:                                              ; preds = %227
  %230 = getelementptr inbounds i8, ptr %26, i64 296
  %231 = load float, ptr %230, align 8, !tbaa !121
  %232 = getelementptr inbounds i8, ptr %12, i64 8
  %233 = load float, ptr %232, align 4, !tbaa !112
  %234 = fcmp ogt float %231, %233
  br i1 %234, label %.sink.split, label %235

.sink.split:                                      ; preds = %229, %222
  %.sink240 = phi i32 [ -1, %222 ], [ 1, %229 ]
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef nonnull %0, ptr noundef nonnull %.0184, i32 noundef %.sink240)
  br label %235

235:                                              ; preds = %.sink.split, %207, %212, %215, %227, %229, %210
  %236 = getelementptr inbounds i8, ptr %28, i64 696
  %237 = load ptr, ptr %236, align 8, !tbaa !122
  %238 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %239 = trunc nuw i8 %238 to i1
  br i1 %239, label %248, label %240

240:                                              ; preds = %235
  %241 = load i8, ptr %17, align 1, !tbaa !86, !range !19, !noundef !20
  %242 = trunc nuw i8 %241 to i1
  br i1 %242, label %248, label %243

243:                                              ; preds = %240
  br i1 %.0187.shrunk, label %244, label %246

244:                                              ; preds = %243
  %245 = select i1 %.not197, i32 37, i32 35
  br label %248

246:                                              ; preds = %243
  %247 = select i1 %.not197, i32 36, i32 33
  br label %248

248:                                              ; preds = %244, %246, %235, %240
  %249 = phi i32 [ 34, %240 ], [ 34, %235 ], [ %245, %244 ], [ %247, %246 ]
  %250 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %249, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %237, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %.0182, i32 noundef %250)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %33, i32 noundef 1)
  %251 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  br i1 %251, label %252, label %260

252:                                              ; preds = %248
  %253 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %253, label %257, label %254

254:                                              ; preds = %252
  %255 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  %256 = select i1 %255, i1 %.not198, i1 false
  br i1 %256, label %258, label %260

257:                                              ; preds = %252
  br i1 %.not198, label %258, label %260

258:                                              ; preds = %254, %257
  %259 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %33, ptr %259, align 4, !tbaa !102
  br label %260

260:                                              ; preds = %254, %257, %258, %248
  %261 = load i32, ptr %73, align 8, !tbaa !98
  %262 = lshr i32 %261, 1
  %263 = and i32 %262, 4
  %spec.select231 = or i32 %263, %.0182
  br i1 %48, label %264, label %266

264:                                              ; preds = %260
  %265 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef nonnull @.str.140, ptr noundef null, i32 noundef %33)
  br label %266

266:                                              ; preds = %260, %264
  %267 = phi i32 [ %265, %264 ], [ 0, %260 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #10
  %268 = getelementptr inbounds i8, ptr %0, i64 120
  %.sroa.0.0.copyload = load <2 x float>, ptr %268, align 8
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %237, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %spec.select231, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %33, i32 noundef %267, i1 noundef zeroext %.0187.shrunk, ptr noundef nonnull %19, ptr noundef nonnull %20)
  %269 = load i8, ptr %19, align 1, !tbaa !86, !range !19, !noundef !20
  %270 = trunc nuw i8 %269 to i1
  %or.cond = and i1 %48, %270
  br i1 %or.cond, label %271, label %272

271:                                              ; preds = %266
  store i8 0, ptr %.0181, align 1, !tbaa !86
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0184)
  br label %272

272:                                              ; preds = %271, %266
  br i1 %177, label %273, label %274

273:                                              ; preds = %272
  call void @_ZN5ImGui11PopClipRectEv()
  br label %274

274:                                              ; preds = %273, %272
  store i64 %137, ptr %136, align 8
  %275 = load i8, ptr %20, align 1, !tbaa !86, !range !19, !noundef !20
  %276 = trunc nuw i8 %275 to i1
  br i1 %276, label %277, label %303

277:                                              ; preds = %274
  %278 = load i32, ptr %198, align 4, !tbaa !118
  %279 = icmp eq i32 %278, %33
  br i1 %279, label %280, label %303

280:                                              ; preds = %277
  %281 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %282 = trunc nuw i8 %281 to i1
  br i1 %282, label %303, label %283

283:                                              ; preds = %280
  %284 = getelementptr inbounds i8, ptr %26, i64 6956
  %285 = load float, ptr %284, align 4, !tbaa !123
  %286 = getelementptr inbounds i8, ptr %26, i64 12460
  %287 = load float, ptr %286, align 4, !tbaa !124
  %288 = fcmp ogt float %285, %287
  br i1 %288, label %289, label %303

289:                                              ; preds = %283
  %290 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %290, label %291, label %303

291:                                              ; preds = %289
  %292 = load i32, ptr %73, align 8, !tbaa !98
  %293 = and i32 %292, 32
  %.not207 = icmp eq i32 %293, 0
  br i1 %.not207, label %294, label %303

294:                                              ; preds = %291
  %295 = load i32, ptr %81, align 4, !tbaa !100
  %296 = and i32 %295, 16
  %.not208 = icmp eq i32 %296, 0
  br i1 %.not208, label %297, label %303

297:                                              ; preds = %294
  %298 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %299 = ptrtoint ptr %298 to i64
  %300 = ptrtoint ptr %1 to i64
  %301 = sub i64 %299, %300
  %302 = trunc i64 %301 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.172, i32 noundef %302, ptr noundef %1)
  br label %303

303:                                              ; preds = %291, %294, %297, %289, %283, %280, %277, %274
  br i1 %.not198, label %.critedge, label %304

304:                                              ; preds = %303
  %305 = load i32, ptr %129, align 8, !tbaa !103
  %306 = load i32, ptr %.0184, align 4, !tbaa !87
  %.not209 = icmp eq i32 %305, %306
  br i1 %.not209, label %307, label %.critedge

307:                                              ; preds = %304
  call void @__assert_fail(ptr noundef nonnull @.str.173, ptr noundef nonnull @.str.1, i32 noundef 7776, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #11
  unreachable

.critedge:                                        ; preds = %303, %304
  %.0187.shrunk.232 = phi i1 [ %.0187.shrunk, %303 ], [ %193, %304 ]
  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 %308

308:                                              ; preds = %.critedge, %186
  %.1 = phi i1 [ %.0187.shrunk.232, %.critedge ], [ %.0187.shrunk, %186 ]
  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 %309

309:                                              ; preds = %126, %308
  %.2 = phi i1 [ %.1, %308 ], [ %.0187.shrunk., %126 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #10
  br label %310

310:                                              ; preds = %37, %309, %25
  %.4 = phi i1 [ false, %25 ], [ %.2, %309 ], [ 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 #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(35)) local_unnamed_addr #9 align 2

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 #3 = { 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 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 = { 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, !15, i64 106}
!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, !9, i64 104, !9, i64 105, !15, i64 106, !15, i64 107, !15, i64 108, !16, i64 110, !16, 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 = !{!"bool", !9, i64 0}
!16 = !{!"short", !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 6880}
!23 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !24, i64 8, !26, i64 5472, !11, i64 6520, !14, i64 6528, !14, i64 6532, !27, i64 6536, !29, i64 6752, !8, i64 6760, !8, i64 6764, !8, i64 6768, !15, i64 6772, !15, i64 6773, !15, i64 6774, !15, i64 6775, !15, i64 6776, !8, i64 6780, !11, i64 6784, !30, i64 6792, !30, i64 6808, !30, i64 6824, !30, i64 6840, !31, i64 6856, !8, i64 6872, !11, i64 6880, !11, i64 6888, !11, i64 6896, !11, i64 6904, !11, i64 6912, !11, i64 6920, !13, i64 6928, !14, i64 6936, !8, i64 6940, !8, i64 6944, !15, i64 6948, !15, i64 6949, !15, i64 6950, !15, i64 6951, !14, i64 6952, !14, i64 6956, !8, i64 6960, !8, i64 6964, !14, i64 6968, !15, i64 6972, !15, i64 6973, !15, i64 6974, !15, i64 6975, !15, i64 6976, !15, i64 6977, !15, i64 6978, !8, i64 6980, !8, i64 6984, !33, i64 6992, !13, i64 7000, !11, i64 7008, !34, i64 7016, !8, i64 7020, !8, i64 7024, !15, i64 7028, !15, i64 7029, !11, i64 7032, !8, i64 7040, !14, i64 7044, !35, i64 7048, !36, i64 7160, !37, i64 7184, !38, i64 7200, !39, i64 7216, !40, i64 7232, !41, i64 7248, !42, i64 7264, !43, i64 7280, !43, i64 7296, !11, i64 7312, !8, i64 7320, !8, i64 7324, !8, i64 7328, !8, i64 7332, !8, i64 7336, !8, i64 7340, !8, i64 7344, !8, i64 7348, !8, i64 7352, !8, i64 7356, !8, i64 7360, !34, i64 7364, !12, i64 7368, !8, i64 7384, !44, i64 7388, !8, i64 7392, !15, i64 7396, !15, i64 7397, !15, i64 7398, !15, i64 7399, !15, i64 7400, !15, i64 7401, !15, i64 7402, !8, i64 7404, !12, i64 7408, !15, i64 7424, !8, i64 7428, !45, i64 7432, !8, i64 7436, !8, i64 7440, !8, i64 7444, !8, i64 7448, !46, i64 7456, !46, i64 7504, !46, i64 7552, !11, i64 7600, !8, i64 7608, !11, i64 7616, !11, i64 7624, !11, i64 7632, !14, i64 7640, !14, i64 7644, !15, i64 7648, !11, i64 7656, !11, i64 7664, !8, i64 7672, !8, i64 7676, !8, i64 7680, !8, i64 7684, !15, i64 7688, !47, i64 7696, !48, i64 7752, !14, i64 7784, !49, i64 7792, !49, i64 7992, !8, i64 8192, !15, i64 8196, !15, i64 8197, !15, i64 8198, !8, i64 8200, !8, i64 8204, !8, i64 8208, !58, i64 8216, !12, i64 8280, !8, i64 8296, !8, i64 8300, !14, i64 8304, !8, i64 8308, !8, i64 8312, !8, i64 8316, !8, i64 8320, !59, i64 8328, !9, i64 8344, !11, i64 8360, !60, i64 8368, !62, i64 8408, !63, i64 8424, !57, i64 8440, !11, i64 8456, !64, i64 8464, !62, i64 8504, !66, i64 8520, !13, i64 8536, !67, i64 8544, !70, i64 12280, !8, i64 12392, !8, i64 12396, !14, i64 12400, !14, i64 12404, !9, i64 12408, !28, i64 12420, !14, i64 12436, !15, i64 12440, !15, i64 12441, !14, i64 12444, !14, i64 12448, !14, i64 12452, !8, i64 12456, !14, i64 12460, !18, i64 12464, !40, i64 12480, !13, i64 12496, !13, i64 12504, !9, i64 12512, !15, i64 12513, !14, i64 12516, !17, i64 12520, !72, i64 12536, !73, i64 12552, !74, i64 12568, !75, i64 12584, !15, i64 12600, !76, i64 12604, !11, i64 12608, !17, i64 12616, !14, i64 12632, !15, i64 12636, !8, i64 12640, !8, i64 12644, !8, i64 12648, !15, i64 12652, !8, i64 12656, !77, i64 12660, !9, i64 12676, !8, i64 13156, !14, i64 13160, !8, i64 13164, !8, i64 13168, !8, i64 13172, !9, i64 13176}
!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, !15, i64 172, !11, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, 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, !15, i64 312, !15, i64 313, !15, i64 314, !15, i64 315, !9, i64 316, !9, i64 828, !15, i64 912, !15, i64 913, !15, i64 914, !15, i64 915, !15, i64 916, !15, i64 917, !15, i64 918, !14, i64 920, !8, i64 924, !8, i64 928, !8, i64 932, !8, i64 936, !8, i64 940, !13, i64 944, !8, i64 952, !13, i64 956, !9, i64 964, !9, i64 1008, !9, i64 1048, !9, i64 1053, !9, i64 1058, !9, i64 1063, !9, i64 1068, !9, i64 1076, !9, i64 1096, !9, i64 1116, !9, i64 1156, !9, i64 1176, !9, i64 3224, !9, i64 5272, !9, i64 5356, !14, i64 5440, !16, i64 5444, !25, i64 5448}
!25 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !8, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !14, i64 104, !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, !8, i64 144, !13, i64 148, !13, i64 156, !13, i64 164, !13, i64 172, !14, i64 180, !15, i64 184, !15, i64 185, !15, i64 186, !14, i64 188, !14, i64 192, !9, i64 196}
!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, !9, i64 144, !11, i64 208}
!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 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !11, i64 8}
!33 = !{!"long long", !9, i64 0}
!34 = !{!"_ZTS16ImGuiInputSource", !9, i64 0}
!35 = !{!"_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, !15, i64 56, !12, i64 60, !11, i64 80, !11, i64 88, !14, i64 96, !13, i64 100}
!36 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !14, i64 4, !8, i64 8, !8, i64 12, !15, i64 16}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !8, i64 0, !8, i64 4, !11, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !8, i64 0, !8, i64 4, !11, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !8, i64 0, !8, i64 4, !11, i64 8}
!40 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!41 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !11, i64 8}
!42 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!43 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!44 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!45 = !{!"_ZTS15ImGuiNavForward", !9, i64 0}
!46 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28}
!47 = !{!"_ZTS10ImDrawData", !15, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!48 = !{!"_ZTS17ImDrawDataBuilder", !9, i64 0}
!49 = !{!"_ZTS10ImDrawList", !50, i64 0, !25, i64 16, !51, i64 32, !8, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !52, i64 88, !53, i64 104, !54, i64 120, !55, i64 136, !56, i64 168, !14, i64 192}
!50 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!51 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!52 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!53 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!54 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!55 = !{!"_ZTS15ImDrawCmdHeader", !28, i64 0, !11, i64 16, !8, i64 24}
!56 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !57, i64 8}
!57 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!58 = !{!"_ZTS12ImGuiPayload", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !9, i64 24, !15, i64 57, !15, i64 58}
!59 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !11, i64 8}
!60 = !{!"_ZTS6ImPoolI10ImGuiTableE", !61, i64 0, !31, i64 16, !8, i64 32}
!61 = !{!"_ZTS8ImVectorI10ImGuiTableE", !8, i64 0, !8, i64 4, !11, i64 8}
!62 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !11, i64 8}
!63 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!64 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !65, i64 0, !31, i64 16, !8, i64 32}
!65 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !11, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!67 = !{!"_ZTS19ImGuiInputTextState", !8, i64 0, !8, i64 4, !8, i64 8, !25, i64 16, !18, i64 32, !18, i64 48, !15, i64 64, !8, i64 68, !14, i64 72, !68, i64 76, !14, i64 3704, !15, i64 3708, !15, i64 3709, !15, i64 3710, !8, i64 3712, !11, i64 3720, !11, i64 3728}
!68 = !{!"_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, !69, i64 32}
!69 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !16, i64 3582, !16, i64 3584, !8, i64 3588, !8, i64 3592}
!70 = !{!"_ZTS6ImFont", !63, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !71, i64 40, !11, i64 56, !11, i64 64, !11, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !15, i64 86, !14, i64 88, !14, i64 92, !14, i64 96, !8, i64 100, !9, i64 104}
!71 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !11, i64 8}
!72 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !11, i64 8}
!73 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !18, i64 0}
!74 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !18, i64 0}
!75 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !8, i64 0, !8, i64 4, !11, i64 8}
!76 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!77 = !{!"_ZTS18ImGuiMetricsConfig", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !15, i64 4, !8, i64 8, !8, i64 12}
!78 = !{!79, !15, i64 147}
!79 = !{!"_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, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !15, i64 144, !15, i64 145, !15, i64 146, !15, i64 147, !15, i64 148, !15, i64 149, !15, i64 150, !15, i64 151, !9, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !8, i64 160, !9, i64 164, !9, i64 165, !9, i64 166, !15, i64 167, !8, i64 168, !9, i64 172, !9, i64 173, !9, i64 174, !8, i64 175, !8, i64 176, !8, i64 177, !13, i64 180, !13, i64 188, !40, i64 200, !80, i64 216, !12, i64 520, !12, i64 536, !12, i64 552, !12, i64 568, !12, i64 584, !12, i64 600, !12, i64 616, !84, i64 632, !84, i64 636, !8, i64 640, !14, i64 644, !14, i64 648, !31, i64 656, !85, i64 672, !14, i64 688, !8, i64 692, !11, i64 696, !49, i64 704, !11, i64 904, !11, i64 912, !11, i64 920, !11, i64 928, !11, i64 936, !9, i64 944, !9, i64 952, !8, i64 984, !8, i64 988, !15, i64 992}
!80 = !{!"_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, !81, i64 64, !81, i64 68, !81, i64 72, !8, i64 76, !8, i64 80, !12, i64 84, !12, i64 100, !44, i64 116, !8, i64 120, !8, i64 124, !8, i64 128, !15, i64 132, !15, i64 133, !15, i64 134, !13, i64 136, !82, i64 144, !8, i64 180, !8, i64 184, !30, i64 192, !11, i64 208, !11, i64 216, !8, i64 224, !8, i64 228, !8, i64 232, !8, i64 236, !8, i64 240, !8, i64 244, !14, i64 248, !14, i64 252, !63, i64 256, !63, i64 272, !83, i64 288}
!81 = !{!"_ZTS6ImVec1", !14, i64 0}
!82 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !9, i64 12, !9, i64 24}
!83 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!84 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!85 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!86 = !{!15, !15, i64 0}
!87 = !{!88, !8, i64 0}
!88 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !16, i64 28, !16, i64 30, !16, i64 32, !15, i64 34}
!89 = !{!13, !14, i64 0}
!90 = !{!88, !14, i64 20}
!91 = !{!6, !15, i64 108}
!92 = !{!6, !16, i64 112}
!93 = !{!88, !14, i64 24}
!94 = !{!6, !16, i64 110}
!95 = !{!88, !16, i64 30}
!96 = !{!6, !8, i64 40}
!97 = !{!23, !8, i64 6760}
!98 = !{!6, !8, i64 16}
!99 = !{!88, !8, i64 8}
!100 = !{!88, !8, i64 4}
!101 = !{!88, !16, i64 28}
!102 = !{!6, !8, i64 28}
!103 = !{!6, !8, i64 24}
!104 = !{!6, !8, i64 32}
!105 = !{!6, !15, i64 107}
!106 = !{!6, !8, i64 0}
!107 = !{!88, !8, i64 12}
!108 = !{!88, !14, i64 16}
!109 = !{!6, !14, i64 76}
!110 = !{!12, !14, i64 0}
!111 = !{!6, !14, i64 92}
!112 = !{!12, !14, i64 8}
!113 = !{!6, !14, i64 96}
!114 = !{!12, !14, i64 4}
!115 = !{!12, !14, i64 12}
!116 = !{!26, !14, i64 60}
!117 = !{!23, !15, i64 8196}
!118 = !{!23, !8, i64 6940}
!119 = !{!23, !8, i64 6960}
!120 = !{!23, !14, i64 952}
!121 = !{!23, !14, i64 296}
!122 = !{!79, !11, i64 696}
!123 = !{!23, !14, i64 6956}
!124 = !{!23, !14, i64 12460}


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