; LLVM IR from erwincoumans/tiny-differentiable-simulator :: third_party/dear_imgui (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.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, ptr, i32, i32, float, float, float, i16, i8, i8 }>
%struct.ImGuiTabBar = type { %struct.ImVector.31, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, i32, i32, i8, i8, i8, i16, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, i32, i32, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, i32, ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.17, %struct.ImVector.18, %struct.ImVector.18, %struct.ImVector.19, float, [4 x i8], ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [3 x i8], float, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.20, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.22, %struct.ImVector.23, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.24, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, ptr, %struct.ImGuiDockContext, i8, [3 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.28, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVector.13, ptr, %struct.ImVector.14 }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, 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, [50 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, %struct.ImRect, ptr, ptr, float, i32, i32, %struct.ImGuiWindowClass, %struct.ImVec2 }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%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.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.21, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.24, %struct.ImVector.24, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, 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.2, float, float, %struct.ImVector.7, %struct.ImVector.25, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiDockContext = type <{ %struct.ImGuiStorage, %struct.ImVector.26, %struct.ImVector.27, i8, [7 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %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, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, [4 x i8], %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.5, float, float, i32, [4 x i8], ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8], ptr, ptr, i32, i32, %struct.ImRect, i16, i8, [5 x i8] }>
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiDockNode = type <{ i32, i32, i32, [4 x i8], ptr, [2 x ptr], %struct.ImVector.0, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, %struct.ImGuiWindowClass, i32, [4 x i8], ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i8, [5 x i8] }>

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) #8

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #5

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #8

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

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

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

declare void @_ZN5ImGui11PopItemFlagEv() #8

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1163), ptr noundef) #8

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

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

declare void @_ZN5ImGui11PopClipRectEv() #8

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #6

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

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

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

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

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

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

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

61:                                               ; preds = %5
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  call void @_ZN5ImGuiL12TabBarLayoutEP11ImGuiTabBar(ptr noundef %62)
  br label %63

63:                                               ; preds = %61, %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #12
  %64 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %64, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #12
  %65 = load ptr, ptr %12, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.ImGuiContext, ptr %65, i32 0, i32 31
  %67 = load ptr, ptr %66, align 8, !tbaa !23
  store ptr %67, ptr %13, align 8, !tbaa !5
  %68 = load ptr, ptr %13, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiWindow, ptr %68, i32 0, i32 33
  %70 = load i8, ptr %69, align 4, !tbaa !69, !range !21, !noundef !22
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %73

72:                                               ; preds = %63
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %909

73:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #12
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiContext, ptr %74, i32 0, i32 5
  store ptr %75, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #12
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = load ptr, ptr %8, align 8, !tbaa !5
  %78 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef %76, ptr noundef %77)
  store i32 %78, ptr %16, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %73
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = icmp ne ptr %82, null
  br i1 %83, label %84, label %91

84:                                               ; preds = %81
  %85 = load ptr, ptr %9, align 8, !tbaa !5
  %86 = load i8, ptr %85, align 1, !tbaa !87, !range !21, !noundef !22
  %87 = trunc i8 %86 to i1
  br i1 %87, label %91, label %88

88:                                               ; preds = %84
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr %17) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %17)
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %17, i32 noundef %89, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %17) #12
  call void @_ZN5ImGui11PopItemFlagEv()
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %908

91:                                               ; preds = %84, %81
  %92 = load i32, ptr %10, align 4, !tbaa !9
  %93 = and i32 %92, 1048576
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %96

95:                                               ; preds = %91
  store ptr null, ptr %9, align 8, !tbaa !5
  br label %103

96:                                               ; preds = %91
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = icmp eq ptr %97, null
  br i1 %98, label %99, label %102

99:                                               ; preds = %96
  %100 = load i32, ptr %10, align 4, !tbaa !9
  %101 = or i32 %100, 1048576
  store i32 %101, ptr %10, align 4, !tbaa !9
  br label %102

102:                                              ; preds = %99, %96
  br label %103

103:                                              ; preds = %102, %95
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #12
  %104 = load ptr, ptr %8, align 8, !tbaa !5
  %105 = load ptr, ptr %9, align 8, !tbaa !5
  %106 = icmp ne ptr %105, null
  %107 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %104, i1 noundef zeroext %106)
  store <2 x float> %107, ptr %18, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #12
  %108 = load ptr, ptr %7, align 8, !tbaa !5
  %109 = load i32, ptr %16, align 4, !tbaa !9
  %110 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %108, i32 noundef %109)
  store ptr %110, ptr %19, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #12
  store i8 0, ptr %20, align 1, !tbaa !87
  %111 = load ptr, ptr %19, align 8, !tbaa !5
  %112 = icmp eq ptr %111, null
  br i1 %112, label %113, label %126

113:                                              ; preds = %103
  %114 = load ptr, ptr %7, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiTabBar, ptr %114, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 40, ptr %21) #12
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 8 dereferenceable(39) %21)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %115, ptr noundef nonnull align 8 dereferenceable(39) %21)
  call void @llvm.lifetime.end.p0(i64 40, ptr %21) #12
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiTabBar, ptr %116, i32 0, i32 0
  %118 = call noundef nonnull align 8 dereferenceable(39) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %117)
  store ptr %118, ptr %19, align 8, !tbaa !5
  %119 = load i32, ptr %16, align 4, !tbaa !9
  %120 = load ptr, ptr %19, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.ImGuiTabItem, ptr %120, i32 0, i32 0
  store i32 %119, ptr %121, align 8, !tbaa !88
  %122 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %123 = load float, ptr %122, align 4, !tbaa !90
  %124 = load ptr, ptr %19, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.ImGuiTabItem, ptr %124, i32 0, i32 6
  store float %123, ptr %125, align 4, !tbaa !91
  store i8 1, ptr %20, align 1, !tbaa !87
  br label %126

126:                                              ; preds = %113, %103
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiTabBar, ptr %127, i32 0, i32 0
  %129 = load ptr, ptr %19, align 8, !tbaa !5
  %130 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %128, ptr noundef %129)
  %131 = trunc i32 %130 to i16
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %struct.ImGuiTabBar, ptr %132, i32 0, i32 21
  store i16 %131, ptr %133, align 4, !tbaa !92
  %134 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  %135 = load float, ptr %134, align 4, !tbaa !90
  %136 = load ptr, ptr %19, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiTabItem, ptr %136, i32 0, i32 7
  store float %135, ptr %137, align 8, !tbaa !93
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #12
  %138 = load ptr, ptr %7, align 8, !tbaa !5
  %139 = getelementptr inbounds %struct.ImGuiTabBar, ptr %138, i32 0, i32 6
  %140 = load i32, ptr %139, align 4, !tbaa !94
  %141 = add nsw i32 %140, 1
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiContext, ptr %142, i32 0, i32 14
  %144 = load i32, ptr %143, align 8, !tbaa !95
  %145 = icmp slt i32 %141, %144
  %146 = zext i1 %145 to i8
  store i8 %146, ptr %22, align 1, !tbaa !87
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #12
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.ImGuiTabBar, ptr %147, i32 0, i32 16
  %149 = load i32, ptr %148, align 8, !tbaa !96
  %150 = and i32 %149, 2097152
  %151 = icmp ne i32 %150, 0
  %152 = zext i1 %151 to i8
  store i8 %152, ptr %23, align 1, !tbaa !87
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #12
  %153 = load ptr, ptr %19, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiTabItem, ptr %153, i32 0, i32 3
  %155 = load i32, ptr %154, align 8, !tbaa !97
  %156 = add nsw i32 %155, 1
  %157 = load ptr, ptr %12, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiContext, ptr %157, i32 0, i32 14
  %159 = load i32, ptr %158, align 8, !tbaa !95
  %160 = icmp slt i32 %156, %159
  %161 = zext i1 %160 to i8
  store i8 %161, ptr %24, align 1, !tbaa !87
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiContext, ptr %162, i32 0, i32 14
  %164 = load i32, ptr %163, align 8, !tbaa !95
  %165 = load ptr, ptr %19, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiTabItem, ptr %165, i32 0, i32 3
  store i32 %164, ptr %166, align 8, !tbaa !97
  %167 = load i32, ptr %10, align 4, !tbaa !9
  %168 = load ptr, ptr %19, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.ImGuiTabItem, ptr %168, i32 0, i32 1
  store i32 %167, ptr %169, align 4, !tbaa !98
  %170 = load ptr, ptr %11, align 8, !tbaa !5
  %171 = load ptr, ptr %19, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiTabItem, ptr %171, i32 0, i32 2
  store ptr %170, ptr %172, align 8, !tbaa !99
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = getelementptr inbounds %struct.ImGuiTabBar, ptr %173, i32 0, i32 16
  %175 = load i32, ptr %174, align 8, !tbaa !96
  %176 = and i32 %175, 1048576
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %189

178:                                              ; preds = %126
  %179 = load ptr, ptr %19, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.ImGuiTabItem, ptr %179, i32 0, i32 2
  %181 = load ptr, ptr %180, align 8, !tbaa !99
  %182 = icmp ne ptr %181, null
  br i1 %182, label %183, label %184

183:                                              ; preds = %178
  br label %186

184:                                              ; preds = %178
  call void @__assert_fail(ptr noundef @.str.168, ptr noundef @.str.1, i32 noundef 7451, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

185:                                              ; No predecessors!
  br label %186

186:                                              ; preds = %185, %183
  %187 = load ptr, ptr %19, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.ImGuiTabItem, ptr %187, i32 0, i32 8
  store i16 -1, ptr %188, align 4, !tbaa !100
  br label %212

189:                                              ; preds = %126
  %190 = load ptr, ptr %19, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.ImGuiTabItem, ptr %190, i32 0, i32 2
  %192 = load ptr, ptr %191, align 8, !tbaa !99
  %193 = icmp eq ptr %192, null
  br i1 %193, label %194, label %195

194:                                              ; preds = %189
  br label %197

195:                                              ; preds = %189
  call void @__assert_fail(ptr noundef @.str.169, ptr noundef @.str.1, i32 noundef 7456, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #13
  unreachable

196:                                              ; No predecessors!
  br label %197

197:                                              ; preds = %196, %194
  %198 = load ptr, ptr %7, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.ImGuiTabBar, ptr %198, i32 0, i32 23
  %200 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %199)
  %201 = trunc i32 %200 to i16
  %202 = load ptr, ptr %19, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiTabItem, ptr %202, i32 0, i32 8
  store i16 %201, ptr %203, align 4, !tbaa !100
  %204 = load ptr, ptr %7, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.ImGuiTabBar, ptr %204, i32 0, i32 23
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = load ptr, ptr %8, align 8, !tbaa !5
  %208 = load ptr, ptr %8, align 8, !tbaa !5
  %209 = call i64 @strlen(ptr noundef %208) #14
  %210 = getelementptr inbounds i8, ptr %207, i64 %209
  %211 = getelementptr inbounds i8, ptr %210, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %205, ptr noundef %206, ptr noundef %211)
  br label %212

212:                                              ; preds = %197, %186
  %213 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %214 = trunc i8 %213 to i1
  br i1 %214, label %240, label %215

215:                                              ; preds = %212
  %216 = load ptr, ptr %7, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiTabBar, ptr %216, i32 0, i32 16
  %218 = load i32, ptr %217, align 8, !tbaa !96
  %219 = and i32 %218, 1
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %240, label %221

221:                                              ; preds = %215
  %222 = load ptr, ptr %7, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.ImGuiTabBar, ptr %222, i32 0, i32 11
  %224 = load float, ptr %223, align 4, !tbaa !101
  %225 = load ptr, ptr %19, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.ImGuiTabItem, ptr %225, i32 0, i32 5
  store float %224, ptr %226, align 8, !tbaa !102
  %227 = load ptr, ptr %19, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.ImGuiTabItem, ptr %227, i32 0, i32 6
  %229 = load float, ptr %228, align 4, !tbaa !91
  %230 = load ptr, ptr %12, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.ImGuiContext, ptr %230, i32 0, i32 5
  %232 = getelementptr inbounds %struct.ImGuiStyle, ptr %231, i32 0, i32 15
  %233 = getelementptr inbounds %struct.ImVec2, ptr %232, i32 0, i32 0
  %234 = load float, ptr %233, align 8, !tbaa !103
  %235 = fadd float %229, %234
  %236 = load ptr, ptr %7, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.ImGuiTabBar, ptr %236, i32 0, i32 11
  %238 = load float, ptr %237, align 4, !tbaa !101
  %239 = fadd float %238, %235
  store float %239, ptr %237, align 4, !tbaa !101
  br label %240

240:                                              ; preds = %221, %215, %212
  %241 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %242 = trunc i8 %241 to i1
  br i1 %242, label %243, label %267

243:                                              ; preds = %240
  %244 = load ptr, ptr %7, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.ImGuiTabBar, ptr %244, i32 0, i32 16
  %246 = load i32, ptr %245, align 8, !tbaa !96
  %247 = and i32 %246, 2
  %248 = icmp ne i32 %247, 0
  br i1 %248, label %249, label %267

249:                                              ; preds = %243
  %250 = load ptr, ptr %7, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiTabBar, ptr %250, i32 0, i32 3
  %252 = load i32, ptr %251, align 8, !tbaa !104
  %253 = icmp eq i32 %252, 0
  br i1 %253, label %254, label %267

254:                                              ; preds = %249
  %255 = load i8, ptr %22, align 1, !tbaa !87, !range !21, !noundef !22
  %256 = trunc i8 %255 to i1
  br i1 %256, label %257, label %262

257:                                              ; preds = %254
  %258 = load ptr, ptr %7, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.ImGuiTabBar, ptr %258, i32 0, i32 2
  %260 = load i32, ptr %259, align 4, !tbaa !105
  %261 = icmp eq i32 %260, 0
  br i1 %261, label %262, label %266

262:                                              ; preds = %257, %254
  %263 = load i32, ptr %16, align 4, !tbaa !9
  %264 = load ptr, ptr %7, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiTabBar, ptr %264, i32 0, i32 3
  store i32 %263, ptr %265, align 8, !tbaa !104
  br label %266

266:                                              ; preds = %262, %257
  br label %267

267:                                              ; preds = %266, %249, %243, %240
  %268 = load i32, ptr %10, align 4, !tbaa !9
  %269 = and i32 %268, 2
  %270 = icmp ne i32 %269, 0
  br i1 %270, label %271, label %281

271:                                              ; preds = %267
  %272 = load ptr, ptr %7, align 8, !tbaa !5
  %273 = getelementptr inbounds %struct.ImGuiTabBar, ptr %272, i32 0, i32 2
  %274 = load i32, ptr %273, align 4, !tbaa !105
  %275 = load i32, ptr %16, align 4, !tbaa !9
  %276 = icmp ne i32 %274, %275
  br i1 %276, label %277, label %281

277:                                              ; preds = %271
  %278 = load i32, ptr %16, align 4, !tbaa !9
  %279 = load ptr, ptr %7, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.ImGuiTabBar, ptr %279, i32 0, i32 3
  store i32 %278, ptr %280, align 8, !tbaa !104
  br label %281

