; LLVM IR from PepcyCh/bisemutum-engine :: bisemutum/thirdparty/ImGuizmo/example (imgui_widgets)

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

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

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [72 x i8], align 1

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

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #4

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

declare void @_ZN5ImGui11PopClipRectEv() #4

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

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

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

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

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

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

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

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

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

59:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 20, ptr %11) #11
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiContext, ptr %60, i32 0, i32 66
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %11, ptr align 8 %61, i64 20, i1 false), !tbaa.struct !23
  %62 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef %62)
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiContext, ptr %63, i32 0, i32 66
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %64, ptr align 4 %11, i64 17, i1 false), !tbaa.struct !23
  call void @llvm.lifetime.end.p0(i64 20, ptr %11) #11
  br label %65

65:                                               ; preds = %59, %4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #11
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ImGuiContext, ptr %66, i32 0, i32 27
  %68 = load ptr, ptr %67, align 8, !tbaa !26
  store ptr %68, ptr %12, align 8, !tbaa !5
  %69 = load ptr, ptr %12, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiWindow, ptr %69, i32 0, i32 29
  %71 = load i8, ptr %70, align 1, !tbaa !81, !range !21, !noundef !22
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %74

73:                                               ; preds = %65
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %731

74:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #11
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGuiContext, ptr %75, i32 0, i32 5
  store ptr %76, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #11
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef %77, ptr noundef %78)
  store i32 %79, ptr %15, align 4, !tbaa !9
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = icmp ne ptr %81, null
  br i1 %82, label %83, label %90

83:                                               ; preds = %74
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load i8, ptr %84, align 1, !tbaa !25, !range !21, !noundef !22
  %86 = trunc i8 %85 to i1
  br i1 %86, label %90, label %87

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

90:                                               ; preds = %83, %74
  %91 = load ptr, ptr %8, align 8, !tbaa !5
  %92 = icmp ne ptr %91, null
  br i1 %92, label %93, label %98

93:                                               ; preds = %90
  %94 = load i32, ptr %9, align 4, !tbaa !9
  %95 = and i32 %94, 2097152
  %96 = icmp ne i32 %95, 0
  %97 = xor i1 %96, true
  br label %98

98:                                               ; preds = %93, %90
  %99 = phi i1 [ true, %90 ], [ %97, %93 ]
  br i1 %99, label %100, label %101

100:                                              ; preds = %98
  br label %103

101:                                              ; preds = %98
  call void @__assert_fail(ptr noundef @.str.175, ptr noundef @.str.2, i32 noundef 8085, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

102:                                              ; No predecessors!
  br label %103

103:                                              ; preds = %102, %100
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = and i32 %104, 192
  %106 = icmp ne i32 %105, 192
  br i1 %106, label %107, label %108

107:                                              ; preds = %103
  br label %110

108:                                              ; preds = %103
  call void @__assert_fail(ptr noundef @.str.176, ptr noundef @.str.2, i32 noundef 8086, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

109:                                              ; No predecessors!
  br label %110

110:                                              ; preds = %109, %107
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = and i32 %111, 1048576
  %113 = icmp ne i32 %112, 0
  br i1 %113, label %114, label %115

114:                                              ; preds = %110
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %122

115:                                              ; preds = %110
  %116 = load ptr, ptr %8, align 8, !tbaa !5
  %117 = icmp eq ptr %116, null
  br i1 %117, label %118, label %121

118:                                              ; preds = %115
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = or i32 %119, 1048576
  store i32 %120, ptr %9, align 4, !tbaa !9
  br label %121

121:                                              ; preds = %118, %115
  br label %122

122:                                              ; preds = %121, %114
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %123 = load ptr, ptr %6, align 8, !tbaa !5
  %124 = load i32, ptr %15, align 4, !tbaa !9
  %125 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %123, i32 noundef %124)
  store ptr %125, 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 !25
  %126 = load ptr, ptr %17, align 8, !tbaa !5
  %127 = icmp eq ptr %126, null
  br i1 %127, label %128, label %139

128:                                              ; preds = %122
  %129 = load ptr, ptr %6, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiTabBar, ptr %129, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 44, ptr %19) #11
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(41) %19)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %130, ptr noundef nonnull align 4 dereferenceable(41) %19)
  call void @llvm.lifetime.end.p0(i64 44, ptr %19) #11
  %131 = load ptr, ptr %6, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiTabBar, ptr %131, i32 0, i32 0
  %133 = call noundef nonnull align 4 dereferenceable(41) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %132)
  store ptr %133, ptr %17, align 8, !tbaa !5
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = load ptr, ptr %17, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.ImGuiTabItem, ptr %135, i32 0, i32 0
  store i32 %134, ptr %136, align 4, !tbaa !96
  store i8 1, ptr %18, align 1, !tbaa !25
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiTabBar, ptr %137, i32 0, i32 24
  store i8 1, ptr %138, align 1, !tbaa !98
  br label %139

139:                                              ; preds = %128, %122
  %140 = load ptr, ptr %6, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.ImGuiTabBar, ptr %140, i32 0, i32 0
  %142 = load ptr, ptr %17, align 8, !tbaa !5
  %143 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %141, ptr noundef %142)
  %144 = trunc i32 %143 to i16
  %145 = load ptr, ptr %6, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiTabBar, ptr %145, i32 0, i32 26
  store i16 %144, ptr %146, align 8, !tbaa !99
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #11
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = load ptr, ptr %8, align 8, !tbaa !5
  %149 = icmp ne ptr %148, null
  %150 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %147, i1 noundef zeroext %149)
  store <2 x float> %150, ptr %20, align 4
  %151 = load ptr, ptr %17, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiTabItem, ptr %151, i32 0, i32 7
  store float -1.000000e+00, ptr %152, align 4, !tbaa !100
  %153 = load ptr, ptr %10, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiContext, ptr %153, i32 0, i32 66
  %155 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %154, i32 0, i32 0
  %156 = load i32, ptr %155, align 8, !tbaa !101
  %157 = and i32 %156, 1
  %158 = icmp ne i32 %157, 0
  br i1 %158, label %159, label %167

159:                                              ; preds = %139
  %160 = load ptr, ptr %10, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiContext, ptr %160, i32 0, i32 66
  %162 = getelementptr inbounds %struct.ImGuiNextItemData, ptr %161, i32 0, i32 1
  %163 = load float, ptr %162, align 4, !tbaa !102
  %164 = load ptr, ptr %17, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiTabItem, ptr %164, i32 0, i32 7
  store float %163, ptr %165, align 4, !tbaa !100
  %166 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  store float %163, ptr %166, align 4, !tbaa !103
  br label %167

167:                                              ; preds = %159, %139
  %168 = load i8, ptr %18, align 1, !tbaa !25, !range !21, !noundef !22
  %169 = trunc i8 %168 to i1
  br i1 %169, label %170, label %176

170:                                              ; preds = %167
  %171 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %172 = load float, ptr %171, align 4, !tbaa !103
  %173 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %172)
  %174 = load ptr, ptr %17, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.ImGuiTabItem, ptr %174, i32 0, i32 5
  store float %173, ptr %175, align 4, !tbaa !104
  br label %176

176:                                              ; preds = %170, %167
  %177 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  %178 = load float, ptr %177, align 4, !tbaa !103
  %179 = load ptr, ptr %17, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiTabItem, ptr %179, i32 0, i32 6
  store float %178, ptr %180, align 4, !tbaa !105
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiTabBar, ptr %181, i32 0, i32 25
  %183 = load i16, ptr %182, align 2, !tbaa !106
  %184 = add i16 %183, 1
  store i16 %184, ptr %182, align 2, !tbaa !106
  %185 = load ptr, ptr %17, align 8, !tbaa !5
  %186 = getelementptr inbounds %struct.ImGuiTabItem, ptr %185, i32 0, i32 9
  store i16 %183, ptr %186, align 4, !tbaa !107
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #11
  %187 = load ptr, ptr %6, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiTabBar, ptr %187, i32 0, i32 7
  %189 = load i32, ptr %188, align 8, !tbaa !108
  %190 = add nsw i32 %189, 1
  %191 = load ptr, ptr %10, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiContext, ptr %191, i32 0, i32 11
  %193 = load i32, ptr %192, align 8, !tbaa !109
  %194 = icmp slt i32 %190, %193
  %195 = zext i1 %194 to i8
  store i8 %195, ptr %21, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #11
  %196 = load ptr, ptr %6, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImGuiTabBar, ptr %196, i32 0, i32 1
  %198 = load i32, ptr %197, align 8, !tbaa !110
  %199 = and i32 %198, 2097152
  %200 = icmp ne i32 %199, 0
  %201 = zext i1 %200 to i8
  store i8 %201, ptr %22, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #11
  %202 = load ptr, ptr %17, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiTabItem, ptr %202, i32 0, i32 2
  %204 = load i32, ptr %203, align 4, !tbaa !111
  %205 = add nsw i32 %204, 1
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.ImGuiContext, ptr %206, i32 0, i32 11
  %208 = load i32, ptr %207, align 8, !tbaa !109
  %209 = icmp slt i32 %205, %208
  %210 = zext i1 %209 to i8
  store i8 %210, ptr %23, align 1, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #11
  %211 = load i32, ptr %9, align 4, !tbaa !9
  %212 = and i32 %211, 2097152
  %213 = icmp ne i32 %212, 0
  %214 = zext i1 %213 to i8
  store i8 %214, ptr %24, align 1, !tbaa !25
  %215 = load ptr, ptr %10, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.ImGuiContext, ptr %215, i32 0, i32 11
  %217 = load i32, ptr %216, align 8, !tbaa !109
  %218 = load ptr, ptr %17, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.ImGuiTabItem, ptr %218, i32 0, i32 2
  store i32 %217, ptr %219, align 4, !tbaa !111
  %220 = load i32, ptr %9, align 4, !tbaa !9
  %221 = load ptr, ptr %17, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.ImGuiTabItem, ptr %221, i32 0, i32 1
  store i32 %220, ptr %222, align 4, !tbaa !112
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiTabBar, ptr %223, i32 0, i32 30
  %225 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %224)
  %226 = load ptr, ptr %17, align 8, !tbaa !5
  %227 = getelementptr inbounds %struct.ImGuiTabItem, ptr %226, i32 0, i32 8
  store i32 %225, ptr %227, align 4, !tbaa !113
  %228 = load ptr, ptr %6, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.ImGuiTabBar, ptr %228, i32 0, i32 30
  %230 = load ptr, ptr %7, align 8, !tbaa !5
  %231 = load ptr, ptr %7, align 8, !tbaa !5
  %232 = load ptr, ptr %7, align 8, !tbaa !5
  %233 = call i64 @strlen(ptr noundef %232) #13
  %234 = getelementptr inbounds i8, ptr %231, i64 %233
  %235 = getelementptr inbounds i8, ptr %234, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %229, ptr noundef %230, ptr noundef %235)
  %236 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %237 = trunc i8 %236 to i1
  br i1 %237, label %280, label %238

238:                                              ; preds = %176
  %239 = load i8, ptr %23, align 1, !tbaa !25, !range !21, !noundef !22
  %240 = trunc i8 %239 to i1
  br i1 %240, label %241, label %265

241:                                              ; preds = %238
  %242 = load ptr, ptr %6, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.ImGuiTabBar, ptr %242, i32 0, i32 1
  %244 = load i32, ptr %243, align 8, !tbaa !110
  %245 = and i32 %244, 2
  %246 = icmp ne i32 %245, 0
  br i1 %246, label %247, label %265

247:                                              ; preds = %241
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiTabBar, ptr %248, i32 0, i32 4
  %250 = load i32, ptr %249, align 4, !tbaa !114
  %251 = icmp eq i32 %250, 0
  br i1 %251, label %252, label %265

252:                                              ; preds = %247
  %253 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %254 = trunc i8 %253 to i1
  br i1 %254, label %255, label %260

255:                                              ; preds = %252
  %256 = load ptr, ptr %6, align 8, !tbaa !5
  %257 = getelementptr inbounds %struct.ImGuiTabBar, ptr %256, i32 0, i32 3
  %258 = load i32, ptr %257, align 8, !tbaa !115
  %259 = icmp eq i32 %258, 0
  br i1 %259, label %260, label %264

