; LLVM IR from vertver/Fresponze-old :: modules/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, i32, float, float, float }
%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, 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, 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, %struct.ImVec2, float, i32, i8, [3 x i8], i32, float, float, i32, i32, float, i8, i8, i8, i8, i8, [3 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, i8, [2 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [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, i8, [3 x i8], float, float, float, i32, %struct.ImVector.22, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, [3 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, 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, 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, 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, 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.ImVector.5 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.160 = 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(1012), 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 @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(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 19
  %48 = load i8, ptr %47, align 1, !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 27
  %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 26
  %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 %650

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 !80, !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 %649

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 !80
  %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 !81
  %111 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %112 = load float, ptr %111, align 4, !tbaa !83
  %113 = load ptr, ptr %17, align 8, !tbaa !5
  %114 = getelementptr inbounds %struct.ImGuiTabItem, ptr %113, i32 0, i32 6
  store float %112, ptr %114, align 4, !tbaa !84
  store i8 1, ptr %18, align 1, !tbaa !80
  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 21
  store i16 %120, ptr %122, align 4, !tbaa !85
  %123 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %124 = load float, ptr %123, align 4, !tbaa !83
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ImGuiTabItem, ptr %125, i32 0, i32 7
  store float %124, ptr %126, align 4, !tbaa !86
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #10
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiTabBar, ptr %127, i32 0, i32 6
  %129 = load i32, ptr %128, align 4, !tbaa !87
  %130 = add nsw i32 %129, 1
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.ImGuiContext, ptr %131, i32 0, i32 10
  %133 = load i32, ptr %132, align 8, !tbaa !88
  %134 = icmp slt i32 %130, %133
  %135 = zext i1 %134 to i8
  store i8 %135, ptr %20, align 1, !tbaa !80
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #10
  %136 = load ptr, ptr %6, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ImGuiTabBar, ptr %136, i32 0, i32 16
  %138 = load i32, ptr %137, align 8, !tbaa !89
  %139 = and i32 %138, 2097152
  %140 = icmp ne i32 %139, 0
  %141 = zext i1 %140 to i8
  store i8 %141, ptr %21, align 1, !tbaa !80
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  %142 = load ptr, ptr %17, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiTabItem, ptr %142, i32 0, i32 2
  %144 = load i32, ptr %143, align 4, !tbaa !90
  %145 = add nsw i32 %144, 1
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.ImGuiContext, ptr %146, i32 0, i32 10
  %148 = load i32, ptr %147, align 8, !tbaa !88
  %149 = icmp slt i32 %145, %148
  %150 = zext i1 %149 to i8
  store i8 %150, ptr %22, align 1, !tbaa !80
  %151 = load ptr, ptr %10, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.ImGuiContext, ptr %151, i32 0, i32 10
  %153 = load i32, ptr %152, align 8, !tbaa !88
  %154 = load ptr, ptr %17, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.ImGuiTabItem, ptr %154, i32 0, i32 2
  store i32 %153, ptr %155, align 4, !tbaa !90
  %156 = load i32, ptr %9, align 4, !tbaa !9
  %157 = load ptr, ptr %17, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.ImGuiTabItem, ptr %157, i32 0, i32 1
  store i32 %156, ptr %158, align 4, !tbaa !91
  %159 = load ptr, ptr %6, align 8, !tbaa !5
  %160 = getelementptr inbounds %struct.ImGuiTabBar, ptr %159, i32 0, i32 23
  %161 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %160)
  %162 = load ptr, ptr %17, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.ImGuiTabItem, ptr %162, i32 0, i32 4
  store i32 %161, ptr %163, align 4, !tbaa !92
  %164 = load ptr, ptr %6, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.ImGuiTabBar, ptr %164, i32 0, i32 23
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = load ptr, ptr %7, align 8, !tbaa !5
  %169 = call i64 @strlen(ptr noundef %168) #11
  %170 = getelementptr inbounds i8, ptr %167, i64 %169
  %171 = getelementptr inbounds i8, ptr %170, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %165, ptr noundef %166, ptr noundef %171)
  %172 = load i8, ptr %22, align 1, !tbaa !80, !range !21, !noundef !22
  %173 = trunc i8 %172 to i1
  br i1 %173, label %199, label %174

174:                                              ; preds = %115
  %175 = load ptr, ptr %6, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiTabBar, ptr %175, i32 0, i32 16
  %177 = load i32, ptr %176, align 8, !tbaa !89
  %178 = and i32 %177, 1
  %179 = icmp ne i32 %178, 0
  br i1 %179, label %199, label %180

180:                                              ; preds = %174
  %181 = load ptr, ptr %6, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.ImGuiTabBar, ptr %181, i32 0, i32 11
  %183 = load float, ptr %182, align 4, !tbaa !93
  %184 = load ptr, ptr %17, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.ImGuiTabItem, ptr %184, i32 0, i32 5
  store float %183, ptr %185, align 4, !tbaa !94
  %186 = load ptr, ptr %17, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiTabItem, ptr %186, i32 0, i32 6
  %188 = load float, ptr %187, align 4, !tbaa !84
  %189 = load ptr, ptr %10, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.ImGuiContext, ptr %189, i32 0, i32 4
  %191 = getelementptr inbounds %struct.ImGuiStyle, ptr %190, i32 0, i32 15
  %192 = getelementptr inbounds %struct.ImVec2, ptr %191, i32 0, i32 0
  %193 = load float, ptr %192, align 8, !tbaa !95
  %194 = fadd float %188, %193
  %195 = load ptr, ptr %6, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.ImGuiTabBar, ptr %195, i32 0, i32 11
  %197 = load float, ptr %196, align 4, !tbaa !93
  %198 = fadd float %197, %194
  store float %198, ptr %196, align 4, !tbaa !93
  br label %199

199:                                              ; preds = %180, %174, %115
  %200 = load i8, ptr %22, align 1, !tbaa !80, !range !21, !noundef !22
  %201 = trunc i8 %200 to i1
  br i1 %201, label %202, label %226

202:                                              ; preds = %199
  %203 = load ptr, ptr %6, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.ImGuiTabBar, ptr %203, i32 0, i32 16
  %205 = load i32, ptr %204, align 8, !tbaa !89
  %206 = and i32 %205, 2
  %207 = icmp ne i32 %206, 0
  br i1 %207, label %208, label %226

208:                                              ; preds = %202
  %209 = load ptr, ptr %6, align 8, !tbaa !5
  %210 = getelementptr inbounds %struct.ImGuiTabBar, ptr %209, i32 0, i32 3
  %211 = load i32, ptr %210, align 8, !tbaa !96
  %212 = icmp eq i32 %211, 0
  br i1 %212, label %213, label %226

213:                                              ; preds = %208
  %214 = load i8, ptr %20, align 1, !tbaa !80, !range !21, !noundef !22
  %215 = trunc i8 %214 to i1
  br i1 %215, label %216, label %221

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

221:                                              ; preds = %216, %213
  %222 = load i32, ptr %14, align 4, !tbaa !9
  %223 = load ptr, ptr %6, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.ImGuiTabBar, ptr %223, i32 0, i32 3
  store i32 %222, ptr %224, align 8, !tbaa !96
  br label %225

225:                                              ; preds = %221, %216
  br label %226

226:                                              ; preds = %225, %208, %202, %199
  %227 = load i32, ptr %9, align 4, !tbaa !9
  %228 = and i32 %227, 2
  %229 = icmp ne i32 %228, 0
  br i1 %229, label %230, label %240

230:                                              ; preds = %226
  %231 = load ptr, ptr %6, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.ImGuiTabBar, ptr %231, i32 0, i32 2
  %233 = load i32, ptr %232, align 4, !tbaa !97
  %234 = load i32, ptr %14, align 4, !tbaa !9
  %235 = icmp ne i32 %233, %234
  br i1 %235, label %236, label %240

236:                                              ; preds = %230
  %237 = load i32, ptr %14, align 4, !tbaa !9
  %238 = load ptr, ptr %6, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.ImGuiTabBar, ptr %238, i32 0, i32 3
  store i32 %237, ptr %239, align 8, !tbaa !96
  br label %240

240:                                              ; preds = %236, %230, %226
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #10
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiTabBar, ptr %241, i32 0, i32 4
  %243 = load i32, ptr %242, align 4, !tbaa !98
  %244 = load i32, ptr %14, align 4, !tbaa !9
  %245 = icmp eq i32 %243, %244
  %246 = zext i1 %245 to i8
  store i8 %246, ptr %23, align 1, !tbaa !80
  %247 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %248 = trunc i8 %247 to i1
  br i1 %248, label %249, label %252

249:                                              ; preds = %240
  %250 = load ptr, ptr %6, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.ImGuiTabBar, ptr %250, i32 0, i32 20
  store i8 1, ptr %251, align 2, !tbaa !99
  br label %252

252:                                              ; preds = %249, %240
  %253 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %254 = trunc i8 %253 to i1
  br i1 %254, label %277, label %255

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

260:                                              ; preds = %255
  %261 = load i8, ptr %20, align 1, !tbaa !80, !range !21, !noundef !22
  %262 = trunc i8 %261 to i1
  br i1 %262, label %263, label %277

263:                                              ; preds = %260
  %264 = load ptr, ptr %6, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.ImGuiTabBar, ptr %264, i32 0, i32 0
  %266 = getelementptr inbounds %struct.ImVector.26, ptr %265, i32 0, i32 0
  %267 = load i32, ptr %266, align 8, !tbaa !100
  %268 = icmp eq i32 %267, 1
  br i1 %268, label %269, label %276

269:                                              ; preds = %263
  %270 = load ptr, ptr %6, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.ImGuiTabBar, ptr %270, i32 0, i32 16
  %272 = load i32, ptr %271, align 8, !tbaa !89
  %273 = and i32 %272, 2
  %274 = icmp ne i32 %273, 0
  br i1 %274, label %276, label %275

275:                                              ; preds = %269
  store i8 1, ptr %23, align 1, !tbaa !80
  br label %276

276:                                              ; preds = %275, %269, %263
  br label %277

277:                                              ; preds = %276, %260, %255, %252
  %278 = load i8, ptr %22, align 1, !tbaa !80, !range !21, !noundef !22
  %279 = trunc i8 %278 to i1
  br i1 %279, label %280, label %291

280:                                              ; preds = %277
  %281 = load i8, ptr %20, align 1, !tbaa !80, !range !21, !noundef !22
  %282 = trunc i8 %281 to i1
  br i1 %282, label %283, label %286

283:                                              ; preds = %280
  %284 = load i8, ptr %18, align 1, !tbaa !80, !range !21, !noundef !22
  %285 = trunc i8 %284 to i1
  br i1 %285, label %286, label %291

286:                                              ; preds = %283, %280
  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)
  %287 = load i32, ptr %14, align 4, !tbaa !9
  %288 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %287, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #10
  call void @_ZN5ImGui11PopItemFlagEv()
  %289 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %290 = trunc i8 %289 to i1
  store i1 %290, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %648

291:                                              ; preds = %283, %277
  %292 = load ptr, ptr %6, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.ImGuiTabBar, ptr %292, i32 0, i32 2
  %294 = load i32, ptr %293, align 4, !tbaa !97
  %295 = load i32, ptr %14, align 4, !tbaa !9
  %296 = icmp eq i32 %294, %295
  br i1 %296, label %297, label %303

297:                                              ; preds = %291
  %298 = load ptr, ptr %10, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.ImGuiContext, ptr %298, i32 0, i32 10
  %300 = load i32, ptr %299, align 8, !tbaa !88
  %301 = load ptr, ptr %17, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.ImGuiTabItem, ptr %301, i32 0, i32 3
  store i32 %300, ptr %302, align 4, !tbaa !101
  br label %303

303:                                              ; preds = %297, %291
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %304 = load ptr, ptr %11, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.ImGuiWindow, ptr %304, i32 0, i32 50
  %306 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %305, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %306, i64 8, i1 false), !tbaa.struct !102
  %307 = load ptr, ptr %17, align 8, !tbaa !5
  %308 = getelementptr inbounds %struct.ImGuiTabItem, ptr %307, i32 0, i32 6
  %309 = load float, ptr %308, align 4, !tbaa !84
  %310 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %309, ptr %310, align 4, !tbaa !83
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %311 = load ptr, ptr %6, align 8, !tbaa !5
  %312 = getelementptr inbounds %struct.ImGuiTabBar, ptr %311, i32 0, i32 7
  %313 = getelementptr inbounds %struct.ImRect, ptr %312, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %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 !94
  %317 = load ptr, ptr %6, align 8, !tbaa !5
  %318 = getelementptr inbounds %struct.ImGuiTabBar, ptr %317, i32 0, i32 12
  %319 = load float, ptr %318, align 8, !tbaa !104
  %320 = fsub float %316, %319
  %321 = fptosi float %320 to i32
  %322 = sitofp i32 %321 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %322, float noundef 0.000000e+00)
  %323 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %313, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %323, ptr %26, align 4
  %324 = load ptr, ptr %11, align 8, !tbaa !5
  %325 = getelementptr inbounds %struct.ImGuiWindow, ptr %324, i32 0, i32 50
  %326 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %325, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %326, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !102
  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
  %327 = load ptr, ptr %11, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.ImGuiWindow, ptr %327, i32 0, i32 50
  %329 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %328, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %329, i64 8, i1 false), !tbaa.struct !102
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %330 = 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> %330, 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
  %331 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %332 = getelementptr inbounds %struct.ImVec2, ptr %331, i32 0, i32 0
  %333 = load float, ptr %332, align 4, !tbaa !105
  %334 = load ptr, ptr %6, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.ImGuiTabBar, ptr %334, i32 0, i32 7
  %336 = getelementptr inbounds %struct.ImRect, ptr %335, i32 0, i32 0
  %337 = getelementptr inbounds %struct.ImVec2, ptr %336, i32 0, i32 0
  %338 = load float, ptr %337, align 8, !tbaa !106
  %339 = fcmp olt float %333, %338
  br i1 %339, label %350, label %340