281:                                              ; preds = %277, %271, %267
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #12
  %282 = load ptr, ptr %7, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.ImGuiTabBar, ptr %282, i32 0, i32 4
  %284 = load i32, ptr %283, align 4, !tbaa !106
  %285 = load i32, ptr %16, align 4, !tbaa !9
  %286 = icmp eq i32 %284, %285
  %287 = zext i1 %286 to i8
  store i8 %287, ptr %25, align 1, !tbaa !87
  %288 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %289 = trunc i8 %288 to i1
  br i1 %289, label %290, label %293

290:                                              ; preds = %281
  %291 = load ptr, ptr %7, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.ImGuiTabBar, ptr %291, i32 0, i32 20
  store i8 1, ptr %292, align 2, !tbaa !107
  br label %293

293:                                              ; preds = %290, %281
  %294 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %295 = trunc i8 %294 to i1
  br i1 %295, label %321, label %296

296:                                              ; preds = %293
  %297 = load ptr, ptr %7, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.ImGuiTabBar, ptr %297, i32 0, i32 2
  %299 = load i32, ptr %298, align 4, !tbaa !105
  %300 = icmp eq i32 %299, 0
  br i1 %300, label %301, label %321

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

304:                                              ; preds = %301
  %305 = load ptr, ptr %11, align 8, !tbaa !5
  %306 = icmp eq ptr %305, null
  br i1 %306, label %307, label %321

307:                                              ; preds = %304
  %308 = load ptr, ptr %7, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiTabBar, ptr %308, i32 0, i32 0
  %310 = getelementptr inbounds %struct.ImVector.31, ptr %309, i32 0, i32 0
  %311 = load i32, ptr %310, align 8, !tbaa !108
  %312 = icmp eq i32 %311, 1
  br i1 %312, label %313, label %320

313:                                              ; preds = %307
  %314 = load ptr, ptr %7, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiTabBar, ptr %314, i32 0, i32 16
  %316 = load i32, ptr %315, align 8, !tbaa !96
  %317 = and i32 %316, 2
  %318 = icmp ne i32 %317, 0
  br i1 %318, label %320, label %319

319:                                              ; preds = %313
  store i8 1, ptr %25, align 1, !tbaa !87
  br label %320

320:                                              ; preds = %319, %313, %307
  br label %321

321:                                              ; preds = %320, %304, %301, %296, %293
  %322 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %323 = trunc i8 %322 to i1
  br i1 %323, label %324, label %335

324:                                              ; preds = %321
  %325 = load i8, ptr %22, align 1, !tbaa !87, !range !21, !noundef !22
  %326 = trunc i8 %325 to i1
  br i1 %326, label %327, label %330

327:                                              ; preds = %324
  %328 = load i8, ptr %20, align 1, !tbaa !87, !range !21, !noundef !22
  %329 = trunc i8 %328 to i1
  br i1 %329, label %330, label %335

330:                                              ; preds = %327, %324
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr %26) #12
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %26)
  %331 = load i32, ptr %16, align 4, !tbaa !9
  %332 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %26, i32 noundef %331, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %26) #12
  call void @_ZN5ImGui11PopItemFlagEv()
  %333 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %334 = trunc i8 %333 to i1
  store i1 %334, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %907

335:                                              ; preds = %327, %321
  %336 = load ptr, ptr %7, align 8, !tbaa !5
  %337 = getelementptr inbounds %struct.ImGuiTabBar, ptr %336, i32 0, i32 2
  %338 = load i32, ptr %337, align 4, !tbaa !105
  %339 = load i32, ptr %16, align 4, !tbaa !9
  %340 = icmp eq i32 %338, %339
  br i1 %340, label %341, label %347

341:                                              ; preds = %335
  %342 = load ptr, ptr %12, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.ImGuiContext, ptr %342, i32 0, i32 14
  %344 = load i32, ptr %343, align 8, !tbaa !95
  %345 = load ptr, ptr %19, align 8, !tbaa !5
  %346 = getelementptr inbounds %struct.ImGuiTabItem, ptr %345, i32 0, i32 4
  store i32 %344, ptr %346, align 4, !tbaa !109
  br label %347

347:                                              ; preds = %341, %335
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #12
  %348 = load ptr, ptr %13, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.ImGuiWindow, ptr %348, i32 0, i32 58
  %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 !110
  %351 = load ptr, ptr %19, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiTabItem, ptr %351, i32 0, i32 6
  %353 = load float, ptr %352, align 4, !tbaa !91
  %354 = getelementptr inbounds %struct.ImVec2, ptr %18, i32 0, i32 0
  store float %353, ptr %354, align 4, !tbaa !90
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #12
  %355 = load ptr, ptr %7, align 8, !tbaa !5
  %356 = getelementptr inbounds %struct.ImGuiTabBar, ptr %355, i32 0, i32 7
  %357 = getelementptr inbounds %struct.ImRect, ptr %356, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #12
  %358 = load ptr, ptr %19, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.ImGuiTabItem, ptr %358, i32 0, i32 5
  %360 = load float, ptr %359, align 8, !tbaa !102
  %361 = load ptr, ptr %7, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.ImGuiTabBar, ptr %361, i32 0, i32 12
  %363 = load float, ptr %362, align 8, !tbaa !112
  %364 = fsub float %360, %363
  %365 = fptosi float %364 to i32
  %366 = sitofp i32 %365 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %29, float noundef %366, float noundef 0.000000e+00)
  %367 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %357, ptr noundef nonnull align 4 dereferenceable(8) %29)
  store <2 x float> %367, ptr %28, align 4
  %368 = load ptr, ptr %13, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.ImGuiWindow, ptr %368, i32 0, i32 58
  %370 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %369, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %370, ptr align 4 %28, i64 8, i1 false), !tbaa.struct !110
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #12
  %371 = load ptr, ptr %13, align 8, !tbaa !5
  %372 = getelementptr inbounds %struct.ImGuiWindow, ptr %371, i32 0, i32 58
  %373 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %372, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 8 %373, i64 8, i1 false), !tbaa.struct !110
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #12
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #12
  %374 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %18)
  store <2 x float> %374, ptr %32, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %31, ptr noundef nonnull align 4 dereferenceable(8) %30, ptr noundef nonnull align 4 dereferenceable(8) %32)
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #12
  %375 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %376 = getelementptr inbounds %struct.ImVec2, ptr %375, i32 0, i32 0
  %377 = load float, ptr %376, align 4, !tbaa !113
  %378 = load ptr, ptr %7, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.ImGuiTabBar, ptr %378, i32 0, i32 7
  %380 = getelementptr inbounds %struct.ImRect, ptr %379, i32 0, i32 0
  %381 = getelementptr inbounds %struct.ImVec2, ptr %380, i32 0, i32 0
  %382 = load float, ptr %381, align 8, !tbaa !114
  %383 = fcmp olt float %377, %382
  br i1 %383, label %394, label %384

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

394:                                              ; preds = %384, %347
  %395 = phi i1 [ true, %347 ], [ %393, %384 ]
  %396 = zext i1 %395 to i8
  store i8 %396, ptr %33, align 1, !tbaa !87
  %397 = load i8, ptr %33, align 1, !tbaa !87, !range !21, !noundef !22
  %398 = trunc i8 %397 to i1
  br i1 %398, label %399, label %421

399:                                              ; preds = %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #12
  %400 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %401 = getelementptr inbounds %struct.ImVec2, ptr %400, i32 0, i32 0
  %402 = load float, ptr %401, align 4, !tbaa !113
  %403 = load ptr, ptr %7, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiTabBar, ptr %403, i32 0, i32 7
  %405 = getelementptr inbounds %struct.ImRect, ptr %404, i32 0, i32 0
  %406 = getelementptr inbounds %struct.ImVec2, ptr %405, i32 0, i32 0
  %407 = load float, ptr %406, align 8, !tbaa !114
  %408 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %402, float noundef %407)
  %409 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %410 = getelementptr inbounds %struct.ImVec2, ptr %409, i32 0, i32 1
  %411 = load float, ptr %410, align 4, !tbaa !117
  %412 = fsub float %411, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %34, float noundef %408, float noundef %412)
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #12
  %413 = load ptr, ptr %7, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.ImGuiTabBar, ptr %413, i32 0, i32 7
  %415 = getelementptr inbounds %struct.ImRect, ptr %414, i32 0, i32 1
  %416 = getelementptr inbounds %struct.ImVec2, ptr %415, i32 0, i32 0
  %417 = load float, ptr %416, align 8, !tbaa !116
  %418 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 1
  %419 = getelementptr inbounds %struct.ImVec2, ptr %418, i32 0, i32 1
  %420 = load float, ptr %419, align 4, !tbaa !118
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %417, float noundef %420)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %34, ptr noundef nonnull align 4 dereferenceable(8) %35, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #12
  br label %421

421:                                              ; preds = %399, %394
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #12
  %422 = load ptr, ptr %13, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.ImGuiWindow, ptr %422, i32 0, i32 58
  %424 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %423, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 8 %424, i64 8, i1 false), !tbaa.struct !110
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #12
  %425 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %31)
  store <2 x float> %425, ptr %37, align 4
  %426 = load ptr, ptr %15, align 8, !tbaa !5
  %427 = getelementptr inbounds %struct.ImGuiStyle, ptr %426, i32 0, i32 11
  %428 = getelementptr inbounds %struct.ImVec2, ptr %427, i32 0, i32 1
  %429 = load float, ptr %428, align 4, !tbaa !119
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %37, float noundef %429)
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #12
  %430 = load ptr, ptr %13, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.ImGuiWindow, ptr %430, i32 0, i32 58
  %432 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %431, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %432, ptr align 4 %36, i64 8, i1 false), !tbaa.struct !110
  %433 = load i32, ptr %16, align 4, !tbaa !9
  %434 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %31, i32 noundef %433, ptr noundef null)
  br i1 %434, label %445, label %435

435:                                              ; preds = %421
  %436 = load i8, ptr %33, align 1, !tbaa !87, !range !21, !noundef !22
  %437 = trunc i8 %436 to i1
  br i1 %437, label %438, label %439

438:                                              ; preds = %435
  call void @_ZN5ImGui11PopClipRectEv()
  br label %439

439:                                              ; preds = %438, %435
  %440 = load ptr, ptr %13, align 8, !tbaa !5
  %441 = getelementptr inbounds %struct.ImGuiWindow, ptr %440, i32 0, i32 58
  %442 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %441, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %442, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !110
  %443 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %444 = trunc i8 %443 to i1
  store i1 %444, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %906

445:                                              ; preds = %421
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #12
  store i32 4112, ptr %38, align 4, !tbaa !9
  %446 = load ptr, ptr %12, align 8, !tbaa !5
  %447 = getelementptr inbounds %struct.ImGuiContext, ptr %446, i32 0, i32 148
  %448 = load i8, ptr %447, align 4, !tbaa !120, !range !21, !noundef !22
  %449 = trunc i8 %448 to i1
  br i1 %449, label %450, label %457

450:                                              ; preds = %445
  %451 = load ptr, ptr %12, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.ImGuiContext, ptr %451, i32 0, i32 156
  %453 = call noundef zeroext i1 @_ZNK12ImGuiPayload10IsDataTypeEPKc(ptr noundef nonnull align 8 dereferenceable(59) %452, ptr noundef @.str.170)
  br i1 %453, label %457, label %454

454:                                              ; preds = %450
  %455 = load i32, ptr %38, align 4, !tbaa !9
  %456 = or i32 %455, 512
  store i32 %456, ptr %38, align 4, !tbaa !9
  br label %457

457:                                              ; preds = %454, %450, %445
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #12
  %458 = load i32, ptr %16, align 4, !tbaa !9
  %459 = load i32, ptr %38, align 4, !tbaa !9
  %460 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %31, i32 noundef %458, ptr noundef %39, ptr noundef %40, i32 noundef %459)
  %461 = zext i1 %460 to i8
  store i8 %461, ptr %41, align 1, !tbaa !87
  %462 = load i8, ptr %41, align 1, !tbaa !87, !range !21, !noundef !22
  %463 = trunc i8 %462 to i1
  br i1 %463, label %464, label %468

464:                                              ; preds = %457
  %465 = load i32, ptr %16, align 4, !tbaa !9
  %466 = load ptr, ptr %7, align 8, !tbaa !5
  %467 = getelementptr inbounds %struct.ImGuiTabBar, ptr %466, i32 0, i32 3
  store i32 %465, ptr %467, align 8, !tbaa !104
  br label %468

468:                                              ; preds = %464, %457
  %469 = load ptr, ptr %12, align 8, !tbaa !5
  %470 = getelementptr inbounds %struct.ImGuiContext, ptr %469, i32 0, i32 40
  %471 = load i32, ptr %470, align 4, !tbaa !121
  %472 = load i32, ptr %16, align 4, !tbaa !9
  %473 = icmp eq i32 %471, %472
  %474 = zext i1 %473 to i32
  %475 = load i8, ptr %39, align 1, !tbaa !87, !range !21, !noundef !22
  %476 = trunc i8 %475 to i1
  %477 = zext i1 %476 to i32
  %478 = or i32 %477, %474
  %479 = icmp ne i32 %478, 0
  %480 = zext i1 %479 to i8
  store i8 %480, ptr %39, align 1, !tbaa !87
  %481 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %482 = trunc i8 %481 to i1
  br i1 %482, label %483, label %501

483:                                              ; preds = %468
  %484 = load ptr, ptr %11, align 8, !tbaa !5
  %485 = icmp ne ptr %484, null
  br i1 %485, label %486, label %501

486:                                              ; preds = %483
  %487 = load ptr, ptr %12, align 8, !tbaa !5
  %488 = getelementptr inbounds %struct.ImGuiContext, ptr %487, i32 0, i32 47
  %489 = load i32, ptr %488, align 8, !tbaa !122
  %490 = load i32, ptr %16, align 4, !tbaa !9
  %491 = icmp eq i32 %489, %490
  br i1 %491, label %492, label %501

492:                                              ; preds = %486
  %493 = load ptr, ptr %12, align 8, !tbaa !5
  %494 = getelementptr inbounds %struct.ImGuiContext, ptr %493, i32 0, i32 50
  %495 = load i8, ptr %494, align 4, !tbaa !123, !range !21, !noundef !22
  %496 = trunc i8 %495 to i1
  br i1 %496, label %497, label %501

497:                                              ; preds = %492
  %498 = load ptr, ptr %11, align 8, !tbaa !5
  %499 = load ptr, ptr %12, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.ImGuiContext, ptr %499, i32 0, i32 62
  store ptr %498, ptr %500, align 8, !tbaa !124
  br label %501

501:                                              ; preds = %497, %492, %486, %483, %468
  %502 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %503 = trunc i8 %502 to i1
  br i1 %503, label %505, label %504

504:                                              ; preds = %501
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %505

505:                                              ; preds = %504, %501
  call void @llvm.lifetime.start.p0(i64 8, ptr %42) #12
  %506 = load ptr, ptr %11, align 8, !tbaa !5
  %507 = icmp ne ptr %506, null
  br i1 %507, label %508, label %512

508:                                              ; preds = %505
  %509 = load ptr, ptr %11, align 8, !tbaa !5
  %510 = getelementptr inbounds %struct.ImGuiWindow, ptr %509, i32 0, i32 93
  %511 = load ptr, ptr %510, align 8, !tbaa !125
  br label %513

