; LLVM IR from TheNachoBIT/GeoFenix-Engine :: GeoFenix/ImGUI/imgui_widgets.ll (ZN5ImGui9TabItemExEP11ImGuiTabBarPKcPbi)

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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type { i32, i32, i32, i32, float, float, float, i16, i8, i8 }
%struct.ImGuiTabBar = type { %struct.ImVector.26, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, i32, i32, i8, i8, i8, i8, i16, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i32, [4 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [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.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %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.22, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %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, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector.7 }
%struct.ImVector.7 = 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, [48 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, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.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.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.22, %struct.ImVector.22, 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.23, 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.23 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImGuiWindow = type <{ ptr, i32, 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, %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, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.5, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 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 }

@GImGui = external global ptr, align 8
@.str.165 = 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: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() #6

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

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

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

declare void @_ZN5ImGui11PopItemFlagEv() #6

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

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

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

declare void @_ZN5ImGui11PopClipRectEv() #6

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

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

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

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

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

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

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

61:                                               ; preds = %52
  store i1 false, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %657

62:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #10
  %63 = load ptr, ptr %10, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiContext, ptr %63, i32 0, i32 4
  store ptr %64, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #10
  %65 = load ptr, ptr %6, align 8, !tbaa !5
  %66 = load ptr, ptr %7, align 8, !tbaa !5
  %67 = call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef %65, ptr noundef %66)
  store i32 %67, ptr %14, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %62
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %80

73:                                               ; preds = %70
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = load i8, ptr %74, align 1, !tbaa !81, !range !21, !noundef !22
  %76 = trunc i8 %75 to i1
  br i1 %76, label %80, label %77

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

80:                                               ; preds = %73, %70
  %81 = load i32, ptr %9, align 4, !tbaa !9
  %82 = and i32 %81, 1048576
  %83 = icmp ne i32 %82, 0
  br i1 %83, label %84, label %85

84:                                               ; preds = %80
  store ptr null, ptr %8, align 8, !tbaa !5
  br label %92

85:                                               ; preds = %80
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = icmp eq ptr %86, null
  br i1 %87, label %88, label %91

88:                                               ; preds = %85
  %89 = load i32, ptr %9, align 4, !tbaa !9
  %90 = or i32 %89, 1048576
  store i32 %90, ptr %9, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %88, %85
  br label %92

92:                                               ; preds = %91, %84
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %93 = load ptr, ptr %7, align 8, !tbaa !5
  %94 = load ptr, ptr %8, align 8, !tbaa !5
  %95 = icmp ne ptr %94, null
  %96 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %93, i1 noundef zeroext %95)
  store <2 x float> %96, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %97 = load ptr, ptr %6, align 8, !tbaa !5
  %98 = load i32, ptr %14, align 4, !tbaa !9
  %99 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %97, i32 noundef %98)
  store ptr %99, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #10
  store i8 0, ptr %18, align 1, !tbaa !81
  %100 = load ptr, ptr %17, align 8, !tbaa !5
  %101 = icmp eq ptr %100, null
  br i1 %101, label %102, label %115

102:                                              ; preds = %92
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ImGuiTabBar, ptr %103, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #10
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(32) %19)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %104, ptr noundef nonnull align 4 dereferenceable(32) %19)
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiTabBar, ptr %105, i32 0, i32 0
  %107 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %106)
  store ptr %107, ptr %17, align 8, !tbaa !5
  %108 = load i32, ptr %14, align 4, !tbaa !9
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiTabItem, ptr %109, i32 0, i32 0
  store i32 %108, ptr %110, align 4, !tbaa !82
  %111 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %112 = load float, ptr %111, align 4, !tbaa !84
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiTabItem, ptr %113, i32 0, i32 5
  store float %112, ptr %114, align 4, !tbaa !85
  store i8 1, ptr %18, align 1, !tbaa !81
  br label %115

115:                                              ; preds = %102, %92
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ImGuiTabBar, ptr %116, i32 0, i32 0
  %118 = load ptr, ptr %17, align 8, !tbaa !5
  %119 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %117, ptr noundef %118)
  %120 = trunc i32 %119 to i16
  %121 = load ptr, ptr %6, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.ImGuiTabBar, ptr %121, i32 0, i32 22
  store i16 %120, ptr %122, align 4, !tbaa !86
  %123 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %124 = load float, ptr %123, align 4, !tbaa !84
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiTabItem, ptr %125, i32 0, i32 6
  store float %124, ptr %126, align 4, !tbaa !87
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiTabBar, ptr %127, i32 0, i32 19
  %129 = load i8, ptr %128, align 1, !tbaa !88
  %130 = add i8 %129, 1
  store i8 %130, ptr %128, align 1, !tbaa !88
  %131 = load ptr, ptr %17, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiTabItem, ptr %131, i32 0, i32 8
  store i8 %129, ptr %132, align 2, !tbaa !89
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #10
  %133 = load ptr, ptr %6, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiTabBar, ptr %133, i32 0, i32 6
  %135 = load i32, ptr %134, align 4, !tbaa !90
  %136 = add nsw i32 %135, 1
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiContext, ptr %137, i32 0, i32 11
  %139 = load i32, ptr %138, align 8, !tbaa !91
  %140 = icmp slt i32 %136, %139
  %141 = zext i1 %140 to i8
  store i8 %141, ptr %20, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #10
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiTabBar, ptr %142, i32 0, i32 16
  %144 = load i32, ptr %143, align 8, !tbaa !92
  %145 = and i32 %144, 2097152
  %146 = icmp ne i32 %145, 0
  %147 = zext i1 %146 to i8
  store i8 %147, ptr %21, align 1, !tbaa !81
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiTabItem, ptr %148, i32 0, i32 2
  %150 = load i32, ptr %149, align 4, !tbaa !93
  %151 = add nsw i32 %150, 1
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.ImGuiContext, ptr %152, i32 0, i32 11
  %154 = load i32, ptr %153, align 8, !tbaa !91
  %155 = icmp slt i32 %151, %154
  %156 = zext i1 %155 to i8
  store i8 %156, ptr %22, align 1, !tbaa !81
  %157 = load ptr, ptr %10, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiContext, ptr %157, i32 0, i32 11
  %159 = load i32, ptr %158, align 8, !tbaa !91
  %160 = load ptr, ptr %17, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.ImGuiTabItem, ptr %160, i32 0, i32 2
  store i32 %159, ptr %161, align 4, !tbaa !93
  %162 = load i32, ptr %9, align 4, !tbaa !9
  %163 = load ptr, ptr %17, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiTabItem, ptr %163, i32 0, i32 1
  store i32 %162, ptr %164, align 4, !tbaa !94
  %165 = load ptr, ptr %6, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.ImGuiTabBar, ptr %165, i32 0, i32 24
  %167 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %166)
  %168 = trunc i32 %167 to i16
  %169 = load ptr, ptr %17, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.ImGuiTabItem, ptr %169, i32 0, i32 7
  store i16 %168, ptr %170, align 4, !tbaa !95
  %171 = load ptr, ptr %6, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiTabBar, ptr %171, i32 0, i32 24
  %173 = load ptr, ptr %7, align 8, !tbaa !5
  %174 = load ptr, ptr %7, align 8, !tbaa !5
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = call i64 @strlen(ptr noundef %175) #11
  %177 = getelementptr inbounds i8, ptr %174, i64 %176
  %178 = getelementptr inbounds i8, ptr %177, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %172, ptr noundef %173, ptr noundef %178)
  %179 = load i8, ptr %22, align 1, !tbaa !81, !range !21, !noundef !22
  %180 = trunc i8 %179 to i1
  br i1 %180, label %206, label %181

181:                                              ; preds = %115
  %182 = load ptr, ptr %6, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.ImGuiTabBar, ptr %182, i32 0, i32 16
  %184 = load i32, ptr %183, align 8, !tbaa !92
  %185 = and i32 %184, 1
  %186 = icmp ne i32 %185, 0
  br i1 %186, label %206, label %187

187:                                              ; preds = %181
  %188 = load ptr, ptr %6, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.ImGuiTabBar, ptr %188, i32 0, i32 11
  %190 = load float, ptr %189, align 4, !tbaa !96
  %191 = load ptr, ptr %17, align 8, !tbaa !5
  %192 = getelementptr inbounds %struct.ImGuiTabItem, ptr %191, i32 0, i32 4
  store float %190, ptr %192, align 4, !tbaa !97
  %193 = load ptr, ptr %17, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.ImGuiTabItem, ptr %193, i32 0, i32 5
  %195 = load float, ptr %194, align 4, !tbaa !85
  %196 = load ptr, ptr %10, align 8, !tbaa !5
  %197 = getelementptr inbounds %struct.ImGuiContext, ptr %196, i32 0, i32 4
  %198 = getelementptr inbounds %struct.ImGuiStyle, ptr %197, i32 0, i32 15
  %199 = getelementptr inbounds %struct.ImVec2, ptr %198, i32 0, i32 0
  %200 = load float, ptr %199, align 8, !tbaa !98
  %201 = fadd float %195, %200
  %202 = load ptr, ptr %6, align 8, !tbaa !5
  %203 = getelementptr inbounds %struct.ImGuiTabBar, ptr %202, i32 0, i32 11
  %204 = load float, ptr %203, align 4, !tbaa !96
  %205 = fadd float %204, %201
  store float %205, ptr %203, align 4, !tbaa !96
  br label %206

206:                                              ; preds = %187, %181, %115
  %207 = load i8, ptr %22, align 1, !tbaa !81, !range !21, !noundef !22
  %208 = trunc i8 %207 to i1
  br i1 %208, label %209, label %233

209:                                              ; preds = %206
  %210 = load ptr, ptr %6, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.ImGuiTabBar, ptr %210, i32 0, i32 16
  %212 = load i32, ptr %211, align 8, !tbaa !92
  %213 = and i32 %212, 2
  %214 = icmp ne i32 %213, 0
  br i1 %214, label %215, label %233

215:                                              ; preds = %209
  %216 = load ptr, ptr %6, align 8, !tbaa !5
  %217 = getelementptr inbounds %struct.ImGuiTabBar, ptr %216, i32 0, i32 3
  %218 = load i32, ptr %217, align 8, !tbaa !99
  %219 = icmp eq i32 %218, 0
  br i1 %219, label %220, label %233

220:                                              ; preds = %215
  %221 = load i8, ptr %20, align 1, !tbaa !81, !range !21, !noundef !22
  %222 = trunc i8 %221 to i1
  br i1 %222, label %223, label %228