260:                                              ; preds = %255, %252
  %261 = load i32, ptr %15, align 4, !tbaa !9
  %262 = load ptr, ptr %6, align 8, !tbaa !5
  %263 = getelementptr inbounds %struct.ImGuiTabBar, ptr %262, i32 0, i32 4
  store i32 %261, ptr %263, align 4, !tbaa !114
  br label %264

264:                                              ; preds = %260, %255
  br label %265

265:                                              ; preds = %264, %247, %241, %238
  %266 = load i32, ptr %9, align 4, !tbaa !9
  %267 = and i32 %266, 2
  %268 = icmp ne i32 %267, 0
  br i1 %268, label %269, label %279

269:                                              ; preds = %265
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiTabBar, ptr %270, i32 0, i32 3
  %272 = load i32, ptr %271, align 8, !tbaa !115
  %273 = load i32, ptr %15, align 4, !tbaa !9
  %274 = icmp ne i32 %272, %273
  br i1 %274, label %275, label %279

275:                                              ; preds = %269
  %276 = load i32, ptr %15, align 4, !tbaa !9
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiTabBar, ptr %277, i32 0, i32 4
  store i32 %276, ptr %278, align 4, !tbaa !114
  br label %279

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

280:                                              ; preds = %279, %176
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #11
  %281 = load ptr, ptr %6, align 8, !tbaa !5
  %282 = getelementptr inbounds %struct.ImGuiTabBar, ptr %281, i32 0, i32 5
  %283 = load i32, ptr %282, align 8, !tbaa !116
  %284 = load i32, ptr %15, align 4, !tbaa !9
  %285 = icmp eq i32 %283, %284
  %286 = zext i1 %285 to i8
  store i8 %286, ptr %25, align 1, !tbaa !25
  %287 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %288 = trunc i8 %287 to i1
  br i1 %288, label %289, label %292

289:                                              ; preds = %280
  %290 = load ptr, ptr %6, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.ImGuiTabBar, ptr %290, i32 0, i32 23
  store i8 1, ptr %291, align 4, !tbaa !117
  br label %292

292:                                              ; preds = %289, %280
  %293 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %294 = trunc i8 %293 to i1
  br i1 %294, label %317, label %295

295:                                              ; preds = %292
  %296 = load ptr, ptr %6, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.ImGuiTabBar, ptr %296, i32 0, i32 3
  %298 = load i32, ptr %297, align 8, !tbaa !115
  %299 = icmp eq i32 %298, 0
  br i1 %299, label %300, label %317

300:                                              ; preds = %295
  %301 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %302 = trunc i8 %301 to i1
  br i1 %302, label %303, label %317

303:                                              ; preds = %300
  %304 = load ptr, ptr %6, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiTabBar, ptr %304, i32 0, i32 0
  %306 = getelementptr inbounds %struct.ImVector.40, ptr %305, i32 0, i32 0
  %307 = load i32, ptr %306, align 8, !tbaa !118
  %308 = icmp eq i32 %307, 1
  br i1 %308, label %309, label %316

309:                                              ; preds = %303
  %310 = load ptr, ptr %6, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.ImGuiTabBar, ptr %310, i32 0, i32 1
  %312 = load i32, ptr %311, align 8, !tbaa !110
  %313 = and i32 %312, 2
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %316, label %315

315:                                              ; preds = %309
  store i8 1, ptr %25, align 1, !tbaa !25
  br label %316

316:                                              ; preds = %315, %309, %303
  br label %317

317:                                              ; preds = %316, %300, %295, %292
  %318 = load i8, ptr %23, align 1, !tbaa !25, !range !21, !noundef !22
  %319 = trunc i8 %318 to i1
  br i1 %319, label %320, label %335

320:                                              ; preds = %317
  %321 = load i8, ptr %21, align 1, !tbaa !25, !range !21, !noundef !22
  %322 = trunc i8 %321 to i1
  br i1 %322, label %323, label %326

323:                                              ; preds = %320
  %324 = load i8, ptr %18, align 1, !tbaa !25, !range !21, !noundef !22
  %325 = trunc i8 %324 to i1
  br i1 %325, label %326, label %335

326:                                              ; preds = %323, %320
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26)
  %327 = load i32, ptr %15, align 4, !tbaa !9
  %328 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %26, i32 noundef %327, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #11
  %329 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %330 = trunc i8 %329 to i1
  br i1 %330, label %331, label %332

331:                                              ; preds = %326
  store i1 false, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %729

332:                                              ; preds = %326
  %333 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %334 = trunc i8 %333 to i1
  store i1 %334, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %729

335:                                              ; preds = %323, %317
  %336 = load ptr, ptr %6, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiTabBar, ptr %336, i32 0, i32 3
  %338 = load i32, ptr %337, align 8, !tbaa !115
  %339 = load i32, ptr %15, align 4, !tbaa !9
  %340 = icmp eq i32 %338, %339
  br i1 %340, label %341, label %347

341:                                              ; preds = %335
  %342 = load ptr, ptr %10, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 11
  %344 = load i32, ptr %343, align 8, !tbaa !109
  %345 = load ptr, ptr %17, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.ImGuiTabItem, ptr %345, i32 0, i32 3
  store i32 %344, ptr %346, align 4, !tbaa !119
  br label %347

347:                                              ; preds = %341, %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %348 = load ptr, ptr %12, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ImGuiWindow, ptr %348, i32 0, i32 55
  %350 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %349, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 8 %350, i64 8, i1 false), !tbaa.struct !120
  call void @llvm.lifetime.start.p0(i64 1, ptr %28) #11
  %351 = load ptr, ptr %17, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiTabItem, ptr %351, i32 0, i32 1
  %353 = load i32, ptr %352, align 4, !tbaa !112
  %354 = and i32 %353, 192
  %355 = icmp eq i32 %354, 0
  %356 = zext i1 %355 to i8
  store i8 %356, ptr %28, align 1, !tbaa !25
  %357 = load ptr, ptr %17, align 8, !tbaa !5
  %358 = getelementptr inbounds %struct.ImGuiTabItem, ptr %357, i32 0, i32 5
  %359 = load float, ptr %358, align 4, !tbaa !104
  %360 = getelementptr inbounds %struct.ImVec2, ptr %20, i32 0, i32 0
  store float %359, ptr %360, align 4, !tbaa !103
  %361 = load i8, ptr %28, align 1, !tbaa !25, !range !21, !noundef !22
  %362 = trunc i8 %361 to i1
  br i1 %362, label %363, label %380

363:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %364 = load ptr, ptr %6, align 8, !tbaa !5
  %365 = getelementptr inbounds %struct.ImGuiTabBar, ptr %364, i32 0, i32 8
  %366 = getelementptr inbounds %struct.ImRect, ptr %365, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %367 = load ptr, ptr %17, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.ImGuiTabItem, ptr %367, i32 0, i32 4
  %369 = load float, ptr %368, align 4, !tbaa !121
  %370 = load ptr, ptr %6, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.ImGuiTabBar, ptr %370, i32 0, i32 13
  %372 = load float, ptr %371, align 4, !tbaa !122
  %373 = fsub float %369, %372
  %374 = fptosi float %373 to i32
  %375 = sitofp i32 %374 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %30, float noundef %375, float noundef 0.000000e+00)
  %376 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %366, ptr noundef nonnull align 4 dereferenceable(8) %30)
  store <2 x float> %376, ptr %29, align 4
  %377 = load ptr, ptr %12, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiWindow, ptr %377, i32 0, i32 55
  %379 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %378, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %379, ptr align 4 %29, i64 8, i1 false), !tbaa.struct !120
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  br label %391

380:                                              ; preds = %347
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #11
  %381 = load ptr, ptr %6, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.ImGuiTabBar, ptr %381, i32 0, i32 8
  %383 = getelementptr inbounds %struct.ImRect, ptr %382, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #11
  %384 = load ptr, ptr %17, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.ImGuiTabItem, ptr %384, i32 0, i32 4
  %386 = load float, ptr %385, align 4, !tbaa !121
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %386, float noundef 0.000000e+00)
  %387 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %383, ptr noundef nonnull align 4 dereferenceable(8) %32)
  store <2 x float> %387, ptr %31, align 4
  %388 = load ptr, ptr %12, align 8, !tbaa !5
  %389 = getelementptr inbounds %struct.ImGuiWindow, ptr %388, i32 0, i32 55
  %390 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %389, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %390, ptr align 4 %31, i64 8, i1 false), !tbaa.struct !120
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #11
  br label %391

391:                                              ; preds = %380, %363
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #11
  %392 = load ptr, ptr %12, align 8, !tbaa !5
  %393 = getelementptr inbounds %struct.ImGuiWindow, ptr %392, i32 0, i32 55
  %394 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %393, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 8 %394, i64 8, i1 false), !tbaa.struct !120
  call void @llvm.lifetime.start.p0(i64 16, ptr %34) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #11
  %395 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %20)
  store <2 x float> %395, ptr %35, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %34, ptr noundef nonnull align 4 dereferenceable(8) %33, ptr noundef nonnull align 4 dereferenceable(8) %35)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #11
  %396 = load i8, ptr %28, align 1, !tbaa !25, !range !21, !noundef !22
  %397 = trunc i8 %396 to i1
  br i1 %397, label %398, label %416

398:                                              ; preds = %391
  %399 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %400 = getelementptr inbounds %struct.ImVec2, ptr %399, i32 0, i32 0
  %401 = load float, ptr %400, align 4, !tbaa !123
  %402 = load ptr, ptr %6, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiTabBar, ptr %402, i32 0, i32 17
  %404 = load float, ptr %403, align 4, !tbaa !124
  %405 = fcmp olt float %401, %404
  br i1 %405, label %414, label %406

406:                                              ; preds = %398
  %407 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  %408 = getelementptr inbounds %struct.ImVec2, ptr %407, i32 0, i32 0
  %409 = load float, ptr %408, align 4, !tbaa !125
  %410 = load ptr, ptr %6, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.ImGuiTabBar, ptr %410, i32 0, i32 18
  %412 = load float, ptr %411, align 8, !tbaa !126
  %413 = fcmp ogt float %409, %412
  br label %414

414:                                              ; preds = %406, %398
  %415 = phi i1 [ true, %398 ], [ %413, %406 ]
  br label %416

416:                                              ; preds = %414, %391
  %417 = phi i1 [ false, %391 ], [ %415, %414 ]
  %418 = zext i1 %417 to i8
  store i8 %418, ptr %36, align 1, !tbaa !25
  %419 = load i8, ptr %36, align 1, !tbaa !25, !range !21, !noundef !22
  %420 = trunc i8 %419 to i1
  br i1 %420, label %421, label %439

421:                                              ; preds = %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #11
  %422 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %423 = getelementptr inbounds %struct.ImVec2, ptr %422, i32 0, i32 0
  %424 = load float, ptr %423, align 4, !tbaa !123
  %425 = load ptr, ptr %6, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImGuiTabBar, ptr %425, i32 0, i32 17
  %427 = load float, ptr %426, align 4, !tbaa !124
  %428 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %424, float noundef %427)
  %429 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %430 = getelementptr inbounds %struct.ImVec2, ptr %429, i32 0, i32 1
  %431 = load float, ptr %430, align 4, !tbaa !127
  %432 = fsub float %431, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %428, float noundef %432)
  call void @llvm.lifetime.start.p0(i64 8, ptr %38) #11
  %433 = load ptr, ptr %6, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.ImGuiTabBar, ptr %433, i32 0, i32 18
  %435 = load float, ptr %434, align 8, !tbaa !126
  %436 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  %437 = getelementptr inbounds %struct.ImVec2, ptr %436, i32 0, i32 1
  %438 = load float, ptr %437, align 4, !tbaa !128
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %38, float noundef %435, float noundef %438)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %37, ptr noundef nonnull align 4 dereferenceable(8) %38, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %38) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #11
  br label %439