512:                                              ; preds = %505
  br label %513

513:                                              ; preds = %512, %508
  %514 = phi ptr [ %511, %508 ], [ null, %512 ]
  store ptr %514, ptr %42, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %43) #12
  %515 = load ptr, ptr %42, align 8, !tbaa !5
  %516 = icmp ne ptr %515, null
  br i1 %516, label %517, label %526

517:                                              ; preds = %513
  %518 = load ptr, ptr %42, align 8, !tbaa !5
  %519 = call noundef zeroext i1 @_ZNK13ImGuiDockNode14IsFloatingNodeEv(ptr noundef nonnull align 8 dereferenceable(187) %518)
  br i1 %519, label %520, label %526

520:                                              ; preds = %517
  %521 = load ptr, ptr %42, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.ImGuiDockNode, ptr %521, i32 0, i32 6
  %523 = getelementptr inbounds %struct.ImVector.0, ptr %522, i32 0, i32 0
  %524 = load i32, ptr %523, align 8, !tbaa !126
  %525 = icmp eq i32 %524, 1
  br label %526

526:                                              ; preds = %520, %517, %513
  %527 = phi i1 [ false, %517 ], [ false, %513 ], [ %525, %520 ]
  %528 = zext i1 %527 to i8
  store i8 %528, ptr %43, align 1, !tbaa !87
  %529 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %530 = trunc i8 %529 to i1
  br i1 %530, label %531, label %538

531:                                              ; preds = %526
  %532 = load i8, ptr %43, align 1, !tbaa !87, !range !21, !noundef !22
  %533 = trunc i8 %532 to i1
  br i1 %533, label %534, label %538

534:                                              ; preds = %531
  %535 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 0.000000e+00)
  br i1 %535, label %536, label %538

536:                                              ; preds = %534
  %537 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef %537)
  br label %771

538:                                              ; preds = %534, %531, %526
  %539 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %540 = trunc i8 %539 to i1
  br i1 %540, label %541, label %770

541:                                              ; preds = %538
  %542 = load i8, ptr %24, align 1, !tbaa !87, !range !21, !noundef !22
  %543 = trunc i8 %542 to i1
  br i1 %543, label %770, label %544

544:                                              ; preds = %541
  %545 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %545, label %546, label %770

546:                                              ; preds = %544
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #12
  store float 0.000000e+00, ptr %44, align 4, !tbaa !111
  %547 = load ptr, ptr %12, align 8, !tbaa !5
  %548 = getelementptr inbounds %struct.ImGuiContext, ptr %547, i32 0, i32 148
  %549 = load i8, ptr %548, align 4, !tbaa !120, !range !21, !noundef !22
  %550 = trunc i8 %549 to i1
  br i1 %550, label %634, label %551

551:                                              ; preds = %546
  %552 = load ptr, ptr %7, align 8, !tbaa !5
  %553 = getelementptr inbounds %struct.ImGuiTabBar, ptr %552, i32 0, i32 16
  %554 = load i32, ptr %553, align 8, !tbaa !96
  %555 = and i32 %554, 1
  %556 = icmp ne i32 %555, 0
  br i1 %556, label %560, label %557

557:                                              ; preds = %551
  %558 = load ptr, ptr %11, align 8, !tbaa !5
  %559 = icmp ne ptr %558, null
  br i1 %559, label %560, label %634

560:                                              ; preds = %557, %551
  %561 = load ptr, ptr %12, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.ImGuiContext, ptr %561, i32 0, i32 3
  %563 = getelementptr inbounds %struct.ImGuiIO, ptr %562, i32 0, i32 66
  %564 = getelementptr inbounds %struct.ImVec2, ptr %563, i32 0, i32 0
  %565 = load float, ptr %564, align 4, !tbaa !130
  %566 = fcmp olt float %565, 0.000000e+00
  br i1 %566, label %567, label %596

567:                                              ; preds = %560
  %568 = load ptr, ptr %12, align 8, !tbaa !5
  %569 = getelementptr inbounds %struct.ImGuiContext, ptr %568, i32 0, i32 3
  %570 = getelementptr inbounds %struct.ImGuiIO, ptr %569, i32 0, i32 42
  %571 = getelementptr inbounds %struct.ImVec2, ptr %570, i32 0, i32 0
  %572 = load float, ptr %571, align 8, !tbaa !131
  %573 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %574 = getelementptr inbounds %struct.ImVec2, ptr %573, i32 0, i32 0
  %575 = load float, ptr %574, align 4, !tbaa !113
  %576 = fcmp olt float %572, %575
  br i1 %576, label %577, label %596

577:                                              ; preds = %567
  %578 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %579 = getelementptr inbounds %struct.ImVec2, ptr %578, i32 0, i32 0
  %580 = load float, ptr %579, align 4, !tbaa !113
  %581 = load ptr, ptr %12, align 8, !tbaa !5
  %582 = getelementptr inbounds %struct.ImGuiContext, ptr %581, i32 0, i32 3
  %583 = getelementptr inbounds %struct.ImGuiIO, ptr %582, i32 0, i32 42
  %584 = getelementptr inbounds %struct.ImVec2, ptr %583, i32 0, i32 0
  %585 = load float, ptr %584, align 8, !tbaa !131
  %586 = fsub float %580, %585
  store float %586, ptr %44, align 4, !tbaa !111
  %587 = load ptr, ptr %7, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.ImGuiTabBar, ptr %587, i32 0, i32 16
  %589 = load i32, ptr %588, align 8, !tbaa !96
  %590 = and i32 %589, 1
  %591 = icmp ne i32 %590, 0
  br i1 %591, label %592, label %595

592:                                              ; preds = %577
  %593 = load ptr, ptr %7, align 8, !tbaa !5
  %594 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %593, ptr noundef %594, i32 noundef -1)
  br label %595

595:                                              ; preds = %592, %577
  br label %633

596:                                              ; preds = %567, %560
  %597 = load ptr, ptr %12, align 8, !tbaa !5
  %598 = getelementptr inbounds %struct.ImGuiContext, ptr %597, i32 0, i32 3
  %599 = getelementptr inbounds %struct.ImGuiIO, ptr %598, i32 0, i32 66
  %600 = getelementptr inbounds %struct.ImVec2, ptr %599, i32 0, i32 0
  %601 = load float, ptr %600, align 4, !tbaa !130
  %602 = fcmp ogt float %601, 0.000000e+00
  br i1 %602, label %603, label %632

603:                                              ; preds = %596
  %604 = load ptr, ptr %12, align 8, !tbaa !5
  %605 = getelementptr inbounds %struct.ImGuiContext, ptr %604, i32 0, i32 3
  %606 = getelementptr inbounds %struct.ImGuiIO, ptr %605, i32 0, i32 42
  %607 = getelementptr inbounds %struct.ImVec2, ptr %606, i32 0, i32 0
  %608 = load float, ptr %607, align 8, !tbaa !131
  %609 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 1
  %610 = getelementptr inbounds %struct.ImVec2, ptr %609, i32 0, i32 0
  %611 = load float, ptr %610, align 4, !tbaa !115
  %612 = fcmp ogt float %608, %611
  br i1 %612, label %613, label %632

613:                                              ; preds = %603
  %614 = load ptr, ptr %12, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.ImGuiContext, ptr %614, i32 0, i32 3
  %616 = getelementptr inbounds %struct.ImGuiIO, ptr %615, i32 0, i32 42
  %617 = getelementptr inbounds %struct.ImVec2, ptr %616, i32 0, i32 0
  %618 = load float, ptr %617, align 8, !tbaa !131
  %619 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 1
  %620 = getelementptr inbounds %struct.ImVec2, ptr %619, i32 0, i32 0
  %621 = load float, ptr %620, align 4, !tbaa !115
  %622 = fsub float %618, %621
  store float %622, ptr %44, align 4, !tbaa !111
  %623 = load ptr, ptr %7, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.ImGuiTabBar, ptr %623, i32 0, i32 16
  %625 = load i32, ptr %624, align 8, !tbaa !96
  %626 = and i32 %625, 1
  %627 = icmp ne i32 %626, 0
  br i1 %627, label %628, label %631

628:                                              ; preds = %613
  %629 = load ptr, ptr %7, align 8, !tbaa !5
  %630 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %629, ptr noundef %630, i32 noundef 1)
  br label %631

631:                                              ; preds = %628, %613
  br label %632

632:                                              ; preds = %631, %603, %596
  br label %633

633:                                              ; preds = %632, %595
  br label %634

634:                                              ; preds = %633, %557, %546
  %635 = load ptr, ptr %11, align 8, !tbaa !5
  %636 = icmp ne ptr %635, null
  br i1 %636, label %637, label %769

637:                                              ; preds = %634
  %638 = load ptr, ptr %11, align 8, !tbaa !5
  %639 = getelementptr inbounds %struct.ImGuiWindow, ptr %638, i32 0, i32 2
  %640 = load i32, ptr %639, align 4, !tbaa !132
  %641 = and i32 %640, 4
  %642 = icmp ne i32 %641, 0
  br i1 %642, label %769, label %643

643:                                              ; preds = %637
  call void @llvm.lifetime.start.p0(i64 1, ptr %45) #12
  %644 = load ptr, ptr %12, align 8, !tbaa !5
  %645 = getelementptr inbounds %struct.ImGuiContext, ptr %644, i32 0, i32 148
  %646 = load i8, ptr %645, align 4, !tbaa !120, !range !21, !noundef !22
  %647 = trunc i8 %646 to i1
  br i1 %647, label %648, label %655

648:                                              ; preds = %643
  %649 = load ptr, ptr %12, align 8, !tbaa !5
  %650 = getelementptr inbounds %struct.ImGuiContext, ptr %649, i32 0, i32 156
  %651 = getelementptr inbounds %struct.ImGuiPayload, ptr %650, i32 0, i32 2
  %652 = load i32, ptr %651, align 4, !tbaa !133
  %653 = load i32, ptr %16, align 4, !tbaa !9
  %654 = icmp eq i32 %652, %653
  br label %655

655:                                              ; preds = %648, %643
  %656 = phi i1 [ false, %643 ], [ %654, %648 ]
  %657 = zext i1 %656 to i8
  store i8 %657, ptr %45, align 1, !tbaa !87
  %658 = load i8, ptr %45, align 1, !tbaa !87, !range !21, !noundef !22
  %659 = trunc i8 %658 to i1
  br i1 %659, label %740, label %660

660:                                              ; preds = %655
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #12
  %661 = load ptr, ptr %12, align 8, !tbaa !5
  %662 = getelementptr inbounds %struct.ImGuiContext, ptr %661, i32 0, i32 10
  %663 = load float, ptr %662, align 8, !tbaa !134
  store float %663, ptr %46, align 4, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #12
  %664 = load float, ptr %46, align 4, !tbaa !111
  %665 = fmul float %664, 0x40019999A0000000
  store float %665, ptr %47, align 4, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 4, ptr %48) #12
  %666 = load float, ptr %46, align 4, !tbaa !111
  %667 = load ptr, ptr %12, align 8, !tbaa !5
  %668 = getelementptr inbounds %struct.ImGuiContext, ptr %667, i32 0, i32 3
  %669 = getelementptr inbounds %struct.ImGuiIO, ptr %668, i32 0, i32 78
  %670 = getelementptr inbounds [5 x %struct.ImVec2], ptr %669, i64 0, i64 0
  %671 = getelementptr inbounds %struct.ImVec2, ptr %670, i32 0, i32 0
  %672 = load float, ptr %671, align 4, !tbaa !90
  %673 = call float @llvm.fabs.f32(float %672)
  %674 = load float, ptr %46, align 4, !tbaa !111
  %675 = fneg float %674
  %676 = call float @llvm.fmuladd.f32(float %675, float 2.000000e+00, float %673)
  %677 = fmul float %676, 0x3FC99999A0000000
  %678 = load float, ptr %46, align 4, !tbaa !111
  %679 = fmul float %678, 4.000000e+00
  %680 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %677, float noundef 0.000000e+00, float noundef %679)
  %681 = call float @llvm.fmuladd.f32(float %666, float 1.500000e+00, float %680)
  store float %681, ptr %48, align 4, !tbaa !111
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #12
  %682 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %683 = getelementptr inbounds %struct.ImVec2, ptr %682, i32 0, i32 1
  %684 = load float, ptr %683, align 4, !tbaa !117
  %685 = load ptr, ptr %12, align 8, !tbaa !5
  %686 = getelementptr inbounds %struct.ImGuiContext, ptr %685, i32 0, i32 3
  %687 = getelementptr inbounds %struct.ImGuiIO, ptr %686, i32 0, i32 42
  %688 = getelementptr inbounds %struct.ImVec2, ptr %687, i32 0, i32 1
  %689 = load float, ptr %688, align 4, !tbaa !135
  %690 = fsub float %684, %689
  %691 = load ptr, ptr %12, align 8, !tbaa !5
  %692 = getelementptr inbounds %struct.ImGuiContext, ptr %691, i32 0, i32 3
  %693 = getelementptr inbounds %struct.ImGuiIO, ptr %692, i32 0, i32 42
  %694 = getelementptr inbounds %struct.ImVec2, ptr %693, i32 0, i32 1
  %695 = load float, ptr %694, align 4, !tbaa !135
  %696 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 1
  %697 = getelementptr inbounds %struct.ImVec2, ptr %696, i32 0, i32 1
  %698 = load float, ptr %697, align 4, !tbaa !118
  %699 = fsub float %695, %698
  %700 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %690, float noundef %699)
  store float %700, ptr %49, align 4, !tbaa !111
  %701 = load float, ptr %49, align 4, !tbaa !111
  %702 = load float, ptr %48, align 4, !tbaa !111
  %703 = fcmp oge float %701, %702
  br i1 %703, label %704, label %705

704:                                              ; preds = %660
  store i8 1, ptr %45, align 1, !tbaa !87
  br label %739

705:                                              ; preds = %660
  %706 = load float, ptr %44, align 4, !tbaa !111
  %707 = load float, ptr %47, align 4, !tbaa !111
  %708 = fcmp ogt float %706, %707
  br i1 %708, label %709, label %738

709:                                              ; preds = %705
  %710 = load ptr, ptr %7, align 8, !tbaa !5
  %711 = getelementptr inbounds %struct.ImGuiTabBar, ptr %710, i32 0, i32 18
  %712 = load i8, ptr %711, align 8, !tbaa !136
  %713 = sext i8 %712 to i32
  %714 = icmp slt i32 %713, 0
  br i1 %714, label %715, label %720

715:                                              ; preds = %709
  %716 = load ptr, ptr %7, align 8, !tbaa !5
  %717 = load ptr, ptr %19, align 8, !tbaa !5
  %718 = call noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128) %716, ptr noundef %717)
  %719 = icmp eq i32 %718, 0
  br i1 %719, label %736, label %720

720:                                              ; preds = %715, %709
  %721 = load ptr, ptr %7, align 8, !tbaa !5
  %722 = getelementptr inbounds %struct.ImGuiTabBar, ptr %721, i32 0, i32 18
  %723 = load i8, ptr %722, align 8, !tbaa !136
  %724 = sext i8 %723 to i32
  %725 = icmp sgt i32 %724, 0
  br i1 %725, label %726, label %737