223:                                              ; preds = %220
  %224 = load ptr, ptr %6, align 8, !tbaa !5
  %225 = getelementptr inbounds %struct.ImGuiTabBar, ptr %224, i32 0, i32 2
  %226 = load i32, ptr %225, align 4, !tbaa !100
  %227 = icmp eq i32 %226, 0
  br i1 %227, label %228, label %232

228:                                              ; preds = %223, %220
  %229 = load i32, ptr %14, align 4, !tbaa !9
  %230 = load ptr, ptr %6, align 8, !tbaa !5
  %231 = getelementptr inbounds %struct.ImGuiTabBar, ptr %230, i32 0, i32 3
  store i32 %229, ptr %231, align 8, !tbaa !99
  br label %232

232:                                              ; preds = %228, %223
  br label %233

233:                                              ; preds = %232, %215, %209, %206
  %234 = load i32, ptr %9, align 4, !tbaa !9
  %235 = and i32 %234, 2
  %236 = icmp ne i32 %235, 0
  br i1 %236, label %237, label %247

237:                                              ; preds = %233
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiTabBar, ptr %238, i32 0, i32 2
  %240 = load i32, ptr %239, align 4, !tbaa !100
  %241 = load i32, ptr %14, align 4, !tbaa !9
  %242 = icmp ne i32 %240, %241
  br i1 %242, label %243, label %247

243:                                              ; preds = %237
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = load ptr, ptr %6, align 8, !tbaa !5
  %246 = getelementptr inbounds %struct.ImGuiTabBar, ptr %245, i32 0, i32 3
  store i32 %244, ptr %246, align 8, !tbaa !99
  br label %247

247:                                              ; preds = %243, %237, %233
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #10
  %248 = load ptr, ptr %6, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.ImGuiTabBar, ptr %248, i32 0, i32 4
  %250 = load i32, ptr %249, align 4, !tbaa !101
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = icmp eq i32 %250, %251
  %253 = zext i1 %252 to i8
  store i8 %253, ptr %23, align 1, !tbaa !81
  %254 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %255 = trunc i8 %254 to i1
  br i1 %255, label %256, label %259

256:                                              ; preds = %247
  %257 = load ptr, ptr %6, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.ImGuiTabBar, ptr %257, i32 0, i32 21
  store i8 1, ptr %258, align 1, !tbaa !102
  br label %259

259:                                              ; preds = %256, %247
  %260 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %261 = trunc i8 %260 to i1
  br i1 %261, label %284, label %262

262:                                              ; preds = %259
  %263 = load ptr, ptr %6, align 8, !tbaa !5
  %264 = getelementptr inbounds %struct.ImGuiTabBar, ptr %263, i32 0, i32 2
  %265 = load i32, ptr %264, align 4, !tbaa !100
  %266 = icmp eq i32 %265, 0
  br i1 %266, label %267, label %284

267:                                              ; preds = %262
  %268 = load i8, ptr %20, align 1, !tbaa !81, !range !21, !noundef !22
  %269 = trunc i8 %268 to i1
  br i1 %269, label %270, label %284

270:                                              ; preds = %267
  %271 = load ptr, ptr %6, align 8, !tbaa !5
  %272 = getelementptr inbounds %struct.ImGuiTabBar, ptr %271, i32 0, i32 0
  %273 = getelementptr inbounds %struct.ImVector.26, ptr %272, i32 0, i32 0
  %274 = load i32, ptr %273, align 8, !tbaa !103
  %275 = icmp eq i32 %274, 1
  br i1 %275, label %276, label %283

276:                                              ; preds = %270
  %277 = load ptr, ptr %6, align 8, !tbaa !5
  %278 = getelementptr inbounds %struct.ImGuiTabBar, ptr %277, i32 0, i32 16
  %279 = load i32, ptr %278, align 8, !tbaa !92
  %280 = and i32 %279, 2
  %281 = icmp ne i32 %280, 0
  br i1 %281, label %283, label %282

282:                                              ; preds = %276
  store i8 1, ptr %23, align 1, !tbaa !81
  br label %283

283:                                              ; preds = %282, %276, %270
  br label %284

284:                                              ; preds = %283, %267, %262, %259
  %285 = load i8, ptr %22, align 1, !tbaa !81, !range !21, !noundef !22
  %286 = trunc i8 %285 to i1
  br i1 %286, label %287, label %298

287:                                              ; preds = %284
  %288 = load i8, ptr %20, align 1, !tbaa !81, !range !21, !noundef !22
  %289 = trunc i8 %288 to i1
  br i1 %289, label %290, label %293

290:                                              ; preds = %287
  %291 = load i8, ptr %18, align 1, !tbaa !81, !range !21, !noundef !22
  %292 = trunc i8 %291 to i1
  br i1 %292, label %293, label %298

293:                                              ; preds = %290, %287
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr %24) #10
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %24)
  %294 = load i32, ptr %14, align 4, !tbaa !9
  %295 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %294, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #10
  call void @_ZN5ImGui11PopItemFlagEv()
  %296 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %297 = trunc i8 %296 to i1
  store i1 %297, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %655

298:                                              ; preds = %290, %284
  %299 = load ptr, ptr %6, align 8, !tbaa !5
  %300 = getelementptr inbounds %struct.ImGuiTabBar, ptr %299, i32 0, i32 2
  %301 = load i32, ptr %300, align 4, !tbaa !100
  %302 = load i32, ptr %14, align 4, !tbaa !9
  %303 = icmp eq i32 %301, %302
  br i1 %303, label %304, label %310

304:                                              ; preds = %298
  %305 = load ptr, ptr %10, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiContext, ptr %305, i32 0, i32 11
  %307 = load i32, ptr %306, align 8, !tbaa !91
  %308 = load ptr, ptr %17, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiTabItem, ptr %308, i32 0, i32 3
  store i32 %307, ptr %309, align 4, !tbaa !104
  br label %310

310:                                              ; preds = %304, %298
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %311 = load ptr, ptr %11, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiWindow, ptr %311, i32 0, i32 51
  %313 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %312, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %313, i64 8, i1 false), !tbaa.struct !105
  %314 = load ptr, ptr %17, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.ImGuiTabItem, ptr %314, i32 0, i32 5
  %316 = load float, ptr %315, align 4, !tbaa !85
  %317 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %316, ptr %317, align 4, !tbaa !84
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %318 = load ptr, ptr %6, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiTabBar, ptr %318, i32 0, i32 7
  %320 = getelementptr inbounds %struct.ImRect, ptr %319, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %321 = load ptr, ptr %17, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.ImGuiTabItem, ptr %321, i32 0, i32 4
  %323 = load float, ptr %322, align 4, !tbaa !97
  %324 = load ptr, ptr %6, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiTabBar, ptr %324, i32 0, i32 12
  %326 = load float, ptr %325, align 8, !tbaa !107
  %327 = fsub float %323, %326
  %328 = fptosi float %327 to i32
  %329 = sitofp i32 %328 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %329, float noundef 0.000000e+00)
  %330 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %320, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %330, ptr %26, align 4
  %331 = load ptr, ptr %11, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.ImGuiWindow, ptr %331, i32 0, i32 51
  %333 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %332, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %333, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !105
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #10
  %334 = load ptr, ptr %11, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiWindow, ptr %334, i32 0, i32 51
  %336 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %335, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %336, i64 8, i1 false), !tbaa.struct !105
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %337 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %16)
  store <2 x float> %337, ptr %30, align 4
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %29, ptr noundef nonnull align 4 dereferenceable(8) %28, ptr noundef nonnull align 4 dereferenceable(8) %30)
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #10
  %338 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %339 = getelementptr inbounds %struct.ImVec2, ptr %338, i32 0, i32 0
  %340 = load float, ptr %339, align 4, !tbaa !108
  %341 = load ptr, ptr %6, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.ImGuiTabBar, ptr %341, i32 0, i32 7
  %343 = getelementptr inbounds %struct.ImRect, ptr %342, i32 0, i32 0
  %344 = getelementptr inbounds %struct.ImVec2, ptr %343, i32 0, i32 0
  %345 = load float, ptr %344, align 8, !tbaa !109
  %346 = fcmp olt float %340, %345
  br i1 %346, label %357, label %347

347:                                              ; preds = %310
  %348 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %349 = getelementptr inbounds %struct.ImVec2, ptr %348, i32 0, i32 0
  %350 = load float, ptr %349, align 4, !tbaa !110
  %351 = load ptr, ptr %6, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.ImGuiTabBar, ptr %351, i32 0, i32 7
  %353 = getelementptr inbounds %struct.ImRect, ptr %352, i32 0, i32 1
  %354 = getelementptr inbounds %struct.ImVec2, ptr %353, i32 0, i32 0
  %355 = load float, ptr %354, align 8, !tbaa !111
  %356 = fcmp ogt float %350, %355
  br label %357

357:                                              ; preds = %347, %310
  %358 = phi i1 [ true, %310 ], [ %356, %347 ]
  %359 = zext i1 %358 to i8
  store i8 %359, ptr %31, align 1, !tbaa !81
  %360 = load i8, ptr %31, align 1, !tbaa !81, !range !21, !noundef !22
  %361 = trunc i8 %360 to i1
  br i1 %361, label %362, label %384

362:                                              ; preds = %357
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %363 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %364 = getelementptr inbounds %struct.ImVec2, ptr %363, i32 0, i32 0
  %365 = load float, ptr %364, align 4, !tbaa !108
  %366 = load ptr, ptr %6, align 8, !tbaa !5
  %367 = getelementptr inbounds %struct.ImGuiTabBar, ptr %366, i32 0, i32 7
  %368 = getelementptr inbounds %struct.ImRect, ptr %367, i32 0, i32 0
  %369 = getelementptr inbounds %struct.ImVec2, ptr %368, i32 0, i32 0
  %370 = load float, ptr %369, align 8, !tbaa !109
  %371 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %365, float noundef %370)
  %372 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %373 = getelementptr inbounds %struct.ImVec2, ptr %372, i32 0, i32 1
  %374 = load float, ptr %373, align 4, !tbaa !112
  %375 = fsub float %374, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %371, float noundef %375)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %376 = load ptr, ptr %6, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.ImGuiTabBar, ptr %376, i32 0, i32 7
  %378 = getelementptr inbounds %struct.ImRect, ptr %377, i32 0, i32 1
  %379 = getelementptr inbounds %struct.ImVec2, ptr %378, i32 0, i32 0
  %380 = load float, ptr %379, align 8, !tbaa !111
  %381 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %382 = getelementptr inbounds %struct.ImVec2, ptr %381, i32 0, i32 1
  %383 = load float, ptr %382, align 4, !tbaa !113
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %380, float noundef %383)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %32, ptr noundef nonnull align 4 dereferenceable(8) %33, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #10
  br label %384