340:                                              ; preds = %303
  %341 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %342 = getelementptr inbounds %struct.ImVec2, ptr %341, i32 0, i32 0
  %343 = load float, ptr %342, align 4, !tbaa !107
  %344 = load ptr, ptr %6, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.ImGuiTabBar, ptr %344, i32 0, i32 7
  %346 = getelementptr inbounds %struct.ImRect, ptr %345, i32 0, i32 1
  %347 = getelementptr inbounds %struct.ImVec2, ptr %346, i32 0, i32 0
  %348 = load float, ptr %347, align 8, !tbaa !108
  %349 = fcmp ogt float %343, %348
  br label %350

350:                                              ; preds = %340, %303
  %351 = phi i1 [ true, %303 ], [ %349, %340 ]
  %352 = zext i1 %351 to i8
  store i8 %352, ptr %31, align 1, !tbaa !80
  %353 = load i8, ptr %31, align 1, !tbaa !80, !range !21, !noundef !22
  %354 = trunc i8 %353 to i1
  br i1 %354, label %355, label %377

355:                                              ; preds = %350
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %356 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %357 = getelementptr inbounds %struct.ImVec2, ptr %356, i32 0, i32 0
  %358 = load float, ptr %357, align 4, !tbaa !105
  %359 = load ptr, ptr %6, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.ImGuiTabBar, ptr %359, i32 0, i32 7
  %361 = getelementptr inbounds %struct.ImRect, ptr %360, i32 0, i32 0
  %362 = getelementptr inbounds %struct.ImVec2, ptr %361, i32 0, i32 0
  %363 = load float, ptr %362, align 8, !tbaa !106
  %364 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %358, float noundef %363)
  %365 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %366 = getelementptr inbounds %struct.ImVec2, ptr %365, i32 0, i32 1
  %367 = load float, ptr %366, align 4, !tbaa !109
  %368 = fsub float %367, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %364, float noundef %368)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %369 = load ptr, ptr %6, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiTabBar, ptr %369, i32 0, i32 7
  %371 = getelementptr inbounds %struct.ImRect, ptr %370, i32 0, i32 1
  %372 = getelementptr inbounds %struct.ImVec2, ptr %371, i32 0, i32 0
  %373 = load float, ptr %372, align 8, !tbaa !108
  %374 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %375 = getelementptr inbounds %struct.ImVec2, ptr %374, i32 0, i32 1
  %376 = load float, ptr %375, align 4, !tbaa !110
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %373, float noundef %376)
  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 %377