726:                                              ; preds = %720
  %727 = load ptr, ptr %7, align 8, !tbaa !5
  %728 = load ptr, ptr %19, align 8, !tbaa !5
  %729 = call noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128) %727, ptr noundef %728)
  %730 = load ptr, ptr %7, align 8, !tbaa !5
  %731 = getelementptr inbounds %struct.ImGuiTabBar, ptr %730, i32 0, i32 0
  %732 = getelementptr inbounds %struct.ImVector.31, ptr %731, i32 0, i32 0
  %733 = load i32, ptr %732, align 8, !tbaa !108
  %734 = sub nsw i32 %733, 1
  %735 = icmp eq i32 %729, %734
  br i1 %735, label %736, label %737

736:                                              ; preds = %726, %715
  store i8 1, ptr %45, align 1, !tbaa !87
  br label %737

737:                                              ; preds = %736, %726, %720
  br label %738

738:                                              ; preds = %737, %705
  br label %739

739:                                              ; preds = %738, %704
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #12
  br label %740

740:                                              ; preds = %739, %655
  %741 = load i8, ptr %45, align 1, !tbaa !87, !range !21, !noundef !22
  %742 = trunc i8 %741 to i1
  br i1 %742, label %743, label %768

743:                                              ; preds = %740
  %744 = load ptr, ptr %12, align 8, !tbaa !5
  %745 = load ptr, ptr %11, align 8, !tbaa !5
  call void @_ZN5ImGui28DockContextQueueUndockWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef %744, ptr noundef %745)
  %746 = load ptr, ptr %11, align 8, !tbaa !5
  %747 = load ptr, ptr %12, align 8, !tbaa !5
  %748 = getelementptr inbounds %struct.ImGuiContext, ptr %747, i32 0, i32 36
  store ptr %746, ptr %748, align 8, !tbaa !137
  %749 = load ptr, ptr %12, align 8, !tbaa !5
  %750 = getelementptr inbounds %struct.ImGuiContext, ptr %749, i32 0, i32 36
  %751 = load ptr, ptr %750, align 8, !tbaa !137
  %752 = getelementptr inbounds %struct.ImGuiWindow, ptr %751, i32 0, i32 18
  %753 = load i32, ptr %752, align 4, !tbaa !138
  %754 = load ptr, ptr %12, align 8, !tbaa !5
  %755 = getelementptr inbounds %struct.ImGuiContext, ptr %754, i32 0, i32 36
  %756 = load ptr, ptr %755, align 8, !tbaa !137
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %753, ptr noundef %756)
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #12
  %757 = load ptr, ptr %12, align 8, !tbaa !5
  %758 = getelementptr inbounds %struct.ImGuiContext, ptr %757, i32 0, i32 36
  %759 = load ptr, ptr %758, align 8, !tbaa !137
  %760 = getelementptr inbounds %struct.ImGuiWindow, ptr %759, i32 0, i32 9
  %761 = getelementptr inbounds %struct.ImRect, ptr %31, i32 0, i32 0
  %762 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %760, ptr noundef nonnull align 4 dereferenceable(8) %761)
  store <2 x float> %762, ptr %50, align 4
  %763 = load ptr, ptr %12, align 8, !tbaa !5
  %764 = getelementptr inbounds %struct.ImGuiContext, ptr %763, i32 0, i32 61
  %765 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %764, ptr noundef nonnull align 4 dereferenceable(8) %50)
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #12
  %766 = load ptr, ptr %12, align 8, !tbaa !5
  %767 = getelementptr inbounds %struct.ImGuiContext, ptr %766, i32 0, i32 52
  store i8 1, ptr %767, align 2, !tbaa !139
  br label %768

768:                                              ; preds = %743, %740
  call void @llvm.lifetime.end.p0(i64 1, ptr %45) #12
  br label %769

769:                                              ; preds = %768, %637, %634
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #12
  br label %770

770:                                              ; preds = %769, %544, %541, %538
  br label %771

771:                                              ; preds = %770, %536
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #12
  %772 = load ptr, ptr %13, align 8, !tbaa !5
  %773 = getelementptr inbounds %struct.ImGuiWindow, ptr %772, i32 0, i32 78
  %774 = load ptr, ptr %773, align 8, !tbaa !140
  store ptr %774, ptr %51, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #12
  %775 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %776 = trunc i8 %775 to i1
  br i1 %776, label %780, label %777

777:                                              ; preds = %771
  %778 = load i8, ptr %39, align 1, !tbaa !87, !range !21, !noundef !22
  %779 = trunc i8 %778 to i1
  br i1 %779, label %780, label %781

780:                                              ; preds = %777, %771
  br label %796

781:                                              ; preds = %777
  %782 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %783 = trunc i8 %782 to i1
  br i1 %783, label %784, label %789

784:                                              ; preds = %781
  %785 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %786 = trunc i8 %785 to i1
  %787 = zext i1 %786 to i64
  %788 = select i1 %786, i32 35, i32 37
  br label %794

789:                                              ; preds = %781
  %790 = load i8, ptr %23, align 1, !tbaa !87, !range !21, !noundef !22
  %791 = trunc i8 %790 to i1
  %792 = zext i1 %791 to i64
  %793 = select i1 %791, i32 33, i32 36
  br label %794

794:                                              ; preds = %789, %784
  %795 = phi i32 [ %788, %784 ], [ %793, %789 ]
  br label %796

796:                                              ; preds = %794, %780
  %797 = phi i32 [ 34, %780 ], [ %795, %794 ]
  %798 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %797, float noundef 1.000000e+00)
  store i32 %798, ptr %52, align 4, !tbaa !9
  %799 = load ptr, ptr %51, align 8, !tbaa !5
  %800 = load i32, ptr %10, align 4, !tbaa !9
  %801 = load i32, ptr %52, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %799, ptr noundef nonnull align 4 dereferenceable(16) %31, i32 noundef %800, i32 noundef %801)
  %802 = load i32, ptr %16, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %31, i32 noundef %802, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %53) #12
  %803 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  %804 = zext i1 %803 to i8
  store i8 %804, ptr %53, align 1, !tbaa !87
  %805 = load i8, ptr %53, align 1, !tbaa !87, !range !21, !noundef !22
  %806 = trunc i8 %805 to i1
  br i1 %806, label %807, label %815

807:                                              ; preds = %796
  %808 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %808, label %811, label %809

809:                                              ; preds = %807
  %810 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %810, label %811, label %815

811:                                              ; preds = %809, %807
  %812 = load i32, ptr %16, align 4, !tbaa !9
  %813 = load ptr, ptr %7, align 8, !tbaa !5
  %814 = getelementptr inbounds %struct.ImGuiTabBar, ptr %813, i32 0, i32 3
  store i32 %812, ptr %814, align 8, !tbaa !104
  br label %815

815:                                              ; preds = %811, %809, %796
  %816 = load ptr, ptr %7, align 8, !tbaa !5
  %817 = getelementptr inbounds %struct.ImGuiTabBar, ptr %816, i32 0, i32 16
  %818 = load i32, ptr %817, align 8, !tbaa !96
  %819 = and i32 %818, 8
  %820 = icmp ne i32 %819, 0
  br i1 %820, label %821, label %824

821:                                              ; preds = %815
  %822 = load i32, ptr %10, align 4, !tbaa !9
  %823 = or i32 %822, 4
  store i32 %823, ptr %10, align 4, !tbaa !9
  br label %824

824:                                              ; preds = %821, %815
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #12
  %825 = load ptr, ptr %9, align 8, !tbaa !5
  %826 = icmp ne ptr %825, null
  br i1 %826, label %827, label %834

827:                                              ; preds = %824
  %828 = load ptr, ptr %13, align 8, !tbaa !5
  %829 = load i32, ptr %16, align 4, !tbaa !9
  %830 = zext i32 %829 to i64
  %831 = add nsw i64 %830, 1
  %832 = inttoptr i64 %831 to ptr
  %833 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1163) %828, ptr noundef %832)
  br label %835

834:                                              ; preds = %824
  br label %835

835:                                              ; preds = %834, %827
  %836 = phi i32 [ %833, %827 ], [ 0, %834 ]
  store i32 %836, ptr %54, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %55) #12
  %837 = load ptr, ptr %51, align 8, !tbaa !5
  %838 = load i32, ptr %10, align 4, !tbaa !9
  %839 = load ptr, ptr %7, align 8, !tbaa !5
  %840 = getelementptr inbounds %struct.ImGuiTabBar, ptr %839, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %56, ptr align 8 %840, i64 8, i1 false), !tbaa.struct !110
  %841 = load ptr, ptr %8, align 8, !tbaa !5
  %842 = load i32, ptr %16, align 4, !tbaa !9
  %843 = load i32, ptr %54, align 4, !tbaa !9
  %844 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %845 = trunc i8 %844 to i1
  %846 = load <2 x float>, ptr %56, align 4
  %847 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %837, ptr noundef nonnull align 4 dereferenceable(16) %31, i32 noundef %838, <2 x float> %846, ptr noundef %841, i32 noundef %842, i32 noundef %843, i1 noundef zeroext %845)
  %848 = zext i1 %847 to i8
  store i8 %848, ptr %55, align 1, !tbaa !87
  %849 = load i8, ptr %55, align 1, !tbaa !87, !range !21, !noundef !22
  %850 = trunc i8 %849 to i1
  br i1 %850, label %851, label %858

851:                                              ; preds = %835
  %852 = load ptr, ptr %9, align 8, !tbaa !5
  %853 = icmp ne ptr %852, null
  br i1 %853, label %854, label %858

854:                                              ; preds = %851
  %855 = load ptr, ptr %9, align 8, !tbaa !5
  store i8 0, ptr %855, align 1, !tbaa !87
  %856 = load ptr, ptr %7, align 8, !tbaa !5
  %857 = load ptr, ptr %19, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %856, ptr noundef %857)
  br label %858

858:                                              ; preds = %854, %851, %835
  %859 = load i8, ptr %33, align 1, !tbaa !87, !range !21, !noundef !22
  %860 = trunc i8 %859 to i1
  br i1 %860, label %861, label %862

861:                                              ; preds = %858
  call void @_ZN5ImGui11PopClipRectEv()
  br label %862

862:                                              ; preds = %861, %858
  %863 = load ptr, ptr %13, align 8, !tbaa !5
  %864 = getelementptr inbounds %struct.ImGuiWindow, ptr %863, i32 0, i32 58
  %865 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %864, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %865, ptr align 4 %27, i64 8, i1 false), !tbaa.struct !110
  %866 = load ptr, ptr %12, align 8, !tbaa !5
  %867 = getelementptr inbounds %struct.ImGuiContext, ptr %866, i32 0, i32 40
  %868 = load i32, ptr %867, align 4, !tbaa !121
  %869 = load i32, ptr %16, align 4, !tbaa !9
  %870 = icmp eq i32 %868, %869
  br i1 %870, label %871, label %903

871:                                              ; preds = %862
  %872 = load i8, ptr %40, align 1, !tbaa !87, !range !21, !noundef !22
  %873 = trunc i8 %872 to i1
  br i1 %873, label %903, label %874

874:                                              ; preds = %871
  %875 = load ptr, ptr %12, align 8, !tbaa !5
  %876 = getelementptr inbounds %struct.ImGuiContext, ptr %875, i32 0, i32 46
  %877 = load float, ptr %876, align 4, !tbaa !141
  %878 = fcmp ogt float %877, 5.000000e-01
  br i1 %878, label %879, label %903

879:                                              ; preds = %874
  %880 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %880, label %881, label %903

881:                                              ; preds = %879
  %882 = load ptr, ptr %7, align 8, !tbaa !5
  %883 = getelementptr inbounds %struct.ImGuiTabBar, ptr %882, i32 0, i32 16
  %884 = load i32, ptr %883, align 8, !tbaa !96
  %885 = and i32 %884, 32
  %886 = icmp ne i32 %885, 0
  br i1 %886, label %902, label %887

887:                                              ; preds = %881
  %888 = load ptr, ptr %19, align 8, !tbaa !5
  %889 = getelementptr inbounds %struct.ImGuiTabItem, ptr %888, i32 0, i32 1
  %890 = load i32, ptr %889, align 4, !tbaa !98
  %891 = and i32 %890, 16
  %892 = icmp ne i32 %891, 0
  br i1 %892, label %902, label %893

893:                                              ; preds = %887
  %894 = load ptr, ptr %8, align 8, !tbaa !5
  %895 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %894, ptr noundef null)
  %896 = load ptr, ptr %8, align 8, !tbaa !5
  %897 = ptrtoint ptr %895 to i64
  %898 = ptrtoint ptr %896 to i64
  %899 = sub i64 %897, %898
  %900 = trunc i64 %899 to i32
  %901 = load ptr, ptr %8, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.171, i32 noundef %900, ptr noundef %901)
  br label %902

902:                                              ; preds = %893, %887, %881
  br label %903

903:                                              ; preds = %902, %879, %874, %871, %862
  %904 = load i8, ptr %25, align 1, !tbaa !87, !range !21, !noundef !22
  %905 = trunc i8 %904 to i1
  store i1 %905, ptr %6, align 1
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %55) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %53) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %43) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %42) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #12
  br label %906

906:                                              ; preds = %903, %439
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #12
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #12
  br label %907

907:                                              ; preds = %906, %330
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %24) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #12
  br label %908

908:                                              ; preds = %907, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #12
  br label %909

909:                                              ; preds = %908, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #12
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #12
  %910 = load i1, ptr %6, align 1
  ret i1 %910
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK12ImGuiPayload10IsDataTypeEPKc(ptr noundef nonnull align 8 dereferenceable(59), ptr noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13ImGuiDockNode14IsFloatingNodeEv(ptr noundef nonnull align 8 dereferenceable(187)) #3 align 2

declare void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef) #8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) #10 align 2