384:                                              ; preds = %362, %357
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %385 = load ptr, ptr %11, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.ImGuiWindow, ptr %385, i32 0, i32 51
  %387 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %386, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %387, i64 8, i1 false), !tbaa.struct !105
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %388 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  store <2 x float> %388, ptr %35, align 4
  %389 = load ptr, ptr %13, align 8, !tbaa !5
  %390 = getelementptr inbounds %struct.ImGuiStyle, ptr %389, i32 0, i32 11
  %391 = getelementptr inbounds %struct.ImVec2, ptr %390, i32 0, i32 1
  %392 = load float, ptr %391, align 4, !tbaa !114
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %392)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  %393 = load ptr, ptr %11, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGuiWindow, ptr %393, i32 0, i32 51
  %395 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %394, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %395, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !105
  %396 = load i32, ptr %14, align 4, !tbaa !9
  %397 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %396, ptr noundef null)
  br i1 %397, label %408, label %398

398:                                              ; preds = %384
  %399 = load i8, ptr %31, align 1, !tbaa !81, !range !21, !noundef !22
  %400 = trunc i8 %399 to i1
  br i1 %400, label %401, label %402

401:                                              ; preds = %398
  call void @_ZN5ImGui11PopClipRectEv()
  br label %402

402:                                              ; preds = %401, %398
  %403 = load ptr, ptr %11, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.ImGuiWindow, ptr %403, i32 0, i32 51
  %405 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %404, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %405, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !105
  %406 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %407 = trunc i8 %406 to i1
  store i1 %407, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %654

408:                                              ; preds = %384
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  store i32 4112, ptr %36, align 4, !tbaa !9
  %409 = load ptr, ptr %10, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiContext, ptr %409, i32 0, i32 140
  %411 = load i8, ptr %410, align 4, !tbaa !115, !range !21, !noundef !22
  %412 = trunc i8 %411 to i1
  br i1 %412, label %413, label %416

413:                                              ; preds = %408
  %414 = load i32, ptr %36, align 4, !tbaa !9
  %415 = or i32 %414, 512
  store i32 %415, ptr %36, align 4, !tbaa !9
  br label %416

416:                                              ; preds = %413, %408
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #10
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #10
  %417 = load i32, ptr %14, align 4, !tbaa !9
  %418 = load i32, ptr %36, align 4, !tbaa !9
  %419 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %417, ptr noundef %37, ptr noundef %38, i32 noundef %418)
  %420 = zext i1 %419 to i8
  store i8 %420, ptr %39, align 1, !tbaa !81
  %421 = load i8, ptr %39, align 1, !tbaa !81, !range !21, !noundef !22
  %422 = trunc i8 %421 to i1
  br i1 %422, label %423, label %427

423:                                              ; preds = %416
  %424 = load i32, ptr %14, align 4, !tbaa !9
  %425 = load ptr, ptr %6, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.ImGuiTabBar, ptr %425, i32 0, i32 3
  store i32 %424, ptr %426, align 8, !tbaa !99
  br label %427

427:                                              ; preds = %423, %416
  %428 = load ptr, ptr %10, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.ImGuiContext, ptr %428, i32 0, i32 36
  %430 = load i32, ptr %429, align 4, !tbaa !116
  %431 = load i32, ptr %14, align 4, !tbaa !9
  %432 = icmp eq i32 %430, %431
  %433 = zext i1 %432 to i32
  %434 = load i8, ptr %37, align 1, !tbaa !81, !range !21, !noundef !22
  %435 = trunc i8 %434 to i1
  %436 = zext i1 %435 to i32
  %437 = or i32 %436, %433
  %438 = icmp ne i32 %437, 0
  %439 = zext i1 %438 to i8
  store i8 %439, ptr %37, align 1, !tbaa !81
  %440 = load i8, ptr %38, align 1, !tbaa !81, !range !21, !noundef !22
  %441 = trunc i8 %440 to i1
  br i1 %441, label %443, label %442

442:                                              ; preds = %427
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %443

443:                                              ; preds = %442, %427
  %444 = load i8, ptr %38, align 1, !tbaa !81, !range !21, !noundef !22
  %445 = trunc i8 %444 to i1
  br i1 %445, label %446, label %519

446:                                              ; preds = %443
  %447 = load i8, ptr %22, align 1, !tbaa !81, !range !21, !noundef !22
  %448 = trunc i8 %447 to i1
  br i1 %448, label %519, label %449

449:                                              ; preds = %446
  %450 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %450, label %451, label %519

451:                                              ; preds = %449
  %452 = load ptr, ptr %10, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.ImGuiContext, ptr %452, i32 0, i32 140
  %454 = load i8, ptr %453, align 4, !tbaa !115, !range !21, !noundef !22
  %455 = trunc i8 %454 to i1
  br i1 %455, label %518, label %456

456:                                              ; preds = %451
  %457 = load ptr, ptr %6, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.ImGuiTabBar, ptr %457, i32 0, i32 16
  %459 = load i32, ptr %458, align 8, !tbaa !92
  %460 = and i32 %459, 1
  %461 = icmp ne i32 %460, 0
  br i1 %461, label %462, label %518

462:                                              ; preds = %456
  %463 = load ptr, ptr %10, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.ImGuiContext, ptr %463, i32 0, i32 3
  %465 = getelementptr inbounds %struct.ImGuiIO, ptr %464, i32 0, i32 59
  %466 = getelementptr inbounds %struct.ImVec2, ptr %465, i32 0, i32 0
  %467 = load float, ptr %466, align 8, !tbaa !117
  %468 = fcmp olt float %467, 0.000000e+00
  br i1 %468, label %469, label %489

469:                                              ; preds = %462
  %470 = load ptr, ptr %10, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.ImGuiContext, ptr %470, i32 0, i32 3
  %472 = getelementptr inbounds %struct.ImGuiIO, ptr %471, i32 0, i32 36
  %473 = getelementptr inbounds %struct.ImVec2, ptr %472, i32 0, i32 0
  %474 = load float, ptr %473, align 8, !tbaa !118
  %475 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %476 = getelementptr inbounds %struct.ImVec2, ptr %475, i32 0, i32 0
  %477 = load float, ptr %476, align 4, !tbaa !108
  %478 = fcmp olt float %474, %477
  br i1 %478, label %479, label %489

479:                                              ; preds = %469
  %480 = load ptr, ptr %6, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.ImGuiTabBar, ptr %480, i32 0, i32 16
  %482 = load i32, ptr %481, align 8, !tbaa !92
  %483 = and i32 %482, 1
  %484 = icmp ne i32 %483, 0
  br i1 %484, label %485, label %488

485:                                              ; preds = %479
  %486 = load ptr, ptr %6, align 8, !tbaa !5
  %487 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %486, ptr noundef %487, i32 noundef -1)
  br label %488

488:                                              ; preds = %485, %479
  br label %517

489:                                              ; preds = %469, %462
  %490 = load ptr, ptr %10, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.ImGuiContext, ptr %490, i32 0, i32 3
  %492 = getelementptr inbounds %struct.ImGuiIO, ptr %491, i32 0, i32 59
  %493 = getelementptr inbounds %struct.ImVec2, ptr %492, i32 0, i32 0
  %494 = load float, ptr %493, align 8, !tbaa !117
  %495 = fcmp ogt float %494, 0.000000e+00
  br i1 %495, label %496, label %516

496:                                              ; preds = %489
  %497 = load ptr, ptr %10, align 8, !tbaa !5
  %498 = getelementptr inbounds %struct.ImGuiContext, ptr %497, i32 0, i32 3
  %499 = getelementptr inbounds %struct.ImGuiIO, ptr %498, i32 0, i32 36
  %500 = getelementptr inbounds %struct.ImVec2, ptr %499, i32 0, i32 0
  %501 = load float, ptr %500, align 8, !tbaa !118
  %502 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %503 = getelementptr inbounds %struct.ImVec2, ptr %502, i32 0, i32 0
  %504 = load float, ptr %503, align 4, !tbaa !110
  %505 = fcmp ogt float %501, %504
  br i1 %505, label %506, label %516

506:                                              ; preds = %496
  %507 = load ptr, ptr %6, align 8, !tbaa !5
  %508 = getelementptr inbounds %struct.ImGuiTabBar, ptr %507, i32 0, i32 16
  %509 = load i32, ptr %508, align 8, !tbaa !92
  %510 = and i32 %509, 1
  %511 = icmp ne i32 %510, 0
  br i1 %511, label %512, label %515

512:                                              ; preds = %506
  %513 = load ptr, ptr %6, align 8, !tbaa !5
  %514 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %513, ptr noundef %514, i32 noundef 1)
  br label %515

515:                                              ; preds = %512, %506
  br label %516

516:                                              ; preds = %515, %496, %489
  br label %517

517:                                              ; preds = %516, %488
  br label %518

518:                                              ; preds = %517, %456, %451
  br label %519

519:                                              ; preds = %518, %449, %446, %443
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %520 = load ptr, ptr %11, align 8, !tbaa !5
  %521 = getelementptr inbounds %struct.ImGuiWindow, ptr %520, i32 0, i32 69
  %522 = load ptr, ptr %521, align 8, !tbaa !119
  store ptr %522, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %523 = load i8, ptr %38, align 1, !tbaa !81, !range !21, !noundef !22
  %524 = trunc i8 %523 to i1
  br i1 %524, label %528, label %525

525:                                              ; preds = %519
  %526 = load i8, ptr %37, align 1, !tbaa !81, !range !21, !noundef !22
  %527 = trunc i8 %526 to i1
  br i1 %527, label %528, label %529

528:                                              ; preds = %525, %519
  br label %544

529:                                              ; preds = %525
  %530 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %531 = trunc i8 %530 to i1
  br i1 %531, label %532, label %537

532:                                              ; preds = %529
  %533 = load i8, ptr %21, align 1, !tbaa !81, !range !21, !noundef !22
  %534 = trunc i8 %533 to i1
  %535 = zext i1 %534 to i64
  %536 = select i1 %534, i32 35, i32 37
  br label %542

537:                                              ; preds = %529
  %538 = load i8, ptr %21, align 1, !tbaa !81, !range !21, !noundef !22
  %539 = trunc i8 %538 to i1
  %540 = zext i1 %539 to i64
  %541 = select i1 %539, i32 33, i32 36
  br label %542

542:                                              ; preds = %537, %532
  %543 = phi i32 [ %536, %532 ], [ %541, %537 ]
  br label %544

