; LLVM IR from Dragons-Lake/REI :: sources/REI_Integration/3rdParty/imgui (imgui_widgets)

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

%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTabItem = type { i32, i32, i32, i32, i32, float, float, float }
%struct.ImGuiTabBar = type { %struct.ImVector.27, 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.27 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImGuiContext = type <{ i8, i8, i8, i8, [4 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, [4 x i8], %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, i8, i8, [6 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, %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, %struct.ImRect, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [3 x i8], i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, i8, [2 x i8], i32, i32, i32, i32, i32, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, 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, [2 x i8], i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, %struct.ImVector.18, [8 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, [3 x float], %struct.ImVec4, i8, [3 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.22, i32, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], float, [4 x i8], %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImVector.25, 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, %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], %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, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [4 x i8] }>
%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, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type { i32, float, i8, i32 }
%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 <{ i32, i32, ptr, 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, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %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.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, [2 x i8], float, float, float, i32, i8, [7 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.24 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%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, i16, i16, i16, [2 x i8], 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, %struct.ImGuiMenuColumns, %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.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i8, i8, i8, %struct.ImVec2, %struct.ImVector.0, ptr, i32, i32, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.5 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.158 = 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(948), 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 23
  %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 !70, !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 %633

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 6
  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
  %68 = load ptr, ptr %8, align 8, !tbaa !5
  %69 = icmp ne ptr %68, null
  br i1 %69, label %70, label %77

70:                                               ; preds = %62
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = load i8, ptr %71, align 1, !tbaa !79, !range !21, !noundef !22
  %73 = trunc i8 %72 to i1
  br i1 %73, label %77, label %74

74:                                               ; preds = %70
  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)
  %75 = load i32, ptr %14, align 4, !tbaa !9
  %76 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %15, i32 noundef %75, 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 %632

77:                                               ; preds = %70, %62
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = load ptr, ptr %8, align 8, !tbaa !5
  %80 = icmp ne ptr %79, null
  %81 = call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %78, i1 noundef zeroext %80)
  store <2 x float> %81, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef %82, i32 noundef %83)
  store ptr %84, 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 !79
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = icmp eq ptr %85, null
  br i1 %86, label %87, label %100

87:                                               ; preds = %77
  %88 = load ptr, ptr %6, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiTabBar, ptr %88, 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) %89, ptr noundef nonnull align 4 dereferenceable(32) %19)
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #10
  %90 = load ptr, ptr %6, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiTabBar, ptr %90, i32 0, i32 0
  %92 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %91)
  store ptr %92, ptr %17, align 8, !tbaa !5
  %93 = load i32, ptr %14, align 4, !tbaa !9
  %94 = load ptr, ptr %17, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.ImGuiTabItem, ptr %94, i32 0, i32 0
  store i32 %93, ptr %95, align 4, !tbaa !80
  %96 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %97 = load float, ptr %96, align 4, !tbaa !82
  %98 = load ptr, ptr %17, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.ImGuiTabItem, ptr %98, i32 0, i32 6
  store float %97, ptr %99, align 4, !tbaa !83
  store i8 1, ptr %18, align 1, !tbaa !79
  br label %100

100:                                              ; preds = %87, %77
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.ImGuiTabBar, ptr %101, i32 0, i32 0
  %103 = load ptr, ptr %17, align 8, !tbaa !5
  %104 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %102, ptr noundef %103)
  %105 = trunc i32 %104 to i16
  %106 = load ptr, ptr %6, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ImGuiTabBar, ptr %106, i32 0, i32 21
  store i16 %105, ptr %107, align 4, !tbaa !84
  %108 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  %109 = load float, ptr %108, align 4, !tbaa !82
  %110 = load ptr, ptr %17, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ImGuiTabItem, ptr %110, i32 0, i32 7
  store float %109, ptr %111, align 4, !tbaa !85
  %112 = load ptr, ptr %8, align 8, !tbaa !5
  %113 = icmp eq ptr %112, null
  br i1 %113, label %114, label %117

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

117:                                              ; preds = %114, %100
  call void @llvm.lifetime.start.p0(i64 1, ptr %20) #10
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiTabBar, ptr %118, i32 0, i32 6
  %120 = load i32, ptr %119, align 4, !tbaa !86
  %121 = add nsw i32 %120, 1
  %122 = load ptr, ptr %10, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.ImGuiContext, ptr %122, i32 0, i32 12
  %124 = load i32, ptr %123, align 8, !tbaa !87
  %125 = icmp slt i32 %121, %124
  %126 = zext i1 %125 to i8
  store i8 %126, ptr %20, align 1, !tbaa !79
  call void @llvm.lifetime.start.p0(i64 1, ptr %21) #10
  %127 = load ptr, ptr %6, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.ImGuiTabBar, ptr %127, i32 0, i32 16
  %129 = load i32, ptr %128, align 8, !tbaa !88
  %130 = and i32 %129, 2097152
  %131 = icmp ne i32 %130, 0
  %132 = zext i1 %131 to i8
  store i8 %132, ptr %21, align 1, !tbaa !79
  call void @llvm.lifetime.start.p0(i64 1, ptr %22) #10
  %133 = load ptr, ptr %17, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.ImGuiTabItem, ptr %133, i32 0, i32 2
  %135 = load i32, ptr %134, align 4, !tbaa !89
  %136 = add nsw i32 %135, 1
  %137 = load ptr, ptr %10, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.ImGuiContext, ptr %137, i32 0, i32 12
  %139 = load i32, ptr %138, align 8, !tbaa !87
  %140 = icmp slt i32 %136, %139
  %141 = zext i1 %140 to i8
  store i8 %141, ptr %22, align 1, !tbaa !79
  %142 = load ptr, ptr %10, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.ImGuiContext, ptr %142, i32 0, i32 12
  %144 = load i32, ptr %143, align 8, !tbaa !87
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiTabItem, ptr %145, i32 0, i32 2
  store i32 %144, ptr %146, align 4, !tbaa !89
  %147 = load i32, ptr %9, align 4, !tbaa !9
  %148 = load ptr, ptr %17, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.ImGuiTabItem, ptr %148, i32 0, i32 1
  store i32 %147, ptr %149, align 4, !tbaa !90
  %150 = load ptr, ptr %6, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImGuiTabBar, ptr %150, i32 0, i32 23
  %152 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %151)
  %153 = load ptr, ptr %17, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.ImGuiTabItem, ptr %153, i32 0, i32 4
  store i32 %152, ptr %154, align 4, !tbaa !91
  %155 = load ptr, ptr %6, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.ImGuiTabBar, ptr %155, i32 0, i32 23
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = load ptr, ptr %7, align 8, !tbaa !5
  %159 = load ptr, ptr %7, align 8, !tbaa !5
  %160 = call i64 @strlen(ptr noundef %159) #11
  %161 = getelementptr inbounds i8, ptr %158, i64 %160
  %162 = getelementptr inbounds i8, ptr %161, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %156, ptr noundef %157, ptr noundef %162)
  %163 = load i8, ptr %22, align 1, !tbaa !79, !range !21, !noundef !22
  %164 = trunc i8 %163 to i1
  br i1 %164, label %190, label %165

165:                                              ; preds = %117
  %166 = load ptr, ptr %6, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.ImGuiTabBar, ptr %166, i32 0, i32 16
  %168 = load i32, ptr %167, align 8, !tbaa !88
  %169 = and i32 %168, 1
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %190, label %171

171:                                              ; preds = %165
  %172 = load ptr, ptr %6, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.ImGuiTabBar, ptr %172, i32 0, i32 11
  %174 = load float, ptr %173, align 4, !tbaa !92
  %175 = load ptr, ptr %17, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.ImGuiTabItem, ptr %175, i32 0, i32 5
  store float %174, ptr %176, align 4, !tbaa !93
  %177 = load ptr, ptr %17, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.ImGuiTabItem, ptr %177, i32 0, i32 6
  %179 = load float, ptr %178, align 4, !tbaa !83
  %180 = load ptr, ptr %10, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.ImGuiContext, ptr %180, i32 0, i32 6
  %182 = getelementptr inbounds %struct.ImGuiStyle, ptr %181, i32 0, i32 15
  %183 = getelementptr inbounds %struct.ImVec2, ptr %182, i32 0, i32 0
  %184 = load float, ptr %183, align 8, !tbaa !94
  %185 = fadd float %179, %184
  %186 = load ptr, ptr %6, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.ImGuiTabBar, ptr %186, i32 0, i32 11
  %188 = load float, ptr %187, align 4, !tbaa !92
  %189 = fadd float %188, %185
  store float %189, ptr %187, align 4, !tbaa !92
  br label %190

190:                                              ; preds = %171, %165, %117
  %191 = load i8, ptr %22, align 1, !tbaa !79, !range !21, !noundef !22
  %192 = trunc i8 %191 to i1
  br i1 %192, label %193, label %217

193:                                              ; preds = %190
  %194 = load ptr, ptr %6, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.ImGuiTabBar, ptr %194, i32 0, i32 16
  %196 = load i32, ptr %195, align 8, !tbaa !88
  %197 = and i32 %196, 2
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %217

199:                                              ; preds = %193
  %200 = load ptr, ptr %6, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.ImGuiTabBar, ptr %200, i32 0, i32 3
  %202 = load i32, ptr %201, align 8, !tbaa !95
  %203 = icmp eq i32 %202, 0
  br i1 %203, label %204, label %217