declare void @_ZN5ImGui28DockContextQueueUndockWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef, ptr noundef) #8

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

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !17, i64 97}
!12 = !{!"_ZTS11ImGuiTabBar", !13, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !14, i64 40, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !10, i64 88, !10, i64 92, !7, i64 96, !17, i64 97, !17, i64 98, !18, i64 100, !15, i64 104, !19, i64 112}
!13 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !6, i64 7064}
!24 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !25, i64 8, !27, i64 5472, !30, i64 5704, !10, i64 6692, !10, i64 6696, !6, i64 6704, !16, i64 6712, !16, i64 6716, !31, i64 6720, !33, i64 6936, !10, i64 6944, !10, i64 6948, !10, i64 6952, !10, i64 6956, !17, i64 6960, !17, i64 6961, !17, i64 6962, !17, i64 6963, !10, i64 6964, !6, i64 6968, !34, i64 6976, !34, i64 6992, !34, i64 7008, !34, i64 7024, !35, i64 7040, !10, i64 7056, !6, i64 7064, !6, i64 7072, !6, i64 7080, !6, i64 7088, !6, i64 7096, !6, i64 7104, !6, i64 7112, !15, i64 7120, !16, i64 7128, !10, i64 7132, !10, i64 7136, !17, i64 7140, !17, i64 7141, !16, i64 7144, !16, i64 7148, !10, i64 7152, !10, i64 7156, !16, i64 7160, !17, i64 7164, !17, i64 7165, !17, i64 7166, !17, i64 7167, !17, i64 7168, !17, i64 7169, !10, i64 7172, !10, i64 7176, !37, i64 7184, !15, i64 7192, !6, i64 7200, !38, i64 7208, !10, i64 7212, !10, i64 7216, !17, i64 7220, !17, i64 7221, !6, i64 7224, !10, i64 7232, !16, i64 7236, !39, i64 7240, !41, i64 7384, !42, i64 7408, !43, i64 7424, !44, i64 7440, !45, i64 7456, !45, i64 7472, !46, i64 7488, !16, i64 7504, !6, i64 7512, !6, i64 7520, !6, i64 7528, !10, i64 7536, !10, i64 7540, !6, i64 7544, !10, i64 7552, !10, i64 7556, !10, i64 7560, !10, i64 7564, !10, i64 7568, !10, i64 7572, !10, i64 7576, !10, i64 7580, !10, i64 7584, !10, i64 7588, !10, i64 7592, !38, i64 7596, !14, i64 7600, !10, i64 7616, !47, i64 7620, !10, i64 7624, !17, i64 7628, !17, i64 7629, !17, i64 7630, !17, i64 7631, !17, i64 7632, !17, i64 7633, !17, i64 7634, !10, i64 7636, !14, i64 7640, !17, i64 7656, !17, i64 7657, !10, i64 7660, !48, i64 7664, !10, i64 7668, !10, i64 7672, !10, i64 7676, !10, i64 7680, !49, i64 7688, !49, i64 7736, !49, i64 7784, !6, i64 7832, !10, i64 7840, !6, i64 7848, !6, i64 7856, !6, i64 7864, !16, i64 7872, !16, i64 7876, !17, i64 7880, !6, i64 7888, !6, i64 7896, !10, i64 7904, !10, i64 7908, !10, i64 7912, !10, i64 7916, !17, i64 7920, !16, i64 7924, !10, i64 7928, !17, i64 7932, !17, i64 7933, !17, i64 7934, !10, i64 7936, !10, i64 7940, !10, i64 7944, !50, i64 7952, !14, i64 8016, !10, i64 8032, !10, i64 8036, !16, i64 8040, !10, i64 8044, !10, i64 8048, !10, i64 8052, !10, i64 8056, !51, i64 8064, !7, i64 8080, !6, i64 8096, !52, i64 8104, !54, i64 8144, !55, i64 8160, !15, i64 8176, !56, i64 8184, !59, i64 11912, !10, i64 12032, !10, i64 12036, !16, i64 12040, !16, i64 12044, !7, i64 12048, !32, i64 12060, !16, i64 12076, !17, i64 12080, !17, i64 12081, !16, i64 12084, !16, i64 12088, !16, i64 12092, !10, i64 12096, !20, i64 12104, !62, i64 12120, !15, i64 12136, !15, i64 12144, !6, i64 12152, !63, i64 12160, !17, i64 12216, !16, i64 12220, !19, i64 12224, !66, i64 12240, !67, i64 12256, !17, i64 12272, !68, i64 12276, !6, i64 12280, !19, i64 12288, !16, i64 12304, !17, i64 12308, !10, i64 12312, !10, i64 12316, !10, i64 12320, !17, i64 12324, !10, i64 12328, !7, i64 12332, !10, i64 12812, !16, i64 12816, !10, i64 12820, !10, i64 12824, !10, i64 12828, !7, i64 12832}
!25 = !{!"_ZTS7ImGuiIO", !10, i64 0, !10, i64 4, !15, i64 8, !16, i64 16, !16, i64 20, !6, i64 24, !6, i64 32, !16, i64 40, !16, i64 44, !16, i64 48, !7, i64 52, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !16, i64 168, !17, i64 172, !6, i64 176, !15, i64 184, !17, i64 192, !17, i64 193, !17, i64 194, !17, i64 195, !17, i64 196, !17, i64 197, !17, i64 198, !17, i64 199, !17, i64 200, !17, i64 201, !17, i64 202, !17, i64 203, !17, i64 204, !16, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !15, i64 288, !7, i64 296, !16, i64 304, !16, i64 308, !10, i64 312, !17, i64 316, !17, i64 317, !17, i64 318, !17, i64 319, !7, i64 320, !7, i64 832, !17, i64 916, !17, i64 917, !17, i64 918, !17, i64 919, !17, i64 920, !17, i64 921, !17, i64 922, !16, i64 924, !10, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !15, i64 948, !10, i64 956, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !16, i64 5440, !18, i64 5444, !26, i64 5448}
!26 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !6, i64 176, !6, i64 184, !28, i64 192, !6, i64 208, !29, i64 216}
!28 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !10, i64 0, !10, i64 4, !6, i64 8}
!29 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !10, i64 0, !10, i64 4, !6, i64 8}
!30 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !10, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !16, i64 112, !16, i64 116, !16, i64 120, !16, i64 124, !16, i64 128, !16, i64 132, !10, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !16, i64 172, !17, i64 176, !17, i64 177, !17, i64 178, !16, i64 180, !16, i64 184, !7, i64 188}
!31 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !32, i64 28, !10, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!32 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!33 = !{!"double", !7, i64 0}
!34 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!35 = !{!"_ZTS12ImGuiStorage", !36, i64 0}
!36 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"long long", !7, i64 0}
!38 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!39 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !15, i64 20, !15, i64 28, !15, i64 36, !15, i64 44, !15, i64 52, !17, i64 60, !17, i64 61, !14, i64 64, !6, i64 80, !6, i64 88, !16, i64 96, !10, i64 100, !10, i64 104, !40, i64 108, !15, i64 136}
!40 = !{!"_ZTS16ImGuiWindowClass", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !17, i64 24, !17, i64 25}
!41 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !17, i64 16}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !10, i64 0, !10, i64 4, !6, i64 8}
!47 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!48 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!49 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !14, i64 28}
!50 = !{!"_ZTS12ImGuiPayload", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !17, i64 57, !17, i64 58}
!51 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !53, i64 0, !35, i64 16, !10, i64 32}
!53 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !20, i64 32, !20, i64 48, !17, i64 64, !10, i64 68, !16, i64 72, !57, i64 76, !16, i64 3696, !17, i64 3700, !17, i64 3701, !17, i64 3702, !10, i64 3704, !6, i64 3712, !6, i64 3720}
!57 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !10, i64 0, !10, i64 4, !10, i64 8, !7, i64 12, !7, i64 13, !7, i64 14, !7, i64 15, !7, i64 16, !7, i64 17, !7, i64 18, !7, i64 19, !16, i64 20, !58, i64 24}
!58 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!59 = !{!"_ZTS6ImFont", !60, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !61, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !18, i64 88, !18, i64 90, !18, i64 92, !17, i64 94, !16, i64 96, !16, i64 100, !16, i64 104, !10, i64 108, !7, i64 112}
!60 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!63 = !{!"_ZTS16ImGuiDockContext", !35, i64 0, !64, i64 16, !65, i64 32, !17, i64 48}
!64 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !10, i64 0, !10, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!68 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!69 = !{!70, !17, i64 188}
!70 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !40, i64 20, !6, i64 48, !10, i64 56, !15, i64 60, !10, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !16, i64 120, !16, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !15, i64 140, !15, i64 148, !15, i64 156, !15, i64 164, !15, i64 172, !17, i64 180, !17, i64 181, !17, i64 182, !17, i64 183, !17, i64 184, !17, i64 185, !17, i64 186, !17, i64 187, !17, i64 188, !17, i64 189, !17, i64 190, !17, i64 191, !17, i64 192, !7, i64 193, !18, i64 194, !18, i64 196, !18, i64 198, !10, i64 200, !7, i64 204, !7, i64 205, !7, i64 206, !17, i64 207, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !15, i64 236, !15, i64 244, !62, i64 256, !71, i64 272, !14, i64 600, !14, i64 616, !14, i64 632, !14, i64 648, !14, i64 664, !14, i64 680, !14, i64 696, !76, i64 712, !76, i64 716, !10, i64 720, !10, i64 724, !16, i64 728, !16, i64 732, !35, i64 736, !77, i64 752, !16, i64 768, !16, i64 772, !10, i64 776, !6, i64 784, !78, i64 792, !6, i64 1016, !6, i64 1024, !6, i64 1032, !6, i64 1040, !6, i64 1048, !6, i64 1056, !7, i64 1064, !7, i64 1072, !17, i64 1104, !10, i64 1108, !10, i64 1112, !6, i64 1120, !6, i64 1128, !10, i64 1136, !10, i64 1140, !14, i64 1144, !18, i64 1160, !17, i64 1162, !17, i64 1162, !17, i64 1162}
!71 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !16, i64 48, !16, i64 52, !72, i64 56, !72, i64 60, !72, i64 64, !10, i64 68, !10, i64 72, !14, i64 76, !14, i64 92, !47, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !17, i64 128, !17, i64 129, !17, i64 130, !15, i64 132, !73, i64 140, !10, i64 176, !10, i64 180, !34, i64 184, !6, i64 200, !6, i64 208, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !16, i64 236, !16, i64 240, !74, i64 248, !60, i64 264, !60, i64 280, !75, i64 296, !7, i64 312}
!72 = !{!"_ZTS6ImVec1", !16, i64 0}
!73 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!74 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!77 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS10ImDrawList", !79, i64 0, !26, i64 16, !80, i64 32, !10, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !81, i64 96, !82, i64 112, !83, i64 128, !84, i64 144, !85, i64 200}
!79 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!82 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!83 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!84 = !{!"_ZTS9ImDrawCmd", !32, i64 0, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!85 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !86, i64 8}
!86 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!87 = !{!17, !17, i64 0}
!88 = !{!89, !10, i64 0}
!89 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !6, i64 8, !10, i64 16, !10, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !18, i64 36, !17, i64 38}
!90 = !{!15, !16, i64 0}
!91 = !{!89, !16, i64 28}
!92 = !{!12, !18, i64 100}
!93 = !{!89, !16, i64 32}
!94 = !{!12, !10, i64 36}
!95 = !{!24, !10, i64 6944}
!96 = !{!12, !10, i64 88}
!97 = !{!89, !10, i64 16}
!98 = !{!89, !10, i64 4}
!99 = !{!89, !6, i64 8}
!100 = !{!89, !18, i64 36}
!101 = !{!12, !16, i64 68}
!102 = !{!89, !16, i64 24}
!103 = !{!24, !16, i64 5784}
!104 = !{!12, !10, i64 24}
!105 = !{!12, !10, i64 20}
!106 = !{!12, !10, i64 28}
!107 = !{!12, !17, i64 98}
!108 = !{!12, !10, i64 0}
!109 = !{!89, !10, i64 20}
!110 = !{i64 0, i64 4, !111, i64 4, i64 4, !111}
!111 = !{!16, !16, i64 0}
!112 = !{!12, !16, i64 72}
!113 = !{!14, !16, i64 0}
!114 = !{!12, !16, i64 40}
!115 = !{!14, !16, i64 8}
!116 = !{!12, !16, i64 48}
!117 = !{!14, !16, i64 4}
!118 = !{!14, !16, i64 12}
!119 = !{!30, !16, i64 60}
!120 = !{!24, !17, i64 7932}
!121 = !{!24, !10, i64 7132}
!122 = !{!24, !10, i64 7152}
!123 = !{!24, !17, i64 7164}
!124 = !{!24, !6, i64 7200}
!125 = !{!70, !6, i64 1120}
!126 = !{!127, !10, i64 40}
!127 = !{!"_ZTS13ImGuiDockNode", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !7, i64 24, !34, i64 40, !6, i64 56, !15, i64 64, !15, i64 72, !15, i64 80, !128, i64 88, !40, i64 92, !129, i64 120, !6, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 184, !10, i64 184, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 185, !17, i64 186, !17, i64 186, !17, i64 186, !17, i64 186}
!128 = !{!"_ZTS9ImGuiAxis", !7, i64 0}
!129 = !{!"_ZTS18ImGuiDockNodeState", !7, i64 0}
!130 = !{!24, !16, i64 956}
!131 = !{!24, !16, i64 296}
!132 = !{!70, !10, i64 12}
!133 = !{!24, !10, i64 7964}
!134 = !{!24, !16, i64 6712}
!135 = !{!24, !16, i64 300}
!136 = !{!12, !7, i64 96}
!137 = !{!24, !6, i64 7104}
!138 = !{!70, !10, i64 132}
!139 = !{!24, !17, i64 7166}
!140 = !{!70, !6, i64 784}
!141 = !{!24, !16, i64 7148}


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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type <{ i32, i32, ptr, i32, i32, float, float, float, i16, i8, i8 }>

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [117 x i8], align 1
@.str.168 = external hidden unnamed_addr constant [22 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow = external hidden unnamed_addr constant [93 x i8], align 1
@.str.169 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.170 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.171 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #5

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef, ptr noundef) local_unnamed_addr #7

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef, float 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 #7

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

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

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

declare void @_ZN5ImGui11PopItemFlagEv() local_unnamed_addr #7

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1163), ptr noundef) local_unnamed_addr #7

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

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #7

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #5

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

; 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 @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 8 dereferenceable(39)) unnamed_addr #3 align 2

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

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

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

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

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

24:                                               ; preds = %23, %5
  %25 = load ptr, ptr @GImGui, align 8, !tbaa !21
  %26 = getelementptr inbounds i8, ptr %25, i64 7064
  %27 = load ptr, ptr %26, align 8, !tbaa !22
  %28 = getelementptr inbounds i8, ptr %27, i64 188
  %29 = load i8, ptr %28, align 4, !tbaa !68, !range !19, !noundef !20
  %30 = trunc nuw i8 %29 to i1
  br i1 %30, label %392, label %31

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

33:                                               ; preds = %31
  %34 = load i8, ptr %2, align 1, !tbaa !86, !range !19, !noundef !20
  %35 = trunc nuw i8 %34 to i1
  br i1 %35, label %38, label %36

36:                                               ; preds = %33
  tail call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %6)
  %37 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %6, i32 noundef %32, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #11
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %392

38:                                               ; preds = %33, %31
  %39 = and i32 %3, 1048576
  %.not249 = icmp eq i32 %39, 0
  %40 = or disjoint i32 %3, 1048576
  %41 = and i1 %.not, %.not249
  %.0227 = select i1 %41, i32 %40, i32 %3
  %.0226 = select i1 %.not249, ptr %2, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #11
  %42 = icmp ne ptr %.0226, null
  %43 = tail call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %42)
  store <2 x float> %43, ptr %7, align 8
  %44 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %32)
  %45 = icmp eq ptr %44, null
  br i1 %45, label %46, label %50

46:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %8) #11
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 8 dereferenceable(39) %8)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(39) %8)
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %8) #11
  %47 = call noundef nonnull align 8 dereferenceable(39) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %32, ptr %47, align 8, !tbaa !87
  %48 = load float, ptr %7, align 8, !tbaa !89
  %49 = getelementptr inbounds i8, ptr %47, i64 28
  store float %48, ptr %49, align 4, !tbaa !90
  br label %50