377:                                              ; preds = %355, %350
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %378 = load ptr, ptr %11, align 8, !tbaa !5
  %379 = getelementptr inbounds %struct.ImGuiWindow, ptr %378, i32 0, i32 50
  %380 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %379, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %380, i64 8, i1 false), !tbaa.struct !102
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %381 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  store <2 x float> %381, ptr %35, align 4
  %382 = load ptr, ptr %13, align 8, !tbaa !5
  %383 = getelementptr inbounds %struct.ImGuiStyle, ptr %382, i32 0, i32 11
  %384 = getelementptr inbounds %struct.ImVec2, ptr %383, i32 0, i32 1
  %385 = load float, ptr %384, align 4, !tbaa !111
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %385)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  %386 = load ptr, ptr %11, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.ImGuiWindow, ptr %386, i32 0, i32 50
  %388 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %387, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %388, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !102
  %389 = load i32, ptr %14, align 4, !tbaa !9
  %390 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %389, ptr noundef null)
  br i1 %390, label %401, label %391

391:                                              ; preds = %377
  %392 = load i8, ptr %31, align 1, !tbaa !80, !range !21, !noundef !22
  %393 = trunc i8 %392 to i1
  br i1 %393, label %394, label %395

394:                                              ; preds = %391
  call void @_ZN5ImGui11PopClipRectEv()
  br label %395

395:                                              ; preds = %394, %391
  %396 = load ptr, ptr %11, align 8, !tbaa !5
  %397 = getelementptr inbounds %struct.ImGuiWindow, ptr %396, i32 0, i32 50
  %398 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %397, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %398, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !102
  %399 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %400 = trunc i8 %399 to i1
  store i1 %400, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %647

401:                                              ; preds = %377
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  store i32 258, ptr %36, align 4, !tbaa !9
  %402 = load ptr, ptr %10, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.ImGuiContext, ptr %402, i32 0, i32 137
  %404 = load i8, ptr %403, align 4, !tbaa !112, !range !21, !noundef !22
  %405 = trunc i8 %404 to i1
  br i1 %405, label %406, label %409

406:                                              ; preds = %401
  %407 = load i32, ptr %36, align 4, !tbaa !9
  %408 = or i32 %407, 64
  store i32 %408, ptr %36, align 4, !tbaa !9
  br label %409

409:                                              ; preds = %406, %401
  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
  %410 = load i32, ptr %14, align 4, !tbaa !9
  %411 = load i32, ptr %36, align 4, !tbaa !9
  %412 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %410, ptr noundef %37, ptr noundef %38, i32 noundef %411)
  %413 = zext i1 %412 to i8
  store i8 %413, ptr %39, align 1, !tbaa !80
  %414 = load i8, ptr %39, align 1, !tbaa !80, !range !21, !noundef !22
  %415 = trunc i8 %414 to i1
  br i1 %415, label %416, label %420

416:                                              ; preds = %409
  %417 = load i32, ptr %14, align 4, !tbaa !9
  %418 = load ptr, ptr %6, align 8, !tbaa !5
  %419 = getelementptr inbounds %struct.ImGuiTabBar, ptr %418, i32 0, i32 3
  store i32 %417, ptr %419, align 8, !tbaa !96
  br label %420

420:                                              ; preds = %416, %409
  %421 = load ptr, ptr %10, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.ImGuiContext, ptr %421, i32 0, i32 34
  %423 = load i32, ptr %422, align 4, !tbaa !113
  %424 = load i32, ptr %14, align 4, !tbaa !9
  %425 = icmp eq i32 %423, %424
  %426 = zext i1 %425 to i32
  %427 = load i8, ptr %37, align 1, !tbaa !80, !range !21, !noundef !22
  %428 = trunc i8 %427 to i1
  %429 = zext i1 %428 to i32
  %430 = or i32 %429, %426
  %431 = icmp ne i32 %430, 0
  %432 = zext i1 %431 to i8
  store i8 %432, ptr %37, align 1, !tbaa !80
  %433 = load i8, ptr %38, align 1, !tbaa !80, !range !21, !noundef !22
  %434 = trunc i8 %433 to i1
  br i1 %434, label %436, label %435

435:                                              ; preds = %420
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %436

436:                                              ; preds = %435, %420
  %437 = load i8, ptr %38, align 1, !tbaa !80, !range !21, !noundef !22
  %438 = trunc i8 %437 to i1
  br i1 %438, label %439, label %512

439:                                              ; preds = %436
  %440 = load i8, ptr %22, align 1, !tbaa !80, !range !21, !noundef !22
  %441 = trunc i8 %440 to i1
  br i1 %441, label %512, label %442

442:                                              ; preds = %439
  %443 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %443, label %444, label %512

444:                                              ; preds = %442
  %445 = load ptr, ptr %10, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.ImGuiContext, ptr %445, i32 0, i32 137
  %447 = load i8, ptr %446, align 4, !tbaa !112, !range !21, !noundef !22
  %448 = trunc i8 %447 to i1
  br i1 %448, label %511, label %449

449:                                              ; preds = %444
  %450 = load ptr, ptr %6, align 8, !tbaa !5
  %451 = getelementptr inbounds %struct.ImGuiTabBar, ptr %450, i32 0, i32 16
  %452 = load i32, ptr %451, align 8, !tbaa !89
  %453 = and i32 %452, 1
  %454 = icmp ne i32 %453, 0
  br i1 %454, label %455, label %511

455:                                              ; preds = %449
  %456 = load ptr, ptr %10, align 8, !tbaa !5
  %457 = getelementptr inbounds %struct.ImGuiContext, ptr %456, i32 0, i32 3
  %458 = getelementptr inbounds %struct.ImGuiIO, ptr %457, i32 0, i32 59
  %459 = getelementptr inbounds %struct.ImVec2, ptr %458, i32 0, i32 0
  %460 = load float, ptr %459, align 8, !tbaa !114
  %461 = fcmp olt float %460, 0.000000e+00
  br i1 %461, label %462, label %482

462:                                              ; preds = %455
  %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 36
  %466 = getelementptr inbounds %struct.ImVec2, ptr %465, i32 0, i32 0
  %467 = load float, ptr %466, align 8, !tbaa !115
  %468 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %469 = getelementptr inbounds %struct.ImVec2, ptr %468, i32 0, i32 0
  %470 = load float, ptr %469, align 4, !tbaa !105
  %471 = fcmp olt float %467, %470
  br i1 %471, label %472, label %482

472:                                              ; preds = %462
  %473 = load ptr, ptr %6, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.ImGuiTabBar, ptr %473, i32 0, i32 16
  %475 = load i32, ptr %474, align 8, !tbaa !89
  %476 = and i32 %475, 1
  %477 = icmp ne i32 %476, 0
  br i1 %477, label %478, label %481

478:                                              ; preds = %472
  %479 = load ptr, ptr %6, align 8, !tbaa !5
  %480 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %479, ptr noundef %480, i32 noundef -1)
  br label %481

481:                                              ; preds = %478, %472
  br label %510

482:                                              ; preds = %462, %455
  %483 = load ptr, ptr %10, align 8, !tbaa !5
  %484 = getelementptr inbounds %struct.ImGuiContext, ptr %483, i32 0, i32 3
  %485 = getelementptr inbounds %struct.ImGuiIO, ptr %484, i32 0, i32 59
  %486 = getelementptr inbounds %struct.ImVec2, ptr %485, i32 0, i32 0
  %487 = load float, ptr %486, align 8, !tbaa !114
  %488 = fcmp ogt float %487, 0.000000e+00
  br i1 %488, label %489, label %509