439:                                              ; preds = %421, %416
  call void @llvm.lifetime.start.p0(i64 8, ptr %39) #11
  %440 = load ptr, ptr %12, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.ImGuiWindow, ptr %440, i32 0, i32 55
  %442 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %441, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 8 %442, i64 8, i1 false), !tbaa.struct !120
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #11
  %443 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %34)
  store <2 x float> %443, ptr %40, align 4
  %444 = load ptr, ptr %14, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.ImGuiStyle, ptr %444, i32 0, i32 12
  %446 = getelementptr inbounds %struct.ImVec2, ptr %445, i32 0, i32 1
  %447 = load float, ptr %446, align 4, !tbaa !129
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %40, float noundef %447)
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #11
  %448 = load ptr, ptr %12, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.ImGuiWindow, ptr %448, i32 0, i32 55
  %450 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %449, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %450, ptr align 4 %39, i64 8, i1 false), !tbaa.struct !120
  %451 = load i32, ptr %15, align 4, !tbaa !9
  %452 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %451, ptr noundef null, i32 noundef 0)
  br i1 %452, label %463, label %453

453:                                              ; preds = %439
  %454 = load i8, ptr %36, align 1, !tbaa !25, !range !21, !noundef !22
  %455 = trunc i8 %454 to i1
  br i1 %455, label %456, label %457

456:                                              ; preds = %453
  call void @_ZN5ImGui11PopClipRectEv()
  br label %457

457:                                              ; preds = %456, %453
  %458 = load ptr, ptr %12, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.ImGuiWindow, ptr %458, i32 0, i32 55
  %460 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %459, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %460, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !120
  %461 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %462 = trunc i8 %461 to i1
  store i1 %462, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %728

463:                                              ; preds = %439
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #11
  %464 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %465 = trunc i8 %464 to i1
  %466 = zext i1 %465 to i64
  %467 = select i1 %465, i32 32, i32 16
  %468 = or i32 %467, 4096
  store i32 %468, ptr %41, align 4, !tbaa !9
  %469 = load ptr, ptr %10, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.ImGuiContext, ptr %469, i32 0, i32 131
  %471 = load i8, ptr %470, align 4, !tbaa !130, !range !21, !noundef !22
  %472 = trunc i8 %471 to i1
  br i1 %472, label %473, label %476

473:                                              ; preds = %463
  %474 = load i32, ptr %41, align 4, !tbaa !9
  %475 = or i32 %474, 512
  store i32 %475, ptr %41, align 4, !tbaa !9
  br label %476

476:                                              ; preds = %473, %463
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #11
  %477 = load i32, ptr %15, align 4, !tbaa !9
  %478 = load i32, ptr %41, align 4, !tbaa !9
  %479 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %477, ptr noundef %42, ptr noundef %43, i32 noundef %478)
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %44, align 1, !tbaa !25
  %481 = load i8, ptr %44, align 1, !tbaa !25, !range !21, !noundef !22
  %482 = trunc i8 %481 to i1
  br i1 %482, label %483, label %490

483:                                              ; preds = %476
  %484 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %485 = trunc i8 %484 to i1
  br i1 %485, label %490, label %486

486:                                              ; preds = %483
  %487 = load i32, ptr %15, align 4, !tbaa !9
  %488 = load ptr, ptr %6, align 8, !tbaa !5
  %489 = getelementptr inbounds %struct.ImGuiTabBar, ptr %488, i32 0, i32 4
  store i32 %487, ptr %489, align 4, !tbaa !114
  br label %490

490:                                              ; preds = %486, %483, %476
  %491 = load ptr, ptr %10, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.ImGuiContext, ptr %491, i32 0, i32 43
  %493 = load i32, ptr %492, align 4, !tbaa !131
  %494 = load i32, ptr %15, align 4, !tbaa !9
  %495 = icmp ne i32 %493, %494
  br i1 %495, label %496, label %497

496:                                              ; preds = %490
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %497

497:                                              ; preds = %496, %490
  %498 = load i8, ptr %43, align 1, !tbaa !25, !range !21, !noundef !22
  %499 = trunc i8 %498 to i1
  br i1 %499, label %500, label %567

500:                                              ; preds = %497
  %501 = load i8, ptr %23, align 1, !tbaa !25, !range !21, !noundef !22
  %502 = trunc i8 %501 to i1
  br i1 %502, label %567, label %503

503:                                              ; preds = %500
  %504 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %504, label %505, label %567

505:                                              ; preds = %503
  %506 = load ptr, ptr %10, align 8, !tbaa !5
  %507 = getelementptr inbounds %struct.ImGuiContext, ptr %506, i32 0, i32 131
  %508 = load i8, ptr %507, align 4, !tbaa !130, !range !21, !noundef !22
  %509 = trunc i8 %508 to i1
  br i1 %509, label %566, label %510

510:                                              ; preds = %505
  %511 = load ptr, ptr %6, align 8, !tbaa !5
  %512 = getelementptr inbounds %struct.ImGuiTabBar, ptr %511, i32 0, i32 1
  %513 = load i32, ptr %512, align 8, !tbaa !110
  %514 = and i32 %513, 1
  %515 = icmp ne i32 %514, 0
  br i1 %515, label %516, label %566

516:                                              ; preds = %510
  %517 = load ptr, ptr %10, align 8, !tbaa !5
  %518 = getelementptr inbounds %struct.ImGuiContext, ptr %517, i32 0, i32 2
  %519 = getelementptr inbounds %struct.ImGuiIO, ptr %518, i32 0, i32 52
  %520 = getelementptr inbounds %struct.ImVec2, ptr %519, i32 0, i32 0
  %521 = load float, ptr %520, align 8, !tbaa !132
  %522 = fcmp olt float %521, 0.000000e+00
  br i1 %522, label %523, label %540

523:                                              ; preds = %516
  %524 = load ptr, ptr %10, align 8, !tbaa !5
  %525 = getelementptr inbounds %struct.ImGuiContext, ptr %524, i32 0, i32 2
  %526 = getelementptr inbounds %struct.ImGuiIO, ptr %525, i32 0, i32 56
  %527 = getelementptr inbounds %struct.ImVec2, ptr %526, i32 0, i32 0
  %528 = load float, ptr %527, align 4, !tbaa !133
  %529 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 0
  %530 = getelementptr inbounds %struct.ImVec2, ptr %529, i32 0, i32 0
  %531 = load float, ptr %530, align 4, !tbaa !123
  %532 = fcmp olt float %528, %531
  br i1 %532, label %533, label %540

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

540:                                              ; preds = %523, %516
  %541 = load ptr, ptr %10, align 8, !tbaa !5
  %542 = getelementptr inbounds %struct.ImGuiContext, ptr %541, i32 0, i32 2
  %543 = getelementptr inbounds %struct.ImGuiIO, ptr %542, i32 0, i32 52
  %544 = getelementptr inbounds %struct.ImVec2, ptr %543, i32 0, i32 0
  %545 = load float, ptr %544, align 8, !tbaa !132
  %546 = fcmp ogt float %545, 0.000000e+00
  br i1 %546, label %547, label %564

547:                                              ; preds = %540
  %548 = load ptr, ptr %10, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.ImGuiContext, ptr %548, i32 0, i32 2
  %550 = getelementptr inbounds %struct.ImGuiIO, ptr %549, i32 0, i32 56
  %551 = getelementptr inbounds %struct.ImVec2, ptr %550, i32 0, i32 0
  %552 = load float, ptr %551, align 4, !tbaa !133
  %553 = getelementptr inbounds %struct.ImRect, ptr %34, i32 0, i32 1
  %554 = getelementptr inbounds %struct.ImVec2, ptr %553, i32 0, i32 0
  %555 = load float, ptr %554, align 4, !tbaa !125
  %556 = fcmp ogt float %552, %555
  br i1 %556, label %557, label %564

557:                                              ; preds = %547
  %558 = load ptr, ptr %6, align 8, !tbaa !5
  %559 = load ptr, ptr %17, align 8, !tbaa !5
  %560 = load ptr, ptr %10, align 8, !tbaa !5
  %561 = getelementptr inbounds %struct.ImGuiContext, ptr %560, i32 0, i32 2
  %562 = getelementptr inbounds %struct.ImGuiIO, ptr %561, i32 0, i32 56
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %562, i64 8, i1 false), !tbaa.struct !120
  %563 = load <2 x float>, ptr %46, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(ptr noundef %558, ptr noundef %559, <2 x float> %563)
  br label %564

564:                                              ; preds = %557, %547, %540
  br label %565

565:                                              ; preds = %564, %533
  br label %566

566:                                              ; preds = %565, %510, %505
  br label %567

567:                                              ; preds = %566, %503, %500, %497
  call void @llvm.lifetime.start.p0(i64 8, ptr %47) #11
  %568 = load ptr, ptr %12, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.ImGuiWindow, ptr %568, i32 0, i32 73
  %570 = load ptr, ptr %569, align 8, !tbaa !134
  store ptr %570, ptr %47, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #11
  %571 = load i8, ptr %43, align 1, !tbaa !25, !range !21, !noundef !22
  %572 = trunc i8 %571 to i1
  br i1 %572, label %576, label %573

573:                                              ; preds = %567
  %574 = load i8, ptr %42, align 1, !tbaa !25, !range !21, !noundef !22
  %575 = trunc i8 %574 to i1
  br i1 %575, label %576, label %577

576:                                              ; preds = %573, %567
  br label %592

577:                                              ; preds = %573
  %578 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %579 = trunc i8 %578 to i1
  br i1 %579, label %580, label %585

580:                                              ; preds = %577
  %581 = load i8, ptr %22, align 1, !tbaa !25, !range !21, !noundef !22
  %582 = trunc i8 %581 to i1
  %583 = zext i1 %582 to i64
  %584 = select i1 %582, i32 35, i32 37
  br label %590

585:                                              ; preds = %577
  %586 = load i8, ptr %22, align 1, !tbaa !25, !range !21, !noundef !22
  %587 = trunc i8 %586 to i1
  %588 = zext i1 %587 to i64
  %589 = select i1 %587, i32 33, i32 36
  br label %590

590:                                              ; preds = %585, %580
  %591 = phi i32 [ %584, %580 ], [ %589, %585 ]
  br label %592

592:                                              ; preds = %590, %576
  %593 = phi i32 [ 34, %576 ], [ %591, %590 ]
  %594 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %593, float noundef 1.000000e+00)
  store i32 %594, ptr %48, align 4, !tbaa !9
  %595 = load ptr, ptr %47, align 8, !tbaa !5
  %596 = load i32, ptr %9, align 4, !tbaa !9
  %597 = load i32, ptr %48, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %595, ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %596, i32 noundef %597)
  %598 = load i32, ptr %15, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %598, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %49) #11
  %599 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  %600 = zext i1 %599 to i8
  store i8 %600, ptr %49, align 1, !tbaa !25
  %601 = load i8, ptr %49, align 1, !tbaa !25, !range !21, !noundef !22
  %602 = trunc i8 %601 to i1
  br i1 %602, label %603, label %615

603:                                              ; preds = %592
  %604 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %604, label %607, label %605

605:                                              ; preds = %603
  %606 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %606, label %607, label %615

607:                                              ; preds = %605, %603
  %608 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %609 = trunc i8 %608 to i1
  br i1 %609, label %614, label %610

610:                                              ; preds = %607
  %611 = load i32, ptr %15, align 4, !tbaa !9
  %612 = load ptr, ptr %6, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.ImGuiTabBar, ptr %612, i32 0, i32 4
  store i32 %611, ptr %613, align 4, !tbaa !114
  br label %614

614:                                              ; preds = %610, %607
  br label %615

615:                                              ; preds = %614, %605, %592
  %616 = load ptr, ptr %6, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.ImGuiTabBar, ptr %616, i32 0, i32 1
  %618 = load i32, ptr %617, align 8, !tbaa !110
  %619 = and i32 %618, 8
  %620 = icmp ne i32 %619, 0
  br i1 %620, label %621, label %624

621:                                              ; preds = %615
  %622 = load i32, ptr %9, align 4, !tbaa !9
  %623 = or i32 %622, 4
  store i32 %623, ptr %9, align 4, !tbaa !9
  br label %624

624:                                              ; preds = %621, %615
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #11
  %625 = load ptr, ptr %8, align 8, !tbaa !5
  %626 = icmp ne ptr %625, null
  br i1 %626, label %627, label %630

627:                                              ; preds = %624
  %628 = load i32, ptr %15, align 4, !tbaa !9
  %629 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef @.str.146, ptr noundef null, i32 noundef %628)
  br label %631