50:                                               ; preds = %46, %38
  %.0229 = phi ptr [ %47, %46 ], [ %44, %38 ]
  %51 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0229)
  %52 = trunc i32 %51 to i16
  %53 = getelementptr inbounds i8, ptr %0, i64 100
  store i16 %52, ptr %53, align 4, !tbaa !91
  %54 = load float, ptr %7, align 8, !tbaa !89
  %55 = getelementptr inbounds i8, ptr %.0229, i64 32
  store float %54, ptr %55, align 8, !tbaa !92
  %56 = getelementptr inbounds i8, ptr %0, i64 36
  %57 = load i32, ptr %56, align 4, !tbaa !93
  %58 = add nsw i32 %57, 1
  %59 = getelementptr inbounds i8, ptr %25, i64 6944
  %60 = load i32, ptr %59, align 8, !tbaa !94
  %61 = icmp slt i32 %58, %60
  %62 = getelementptr inbounds i8, ptr %0, i64 88
  %63 = load i32, ptr %62, align 8, !tbaa !95
  %64 = and i32 %63, 2097152
  %.not250 = icmp eq i32 %64, 0
  %65 = getelementptr inbounds i8, ptr %.0229, i64 16
  %66 = load i32, ptr %65, align 8, !tbaa !96
  %67 = add nsw i32 %66, 1
  %68 = icmp slt i32 %67, %60
  store i32 %60, ptr %65, align 8, !tbaa !96
  %69 = getelementptr inbounds i8, ptr %.0229, i64 4
  store i32 %.0227, ptr %69, align 4, !tbaa !97
  %70 = getelementptr inbounds i8, ptr %.0229, i64 8
  store ptr %4, ptr %70, align 8, !tbaa !98
  %71 = and i32 %63, 1048576
  %.not251 = icmp eq i32 %71, 0
  %72 = icmp eq ptr %4, null
  br i1 %.not251, label %77, label %73

73:                                               ; preds = %50
  br i1 %72, label %74, label %75

74:                                               ; preds = %73
  call void @__assert_fail(ptr noundef nonnull @.str.168, ptr noundef nonnull @.str.1, i32 noundef 7451, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #12
  unreachable

75:                                               ; preds = %73
  %76 = getelementptr inbounds i8, ptr %.0229, i64 36
  store i16 -1, ptr %76, align 4, !tbaa !99
  br label %87

77:                                               ; preds = %50
  br i1 %72, label %79, label %78

78:                                               ; preds = %77
  call void @__assert_fail(ptr noundef nonnull @.str.169, ptr noundef nonnull @.str.1, i32 noundef 7456, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbiP11ImGuiWindow) #12
  unreachable

79:                                               ; preds = %77
  %80 = getelementptr inbounds i8, ptr %0, i64 112
  %81 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %80)
  %82 = trunc i32 %81 to i16
  %83 = getelementptr inbounds i8, ptr %.0229, i64 36
  store i16 %82, ptr %83, align 4, !tbaa !99
  %84 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #13
  %85 = getelementptr inbounds i8, ptr %1, i64 %84
  %86 = getelementptr inbounds i8, ptr %85, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %80, ptr noundef %1, ptr noundef nonnull %86)
  br label %87

87:                                               ; preds = %79, %75
  %88 = load i32, ptr %62, align 8, !tbaa !95
  br i1 %68, label %.critedge, label %89

89:                                               ; preds = %87
  %90 = and i32 %88, 1
  %.not253 = icmp eq i32 %90, 0
  br i1 %.not253, label %91, label %112

91:                                               ; preds = %89
  %92 = getelementptr inbounds i8, ptr %0, i64 68
  %93 = load float, ptr %92, align 4, !tbaa !100
  %94 = getelementptr inbounds i8, ptr %.0229, i64 24
  store float %93, ptr %94, align 8, !tbaa !101
  %95 = getelementptr inbounds i8, ptr %.0229, i64 28
  %96 = load float, ptr %95, align 4, !tbaa !90
  %97 = getelementptr inbounds i8, ptr %25, i64 5784
  %98 = load float, ptr %97, align 8, !tbaa !102
  %99 = fadd float %96, %98
  %100 = fadd float %93, %99
  store float %100, ptr %92, align 4, !tbaa !100
  br label %112

.critedge:                                        ; preds = %87
  %101 = and i32 %88, 2
  %.not254 = icmp eq i32 %101, 0
  br i1 %.not254, label %112, label %102

102:                                              ; preds = %.critedge
  %103 = getelementptr inbounds i8, ptr %0, i64 24
  %104 = load i32, ptr %103, align 8, !tbaa !103
  %105 = icmp eq i32 %104, 0
  br i1 %105, label %106, label %112

106:                                              ; preds = %102
  br i1 %61, label %107, label %111

107:                                              ; preds = %106
  %108 = getelementptr inbounds i8, ptr %0, i64 20
  %109 = load i32, ptr %108, align 4, !tbaa !104
  %110 = icmp eq i32 %109, 0
  br i1 %110, label %111, label %112

111:                                              ; preds = %107, %106
  store i32 %32, ptr %103, align 8, !tbaa !103
  br label %112

112:                                              ; preds = %89, %91, %107, %111, %102, %.critedge
  %113 = and i32 %.0227, 2
  %.not255 = icmp eq i32 %113, 0
  br i1 %.not255, label %119, label %114

114:                                              ; preds = %112
  %115 = getelementptr inbounds i8, ptr %0, i64 20
  %116 = load i32, ptr %115, align 4, !tbaa !104
  %.not256 = icmp eq i32 %116, %32
  br i1 %.not256, label %119, label %117

117:                                              ; preds = %114
  %118 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %32, ptr %118, align 8, !tbaa !103
  br label %119

119:                                              ; preds = %117, %114, %112
  %120 = getelementptr inbounds i8, ptr %0, i64 28
  %121 = load i32, ptr %120, align 4, !tbaa !105
  %122 = icmp eq i32 %121, %32
  br i1 %122, label %123, label %.critedge266

123:                                              ; preds = %119
  %124 = getelementptr inbounds i8, ptr %0, i64 98
  store i8 1, ptr %124, align 2, !tbaa !106
  br label %134

.critedge266:                                     ; preds = %119
  %125 = getelementptr inbounds i8, ptr %0, i64 20
  %126 = load i32, ptr %125, align 4, !tbaa !104
  %127 = icmp eq i32 %126, 0
  %128 = icmp eq ptr %4, null
  %or.cond = and i1 %128, %61
  %or.cond267 = select i1 %127, i1 %or.cond, i1 false
  br i1 %or.cond267, label %129, label %134

129:                                              ; preds = %.critedge266
  %130 = load i32, ptr %0, align 8, !tbaa !107
  %131 = icmp eq i32 %130, 1
  br i1 %131, label %132, label %134

132:                                              ; preds = %129
  %133 = and i32 %88, 2
  %.not257 = icmp eq i32 %133, 0
  br label %134

134:                                              ; preds = %132, %123, %129, %.critedge266
  %.0231.shrunk = phi i1 [ true, %123 ], [ false, %129 ], [ false, %.critedge266 ], [ %.not257, %132 ]
  %.not269 = xor i1 %61, true
  %brmerge = or i1 %45, %.not269
  %or.cond281 = select i1 %68, i1 %brmerge, i1 false
  br i1 %or.cond281, label %135, label %137

135:                                              ; preds = %134
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #11
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %9)
  %136 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %9, i32 noundef %32, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #11
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %391

137:                                              ; preds = %134
  %138 = getelementptr inbounds i8, ptr %0, i64 20
  %139 = load i32, ptr %138, align 4, !tbaa !104
  %140 = icmp eq i32 %139, %32
  br i1 %140, label %141, label %144

141:                                              ; preds = %137
  %142 = load i32, ptr %59, align 8, !tbaa !94
  %143 = getelementptr inbounds i8, ptr %.0229, i64 20
  store i32 %142, ptr %143, align 4, !tbaa !108
  br label %144

144:                                              ; preds = %141, %137
  %145 = getelementptr inbounds i8, ptr %27, i64 272
  %146 = load i64, ptr %145, align 8
  %147 = getelementptr inbounds i8, ptr %.0229, i64 28
  %148 = load float, ptr %147, align 4, !tbaa !90
  store float %148, ptr %7, align 8, !tbaa !89
  %149 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  %150 = getelementptr inbounds i8, ptr %.0229, i64 24
  %151 = load float, ptr %150, align 8, !tbaa !101
  %152 = getelementptr inbounds i8, ptr %0, i64 72
  %153 = load float, ptr %152, align 8, !tbaa !109
  %154 = fsub float %151, %153
  %155 = fptosi float %154 to i32
  %156 = sitofp i32 %155 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %10, float noundef %156, float noundef 0.000000e+00)
  %157 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %149, ptr noundef nonnull align 4 dereferenceable(8) %10)
  store <2 x float> %157, ptr %145, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  store <2 x float> %157, ptr %11, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #11
  %158 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %158, ptr %13, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %12, ptr noundef nonnull align 4 dereferenceable(8) %11, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  %159 = load float, ptr %12, align 4, !tbaa !110
  %160 = load float, ptr %149, align 8, !tbaa !111
  %161 = fcmp olt float %159, %160
  br i1 %161, label %.thread, label %162

162:                                              ; preds = %144
  %163 = getelementptr inbounds i8, ptr %12, i64 8
  %164 = load float, ptr %163, align 4, !tbaa !112
  %165 = getelementptr inbounds i8, ptr %0, i64 48
  %166 = load float, ptr %165, align 8, !tbaa !113
  %167 = fcmp ogt float %164, %166
  br i1 %167, label %.thread, label %176

.thread:                                          ; preds = %144, %162
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #11
  %168 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %159, float noundef %160)
  %169 = getelementptr inbounds i8, ptr %12, i64 4
  %170 = load float, ptr %169, align 4, !tbaa !114
  %171 = fadd float %170, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %168, float noundef %171)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #11
  %172 = getelementptr inbounds i8, ptr %0, i64 48
  %173 = load float, ptr %172, align 8, !tbaa !113
  %174 = getelementptr inbounds i8, ptr %12, i64 12
  %175 = load float, ptr %174, align 4, !tbaa !115
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %173, float noundef %175)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %14, ptr noundef nonnull align 4 dereferenceable(8) %15, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #11
  br label %176

176:                                              ; preds = %.thread, %162
  %177 = phi i1 [ true, %.thread ], [ false, %162 ]
  %178 = getelementptr inbounds i8, ptr %27, i64 296
  %179 = load i64, ptr %178, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #11
  %180 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %12)
  store <2 x float> %180, ptr %16, align 8
  %181 = getelementptr inbounds i8, ptr %25, i64 5764
  %182 = load float, ptr %181, align 4, !tbaa !116
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %16, float noundef %182)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #11
  store i64 %179, ptr %178, align 8
  %183 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %32, ptr noundef null)
  br i1 %183, label %187, label %184

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

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

186:                                              ; preds = %185, %184
  store i64 %146, ptr %145, align 8
  br label %390

187:                                              ; preds = %176
  %188 = getelementptr inbounds i8, ptr %25, i64 7932
  %189 = load i8, ptr %188, align 4, !tbaa !117, !range !19, !noundef !20
  %190 = trunc nuw i8 %189 to i1
  br i1 %190, label %191, label %194

191:                                              ; preds = %187
  %192 = getelementptr inbounds i8, ptr %25, i64 7952
  %193 = call noundef zeroext i1 @_ZNK12ImGuiPayload10IsDataTypeEPKc(ptr noundef nonnull align 8 dereferenceable(59) %192, ptr noundef nonnull @.str.170)
  %spec.select270 = select i1 %193, i32 4112, i32 4624
  br label %194

194:                                              ; preds = %191, %187
  %.0232 = phi i32 [ 4112, %187 ], [ %spec.select270, %191 ]
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #11
  %195 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %32, ptr noundef nonnull %17, ptr noundef nonnull %18, i32 noundef %.0232)
  br i1 %195, label %196, label %198

196:                                              ; preds = %194
  %197 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %32, ptr %197, align 8, !tbaa !103
  br label %198

198:                                              ; preds = %196, %194
  %199 = getelementptr inbounds i8, ptr %25, i64 7132
  %200 = load i32, ptr %199, align 4, !tbaa !118
  %201 = icmp eq i32 %200, %32
  %202 = load i8, ptr %17, align 1, !tbaa !86, !range !19, !noundef !20
  %203 = zext i1 %201 to i8
  %204 = or i8 %202, %203
  store i8 %204, ptr %17, align 1, !tbaa !86
  %205 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %206 = trunc nuw i8 %205 to i1
  %207 = icmp ne ptr %4, null
  %or.cond3 = and i1 %207, %206
  br i1 %or.cond3, label %208, label %218

208:                                              ; preds = %198
  %209 = getelementptr inbounds i8, ptr %25, i64 7152
  %210 = load i32, ptr %209, align 8, !tbaa !119
  %211 = icmp eq i32 %210, %32
  br i1 %211, label %212, label %218

212:                                              ; preds = %208
  %213 = getelementptr inbounds i8, ptr %25, i64 7164
  %214 = load i8, ptr %213, align 4, !tbaa !120, !range !19, !noundef !20
  %215 = trunc nuw i8 %214 to i1
  br i1 %215, label %216, label %218

216:                                              ; preds = %212
  %217 = getelementptr inbounds i8, ptr %25, i64 7200
  store ptr %4, ptr %217, align 8, !tbaa !121
  br label %218

218:                                              ; preds = %216, %212, %208, %198
  br i1 %206, label %220, label %219

219:                                              ; preds = %218
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %220

220:                                              ; preds = %219, %218
  br i1 %207, label %221, label %.thread287

221:                                              ; preds = %220
  %222 = getelementptr inbounds i8, ptr %4, i64 1120
  %223 = load ptr, ptr %222, align 8, !tbaa !122
  %.not258 = icmp eq ptr %223, null
  br i1 %.not258, label %.thread287, label %224

224:                                              ; preds = %221
  %225 = call noundef zeroext i1 @_ZNK13ImGuiDockNode14IsFloatingNodeEv(ptr noundef nonnull align 8 dereferenceable(187) %223)
  br i1 %225, label %226, label %.thread287

226:                                              ; preds = %224
  %227 = getelementptr inbounds i8, ptr %223, i64 40
  %228 = load i32, ptr %227, align 8, !tbaa !123
  %229 = icmp eq i32 %228, 1
  %230 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %231 = trunc nuw i8 %230 to i1
  %brmerge273.not = select i1 %231, i1 %229, i1 false
  br i1 %brmerge273.not, label %232, label %.thread287

232:                                              ; preds = %226
  %233 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef 0.000000e+00)
  br i1 %233, label %234, label %.thread287

234:                                              ; preds = %232
  call void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef nonnull %4)
  br label %.thread291

.thread287:                                       ; preds = %220, %221, %224, %226, %232
  %235 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %236 = trunc nuw i8 %235 to i1
  %.not274 = xor i1 %236, true
  %brmerge275 = select i1 %.not274, i1 true, i1 %68
  br i1 %brmerge275, label %.thread291, label %237

237:                                              ; preds = %.thread287
  %238 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %238, label %239, label %.thread291