489:                                              ; preds = %482
  %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 36
  %493 = getelementptr inbounds %struct.ImVec2, ptr %492, i32 0, i32 0
  %494 = load float, ptr %493, align 8, !tbaa !115
  %495 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %496 = getelementptr inbounds %struct.ImVec2, ptr %495, i32 0, i32 0
  %497 = load float, ptr %496, align 4, !tbaa !107
  %498 = fcmp ogt float %494, %497
  br i1 %498, label %499, label %509

499:                                              ; preds = %489
  %500 = load ptr, ptr %6, align 8, !tbaa !5
  %501 = getelementptr inbounds %struct.ImGuiTabBar, ptr %500, i32 0, i32 16
  %502 = load i32, ptr %501, align 8, !tbaa !89
  %503 = and i32 %502, 1
  %504 = icmp ne i32 %503, 0
  br i1 %504, label %505, label %508

505:                                              ; preds = %499
  %506 = load ptr, ptr %6, align 8, !tbaa !5
  %507 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %506, ptr noundef %507, i32 noundef 1)
  br label %508

508:                                              ; preds = %505, %499
  br label %509

509:                                              ; preds = %508, %489, %482
  br label %510

510:                                              ; preds = %509, %481
  br label %511

511:                                              ; preds = %510, %449, %444
  br label %512

512:                                              ; preds = %511, %442, %439, %436
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %513 = load ptr, ptr %11, align 8, !tbaa !5
  %514 = getelementptr inbounds %struct.ImGuiWindow, ptr %513, i32 0, i32 65
  %515 = load ptr, ptr %514, align 8, !tbaa !116
  store ptr %515, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %516 = load i8, ptr %38, align 1, !tbaa !80, !range !21, !noundef !22
  %517 = trunc i8 %516 to i1
  br i1 %517, label %521, label %518

518:                                              ; preds = %512
  %519 = load i8, ptr %37, align 1, !tbaa !80, !range !21, !noundef !22
  %520 = trunc i8 %519 to i1
  br i1 %520, label %521, label %522

521:                                              ; preds = %518, %512
  br label %537

522:                                              ; preds = %518
  %523 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %524 = trunc i8 %523 to i1
  br i1 %524, label %525, label %530

525:                                              ; preds = %522
  %526 = load i8, ptr %21, align 1, !tbaa !80, !range !21, !noundef !22
  %527 = trunc i8 %526 to i1
  %528 = zext i1 %527 to i64
  %529 = select i1 %527, i32 35, i32 37
  br label %535

530:                                              ; preds = %522
  %531 = load i8, ptr %21, align 1, !tbaa !80, !range !21, !noundef !22
  %532 = trunc i8 %531 to i1
  %533 = zext i1 %532 to i64
  %534 = select i1 %532, i32 33, i32 36
  br label %535

535:                                              ; preds = %530, %525
  %536 = phi i32 [ %529, %525 ], [ %534, %530 ]
  br label %537

537:                                              ; preds = %535, %521
  %538 = phi i32 [ 34, %521 ], [ %536, %535 ]
  %539 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %538, float noundef 1.000000e+00)
  store i32 %539, ptr %41, align 4, !tbaa !9
  %540 = load ptr, ptr %40, align 8, !tbaa !5
  %541 = load i32, ptr %9, align 4, !tbaa !9
  %542 = load i32, ptr %41, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %540, ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %541, i32 noundef %542)
  %543 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %543, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #10
  %544 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  %545 = zext i1 %544 to i8
  store i8 %545, ptr %42, align 1, !tbaa !80
  %546 = load i8, ptr %42, align 1, !tbaa !80, !range !21, !noundef !22
  %547 = trunc i8 %546 to i1
  br i1 %547, label %548, label %556

548:                                              ; preds = %537
  %549 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %549, label %552, label %550

550:                                              ; preds = %548
  %551 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %551, label %552, label %556

552:                                              ; preds = %550, %548
  %553 = load i32, ptr %14, align 4, !tbaa !9
  %554 = load ptr, ptr %6, align 8, !tbaa !5
  %555 = getelementptr inbounds %struct.ImGuiTabBar, ptr %554, i32 0, i32 3
  store i32 %553, ptr %555, align 8, !tbaa !96
  br label %556

556:                                              ; preds = %552, %550, %537
  %557 = load ptr, ptr %6, align 8, !tbaa !5
  %558 = getelementptr inbounds %struct.ImGuiTabBar, ptr %557, i32 0, i32 16
  %559 = load i32, ptr %558, align 8, !tbaa !89
  %560 = and i32 %559, 8
  %561 = icmp ne i32 %560, 0
  br i1 %561, label %562, label %565

562:                                              ; preds = %556
  %563 = load i32, ptr %9, align 4, !tbaa !9
  %564 = or i32 %563, 4
  store i32 %564, ptr %9, align 4, !tbaa !9
  br label %565

565:                                              ; preds = %562, %556
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %566 = load ptr, ptr %8, align 8, !tbaa !5
  %567 = icmp ne ptr %566, null
  br i1 %567, label %568, label %575

568:                                              ; preds = %565
  %569 = load ptr, ptr %11, align 8, !tbaa !5
  %570 = load i32, ptr %14, align 4, !tbaa !9
  %571 = zext i32 %570 to i64
  %572 = add nsw i64 %571, 1
  %573 = inttoptr i64 %572 to ptr
  %574 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1012) %569, ptr noundef %573)
  br label %576

575:                                              ; preds = %565
  br label %576

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

592:                                              ; preds = %576
  %593 = load ptr, ptr %8, align 8, !tbaa !5
  %594 = icmp ne ptr %593, null
  br i1 %594, label %595, label %599

595:                                              ; preds = %592
  %596 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %596, align 1, !tbaa !80
  %597 = load ptr, ptr %6, align 8, !tbaa !5
  %598 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %597, ptr noundef %598)
  br label %599

599:                                              ; preds = %595, %592, %576
  %600 = load i8, ptr %31, align 1, !tbaa !80, !range !21, !noundef !22
  %601 = trunc i8 %600 to i1
  br i1 %601, label %602, label %603

602:                                              ; preds = %599
  call void @_ZN5ImGui11PopClipRectEv()
  br label %603

603:                                              ; preds = %602, %599
  %604 = load ptr, ptr %11, align 8, !tbaa !5
  %605 = getelementptr inbounds %struct.ImGuiWindow, ptr %604, i32 0, i32 50
  %606 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %605, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %606, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !102
  %607 = load ptr, ptr %10, align 8, !tbaa !5
  %608 = getelementptr inbounds %struct.ImGuiContext, ptr %607, i32 0, i32 34
  %609 = load i32, ptr %608, align 4, !tbaa !113
  %610 = load i32, ptr %14, align 4, !tbaa !9
  %611 = icmp eq i32 %609, %610
  br i1 %611, label %612, label %644

612:                                              ; preds = %603
  %613 = load i8, ptr %38, align 1, !tbaa !80, !range !21, !noundef !22
  %614 = trunc i8 %613 to i1
  br i1 %614, label %644, label %615

615:                                              ; preds = %612
  %616 = load ptr, ptr %10, align 8, !tbaa !5
  %617 = getelementptr inbounds %struct.ImGuiContext, ptr %616, i32 0, i32 39
  %618 = load float, ptr %617, align 4, !tbaa !117
  %619 = fcmp ogt float %618, 5.000000e-01
  br i1 %619, label %620, label %644

620:                                              ; preds = %615
  %621 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %621, label %622, label %644

622:                                              ; preds = %620
  %623 = load ptr, ptr %6, align 8, !tbaa !5
  %624 = getelementptr inbounds %struct.ImGuiTabBar, ptr %623, i32 0, i32 16
  %625 = load i32, ptr %624, align 8, !tbaa !89
  %626 = and i32 %625, 32
  %627 = icmp ne i32 %626, 0
  br i1 %627, label %643, label %628

628:                                              ; preds = %622
  %629 = load ptr, ptr %17, align 8, !tbaa !5
  %630 = getelementptr inbounds %struct.ImGuiTabItem, ptr %629, i32 0, i32 1
  %631 = load i32, ptr %630, align 4, !tbaa !91
  %632 = and i32 %631, 16
  %633 = icmp ne i32 %632, 0
  br i1 %633, label %643, label %634