630:                                              ; preds = %624
  br label %631

631:                                              ; preds = %630, %627
  %632 = phi i32 [ %629, %627 ], [ 0, %630 ]
  store i32 %632, ptr %50, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %52) #11
  %633 = load ptr, ptr %47, align 8, !tbaa !5
  %634 = load i32, ptr %9, align 4, !tbaa !9
  %635 = load ptr, ptr %6, align 8, !tbaa !5
  %636 = getelementptr inbounds %struct.ImGuiTabBar, ptr %635, i32 0, i32 28
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 8 %636, i64 8, i1 false), !tbaa.struct !120
  %637 = load ptr, ptr %7, align 8, !tbaa !5
  %638 = load i32, ptr %15, align 4, !tbaa !9
  %639 = load i32, ptr %50, align 4, !tbaa !9
  %640 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %641 = trunc i8 %640 to i1
  %642 = load <2 x float>, ptr %53, align 4
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %633, ptr noundef nonnull align 4 dereferenceable(16) %34, i32 noundef %634, <2 x float> %642, ptr noundef %637, i32 noundef %638, i32 noundef %639, i1 noundef zeroext %641, ptr noundef %51, ptr noundef %52)
  %643 = load i8, ptr %51, align 1, !tbaa !25, !range !21, !noundef !22
  %644 = trunc i8 %643 to i1
  br i1 %644, label %645, label %652

645:                                              ; preds = %631
  %646 = load ptr, ptr %8, align 8, !tbaa !5
  %647 = icmp ne ptr %646, null
  br i1 %647, label %648, label %652

648:                                              ; preds = %645
  %649 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %649, align 1, !tbaa !25
  %650 = load ptr, ptr %6, align 8, !tbaa !5
  %651 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %650, ptr noundef %651)
  br label %652

652:                                              ; preds = %648, %645, %631
  %653 = load i8, ptr %36, align 1, !tbaa !25, !range !21, !noundef !22
  %654 = trunc i8 %653 to i1
  br i1 %654, label %655, label %656

655:                                              ; preds = %652
  call void @_ZN5ImGui11PopClipRectEv()
  br label %656

656:                                              ; preds = %655, %652
  %657 = load ptr, ptr %12, align 8, !tbaa !5
  %658 = getelementptr inbounds %struct.ImGuiWindow, ptr %657, i32 0, i32 55
  %659 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %658, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %659, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !120
  %660 = load i8, ptr %52, align 1, !tbaa !25, !range !21, !noundef !22
  %661 = trunc i8 %660 to i1
  br i1 %661, label %662, label %696

662:                                              ; preds = %656
  %663 = load ptr, ptr %10, align 8, !tbaa !5
  %664 = getelementptr inbounds %struct.ImGuiContext, ptr %663, i32 0, i32 35
  %665 = load i32, ptr %664, align 8, !tbaa !135
  %666 = load i32, ptr %15, align 4, !tbaa !9
  %667 = icmp eq i32 %665, %666
  br i1 %667, label %668, label %696

668:                                              ; preds = %662
  %669 = load i8, ptr %43, align 1, !tbaa !25, !range !21, !noundef !22
  %670 = trunc i8 %669 to i1
  br i1 %670, label %696, label %671

671:                                              ; preds = %668
  %672 = load ptr, ptr %6, align 8, !tbaa !5
  %673 = getelementptr inbounds %struct.ImGuiTabBar, ptr %672, i32 0, i32 1
  %674 = load i32, ptr %673, align 8, !tbaa !110
  %675 = and i32 %674, 32
  %676 = icmp ne i32 %675, 0
  br i1 %676, label %695, label %677

677:                                              ; preds = %671
  %678 = load ptr, ptr %17, align 8, !tbaa !5
  %679 = getelementptr inbounds %struct.ImGuiTabItem, ptr %678, i32 0, i32 1
  %680 = load i32, ptr %679, align 4, !tbaa !112
  %681 = and i32 %680, 16
  %682 = icmp ne i32 %681, 0
  br i1 %682, label %695, label %683

683:                                              ; preds = %677
  %684 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 2048)
  br i1 %684, label %685, label %694

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

694:                                              ; preds = %685, %683
  br label %695

695:                                              ; preds = %694, %677, %671
  br label %696

696:                                              ; preds = %695, %668, %662, %656
  %697 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %698 = trunc i8 %697 to i1
  br i1 %698, label %699, label %713

699:                                              ; preds = %696
  %700 = load ptr, ptr %6, align 8, !tbaa !5
  %701 = getelementptr inbounds %struct.ImGuiTabBar, ptr %700, i32 0, i32 3
  %702 = load i32, ptr %701, align 8, !tbaa !115
  %703 = load ptr, ptr %17, align 8, !tbaa !5
  %704 = getelementptr inbounds %struct.ImGuiTabItem, ptr %703, i32 0, i32 0
  %705 = load i32, ptr %704, align 4, !tbaa !96
  %706 = icmp eq i32 %702, %705
  br i1 %706, label %707, label %710

707:                                              ; preds = %699
  %708 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %709 = trunc i8 %708 to i1
  br label %710

710:                                              ; preds = %707, %699
  %711 = phi i1 [ false, %699 ], [ %709, %707 ]
  %712 = xor i1 %711, true
  br label %713

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

715:                                              ; preds = %713
  br label %718

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

717:                                              ; No predecessors!
  br label %718

718:                                              ; preds = %717, %715
  %719 = load i8, ptr %24, align 1, !tbaa !25, !range !21, !noundef !22
  %720 = trunc i8 %719 to i1
  br i1 %720, label %721, label %724

721:                                              ; preds = %718
  %722 = load i8, ptr %44, align 1, !tbaa !25, !range !21, !noundef !22
  %723 = trunc i8 %722 to i1
  store i1 %723, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %727

724:                                              ; preds = %718
  %725 = load i8, ptr %25, align 1, !tbaa !25, !range !21, !noundef !22
  %726 = trunc i8 %725 to i1
  store i1 %726, ptr %5, align 1
  store i32 1, ptr %13, align 4
  br label %727

727:                                              ; preds = %724, %721
  call void @llvm.lifetime.end.p0(i64 1, ptr %52) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %49) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %47) #11
  call void @llvm.lifetime.end.p0(i64 1, 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 4, ptr %41) #11
  br label %728

728:                                              ; preds = %727, %457
  call void @llvm.lifetime.end.p0(i64 8, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr %34) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %729

729:                                              ; preds = %728, %332, %331
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #11
  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 8, 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
  br label %730

730:                                              ; preds = %729, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #11
  br label %731