204:                                              ; preds = %199
  %205 = load i8, ptr %20, align 1, !tbaa !79, !range !21, !noundef !22
  %206 = trunc i8 %205 to i1
  br i1 %206, label %207, label %212

207:                                              ; preds = %204
  %208 = load ptr, ptr %6, align 8, !tbaa !5
  %209 = getelementptr inbounds %struct.ImGuiTabBar, ptr %208, i32 0, i32 2
  %210 = load i32, ptr %209, align 4, !tbaa !96
  %211 = icmp eq i32 %210, 0
  br i1 %211, label %212, label %216

212:                                              ; preds = %207, %204
  %213 = load i32, ptr %14, align 4, !tbaa !9
  %214 = load ptr, ptr %6, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.ImGuiTabBar, ptr %214, i32 0, i32 3
  store i32 %213, ptr %215, align 8, !tbaa !95
  br label %216

216:                                              ; preds = %212, %207
  br label %217

217:                                              ; preds = %216, %199, %193, %190
  %218 = load i32, ptr %9, align 4, !tbaa !9
  %219 = and i32 %218, 2
  %220 = icmp ne i32 %219, 0
  br i1 %220, label %221, label %231

221:                                              ; preds = %217
  %222 = load ptr, ptr %6, align 8, !tbaa !5
  %223 = getelementptr inbounds %struct.ImGuiTabBar, ptr %222, i32 0, i32 2
  %224 = load i32, ptr %223, align 4, !tbaa !96
  %225 = load i32, ptr %14, align 4, !tbaa !9
  %226 = icmp ne i32 %224, %225
  br i1 %226, label %227, label %231

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

231:                                              ; preds = %227, %221, %217
  call void @llvm.lifetime.start.p0(i64 1, ptr %23) #10
  %232 = load ptr, ptr %6, align 8, !tbaa !5
  %233 = getelementptr inbounds %struct.ImGuiTabBar, ptr %232, i32 0, i32 4
  %234 = load i32, ptr %233, align 4, !tbaa !97
  %235 = load i32, ptr %14, align 4, !tbaa !9
  %236 = icmp eq i32 %234, %235
  %237 = zext i1 %236 to i8
  store i8 %237, ptr %23, align 1, !tbaa !79
  %238 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %239 = trunc i8 %238 to i1
  br i1 %239, label %240, label %243

240:                                              ; preds = %231
  %241 = load ptr, ptr %6, align 8, !tbaa !5
  %242 = getelementptr inbounds %struct.ImGuiTabBar, ptr %241, i32 0, i32 20
  store i8 1, ptr %242, align 2, !tbaa !98
  br label %243

243:                                              ; preds = %240, %231
  %244 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %245 = trunc i8 %244 to i1
  br i1 %245, label %268, label %246

246:                                              ; preds = %243
  %247 = load ptr, ptr %6, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.ImGuiTabBar, ptr %247, i32 0, i32 2
  %249 = load i32, ptr %248, align 4, !tbaa !96
  %250 = icmp eq i32 %249, 0
  br i1 %250, label %251, label %268

251:                                              ; preds = %246
  %252 = load i8, ptr %20, align 1, !tbaa !79, !range !21, !noundef !22
  %253 = trunc i8 %252 to i1
  br i1 %253, label %254, label %268

254:                                              ; preds = %251
  %255 = load ptr, ptr %6, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.ImGuiTabBar, ptr %255, i32 0, i32 0
  %257 = getelementptr inbounds %struct.ImVector.27, ptr %256, i32 0, i32 0
  %258 = load i32, ptr %257, align 8, !tbaa !99
  %259 = icmp eq i32 %258, 1
  br i1 %259, label %260, label %267

260:                                              ; preds = %254
  %261 = load ptr, ptr %6, align 8, !tbaa !5
  %262 = getelementptr inbounds %struct.ImGuiTabBar, ptr %261, i32 0, i32 16
  %263 = load i32, ptr %262, align 8, !tbaa !88
  %264 = and i32 %263, 2
  %265 = icmp ne i32 %264, 0
  br i1 %265, label %267, label %266

266:                                              ; preds = %260
  store i8 1, ptr %23, align 1, !tbaa !79
  br label %267

267:                                              ; preds = %266, %260, %254
  br label %268

268:                                              ; preds = %267, %251, %246, %243
  %269 = load i8, ptr %22, align 1, !tbaa !79, !range !21, !noundef !22
  %270 = trunc i8 %269 to i1
  br i1 %270, label %271, label %282

271:                                              ; preds = %268
  %272 = load i8, ptr %20, align 1, !tbaa !79, !range !21, !noundef !22
  %273 = trunc i8 %272 to i1
  br i1 %273, label %274, label %277

274:                                              ; preds = %271
  %275 = load i8, ptr %18, align 1, !tbaa !79, !range !21, !noundef !22
  %276 = trunc i8 %275 to i1
  br i1 %276, label %277, label %282

277:                                              ; preds = %274, %271
  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)
  %278 = load i32, ptr %14, align 4, !tbaa !9
  %279 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %24, i32 noundef %278, ptr noundef null)
  call void @llvm.lifetime.end.p0(i64 16, ptr %24) #10
  call void @_ZN5ImGui11PopItemFlagEv()
  %280 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %281 = trunc i8 %280 to i1
  store i1 %281, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %631

282:                                              ; preds = %274, %268
  %283 = load ptr, ptr %6, align 8, !tbaa !5
  %284 = getelementptr inbounds %struct.ImGuiTabBar, ptr %283, i32 0, i32 2
  %285 = load i32, ptr %284, align 4, !tbaa !96
  %286 = load i32, ptr %14, align 4, !tbaa !9
  %287 = icmp eq i32 %285, %286
  br i1 %287, label %288, label %294

288:                                              ; preds = %282
  %289 = load ptr, ptr %10, align 8, !tbaa !5
  %290 = getelementptr inbounds %struct.ImGuiContext, ptr %289, i32 0, i32 12
  %291 = load i32, ptr %290, align 8, !tbaa !87
  %292 = load ptr, ptr %17, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.ImGuiTabItem, ptr %292, i32 0, i32 3
  store i32 %291, ptr %293, align 4, !tbaa !100
  br label %294

294:                                              ; preds = %288, %282
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #10
  %295 = load ptr, ptr %11, align 8, !tbaa !5
  %296 = getelementptr inbounds %struct.ImGuiWindow, ptr %295, i32 0, i32 49
  %297 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %296, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 8 %297, i64 8, i1 false), !tbaa.struct !101
  %298 = load ptr, ptr %17, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.ImGuiTabItem, ptr %298, i32 0, i32 6
  %300 = load float, ptr %299, align 4, !tbaa !83
  %301 = getelementptr inbounds %struct.ImVec2, ptr %16, i32 0, i32 0
  store float %300, ptr %301, align 4, !tbaa !82
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #10
  %302 = load ptr, ptr %6, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.ImGuiTabBar, ptr %302, i32 0, i32 7
  %304 = getelementptr inbounds %struct.ImRect, ptr %303, i32 0, i32 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #10
  %305 = load ptr, ptr %17, align 8, !tbaa !5
  %306 = getelementptr inbounds %struct.ImGuiTabItem, ptr %305, i32 0, i32 5
  %307 = load float, ptr %306, align 4, !tbaa !93
  %308 = load ptr, ptr %6, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.ImGuiTabBar, ptr %308, i32 0, i32 12
  %310 = load float, ptr %309, align 8, !tbaa !103
  %311 = fsub float %307, %310
  %312 = fptosi float %311 to i32
  %313 = sitofp i32 %312 to float
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %27, float noundef %313, float noundef 0.000000e+00)
  %314 = call <2 x float> @_ZplRK6ImVec2S1_(ptr noundef nonnull align 4 dereferenceable(8) %304, ptr noundef nonnull align 4 dereferenceable(8) %27)
  store <2 x float> %314, ptr %26, align 4
  %315 = load ptr, ptr %11, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.ImGuiWindow, ptr %315, i32 0, i32 49
  %317 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %316, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %317, ptr align 4 %26, i64 8, i1 false), !tbaa.struct !101
  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
  %318 = load ptr, ptr %11, align 8, !tbaa !5
  %319 = getelementptr inbounds %struct.ImGuiWindow, ptr %318, i32 0, i32 49
  %320 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %319, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 8 %320, i64 8, i1 false), !tbaa.struct !101
  call void @llvm.lifetime.start.p0(i64 16, ptr %29) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #10
  %321 = 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> %321, 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
  %322 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %323 = getelementptr inbounds %struct.ImVec2, ptr %322, i32 0, i32 0
  %324 = load float, ptr %323, align 4, !tbaa !104
  %325 = load ptr, ptr %6, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.ImGuiTabBar, ptr %325, i32 0, i32 7
  %327 = getelementptr inbounds %struct.ImRect, ptr %326, i32 0, i32 0
  %328 = getelementptr inbounds %struct.ImVec2, ptr %327, i32 0, i32 0
  %329 = load float, ptr %328, align 8, !tbaa !105
  %330 = fcmp olt float %324, %329
  br i1 %330, label %341, label %331

331:                                              ; preds = %294
  %332 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %333 = getelementptr inbounds %struct.ImVec2, ptr %332, i32 0, i32 0
  %334 = load float, ptr %333, align 4, !tbaa !106
  %335 = load ptr, ptr %6, align 8, !tbaa !5
  %336 = getelementptr inbounds %struct.ImGuiTabBar, ptr %335, i32 0, i32 7
  %337 = getelementptr inbounds %struct.ImRect, ptr %336, i32 0, i32 1
  %338 = getelementptr inbounds %struct.ImVec2, ptr %337, i32 0, i32 0
  %339 = load float, ptr %338, align 8, !tbaa !107
  %340 = fcmp ogt float %334, %339
  br label %341