634:                                              ; preds = %628
  %635 = load ptr, ptr %7, align 8, !tbaa !5
  %636 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %635, ptr noundef null)
  %637 = load ptr, ptr %7, align 8, !tbaa !5
  %638 = ptrtoint ptr %636 to i64
  %639 = ptrtoint ptr %637 to i64
  %640 = sub i64 %638, %639
  %641 = trunc i64 %640 to i32
  %642 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.160, i32 noundef %641, ptr noundef %642)
  br label %643

643:                                              ; preds = %634, %628, %622
  br label %644

644:                                              ; preds = %643, %620, %615, %612, %603
  %645 = load i8, ptr %23, align 1, !tbaa !80, !range !21, !noundef !22
  %646 = trunc i8 %645 to i1
  store i1 %646, 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 %647

647:                                              ; preds = %644, %395
  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 %648

648:                                              ; preds = %647, %286
  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 %649

649:                                              ; preds = %648, %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 %650

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

; 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 97}
!12 = !{!"_ZTS11ImGuiTabBar", !13, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !14, i64 40, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !10, i64 88, !10, i64 92, !7, i64 96, !17, i64 97, !17, i64 98, !18, i64 100, !15, i64 104, !19, i64 112}
!13 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!14 = !{!"_ZTS6ImRect", !15, i64 0, !15, i64 8}
!15 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!16 = !{!"float", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"short", !7, i64 0}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !6, i64 6792}
!24 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !25, i64 8, !27, i64 5480, !6, i64 6432, !16, i64 6440, !16, i64 6444, !28, i64 6448, !30, i64 6664, !10, i64 6672, !10, i64 6676, !10, i64 6680, !17, i64 6684, !17, i64 6685, !17, i64 6686, !17, i64 6687, !10, i64 6688, !6, i64 6696, !31, i64 6704, !31, i64 6720, !31, i64 6736, !31, i64 6752, !32, i64 6768, !10, i64 6784, !6, i64 6792, !6, i64 6800, !6, i64 6808, !6, i64 6816, !6, i64 6824, !15, i64 6832, !16, i64 6840, !10, i64 6844, !17, i64 6848, !10, i64 6852, !16, i64 6856, !16, i64 6860, !10, i64 6864, !10, i64 6868, !16, i64 6872, !17, i64 6876, !17, i64 6877, !17, i64 6878, !17, i64 6879, !17, i64 6880, !10, i64 6884, !10, i64 6888, !34, i64 6896, !15, i64 6904, !6, i64 6912, !35, i64 6920, !10, i64 6924, !10, i64 6928, !17, i64 6932, !17, i64 6933, !6, i64 6936, !10, i64 6944, !16, i64 6948, !36, i64 6952, !37, i64 7064, !38, i64 7088, !39, i64 7104, !40, i64 7120, !41, i64 7136, !41, i64 7152, !6, i64 7168, !10, i64 7176, !10, i64 7180, !10, i64 7184, !10, i64 7188, !10, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !10, i64 7208, !10, i64 7212, !10, i64 7216, !35, i64 7220, !14, i64 7224, !10, i64 7240, !42, i64 7244, !10, i64 7248, !17, i64 7252, !17, i64 7253, !17, i64 7254, !17, i64 7255, !17, i64 7256, !17, i64 7257, !17, i64 7258, !10, i64 7260, !14, i64 7264, !17, i64 7280, !17, i64 7281, !10, i64 7284, !43, i64 7288, !10, i64 7292, !10, i64 7296, !10, i64 7300, !10, i64 7304, !44, i64 7312, !44, i64 7360, !44, i64 7408, !6, i64 7456, !10, i64 7464, !6, i64 7472, !6, i64 7480, !6, i64 7488, !16, i64 7496, !16, i64 7500, !17, i64 7504, !6, i64 7512, !6, i64 7520, !10, i64 7528, !10, i64 7532, !10, i64 7536, !10, i64 7540, !17, i64 7544, !45, i64 7552, !46, i64 7608, !16, i64 7640, !47, i64 7648, !47, i64 7872, !10, i64 8096, !17, i64 8100, !17, i64 8101, !17, i64 8102, !10, i64 8104, !10, i64 8108, !10, i64 8112, !56, i64 8120, !14, i64 8184, !10, i64 8200, !10, i64 8204, !16, i64 8208, !10, i64 8212, !10, i64 8216, !10, i64 8220, !10, i64 8224, !57, i64 8232, !7, i64 8248, !6, i64 8264, !58, i64 8272, !60, i64 8312, !61, i64 8328, !15, i64 8344, !62, i64 8352, !65, i64 12080, !10, i64 12200, !10, i64 12204, !16, i64 12208, !16, i64 12212, !7, i64 12216, !29, i64 12228, !17, i64 12244, !16, i64 12248, !16, i64 12252, !16, i64 12256, !10, i64 12260, !20, i64 12264, !68, i64 12280, !15, i64 12296, !15, i64 12304, !17, i64 12312, !16, i64 12316, !19, i64 12320, !69, i64 12336, !70, i64 12352, !17, i64 12368, !71, i64 12372, !6, i64 12376, !19, i64 12384, !16, i64 12400, !17, i64 12404, !10, i64 12408, !10, i64 12412, !10, i64 12416, !17, i64 12420, !10, i64 12424, !7, i64 12428, !10, i64 12908, !16, i64 12912, !10, i64 12916, !10, i64 12920, !10, i64 12924, !7, i64 12928}
!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, !10, i64 132, !15, i64 136, !15, i64 144, !15, i64 152, !15, i64 160, !16, i64 168, !17, i64 172, !17, i64 173, !17, i64 174, !16, i64 176, !16, i64 180, !7, i64 184}
!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, !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 131}
!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, !17, i64 124, !17, i64 125, !17, i64 126, !17, i64 127, !17, i64 128, !17, i64 129, !17, i64 130, !17, i64 131, !17, i64 132, !17, i64 133, !17, i64 134, !17, i64 135, !7, i64 136, !18, i64 138, !18, i64 140, !18, i64 142, !10, i64 144, !7, i64 148, !7, i64 149, !7, i64 150, !17, i64 151, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !15, i64 176, !15, i64 184, !68, i64 192, !74, i64 208, !14, i64 536, !14, i64 552, !14, i64 568, !14, i64 584, !14, i64 600, !14, i64 616, !10, i64 632, !16, i64 636, !16, i64 640, !32, i64 648, !79, i64 664, !16, i64 680, !10, i64 684, !6, i64 688, !47, i64 696, !6, i64 920, !6, i64 928, !6, i64 936, !6, i64 944, !6, i64 952, !7, i64 960, !7, i64 968, !17, i64 1000, !10, i64 1004, !10, i64 1008}
!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 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!80 = !{!17, !17, i64 0}
!81 = !{!82, !10, i64 0}
!82 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !16, i64 20, !16, i64 24, !16, i64 28}
!83 = !{!15, !16, i64 0}
!84 = !{!82, !16, i64 24}
!85 = !{!12, !18, i64 100}
!86 = !{!82, !16, i64 28}
!87 = !{!12, !10, i64 36}
!88 = !{!24, !10, i64 6672}
!89 = !{!12, !10, i64 88}
!90 = !{!82, !10, i64 8}
!91 = !{!82, !10, i64 4}
!92 = !{!82, !10, i64 16}
!93 = !{!12, !16, i64 68}
!94 = !{!82, !16, i64 20}
!95 = !{!24, !16, i64 5560}
!96 = !{!12, !10, i64 24}
!97 = !{!12, !10, i64 20}
!98 = !{!12, !10, i64 28}
!99 = !{!12, !17, i64 98}
!100 = !{!12, !10, i64 0}
!101 = !{!82, !10, i64 12}
!102 = !{i64 0, i64 4, !103, i64 4, i64 4, !103}
!103 = !{!16, !16, i64 0}
!104 = !{!12, !16, i64 72}
!105 = !{!14, !16, i64 0}
!106 = !{!12, !16, i64 40}
!107 = !{!14, !16, i64 8}
!108 = !{!12, !16, i64 48}
!109 = !{!14, !16, i64 4}
!110 = !{!14, !16, i64 12}
!111 = !{!27, !16, i64 60}
!112 = !{!24, !17, i64 8100}
!113 = !{!24, !10, i64 6844}
!114 = !{!24, !16, i64 960}
!115 = !{!24, !16, i64 304}
!116 = !{!73, !6, i64 688}
!117 = !{!24, !16, i64 6860}