544:                                              ; preds = %542, %528
  %545 = phi i32 [ 34, %528 ], [ %543, %542 ]
  %546 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %545, float noundef 1.000000e+00)
  store i32 %546, ptr %41, align 4, !tbaa !9
  %547 = load ptr, ptr %40, align 8, !tbaa !5
  %548 = load i32, ptr %9, align 4, !tbaa !9
  %549 = load i32, ptr %41, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %547, ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %548, i32 noundef %549)
  %550 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %550, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #10
  %551 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  %552 = zext i1 %551 to i8
  store i8 %552, ptr %42, align 1, !tbaa !81
  %553 = load i8, ptr %42, align 1, !tbaa !81, !range !21, !noundef !22
  %554 = trunc i8 %553 to i1
  br i1 %554, label %555, label %563

555:                                              ; preds = %544
  %556 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %556, label %559, label %557

557:                                              ; preds = %555
  %558 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %558, label %559, label %563

559:                                              ; preds = %557, %555
  %560 = load i32, ptr %14, align 4, !tbaa !9
  %561 = load ptr, ptr %6, align 8, !tbaa !5
  %562 = getelementptr inbounds %struct.ImGuiTabBar, ptr %561, i32 0, i32 3
  store i32 %560, ptr %562, align 8, !tbaa !99
  br label %563

563:                                              ; preds = %559, %557, %544
  %564 = load ptr, ptr %6, align 8, !tbaa !5
  %565 = getelementptr inbounds %struct.ImGuiTabBar, ptr %564, i32 0, i32 16
  %566 = load i32, ptr %565, align 8, !tbaa !92
  %567 = and i32 %566, 8
  %568 = icmp ne i32 %567, 0
  br i1 %568, label %569, label %572

569:                                              ; preds = %563
  %570 = load i32, ptr %9, align 4, !tbaa !9
  %571 = or i32 %570, 4
  store i32 %571, ptr %9, align 4, !tbaa !9
  br label %572

572:                                              ; preds = %569, %563
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %573 = load ptr, ptr %8, align 8, !tbaa !5
  %574 = icmp ne ptr %573, null
  br i1 %574, label %575, label %582

575:                                              ; preds = %572
  %576 = load ptr, ptr %11, align 8, !tbaa !5
  %577 = load i32, ptr %14, align 4, !tbaa !9
  %578 = zext i32 %577 to i64
  %579 = add nsw i64 %578, 1
  %580 = inttoptr i64 %579 to ptr
  %581 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1044) %576, ptr noundef %580)
  br label %583

582:                                              ; preds = %572
  br label %583

583:                                              ; preds = %582, %575
  %584 = phi i32 [ %581, %575 ], [ 0, %582 ]
  store i32 %584, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #10
  %585 = load ptr, ptr %40, align 8, !tbaa !5
  %586 = load i32, ptr %9, align 4, !tbaa !9
  %587 = load ptr, ptr %6, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.ImGuiTabBar, ptr %587, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %588, i64 8, i1 false), !tbaa.struct !105
  %589 = load ptr, ptr %7, align 8, !tbaa !5
  %590 = load i32, ptr %14, align 4, !tbaa !9
  %591 = load i32, ptr %43, align 4, !tbaa !9
  %592 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %593 = trunc i8 %592 to i1
  %594 = load <2 x float>, ptr %45, align 4
  %595 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %585, ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %586, <2 x float> %594, ptr noundef %589, i32 noundef %590, i32 noundef %591, i1 noundef zeroext %593)
  %596 = zext i1 %595 to i8
  store i8 %596, ptr %44, align 1, !tbaa !81
  %597 = load i8, ptr %44, align 1, !tbaa !81, !range !21, !noundef !22
  %598 = trunc i8 %597 to i1
  br i1 %598, label %599, label %606

599:                                              ; preds = %583
  %600 = load ptr, ptr %8, align 8, !tbaa !5
  %601 = icmp ne ptr %600, null
  br i1 %601, label %602, label %606

602:                                              ; preds = %599
  %603 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %603, align 1, !tbaa !81
  %604 = load ptr, ptr %6, align 8, !tbaa !5
  %605 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %604, ptr noundef %605)
  br label %606

606:                                              ; preds = %602, %599, %583
  %607 = load i8, ptr %31, align 1, !tbaa !81, !range !21, !noundef !22
  %608 = trunc i8 %607 to i1
  br i1 %608, label %609, label %610

609:                                              ; preds = %606
  call void @_ZN5ImGui11PopClipRectEv()
  br label %610

610:                                              ; preds = %609, %606
  %611 = load ptr, ptr %11, align 8, !tbaa !5
  %612 = getelementptr inbounds %struct.ImGuiWindow, ptr %611, i32 0, i32 51
  %613 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %612, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %613, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !105
  %614 = load ptr, ptr %10, align 8, !tbaa !5
  %615 = getelementptr inbounds %struct.ImGuiContext, ptr %614, i32 0, i32 36
  %616 = load i32, ptr %615, align 4, !tbaa !116
  %617 = load i32, ptr %14, align 4, !tbaa !9
  %618 = icmp eq i32 %616, %617
  br i1 %618, label %619, label %651

619:                                              ; preds = %610
  %620 = load i8, ptr %38, align 1, !tbaa !81, !range !21, !noundef !22
  %621 = trunc i8 %620 to i1
  br i1 %621, label %651, label %622

622:                                              ; preds = %619
  %623 = load ptr, ptr %10, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.ImGuiContext, ptr %623, i32 0, i32 42
  %625 = load float, ptr %624, align 4, !tbaa !120
  %626 = fcmp ogt float %625, 5.000000e-01
  br i1 %626, label %627, label %651

627:                                              ; preds = %622
  %628 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %628, label %629, label %651

629:                                              ; preds = %627
  %630 = load ptr, ptr %6, align 8, !tbaa !5
  %631 = getelementptr inbounds %struct.ImGuiTabBar, ptr %630, i32 0, i32 16
  %632 = load i32, ptr %631, align 8, !tbaa !92
  %633 = and i32 %632, 32
  %634 = icmp ne i32 %633, 0
  br i1 %634, label %650, label %635

635:                                              ; preds = %629
  %636 = load ptr, ptr %17, align 8, !tbaa !5
  %637 = getelementptr inbounds %struct.ImGuiTabItem, ptr %636, i32 0, i32 1
  %638 = load i32, ptr %637, align 4, !tbaa !94
  %639 = and i32 %638, 16
  %640 = icmp ne i32 %639, 0
  br i1 %640, label %650, label %641

641:                                              ; preds = %635
  %642 = load ptr, ptr %7, align 8, !tbaa !5
  %643 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %642, ptr noundef null)
  %644 = load ptr, ptr %7, align 8, !tbaa !5
  %645 = ptrtoint ptr %643 to i64
  %646 = ptrtoint ptr %644 to i64
  %647 = sub i64 %645, %646
  %648 = trunc i64 %647 to i32
  %649 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.165, i32 noundef %648, ptr noundef %649)
  br label %650

650:                                              ; preds = %641, %635, %629
  br label %651

651:                                              ; preds = %650, %627, %622, %619, %610
  %652 = load i8, ptr %23, align 1, !tbaa !81, !range !21, !noundef !22
  %653 = trunc i8 %652 to i1
  store i1 %653, ptr %5, align 1
  store i32 1, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %42) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %40) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %37) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  br label %654

654:                                              ; preds = %651, %402
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #10
  br label %655

655:                                              ; preds = %654, %293
  call void @llvm.lifetime.end.p0(i64 1, ptr %23) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %22) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %21) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  br label %656

656:                                              ; preds = %655, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %657