731:                                              ; preds = %730, %73
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #11
  %732 = load i1, ptr %5, align 1
  ret i1 %732
}

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

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

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

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

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

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

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

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !18, i64 107}
!12 = !{!"_ZTS11ImGuiTabBar", !13, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !14, i64 44, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !10, i64 100, !17, i64 104, !7, i64 106, !18, i64 107, !18, i64 108, !18, i64 109, !17, i64 110, !17, i64 112, !16, i64 116, !15, i64 120, !15, i64 128, !19, i64 136}
!13 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{i64 0, i64 4, !9, i64 4, i64 4, !24, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 1, !25}
!24 = !{!16, !16, i64 0}
!25 = !{!18, !18, i64 0}
!26 = !{!27, !6, i64 16016}
!27 = !{!"_ZTS12ImGuiContext", !18, i64 0, !18, i64 1, !28, i64 8, !30, i64 14272, !30, i64 14288, !31, i64 14304, !6, i64 15352, !16, i64 15360, !16, i64 15364, !32, i64 15368, !34, i64 15880, !10, i64 15888, !10, i64 15892, !10, i64 15896, !18, i64 15900, !18, i64 15901, !18, i64 15902, !18, i64 15903, !18, i64 15904, !6, i64 15912, !35, i64 15920, !35, i64 15936, !35, i64 15952, !36, i64 15968, !37, i64 15984, !10, i64 16000, !15, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !15, i64 16056, !16, i64 16064, !10, i64 16068, !10, i64 16072, !10, i64 16076, !18, i64 16080, !18, i64 16081, !18, i64 16082, !18, i64 16083, !16, i64 16084, !16, i64 16088, !10, i64 16092, !10, i64 16096, !16, i64 16100, !18, i64 16104, !18, i64 16105, !18, i64 16106, !18, i64 16107, !18, i64 16108, !18, i64 16109, !15, i64 16112, !6, i64 16120, !39, i64 16128, !10, i64 16132, !10, i64 16136, !18, i64 16140, !18, i64 16141, !6, i64 16144, !10, i64 16152, !16, i64 16156, !10, i64 16160, !40, i64 16164, !10, i64 16184, !10, i64 16188, !41, i64 16192, !42, i64 16212, !43, i64 16272, !44, i64 16384, !45, i64 16400, !46, i64 16416, !47, i64 16432, !48, i64 16448, !49, i64 16464, !50, i64 16480, !50, i64 16496, !10, i64 16512, !51, i64 16520, !6, i64 16536, !10, i64 16544, !10, i64 16548, !10, i64 16552, !10, i64 16556, !10, i64 16560, !10, i64 16564, !10, i64 16568, !10, i64 16572, !10, i64 16576, !10, i64 16580, !10, i64 16584, !10, i64 16588, !39, i64 16592, !52, i64 16596, !18, i64 16600, !18, i64 16601, !18, i64 16602, !18, i64 16603, !18, i64 16604, !18, i64 16605, !18, i64 16606, !10, i64 16608, !14, i64 16612, !18, i64 16628, !18, i64 16629, !18, i64 16630, !10, i64 16632, !10, i64 16636, !10, i64 16640, !10, i64 16644, !10, i64 16648, !10, i64 16652, !14, i64 16656, !14, i64 16672, !10, i64 16688, !10, i64 16692, !10, i64 16696, !53, i64 16704, !53, i64 16752, !53, i64 16800, !53, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !16, i64 16920, !16, i64 16924, !18, i64 16928, !15, i64 16932, !15, i64 16940, !16, i64 16948, !10, i64 16952, !18, i64 16956, !18, i64 16957, !18, i64 16958, !10, i64 16960, !10, i64 16964, !10, i64 16968, !54, i64 16976, !14, i64 17040, !10, i64 17056, !10, i64 17060, !16, i64 17064, !10, i64 17068, !10, i64 17072, !10, i64 17076, !10, i64 17080, !55, i64 17088, !7, i64 17104, !10, i64 17120, !56, i64 17128, !6, i64 17144, !10, i64 17152, !57, i64 17160, !58, i64 17176, !60, i64 17216, !61, i64 17232, !6, i64 17248, !62, i64 17256, !64, i64 17296, !65, i64 17312, !10, i64 17328, !10, i64 17332, !16, i64 17336, !16, i64 17340, !15, i64 17344, !66, i64 17352, !69, i64 21072, !10, i64 21184, !10, i64 21188, !16, i64 21192, !16, i64 21196, !10, i64 21200, !33, i64 21204, !71, i64 21220, !16, i64 21268, !16, i64 21272, !18, i64 21276, !18, i64 21277, !16, i64 21280, !16, i64 21284, !16, i64 21288, !16, i64 21292, !17, i64 21296, !17, i64 21298, !20, i64 21304, !47, i64 21320, !72, i64 21336, !72, i64 21352, !7, i64 21368, !18, i64 21369, !16, i64 21372, !19, i64 21376, !73, i64 21392, !74, i64 21408, !75, i64 21424, !76, i64 21440, !10, i64 21456, !18, i64 21460, !77, i64 21464, !6, i64 21472, !19, i64 21480, !6, i64 21496, !6, i64 21504, !16, i64 21512, !18, i64 21516, !10, i64 21520, !10, i64 21524, !10, i64 21528, !10, i64 21532, !19, i64 21536, !18, i64 21552, !7, i64 21553, !10, i64 21556, !78, i64 21560, !79, i64 21576, !7, i64 21616, !10, i64 21856, !10, i64 21860, !16, i64 21864, !10, i64 21868, !10, i64 21872, !10, i64 21876, !20, i64 21880}
!28 = !{!"_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, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !6, i64 72, !6, i64 80, !16, i64 88, !18, i64 92, !6, i64 96, !15, i64 104, !18, i64 112, !18, i64 113, !18, i64 114, !18, i64 115, !18, i64 116, !18, i64 117, !18, i64 118, !18, i64 119, !16, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !18, i64 208, !18, i64 209, !18, i64 210, !18, i64 211, !18, i64 212, !18, i64 213, !18, i64 214, !16, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !15, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !15, i64 3572, !7, i64 3580, !16, i64 3588, !16, i64 3592, !18, i64 3596, !18, i64 3597, !18, i64 3598, !18, i64 3599, !10, i64 3600, !7, i64 3604, !18, i64 14036, !15, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !16, i64 14236, !18, i64 14240, !18, i64 14241, !7, i64 14242, !18, i64 14243, !17, i64 14244, !29, i64 14248}
!29 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !10, i64 0, !10, i64 4, !6, i64 8}
!31 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !16, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !15, i64 24, !15, i64 32, !10, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !16, i64 56, !15, i64 60, !16, i64 68, !16, i64 72, !15, i64 76, !15, i64 84, !15, i64 92, !15, i64 100, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !10, i64 148, !15, i64 152, !15, i64 160, !15, i64 168, !15, i64 176, !16, i64 184, !18, i64 188, !18, i64 189, !18, i64 190, !16, i64 192, !16, i64 196, !7, i64 200}
!32 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !33, i64 28, !10, i64 44, !7, i64 48, !16, i64 432, !7, i64 436, !6, i64 504}
!33 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!34 = !{!"double", !7, i64 0}
!35 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS12ImGuiStorage", !38, i64 0}
!38 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!40 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!41 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !18, i64 16}
!42 = !{!"_ZTS17ImGuiLastItemData", !10, i64 0, !10, i64 4, !10, i64 8, !14, i64 12, !14, i64 28, !14, i64 44}
!43 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !18, i64 56, !14, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!53 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !10, i64 8, !10, i64 12, !14, i64 16, !10, i64 32, !16, i64 36, !16, i64 40, !16, i64 44}
!54 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !18, i64 57, !18, i64 58}
!55 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !37, i64 16, !10, i64 32, !10, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !37, i64 16, !10, i64 32, !10, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !29, i64 16, !20, i64 32, !20, i64 48, !18, i64 64, !10, i64 68, !16, i64 72, !67, i64 76, !16, i64 3704, !18, i64 3708, !18, i64 3709, !18, i64 3710, !10, i64 3712}
!67 = !{!"_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, !68, i64 32}
!68 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !17, i64 3582, !17, i64 3584, !10, i64 3588, !10, i64 3592}
!69 = !{!"_ZTS6ImFont", !60, i64 0, !16, i64 16, !16, i64 20, !29, i64 24, !70, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !18, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !10, i64 104, !7, i64 108}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!71 = !{!"_ZTS21ImGuiComboPreviewData", !14, i64 0, !15, i64 16, !15, i64 24, !15, i64 32, !16, i64 40, !10, i64 44}
!72 = !{!"_ZTS20ImGuiPlatformImeData", !18, i64 0, !15, i64 4, !16, i64 12}
!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", !18, i64 0, !18, i64 1, !18, i64 2, !18, i64 3, !18, i64 4, !18, i64 5, !18, i64 6, !10, i64 8, !10, i64 12}
!79 = !{!"_ZTS14ImGuiStackTool", !10, i64 0, !10, i64 4, !10, i64 8, !80, i64 16, !18, i64 32, !16, i64 36}
!80 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!82, !18, i64 155}
!82 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !6, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !15, i64 64, !15, i64 72, !16, i64 80, !16, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !15, i64 132, !15, i64 140, !18, i64 148, !18, i64 149, !18, i64 150, !18, i64 151, !18, i64 152, !18, i64 153, !18, i64 154, !18, i64 155, !18, i64 156, !18, i64 157, !18, i64 158, !18, i64 159, !18, i64 160, !7, i64 161, !17, i64 162, !17, i64 164, !17, i64 166, !17, i64 168, !10, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !18, i64 179, !10, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !10, i64 188, !10, i64 189, !10, i64 190, !15, i64 192, !15, i64 200, !47, i64 208, !83, i64 224, !14, i64 464, !14, i64 480, !14, i64 496, !14, i64 512, !14, i64 528, !14, i64 544, !14, i64 560, !86, i64 576, !86, i64 580, !10, i64 584, !16, i64 588, !16, i64 592, !37, i64 600, !87, i64 616, !16, i64 632, !10, i64 636, !6, i64 640, !88, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !10, i64 944, !10, i64 948, !18, i64 952}
!83 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !18, i64 64, !18, i64 65, !84, i64 68, !84, i64 72, !84, i64 76, !15, i64 80, !52, i64 88, !17, i64 92, !17, i64 94, !10, i64 96, !18, i64 100, !18, i64 101, !18, i64 102, !15, i64 104, !85, i64 112, !10, i64 140, !10, i64 144, !35, i64 152, !6, i64 168, !6, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !16, i64 196, !16, i64 200, !60, i64 208, !60, i64 224}
!84 = !{!"_ZTS6ImVec1", !16, i64 0}
!85 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!86 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!87 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!88 = !{!"_ZTS10ImDrawList", !89, i64 0, !29, i64 16, !90, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !91, i64 88, !92, i64 104, !93, i64 120, !94, i64 136, !95, i64 168, !16, i64 192}
!89 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!94 = !{!"_ZTS15ImDrawCmdHeader", !33, i64 0, !6, i64 16, !10, i64 24}
!95 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !61, i64 8}
!96 = !{!97, !10, i64 0}
!97 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !10, i64 32, !17, i64 36, !17, i64 38, !18, i64 40}
!98 = !{!12, !18, i64 109}
!99 = !{!12, !17, i64 112}
!100 = !{!97, !16, i64 28}
!101 = !{!27, !10, i64 16192}
!102 = !{!27, !16, i64 16196}
!103 = !{!15, !16, i64 0}
!104 = !{!97, !16, i64 20}
!105 = !{!97, !16, i64 24}
!106 = !{!12, !17, i64 110}
!107 = !{!97, !17, i64 36}
!108 = !{!12, !10, i64 40}
!109 = !{!27, !10, i64 15888}
!110 = !{!12, !10, i64 16}
!111 = !{!97, !10, i64 8}
!112 = !{!97, !10, i64 4}
!113 = !{!97, !10, i64 32}
!114 = !{!12, !10, i64 28}
!115 = !{!12, !10, i64 24}
!116 = !{!12, !10, i64 32}
!117 = !{!12, !18, i64 108}
!118 = !{!12, !10, i64 0}
!119 = !{!97, !10, i64 12}
!120 = !{i64 0, i64 4, !24, i64 4, i64 4, !24}
!121 = !{!97, !16, i64 16}
!122 = !{!12, !16, i64 76}
!123 = !{!14, !16, i64 0}
!124 = !{!12, !16, i64 92}
!125 = !{!14, !16, i64 8}
!126 = !{!12, !16, i64 96}
!127 = !{!14, !16, i64 4}
!128 = !{!14, !16, i64 12}
!129 = !{!31, !16, i64 64}
!130 = !{!27, !18, i64 16956}
!131 = !{!27, !10, i64 16092}
!132 = !{!27, !16, i64 248}
!133 = !{!27, !16, i64 3580}
!134 = !{!82, !6, i64 640}
!135 = !{!27, !10, i64 16072}


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

%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, i32, i32, float, float, float, float, i32, i16, i16, i8, [3 x i8] }>

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [114 x i8], align 1
@.str.146 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.175 = external hidden unnamed_addr constant [47 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi = external hidden unnamed_addr constant [78 x i8], align 1
@.str.176 = external hidden unnamed_addr constant [127 x i8], align 1
@.str.177 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.178 = external hidden unnamed_addr constant [72 x i8], align 1

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

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

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #5

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #4

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #4

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

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

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

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

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

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

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

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

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

26:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %5)
  %27 = getelementptr inbounds i8, ptr %22, i64 16192
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(20) %5, ptr noundef nonnull align 8 dereferenceable(20) %27, i64 20, i1 false), !tbaa.struct !22
  tail call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef nonnull %0)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(17) %27, ptr noundef nonnull align 4 dereferenceable(17) %5, i64 17, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %5)
  br label %28

28:                                               ; preds = %26, %4
  %29 = getelementptr inbounds i8, ptr %22, i64 16016
  %30 = load ptr, ptr %29, align 8, !tbaa !26
  %31 = getelementptr inbounds i8, ptr %30, i64 155
  %32 = load i8, ptr %31, align 1, !tbaa !81, !range !20, !noundef !21
  %33 = trunc nuw i8 %32 to i1
  br i1 %33, label %312, label %34

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

36:                                               ; preds = %34
  %37 = load i8, ptr %2, align 1, !tbaa !25, !range !20, !noundef !21
  %38 = trunc nuw i8 %37 to i1
  br i1 %38, label %41, label %39

39:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6)
  %40 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %35, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  br label %312

41:                                               ; preds = %36
  %42 = and i32 %3, 2097152
  %.not199 = icmp eq i32 %42, 0
  br i1 %.not199, label %.thread, label %43

43:                                               ; preds = %41
  tail call void @__assert_fail(ptr noundef nonnull @.str.175, ptr noundef nonnull @.str.2, i32 noundef 8085, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

.thread:                                          ; preds = %34, %41
  %44 = and i32 %3, 192
  %.not200 = icmp eq i32 %44, 192
  br i1 %.not200, label %45, label %46

45:                                               ; preds = %.thread
  tail call void @__assert_fail(ptr noundef nonnull @.str.176, ptr noundef nonnull @.str.2, i32 noundef 8086, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

46:                                               ; preds = %.thread
  %47 = and i32 %3, 1048576
  %.not201 = icmp eq i32 %47, 0
  %48 = or disjoint i32 %3, 1048576
  %49 = and i1 %.not, %.not201
  %.0187 = select i1 %49, i32 %48, i32 %3
  %.0186 = select i1 %.not201, ptr %2, ptr null
  %50 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %35)
  %51 = icmp eq ptr %50, null
  br i1 %51, label %52, label %55

52:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 44, ptr nonnull %7) #11
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(41) %7)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(41) %7)
  call void @llvm.lifetime.end.p0(i64 44, ptr nonnull %7) #11
  %53 = call noundef nonnull align 4 dereferenceable(41) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %35, ptr %53, align 4, !tbaa !96
  %54 = getelementptr inbounds i8, ptr %0, i64 109
  store i8 1, ptr %54, align 1, !tbaa !98
  br label %55

55:                                               ; preds = %52, %46
  %.0189 = phi ptr [ %53, %52 ], [ %50, %46 ]
  %56 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0189)
  %57 = trunc i32 %56 to i16
  %58 = getelementptr inbounds i8, ptr %0, i64 112
  store i16 %57, ptr %58, align 8, !tbaa !99
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #11
  %59 = icmp ne ptr %.0186, null
  %60 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %59)
  store <2 x float> %60, ptr %8, align 8
  %61 = getelementptr inbounds i8, ptr %.0189, i64 28
  store float -1.000000e+00, ptr %61, align 4, !tbaa !100
  %62 = getelementptr inbounds i8, ptr %22, i64 16192
  %63 = load i32, ptr %62, align 8, !tbaa !101
  %64 = and i32 %63, 1
  %.not202 = icmp eq i32 %64, 0
  %65 = extractelement <2 x float> %60, i64 0
  br i1 %.not202, label %69, label %66

66:                                               ; preds = %55
  %67 = getelementptr inbounds i8, ptr %22, i64 16196
  %68 = load float, ptr %67, align 4, !tbaa !102
  store float %68, ptr %61, align 4, !tbaa !100
  store float %68, ptr %8, align 8, !tbaa !103
  br label %69

69:                                               ; preds = %66, %55
  %70 = phi float [ %68, %66 ], [ %65, %55 ]
  br i1 %51, label %71, label %74

71:                                               ; preds = %69
  %72 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef 1.000000e+00, float noundef %70)
  %73 = getelementptr inbounds i8, ptr %.0189, i64 20
  store float %72, ptr %73, align 4, !tbaa !104
  %.pre = load float, ptr %8, align 8, !tbaa !103
  br label %74

74:                                               ; preds = %71, %69
  %75 = phi float [ %.pre, %71 ], [ %70, %69 ]
  %76 = getelementptr inbounds i8, ptr %.0189, i64 24
  store float %75, ptr %76, align 4, !tbaa !105
  %77 = getelementptr inbounds i8, ptr %0, i64 110
  %78 = load i16, ptr %77, align 2, !tbaa !106
  %79 = add i16 %78, 1
  store i16 %79, ptr %77, align 2, !tbaa !106
  %80 = getelementptr inbounds i8, ptr %.0189, i64 36
  store i16 %78, ptr %80, align 4, !tbaa !107
  %81 = getelementptr inbounds i8, ptr %0, i64 40
  %82 = load i32, ptr %81, align 8, !tbaa !108
  %83 = add nsw i32 %82, 1
  %84 = getelementptr inbounds i8, ptr %22, i64 15888
  %85 = load i32, ptr %84, align 8, !tbaa !109
  %86 = icmp sge i32 %83, %85
  %87 = getelementptr inbounds i8, ptr %0, i64 16
  %88 = load i32, ptr %87, align 8, !tbaa !110
  %89 = and i32 %88, 2097152
  %.not203 = icmp eq i32 %89, 0
  %90 = getelementptr inbounds i8, ptr %.0189, i64 8
  %91 = load i32, ptr %90, align 4, !tbaa !111
  %92 = add nsw i32 %91, 1
  %93 = icmp slt i32 %92, %85
  %94 = and i32 %.0187, 2097152
  %.not204 = icmp eq i32 %94, 0
  store i32 %85, ptr %90, align 4, !tbaa !111
  %95 = getelementptr inbounds i8, ptr %.0189, i64 4
  store i32 %.0187, ptr %95, align 4, !tbaa !112
  %96 = getelementptr inbounds i8, ptr %0, i64 136
  %97 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %96)
  %98 = getelementptr inbounds i8, ptr %.0189, i64 32
  store i32 %97, ptr %98, align 4, !tbaa !113
  %99 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #13
  %100 = getelementptr inbounds i8, ptr %1, i64 %99
  %101 = getelementptr inbounds i8, ptr %100, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %96, ptr noundef %1, ptr noundef nonnull %101)
  br i1 %.not204, label %102, label %123

102:                                              ; preds = %74
  br i1 %93, label %103, label %116

103:                                              ; preds = %102
  %104 = load i32, ptr %87, align 8, !tbaa !110
  %105 = and i32 %104, 2
  %.not205 = icmp eq i32 %105, 0
  br i1 %.not205, label %116, label %106

106:                                              ; preds = %103
  %107 = getelementptr inbounds i8, ptr %0, i64 28
  %108 = load i32, ptr %107, align 4, !tbaa !114
  %109 = icmp eq i32 %108, 0
  br i1 %109, label %110, label %116

110:                                              ; preds = %106
  br i1 %86, label %115, label %111

111:                                              ; preds = %110
  %112 = getelementptr inbounds i8, ptr %0, i64 24
  %113 = load i32, ptr %112, align 8, !tbaa !115
  %114 = icmp eq i32 %113, 0
  br i1 %114, label %115, label %116

115:                                              ; preds = %111, %110
  store i32 %35, ptr %107, align 4, !tbaa !114
  br label %116

116:                                              ; preds = %111, %115, %106, %103, %102
  %117 = and i32 %.0187, 2
  %.not206 = icmp eq i32 %117, 0
  br i1 %.not206, label %123, label %118

118:                                              ; preds = %116
  %119 = getelementptr inbounds i8, ptr %0, i64 24
  %120 = load i32, ptr %119, align 8, !tbaa !115
  %.not207 = icmp eq i32 %120, %35
  br i1 %.not207, label %123, label %121

121:                                              ; preds = %118
  %122 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %35, ptr %122, align 4, !tbaa !114
  br label %123

123:                                              ; preds = %116, %118, %121, %74
  %124 = getelementptr inbounds i8, ptr %0, i64 32
  %125 = load i32, ptr %124, align 8, !tbaa !116
  %126 = icmp eq i32 %125, %35
  br i1 %126, label %127, label %.critedge217

127:                                              ; preds = %123
  %128 = getelementptr inbounds i8, ptr %0, i64 108
  store i8 1, ptr %128, align 4, !tbaa !117
  br label %138

.critedge217:                                     ; preds = %123
  %129 = getelementptr inbounds i8, ptr %0, i64 24
  %130 = load i32, ptr %129, align 8, !tbaa !115
  %131 = icmp ne i32 %130, 0
  %brmerge = select i1 %131, i1 true, i1 %86
  br i1 %brmerge, label %138, label %132

132:                                              ; preds = %.critedge217
  %133 = load i32, ptr %0, align 8, !tbaa !118
  %134 = icmp eq i32 %133, 1
  br i1 %134, label %135, label %138

135:                                              ; preds = %132
  %136 = load i32, ptr %87, align 8, !tbaa !110
  %137 = and i32 %136, 2
  %.not208 = icmp eq i32 %137, 0
  br label %138

138:                                              ; preds = %135, %127, %.critedge217, %132
  %.0191.shrunk = phi i1 [ true, %127 ], [ false, %132 ], [ false, %.critedge217 ], [ %.not208, %135 ]
  %brmerge222 = or i1 %51, %86
  %or.cond233 = select i1 %93, i1 %brmerge222, i1 false
  br i1 %or.cond233, label %139, label %141

139:                                              ; preds = %138
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %140 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %35, ptr noundef null, i32 noundef 24)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  %.0191.shrunk. = select i1 %.not204, i1 %.0191.shrunk, i1 false
  br label %311

141:                                              ; preds = %138
  %142 = getelementptr inbounds i8, ptr %0, i64 24
  %143 = load i32, ptr %142, align 8, !tbaa !115
  %144 = icmp eq i32 %143, %35
  br i1 %144, label %145, label %148

145:                                              ; preds = %141
  %146 = load i32, ptr %84, align 8, !tbaa !109
  %147 = getelementptr inbounds i8, ptr %.0189, i64 12
  store i32 %146, ptr %147, align 4, !tbaa !119
  br label %148

148:                                              ; preds = %145, %141
  %149 = getelementptr inbounds i8, ptr %30, i64 224
  %150 = load i64, ptr %149, align 8
  %151 = load i32, ptr %95, align 4, !tbaa !112
  %152 = and i32 %151, 192
  %153 = icmp eq i32 %152, 0
  %154 = getelementptr inbounds i8, ptr %.0189, i64 20
  %155 = load float, ptr %154, align 4, !tbaa !104
  store float %155, ptr %8, align 8, !tbaa !103
  %156 = getelementptr inbounds i8, ptr %0, i64 44
  %157 = getelementptr inbounds i8, ptr %.0189, i64 16
  br i1 %153, label %158, label %166

158:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %159 = load float, ptr %157, align 4, !tbaa !120
  %160 = getelementptr inbounds i8, ptr %0, i64 76
  %161 = load float, ptr %160, align 4, !tbaa !121
  %162 = fsub float %159, %161
  %163 = fptosi float %162 to i32
  %164 = sitofp i32 %163 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %164, float noundef 0.000000e+00)
  %165 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %156, ptr noundef nonnull align 4 dereferenceable(8) %10)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  br label %169

166:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  %167 = load float, ptr %157, align 4, !tbaa !120
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %11, float noundef %167, float noundef 0.000000e+00)
  %168 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %156, ptr noundef nonnull align 4 dereferenceable(8) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %169

169:                                              ; preds = %166, %158
  %.sink = phi <2 x float> [ %165, %158 ], [ %168, %166 ]
  store <2 x float> %.sink, ptr %149, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  store <2 x float> %.sink, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  %170 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %8)
  store <2 x float> %170, ptr %14, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %13, ptr noundef nonnull align 4 dereferenceable(8) %12, ptr noundef nonnull align 4 dereferenceable(8) %14)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  br i1 %153, label %171, label %.thread238

171:                                              ; preds = %169
  %172 = load float, ptr %13, align 4, !tbaa !122
  %173 = getelementptr inbounds i8, ptr %0, i64 92
  %174 = load float, ptr %173, align 4, !tbaa !123
  %175 = fcmp olt float %172, %174
  br i1 %175, label %.thread237, label %176

176:                                              ; preds = %171
  %177 = getelementptr inbounds i8, ptr %13, i64 8
  %178 = load float, ptr %177, align 4, !tbaa !124
  %179 = getelementptr inbounds i8, ptr %0, i64 96
  %180 = load float, ptr %179, align 8, !tbaa !125
  %181 = fcmp ogt float %178, %180
  br i1 %181, label %.thread237, label %.thread238

.thread237:                                       ; preds = %171, %176
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  %182 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %172, float noundef %174)
  %183 = getelementptr inbounds i8, ptr %13, i64 4
  %184 = load float, ptr %183, align 4, !tbaa !126
  %185 = fadd float %184, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %182, float noundef %185)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %186 = getelementptr inbounds i8, ptr %0, i64 96
  %187 = load float, ptr %186, align 8, !tbaa !125
  %188 = getelementptr inbounds i8, ptr %13, i64 12
  %189 = load float, ptr %188, align 4, !tbaa !127
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %187, float noundef %189)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %15, ptr noundef nonnull align 4 dereferenceable(8) %16, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  br label %.thread238

.thread238:                                       ; preds = %169, %.thread237, %176
  %190 = phi i1 [ true, %.thread237 ], [ false, %176 ], [ false, %169 ]
  %191 = getelementptr inbounds i8, ptr %30, i64 248
  %192 = load i64, ptr %191, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #11
  %193 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %13)
  store <2 x float> %193, ptr %17, align 8
  %194 = getelementptr inbounds i8, ptr %22, i64 14368
  %195 = load float, ptr %194, align 4, !tbaa !128
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %195)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #11
  store i64 %192, ptr %191, align 8
  %196 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %35, ptr noundef null, i32 noundef 0)
  br i1 %196, label %200, label %197

197:                                              ; preds = %.thread238
  br i1 %190, label %198, label %199

198:                                              ; preds = %197
  call void @_ZN5ImGui11PopClipRectEv()
  br label %199

199:                                              ; preds = %198, %197
  store i64 %150, ptr %149, align 8
  br label %310

200:                                              ; preds = %.thread238
  %201 = select i1 %.not204, i32 4112, i32 4128
  %202 = getelementptr inbounds i8, ptr %22, i64 16956
  %203 = load i8, ptr %202, align 4, !tbaa !129, !range !20, !noundef !21
  %204 = trunc nuw i8 %203 to i1
  %205 = or disjoint i32 %201, 512
  %spec.select223 = select i1 %204, i32 %205, i32 %201
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #11
  %206 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %35, ptr noundef nonnull %18, ptr noundef nonnull %19, i32 noundef %spec.select223)
  %207 = select i1 %206, i1 %.not204, i1 false
  br i1 %207, label %208, label %210

208:                                              ; preds = %200
  %209 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %35, ptr %209, align 4, !tbaa !114
  br label %210

210:                                              ; preds = %200, %208
  %211 = getelementptr inbounds i8, ptr %22, i64 16092
  %212 = load i32, ptr %211, align 4, !tbaa !130
  %.not209 = icmp eq i32 %212, %35
  br i1 %.not209, label %214, label %213

213:                                              ; preds = %210
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %214

214:                                              ; preds = %213, %210
  %215 = load i8, ptr %19, align 1, !tbaa !25, !range !20, !noundef !21
  %216 = trunc nuw i8 %215 to i1
  %.not226 = xor i1 %216, true
  %brmerge227 = select i1 %.not226, i1 true, i1 %93
  br i1 %brmerge227, label %242, label %217

217:                                              ; preds = %214
  %218 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %218, label %219, label %242

219:                                              ; preds = %217
  %220 = load i8, ptr %202, align 4, !tbaa !129, !range !20, !noundef !21
  %221 = trunc nuw i8 %220 to i1
  br i1 %221, label %242, label %222

222:                                              ; preds = %219
  %223 = load i32, ptr %87, align 8, !tbaa !110
  %224 = and i32 %223, 1
  %.not210 = icmp eq i32 %224, 0
  br i1 %.not210, label %242, label %225

225:                                              ; preds = %222
  %226 = getelementptr inbounds i8, ptr %22, i64 248
  %227 = load float, ptr %226, align 8, !tbaa !131
  %228 = fcmp olt float %227, 0.000000e+00
  br i1 %228, label %229, label %234

229:                                              ; preds = %225
  %230 = getelementptr inbounds i8, ptr %22, i64 3580
  %231 = load float, ptr %230, align 4, !tbaa !132
  %232 = load float, ptr %13, align 4, !tbaa !122
  %233 = fcmp olt float %231, %232
  br i1 %233, label %.sink.split, label %234

234:                                              ; preds = %229, %225
  %235 = fcmp ogt float %227, 0.000000e+00
  br i1 %235, label %236, label %242

236:                                              ; preds = %234
  %237 = getelementptr inbounds i8, ptr %22, i64 3580
  %238 = load float, ptr %237, align 4, !tbaa !132
  %239 = getelementptr inbounds i8, ptr %13, i64 8
  %240 = load float, ptr %239, align 4, !tbaa !124
  %241 = fcmp ogt float %238, %240
  br i1 %241, label %.sink.split, label %242

.sink.split:                                      ; preds = %236, %229
  %.sink240 = phi ptr [ %230, %229 ], [ %237, %236 ]
  %.sroa.05.0.copyload = load <2 x float>, ptr %.sink240, align 4
  call void @_ZN5ImGui30TabBarQueueReorderFromMousePosEP11ImGuiTabBarPK12ImGuiTabItem6ImVec2(ptr noundef nonnull %0, ptr noundef nonnull %.0189, <2 x float> %.sroa.05.0.copyload)
  br label %242

242:                                              ; preds = %.sink.split, %214, %219, %222, %234, %236, %217
  %243 = getelementptr inbounds i8, ptr %30, i64 640
  %244 = load ptr, ptr %243, align 8, !tbaa !133
  %245 = load i8, ptr %19, align 1, !tbaa !25, !range !20, !noundef !21
  %246 = trunc nuw i8 %245 to i1
  br i1 %246, label %255, label %247

247:                                              ; preds = %242
  %248 = load i8, ptr %18, align 1, !tbaa !25, !range !20, !noundef !21
  %249 = trunc nuw i8 %248 to i1
  br i1 %249, label %255, label %250

250:                                              ; preds = %247
  br i1 %.0191.shrunk, label %251, label %253

251:                                              ; preds = %250
  %252 = select i1 %.not203, i32 37, i32 35
  br label %255

253:                                              ; preds = %250
  %254 = select i1 %.not203, i32 36, i32 33
  br label %255

255:                                              ; preds = %251, %253, %242, %247
  %256 = phi i32 [ 34, %247 ], [ 34, %242 ], [ %252, %251 ], [ %254, %253 ]
  %257 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %256, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %244, ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %.0187, i32 noundef %257)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %35, i32 noundef 1)
  %258 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 32)
  br i1 %258, label %259, label %267

259:                                              ; preds = %255
  %260 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %260, label %264, label %261

261:                                              ; preds = %259
  %262 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  %263 = select i1 %262, i1 %.not204, i1 false
  br i1 %263, label %265, label %267

264:                                              ; preds = %259
  br i1 %.not204, label %265, label %267

265:                                              ; preds = %261, %264
  %266 = getelementptr inbounds i8, ptr %0, i64 28
  store i32 %35, ptr %266, align 4, !tbaa !114
  br label %267

267:                                              ; preds = %261, %264, %265, %255
  %268 = load i32, ptr %87, align 8, !tbaa !110
  %269 = lshr i32 %268, 1
  %270 = and i32 %269, 4
  %spec.select231 = or i32 %270, %.0187
  br i1 %59, label %271, label %273

271:                                              ; preds = %267
  %272 = call noundef i32 @_ZN5ImGui13GetIDWithSeedEPKcS1_j(ptr noundef nonnull @.str.146, ptr noundef null, i32 noundef %35)
  br label %273

273:                                              ; preds = %267, %271
  %274 = phi i32 [ %272, %271 ], [ 0, %267 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #11
  %275 = getelementptr inbounds i8, ptr %0, i64 120
  %.sroa.0.0.copyload = load <2 x float>, ptr %275, align 8
  call void @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjbPbS8_(ptr noundef %244, ptr noundef nonnull align 4 dereferenceable(16) %13, i32 noundef %spec.select231, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %35, i32 noundef %274, i1 noundef zeroext %.0191.shrunk, ptr noundef nonnull %20, ptr noundef nonnull %21)
  %276 = load i8, ptr %20, align 1, !tbaa !25, !range !20, !noundef !21
  %277 = trunc nuw i8 %276 to i1
  %or.cond = and i1 %59, %277
  br i1 %or.cond, label %278, label %279

278:                                              ; preds = %273
  store i8 0, ptr %.0186, align 1, !tbaa !25
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0189)
  br label %279

279:                                              ; preds = %278, %273
  br i1 %190, label %280, label %281

280:                                              ; preds = %279
  call void @_ZN5ImGui11PopClipRectEv()
  br label %281

281:                                              ; preds = %280, %279
  store i64 %150, ptr %149, align 8
  %282 = load i8, ptr %21, align 1, !tbaa !25, !range !20, !noundef !21
  %283 = trunc nuw i8 %282 to i1
  br i1 %283, label %284, label %305

284:                                              ; preds = %281
  %285 = getelementptr inbounds i8, ptr %22, i64 16072
  %286 = load i32, ptr %285, align 8, !tbaa !134
  %287 = icmp eq i32 %286, %35
  br i1 %287, label %288, label %305

288:                                              ; preds = %284
  %289 = load i8, ptr %19, align 1, !tbaa !25, !range !20, !noundef !21
  %290 = trunc nuw i8 %289 to i1
  br i1 %290, label %305, label %291

291:                                              ; preds = %288
  %292 = load i32, ptr %87, align 8, !tbaa !110
  %293 = and i32 %292, 32
  %.not212 = icmp eq i32 %293, 0
  br i1 %.not212, label %294, label %305

294:                                              ; preds = %291
  %295 = load i32, ptr %95, align 4, !tbaa !112
  %296 = and i32 %295, 16
  %.not213 = icmp eq i32 %296, 0
  br i1 %.not213, label %297, label %305

297:                                              ; preds = %294
  %298 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 2048)
  br i1 %298, label %299, label %305

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

305:                                              ; preds = %291, %294, %299, %297, %288, %284, %281
  br i1 %.not204, label %.critedge, label %306

306:                                              ; preds = %305
  %307 = load i32, ptr %142, align 8, !tbaa !115
  %308 = load i32, ptr %.0189, align 4, !tbaa !96
  %.not214 = icmp eq i32 %307, %308
  br i1 %.not214, label %309, label %.critedge

309:                                              ; preds = %306
  call void @__assert_fail(ptr noundef nonnull @.str.178, ptr noundef nonnull @.str.2, i32 noundef 8272, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi) #12
  unreachable