; 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, i32, float, float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.160 = 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(1012), 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 @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(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 97
  %19 = load i8, ptr %18, align 1, !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 6792
  %25 = load ptr, ptr %24, align 8, !tbaa !22
  %26 = getelementptr inbounds i8, ptr %25, i64 131
  %27 = load i8, ptr %26, align 1, !tbaa !71, !range !19, !noundef !20
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %281, 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 !79, !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 %281

36:                                               ; preds = %31, %29
  %37 = and i32 %3, 1048576
  %.not173 = icmp eq i32 %37, 0
  %38 = or disjoint i32 %3, 1048576
  %39 = and i1 %.not, %.not173
  %.0162 = select i1 %39, i32 %38, i32 %3
  %.0161 = select i1 %.not173, ptr %2, ptr null
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %40 = icmp ne ptr %.0161, 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 !80
  %46 = load float, ptr %6, align 8, !tbaa !82
  %47 = getelementptr inbounds i8, ptr %45, i64 24
  store float %46, ptr %47, align 4, !tbaa !83
  br label %48

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

75:                                               ; preds = %48
  %76 = and i32 %74, 1
  %.not175 = icmp eq i32 %76, 0
  br i1 %.not175, label %77, label %98

77:                                               ; preds = %75
  %78 = getelementptr inbounds i8, ptr %0, i64 68
  %79 = load float, ptr %78, align 4, !tbaa !92
  %80 = getelementptr inbounds i8, ptr %.0164, i64 20
  store float %79, ptr %80, align 4, !tbaa !93
  %81 = getelementptr inbounds i8, ptr %.0164, i64 24
  %82 = load float, ptr %81, align 4, !tbaa !83
  %83 = getelementptr inbounds i8, ptr %23, i64 5560
  %84 = load float, ptr %83, align 8, !tbaa !94
  %85 = fadd float %82, %84
  %86 = fadd float %79, %85
  store float %86, ptr %78, align 4, !tbaa !92
  br label %98

.critedge:                                        ; preds = %48
  %87 = and i32 %74, 2
  %.not176 = icmp eq i32 %87, 0
  br i1 %.not176, label %98, label %88

88:                                               ; preds = %.critedge
  %89 = getelementptr inbounds i8, ptr %0, i64 24
  %90 = load i32, ptr %89, align 8, !tbaa !95
  %91 = icmp eq i32 %90, 0
  br i1 %91, label %92, label %98

92:                                               ; preds = %88
  br i1 %59, label %97, label %93

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

97:                                               ; preds = %93, %92
  store i32 %30, ptr %89, align 8, !tbaa !95
  br label %98

98:                                               ; preds = %75, %77, %93, %97, %88, %.critedge
  %99 = and i32 %.0162, 2
  %.not177 = icmp eq i32 %99, 0
  br i1 %.not177, label %105, label %100

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

103:                                              ; preds = %100
  %104 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %104, align 8, !tbaa !95
  br label %105

105:                                              ; preds = %103, %100, %98
  %106 = getelementptr inbounds i8, ptr %0, i64 28
  %107 = load i32, ptr %106, align 4, !tbaa !97
  %108 = icmp eq i32 %107, %30
  br i1 %108, label %109, label %.critedge187

109:                                              ; preds = %105
  %110 = getelementptr inbounds i8, ptr %0, i64 98
  store i8 1, ptr %110, align 2, !tbaa !98
  br label %119

.critedge187:                                     ; preds = %105
  %111 = getelementptr inbounds i8, ptr %0, i64 20
  %112 = load i32, ptr %111, align 4, !tbaa !96
  %113 = icmp ne i32 %112, 0
  %brmerge = select i1 %113, i1 true, i1 %59
  br i1 %brmerge, label %119, label %114

114:                                              ; preds = %.critedge187
  %115 = load i32, ptr %0, align 8, !tbaa !99
  %116 = icmp eq i32 %115, 1
  br i1 %116, label %117, label %119

117:                                              ; preds = %114
  %118 = and i32 %74, 2
  %.not179 = icmp eq i32 %118, 0
  br label %119

119:                                              ; preds = %117, %109, %.critedge187, %114
  %.0166.shrunk = phi i1 [ true, %109 ], [ false, %114 ], [ false, %.critedge187 ], [ %.not179, %117 ]
  %brmerge192 = or i1 %43, %59
  %or.cond197 = select i1 %66, i1 %brmerge192, i1 false
  br i1 %or.cond197, label %120, label %122

120:                                              ; preds = %119
  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)
  %121 = 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 %280

122:                                              ; preds = %119
  %123 = getelementptr inbounds i8, ptr %0, i64 20
  %124 = load i32, ptr %123, align 4, !tbaa !96
  %125 = icmp eq i32 %124, %30
  br i1 %125, label %126, label %129

126:                                              ; preds = %122
  %127 = load i32, ptr %57, align 8, !tbaa !87
  %128 = getelementptr inbounds i8, ptr %.0164, i64 12
  store i32 %127, ptr %128, align 4, !tbaa !100
  br label %129

129:                                              ; preds = %126, %122
  %130 = getelementptr inbounds i8, ptr %25, i64 208
  %131 = load i64, ptr %130, align 8
  %132 = getelementptr inbounds i8, ptr %.0164, i64 24
  %133 = load float, ptr %132, align 4, !tbaa !83
  store float %133, ptr %6, align 8, !tbaa !82
  %134 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #9
  %135 = getelementptr inbounds i8, ptr %.0164, i64 20
  %136 = load float, ptr %135, align 4, !tbaa !93
  %137 = getelementptr inbounds i8, ptr %0, i64 72
  %138 = load float, ptr %137, align 8, !tbaa !101
  %139 = fsub float %136, %138
  %140 = fptosi float %139 to i32
  %141 = sitofp i32 %140 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef %141, float noundef 0.000000e+00)
  %142 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %134, ptr noundef nonnull align 4 dereferenceable(8) %9)
  store <2 x float> %142, ptr %130, 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> %142, 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
  %143 = 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> %143, 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
  %144 = load float, ptr %11, align 4, !tbaa !102
  %145 = load float, ptr %134, align 8, !tbaa !103
  %146 = fcmp olt float %144, %145
  br i1 %146, label %.thread, label %147

147:                                              ; preds = %129
  %148 = getelementptr inbounds i8, ptr %11, i64 8
  %149 = load float, ptr %148, align 4, !tbaa !104
  %150 = getelementptr inbounds i8, ptr %0, i64 48
  %151 = load float, ptr %150, align 8, !tbaa !105
  %152 = fcmp ogt float %149, %151
  br i1 %152, label %.thread, label %161

.thread:                                          ; preds = %129, %147
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #9
  %153 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %144, float noundef %145)
  %154 = getelementptr inbounds i8, ptr %11, i64 4
  %155 = load float, ptr %154, align 4, !tbaa !106
  %156 = fadd float %155, -1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %13, float noundef %153, float noundef %156)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #9
  %157 = getelementptr inbounds i8, ptr %0, i64 48
  %158 = load float, ptr %157, align 8, !tbaa !105
  %159 = getelementptr inbounds i8, ptr %11, i64 12
  %160 = load float, ptr %159, align 4, !tbaa !107
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %14, float noundef %158, float noundef %160)
  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 %161

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

169:                                              ; preds = %161
  br i1 %162, label %170, label %171

170:                                              ; preds = %169
  call void @_ZN5ImGui11PopClipRectEv()
  br label %171

171:                                              ; preds = %170, %169
  store i64 %131, ptr %130, align 8
  br label %279

172:                                              ; preds = %161
  %173 = getelementptr inbounds i8, ptr %23, i64 8100
  %174 = load i8, ptr %173, align 4, !tbaa !109, !range !19, !noundef !20
  %175 = trunc nuw i8 %174 to i1
  %spec.select193 = select i1 %175, i32 322, i32 258
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  %176 = 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.select193)
  br i1 %176, label %177, label %179

177:                                              ; preds = %172
  %178 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %178, align 8, !tbaa !95
  br label %179

179:                                              ; preds = %177, %172
  %180 = getelementptr inbounds i8, ptr %23, i64 6844
  %181 = load i32, ptr %180, align 4, !tbaa !110
  %182 = icmp eq i32 %181, %30
  %183 = load i8, ptr %16, align 1, !tbaa !79, !range !19, !noundef !20
  %184 = zext i1 %182 to i8
  %185 = or i8 %183, %184
  store i8 %185, ptr %16, align 1, !tbaa !79
  %186 = load i8, ptr %17, align 1, !tbaa !79, !range !19, !noundef !20
  %187 = trunc nuw i8 %186 to i1
  br i1 %187, label %189, label %188

188:                                              ; preds = %179
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  %.pre = load i8, ptr %17, align 1, !tbaa !79, !range !19
  %.pre203 = trunc nuw i8 %.pre to i1
  br label %189

189:                                              ; preds = %188, %179
  %.pre-phi = phi i1 [ %.pre203, %188 ], [ true, %179 ]
  %.not194 = xor i1 %.pre-phi, true
  %brmerge195 = select i1 %.not194, i1 true, i1 %66
  br i1 %brmerge195, label %215, label %190

190:                                              ; preds = %189
  %191 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %191, label %192, label %215

192:                                              ; preds = %190
  %193 = load i8, ptr %173, align 4, !tbaa !109, !range !19, !noundef !20
  %194 = trunc nuw i8 %193 to i1
  br i1 %194, label %215, label %195

195:                                              ; preds = %192
  %196 = load i32, ptr %60, align 8, !tbaa !88
  %197 = and i32 %196, 1
  %.not180 = icmp eq i32 %197, 0
  br i1 %.not180, label %215, label %198

198:                                              ; preds = %195
  %199 = getelementptr inbounds i8, ptr %23, i64 960
  %200 = load float, ptr %199, align 8, !tbaa !111
  %201 = fcmp olt float %200, 0.000000e+00
  br i1 %201, label %202, label %207

202:                                              ; preds = %198
  %203 = getelementptr inbounds i8, ptr %23, i64 304
  %204 = load float, ptr %203, align 8, !tbaa !112
  %205 = load float, ptr %11, align 4, !tbaa !102
  %206 = fcmp olt float %204, %205
  br i1 %206, label %.sink.split, label %207

207:                                              ; preds = %202, %198
  %208 = fcmp ogt float %200, 0.000000e+00
  br i1 %208, label %209, label %215

209:                                              ; preds = %207
  %210 = getelementptr inbounds i8, ptr %23, i64 304
  %211 = load float, ptr %210, align 8, !tbaa !112
  %212 = getelementptr inbounds i8, ptr %11, i64 8
  %213 = load float, ptr %212, align 4, !tbaa !104
  %214 = fcmp ogt float %211, %213
  br i1 %214, label %.sink.split, label %215

.sink.split:                                      ; preds = %209, %202
  %.sink = phi i32 [ -1, %202 ], [ 1, %209 ]
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef nonnull %0, ptr noundef nonnull %.0164, i32 noundef %.sink)
  br label %215

215:                                              ; preds = %.sink.split, %189, %192, %195, %207, %209, %190
  %216 = getelementptr inbounds i8, ptr %25, i64 688
  %217 = load ptr, ptr %216, align 8, !tbaa !113
  %218 = load i8, ptr %17, align 1, !tbaa !79, !range !19, !noundef !20
  %219 = trunc nuw i8 %218 to i1
  br i1 %219, label %228, label %220

220:                                              ; preds = %215
  %221 = load i8, ptr %16, align 1, !tbaa !79, !range !19, !noundef !20
  %222 = trunc nuw i8 %221 to i1
  br i1 %222, label %228, label %223

223:                                              ; preds = %220
  br i1 %.0166.shrunk, label %224, label %226

224:                                              ; preds = %223
  %225 = select i1 %.not174, i32 37, i32 35
  br label %228

226:                                              ; preds = %223
  %227 = select i1 %.not174, i32 36, i32 33
  br label %228

228:                                              ; preds = %224, %226, %215, %220
  %229 = phi i32 [ 34, %220 ], [ 34, %215 ], [ %225, %224 ], [ %227, %226 ]
  %230 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %229, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %217, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %.0162, i32 noundef %230)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %30, i32 noundef 1)
  %231 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  br i1 %231, label %232, label %238

232:                                              ; preds = %228
  %233 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %233, label %236, label %234

234:                                              ; preds = %232
  %235 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %235, label %236, label %238

236:                                              ; preds = %234, %232
  %237 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %237, align 8, !tbaa !95
  br label %238

238:                                              ; preds = %236, %234, %228
  %239 = load i32, ptr %60, align 8, !tbaa !88
  %240 = lshr i32 %239, 1
  %241 = and i32 %240, 4
  %spec.select196 = or i32 %241, %.0162
  br i1 %40, label %244, label %.thread200

.thread200:                                       ; preds = %238
  %242 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload201 = load <2 x float>, ptr %242, align 8
  %243 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %217, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select196, <2 x float> %.sroa.0.0.copyload201, ptr noundef %1, i32 noundef %30, i32 noundef 0, i1 noundef zeroext %.0166.shrunk)
  br label %252

244:                                              ; preds = %238
  %245 = zext i32 %30 to i64
  %246 = add nuw nsw i64 %245, 1
  %247 = inttoptr i64 %246 to ptr
  %248 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(1012) %25, ptr noundef nonnull %247)
  %249 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload = load <2 x float>, ptr %249, align 8
  %250 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjjb(ptr noundef %217, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select196, <2 x float> %.sroa.0.0.copyload, ptr noundef %1, i32 noundef %30, i32 noundef %248, i1 noundef zeroext %.0166.shrunk)
  br i1 %250, label %251, label %252

251:                                              ; preds = %244
  store i8 0, ptr %.0161, align 1, !tbaa !79
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0164)
  br label %252

252:                                              ; preds = %.thread200, %251, %244
  br i1 %162, label %253, label %254

253:                                              ; preds = %252
  call void @_ZN5ImGui11PopClipRectEv()
  br label %254

254:                                              ; preds = %253, %252
  store i64 %131, ptr %130, align 8
  %255 = load i32, ptr %180, align 4, !tbaa !110
  %256 = icmp eq i32 %255, %30
  br i1 %256, label %257, label %278

257:                                              ; preds = %254
  %258 = load i8, ptr %17, align 1, !tbaa !79, !range !19, !noundef !20
  %259 = trunc nuw i8 %258 to i1
  br i1 %259, label %278, label %260

260:                                              ; preds = %257
  %261 = getelementptr inbounds i8, ptr %23, i64 6860
  %262 = load float, ptr %261, align 4, !tbaa !114
  %263 = fcmp ogt float %262, 5.000000e-01
  br i1 %263, label %264, label %278

264:                                              ; preds = %260
  %265 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %265, label %266, label %278

266:                                              ; preds = %264
  %267 = load i32, ptr %60, align 8, !tbaa !88
  %268 = and i32 %267, 32
  %.not183 = icmp eq i32 %268, 0
  br i1 %.not183, label %269, label %278

269:                                              ; preds = %266
  %270 = load i32, ptr %67, align 4, !tbaa !90
  %271 = and i32 %270, 16
  %.not184 = icmp eq i32 %271, 0
  br i1 %.not184, label %272, label %278

272:                                              ; preds = %269
  %273 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %274 = ptrtoint ptr %273 to i64
  %275 = ptrtoint ptr %1 to i64
  %276 = sub i64 %274, %275
  %277 = trunc i64 %276 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.160, i32 noundef %277, ptr noundef %1)
  br label %278

278:                                              ; preds = %266, %269, %272, %264, %260, %257, %254
  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 %279

279:                                              ; preds = %278, %171
  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 %280

280:                                              ; preds = %279, %120
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %281

281:                                              ; preds = %34, %280, %22
  %.3 = phi i1 [ false, %22 ], [ %.0166.shrunk, %280 ], [ 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 97}
!6 = !{!"_ZTS11ImGuiTabBar", !7, i64 0, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !12, i64 40, !14, i64 56, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !8, i64 88, !8, i64 92, !9, i64 96, !15, i64 97, !15, i64 98, !16, i64 100, !13, i64 104, !17, i64 112}
!7 = !{!"_ZTS8ImVectorI12ImGuiTabItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!8 = !{!"int", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"any pointer", !9, i64 0}
!12 = !{!"_ZTS6ImRect", !13, i64 0, !13, i64 8}
!13 = !{!"_ZTS6ImVec2", !14, i64 0, !14, i64 4}
!14 = !{!"float", !9, i64 0}
!15 = !{!"bool", !9, i64 0}
!16 = !{!"short", !9, i64 0}
!17 = !{!"_ZTS15ImGuiTextBuffer", !18, i64 0}
!18 = !{!"_ZTS8ImVectorIcE", !8, i64 0, !8, i64 4, !11, i64 8}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!11, !11, i64 0}
!22 = !{!23, !11, i64 6792}
!23 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !24, i64 8, !26, i64 5480, !11, i64 6432, !14, i64 6440, !14, i64 6444, !27, i64 6448, !29, i64 6664, !8, i64 6672, !8, i64 6676, !8, i64 6680, !15, i64 6684, !15, i64 6685, !15, i64 6686, !15, i64 6687, !8, i64 6688, !11, i64 6696, !30, i64 6704, !30, i64 6720, !30, i64 6736, !30, i64 6752, !31, i64 6768, !8, i64 6784, !11, i64 6792, !11, i64 6800, !11, i64 6808, !11, i64 6816, !11, i64 6824, !13, i64 6832, !14, i64 6840, !8, i64 6844, !15, i64 6848, !8, i64 6852, !14, i64 6856, !14, i64 6860, !8, i64 6864, !8, i64 6868, !14, i64 6872, !15, i64 6876, !15, i64 6877, !15, i64 6878, !15, i64 6879, !15, i64 6880, !8, i64 6884, !8, i64 6888, !33, i64 6896, !13, i64 6904, !11, i64 6912, !34, i64 6920, !8, i64 6924, !8, i64 6928, !15, i64 6932, !15, i64 6933, !11, i64 6936, !8, i64 6944, !14, i64 6948, !35, i64 6952, !36, i64 7064, !37, i64 7088, !38, i64 7104, !39, i64 7120, !40, i64 7136, !40, i64 7152, !11, i64 7168, !8, i64 7176, !8, i64 7180, !8, i64 7184, !8, i64 7188, !8, i64 7192, !8, i64 7196, !8, i64 7200, !8, i64 7204, !8, i64 7208, !8, i64 7212, !8, i64 7216, !34, i64 7220, !12, i64 7224, !8, i64 7240, !41, i64 7244, !8, i64 7248, !15, i64 7252, !15, i64 7253, !15, i64 7254, !15, i64 7255, !15, i64 7256, !15, i64 7257, !15, i64 7258, !8, i64 7260, !12, i64 7264, !15, i64 7280, !15, i64 7281, !8, i64 7284, !42, i64 7288, !8, i64 7292, !8, i64 7296, !8, i64 7300, !8, i64 7304, !43, i64 7312, !43, i64 7360, !43, i64 7408, !11, i64 7456, !8, i64 7464, !11, i64 7472, !11, i64 7480, !11, i64 7488, !14, i64 7496, !14, i64 7500, !15, i64 7504, !11, i64 7512, !11, i64 7520, !8, i64 7528, !8, i64 7532, !8, i64 7536, !8, i64 7540, !15, i64 7544, !44, i64 7552, !45, i64 7608, !14, i64 7640, !46, i64 7648, !46, i64 7872, !8, i64 8096, !15, i64 8100, !15, i64 8101, !15, i64 8102, !8, i64 8104, !8, i64 8108, !8, i64 8112, !55, i64 8120, !12, i64 8184, !8, i64 8200, !8, i64 8204, !14, i64 8208, !8, i64 8212, !8, i64 8216, !8, i64 8220, !8, i64 8224, !56, i64 8232, !9, i64 8248, !11, i64 8264, !57, i64 8272, !59, i64 8312, !60, i64 8328, !13, i64 8344, !61, i64 8352, !64, i64 12080, !8, i64 12200, !8, i64 12204, !14, i64 12208, !14, i64 12212, !9, i64 12216, !28, i64 12228, !15, i64 12244, !14, i64 12248, !14, i64 12252, !14, i64 12256, !8, i64 12260, !18, i64 12264, !67, i64 12280, !13, i64 12296, !13, i64 12304, !15, i64 12312, !14, i64 12316, !17, i64 12320, !68, i64 12336, !69, i64 12352, !15, i64 12368, !70, i64 12372, !11, i64 12376, !17, i64 12384, !14, i64 12400, !15, i64 12404, !8, i64 12408, !8, i64 12412, !8, i64 12416, !15, i64 12420, !8, i64 12424, !9, i64 12428, !8, i64 12908, !14, i64 12912, !8, i64 12916, !8, i64 12920, !8, i64 12924, !9, i64 12928}
!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, !8, i64 132, !13, i64 136, !13, i64 144, !13, i64 152, !13, i64 160, !14, i64 168, !15, i64 172, !15, i64 173, !15, i64 174, !14, i64 176, !14, i64 180, !9, i64 184}
!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, !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 131}
!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, !15, i64 124, !15, i64 125, !15, i64 126, !15, i64 127, !15, i64 128, !15, i64 129, !15, i64 130, !15, i64 131, !15, i64 132, !15, i64 133, !15, i64 134, !15, i64 135, !9, i64 136, !16, i64 138, !16, i64 140, !16, i64 142, !8, i64 144, !9, i64 148, !9, i64 149, !9, i64 150, !15, i64 151, !8, i64 152, !8, i64 156, !8, i64 160, !8, i64 164, !8, i64 168, !8, i64 172, !13, i64 176, !13, i64 184, !67, i64 192, !73, i64 208, !12, i64 536, !12, i64 552, !12, i64 568, !12, i64 584, !12, i64 600, !12, i64 616, !8, i64 632, !14, i64 636, !14, i64 640, !31, i64 648, !78, i64 664, !14, i64 680, !8, i64 684, !11, i64 688, !46, i64 696, !11, i64 920, !11, i64 928, !11, i64 936, !11, i64 944, !11, i64 952, !9, i64 960, !9, i64 968, !15, i64 1000, !8, i64 1004, !8, i64 1008}
!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 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!79 = !{!15, !15, i64 0}
!80 = !{!81, !8, i64 0}
!81 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !14, i64 20, !14, i64 24, !14, i64 28}
!82 = !{!13, !14, i64 0}
!83 = !{!81, !14, i64 24}
!84 = !{!6, !16, i64 100}
!85 = !{!81, !14, i64 28}
!86 = !{!6, !8, i64 36}
!87 = !{!23, !8, i64 6672}
!88 = !{!6, !8, i64 88}
!89 = !{!81, !8, i64 8}
!90 = !{!81, !8, i64 4}
!91 = !{!81, !8, i64 16}
!92 = !{!6, !14, i64 68}
!93 = !{!81, !14, i64 20}
!94 = !{!23, !14, i64 5560}
!95 = !{!6, !8, i64 24}
!96 = !{!6, !8, i64 20}
!97 = !{!6, !8, i64 28}
!98 = !{!6, !15, i64 98}
!99 = !{!6, !8, i64 0}
!100 = !{!81, !8, i64 12}
!101 = !{!6, !14, i64 72}
!102 = !{!12, !14, i64 0}
!103 = !{!6, !14, i64 40}
!104 = !{!12, !14, i64 8}
!105 = !{!6, !14, i64 48}
!106 = !{!12, !14, i64 4}
!107 = !{!12, !14, i64 12}
!108 = !{!26, !14, i64 60}
!109 = !{!23, !15, i64 8100}
!110 = !{!23, !8, i64 6844}
!111 = !{!23, !14, i64 960}
!112 = !{!23, !14, i64 304}
!113 = !{!72, !11, i64 688}
!114 = !{!23, !14, i64 6860}


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