657:                                              ; preds = %656, %61
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  %658 = load i1, ptr %5, align 1
  ret i1 %658
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) #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) #4 align 2

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

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

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { nounwind }
attributes #11 = { 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 98}
!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, !7, i64 97, !17, i64 98, !17, i64 99, !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 6800}
!24 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !25, i64 8, !27, i64 5480, !6, i64 6440, !16, i64 6448, !16, i64 6452, !28, i64 6456, !30, i64 6672, !10, i64 6680, !10, i64 6684, !10, i64 6688, !17, i64 6692, !17, i64 6693, !17, i64 6694, !17, i64 6695, !10, i64 6696, !6, i64 6704, !31, i64 6712, !31, i64 6728, !31, i64 6744, !31, i64 6760, !32, i64 6776, !10, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !6, i64 6832, !6, i64 6840, !15, i64 6848, !16, i64 6856, !10, i64 6860, !10, i64 6864, !17, i64 6868, !17, i64 6869, !16, i64 6872, !16, i64 6876, !10, i64 6880, !10, i64 6884, !16, i64 6888, !17, i64 6892, !17, i64 6893, !17, i64 6894, !17, i64 6895, !17, i64 6896, !17, i64 6897, !10, i64 6900, !10, i64 6904, !34, i64 6912, !15, i64 6920, !6, i64 6928, !35, i64 6936, !10, i64 6940, !10, i64 6944, !17, i64 6948, !17, i64 6949, !6, i64 6952, !10, i64 6960, !16, i64 6964, !36, i64 6968, !37, i64 7080, !38, i64 7104, !39, i64 7120, !40, i64 7136, !41, i64 7152, !41, i64 7168, !6, i64 7184, !10, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !10, i64 7208, !10, i64 7212, !10, i64 7216, !10, i64 7220, !10, i64 7224, !10, i64 7228, !10, i64 7232, !35, i64 7236, !14, i64 7240, !10, i64 7256, !42, i64 7260, !10, i64 7264, !17, i64 7268, !17, i64 7269, !17, i64 7270, !17, i64 7271, !17, i64 7272, !17, i64 7273, !17, i64 7274, !10, i64 7276, !14, i64 7280, !17, i64 7296, !10, i64 7300, !43, i64 7304, !10, i64 7308, !10, i64 7312, !10, i64 7316, !10, i64 7320, !44, i64 7328, !44, i64 7376, !44, i64 7424, !6, i64 7472, !10, i64 7480, !6, i64 7488, !6, i64 7496, !6, i64 7504, !16, i64 7512, !16, i64 7516, !17, i64 7520, !6, i64 7528, !6, i64 7536, !10, i64 7544, !10, i64 7548, !10, i64 7552, !10, i64 7556, !17, i64 7560, !45, i64 7568, !46, i64 7624, !16, i64 7656, !47, i64 7664, !47, i64 7888, !10, i64 8112, !17, i64 8116, !17, i64 8117, !17, i64 8118, !10, i64 8120, !10, i64 8124, !10, i64 8128, !56, i64 8136, !14, i64 8200, !10, i64 8216, !10, i64 8220, !16, i64 8224, !10, i64 8228, !10, i64 8232, !10, i64 8236, !10, i64 8240, !57, i64 8248, !7, i64 8264, !6, i64 8280, !58, i64 8288, !60, i64 8328, !61, i64 8344, !15, i64 8360, !62, i64 8368, !65, i64 12096, !10, i64 12216, !10, i64 12220, !16, i64 12224, !16, i64 12228, !7, i64 12232, !29, i64 12244, !16, i64 12260, !17, i64 12264, !17, i64 12265, !16, i64 12268, !16, i64 12272, !16, i64 12276, !10, i64 12280, !20, i64 12288, !68, i64 12304, !15, i64 12320, !15, i64 12328, !7, i64 12336, !17, i64 12337, !16, i64 12340, !19, i64 12344, !69, i64 12360, !70, i64 12376, !17, i64 12392, !71, i64 12396, !6, i64 12400, !19, i64 12408, !16, i64 12424, !17, i64 12428, !10, i64 12432, !10, i64 12436, !10, i64 12440, !17, i64 12444, !10, i64 12448, !7, i64 12452, !10, i64 12932, !16, i64 12936, !10, i64 12940, !10, i64 12944, !10, i64 12948, !7, i64 12952}
!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, !16, i64 200, !6, i64 208, !6, i64 216, !6, i64 224, !6, i64 232, !6, i64 240, !6, i64 248, !6, i64 256, !6, i64 264, !6, i64 272, !6, i64 280, !6, i64 288, !15, i64 296, !7, i64 304, !16, i64 312, !16, i64 316, !17, i64 320, !17, i64 321, !17, i64 322, !17, i64 323, !7, i64 324, !7, i64 836, !17, i64 920, !17, i64 921, !17, i64 922, !17, i64 923, !17, i64 924, !17, i64 925, !17, i64 926, !16, i64 928, !10, i64 932, !10, i64 936, !10, i64 940, !10, i64 944, !10, i64 948, !15, i64 952, !10, i64 960, !15, i64 964, !7, i64 972, !7, i64 1016, !7, i64 1056, !7, i64 1061, !7, i64 1066, !7, i64 1071, !7, i64 1076, !7, i64 1084, !7, i64 1104, !7, i64 1124, !7, i64 1164, !7, i64 1184, !7, i64 3232, !7, i64 5280, !7, i64 5364, !16, i64 5448, !18, i64 5452, !26, i64 5456}
!26 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!27 = !{!"_ZTS10ImGuiStyle", !16, i64 0, !15, i64 4, !16, i64 12, !16, i64 16, !15, i64 20, !15, i64 28, !10, i64 36, !16, i64 40, !16, i64 44, !16, i64 48, !16, i64 52, !15, i64 56, !16, i64 64, !16, i64 68, !15, i64 72, !15, i64 80, !15, i64 88, !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}
!28 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !16, i64 24, !29, i64 28, !10, i64 44, !7, i64 48, !7, i64 144, !6, i64 208}
!29 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!30 = !{!"double", !7, i64 0}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!32 = !{!"_ZTS12ImGuiStorage", !33, i64 0}
!33 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"long long", !7, i64 0}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_ZTS19ImGuiNextWindowData", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !17, i64 56, !14, i64 60, !6, i64 80, !6, i64 88, !16, i64 96, !15, i64 100}
!37 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !10, i64 8, !10, i64 12, !17, i64 16}
!38 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !10, i64 0, !10, i64 4, !6, i64 8}
!39 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorIP6ImFontE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!43 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!44 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !14, i64 28}
!45 = !{!"_ZTS10ImDrawData", !17, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !15, i64 28, !15, i64 36, !15, i64 44}
!46 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!47 = !{!"_ZTS10ImDrawList", !48, i64 0, !26, i64 16, !49, i64 32, !10, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !6, i64 80, !6, i64 88, !50, i64 96, !51, i64 112, !52, i64 128, !53, i64 144, !54, i64 200}
!48 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!51 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!52 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!53 = !{!"_ZTS9ImDrawCmd", !29, i64 0, !6, i64 16, !10, i64 24, !10, i64 28, !10, i64 32, !6, i64 40, !6, i64 48}
!54 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !55, i64 8}
!55 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!56 = !{!"_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}
!57 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !59, i64 0, !32, i64 16, !10, i64 32}
!59 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!62 = !{!"_ZTS19ImGuiInputTextState", !10, i64 0, !10, i64 4, !10, i64 8, !26, i64 16, !20, i64 32, !20, i64 48, !17, i64 64, !10, i64 68, !16, i64 72, !63, i64 76, !16, i64 3696, !17, i64 3700, !17, i64 3701, !17, i64 3702, !10, i64 3704, !6, i64 3712, !6, i64 3720}
!63 = !{!"_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, !64, i64 24}
!64 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!65 = !{!"_ZTS6ImFont", !66, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !67, 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}
!66 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!70 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !20, i64 0}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!73, !17, i64 139}
!73 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !10, i64 8, !10, i64 12, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !15, i64 56, !16, i64 64, !16, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !15, i64 84, !15, i64 92, !15, i64 100, !15, i64 108, !15, i64 116, !15, i64 124, !17, i64 132, !17, i64 133, !17, i64 134, !17, i64 135, !17, i64 136, !17, i64 137, !17, i64 138, !17, i64 139, !17, i64 140, !17, i64 141, !17, i64 142, !17, i64 143, !7, i64 144, !18, i64 146, !18, i64 148, !18, i64 150, !10, i64 152, !7, i64 156, !7, i64 157, !7, i64 158, !17, i64 159, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !15, i64 184, !15, i64 192, !68, i64 200, !74, i64 216, !14, i64 544, !14, i64 560, !14, i64 576, !14, i64 592, !14, i64 608, !14, i64 624, !14, i64 640, !79, i64 656, !79, i64 660, !10, i64 664, !16, i64 668, !16, i64 672, !32, i64 680, !80, i64 696, !16, i64 712, !10, i64 716, !6, i64 720, !47, i64 728, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !7, i64 992, !7, i64 1000, !17, i64 1032, !10, i64 1036, !10, i64 1040}
!74 = !{!"_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, !75, i64 56, !75, i64 60, !75, i64 64, !10, i64 68, !10, i64 72, !14, i64 76, !14, i64 92, !42, 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, !76, i64 140, !10, i64 176, !10, i64 180, !31, 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, !77, i64 248, !66, i64 264, !66, i64 280, !78, i64 296, !7, i64 312}
!75 = !{!"_ZTS6ImVec1", !16, i64 0}
!76 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!77 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!78 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!"_ZTS8ImVec2ih", !18, i64 0, !18, i64 2}
!80 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!81 = !{!17, !17, i64 0}
!82 = !{!83, !10, i64 0}
!83 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !18, i64 28, !7, i64 30, !17, i64 31}
!84 = !{!15, !16, i64 0}
!85 = !{!83, !16, i64 20}
!86 = !{!12, !18, i64 100}
!87 = !{!83, !16, i64 24}
!88 = !{!12, !7, i64 97}
!89 = !{!83, !7, i64 30}
!90 = !{!12, !10, i64 36}
!91 = !{!24, !10, i64 6680}
!92 = !{!12, !10, i64 88}
!93 = !{!83, !10, i64 8}
!94 = !{!83, !10, i64 4}
!95 = !{!83, !18, i64 28}
!96 = !{!12, !16, i64 68}
!97 = !{!83, !16, i64 16}
!98 = !{!24, !16, i64 5560}
!99 = !{!12, !10, i64 24}
!100 = !{!12, !10, i64 20}
!101 = !{!12, !10, i64 28}
!102 = !{!12, !17, i64 99}
!103 = !{!12, !10, i64 0}
!104 = !{!83, !10, i64 12}
!105 = !{i64 0, i64 4, !106, i64 4, i64 4, !106}
!106 = !{!16, !16, i64 0}
!107 = !{!12, !16, i64 72}
!108 = !{!14, !16, i64 0}
!109 = !{!12, !16, i64 40}
!110 = !{!14, !16, i64 8}
!111 = !{!12, !16, i64 48}
!112 = !{!14, !16, i64 4}
!113 = !{!14, !16, i64 12}
!114 = !{!27, !16, i64 60}
!115 = !{!24, !17, i64 8116}
!116 = !{!24, !10, i64 6860}
!117 = !{!24, !16, i64 960}
!118 = !{!24, !16, i64 304}
!119 = !{!73, !6, i64 720}
!120 = !{!24, !16, i64 6876}


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

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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.165 = 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: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

declare void @_ZN5ImGui19SetItemAllowOverlapEv() local_unnamed_addr #5

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

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

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

declare void @_ZN5ImGui11PopItemFlagEv() local_unnamed_addr #5

declare noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1044), ptr noundef) local_unnamed_addr #5

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

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

declare void @_ZN5ImGui11PopClipRectEv() local_unnamed_addr #5

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

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

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

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

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

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

22:                                               ; preds = %21, %4
  %23 = load ptr, ptr @GImGui, align 8, !tbaa !21
  %24 = getelementptr inbounds i8, ptr %23, i64 6800
  %25 = load ptr, ptr %24, align 8, !tbaa !22
  %26 = getelementptr inbounds i8, ptr %25, i64 139
  %27 = load i8, ptr %26, align 1, !tbaa !71, !range !19, !noundef !20
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %286, label %29

29:                                               ; preds = %22
  %30 = tail call noundef i32 @_ZN5ImGuiL15TabBarCalcTabIDEP11ImGuiTabBarPKc(ptr noundef nonnull %0, ptr noundef %1)
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %36, label %31

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

34:                                               ; preds = %31
  tail call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %5)
  %35 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %5, i32 noundef %30, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #9
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %286

36:                                               ; preds = %31, %29
  %37 = and i32 %3, 1048576
  %.not175 = icmp eq i32 %37, 0
  %38 = or disjoint i32 %3, 1048576
  %39 = and i1 %.not, %.not175
  %.0164 = select i1 %39, i32 %38, i32 %3
  %.0163 = select i1 %.not175, ptr %2, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %40 = icmp ne ptr %.0163, null
  %41 = tail call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %40)
  store <2 x float> %41, ptr %6, align 8
  %42 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %30)
  %43 = icmp eq ptr %42, null
  br i1 %43, label %44, label %48

44:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #9
  call void @_ZN12ImGuiTabItemC2Ev(ptr noundef nonnull align 4 dereferenceable(32) %7)
  call void @_ZN8ImVectorI12ImGuiTabItemE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 4 dereferenceable(32) %7)
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #9
  %45 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %30, ptr %45, align 4, !tbaa !81
  %46 = load float, ptr %6, align 8, !tbaa !83
  %47 = getelementptr inbounds i8, ptr %45, i64 20
  store float %46, ptr %47, align 4, !tbaa !84
  br label %48

48:                                               ; preds = %44, %36
  %.0166 = phi ptr [ %45, %44 ], [ %42, %36 ]
  %49 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0166)
  %50 = trunc i32 %49 to i16
  %51 = getelementptr inbounds i8, ptr %0, i64 100
  store i16 %50, ptr %51, align 4, !tbaa !85
  %52 = load float, ptr %6, align 8, !tbaa !83
  %53 = getelementptr inbounds i8, ptr %.0166, i64 24
  store float %52, ptr %53, align 4, !tbaa !86
  %54 = getelementptr inbounds i8, ptr %0, i64 97
  %55 = load i8, ptr %54, align 1, !tbaa !87
  %56 = add i8 %55, 1
  store i8 %56, ptr %54, align 1, !tbaa !87
  %57 = getelementptr inbounds i8, ptr %.0166, i64 30
  store i8 %55, ptr %57, align 2, !tbaa !88
  %58 = getelementptr inbounds i8, ptr %0, i64 36
  %59 = load i32, ptr %58, align 4, !tbaa !89
  %60 = add nsw i32 %59, 1
  %61 = getelementptr inbounds i8, ptr %23, i64 6680
  %62 = load i32, ptr %61, align 8, !tbaa !90
  %63 = icmp sge i32 %60, %62
  %64 = getelementptr inbounds i8, ptr %0, i64 88
  %65 = load i32, ptr %64, align 8, !tbaa !91
  %66 = and i32 %65, 2097152
  %.not176 = icmp eq i32 %66, 0
  %67 = getelementptr inbounds i8, ptr %.0166, i64 8
  %68 = load i32, ptr %67, align 4, !tbaa !92
  %69 = add nsw i32 %68, 1
  %70 = icmp slt i32 %69, %62
  store i32 %62, ptr %67, align 4, !tbaa !92
  %71 = getelementptr inbounds i8, ptr %.0166, i64 4
  store i32 %.0164, ptr %71, align 4, !tbaa !93
  %72 = getelementptr inbounds i8, ptr %0, i64 112
  %73 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %72)
  %74 = trunc i32 %73 to i16
  %75 = getelementptr inbounds i8, ptr %.0166, i64 28
  store i16 %74, ptr %75, align 4, !tbaa !94
  %76 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #10
  %77 = getelementptr inbounds i8, ptr %1, i64 %76
  %78 = getelementptr inbounds i8, ptr %77, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %72, ptr noundef %1, ptr noundef nonnull %78)
  %79 = load i32, ptr %64, align 8, !tbaa !91
  br i1 %70, label %.critedge, label %80

80:                                               ; preds = %48
  %81 = and i32 %79, 1
  %.not177 = icmp eq i32 %81, 0
  br i1 %.not177, label %82, label %103

82:                                               ; preds = %80
  %83 = getelementptr inbounds i8, ptr %0, i64 68
  %84 = load float, ptr %83, align 4, !tbaa !95
  %85 = getelementptr inbounds i8, ptr %.0166, i64 16
  store float %84, ptr %85, align 4, !tbaa !96
  %86 = getelementptr inbounds i8, ptr %.0166, i64 20
  %87 = load float, ptr %86, align 4, !tbaa !84
  %88 = getelementptr inbounds i8, ptr %23, i64 5560
  %89 = load float, ptr %88, align 8, !tbaa !97
  %90 = fadd float %87, %89
  %91 = fadd float %84, %90
  store float %91, ptr %83, align 4, !tbaa !95
  br label %103

.critedge:                                        ; preds = %48
  %92 = and i32 %79, 2
  %.not178 = icmp eq i32 %92, 0
  br i1 %.not178, label %103, label %93

93:                                               ; preds = %.critedge
  %94 = getelementptr inbounds i8, ptr %0, i64 24
  %95 = load i32, ptr %94, align 8, !tbaa !98
  %96 = icmp eq i32 %95, 0
  br i1 %96, label %97, label %103

97:                                               ; preds = %93
  br i1 %63, label %102, label %98

98:                                               ; preds = %97
  %99 = getelementptr inbounds i8, ptr %0, i64 20
  %100 = load i32, ptr %99, align 4, !tbaa !99
  %101 = icmp eq i32 %100, 0
  br i1 %101, label %102, label %103

102:                                              ; preds = %98, %97
  store i32 %30, ptr %94, align 8, !tbaa !98
  br label %103

103:                                              ; preds = %80, %82, %98, %102, %93, %.critedge
  %104 = and i32 %.0164, 2
  %.not179 = icmp eq i32 %104, 0
  br i1 %.not179, label %110, label %105

105:                                              ; preds = %103
  %106 = getelementptr inbounds i8, ptr %0, i64 20
  %107 = load i32, ptr %106, align 4, !tbaa !99
  %.not180 = icmp eq i32 %107, %30
  br i1 %.not180, label %110, label %108

108:                                              ; preds = %105
  %109 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %109, align 8, !tbaa !98
  br label %110

110:                                              ; preds = %108, %105, %103
  %111 = getelementptr inbounds i8, ptr %0, i64 28
  %112 = load i32, ptr %111, align 4, !tbaa !100
  %113 = icmp eq i32 %112, %30
  br i1 %113, label %114, label %.critedge189

114:                                              ; preds = %110
  %115 = getelementptr inbounds i8, ptr %0, i64 99
  store i8 1, ptr %115, align 1, !tbaa !101
  br label %124

.critedge189:                                     ; preds = %110
  %116 = getelementptr inbounds i8, ptr %0, i64 20
  %117 = load i32, ptr %116, align 4, !tbaa !99
  %118 = icmp ne i32 %117, 0
  %brmerge = select i1 %118, i1 true, i1 %63
  br i1 %brmerge, label %124, label %119

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

122:                                              ; preds = %119
  %123 = and i32 %79, 2
  %.not181 = icmp eq i32 %123, 0
  br label %124

124:                                              ; preds = %122, %114, %.critedge189, %119
  %.0168.shrunk = phi i1 [ true, %114 ], [ false, %119 ], [ false, %.critedge189 ], [ %.not181, %122 ]
  %brmerge194 = or i1 %43, %63
  %or.cond199 = select i1 %70, i1 %brmerge194, i1 false
  br i1 %or.cond199, label %125, label %127

125:                                              ; preds = %124
  call void @_ZN5ImGui12PushItemFlagEib(i32 noundef 24, i1 noundef zeroext true)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #9
  call void @_ZN6ImRectC2Ev(ptr noundef nonnull align 4 dereferenceable(16) %8)
  %126 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %8, i32 noundef %30, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #9
  call void @_ZN5ImGui11PopItemFlagEv()
  br label %285

127:                                              ; preds = %124
  %128 = getelementptr inbounds i8, ptr %0, i64 20
  %129 = load i32, ptr %128, align 4, !tbaa !99
  %130 = icmp eq i32 %129, %30
  br i1 %130, label %131, label %134

131:                                              ; preds = %127
  %132 = load i32, ptr %61, align 8, !tbaa !90
  %133 = getelementptr inbounds i8, ptr %.0166, i64 12
  store i32 %132, ptr %133, align 4, !tbaa !103
  br label %134

134:                                              ; preds = %131, %127
  %135 = getelementptr inbounds i8, ptr %25, i64 216
  %136 = load i64, ptr %135, align 8
  %137 = getelementptr inbounds i8, ptr %.0166, i64 20
  %138 = load float, ptr %137, align 4, !tbaa !84
  store float %138, ptr %6, align 8, !tbaa !83
  %139 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %140 = getelementptr inbounds i8, ptr %.0166, i64 16
  %141 = load float, ptr %140, align 4, !tbaa !96
  %142 = getelementptr inbounds i8, ptr %0, i64 72
  %143 = load float, ptr %142, align 8, !tbaa !104
  %144 = fsub float %141, %143
  %145 = fptosi float %144 to i32
  %146 = sitofp i32 %145 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %146, float noundef 0.000000e+00)
  %147 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %139, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %147, ptr %135, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #9
  store <2 x float> %147, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #9
  %148 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %6)
  store <2 x float> %148, ptr %12, align 8
  call void @_ZN6ImRectC2ERK6ImVec2S2_(ptr noundef nonnull align 4 dereferenceable(16) %11, ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #9
  %149 = load float, ptr %11, align 4, !tbaa !105
  %150 = load float, ptr %139, align 8, !tbaa !106
  %151 = fcmp olt float %149, %150
  br i1 %151, label %.thread, label %152

152:                                              ; preds = %134
  %153 = getelementptr inbounds i8, ptr %11, i64 8
  %154 = load float, ptr %153, align 4, !tbaa !107
  %155 = getelementptr inbounds i8, ptr %0, i64 48
  %156 = load float, ptr %155, align 8, !tbaa !108
  %157 = fcmp ogt float %154, %156
  br i1 %157, label %.thread, label %166

.thread:                                          ; preds = %134, %152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %158 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %149, float noundef %150)
  %159 = getelementptr inbounds i8, ptr %11, i64 4
  %160 = load float, ptr %159, align 4, !tbaa !109
  %161 = fadd float %160, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %158, float noundef %161)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %162 = getelementptr inbounds i8, ptr %0, i64 48
  %163 = load float, ptr %162, align 8, !tbaa !108
  %164 = getelementptr inbounds i8, ptr %11, i64 12
  %165 = load float, ptr %164, align 4, !tbaa !110
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %163, float noundef %165)
  call void @_ZN5ImGui12PushClipRectERK6ImVec2S2_b(ptr noundef nonnull align 4 dereferenceable(8) %13, ptr noundef nonnull align 4 dereferenceable(8) %14, i1 noundef zeroext true)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #9
  br label %166

166:                                              ; preds = %.thread, %152
  %167 = phi i1 [ true, %.thread ], [ false, %152 ]
  %168 = getelementptr inbounds i8, ptr %25, i64 240
  %169 = load i64, ptr %168, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #9
  %170 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %11)
  store <2 x float> %170, ptr %15, align 8
  %171 = getelementptr inbounds i8, ptr %23, i64 5540
  %172 = load float, ptr %171, align 4, !tbaa !111
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %15, float noundef %172)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #9
  store i64 %169, ptr %168, align 8
  %173 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %30, ptr noundef null)
  br i1 %173, label %177, label %174

174:                                              ; preds = %166
  br i1 %167, label %175, label %176

175:                                              ; preds = %174
  call void @_ZN5ImGui11PopClipRectEv()
  br label %176

176:                                              ; preds = %175, %174
  store i64 %136, ptr %135, align 8
  br label %284

177:                                              ; preds = %166
  %178 = getelementptr inbounds i8, ptr %23, i64 8116
  %179 = load i8, ptr %178, align 4, !tbaa !112, !range !19, !noundef !20
  %180 = trunc nuw i8 %179 to i1
  %spec.select195 = select i1 %180, i32 4624, i32 4112
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  %181 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %30, ptr noundef nonnull %16, ptr noundef nonnull %17, i32 noundef %spec.select195)
  br i1 %181, label %182, label %184

182:                                              ; preds = %177
  %183 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %183, align 8, !tbaa !98
  br label %184

184:                                              ; preds = %182, %177
  %185 = getelementptr inbounds i8, ptr %23, i64 6860
  %186 = load i32, ptr %185, align 4, !tbaa !113
  %187 = icmp eq i32 %186, %30
  %188 = load i8, ptr %16, align 1, !tbaa !80, !range !19, !noundef !20
  %189 = zext i1 %187 to i8
  %190 = or i8 %188, %189
  store i8 %190, ptr %16, align 1, !tbaa !80
  %191 = load i8, ptr %17, align 1, !tbaa !80, !range !19, !noundef !20
  %192 = trunc nuw i8 %191 to i1
  br i1 %192, label %194, label %193

193:                                              ; preds = %184
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  %.pre = load i8, ptr %17, align 1, !tbaa !80, !range !19
  %.pre205 = trunc nuw i8 %.pre to i1
  br label %194

194:                                              ; preds = %193, %184
  %.pre-phi = phi i1 [ %.pre205, %193 ], [ true, %184 ]
  %.not196 = xor i1 %.pre-phi, true
  %brmerge197 = select i1 %.not196, i1 true, i1 %70
  br i1 %brmerge197, label %220, label %195

195:                                              ; preds = %194
  %196 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %196, label %197, label %220

197:                                              ; preds = %195
  %198 = load i8, ptr %178, align 4, !tbaa !112, !range !19, !noundef !20
  %199 = trunc nuw i8 %198 to i1
  br i1 %199, label %220, label %200

200:                                              ; preds = %197
  %201 = load i32, ptr %64, align 8, !tbaa !91
  %202 = and i32 %201, 1
  %.not182 = icmp eq i32 %202, 0
  br i1 %.not182, label %220, label %203

203:                                              ; preds = %200
  %204 = getelementptr inbounds i8, ptr %23, i64 960
  %205 = load float, ptr %204, align 8, !tbaa !114
  %206 = fcmp olt float %205, 0.000000e+00
  br i1 %206, label %207, label %212

207:                                              ; preds = %203
  %208 = getelementptr inbounds i8, ptr %23, i64 304
  %209 = load float, ptr %208, align 8, !tbaa !115
  %210 = load float, ptr %11, align 4, !tbaa !105
  %211 = fcmp olt float %209, %210
  br i1 %211, label %.sink.split, label %212

212:                                              ; preds = %207, %203
  %213 = fcmp ogt float %205, 0.000000e+00
  br i1 %213, label %214, label %220

214:                                              ; preds = %212
  %215 = getelementptr inbounds i8, ptr %23, i64 304
  %216 = load float, ptr %215, align 8, !tbaa !115
  %217 = getelementptr inbounds i8, ptr %11, i64 8
  %218 = load float, ptr %217, align 4, !tbaa !107
  %219 = fcmp ogt float %216, %218
  br i1 %219, label %.sink.split, label %220

.sink.split:                                      ; preds = %214, %207
  %.sink = phi i32 [ -1, %207 ], [ 1, %214 ]
  call void @_ZN5ImGui18TabBarQueueReorderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef nonnull %0, ptr noundef nonnull %.0166, i32 noundef %.sink)
  br label %220

220:                                              ; preds = %.sink.split, %194, %197, %200, %212, %214, %195
  %221 = getelementptr inbounds i8, ptr %25, i64 720
  %222 = load ptr, ptr %221, align 8, !tbaa !116
  %223 = load i8, ptr %17, align 1, !tbaa !80, !range !19, !noundef !20
  %224 = trunc nuw i8 %223 to i1
  br i1 %224, label %233, label %225

225:                                              ; preds = %220
  %226 = load i8, ptr %16, align 1, !tbaa !80, !range !19, !noundef !20
  %227 = trunc nuw i8 %226 to i1
  br i1 %227, label %233, label %228

228:                                              ; preds = %225
  br i1 %.0168.shrunk, label %229, label %231

229:                                              ; preds = %228
  %230 = select i1 %.not176, i32 37, i32 35
  br label %233

231:                                              ; preds = %228
  %232 = select i1 %.not176, i32 36, i32 33
  br label %233

233:                                              ; preds = %229, %231, %220, %225
  %234 = phi i32 [ 34, %225 ], [ 34, %220 ], [ %230, %229 ], [ %232, %231 ]
  %235 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %234, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %222, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %.0164, i32 noundef %235)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %30, i32 noundef 1)
  %236 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  br i1 %236, label %237, label %243

237:                                              ; preds = %233
  %238 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %238, label %241, label %239

239:                                              ; preds = %237
  %240 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %240, label %241, label %243

241:                                              ; preds = %239, %237
  %242 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %242, align 8, !tbaa !98
  br label %243

243:                                              ; preds = %241, %239, %233
  %244 = load i32, ptr %64, align 8, !tbaa !91
  %245 = lshr i32 %244, 1
  %246 = and i32 %245, 4
  %spec.select198 = or i32 %246, %.0164
  br i1 %40, label %249, label %.thread202

.thread202:                                       ; preds = %243
  %247 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload203 = load <2 x float>, ptr %247, align 8
  %248 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %222, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select198, <2 x float> %.sroa.0.0.copyload203, ptr noundef %1, i32 noundef %30, i32 noundef 0, i1 noundef zeroext %.0168.shrunk)
  br label %257

249:                                              ; preds = %243
  %250 = zext i32 %30 to i64
  %251 = add nuw nsw i64 %250, 1
  %252 = inttoptr i64 %251 to ptr
  %253 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1044) %25, ptr noundef nonnull %252)
  %254 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload = load <2 x float>, ptr %254, align 8
  %255 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %222, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select198, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %30, i32 noundef %253, i1 noundef zeroext %.0168.shrunk)
  br i1 %255, label %256, label %257

256:                                              ; preds = %249
  store i8 0, ptr %.0163, align 1, !tbaa !80
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0166)
  br label %257

257:                                              ; preds = %.thread202, %256, %249
  br i1 %167, label %258, label %259

258:                                              ; preds = %257
  call void @_ZN5ImGui11PopClipRectEv()
  br label %259

259:                                              ; preds = %258, %257
  store i64 %136, ptr %135, align 8
  %260 = load i32, ptr %185, align 4, !tbaa !113
  %261 = icmp eq i32 %260, %30
  br i1 %261, label %262, label %283

262:                                              ; preds = %259
  %263 = load i8, ptr %17, align 1, !tbaa !80, !range !19, !noundef !20
  %264 = trunc nuw i8 %263 to i1
  br i1 %264, label %283, label %265

265:                                              ; preds = %262
  %266 = getelementptr inbounds i8, ptr %23, i64 6876
  %267 = load float, ptr %266, align 4, !tbaa !117
  %268 = fcmp ogt float %267, 5.000000e-01
  br i1 %268, label %269, label %283

269:                                              ; preds = %265
  %270 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %270, label %271, label %283

271:                                              ; preds = %269
  %272 = load i32, ptr %64, align 8, !tbaa !91
  %273 = and i32 %272, 32
  %.not185 = icmp eq i32 %273, 0
  br i1 %.not185, label %274, label %283

274:                                              ; preds = %271
  %275 = load i32, ptr %71, align 4, !tbaa !93
  %276 = and i32 %275, 16
  %.not186 = icmp eq i32 %276, 0
  br i1 %.not186, label %277, label %283

277:                                              ; preds = %274
  %278 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %279 = ptrtoint ptr %278 to i64
  %280 = ptrtoint ptr %1 to i64
  %281 = sub i64 %279, %280
  %282 = trunc i64 %281 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.165, i32 noundef %282, ptr noundef %1)
  br label %283

283:                                              ; preds = %271, %274, %277, %269, %265, %262, %259
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %17) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #9
  br label %284

284:                                              ; preds = %283, %176
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #9
  br label %285

285:                                              ; preds = %284, %125
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %286

286:                                              ; preds = %34, %285, %22
  %.3 = phi i1 [ false, %22 ], [ %.0168.shrunk, %285 ], [ false, %34 ]
  ret i1 %.3
}

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 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 #3 align 2

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

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

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

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { 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 #9 = { nounwind }
attributes #10 = { 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 98}
!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, !9, i64 97, !15, i64 98, !15, i64 99, !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 6800}
!23 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !24, i64 8, !26, i64 5480, !11, i64 6440, !14, i64 6448, !14, i64 6452, !27, i64 6456, !29, i64 6672, !8, i64 6680, !8, i64 6684, !8, i64 6688, !15, i64 6692, !15, i64 6693, !15, i64 6694, !15, i64 6695, !8, i64 6696, !11, i64 6704, !30, i64 6712, !30, i64 6728, !30, i64 6744, !30, i64 6760, !31, i64 6776, !8, i64 6792, !11, i64 6800, !11, i64 6808, !11, i64 6816, !11, i64 6824, !11, i64 6832, !11, i64 6840, !13, i64 6848, !14, i64 6856, !8, i64 6860, !8, i64 6864, !15, i64 6868, !15, i64 6869, !14, i64 6872, !14, i64 6876, !8, i64 6880, !8, i64 6884, !14, i64 6888, !15, i64 6892, !15, i64 6893, !15, i64 6894, !15, i64 6895, !15, i64 6896, !15, i64 6897, !8, i64 6900, !8, i64 6904, !33, i64 6912, !13, i64 6920, !11, i64 6928, !34, i64 6936, !8, i64 6940, !8, i64 6944, !15, i64 6948, !15, i64 6949, !11, i64 6952, !8, i64 6960, !14, i64 6964, !35, i64 6968, !36, i64 7080, !37, i64 7104, !38, i64 7120, !39, i64 7136, !40, i64 7152, !40, i64 7168, !11, i64 7184, !8, i64 7192, !8, i64 7196, !8, i64 7200, !8, i64 7204, !8, i64 7208, !8, i64 7212, !8, i64 7216, !8, i64 7220, !8, i64 7224, !8, i64 7228, !8, i64 7232, !34, i64 7236, !12, i64 7240, !8, i64 7256, !41, i64 7260, !8, i64 7264, !15, i64 7268, !15, i64 7269, !15, i64 7270, !15, i64 7271, !15, i64 7272, !15, i64 7273, !15, i64 7274, !8, i64 7276, !12, i64 7280, !15, i64 7296, !8, i64 7300, !42, i64 7304, !8, i64 7308, !8, i64 7312, !8, i64 7316, !8, i64 7320, !43, i64 7328, !43, i64 7376, !43, i64 7424, !11, i64 7472, !8, i64 7480, !11, i64 7488, !11, i64 7496, !11, i64 7504, !14, i64 7512, !14, i64 7516, !15, i64 7520, !11, i64 7528, !11, i64 7536, !8, i64 7544, !8, i64 7548, !8, i64 7552, !8, i64 7556, !15, i64 7560, !44, i64 7568, !45, i64 7624, !14, i64 7656, !46, i64 7664, !46, i64 7888, !8, i64 8112, !15, i64 8116, !15, i64 8117, !15, i64 8118, !8, i64 8120, !8, i64 8124, !8, i64 8128, !55, i64 8136, !12, i64 8200, !8, i64 8216, !8, i64 8220, !14, i64 8224, !8, i64 8228, !8, i64 8232, !8, i64 8236, !8, i64 8240, !56, i64 8248, !9, i64 8264, !11, i64 8280, !57, i64 8288, !59, i64 8328, !60, i64 8344, !13, i64 8360, !61, i64 8368, !64, i64 12096, !8, i64 12216, !8, i64 12220, !14, i64 12224, !14, i64 12228, !9, i64 12232, !28, i64 12244, !14, i64 12260, !15, i64 12264, !15, i64 12265, !14, i64 12268, !14, i64 12272, !14, i64 12276, !8, i64 12280, !18, i64 12288, !67, i64 12304, !13, i64 12320, !13, i64 12328, !9, i64 12336, !15, i64 12337, !14, i64 12340, !17, i64 12344, !68, i64 12360, !69, i64 12376, !15, i64 12392, !70, i64 12396, !11, i64 12400, !17, i64 12408, !14, i64 12424, !15, i64 12428, !8, i64 12432, !8, i64 12436, !8, i64 12440, !15, i64 12444, !8, i64 12448, !9, i64 12452, !8, i64 12932, !14, i64 12936, !8, i64 12940, !8, i64 12944, !8, i64 12948, !9, i64 12952}
!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, !14, i64 200, !11, i64 208, !11, i64 216, !11, i64 224, !11, i64 232, !11, i64 240, !11, i64 248, !11, i64 256, !11, i64 264, !11, i64 272, !11, i64 280, !11, i64 288, !13, i64 296, !9, i64 304, !14, i64 312, !14, i64 316, !15, i64 320, !15, i64 321, !15, i64 322, !15, i64 323, !9, i64 324, !9, i64 836, !15, i64 920, !15, i64 921, !15, i64 922, !15, i64 923, !15, i64 924, !15, i64 925, !15, i64 926, !14, i64 928, !8, i64 932, !8, i64 936, !8, i64 940, !8, i64 944, !8, i64 948, !13, i64 952, !8, i64 960, !13, i64 964, !9, i64 972, !9, i64 1016, !9, i64 1056, !9, i64 1061, !9, i64 1066, !9, i64 1071, !9, i64 1076, !9, i64 1084, !9, i64 1104, !9, i64 1124, !9, i64 1164, !9, i64 1184, !9, i64 3232, !9, i64 5280, !9, i64 5364, !14, i64 5448, !16, i64 5452, !25, i64 5456}
!25 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!26 = !{!"_ZTS10ImGuiStyle", !14, i64 0, !13, i64 4, !14, i64 12, !14, i64 16, !13, i64 20, !13, i64 28, !8, i64 36, !14, i64 40, !14, i64 44, !14, i64 48, !14, i64 52, !13, i64 56, !14, i64 64, !14, i64 68, !13, i64 72, !13, i64 80, !13, i64 88, !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}
!27 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !14, i64 24, !28, i64 28, !8, i64 44, !9, i64 48, !9, i64 144, !11, i64 208}
!28 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!29 = !{!"double", !9, i64 0}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !8, i64 0, !8, i64 4, !11, i64 8}
!31 = !{!"_ZTS12ImGuiStorage", !32, i64 0}
!32 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !11, i64 8}
!33 = !{!"long long", !9, i64 0}
!34 = !{!"_ZTS16ImGuiInputSource", !9, i64 0}
!35 = !{!"_ZTS19ImGuiNextWindowData", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !15, i64 56, !12, i64 60, !11, i64 80, !11, i64 88, !14, i64 96, !13, i64 100}
!36 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !14, i64 4, !8, i64 8, !8, i64 12, !15, i64 16}
!37 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !8, i64 0, !8, i64 4, !11, i64 8}
!38 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !8, i64 0, !8, i64 4, !11, i64 8}
!39 = !{!"_ZTS8ImVectorIP6ImFontE", !8, i64 0, !8, i64 4, !11, i64 8}
!40 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!41 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!42 = !{!"_ZTS15ImGuiNavForward", !9, i64 0}
!43 = !{!"_ZTS18ImGuiNavMoveResult", !11, i64 0, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !12, i64 28}
!44 = !{!"_ZTS10ImDrawData", !15, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !13, i64 28, !13, i64 36, !13, i64 44}
!45 = !{!"_ZTS17ImDrawDataBuilder", !9, i64 0}
!46 = !{!"_ZTS10ImDrawList", !47, i64 0, !25, i64 16, !48, i64 32, !8, i64 48, !11, i64 56, !11, i64 64, !8, i64 72, !11, i64 80, !11, i64 88, !49, i64 96, !50, i64 112, !51, i64 128, !52, i64 144, !53, i64 200}
!47 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!48 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!49 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!50 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!51 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!52 = !{!"_ZTS9ImDrawCmd", !28, i64 0, !11, i64 16, !8, i64 24, !8, i64 28, !8, i64 32, !11, i64 40, !11, i64 48}
!53 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !54, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!55 = !{!"_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}
!56 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !11, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !31, i64 16, !8, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !11, i64 8}
!59 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !11, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!61 = !{!"_ZTS19ImGuiInputTextState", !8, i64 0, !8, i64 4, !8, i64 8, !25, i64 16, !18, i64 32, !18, i64 48, !15, i64 64, !8, i64 68, !14, i64 72, !62, i64 76, !14, i64 3696, !15, i64 3700, !15, i64 3701, !15, i64 3702, !8, i64 3704, !11, i64 3712, !11, i64 3720}
!62 = !{!"_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, !63, i64 24}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !16, i64 3582, !16, i64 3584, !8, i64 3588, !8, i64 3592}
!64 = !{!"_ZTS6ImFont", !65, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !66, 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}
!65 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!66 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !11, i64 8}
!67 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!68 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !11, i64 8}
!69 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !18, i64 0}
!70 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!71 = !{!72, !15, i64 139}
!72 = !{!"_ZTS11ImGuiWindow", !11, i64 0, !8, i64 8, !8, i64 12, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !13, i64 56, !14, i64 64, !14, i64 68, !8, i64 72, !8, i64 76, !8, i64 80, !13, i64 84, !13, i64 92, !13, i64 100, !13, i64 108, !13, i64 116, !13, i64 124, !15, i64 132, !15, i64 133, !15, i64 134, !15, i64 135, !15, i64 136, !15, i64 137, !15, i64 138, !15, i64 139, !15, i64 140, !15, i64 141, !15, i64 142, !15, i64 143, !9, i64 144, !16, i64 146, !16, i64 148, !16, i64 150, !8, i64 152, !9, i64 156, !9, i64 157, !9, i64 158, !15, i64 159, !8, i64 160, !8, i64 164, !8, i64 168, !8, i64 172, !8, i64 176, !8, i64 180, !13, i64 184, !13, i64 192, !67, i64 200, !73, i64 216, !12, i64 544, !12, i64 560, !12, i64 576, !12, i64 592, !12, i64 608, !12, i64 624, !12, i64 640, !78, i64 656, !78, i64 660, !8, i64 664, !14, i64 668, !14, i64 672, !31, i64 680, !79, i64 696, !14, i64 712, !8, i64 716, !11, i64 720, !46, i64 728, !11, i64 952, !11, i64 960, !11, i64 968, !11, i64 976, !11, i64 984, !9, i64 992, !9, i64 1000, !15, i64 1032, !8, i64 1036, !8, i64 1040}
!73 = !{!"_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, !74, i64 56, !74, i64 60, !74, i64 64, !8, i64 68, !8, i64 72, !12, i64 76, !12, i64 92, !41, 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, !75, i64 140, !8, i64 176, !8, i64 180, !30, 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, !76, i64 248, !65, i64 264, !65, i64 280, !77, i64 296, !9, i64 312}
!74 = !{!"_ZTS6ImVec1", !14, i64 0}
!75 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !9, i64 12, !9, i64 24}
!76 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !11, i64 8}
!77 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!78 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!79 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!80 = !{!15, !15, i64 0}
!81 = !{!82, !8, i64 0}
!82 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !14, i64 16, !14, i64 20, !14, i64 24, !16, i64 28, !9, i64 30, !15, i64 31}
!83 = !{!13, !14, i64 0}
!84 = !{!82, !14, i64 20}
!85 = !{!6, !16, i64 100}
!86 = !{!82, !14, i64 24}
!87 = !{!6, !9, i64 97}
!88 = !{!82, !9, i64 30}
!89 = !{!6, !8, i64 36}
!90 = !{!23, !8, i64 6680}
!91 = !{!6, !8, i64 88}
!92 = !{!82, !8, i64 8}
!93 = !{!82, !8, i64 4}
!94 = !{!82, !16, i64 28}
!95 = !{!6, !14, i64 68}
!96 = !{!82, !14, i64 16}
!97 = !{!23, !14, i64 5560}
!98 = !{!6, !8, i64 24}
!99 = !{!6, !8, i64 20}
!100 = !{!6, !8, i64 28}
!101 = !{!6, !15, i64 99}
!102 = !{!6, !8, i64 0}
!103 = !{!82, !8, i64 12}
!104 = !{!6, !14, i64 72}
!105 = !{!12, !14, i64 0}
!106 = !{!6, !14, i64 40}
!107 = !{!12, !14, i64 8}
!108 = !{!6, !14, i64 48}
!109 = !{!12, !14, i64 4}
!110 = !{!12, !14, i64 12}
!111 = !{!26, !14, i64 60}
!112 = !{!23, !15, i64 8116}
!113 = !{!23, !8, i64 6860}
!114 = !{!23, !14, i64 960}
!115 = !{!23, !14, i64 304}
!116 = !{!72, !11, i64 720}
!117 = !{!23, !14, i64 6876}


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