341:                                              ; preds = %331, %294
  %342 = phi i1 [ true, %294 ], [ %340, %331 ]
  %343 = zext i1 %342 to i8
  store i8 %343, ptr %31, align 1, !tbaa !79
  %344 = load i8, ptr %31, align 1, !tbaa !79, !range !21, !noundef !22
  %345 = trunc i8 %344 to i1
  br i1 %345, label %346, label %368

346:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #10
  %347 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %348 = getelementptr inbounds %struct.ImVec2, ptr %347, i32 0, i32 0
  %349 = load float, ptr %348, align 4, !tbaa !104
  %350 = load ptr, ptr %6, align 8, !tbaa !5
  %351 = getelementptr inbounds %struct.ImGuiTabBar, ptr %350, i32 0, i32 7
  %352 = getelementptr inbounds %struct.ImRect, ptr %351, i32 0, i32 0
  %353 = getelementptr inbounds %struct.ImVec2, ptr %352, i32 0, i32 0
  %354 = load float, ptr %353, align 8, !tbaa !105
  %355 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %349, float noundef %354)
  %356 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %357 = getelementptr inbounds %struct.ImVec2, ptr %356, i32 0, i32 1
  %358 = load float, ptr %357, align 4, !tbaa !108
  %359 = fsub float %358, 1.000000e+00
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %32, float noundef %355, float noundef %359)
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #10
  %360 = load ptr, ptr %6, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.ImGuiTabBar, ptr %360, i32 0, i32 7
  %362 = getelementptr inbounds %struct.ImRect, ptr %361, i32 0, i32 1
  %363 = getelementptr inbounds %struct.ImVec2, ptr %362, i32 0, i32 0
  %364 = load float, ptr %363, align 8, !tbaa !107
  %365 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %366 = getelementptr inbounds %struct.ImVec2, ptr %365, i32 0, i32 1
  %367 = load float, ptr %366, align 4, !tbaa !109
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %33, float noundef %364, float noundef %367)
  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 %368

368:                                              ; preds = %346, %341
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #10
  %369 = load ptr, ptr %11, align 8, !tbaa !5
  %370 = getelementptr inbounds %struct.ImGuiWindow, ptr %369, i32 0, i32 49
  %371 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %370, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 8 %371, i64 8, i1 false), !tbaa.struct !101
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #10
  %372 = call <2 x float> @_ZNK6ImRect7GetSizeEv(ptr noundef nonnull align 4 dereferenceable(16) %29)
  store <2 x float> %372, ptr %35, align 4
  %373 = load ptr, ptr %13, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.ImGuiStyle, ptr %373, i32 0, i32 11
  %375 = getelementptr inbounds %struct.ImVec2, ptr %374, i32 0, i32 1
  %376 = load float, ptr %375, align 4, !tbaa !110
  call void @_ZN5ImGui8ItemSizeERK6ImVec2f(ptr noundef nonnull align 4 dereferenceable(8) %35, float noundef %376)
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #10
  %377 = load ptr, ptr %11, align 8, !tbaa !5
  %378 = getelementptr inbounds %struct.ImGuiWindow, ptr %377, i32 0, i32 49
  %379 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %378, i32 0, i32 3
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %379, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !101
  %380 = load i32, ptr %14, align 4, !tbaa !9
  %381 = call noundef zeroext i1 @_ZN5ImGui7ItemAddERK6ImRectjPS1_(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %380, ptr noundef null)
  br i1 %381, label %392, label %382

382:                                              ; preds = %368
  %383 = load i8, ptr %31, align 1, !tbaa !79, !range !21, !noundef !22
  %384 = trunc i8 %383 to i1
  br i1 %384, label %385, label %386

385:                                              ; preds = %382
  call void @_ZN5ImGui11PopClipRectEv()
  br label %386

386:                                              ; preds = %385, %382
  %387 = load ptr, ptr %11, align 8, !tbaa !5
  %388 = getelementptr inbounds %struct.ImGuiWindow, ptr %387, i32 0, i32 49
  %389 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %388, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %389, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !101
  %390 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %391 = trunc i8 %390 to i1
  store i1 %391, ptr %5, align 1
  store i32 1, ptr %12, align 4
  br label %630

392:                                              ; preds = %368
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  store i32 68, ptr %36, align 4, !tbaa !9
  %393 = load ptr, ptr %10, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.ImGuiContext, ptr %393, i32 0, i32 125
  %395 = load i8, ptr %394, align 4, !tbaa !111, !range !21, !noundef !22
  %396 = trunc i8 %395 to i1
  br i1 %396, label %397, label %400

397:                                              ; preds = %392
  %398 = load i32, ptr %36, align 4, !tbaa !9
  %399 = or i32 %398, 4096
  store i32 %399, ptr %36, align 4, !tbaa !9
  br label %400

400:                                              ; preds = %397, %392
  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
  %401 = load i32, ptr %14, align 4, !tbaa !9
  %402 = load i32, ptr %36, align 4, !tbaa !9
  %403 = call noundef zeroext i1 @_ZN5ImGui14ButtonBehaviorERK6ImRectjPbS3_i(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %401, ptr noundef %37, ptr noundef %38, i32 noundef %402)
  %404 = zext i1 %403 to i8
  store i8 %404, ptr %39, align 1, !tbaa !79
  %405 = load i8, ptr %39, align 1, !tbaa !79, !range !21, !noundef !22
  %406 = trunc i8 %405 to i1
  br i1 %406, label %407, label %411

407:                                              ; preds = %400
  %408 = load i32, ptr %14, align 4, !tbaa !9
  %409 = load ptr, ptr %6, align 8, !tbaa !5
  %410 = getelementptr inbounds %struct.ImGuiTabBar, ptr %409, i32 0, i32 3
  store i32 %408, ptr %410, align 8, !tbaa !95
  br label %411

411:                                              ; preds = %407, %400
  %412 = load ptr, ptr %10, align 8, !tbaa !5
  %413 = getelementptr inbounds %struct.ImGuiContext, ptr %412, i32 0, i32 30
  %414 = load i32, ptr %413, align 4, !tbaa !112
  %415 = load i32, ptr %14, align 4, !tbaa !9
  %416 = icmp eq i32 %414, %415
  %417 = zext i1 %416 to i32
  %418 = load i8, ptr %37, align 1, !tbaa !79, !range !21, !noundef !22
  %419 = trunc i8 %418 to i1
  %420 = zext i1 %419 to i32
  %421 = or i32 %420, %417
  %422 = icmp ne i32 %421, 0
  %423 = zext i1 %422 to i8
  store i8 %423, ptr %37, align 1, !tbaa !79
  %424 = load i8, ptr %38, align 1, !tbaa !79, !range !21, !noundef !22
  %425 = trunc i8 %424 to i1
  br i1 %425, label %427, label %426

426:                                              ; preds = %411
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  br label %427

427:                                              ; preds = %426, %411
  %428 = load i8, ptr %38, align 1, !tbaa !79, !range !21, !noundef !22
  %429 = trunc i8 %428 to i1
  br i1 %429, label %430, label %503

430:                                              ; preds = %427
  %431 = load i8, ptr %22, align 1, !tbaa !79, !range !21, !noundef !22
  %432 = trunc i8 %431 to i1
  br i1 %432, label %503, label %433

433:                                              ; preds = %430
  %434 = call noundef zeroext i1 @_ZN5ImGui15IsMouseDraggingEif(i32 noundef 0, float noundef -1.000000e+00)
  br i1 %434, label %435, label %503

435:                                              ; preds = %433
  %436 = load ptr, ptr %10, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.ImGuiContext, ptr %436, i32 0, i32 125
  %438 = load i8, ptr %437, align 4, !tbaa !111, !range !21, !noundef !22
  %439 = trunc i8 %438 to i1
  br i1 %439, label %502, label %440

440:                                              ; preds = %435
  %441 = load ptr, ptr %6, align 8, !tbaa !5
  %442 = getelementptr inbounds %struct.ImGuiTabBar, ptr %441, i32 0, i32 16
  %443 = load i32, ptr %442, align 8, !tbaa !88
  %444 = and i32 %443, 1
  %445 = icmp ne i32 %444, 0
  br i1 %445, label %446, label %502

446:                                              ; preds = %440
  %447 = load ptr, ptr %10, align 8, !tbaa !5
  %448 = getelementptr inbounds %struct.ImGuiContext, ptr %447, i32 0, i32 5
  %449 = getelementptr inbounds %struct.ImGuiIO, ptr %448, i32 0, i32 59
  %450 = getelementptr inbounds %struct.ImVec2, ptr %449, i32 0, i32 0
  %451 = load float, ptr %450, align 8, !tbaa !113
  %452 = fcmp olt float %451, 0.000000e+00
  br i1 %452, label %453, label %473

453:                                              ; preds = %446
  %454 = load ptr, ptr %10, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.ImGuiContext, ptr %454, i32 0, i32 5
  %456 = getelementptr inbounds %struct.ImGuiIO, ptr %455, i32 0, i32 36
  %457 = getelementptr inbounds %struct.ImVec2, ptr %456, i32 0, i32 0
  %458 = load float, ptr %457, align 8, !tbaa !114
  %459 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 0
  %460 = getelementptr inbounds %struct.ImVec2, ptr %459, i32 0, i32 0
  %461 = load float, ptr %460, align 4, !tbaa !104
  %462 = fcmp olt float %458, %461
  br i1 %462, label %463, label %473

