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

; 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.ImGuiPtrOrIndex = type <{ ptr, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }
%struct.ImGuiContext = type <{ i8, i8, [6 x i8], %struct.ImGuiIO, %struct.ImGuiStyle, [4 x i8], ptr, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i8, i8, i8, i8, i32, [4 x i8], ptr, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImVector.0, %struct.ImGuiStorage, i32, [4 x i8], ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, float, i32, i32, i8, i8, [2 x i8], float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, [2 x i8], i32, i32, [4 x i8], i64, %struct.ImVec2, ptr, i32, i32, i32, i8, i8, [2 x i8], ptr, i32, float, %struct.ImGuiNextWindowData, %struct.ImGuiNextItemData, [4 x i8], %struct.ImVector.13, %struct.ImVector.14, %struct.ImVector.15, %struct.ImVector.16, %struct.ImVector.16, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.ImRect, i8, [3 x i8], i32, i32, i32, i32, i32, i32, [4 x i8], %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, %struct.ImGuiNavMoveResult, ptr, i32, [4 x i8], ptr, ptr, ptr, float, float, i8, [7 x i8], ptr, ptr, i32, i32, i32, i32, i8, [7 x i8], %struct.ImDrawData, %struct.ImDrawDataBuilder, float, [4 x i8], %struct.ImDrawList, %struct.ImDrawList, i32, i8, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, [4 x i8], %struct.ImVector.18, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.20, %struct.ImVector.21, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImFont, i32, i32, float, float, [3 x float], %struct.ImVec4, float, i8, i8, [2 x i8], float, float, float, i32, [4 x i8], %struct.ImVector.22, %struct.ImVector, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.24, %struct.ImChunkStream, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, [120 x float], i32, float, i32, i32, i32, [3073 x i8], [7 x i8] }>
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, float, float, float, [22 x i32], float, float, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, float, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, [5 x i8], float, float, i8, i8, i8, i8, [512 x i8], [21 x float], i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, i32, %struct.ImVec2, i32, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x i8], [5 x float], [5 x float], [5 x %struct.ImVec2], [5 x float], [512 x float], [512 x float], [21 x float], [21 x float], float, i16, %struct.ImVector.7 }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImGuiStyle = type { float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [48 x %struct.ImVec4] }
%struct.ImDrawListSharedData = type { %struct.ImVec2, ptr, float, float, float, %struct.ImVec4, i32, [12 x %struct.ImVec2], [64 x i8], ptr }
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiNextWindowData = type <{ i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, [3 x i8], %struct.ImRect, [4 x i8], ptr, ptr, float, %struct.ImVec2, [4 x i8] }>
%struct.ImGuiNextItemData = type <{ i32, float, i32, i32, i8, [3 x i8] }>
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImGuiNavMoveResult = type <{ ptr, i32, i32, float, float, float, %struct.ImRect, [4 x i8] }>
%struct.ImDrawData = type <{ i8, [7 x i8], ptr, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8] }>
%struct.ImDrawDataBuilder = type { [2 x %struct.ImVector.17] }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImDrawList = type { %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, i32, ptr, ptr, i32, ptr, ptr, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImDrawCmd, %struct.ImDrawListSplitter }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImDrawCmd = type { %struct.ImVec4, ptr, i32, i32, i32, ptr, ptr }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.12 }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.19, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector.7, %struct.ImVector.22, %struct.ImVector.22, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i8, i8, i8, i8, i8, i8, i8, float, %"struct.ImStb::StbUndoState" }
%"struct.ImStb::StbUndoState" = type { [99 x %"struct.ImStb::StbUndoRecord"], [999 x i16], i16, i16, i32, i32 }
%"struct.ImStb::StbUndoRecord" = type { i32, i32, i32, i32 }
%struct.ImFont = type <{ %struct.ImVector.2, float, float, %struct.ImVector.7, %struct.ImVector.23, ptr, %struct.ImVec2, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.22 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.22 }
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i32, i8, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.5, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i8, [3 x i8], i32, i32, [4 x i8] }>
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, i32, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.1, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, [6 x i16], [4 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type { float, float, float, [3 x float], [3 x float] }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiTabBar = type { %struct.ImVector.26, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, i32, i32, i8, i8, i8, i8, i16, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.26 = type { i32, i32, ptr }

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti = external hidden unnamed_addr constant [75 x i8], align 1

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

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

; Function Attrs: 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

declare void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(224), ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8), i32 noundef, float noundef) #4

declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti(ptr noundef %0, ptr noundef nonnull align 4 dereferenceable(16) %1, i32 noundef %2) #5 {
  %4 = alloca i1, align 1
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %struct.ImGuiPtrOrIndex, align 8
  %12 = alloca { ptr, i32 }, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca %struct.ImVec2, align 4
  %18 = alloca %struct.ImVec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #7
  %19 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %19, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %20 = load ptr, ptr %8, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.ImGuiContext, ptr %20, i32 0, i32 28
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  store ptr %22, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiWindow, ptr %23, i32 0, i32 27
  %25 = load i8, ptr %24, align 1, !tbaa !67, !range !76, !noundef !77
  %26 = trunc i8 %25 to i1
  br i1 %26, label %27, label %28

27:                                               ; preds = %3
  store i1 false, ptr %4, align 1
  store i32 1, ptr %10, align 4
  br label %179

28:                                               ; preds = %3
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = and i32 %29, 1048576
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %36

32:                                               ; preds = %28
  %33 = load ptr, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiTabBar, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !78
  call void @_ZN5ImGui14PushOverrideIDEj(i32 noundef %35)
  br label %36

36:                                               ; preds = %32, %28
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.ImGuiContext, ptr %37, i32 0, i32 162
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #7
  %39 = load ptr, ptr %5, align 8, !tbaa !5
  %40 = call { ptr, i32 } @_ZL22GetTabBarRefFromTabBarP11ImGuiTabBar(ptr noundef %39)
  store { ptr, i32 } %40, ptr %12, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %12, i64 12, i1 false)
  call void @_ZN8ImVectorI15ImGuiPtrOrIndexE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %38, ptr noundef nonnull align 8 dereferenceable(12) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #7
  %41 = load ptr, ptr %5, align 8, !tbaa !5
  %42 = load ptr, ptr %8, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.ImGuiContext, ptr %42, i32 0, i32 160
  store ptr %41, ptr %43, align 8, !tbaa !81
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.ImGuiTabBar, ptr %44, i32 0, i32 5
  %46 = load i32, ptr %45, align 8, !tbaa !82
  %47 = load ptr, ptr %8, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiContext, ptr %47, i32 0, i32 11
  %49 = load i32, ptr %48, align 8, !tbaa !83
  %50 = icmp eq i32 %46, %49
  br i1 %50, label %51, label %52

51:                                               ; preds = %36
  call void @__assert_fail(ptr noundef @.str.22, ptr noundef @.str.1, i32 noundef 6861, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti) #8
  unreachable

52:                                               ; preds = %36
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = and i32 %53, 1
  %55 = load ptr, ptr %5, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiTabBar, ptr %55, i32 0, i32 16
  %57 = load i32, ptr %56, align 8, !tbaa !84
  %58 = and i32 %57, 1
  %59 = icmp ne i32 %54, %58
  br i1 %59, label %60, label %76

60:                                               ; preds = %52
  %61 = load ptr, ptr %5, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ImGuiTabBar, ptr %61, i32 0, i32 0
  %63 = getelementptr inbounds %struct.ImVector.26, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !85
  %65 = icmp sgt i32 %64, 1
  br i1 %65, label %66, label %76