239:                                              ; preds = %237
  %240 = load i8, ptr %188, align 4, !tbaa !117, !range !19, !noundef !20
  %241 = trunc nuw i8 %240 to i1
  br i1 %241, label %267, label %242

242:                                              ; preds = %239
  %243 = load i32, ptr %62, align 8, !tbaa !95
  %244 = and i32 %243, 1
  %245 = icmp ne i32 %244, 0
  %or.cond5 = or i1 %207, %245
  br i1 %or.cond5, label %246, label %.thread291

246:                                              ; preds = %242
  %247 = getelementptr inbounds i8, ptr %25, i64 956
  %248 = load float, ptr %247, align 4, !tbaa !127
  %249 = fcmp olt float %248, 0.000000e+00
  br i1 %249, label %250, label %257

250:                                              ; preds = %246
  %251 = getelementptr inbounds i8, ptr %25, i64 296
  %252 = load float, ptr %251, align 8, !tbaa !128
  %253 = load float, ptr %12, align 4, !tbaa !110
  %254 = fcmp olt float %252, %253
  br i1 %254, label %255, label %257

255:                                              ; preds = %250
  %256 = fsub float %253, %252
  br i1 %245, label %.sink.split, label %267

257:                                              ; preds = %250, %246
  %258 = fcmp ogt float %248, 0.000000e+00
  br i1 %258, label %259, label %267

259:                                              ; preds = %257
  %260 = getelementptr inbounds i8, ptr %25, i64 296
  %261 = load float, ptr %260, align 8, !tbaa !128
  %262 = getelementptr inbounds i8, ptr %12, i64 8
  %263 = load float, ptr %262, align 4, !tbaa !112
  %264 = fcmp ogt float %261, %263
  br i1 %264, label %265, label %267

265:                                              ; preds = %259
  %266 = fsub float %261, %263
  %.not259 = icmp eq i32 %244, 0
  br i1 %.not259, label %267, label %.sink.split

.sink.split:                                      ; preds = %265, %255
  %.sink = phi i32 [ -1, %255 ], [ 1, %265 ]
  %.0233.ph = phi float [ %256, %255 ], [ %266, %265 ]
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef nonnull %0, ptr noundef nonnull %.0229, i32 noundef %.sink)
  br label %267

267:                                              ; preds = %.sink.split, %255, %265, %259, %257, %239
  %.0233 = phi float [ 0.000000e+00, %239 ], [ %256, %255 ], [ %266, %265 ], [ 0.000000e+00, %259 ], [ 0.000000e+00, %257 ], [ %.0233.ph, %.sink.split ]
  br i1 %207, label %268, label %.thread291

268:                                              ; preds = %267
  %269 = getelementptr inbounds i8, ptr %4, i64 12
  %270 = load i32, ptr %269, align 4, !tbaa !129
  %271 = and i32 %270, 4
  %.not260 = icmp eq i32 %271, 0
  br i1 %.not260, label %272, label %.thread291

272:                                              ; preds = %268
  %273 = load i8, ptr %188, align 4, !tbaa !117, !range !19, !noundef !20
  %274 = trunc nuw i8 %273 to i1
  br i1 %274, label %275, label %.thread293

275:                                              ; preds = %272
  %276 = getelementptr inbounds i8, ptr %25, i64 7964
  %277 = load i32, ptr %276, align 4, !tbaa !130
  %278 = icmp eq i32 %277, %32
  br i1 %278, label %.critedge277, label %.thread293

.thread293:                                       ; preds = %272, %275
  %279 = getelementptr inbounds i8, ptr %25, i64 6712
  %280 = load float, ptr %279, align 8, !tbaa !131
  %281 = getelementptr inbounds i8, ptr %25, i64 1124
  %282 = load float, ptr %281, align 4, !tbaa !89
  %283 = call float @llvm.fabs.f32(float %282)
  %284 = fneg float %280
  %285 = call float @llvm.fmuladd.f32(float %284, float 2.000000e+00, float %283)
  %286 = fmul float %285, 0x3FC99999A0000000
  %287 = fmul float %280, 4.000000e+00
  %288 = call noundef float @_ZL7ImClampIfET_S0_S0_S0_(float noundef %286, float noundef 0.000000e+00, float noundef %287)
  %289 = call float @llvm.fmuladd.f32(float %280, float 1.500000e+00, float %288)
  %290 = getelementptr inbounds i8, ptr %12, i64 4
  %291 = load float, ptr %290, align 4, !tbaa !114
  %292 = getelementptr inbounds i8, ptr %25, i64 300
  %293 = load float, ptr %292, align 4, !tbaa !132
  %294 = fsub float %291, %293
  %295 = getelementptr inbounds i8, ptr %12, i64 12
  %296 = load float, ptr %295, align 4, !tbaa !115
  %297 = fsub float %293, %296
  %298 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %294, float noundef %297)
  %299 = fcmp ult float %298, %289
  br i1 %299, label %300, label %.critedge277

300:                                              ; preds = %.thread293
  %301 = fmul float %280, 0x40019999A0000000
  %302 = fcmp ogt float %.0233, %301
  br i1 %302, label %303, label %.thread291

303:                                              ; preds = %300
  %304 = getelementptr inbounds i8, ptr %0, i64 96
  %305 = load i8, ptr %304, align 8, !tbaa !133
  %306 = icmp slt i8 %305, 0
  br i1 %306, label %307, label %310

307:                                              ; preds = %303
  %308 = call noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %.0229)
  %309 = icmp eq i32 %308, 0
  br i1 %309, label %.critedge277, label %thread-pre-split

thread-pre-split:                                 ; preds = %307
  %.pr = load i8, ptr %304, align 8, !tbaa !133
  br label %310

310:                                              ; preds = %thread-pre-split, %303
  %311 = phi i8 [ %.pr, %thread-pre-split ], [ %305, %303 ]
  %312 = icmp sgt i8 %311, 0
  br i1 %312, label %313, label %.thread291

313:                                              ; preds = %310
  %314 = call noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128) %0, ptr noundef nonnull %.0229)
  %315 = load i32, ptr %0, align 8, !tbaa !107
  %316 = add nsw i32 %315, -1
  %317 = icmp eq i32 %314, %316
  br i1 %317, label %.critedge277, label %.thread291

.critedge277:                                     ; preds = %313, %275, %.thread293, %307
  call void @_ZN5ImGui28DockContextQueueUndockWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef nonnull %25, ptr noundef nonnull %4)
  %318 = getelementptr inbounds i8, ptr %25, i64 7104
  store ptr %4, ptr %318, align 8, !tbaa !134
  %319 = getelementptr inbounds i8, ptr %4, i64 132
  %320 = load i32, ptr %319, align 4, !tbaa !135
  call void @_ZN5ImGui11SetActiveIDEjP11ImGuiWindow(i32 noundef %320, ptr noundef nonnull %4)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %19) #11
  %321 = load ptr, ptr %318, align 8, !tbaa !134
  %322 = getelementptr inbounds i8, ptr %321, i64 72
  %323 = call <2 x float> @_ZmiRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %322, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %323, ptr %19, align 8
  %324 = getelementptr inbounds i8, ptr %25, i64 7192
  %325 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZmIR6ImVec2RKS_(ptr noundef nonnull align 4 dereferenceable(8) %324, ptr noundef nonnull align 4 dereferenceable(8) %19)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %19) #11
  %326 = getelementptr inbounds i8, ptr %25, i64 7166
  store i8 1, ptr %326, align 2, !tbaa !136
  br label %.thread291

.thread291:                                       ; preds = %242, %300, %310, %313, %267, %268, %.critedge277, %.thread287, %237, %234
  %327 = getelementptr inbounds i8, ptr %27, i64 784
  %328 = load ptr, ptr %327, align 8, !tbaa !137
  %329 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %330 = trunc nuw i8 %329 to i1
  br i1 %330, label %339, label %331

331:                                              ; preds = %.thread291
  %332 = load i8, ptr %17, align 1, !tbaa !86, !range !19, !noundef !20
  %333 = trunc nuw i8 %332 to i1
  br i1 %333, label %339, label %334

334:                                              ; preds = %331
  br i1 %.0231.shrunk, label %335, label %337

335:                                              ; preds = %334
  %336 = select i1 %.not250, i32 37, i32 35
  br label %339

337:                                              ; preds = %334
  %338 = select i1 %.not250, i32 36, i32 33
  br label %339

339:                                              ; preds = %335, %337, %.thread291, %331
  %340 = phi i32 [ 34, %331 ], [ 34, %.thread291 ], [ %336, %335 ], [ %338, %337 ]
  %341 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %340, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %328, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %.0227, i32 noundef %341)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %32, i32 noundef 1)
  %342 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  br i1 %342, label %343, label %349

343:                                              ; preds = %339
  %344 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %344, label %347, label %345

345:                                              ; preds = %343
  %346 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %346, label %347, label %349

347:                                              ; preds = %345, %343
  %348 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %32, ptr %348, align 8, !tbaa !103
  br label %349

349:                                              ; preds = %347, %345, %339
  %350 = load i32, ptr %62, align 8, !tbaa !95
  %351 = lshr i32 %350, 1
  %352 = and i32 %351, 4
  %spec.select280 = or i32 %352, %.0227
  br i1 %42, label %355, label %.thread294

.thread294:                                       ; preds = %349
  %353 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload295 = load <2 x float>, ptr %353, align 8
  %354 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %328, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %spec.select280, <2 x float> %.sroa.0.0.copyload295, ptr noundef %1, i32 noundef %32, i32 noundef 0, i1 noundef zeroext %.0231.shrunk)
  br label %363

355:                                              ; preds = %349
  %356 = zext i32 %32 to i64
  %357 = add nuw nsw i64 %356, 1
  %358 = inttoptr i64 %357 to ptr
  %359 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1163) %27, ptr noundef nonnull %358)
  %360 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload = load <2 x float>, ptr %360, align 8
  %361 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %328, ptr noundef nonnull align 4 dereferenceable(16) %12, i32 noundef %spec.select280, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %32, i32 noundef %359, i1 noundef zeroext %.0231.shrunk)
  br i1 %361, label %362, label %363

362:                                              ; preds = %355
  store i8 0, ptr %.0226, align 1, !tbaa !86
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0229)
  br label %363

363:                                              ; preds = %.thread294, %362, %355
  br i1 %177, label %364, label %365

364:                                              ; preds = %363
  call void @_ZN5ImGui11PopClipRectEv()
  br label %365

365:                                              ; preds = %364, %363
  store i64 %146, ptr %145, align 8
  %366 = load i32, ptr %199, align 4, !tbaa !118
  %367 = icmp eq i32 %366, %32
  br i1 %367, label %368, label %389

368:                                              ; preds = %365
  %369 = load i8, ptr %18, align 1, !tbaa !86, !range !19, !noundef !20
  %370 = trunc nuw i8 %369 to i1
  br i1 %370, label %389, label %371

371:                                              ; preds = %368
  %372 = getelementptr inbounds i8, ptr %25, i64 7148
  %373 = load float, ptr %372, align 4, !tbaa !138
  %374 = fcmp ogt float %373, 5.000000e-01
  br i1 %374, label %375, label %389

375:                                              ; preds = %371
  %376 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %376, label %377, label %389

377:                                              ; preds = %375
  %378 = load i32, ptr %62, align 8, !tbaa !95
  %379 = and i32 %378, 32
  %.not262 = icmp eq i32 %379, 0
  br i1 %.not262, label %380, label %389

380:                                              ; preds = %377
  %381 = load i32, ptr %69, align 4, !tbaa !97
  %382 = and i32 %381, 16
  %.not263 = icmp eq i32 %382, 0
  br i1 %.not263, label %383, label %389

383:                                              ; preds = %380
  %384 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %385 = ptrtoint ptr %384 to i64
  %386 = ptrtoint ptr %1 to i64
  %387 = sub i64 %385, %386
  %388 = trunc i64 %387 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.171, i32 noundef %388, ptr noundef %1)
  br label %389

389:                                              ; preds = %377, %380, %383, %375, %371, %368, %365
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #11
  br label %390

390:                                              ; preds = %389, %186
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  br label %391

391:                                              ; preds = %390, %135
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #11
  br label %392

392:                                              ; preds = %36, %391, %24
  %.3 = phi i1 [ false, %24 ], [ %.0231.shrunk, %391 ], [ false, %36 ]
  ret i1 %.3
}

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK12ImGuiPayload10IsDataTypeEPKc(ptr noundef nonnull align 8 dereferenceable(59), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK13ImGuiDockNode14IsFloatingNodeEv(ptr noundef nonnull align 8 dereferenceable(187)) local_unnamed_addr #3 align 2

declare void @_ZN5ImGui22StartMouseMovingWindowEP11ImGuiWindow(ptr noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZNK11ImGuiTabBar11GetTabOrderEPK12ImGuiTabItem(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef) local_unnamed_addr #9 align 2

declare void @_ZN5ImGui28DockContextQueueUndockWindowEP12ImGuiContextP11ImGuiWindow(ptr noundef, ptr noundef) local_unnamed_addr #7

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !15, i64 97}
!6 = !{!"_ZTS11ImGuiTabBar", !7, i64 0, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !12, i64 40, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !8, i64 88, !8, i64 92, !9, i64 96, !15, i64 97, !15, i64 98, !16, i64 100, !13, i64 104, !17, i64 112}
!7 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"bool", !9, i64 0}
!16 = !{!"short", !9, i64 0}
!17 = !{!"_ZTS15ImGuiTextBuffer", !18, i64 0}
!18 = !{!"_ZTS8ImVectorIcE", !8, i64 0, !8, i64 4, !11, i64 8}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 7064}
!23 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !24, i64 8, !26, i64 5472, !29, i64 5704, !8, i64 6692, !8, i64 6696, !11, i64 6704, !14, i64 6712, !14, i64 6716, !30, i64 6720, !32, i64 6936, !8, i64 6944, !8, i64 6948, !8, i64 6952, !8, i64 6956, !15, i64 6960, !15, i64 6961, !15, i64 6962, !15, i64 6963, !8, i64 6964, !11, i64 6968, !33, i64 6976, !33, i64 6992, !33, i64 7008, !33, i64 7024, !34, i64 7040, !8, i64 7056, !11, i64 7064, !11, i64 7072, !11, i64 7080, !11, i64 7088, !11, i64 7096, !11, i64 7104, !11, i64 7112, !13, i64 7120, !14, i64 7128, !8, i64 7132, !8, i64 7136, !15, i64 7140, !15, i64 7141, !14, i64 7144, !14, i64 7148, !8, i64 7152, !8, i64 7156, !14, i64 7160, !15, i64 7164, !15, i64 7165, !15, i64 7166, !15, i64 7167, !15, i64 7168, !15, i64 7169, !8, i64 7172, !8, i64 7176, !36, i64 7184, !13, i64 7192, !11, i64 7200, !37, i64 7208, !8, i64 7212, !8, i64 7216, !15, i64 7220, !15, i64 7221, !11, i64 7224, !8, i64 7232, !14, i64 7236, !38, i64 7240, !40, i64 7384, !41, i64 7408, !42, i64 7424, !43, i64 7440, !44, i64 7456, !44, i64 7472, !45, i64 7488, !14, i64 7504, !11, i64 7512, !11, i64 7520, !11, i64 7528, !8, i64 7536, !8, i64 7540, !11, i64 7544, !8, i64 7552, !8, i64 7556, !8, i64 7560, !8, i64 7564, !8, i64 7568, !8, i64 7572, !8, i64 7576, !8, i64 7580, !8, i64 7584, !8, i64 7588, !8, i64 7592, !37, i64 7596, !12, i64 7600, !8, i64 7616, !46, i64 7620, !8, i64 7624, !15, i64 7628, !15, i64 7629, !15, i64 7630, !15, i64 7631, !15, i64 7632, !15, i64 7633, !15, i64 7634, !8, i64 7636, !12, i64 7640, !15, i64 7656, !15, i64 7657, !8, i64 7660, !47, i64 7664, !8, i64 7668, !8, i64 7672, !8, i64 7676, !8, i64 7680, !48, i64 7688, !48, i64 7736, !48, i64 7784, !11, i64 7832, !8, i64 7840, !11, i64 7848, !11, i64 7856, !11, i64 7864, !14, i64 7872, !14, i64 7876, !15, i64 7880, !11, i64 7888, !11, i64 7896, !8, i64 7904, !8, i64 7908, !8, i64 7912, !8, i64 7916, !15, i64 7920, !14, i64 7924, !8, i64 7928, !15, i64 7932, !15, i64 7933, !15, i64 7934, !8, i64 7936, !8, i64 7940, !8, i64 7944, !49, i64 7952, !12, i64 8016, !8, i64 8032, !8, i64 8036, !14, i64 8040, !8, i64 8044, !8, i64 8048, !8, i64 8052, !8, i64 8056, !50, i64 8064, !9, i64 8080, !11, i64 8096, !51, i64 8104, !53, i64 8144, !54, i64 8160, !13, i64 8176, !55, i64 8184, !58, i64 11912, !8, i64 12032, !8, i64 12036, !14, i64 12040, !14, i64 12044, !9, i64 12048, !31, i64 12060, !14, i64 12076, !15, i64 12080, !15, i64 12081, !14, i64 12084, !14, i64 12088, !14, i64 12092, !8, i64 12096, !18, i64 12104, !61, i64 12120, !13, i64 12136, !13, i64 12144, !11, i64 12152, !62, i64 12160, !15, i64 12216, !14, i64 12220, !17, i64 12224, !65, i64 12240, !66, i64 12256, !15, i64 12272, !67, i64 12276, !11, i64 12280, !17, i64 12288, !14, i64 12304, !15, i64 12308, !8, i64 12312, !8, i64 12316, !8, i64 12320, !15, i64 12324, !8, i64 12328, !9, i64 12332, !8, i64 12812, !14, i64 12816, !8, i64 12820, !8, i64 12824, !8, i64 12828, !9, i64 12832}
!24 = !{!"_ZTS7ImGuiIO", !8, i64 0, !8, i64 4, !13, i64 8, !14, i64 16, !14, i64 20, !11, i64 24, !11, i64 32, !14, i64 40, !14, i64 44, !14, i64 48, !9, i64 52, !14, i64 140, !14, i64 144, !11, i64 152, !11, i64 160, !14, i64 168, !15, i64 172, !11, i64 176, !13, i64 184, !15, i64 192, !15, i64 193, !15, i64 194, !15, i64 195, !15, i64 196, !15, i64 197, !15, i64 198, !15, i64 199, !15, i64 200, !15, i64 201, !15, i64 202, !15, i64 203, !15, i64 204, !14, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !13, i64 288, !9, i64 296, !14, i64 304, !14, i64 308, !8, i64 312, !15, i64 316, !15, i64 317, !15, i64 318, !15, i64 319, !9, i64 320, !9, i64 832, !15, i64 916, !15, i64 917, !15, i64 918, !15, i64 919, !15, i64 920, !15, i64 921, !15, i64 922, !14, i64 924, !8, i64 928, !8, i64 932, !8, i64 936, !8, i64 940, !8, i64 944, !13, i64 948, !8, i64 956, !13, i64 960, !9, i64 968, !9, i64 1008, !9, i64 1048, !9, i64 1053, !9, i64 1058, !9, i64 1063, !9, i64 1068, !9, i64 1076, !9, i64 1096, !9, i64 1116, !9, i64 1156, !9, i64 1176, !9, i64 3224, !9, i64 5272, !9, i64 5356, !14, i64 5440, !16, i64 5444, !25, i64 5448}
!25 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!26 = !{!"_ZTS15ImGuiPlatformIO", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !11, i64 160, !11, i64 168, !11, i64 176, !11, i64 184, !27, i64 192, !11, i64 208, !28, i64 216}
!27 = !{!"_ZTS8ImVectorI20ImGuiPlatformMonitorE", !8, i64 0, !8, i64 4, !11, i64 8}
!28 = !{!"_ZTS8ImVectorIP13ImGuiViewportE", !8, i64 0, !8, i64 4, !11, i64 8}
!29 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !8, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !14, i64 96, !14, i64 100, !14, i64 104, !14, i64 108, !14, i64 112, !14, i64 116, !14, i64 120, !14, i64 124, !14, i64 128, !14, i64 132, !8, i64 136, !13, i64 140, !13, i64 148, !13, i64 156, !13, i64 164, !14, i64 172, !15, i64 176, !15, i64 177, !15, i64 178, !14, i64 180, !14, i64 184, !9, i64 188}
!30 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !31, i64 28, !8, i64 44, !9, i64 48, !9, i64 144, !11, i64 208}
!31 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!32 = !{!"double", !9, i64 0}
!33 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !8, i64 0, !8, i64 4, !11, i64 8}
!34 = !{!"_ZTS12ImGuiStorage", !35, i64 0}
!35 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !11, i64 8}
!36 = !{!"long long", !9, i64 0}
!37 = !{!"_ZTS16ImGuiInputSource", !9, i64 0}
!38 = !{!"_ZTS19ImGuiNextWindowData", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !13, i64 20, !13, i64 28, !13, i64 36, !13, i64 44, !13, i64 52, !15, i64 60, !15, i64 61, !12, i64 64, !11, i64 80, !11, i64 88, !14, i64 96, !8, i64 100, !8, i64 104, !39, i64 108, !13, i64 136}
!39 = !{!"_ZTS16ImGuiWindowClass", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !15, i64 24, !15, i64 25}
!40 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !14, i64 4, !8, i64 8, !8, i64 12, !15, i64 16}
!41 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !8, i64 0, !8, i64 4, !11, i64 8}
!42 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !8, i64 0, !8, i64 4, !11, i64 8}
!43 = !{!"_ZTS8ImVectorIP6ImFontE", !8, i64 0, !8, i64 4, !11, i64 8}
!44 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!45 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !8, i64 0, !8, i64 4, !11, i64 8}
!46 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!47 = !{!"_ZTS15ImGuiNavForward", !9, i64 0}
!48 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28}
!49 = !{!"_ZTS12ImGuiPayload", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !9, i64 24, !15, i64 57, !15, i64 58}
!50 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !11, i64 8}
!51 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !52, i64 0, !34, i64 16, !8, i64 32}
!52 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !11, i64 8}
!53 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !11, i64 8}
!54 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!55 = !{!"_ZTS19ImGuiInputTextState", !8, i64 0, !8, i64 4, !8, i64 8, !25, i64 16, !18, i64 32, !18, i64 48, !15, i64 64, !8, i64 68, !14, i64 72, !56, i64 76, !14, i64 3696, !15, i64 3700, !15, i64 3701, !15, i64 3702, !8, i64 3704, !11, i64 3712, !11, i64 3720}
!56 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !8, i64 0, !8, i64 4, !8, i64 8, !9, i64 12, !9, i64 13, !9, i64 14, !9, i64 15, !9, i64 16, !9, i64 17, !9, i64 18, !9, i64 19, !14, i64 20, !57, i64 24}
!57 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !16, i64 3582, !16, i64 3584, !8, i64 3588, !8, i64 3592}
!58 = !{!"_ZTS6ImFont", !59, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !60, i64 40, !11, i64 56, !13, i64 64, !11, i64 72, !11, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !15, i64 94, !14, i64 96, !14, i64 100, !14, i64 104, !8, i64 108, !9, i64 112}
!59 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!60 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !11, i64 8}
!61 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!62 = !{!"_ZTS16ImGuiDockContext", !34, i64 0, !63, i64 16, !64, i64 32, !15, i64 48}
!63 = !{!"_ZTS8ImVectorI16ImGuiDockRequestE", !8, i64 0, !8, i64 4, !11, i64 8}
!64 = !{!"_ZTS8ImVectorI21ImGuiDockNodeSettingsE", !8, i64 0, !8, i64 4, !11, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !11, i64 8}
!66 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !18, i64 0}
!67 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!68 = !{!69, !15, i64 188}
!69 = !{!"_ZTS11ImGuiWindow", !11, i64 0, !8, i64 8, !8, i64 12, !8, i64 16, !39, i64 20, !11, i64 48, !8, i64 56, !13, i64 60, !8, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !14, i64 120, !14, i64 124, !8, i64 128, !8, i64 132, !8, i64 136, !13, i64 140, !13, i64 148, !13, i64 156, !13, i64 164, !13, i64 172, !15, i64 180, !15, i64 181, !15, i64 182, !15, i64 183, !15, i64 184, !15, i64 185, !15, i64 186, !15, i64 187, !15, i64 188, !15, i64 189, !15, i64 190, !15, i64 191, !15, i64 192, !9, i64 193, !16, i64 194, !16, i64 196, !16, i64 198, !8, i64 200, !9, i64 204, !9, i64 205, !9, i64 206, !15, i64 207, !8, i64 208, !8, i64 212, !8, i64 216, !8, i64 220, !8, i64 224, !8, i64 228, !8, i64 232, !13, i64 236, !13, i64 244, !61, i64 256, !70, i64 272, !12, i64 600, !12, i64 616, !12, i64 632, !12, i64 648, !12, i64 664, !12, i64 680, !12, i64 696, !75, i64 712, !75, i64 716, !8, i64 720, !8, i64 724, !14, i64 728, !14, i64 732, !34, i64 736, !76, i64 752, !14, i64 768, !14, i64 772, !8, i64 776, !11, i64 784, !77, i64 792, !11, i64 1016, !11, i64 1024, !11, i64 1032, !11, i64 1040, !11, i64 1048, !11, i64 1056, !9, i64 1064, !9, i64 1072, !15, i64 1104, !8, i64 1108, !8, i64 1112, !11, i64 1120, !11, i64 1128, !8, i64 1136, !8, i64 1140, !12, i64 1144, !16, i64 1160, !15, i64 1162, !15, i64 1162, !15, i64 1162}
!70 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !14, i64 48, !14, i64 52, !71, i64 56, !71, i64 60, !71, i64 64, !8, i64 68, !8, i64 72, !12, i64 76, !12, i64 92, !46, i64 108, !8, i64 112, !8, i64 116, !8, i64 120, !8, i64 124, !15, i64 128, !15, i64 129, !15, i64 130, !13, i64 132, !72, i64 140, !8, i64 176, !8, i64 180, !33, i64 184, !11, i64 200, !11, i64 208, !8, i64 216, !8, i64 220, !8, i64 224, !8, i64 228, !8, i64 232, !14, i64 236, !14, i64 240, !73, i64 248, !59, i64 264, !59, i64 280, !74, i64 296, !9, i64 312}
!71 = !{!"_ZTS6ImVec1", !14, i64 0}
!72 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !9, i64 12, !9, i64 24}
!73 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !11, i64 8}
!74 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!75 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!76 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!77 = !{!"_ZTS10ImDrawList", !78, i64 0, !25, i64 16, !79, i64 32, !8, i64 48, !11, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !11, i64 88, !80, i64 96, !81, i64 112, !82, i64 128, !83, i64 144, !84, i64 200}
!78 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!79 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!80 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!81 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!82 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!83 = !{!"_ZTS9ImDrawCmd", !31, i64 0, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !11, i64 40, !11, i64 48}
!84 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !85, i64 8}
!85 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!86 = !{!15, !15, i64 0}
!87 = !{!88, !8, i64 0}
!88 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !16, i64 36, !15, i64 38}
!89 = !{!13, !14, i64 0}
!90 = !{!88, !14, i64 28}
!91 = !{!6, !16, i64 100}
!92 = !{!88, !14, i64 32}
!93 = !{!6, !8, i64 36}
!94 = !{!23, !8, i64 6944}
!95 = !{!6, !8, i64 88}
!96 = !{!88, !8, i64 16}
!97 = !{!88, !8, i64 4}
!98 = !{!88, !11, i64 8}
!99 = !{!88, !16, i64 36}
!100 = !{!6, !14, i64 68}
!101 = !{!88, !14, i64 24}
!102 = !{!23, !14, i64 5784}
!103 = !{!6, !8, i64 24}
!104 = !{!6, !8, i64 20}
!105 = !{!6, !8, i64 28}
!106 = !{!6, !15, i64 98}
!107 = !{!6, !8, i64 0}
!108 = !{!88, !8, i64 20}
!109 = !{!6, !14, i64 72}
!110 = !{!12, !14, i64 0}
!111 = !{!6, !14, i64 40}
!112 = !{!12, !14, i64 8}
!113 = !{!6, !14, i64 48}
!114 = !{!12, !14, i64 4}
!115 = !{!12, !14, i64 12}
!116 = !{!29, !14, i64 60}
!117 = !{!23, !15, i64 7932}
!118 = !{!23, !8, i64 7132}
!119 = !{!23, !8, i64 7152}
!120 = !{!23, !15, i64 7164}
!121 = !{!23, !11, i64 7200}
!122 = !{!69, !11, i64 1120}
!123 = !{!124, !8, i64 40}
!124 = !{!"_ZTS13ImGuiDockNode", !8, i64 0, !8, i64 4, !8, i64 8, !11, i64 16, !9, i64 24, !33, i64 40, !11, i64 56, !13, i64 64, !13, i64 72, !13, i64 80, !125, i64 88, !39, i64 92, !126, i64 120, !11, i64 128, !11, i64 136, !11, i64 144, !11, i64 152, !8, i64 160, !8, i64 164, !8, i64 168, !8, i64 172, !8, i64 176, !8, i64 180, !8, i64 184, !8, i64 184, !8, i64 184, !15, i64 185, !15, i64 185, !15, i64 185, !15, i64 185, !15, i64 185, !15, i64 185, !15, i64 185, !15, i64 186, !15, i64 186, !15, i64 186, !15, i64 186}
!125 = !{!"_ZTS9ImGuiAxis", !9, i64 0}
!126 = !{!"_ZTS18ImGuiDockNodeState", !9, i64 0}
!127 = !{!23, !14, i64 956}
!128 = !{!23, !14, i64 296}
!129 = !{!69, !8, i64 12}
!130 = !{!23, !8, i64 7964}
!131 = !{!23, !14, i64 6712}
!132 = !{!23, !14, i64 300}
!133 = !{!6, !9, i64 96}
!134 = !{!23, !11, i64 7104}
!135 = !{!69, !8, i64 132}
!136 = !{!23, !15, i64 7166}
!137 = !{!69, !11, i64 784}
!138 = !{!23, !14, i64 7148}


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