463:                                              ; preds = %453
  %464 = load ptr, ptr %6, align 8, !tbaa !5
  %465 = getelementptr inbounds %struct.ImGuiTabBar, ptr %464, i32 0, i32 16
  %466 = load i32, ptr %465, align 8, !tbaa !88
  %467 = and i32 %466, 1
  %468 = icmp ne i32 %467, 0
  br i1 %468, label %469, label %472

469:                                              ; preds = %463
  %470 = load ptr, ptr %6, align 8, !tbaa !5
  %471 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %470, ptr noundef %471, i32 noundef -1)
  br label %472

472:                                              ; preds = %469, %463
  br label %501

473:                                              ; preds = %453, %446
  %474 = load ptr, ptr %10, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.ImGuiContext, ptr %474, i32 0, i32 5
  %476 = getelementptr inbounds %struct.ImGuiIO, ptr %475, i32 0, i32 59
  %477 = getelementptr inbounds %struct.ImVec2, ptr %476, i32 0, i32 0
  %478 = load float, ptr %477, align 8, !tbaa !113
  %479 = fcmp ogt float %478, 0.000000e+00
  br i1 %479, label %480, label %500

480:                                              ; preds = %473
  %481 = load ptr, ptr %10, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.ImGuiContext, ptr %481, i32 0, i32 5
  %483 = getelementptr inbounds %struct.ImGuiIO, ptr %482, i32 0, i32 36
  %484 = getelementptr inbounds %struct.ImVec2, ptr %483, i32 0, i32 0
  %485 = load float, ptr %484, align 8, !tbaa !114
  %486 = getelementptr inbounds %struct.ImRect, ptr %29, i32 0, i32 1
  %487 = getelementptr inbounds %struct.ImVec2, ptr %486, i32 0, i32 0
  %488 = load float, ptr %487, align 4, !tbaa !106
  %489 = fcmp ogt float %485, %488
  br i1 %489, label %490, label %500

490:                                              ; preds = %480
  %491 = load ptr, ptr %6, align 8, !tbaa !5
  %492 = getelementptr inbounds %struct.ImGuiTabBar, ptr %491, i32 0, i32 16
  %493 = load i32, ptr %492, align 8, !tbaa !88
  %494 = and i32 %493, 1
  %495 = icmp ne i32 %494, 0
  br i1 %495, label %496, label %499

496:                                              ; preds = %490
  %497 = load ptr, ptr %6, align 8, !tbaa !5
  %498 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef %497, ptr noundef %498, i32 noundef 1)
  br label %499

499:                                              ; preds = %496, %490
  br label %500

500:                                              ; preds = %499, %480, %473
  br label %501

501:                                              ; preds = %500, %472
  br label %502

502:                                              ; preds = %501, %440, %435
  br label %503

503:                                              ; preds = %502, %433, %430, %427
  call void @llvm.lifetime.start.p0(i64 8, ptr %40) #10
  %504 = load ptr, ptr %11, align 8, !tbaa !5
  %505 = getelementptr inbounds %struct.ImGuiWindow, ptr %504, i32 0, i32 64
  %506 = load ptr, ptr %505, align 8, !tbaa !115
  store ptr %506, ptr %40, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #10
  %507 = load i8, ptr %38, align 1, !tbaa !79, !range !21, !noundef !22
  %508 = trunc i8 %507 to i1
  br i1 %508, label %512, label %509

509:                                              ; preds = %503
  %510 = load i8, ptr %37, align 1, !tbaa !79, !range !21, !noundef !22
  %511 = trunc i8 %510 to i1
  br i1 %511, label %512, label %513

512:                                              ; preds = %509, %503
  br label %528

513:                                              ; preds = %509
  %514 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %515 = trunc i8 %514 to i1
  br i1 %515, label %516, label %521

516:                                              ; preds = %513
  %517 = load i8, ptr %21, align 1, !tbaa !79, !range !21, !noundef !22
  %518 = trunc i8 %517 to i1
  %519 = zext i1 %518 to i64
  %520 = select i1 %518, i32 35, i32 37
  br label %526

521:                                              ; preds = %513
  %522 = load i8, ptr %21, align 1, !tbaa !79, !range !21, !noundef !22
  %523 = trunc i8 %522 to i1
  %524 = zext i1 %523 to i64
  %525 = select i1 %523, i32 33, i32 36
  br label %526

526:                                              ; preds = %521, %516
  %527 = phi i32 [ %520, %516 ], [ %525, %521 ]
  br label %528

528:                                              ; preds = %526, %512
  %529 = phi i32 [ 34, %512 ], [ %527, %526 ]
  %530 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %529, float noundef 1.000000e+00)
  store i32 %530, ptr %41, align 4, !tbaa !9
  %531 = load ptr, ptr %40, align 8, !tbaa !5
  %532 = load i32, ptr %9, align 4, !tbaa !9
  %533 = load i32, ptr %41, align 4, !tbaa !9
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %531, ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %532, i32 noundef %533)
  %534 = load i32, ptr %14, align 4, !tbaa !9
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %534, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 1, ptr %42) #10
  %535 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  %536 = zext i1 %535 to i8
  store i8 %536, ptr %42, align 1, !tbaa !79
  %537 = load i8, ptr %42, align 1, !tbaa !79, !range !21, !noundef !22
  %538 = trunc i8 %537 to i1
  br i1 %538, label %539, label %547

539:                                              ; preds = %528
  %540 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %540, label %543, label %541

541:                                              ; preds = %539
  %542 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %542, label %543, label %547

543:                                              ; preds = %541, %539
  %544 = load i32, ptr %14, align 4, !tbaa !9
  %545 = load ptr, ptr %6, align 8, !tbaa !5
  %546 = getelementptr inbounds %struct.ImGuiTabBar, ptr %545, i32 0, i32 3
  store i32 %544, ptr %546, align 8, !tbaa !95
  br label %547

547:                                              ; preds = %543, %541, %528
  %548 = load ptr, ptr %6, align 8, !tbaa !5
  %549 = getelementptr inbounds %struct.ImGuiTabBar, ptr %548, i32 0, i32 16
  %550 = load i32, ptr %549, align 8, !tbaa !88
  %551 = and i32 %550, 8
  %552 = icmp ne i32 %551, 0
  br i1 %552, label %553, label %556

553:                                              ; preds = %547
  %554 = load i32, ptr %9, align 4, !tbaa !9
  %555 = or i32 %554, 4
  store i32 %555, ptr %9, align 4, !tbaa !9
  br label %556

556:                                              ; preds = %553, %547
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  %557 = load ptr, ptr %8, align 8, !tbaa !5
  %558 = icmp ne ptr %557, null
  br i1 %558, label %559, label %566

559:                                              ; preds = %556
  %560 = load ptr, ptr %11, align 8, !tbaa !5
  %561 = load i32, ptr %14, align 4, !tbaa !9
  %562 = zext i32 %561 to i64
  %563 = add nsw i64 %562, 1
  %564 = inttoptr i64 %563 to ptr
  %565 = call noundef i32 @_ZN11ImGuiWindow5GetIDEPKv(ptr noundef nonnull align 8 dereferenceable(948) %560, ptr noundef %564)
  br label %567

566:                                              ; preds = %556
  br label %567

567:                                              ; preds = %566, %559
  %568 = phi i32 [ %565, %559 ], [ 0, %566 ]
  store i32 %568, ptr %43, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #10
  %569 = load ptr, ptr %40, align 8, !tbaa !5
  %570 = load i32, ptr %9, align 4, !tbaa !9
  %571 = load ptr, ptr %6, align 8, !tbaa !5
  %572 = getelementptr inbounds %struct.ImGuiTabBar, ptr %571, i32 0, i32 22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 8 %572, i64 8, i1 false), !tbaa.struct !101
  %573 = load ptr, ptr %7, align 8, !tbaa !5
  %574 = load i32, ptr %14, align 4, !tbaa !9
  %575 = load i32, ptr %43, align 4, !tbaa !9
  %576 = load <2 x float>, ptr %45, align 4
  %577 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjj(ptr noundef %569, ptr noundef nonnull align 4 dereferenceable(16) %29, i32 noundef %570, <2 x float> %576, ptr noundef %573, i32 noundef %574, i32 noundef %575)
  %578 = zext i1 %577 to i8
  store i8 %578, ptr %44, align 1, !tbaa !79
  %579 = load i8, ptr %44, align 1, !tbaa !79, !range !21, !noundef !22
  %580 = trunc i8 %579 to i1
  br i1 %580, label %581, label %588

581:                                              ; preds = %567
  %582 = load ptr, ptr %8, align 8, !tbaa !5
  %583 = icmp ne ptr %582, null
  br i1 %583, label %584, label %588

584:                                              ; preds = %581
  %585 = load ptr, ptr %8, align 8, !tbaa !5
  store i8 0, ptr %585, align 1, !tbaa !79
  %586 = load ptr, ptr %6, align 8, !tbaa !5
  %587 = load ptr, ptr %17, align 8, !tbaa !5
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef %586, ptr noundef %587)
  br label %588

588:                                              ; preds = %584, %581, %567
  %589 = load i8, ptr %31, align 1, !tbaa !79, !range !21, !noundef !22
  %590 = trunc i8 %589 to i1
  br i1 %590, label %591, label %592

591:                                              ; preds = %588
  call void @_ZN5ImGui11PopClipRectEv()
  br label %592

592:                                              ; preds = %591, %588
  %593 = load ptr, ptr %11, align 8, !tbaa !5
  %594 = getelementptr inbounds %struct.ImGuiWindow, ptr %593, i32 0, i32 49
  %595 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %594, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %595, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !101
  %596 = load ptr, ptr %10, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.ImGuiContext, ptr %596, i32 0, i32 30
  %598 = load i32, ptr %597, align 4, !tbaa !112
  %599 = load i32, ptr %14, align 4, !tbaa !9
  %600 = icmp eq i32 %598, %599
  br i1 %600, label %601, label %627

601:                                              ; preds = %592
  %602 = load i8, ptr %38, align 1, !tbaa !79, !range !21, !noundef !22
  %603 = trunc i8 %602 to i1
  br i1 %603, label %627, label %604

604:                                              ; preds = %601
  %605 = load ptr, ptr %10, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.ImGuiContext, ptr %605, i32 0, i32 35
  %607 = load float, ptr %606, align 4, !tbaa !116
  %608 = fcmp ogt float %607, 5.000000e-01
  br i1 %608, label %609, label %627

609:                                              ; preds = %604
  %610 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %610, label %611, label %627

611:                                              ; preds = %609
  %612 = load ptr, ptr %6, align 8, !tbaa !5
  %613 = getelementptr inbounds %struct.ImGuiTabBar, ptr %612, i32 0, i32 16
  %614 = load i32, ptr %613, align 8, !tbaa !88
  %615 = and i32 %614, 32
  %616 = icmp ne i32 %615, 0
  br i1 %616, label %626, label %617

617:                                              ; preds = %611
  %618 = load ptr, ptr %7, align 8, !tbaa !5
  %619 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %618, ptr noundef null)
  %620 = load ptr, ptr %7, align 8, !tbaa !5
  %621 = ptrtoint ptr %619 to i64
  %622 = ptrtoint ptr %620 to i64
  %623 = sub i64 %621, %622
  %624 = trunc i64 %623 to i32
  %625 = load ptr, ptr %7, align 8, !tbaa !5
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef @.str.158, i32 noundef %624, ptr noundef %625)
  br label %626

626:                                              ; preds = %617, %611
  br label %627

627:                                              ; preds = %626, %609, %604, %601, %592
  %628 = load i8, ptr %23, align 1, !tbaa !79, !range !21, !noundef !22
  %629 = trunc i8 %628 to i1
  store i1 %629, 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 %630

630:                                              ; preds = %627, %386
  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 %631

631:                                              ; preds = %630, %277
  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 %632

632:                                              ; preds = %631, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #10
  br label %633

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

; 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 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjj(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, <2 x float>, ptr noundef, i32 noundef, i32 noundef) #7

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 6680}
!24 = !{!"_ZTS12ImGuiContext", !17, i64 0, !17, i64 1, !17, i64 2, !17, i64 3, !25, i64 8, !27, i64 5464, !6, i64 6408, !16, i64 6416, !16, i64 6420, !28, i64 6424, !30, i64 6568, !10, i64 6576, !10, i64 6580, !10, i64 6584, !31, i64 6592, !31, i64 6608, !31, i64 6624, !31, i64 6640, !32, i64 6656, !10, i64 6672, !6, i64 6680, !6, i64 6688, !6, i64 6696, !6, i64 6704, !6, i64 6712, !15, i64 6720, !16, i64 6728, !10, i64 6732, !17, i64 6736, !10, i64 6740, !16, i64 6744, !16, i64 6748, !10, i64 6752, !10, i64 6756, !16, i64 6760, !17, i64 6764, !17, i64 6765, !17, i64 6766, !17, i64 6767, !17, i64 6768, !10, i64 6772, !10, i64 6776, !34, i64 6784, !15, i64 6792, !6, i64 6800, !35, i64 6808, !10, i64 6812, !17, i64 6816, !17, i64 6817, !6, i64 6824, !10, i64 6832, !16, i64 6836, !36, i64 6840, !37, i64 6944, !38, i64 6960, !39, i64 6976, !40, i64 6992, !41, i64 7008, !41, i64 7024, !6, i64 7040, !10, i64 7048, !10, i64 7052, !10, i64 7056, !10, i64 7060, !10, i64 7064, !10, i64 7068, !10, i64 7072, !10, i64 7076, !10, i64 7080, !35, i64 7084, !14, i64 7088, !10, i64 7104, !6, i64 7112, !6, i64 7120, !6, i64 7128, !16, i64 7136, !16, i64 7140, !17, i64 7144, !42, i64 7148, !10, i64 7152, !17, i64 7156, !17, i64 7157, !17, i64 7158, !17, i64 7159, !17, i64 7160, !17, i64 7161, !17, i64 7162, !10, i64 7164, !14, i64 7168, !17, i64 7184, !17, i64 7185, !10, i64 7188, !43, i64 7192, !10, i64 7196, !10, i64 7200, !10, i64 7204, !44, i64 7208, !44, i64 7256, !44, i64 7304, !6, i64 7352, !6, i64 7360, !10, i64 7368, !10, i64 7372, !10, i64 7376, !10, i64 7380, !17, i64 7384, !45, i64 7392, !46, i64 7448, !16, i64 7480, !47, i64 7488, !47, i64 7656, !10, i64 7824, !17, i64 7828, !17, i64 7829, !10, i64 7832, !10, i64 7836, !10, i64 7840, !55, i64 7848, !14, i64 7912, !10, i64 7928, !10, i64 7932, !16, i64 7936, !10, i64 7940, !10, i64 7944, !10, i64 7948, !56, i64 7952, !7, i64 7968, !6, i64 7976, !57, i64 7984, !59, i64 8024, !60, i64 8040, !15, i64 8056, !61, i64 8064, !64, i64 11792, !10, i64 11912, !10, i64 11916, !16, i64 11920, !7, i64 11924, !29, i64 11936, !17, i64 11952, !16, i64 11956, !16, i64 11960, !16, i64 11964, !10, i64 11968, !20, i64 11976, !10, i64 11992, !15, i64 11996, !15, i64 12004, !17, i64 12012, !16, i64 12016, !19, i64 12024, !67, i64 12040, !68, i64 12056, !17, i64 12072, !69, i64 12076, !6, i64 12080, !19, i64 12088, !16, i64 12104, !17, i64 12108, !10, i64 12112, !10, i64 12116, !10, i64 12120, !17, i64 12124, !10, i64 12128, !7, i64 12132, !10, i64 12612, !16, i64 12616, !10, i64 12620, !10, i64 12624, !10, i64 12628, !7, i64 12632}
!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, !15, i64 960, !7, i64 968, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !26, i64 5440}
!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, !10, i64 128, !15, i64 132, !15, i64 140, !15, i64 148, !15, i64 156, !16, i64 164, !17, i64 168, !17, i64 169, !16, i64 172, !7, i64 176}
!28 = !{!"_ZTS20ImDrawListSharedData", !15, i64 0, !6, i64 8, !16, i64 16, !16, i64 20, !29, i64 24, !10, i64 40, !7, i64 44}
!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, !17, i64 48, !14, i64 52, !6, i64 72, !6, i64 80, !16, i64 88, !15, i64 92}
!37 = !{!"_ZTS17ImGuiNextItemData", !10, i64 0, !16, i64 4, !17, i64 8, !10, i64 12}
!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", !10, i64 0, !10, i64 4, !6, i64 8, !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, !10, i64 76, !6, i64 80, !6, i64 88, !50, i64 96, !51, i64 112, !52, i64 128, !53, i64 144}
!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 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !54, i64 8}
!54 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!55 = !{!"_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}
!56 = !{!"_ZTS8ImVectorIhE", !10, i64 0, !10, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !32, i64 16, !10, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !10, i64 0, !10, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !10, i64 0, !10, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !10, i64 0, !10, i64 4, !6, i64 8}
!61 = !{!"_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, !62, i64 76, !16, i64 3696, !17, i64 3700, !17, i64 3701, !10, i64 3704, !6, i64 3712, !6, i64 3720}
!62 = !{!"_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, !63, i64 24}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !18, i64 3582, !18, i64 3584, !10, i64 3588, !10, i64 3592}
!64 = !{!"_ZTS6ImFont", !65, i64 0, !16, i64 16, !16, i64 20, !26, i64 24, !66, i64 40, !6, i64 56, !15, i64 64, !6, i64 72, !6, i64 80, !18, i64 88, !18, i64 90, !18, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !10, i64 108, !17, i64 112}
!65 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!66 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !10, i64 0, !10, i64 4, !6, i64 8}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !10, i64 0, !10, i64 4, !6, i64 8}
!68 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !10, i64 0, !10, i64 4, !6, i64 8}
!69 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!70 = !{!71, !17, i64 131}
!71 = !{!"_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, !7, i64 135, !18, i64 136, !18, i64 138, !18, i64 140, !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, !72, i64 192, !73, i64 208, !14, i64 496, !14, i64 512, !14, i64 528, !14, i64 544, !14, i64 560, !14, i64 576, !10, i64 592, !16, i64 596, !16, i64 600, !77, i64 604, !32, i64 640, !78, i64 656, !16, i64 672, !10, i64 676, !6, i64 680, !47, i64 688, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !7, i64 896, !7, i64 904, !17, i64 936, !10, i64 940, !10, i64 944}
!72 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!73 = !{!"_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, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !14, i64 72, !14, i64 88, !42, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !17, i64 120, !17, i64 121, !17, i64 122, !15, i64 124, !31, i64 136, !6, i64 152, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !16, i64 180, !16, i64 184, !74, i64 192, !65, i64 208, !65, i64 224, !75, i64 240, !7, i64 256, !76, i64 268, !76, i64 272, !76, i64 276, !6, i64 280}
!74 = !{!"_ZTS8ImVectorIiE", !10, i64 0, !10, i64 4, !6, i64 8}
!75 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !10, i64 0, !10, i64 4, !6, i64 8}
!76 = !{!"_ZTS6ImVec1", !16, i64 0}
!77 = !{!"_ZTS16ImGuiMenuColumns", !16, i64 0, !16, i64 4, !16, i64 8, !7, i64 12, !7, i64 24}
!78 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!79 = !{!17, !17, i64 0}
!80 = !{!81, !10, i64 0}
!81 = !{!"_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}
!82 = !{!15, !16, i64 0}
!83 = !{!81, !16, i64 24}
!84 = !{!12, !18, i64 100}
!85 = !{!81, !16, i64 28}
!86 = !{!12, !10, i64 36}
!87 = !{!24, !10, i64 6576}
!88 = !{!12, !10, i64 88}
!89 = !{!81, !10, i64 8}
!90 = !{!81, !10, i64 4}
!91 = !{!81, !10, i64 16}
!92 = !{!12, !16, i64 68}
!93 = !{!81, !16, i64 20}
!94 = !{!24, !16, i64 5544}
!95 = !{!12, !10, i64 24}
!96 = !{!12, !10, i64 20}
!97 = !{!12, !10, i64 28}
!98 = !{!12, !17, i64 98}
!99 = !{!12, !10, i64 0}
!100 = !{!81, !10, i64 12}
!101 = !{i64 0, i64 4, !102, i64 4, i64 4, !102}
!102 = !{!16, !16, i64 0}
!103 = !{!12, !16, i64 72}
!104 = !{!14, !16, i64 0}
!105 = !{!12, !16, i64 40}
!106 = !{!14, !16, i64 8}
!107 = !{!12, !16, i64 48}
!108 = !{!14, !16, i64 4}
!109 = !{!14, !16, i64 12}
!110 = !{!27, !16, i64 60}
!111 = !{!24, !17, i64 7828}
!112 = !{!24, !10, i64 6732}
!113 = !{!24, !16, i64 960}
!114 = !{!24, !16, i64 304}
!115 = !{!71, !6, i64 680}
!116 = !{!24, !16, i64 6748}


; 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.158 = 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(948), 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 6680
  %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 !69, !range !19, !noundef !20
  %28 = trunc nuw i8 %27 to i1
  br i1 %28, label %277, label %29

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

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

35:                                               ; preds = %32
  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)
  %36 = 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 %277

37:                                               ; preds = %32, %29
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #9
  %38 = tail call <2 x float> @_ZN5ImGui15TabItemCalcSizeEPKcb(ptr noundef %1, i1 noundef zeroext %31)
  store <2 x float> %38, ptr %6, align 8
  %39 = tail call noundef ptr @_ZN5ImGui17TabBarFindTabByIDEP11ImGuiTabBarj(ptr noundef nonnull %0, i32 noundef %30)
  %40 = icmp eq ptr %39, null
  br i1 %40, label %41, label %45

41:                                               ; preds = %37
  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
  %42 = call noundef nonnull align 4 dereferenceable(32) ptr @_ZN8ImVectorI12ImGuiTabItemE4backEv(ptr noundef nonnull align 8 dereferenceable(16) %0)
  store i32 %30, ptr %42, align 4, !tbaa !79
  %43 = load float, ptr %6, align 8, !tbaa !81
  %44 = getelementptr inbounds i8, ptr %42, i64 24
  store float %43, ptr %44, align 4, !tbaa !82
  br label %45

45:                                               ; preds = %41, %37
  %.0160 = phi ptr [ %42, %41 ], [ %39, %37 ]
  %46 = call noundef i32 @_ZNK8ImVectorI12ImGuiTabItemE14index_from_ptrEPKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull %.0160)
  %47 = trunc i32 %46 to i16
  %48 = getelementptr inbounds i8, ptr %0, i64 100
  store i16 %47, ptr %48, align 4, !tbaa !83
  %49 = load float, ptr %6, align 8, !tbaa !81
  %50 = getelementptr inbounds i8, ptr %.0160, i64 28
  store float %49, ptr %50, align 4, !tbaa !84
  %51 = icmp eq ptr %2, null
  %52 = or i32 %3, 1048576
  %spec.select = select i1 %51, i32 %52, i32 %3
  %53 = getelementptr inbounds i8, ptr %0, i64 36
  %54 = load i32, ptr %53, align 4, !tbaa !85
  %55 = add nsw i32 %54, 1
  %56 = getelementptr inbounds i8, ptr %23, i64 6576
  %57 = load i32, ptr %56, align 8, !tbaa !86
  %58 = icmp sge i32 %55, %57
  %59 = getelementptr inbounds i8, ptr %0, i64 88
  %60 = load i32, ptr %59, align 8, !tbaa !87
  %61 = and i32 %60, 2097152
  %.not = icmp eq i32 %61, 0
  %62 = getelementptr inbounds i8, ptr %.0160, i64 8
  %63 = load i32, ptr %62, align 4, !tbaa !88
  %64 = add nsw i32 %63, 1
  %65 = icmp slt i32 %64, %57
  store i32 %57, ptr %62, align 4, !tbaa !88
  %66 = getelementptr inbounds i8, ptr %.0160, i64 4
  store i32 %spec.select, ptr %66, align 4, !tbaa !89
  %67 = getelementptr inbounds i8, ptr %0, i64 112
  %68 = call noundef i32 @_ZNK15ImGuiTextBuffer4sizeEv(ptr noundef nonnull align 8 dereferenceable(16) %67)
  %69 = getelementptr inbounds i8, ptr %.0160, i64 16
  store i32 %68, ptr %69, align 4, !tbaa !90
  %70 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #10
  %71 = getelementptr inbounds i8, ptr %1, i64 %70
  %72 = getelementptr inbounds i8, ptr %71, i64 1
  call void @_ZN15ImGuiTextBuffer6appendEPKcS1_(ptr noundef nonnull align 8 dereferenceable(16) %67, ptr noundef %1, ptr noundef nonnull %72)
  %73 = load i32, ptr %59, align 8, !tbaa !87
  br i1 %65, label %.critedge, label %74

74:                                               ; preds = %45
  %75 = and i32 %73, 1
  %.not168 = icmp eq i32 %75, 0
  br i1 %.not168, label %76, label %97

76:                                               ; preds = %74
  %77 = getelementptr inbounds i8, ptr %0, i64 68
  %78 = load float, ptr %77, align 4, !tbaa !91
  %79 = getelementptr inbounds i8, ptr %.0160, i64 20
  store float %78, ptr %79, align 4, !tbaa !92
  %80 = getelementptr inbounds i8, ptr %.0160, i64 24
  %81 = load float, ptr %80, align 4, !tbaa !82
  %82 = getelementptr inbounds i8, ptr %23, i64 5544
  %83 = load float, ptr %82, align 8, !tbaa !93
  %84 = fadd float %81, %83
  %85 = fadd float %78, %84
  store float %85, ptr %77, align 4, !tbaa !91
  br label %97

.critedge:                                        ; preds = %45
  %86 = and i32 %73, 2
  %.not169 = icmp eq i32 %86, 0
  br i1 %.not169, label %97, label %87

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

91:                                               ; preds = %87
  br i1 %58, label %96, label %92

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

96:                                               ; preds = %92, %91
  store i32 %30, ptr %88, align 8, !tbaa !94
  br label %97

97:                                               ; preds = %74, %76, %92, %96, %87, %.critedge
  %98 = and i32 %spec.select, 2
  %.not170 = icmp eq i32 %98, 0
  br i1 %.not170, label %104, label %99

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

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

104:                                              ; preds = %102, %99, %97
  %105 = getelementptr inbounds i8, ptr %0, i64 28
  %106 = load i32, ptr %105, align 4, !tbaa !96
  %107 = icmp eq i32 %106, %30
  br i1 %107, label %108, label %.critedge178

108:                                              ; preds = %104
  %109 = getelementptr inbounds i8, ptr %0, i64 98
  store i8 1, ptr %109, align 2, !tbaa !97
  br label %118

.critedge178:                                     ; preds = %104
  %110 = getelementptr inbounds i8, ptr %0, i64 20
  %111 = load i32, ptr %110, align 4, !tbaa !95
  %112 = icmp ne i32 %111, 0
  %brmerge = select i1 %112, i1 true, i1 %58
  br i1 %brmerge, label %118, label %113

113:                                              ; preds = %.critedge178
  %114 = load i32, ptr %0, align 8, !tbaa !98
  %115 = icmp eq i32 %114, 1
  br i1 %115, label %116, label %118

116:                                              ; preds = %113
  %117 = and i32 %73, 2
  %.not172 = icmp eq i32 %117, 0
  br label %118

118:                                              ; preds = %116, %108, %.critedge178, %113
  %.0162.shrunk = phi i1 [ true, %108 ], [ false, %113 ], [ false, %.critedge178 ], [ %.not172, %116 ]
  %brmerge183 = or i1 %40, %58
  %or.cond188 = select i1 %65, i1 %brmerge183, i1 false
  br i1 %or.cond188, label %119, label %121

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

121:                                              ; preds = %118
  %122 = getelementptr inbounds i8, ptr %0, i64 20
  %123 = load i32, ptr %122, align 4, !tbaa !95
  %124 = icmp eq i32 %123, %30
  br i1 %124, label %125, label %128

125:                                              ; preds = %121
  %126 = load i32, ptr %56, align 8, !tbaa !86
  %127 = getelementptr inbounds i8, ptr %.0160, i64 12
  store i32 %126, ptr %127, align 4, !tbaa !99
  br label %128

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

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

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

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

168:                                              ; preds = %160
  br i1 %161, label %169, label %170

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

170:                                              ; preds = %169, %168
  store i64 %130, ptr %129, align 8
  br label %275

171:                                              ; preds = %160
  %172 = getelementptr inbounds i8, ptr %23, i64 7828
  %173 = load i8, ptr %172, align 4, !tbaa !108, !range !19, !noundef !20
  %174 = trunc nuw i8 %173 to i1
  %spec.select184 = select i1 %174, i32 4164, i32 68
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #9
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %17) #9
  %175 = 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.select184)
  br i1 %175, label %176, label %178

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

178:                                              ; preds = %176, %171
  %179 = getelementptr inbounds i8, ptr %23, i64 6732
  %180 = load i32, ptr %179, align 4, !tbaa !109
  %181 = icmp eq i32 %180, %30
  %182 = load i8, ptr %16, align 1, !tbaa !78, !range !19, !noundef !20
  %183 = zext i1 %181 to i8
  %184 = or i8 %182, %183
  store i8 %184, ptr %16, align 1, !tbaa !78
  %185 = load i8, ptr %17, align 1, !tbaa !78, !range !19, !noundef !20
  %186 = trunc nuw i8 %185 to i1
  br i1 %186, label %188, label %187

187:                                              ; preds = %178
  call void @_ZN5ImGui19SetItemAllowOverlapEv()
  %.pre = load i8, ptr %17, align 1, !tbaa !78, !range !19
  %.pre194 = trunc nuw i8 %.pre to i1
  br label %188

188:                                              ; preds = %187, %178
  %.pre-phi = phi i1 [ %.pre194, %187 ], [ true, %178 ]
  %.not185 = xor i1 %.pre-phi, true
  %brmerge186 = select i1 %.not185, i1 true, i1 %65
  br i1 %brmerge186, label %214, label %189

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

191:                                              ; preds = %189
  %192 = load i8, ptr %172, align 4, !tbaa !108, !range !19, !noundef !20
  %193 = trunc nuw i8 %192 to i1
  br i1 %193, label %214, label %194

194:                                              ; preds = %191
  %195 = load i32, ptr %59, align 8, !tbaa !87
  %196 = and i32 %195, 1
  %.not173 = icmp eq i32 %196, 0
  br i1 %.not173, label %214, label %197

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

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

206:                                              ; preds = %201, %197
  %207 = fcmp ogt float %199, 0.000000e+00
  br i1 %207, label %208, label %214

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

.sink.split:                                      ; preds = %208, %201
  %.sink = phi i32 [ -1, %201 ], [ 1, %208 ]
  call void @_ZN5ImGui25TabBarQueueChangeTabOrderEP11ImGuiTabBarPK12ImGuiTabItemi(ptr noundef nonnull %0, ptr noundef nonnull %.0160, i32 noundef %.sink)
  br label %214

214:                                              ; preds = %.sink.split, %188, %191, %194, %206, %208, %189
  %215 = getelementptr inbounds i8, ptr %25, i64 680
  %216 = load ptr, ptr %215, align 8, !tbaa !112
  %217 = load i8, ptr %17, align 1, !tbaa !78, !range !19, !noundef !20
  %218 = trunc nuw i8 %217 to i1
  br i1 %218, label %227, label %219

219:                                              ; preds = %214
  %220 = load i8, ptr %16, align 1, !tbaa !78, !range !19, !noundef !20
  %221 = trunc nuw i8 %220 to i1
  br i1 %221, label %227, label %222

222:                                              ; preds = %219
  br i1 %.0162.shrunk, label %223, label %225

223:                                              ; preds = %222
  %224 = select i1 %.not, i32 37, i32 35
  br label %227

225:                                              ; preds = %222
  %226 = select i1 %.not, i32 36, i32 33
  br label %227

227:                                              ; preds = %223, %225, %214, %219
  %228 = phi i32 [ 34, %219 ], [ 34, %214 ], [ %224, %223 ], [ %226, %225 ]
  %229 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %228, float noundef 1.000000e+00)
  call void @_ZN5ImGui17TabItemBackgroundEP10ImDrawListRK6ImRectij(ptr noundef %216, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select, i32 noundef %229)
  call void @_ZN5ImGui18RenderNavHighlightERK6ImRectji(ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %30, i32 noundef 1)
  %230 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 8)
  br i1 %230, label %231, label %237

231:                                              ; preds = %227
  %232 = call noundef zeroext i1 @_ZN5ImGui14IsMouseClickedEib(i32 noundef 1, i1 noundef zeroext false)
  br i1 %232, label %235, label %233

233:                                              ; preds = %231
  %234 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %234, label %235, label %237

235:                                              ; preds = %233, %231
  %236 = getelementptr inbounds i8, ptr %0, i64 24
  store i32 %30, ptr %236, align 8, !tbaa !94
  br label %237

237:                                              ; preds = %235, %233, %227
  %238 = load i32, ptr %59, align 8, !tbaa !87
  %239 = lshr i32 %238, 1
  %240 = and i32 %239, 4
  %spec.select187 = or i32 %240, %spec.select
  br i1 %31, label %243, label %.thread191

.thread191:                                       ; preds = %237
  %241 = getelementptr inbounds i8, ptr %0, i64 104
  %.sroa.0.0.copyload192 = load <2 x float>, ptr %241, align 8
  %242 = call noundef zeroext i1 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjj(ptr noundef %216, ptr noundef nonnull align 4 dereferenceable(16) %11, i32 noundef %spec.select187, <2 x float> %.sroa.0.0.copyload192, ptr noundef %1, i32 noundef %30, i32 noundef 0)
  br label %251

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

250:                                              ; preds = %243
  store i8 0, ptr %2, align 1, !tbaa !78
  call void @_ZN5ImGui14TabBarCloseTabEP11ImGuiTabBarP12ImGuiTabItem(ptr noundef nonnull %0, ptr noundef nonnull %.0160)
  br label %251

251:                                              ; preds = %.thread191, %250, %243
  br i1 %161, label %252, label %253

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

253:                                              ; preds = %252, %251
  store i64 %130, ptr %129, align 8
  %254 = load i32, ptr %179, align 4, !tbaa !109
  %255 = icmp eq i32 %254, %30
  br i1 %255, label %256, label %274

256:                                              ; preds = %253
  %257 = load i8, ptr %17, align 1, !tbaa !78, !range !19, !noundef !20
  %258 = trunc nuw i8 %257 to i1
  br i1 %258, label %274, label %259

259:                                              ; preds = %256
  %260 = getelementptr inbounds i8, ptr %23, i64 6748
  %261 = load float, ptr %260, align 4, !tbaa !113
  %262 = fcmp ogt float %261, 5.000000e-01
  br i1 %262, label %263, label %274

263:                                              ; preds = %259
  %264 = call noundef zeroext i1 @_ZN5ImGui13IsItemHoveredEi(i32 noundef 0)
  br i1 %264, label %265, label %274

265:                                              ; preds = %263
  %266 = load i32, ptr %59, align 8, !tbaa !87
  %267 = and i32 %266, 32
  %.not176 = icmp eq i32 %267, 0
  br i1 %.not176, label %268, label %274

268:                                              ; preds = %265
  %269 = call noundef ptr @_ZN5ImGui19FindRenderedTextEndEPKcS1_(ptr noundef %1, ptr noundef null)
  %270 = ptrtoint ptr %269 to i64
  %271 = ptrtoint ptr %1 to i64
  %272 = sub i64 %270, %271
  %273 = trunc i64 %272 to i32
  call void (ptr, ...) @_ZN5ImGui10SetTooltipEPKcz(ptr noundef nonnull @.str.158, i32 noundef %273, ptr noundef %1)
  br label %274

274:                                              ; preds = %265, %268, %263, %259, %256, %253
  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 %275

275:                                              ; preds = %274, %170
  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 %276

276:                                              ; preds = %275, %119
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #9
  br label %277

277:                                              ; preds = %35, %276, %22
  %.3 = phi i1 [ false, %22 ], [ %.0162.shrunk, %276 ], [ false, %35 ]
  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 @_ZN5ImGui26TabItemLabelAndCloseButtonEP10ImDrawListRK6ImRecti6ImVec2PKcjj(ptr noundef, ptr noundef nonnull align 4 dereferenceable(16), i32 noundef, <2 x float>, ptr noundef, i32 noundef, i32 noundef) 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 6680}
!23 = !{!"_ZTS12ImGuiContext", !15, i64 0, !15, i64 1, !15, i64 2, !15, i64 3, !24, i64 8, !26, i64 5464, !11, i64 6408, !14, i64 6416, !14, i64 6420, !27, i64 6424, !29, i64 6568, !8, i64 6576, !8, i64 6580, !8, i64 6584, !30, i64 6592, !30, i64 6608, !30, i64 6624, !30, i64 6640, !31, i64 6656, !8, i64 6672, !11, i64 6680, !11, i64 6688, !11, i64 6696, !11, i64 6704, !11, i64 6712, !13, i64 6720, !14, i64 6728, !8, i64 6732, !15, i64 6736, !8, i64 6740, !14, i64 6744, !14, i64 6748, !8, i64 6752, !8, i64 6756, !14, i64 6760, !15, i64 6764, !15, i64 6765, !15, i64 6766, !15, i64 6767, !15, i64 6768, !8, i64 6772, !8, i64 6776, !33, i64 6784, !13, i64 6792, !11, i64 6800, !34, i64 6808, !8, i64 6812, !15, i64 6816, !15, i64 6817, !11, i64 6824, !8, i64 6832, !14, i64 6836, !35, i64 6840, !36, i64 6944, !37, i64 6960, !38, i64 6976, !39, i64 6992, !40, i64 7008, !40, i64 7024, !11, i64 7040, !8, i64 7048, !8, i64 7052, !8, i64 7056, !8, i64 7060, !8, i64 7064, !8, i64 7068, !8, i64 7072, !8, i64 7076, !8, i64 7080, !34, i64 7084, !12, i64 7088, !8, i64 7104, !11, i64 7112, !11, i64 7120, !11, i64 7128, !14, i64 7136, !14, i64 7140, !15, i64 7144, !41, i64 7148, !8, i64 7152, !15, i64 7156, !15, i64 7157, !15, i64 7158, !15, i64 7159, !15, i64 7160, !15, i64 7161, !15, i64 7162, !8, i64 7164, !12, i64 7168, !15, i64 7184, !15, i64 7185, !8, i64 7188, !42, i64 7192, !8, i64 7196, !8, i64 7200, !8, i64 7204, !43, i64 7208, !43, i64 7256, !43, i64 7304, !11, i64 7352, !11, i64 7360, !8, i64 7368, !8, i64 7372, !8, i64 7376, !8, i64 7380, !15, i64 7384, !44, i64 7392, !45, i64 7448, !14, i64 7480, !46, i64 7488, !46, i64 7656, !8, i64 7824, !15, i64 7828, !15, i64 7829, !8, i64 7832, !8, i64 7836, !8, i64 7840, !54, i64 7848, !12, i64 7912, !8, i64 7928, !8, i64 7932, !14, i64 7936, !8, i64 7940, !8, i64 7944, !8, i64 7948, !55, i64 7952, !9, i64 7968, !11, i64 7976, !56, i64 7984, !58, i64 8024, !59, i64 8040, !13, i64 8056, !60, i64 8064, !63, i64 11792, !8, i64 11912, !8, i64 11916, !14, i64 11920, !9, i64 11924, !28, i64 11936, !15, i64 11952, !14, i64 11956, !14, i64 11960, !14, i64 11964, !8, i64 11968, !18, i64 11976, !8, i64 11992, !13, i64 11996, !13, i64 12004, !15, i64 12012, !14, i64 12016, !17, i64 12024, !66, i64 12040, !67, i64 12056, !15, i64 12072, !68, i64 12076, !11, i64 12080, !17, i64 12088, !14, i64 12104, !15, i64 12108, !8, i64 12112, !8, i64 12116, !8, i64 12120, !15, i64 12124, !8, i64 12128, !9, i64 12132, !8, i64 12612, !14, i64 12616, !8, i64 12620, !8, i64 12624, !8, i64 12628, !9, i64 12632}
!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, !13, i64 960, !9, i64 968, !9, i64 1008, !9, i64 1048, !9, i64 1053, !9, i64 1058, !9, i64 1063, !9, i64 1068, !9, i64 1076, !9, i64 1096, !9, i64 1116, !9, i64 1156, !9, i64 1176, !9, i64 3224, !9, i64 5272, !9, i64 5356, !25, i64 5440}
!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, !8, i64 128, !13, i64 132, !13, i64 140, !13, i64 148, !13, i64 156, !14, i64 164, !15, i64 168, !15, i64 169, !14, i64 172, !9, i64 176}
!27 = !{!"_ZTS20ImDrawListSharedData", !13, i64 0, !11, i64 8, !14, i64 16, !14, i64 20, !28, i64 24, !8, i64 40, !9, i64 44}
!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, !15, i64 48, !12, i64 52, !11, i64 72, !11, i64 80, !14, i64 88, !13, i64 92}
!36 = !{!"_ZTS17ImGuiNextItemData", !8, i64 0, !14, i64 4, !15, i64 8, !8, i64 12}
!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", !8, i64 0, !8, i64 4, !11, i64 8, !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, !8, i64 76, !11, i64 80, !11, i64 88, !49, i64 96, !50, i64 112, !51, i64 128, !52, i64 144}
!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 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !53, i64 8}
!53 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !8, i64 0, !8, i64 4, !11, i64 8}
!56 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !57, i64 0, !31, i64 16, !8, i64 32}
!57 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !8, i64 0, !8, i64 4, !11, i64 8}
!58 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !8, i64 0, !8, i64 4, !11, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !8, i64 0, !8, i64 4, !11, i64 8}
!60 = !{!"_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, !61, i64 76, !14, i64 3696, !15, i64 3700, !15, i64 3701, !8, i64 3704, !11, i64 3712, !11, i64 3720}
!61 = !{!"_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, !62, i64 24}
!62 = !{!"_ZTSN5ImStb12StbUndoStateE", !9, i64 0, !9, i64 1584, !16, i64 3582, !16, i64 3584, !8, i64 3588, !8, i64 3592}
!63 = !{!"_ZTS6ImFont", !64, i64 0, !14, i64 16, !14, i64 20, !25, i64 24, !65, i64 40, !11, i64 56, !13, i64 64, !11, i64 72, !11, i64 80, !16, i64 88, !16, i64 90, !16, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !8, i64 108, !15, i64 112}
!64 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !8, i64 0, !8, i64 4, !11, i64 8}
!66 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !8, i64 0, !8, i64 4, !11, i64 8}
!67 = !{!"_ZTS8ImVectorI19ImGuiWindowSettingsE", !8, i64 0, !8, i64 4, !11, i64 8}
!68 = !{!"_ZTS12ImGuiLogType", !9, i64 0}
!69 = !{!70, !15, i64 131}
!70 = !{!"_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, !9, i64 135, !16, i64 136, !16, i64 138, !16, i64 140, !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, !71, i64 192, !72, i64 208, !12, i64 496, !12, i64 512, !12, i64 528, !12, i64 544, !12, i64 560, !12, i64 576, !8, i64 592, !14, i64 596, !14, i64 600, !76, i64 604, !31, i64 640, !77, i64 656, !14, i64 672, !8, i64 676, !11, i64 680, !46, i64 688, !11, i64 856, !11, i64 864, !11, i64 872, !11, i64 880, !11, i64 888, !9, i64 896, !9, i64 904, !15, i64 936, !8, i64 940, !8, i64 944}
!71 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!72 = !{!"_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, !8, i64 56, !8, i64 60, !8, i64 64, !8, i64 68, !12, i64 72, !12, i64 88, !41, i64 104, !8, i64 108, !8, i64 112, !8, i64 116, !15, i64 120, !15, i64 121, !15, i64 122, !13, i64 124, !30, i64 136, !11, i64 152, !8, i64 160, !8, i64 164, !8, i64 168, !8, i64 172, !8, i64 176, !14, i64 180, !14, i64 184, !73, i64 192, !64, i64 208, !64, i64 224, !74, i64 240, !9, i64 256, !75, i64 268, !75, i64 272, !75, i64 276, !11, i64 280}
!73 = !{!"_ZTS8ImVectorIiE", !8, i64 0, !8, i64 4, !11, i64 8}
!74 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !8, i64 0, !8, i64 4, !11, i64 8}
!75 = !{!"_ZTS6ImVec1", !14, i64 0}
!76 = !{!"_ZTS16ImGuiMenuColumns", !14, i64 0, !14, i64 4, !14, i64 8, !9, i64 12, !9, i64 24}
!77 = !{!"_ZTS8ImVectorI12ImGuiColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!78 = !{!15, !15, i64 0}
!79 = !{!80, !8, i64 0}
!80 = !{!"_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}
!81 = !{!13, !14, i64 0}
!82 = !{!80, !14, i64 24}
!83 = !{!6, !16, i64 100}
!84 = !{!80, !14, i64 28}
!85 = !{!6, !8, i64 36}
!86 = !{!23, !8, i64 6576}
!87 = !{!6, !8, i64 88}
!88 = !{!80, !8, i64 8}
!89 = !{!80, !8, i64 4}
!90 = !{!80, !8, i64 16}
!91 = !{!6, !14, i64 68}
!92 = !{!80, !14, i64 20}
!93 = !{!23, !14, i64 5544}
!94 = !{!6, !8, i64 24}
!95 = !{!6, !8, i64 20}
!96 = !{!6, !8, i64 28}
!97 = !{!6, !15, i64 98}
!98 = !{!6, !8, i64 0}
!99 = !{!80, !8, i64 12}
!100 = !{!6, !14, i64 72}
!101 = !{!12, !14, i64 0}
!102 = !{!6, !14, i64 40}
!103 = !{!12, !14, i64 8}
!104 = !{!6, !14, i64 48}
!105 = !{!12, !14, i64 4}
!106 = !{!12, !14, i64 12}
!107 = !{!26, !14, i64 60}
!108 = !{!23, !15, i64 7828}
!109 = !{!23, !8, i64 6732}
!110 = !{!23, !14, i64 960}
!111 = !{!23, !14, i64 304}
!112 = !{!70, !11, i64 680}
!113 = !{!23, !14, i64 6748}


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