66:                                               ; preds = %60
  %67 = load ptr, ptr %5, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ImGuiTabBar, ptr %67, i32 0, i32 0
  %69 = getelementptr inbounds %struct.ImVector.26, ptr %68, i32 0, i32 2
  %70 = load ptr, ptr %69, align 8, !tbaa !86
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ImGuiTabBar, ptr %71, i32 0, i32 0
  %73 = getelementptr inbounds %struct.ImVector.26, ptr %72, i32 0, i32 0
  %74 = load i32, ptr %73, align 8, !tbaa !85
  %75 = sext i32 %74 to i64
  call void @qsort(ptr noundef %70, i64 noundef %75, i64 noundef 32, ptr noundef @_ZL27TabItemComparerByBeginOrderPKvS0_)
  br label %76

76:                                               ; preds = %66, %60, %52
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = and i32 %77, 192
  %79 = icmp eq i32 %78, 0
  br i1 %79, label %80, label %83

80:                                               ; preds = %76
  %81 = load i32, ptr %7, align 4, !tbaa !9
  %82 = or i32 %81, 64
  store i32 %82, ptr %7, align 4, !tbaa !9
  br label %83

83:                                               ; preds = %80, %76
  %84 = load i32, ptr %7, align 4, !tbaa !9
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ImGuiTabBar, ptr %85, i32 0, i32 16
  store i32 %84, ptr %86, align 8, !tbaa !84
  %87 = load ptr, ptr %6, align 8, !tbaa !5
  %88 = load ptr, ptr %5, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.ImGuiTabBar, ptr %88, i32 0, i32 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %89, ptr align 4 %87, i64 16, i1 false), !tbaa.struct !87
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ImGuiTabBar, ptr %90, i32 0, i32 20
  store i8 1, ptr %91, align 2, !tbaa !89
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiTabBar, ptr %92, i32 0, i32 5
  %94 = load i32, ptr %93, align 8, !tbaa !82
  %95 = load ptr, ptr %5, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ImGuiTabBar, ptr %95, i32 0, i32 6
  store i32 %94, ptr %96, align 4, !tbaa !90
  %97 = load ptr, ptr %8, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiContext, ptr %97, i32 0, i32 11
  %99 = load i32, ptr %98, align 8, !tbaa !83
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.ImGuiTabBar, ptr %100, i32 0, i32 5
  store i32 %99, ptr %101, align 8, !tbaa !82
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ImGuiContext, ptr %102, i32 0, i32 4
  %104 = getelementptr inbounds %struct.ImGuiStyle, ptr %103, i32 0, i32 11
  %105 = load ptr, ptr %5, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ImGuiTabBar, ptr %105, i32 0, i32 23
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %106, ptr align 8 %104, i64 8, i1 false), !tbaa.struct !91
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.ImGuiTabBar, ptr %107, i32 0, i32 19
  store i8 0, ptr %108, align 1, !tbaa !92
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ImGuiTabBar, ptr %109, i32 0, i32 7
  %111 = getelementptr inbounds %struct.ImRect, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds %struct.ImVec2, ptr %111, i32 0, i32 0
  %113 = load float, ptr %112, align 8, !tbaa !93
  %114 = load ptr, ptr %9, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ImGuiWindow, ptr %114, i32 0, i32 51
  %116 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %115, i32 0, i32 0
  %117 = getelementptr inbounds %struct.ImVec2, ptr %116, i32 0, i32 0
  store float %113, ptr %117, align 8, !tbaa !94
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.ImGuiTabBar, ptr %118, i32 0, i32 7
  %120 = getelementptr inbounds %struct.ImRect, ptr %119, i32 0, i32 1
  %121 = getelementptr inbounds %struct.ImVec2, ptr %120, i32 0, i32 1
  %122 = load float, ptr %121, align 4, !tbaa !95
  %123 = load ptr, ptr %8, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.ImGuiContext, ptr %123, i32 0, i32 4
  %125 = getelementptr inbounds %struct.ImGuiStyle, ptr %124, i32 0, i32 14
  %126 = getelementptr inbounds %struct.ImVec2, ptr %125, i32 0, i32 1
  %127 = load float, ptr %126, align 4, !tbaa !96
  %128 = fadd float %122, %127
  %129 = load ptr, ptr %9, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ImGuiWindow, ptr %129, i32 0, i32 51
  %131 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %130, i32 0, i32 0
  %132 = getelementptr inbounds %struct.ImVec2, ptr %131, i32 0, i32 1
  store float %128, ptr %132, align 4, !tbaa !97
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  %133 = load i32, ptr %7, align 4, !tbaa !9
  %134 = and i32 %133, 2097152
  %135 = icmp ne i32 %134, 0
  %136 = zext i1 %135 to i64
  %137 = select i1 %135, i32 35, i32 37
  %138 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %137, float noundef 1.000000e+00)
  store i32 %138, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  %139 = load ptr, ptr %5, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ImGuiTabBar, ptr %139, i32 0, i32 7
  %141 = getelementptr inbounds %struct.ImRect, ptr %140, i32 0, i32 1
  %142 = getelementptr inbounds %struct.ImVec2, ptr %141, i32 0, i32 1
  %143 = load float, ptr %142, align 4, !tbaa !95
  %144 = fsub float %143, 1.000000e+00
  store float %144, ptr %14, align 4, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %145 = load ptr, ptr %5, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.ImGuiTabBar, ptr %145, i32 0, i32 7
  %147 = getelementptr inbounds %struct.ImRect, ptr %146, i32 0, i32 0
  %148 = getelementptr inbounds %struct.ImVec2, ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 8, !tbaa !93
  %150 = load ptr, ptr %9, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.ImGuiWindow, ptr %150, i32 0, i32 8
  %152 = getelementptr inbounds %struct.ImVec2, ptr %151, i32 0, i32 0
  %153 = load float, ptr %152, align 8, !tbaa !98
  %154 = fmul float %153, 5.000000e-01
  %155 = fptosi float %154 to i32
  %156 = sitofp i32 %155 to float
  %157 = fsub float %149, %156
  store float %157, ptr %15, align 4, !tbaa !88
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %158 = load ptr, ptr %5, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.ImGuiTabBar, ptr %158, i32 0, i32 7
  %160 = getelementptr inbounds %struct.ImRect, ptr %159, i32 0, i32 1
  %161 = getelementptr inbounds %struct.ImVec2, ptr %160, i32 0, i32 0
  %162 = load float, ptr %161, align 8, !tbaa !99
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.ImGuiWindow, ptr %163, i32 0, i32 8
  %165 = getelementptr inbounds %struct.ImVec2, ptr %164, i32 0, i32 0
  %166 = load float, ptr %165, align 8, !tbaa !98
  %167 = fmul float %166, 5.000000e-01
  %168 = fptosi float %167 to i32
  %169 = sitofp i32 %168 to float
  %170 = fadd float %162, %169
  store float %170, ptr %16, align 4, !tbaa !88
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.ImGuiWindow, ptr %171, i32 0, i32 69
  %173 = load ptr, ptr %172, align 8, !tbaa !100
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #7
  %174 = load float, ptr %15, align 4, !tbaa !88
  %175 = load float, ptr %14, align 4, !tbaa !88
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %17, float noundef %174, float noundef %175)
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %176 = load float, ptr %16, align 4, !tbaa !88
  %177 = load float, ptr %14, align 4, !tbaa !88
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef %176, float noundef %177)
  %178 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(224) %173, ptr noundef nonnull align 4 dereferenceable(8) %17, ptr noundef nonnull align 4 dereferenceable(8) %18, i32 noundef %178, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  store i1 true, ptr %4, align 1
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %179