.critedge:                                        ; preds = %305, %306
  %.0191.shrunk.232 = phi i1 [ %.0191.shrunk, %305 ], [ %206, %306 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  br label %310

310:                                              ; preds = %.critedge, %199
  %.1 = phi i1 [ %.0191.shrunk.232, %.critedge ], [ %.0191.shrunk, %199 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %13) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  br label %311

311:                                              ; preds = %139, %310
  %.2 = phi i1 [ %.1, %310 ], [ %.0191.shrunk., %139 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #11
  br label %312

312:                                              ; preds = %39, %311, %28
  %.4 = phi i1 [ false, %28 ], [ %.2, %311 ], [ false, %39 ]
  ret i1 %.4
}

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

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

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

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

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

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #6 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { 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, !17, i64 107}
!10 = !{!"_ZTS11ImGuiTabBar", !11, i64 0, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !12, i64 36, !12, i64 40, !13, i64 44, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !15, i64 84, !15, i64 88, !15, i64 92, !15, i64 96, !12, i64 100, !16, i64 104, !7, i64 106, !17, i64 107, !17, i64 108, !17, i64 109, !16, i64 110, !16, i64 112, !15, i64 116, !14, i64 120, !14, i64 128, !18, i64 136}
!11 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!12 = !{!"int", !7, i64 0}
!13 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTS15ImGuiTextBuffer", !19, i64 0}
!19 = !{!"_ZTS8ImVectorIcE", !12, i64 0, !12, i64 4, !6, i64 8}
!20 = !{i8 0, i8 2}
!21 = !{}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !24, i64 8, i64 4, !23, i64 12, i64 4, !23, i64 16, i64 1, !25}
!23 = !{!12, !12, i64 0}
!24 = !{!15, !15, i64 0}
!25 = !{!17, !17, i64 0}
!26 = !{!27, !6, i64 16016}
!27 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !28, i64 8, !30, i64 14272, !30, i64 14288, !31, i64 14304, !6, i64 15352, !15, i64 15360, !15, i64 15364, !32, i64 15368, !34, i64 15880, !12, i64 15888, !12, i64 15892, !12, i64 15896, !17, i64 15900, !17, i64 15901, !17, i64 15902, !17, i64 15903, !17, i64 15904, !6, i64 15912, !35, i64 15920, !35, i64 15936, !35, i64 15952, !36, i64 15968, !37, i64 15984, !12, i64 16000, !14, i64 16004, !6, i64 16016, !6, i64 16024, !6, i64 16032, !6, i64 16040, !6, i64 16048, !14, i64 16056, !15, i64 16064, !12, i64 16068, !12, i64 16072, !12, i64 16076, !17, i64 16080, !17, i64 16081, !17, i64 16082, !17, i64 16083, !15, i64 16084, !15, i64 16088, !12, i64 16092, !12, i64 16096, !15, i64 16100, !17, i64 16104, !17, i64 16105, !17, i64 16106, !17, i64 16107, !17, i64 16108, !17, i64 16109, !14, i64 16112, !6, i64 16120, !39, i64 16128, !12, i64 16132, !12, i64 16136, !17, i64 16140, !17, i64 16141, !6, i64 16144, !12, i64 16152, !15, i64 16156, !12, i64 16160, !40, i64 16164, !12, i64 16184, !12, i64 16188, !41, i64 16192, !42, i64 16212, !43, i64 16272, !44, i64 16384, !45, i64 16400, !46, i64 16416, !47, i64 16432, !48, i64 16448, !49, i64 16464, !50, i64 16480, !50, i64 16496, !12, i64 16512, !51, i64 16520, !6, i64 16536, !12, i64 16544, !12, i64 16548, !12, i64 16552, !12, i64 16556, !12, i64 16560, !12, i64 16564, !12, i64 16568, !12, i64 16572, !12, i64 16576, !12, i64 16580, !12, i64 16584, !12, i64 16588, !39, i64 16592, !52, i64 16596, !17, i64 16600, !17, i64 16601, !17, i64 16602, !17, i64 16603, !17, i64 16604, !17, i64 16605, !17, i64 16606, !12, i64 16608, !13, i64 16612, !17, i64 16628, !17, i64 16629, !17, i64 16630, !12, i64 16632, !12, i64 16636, !12, i64 16640, !12, i64 16644, !12, i64 16648, !12, i64 16652, !13, i64 16656, !13, i64 16672, !12, i64 16688, !12, i64 16692, !12, i64 16696, !53, i64 16704, !53, i64 16752, !53, i64 16800, !53, i64 16848, !6, i64 16896, !6, i64 16904, !6, i64 16912, !15, i64 16920, !15, i64 16924, !17, i64 16928, !14, i64 16932, !14, i64 16940, !15, i64 16948, !12, i64 16952, !17, i64 16956, !17, i64 16957, !17, i64 16958, !12, i64 16960, !12, i64 16964, !12, i64 16968, !54, i64 16976, !13, i64 17040, !12, i64 17056, !12, i64 17060, !15, i64 17064, !12, i64 17068, !12, i64 17072, !12, i64 17076, !12, i64 17080, !55, i64 17088, !7, i64 17104, !12, i64 17120, !56, i64 17128, !6, i64 17144, !12, i64 17152, !57, i64 17160, !58, i64 17176, !60, i64 17216, !61, i64 17232, !6, i64 17248, !62, i64 17256, !64, i64 17296, !65, i64 17312, !12, i64 17328, !12, i64 17332, !15, i64 17336, !15, i64 17340, !14, i64 17344, !66, i64 17352, !69, i64 21072, !12, i64 21184, !12, i64 21188, !15, i64 21192, !15, i64 21196, !12, i64 21200, !33, i64 21204, !71, i64 21220, !15, i64 21268, !15, i64 21272, !17, i64 21276, !17, i64 21277, !15, i64 21280, !15, i64 21284, !15, i64 21288, !15, i64 21292, !16, i64 21296, !16, i64 21298, !19, i64 21304, !47, i64 21320, !72, i64 21336, !72, i64 21352, !7, i64 21368, !17, i64 21369, !15, i64 21372, !18, i64 21376, !73, i64 21392, !74, i64 21408, !75, i64 21424, !76, i64 21440, !12, i64 21456, !17, i64 21460, !77, i64 21464, !6, i64 21472, !18, i64 21480, !6, i64 21496, !6, i64 21504, !15, i64 21512, !17, i64 21516, !12, i64 21520, !12, i64 21524, !12, i64 21528, !12, i64 21532, !18, i64 21536, !17, i64 21552, !7, i64 21553, !12, i64 21556, !78, i64 21560, !79, i64 21576, !7, i64 21616, !12, i64 21856, !12, i64 21860, !15, i64 21864, !12, i64 21868, !12, i64 21872, !12, i64 21876, !19, i64 21880}
!28 = !{!"_ZTS7ImGuiIO", !12, i64 0, !12, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !6, i64 24, !6, i64 32, !15, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !6, i64 72, !6, i64 80, !15, i64 88, !17, i64 92, !6, i64 96, !14, i64 104, !17, i64 112, !17, i64 113, !17, i64 114, !17, i64 115, !17, i64 116, !17, i64 117, !17, i64 118, !17, i64 119, !15, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !6, i64 192, !6, i64 200, !17, i64 208, !17, i64 209, !17, i64 210, !17, i64 211, !17, i64 212, !17, i64 213, !17, i64 214, !15, i64 216, !12, i64 220, !12, i64 224, !12, i64 228, !12, i64 232, !12, i64 236, !14, i64 240, !7, i64 248, !7, i64 2856, !7, i64 3508, !14, i64 3572, !7, i64 3580, !15, i64 3588, !15, i64 3592, !17, i64 3596, !17, i64 3597, !17, i64 3598, !17, i64 3599, !12, i64 3600, !7, i64 3604, !17, i64 14036, !14, i64 14040, !7, i64 14048, !7, i64 14088, !7, i64 14128, !7, i64 14133, !7, i64 14138, !7, i64 14148, !7, i64 14158, !7, i64 14163, !7, i64 14168, !7, i64 14176, !7, i64 14196, !7, i64 14216, !15, i64 14236, !17, i64 14240, !17, i64 14241, !7, i64 14242, !17, i64 14243, !16, i64 14244, !29, i64 14248}
!29 = !{!"_ZTS8ImVectorItE", !12, i64 0, !12, i64 4, !6, i64 8}
!30 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !12, i64 0, !12, i64 4, !6, i64 8}
!31 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !12, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !12, i64 148, !14, i64 152, !14, i64 160, !14, i64 168, !14, i64 176, !15, i64 184, !17, i64 188, !17, i64 189, !17, i64 190, !15, i64 192, !15, i64 196, !7, i64 200}
!32 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !15, i64 16, !15, i64 20, !15, i64 24, !33, i64 28, !12, i64 44, !7, i64 48, !15, i64 432, !7, i64 436, !6, i64 504}
!33 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!34 = !{!"double", !7, i64 0}
!35 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !12, i64 0, !12, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!37 = !{!"_ZTS12ImGuiStorage", !38, i64 0}
!38 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !12, i64 0, !12, i64 4, !6, i64 8}
!39 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!40 = !{!"_ZTS10ImBitArrayILi140ELin512EE", !7, i64 0}
!41 = !{!"_ZTS17ImGuiNextItemData", !12, i64 0, !15, i64 4, !12, i64 8, !12, i64 12, !17, i64 16}
!42 = !{!"_ZTS17ImGuiLastItemData", !12, i64 0, !12, i64 4, !12, i64 8, !13, i64 12, !13, i64 28, !13, i64 44}
!43 = !{!"_ZTS19ImGuiNextWindowData", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !17, i64 56, !13, i64 60, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100}
!44 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !12, i64 0, !12, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !12, i64 0, !12, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIP6ImFontE", !12, i64 0, !12, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIjE", !12, i64 0, !12, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorIiE", !12, i64 0, !12, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !12, i64 0, !12, i64 4, !6, i64 8}
!52 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!53 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !12, i64 8, !12, i64 12, !13, i64 16, !12, i64 32, !15, i64 36, !15, i64 40, !15, i64 44}
!54 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!55 = !{!"_ZTS8ImVectorIhE", !12, i64 0, !12, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !12, i64 0, !12, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !37, i64 16, !12, i64 32, !12, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !12, i64 0, !12, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !12, i64 0, !12, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !12, i64 0, !12, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !37, i64 16, !12, i64 32, !12, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !12, i64 0, !12, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !12, i64 0, !12, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !12, i64 0, !12, i64 4, !6, i64 8}
!66 = !{!"_ZTS19ImGuiInputTextState", !12, i64 0, !12, i64 4, !12, i64 8, !29, i64 16, !19, i64 32, !19, i64 48, !17, i64 64, !12, i64 68, !15, i64 72, !67, i64 76, !15, i64 3704, !17, i64 3708, !17, i64 3709, !17, i64 3710, !12, i64 3712}
!67 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !12, i64 0, !12, i64 4, !12, i64 8, !7, i64 12, !12, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !68, i64 32}
!68 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !12, i64 3588, !12, i64 3592}
!69 = !{!"_ZTS6ImFont", !60, i64 0, !15, i64 16, !15, i64 20, !29, i64 24, !70, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !16, i64 86, !17, i64 88, !15, i64 92, !15, i64 96, !15, i64 100, !12, i64 104, !7, i64 108}
!70 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !12, i64 0, !12, i64 4, !6, i64 8}
!71 = !{!"_ZTS21ImGuiComboPreviewData", !13, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !12, i64 44}
!72 = !{!"_ZTS20ImGuiPlatformImeData", !17, i64 0, !14, i64 4, !15, i64 12}
!73 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !12, i64 0, !12, i64 4, !6, i64 8}
!74 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !19, i64 0}
!75 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !19, i64 0}
!76 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !12, i64 0, !12, 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, !17, i64 5, !17, i64 6, !12, i64 8, !12, i64 12}
!79 = !{!"_ZTS14ImGuiStackTool", !12, i64 0, !12, i64 4, !12, i64 8, !80, i64 16, !17, i64 32, !15, i64 36}
!80 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !12, i64 0, !12, i64 4, !6, i64 8}
!81 = !{!82, !17, i64 155}
!82 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !12, i64 8, !12, i64 12, !6, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !14, i64 56, !14, i64 64, !14, i64 72, !15, i64 80, !15, i64 84, !12, i64 88, !12, i64 92, !12, i64 96, !14, i64 100, !14, i64 108, !14, i64 116, !14, i64 124, !14, i64 132, !14, i64 140, !17, i64 148, !17, i64 149, !17, i64 150, !17, i64 151, !17, i64 152, !17, i64 153, !17, i64 154, !17, i64 155, !17, i64 156, !17, i64 157, !17, i64 158, !17, i64 159, !17, i64 160, !7, i64 161, !16, i64 162, !16, i64 164, !16, i64 166, !16, i64 168, !12, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !17, i64 179, !12, i64 180, !7, i64 184, !7, i64 185, !7, i64 186, !7, i64 187, !12, i64 188, !12, i64 189, !12, i64 190, !14, i64 192, !14, i64 200, !47, i64 208, !83, i64 224, !13, i64 464, !13, i64 480, !13, i64 496, !13, i64 512, !13, i64 528, !13, i64 544, !13, i64 560, !86, i64 576, !86, i64 580, !12, i64 584, !15, i64 588, !15, i64 592, !37, i64 600, !87, i64 616, !15, i64 632, !12, i64 636, !6, i64 640, !88, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !7, i64 904, !7, i64 912, !12, i64 944, !12, i64 948, !17, i64 952}
!83 = !{!"_ZTS19ImGuiWindowTempData", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !15, i64 56, !15, i64 60, !17, i64 64, !17, i64 65, !84, i64 68, !84, i64 72, !84, i64 76, !14, i64 80, !52, i64 88, !16, i64 92, !16, i64 94, !12, i64 96, !17, i64 100, !17, i64 101, !17, i64 102, !14, i64 104, !85, i64 112, !12, i64 140, !12, i64 144, !35, i64 152, !6, i64 168, !6, i64 176, !12, i64 184, !12, i64 188, !12, i64 192, !15, i64 196, !15, i64 200, !60, i64 208, !60, i64 224}
!84 = !{!"_ZTS6ImVec1", !15, i64 0}
!85 = !{!"_ZTS16ImGuiMenuColumns", !12, i64 0, !12, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!86 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!87 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !12, i64 0, !12, i64 4, !6, i64 8}
!88 = !{!"_ZTS10ImDrawList", !89, i64 0, !29, i64 16, !90, i64 32, !12, i64 48, !12, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !91, i64 88, !92, i64 104, !93, i64 120, !94, i64 136, !95, i64 168, !15, i64 192}
!89 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !12, i64 0, !12, i64 4, !6, i64 8}
!90 = !{!"_ZTS8ImVectorI10ImDrawVertE", !12, i64 0, !12, i64 4, !6, i64 8}
!91 = !{!"_ZTS8ImVectorI6ImVec4E", !12, i64 0, !12, i64 4, !6, i64 8}
!92 = !{!"_ZTS8ImVectorIPvE", !12, i64 0, !12, i64 4, !6, i64 8}
!93 = !{!"_ZTS8ImVectorI6ImVec2E", !12, i64 0, !12, i64 4, !6, i64 8}
!94 = !{!"_ZTS15ImDrawCmdHeader", !33, i64 0, !6, i64 16, !12, i64 24}
!95 = !{!"_ZTS18ImDrawListSplitter", !12, i64 0, !12, i64 4, !61, i64 8}
!96 = !{!97, !12, i64 0}
!97 = !{!"_ZTS12ImGuiTabItem", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !12, i64 32, !16, i64 36, !16, i64 38, !17, i64 40}
!98 = !{!10, !17, i64 109}
!99 = !{!10, !16, i64 112}
!100 = !{!97, !15, i64 28}
!101 = !{!27, !12, i64 16192}
!102 = !{!27, !15, i64 16196}
!103 = !{!14, !15, i64 0}
!104 = !{!97, !15, i64 20}
!105 = !{!97, !15, i64 24}
!106 = !{!10, !16, i64 110}
!107 = !{!97, !16, i64 36}
!108 = !{!10, !12, i64 40}
!109 = !{!27, !12, i64 15888}
!110 = !{!10, !12, i64 16}
!111 = !{!97, !12, i64 8}
!112 = !{!97, !12, i64 4}
!113 = !{!97, !12, i64 32}
!114 = !{!10, !12, i64 28}
!115 = !{!10, !12, i64 24}
!116 = !{!10, !12, i64 32}
!117 = !{!10, !17, i64 108}
!118 = !{!10, !12, i64 0}
!119 = !{!97, !12, i64 12}
!120 = !{!97, !15, i64 16}
!121 = !{!10, !15, i64 76}
!122 = !{!13, !15, i64 0}
!123 = !{!10, !15, i64 92}
!124 = !{!13, !15, i64 8}
!125 = !{!10, !15, i64 96}
!126 = !{!13, !15, i64 4}
!127 = !{!13, !15, i64 12}
!128 = !{!31, !15, i64 64}
!129 = !{!27, !17, i64 16956}
!130 = !{!27, !12, i64 16092}
!131 = !{!27, !15, i64 248}
!132 = !{!27, !15, i64 3580}
!133 = !{!82, !6, i64 640}
!134 = !{!27, !12, i64 16072}


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