179:                                              ; preds = %83, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #7
  %180 = load i1, ptr %4, align 1
  ret i1 %180
}

declare void @_ZN5ImGui14PushOverrideIDEj(i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8ImVectorI15ImGuiPtrOrIndexE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(12)) #6 align 2

; Function Attrs: mustprogress uwtable
declare hidden { ptr, i32 } @_ZL22GetTabBarRefFromTabBarP11ImGuiTabBar(ptr noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL27TabItemComparerByBeginOrderPKvS0_(ptr noundef, ptr noundef) #2

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

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


; 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.ImGuiPtrOrIndex = type <{ ptr, i32, [4 x i8] }>
%struct.ImVec2 = type { float, float }

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [94 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [2 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti = external hidden unnamed_addr constant [75 x i8], align 1

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

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

; Function Attrs: mustprogress 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

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

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

; Function Attrs: nofree
declare void @qsort(ptr noundef, i64 noundef, i64 noundef, ptr nocapture noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti(ptr noundef %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %1, i32 noundef %2) local_unnamed_addr #6 {
  %4 = alloca %struct.ImGuiPtrOrIndex, align 8
  %5 = alloca %struct.ImVec2, align 4
  %6 = alloca %struct.ImVec2, align 4
  %7 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %7, i64 6800
  %9 = load ptr, ptr %8, align 8, !tbaa !9
  %10 = getelementptr inbounds i8, ptr %9, i64 139
  %11 = load i8, ptr %10, align 1, !tbaa !66, !range !75, !noundef !76
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %79, label %13

13:                                               ; preds = %3
  %14 = and i32 %2, 1048576
  %15 = icmp eq i32 %14, 0
  br i1 %15, label %16, label %19

16:                                               ; preds = %13
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i32, ptr %17, align 8, !tbaa !77
  tail call void @_ZN5ImGui14PushOverrideIDEj(i32 noundef %18)
  br label %19

19:                                               ; preds = %16, %13
  %20 = getelementptr inbounds i8, ptr %7, i64 8328
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %21 = tail call { ptr, i32 } @_ZL22GetTabBarRefFromTabBarP11ImGuiTabBar(ptr noundef %0)
  %.fca.0.extract = extractvalue { ptr, i32 } %21, 0
  %.fca.1.extract = extractvalue { ptr, i32 } %21, 1
  store ptr %.fca.0.extract, ptr %4, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store i32 %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  call void @_ZN8ImVectorI15ImGuiPtrOrIndexE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %20, ptr noundef nonnull align 8 dereferenceable(12) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  %22 = getelementptr inbounds i8, ptr %7, i64 8280
  store ptr %0, ptr %22, align 8, !tbaa !80
  %23 = getelementptr inbounds i8, ptr %0, i64 32
  %24 = load i32, ptr %23, align 8, !tbaa !81
  %25 = getelementptr inbounds i8, ptr %7, i64 6680
  %26 = load i32, ptr %25, align 8, !tbaa !82
  %27 = icmp eq i32 %24, %26
  br i1 %27, label %28, label %29

28:                                               ; preds = %19
  call void @__assert_fail(ptr noundef nonnull @.str.22, ptr noundef nonnull @.str.1, i32 noundef 6861, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui13BeginTabBarExEP11ImGuiTabBarRK6ImRecti) #9
  unreachable

29:                                               ; preds = %19
  %30 = getelementptr inbounds i8, ptr %0, i64 88
  %31 = load i32, ptr %30, align 8, !tbaa !83
  %32 = xor i32 %31, %2
  %33 = and i32 %32, 1
  %.not = icmp eq i32 %33, 0
  br i1 %.not, label %41, label %34

34:                                               ; preds = %29
  %35 = load i32, ptr %0, align 8, !tbaa !84
  %36 = icmp sgt i32 %35, 1
  br i1 %36, label %37, label %41

37:                                               ; preds = %34
  %38 = getelementptr inbounds i8, ptr %0, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !85
  %40 = zext nneg i32 %35 to i64
  call void @qsort(ptr noundef %39, i64 noundef %40, i64 noundef 32, ptr noundef nonnull @_ZL27TabItemComparerByBeginOrderPKvS0_)
  %.pre = load i32, ptr %23, align 8, !tbaa !81
  br label %41

41:                                               ; preds = %37, %34, %29
  %42 = phi i32 [ %.pre, %37 ], [ %24, %34 ], [ %24, %29 ]
  %43 = and i32 %2, 192
  %44 = icmp eq i32 %43, 0
  %45 = or disjoint i32 %2, 64
  %spec.select = select i1 %44, i32 %45, i32 %2
  store i32 %spec.select, ptr %30, align 8, !tbaa !83
  %46 = getelementptr inbounds i8, ptr %0, i64 40
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %46, ptr noundef nonnull align 4 dereferenceable(16) %1, i64 16, i1 false), !tbaa.struct !86
  %47 = getelementptr inbounds i8, ptr %0, i64 98
  store i8 1, ptr %47, align 2, !tbaa !88
  %48 = getelementptr inbounds i8, ptr %0, i64 36
  store i32 %42, ptr %48, align 4, !tbaa !89
  %49 = load i32, ptr %25, align 8, !tbaa !82
  store i32 %49, ptr %23, align 8, !tbaa !81
  %50 = getelementptr inbounds i8, ptr %7, i64 5536
  %51 = getelementptr inbounds i8, ptr %0, i64 104
  %52 = load i64, ptr %50, align 8
  store i64 %52, ptr %51, align 8
  %53 = getelementptr inbounds i8, ptr %0, i64 97
  store i8 0, ptr %53, align 1, !tbaa !90
  %54 = load float, ptr %46, align 8, !tbaa !91
  %55 = getelementptr inbounds i8, ptr %9, i64 216
  store float %54, ptr %55, align 8, !tbaa !92
  %56 = getelementptr inbounds i8, ptr %0, i64 48
  %57 = getelementptr inbounds i8, ptr %0, i64 52
  %58 = load float, ptr %57, align 4, !tbaa !93
  %59 = getelementptr inbounds i8, ptr %7, i64 5556
  %60 = load float, ptr %59, align 4, !tbaa !94
  %61 = fadd float %58, %60
  %62 = getelementptr inbounds i8, ptr %9, i64 220
  store float %61, ptr %62, align 4, !tbaa !95
  %63 = and i32 %spec.select, 2097152
  %.not48 = icmp eq i32 %63, 0
  %64 = select i1 %.not48, i32 37, i32 35
  %65 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef %64, float noundef 1.000000e+00)
  %66 = load float, ptr %57, align 4, !tbaa !93
  %67 = fadd float %66, -1.000000e+00
  %68 = load float, ptr %46, align 8, !tbaa !91
  %69 = getelementptr inbounds i8, ptr %9, i64 56
  %70 = load float, ptr %69, align 8, !tbaa !96
  %71 = fmul float %70, 5.000000e-01
  %72 = fptosi float %71 to i32
  %73 = sitofp i32 %72 to float
  %74 = fsub float %68, %73
  %75 = load float, ptr %56, align 8, !tbaa !97
  %76 = fadd float %75, %73
  %77 = getelementptr inbounds i8, ptr %9, i64 720
  %78 = load ptr, ptr %77, align 8, !tbaa !98
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %5, float noundef %74, float noundef %67)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #8
  call void @_ZN6ImVec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %6, float noundef %76, float noundef %67)
  call void @_ZN10ImDrawList7AddLineERK6ImVec2S2_jf(ptr noundef nonnull align 8 dereferenceable(224) %78, ptr noundef nonnull align 4 dereferenceable(8) %5, ptr noundef nonnull align 4 dereferenceable(8) %6, i32 noundef %65, float noundef 1.000000e+00)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #8
  br label %79

79:                                               ; preds = %3, %41
  %.0 = xor i1 %12, true
  ret i1 %.0
}

declare void @_ZN5ImGui14PushOverrideIDEj(i32 noundef) local_unnamed_addr #4

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

; Function Attrs: mustprogress uwtable
declare hidden { ptr, i32 } @_ZL22GetTabBarRefFromTabBarP11ImGuiTabBar(ptr noundef) local_unnamed_addr #6

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL27TabItemComparerByBeginOrderPKvS0_(ptr noundef, ptr noundef) #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nofree "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"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { 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 #8 = { nounwind }
attributes #9 = { noreturn nounwind }

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass