; LLVM IR from hadryansalles/Luz :: deps/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.ImGuiTabBar = type { %struct.ImVector.43, i32, i32, i32, i32, i32, i32, i32, %struct.ImRect, float, float, float, float, float, float, float, float, float, float, float, float, i32, i16, i8, i8, i8, i8, i16, i16, float, %struct.ImVec2, %struct.ImVec2, %struct.ImGuiTextBuffer }
%struct.ImVector.43 = type { i32, i32, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.33 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTabItem = type <{ i32, i32, ptr, i32, i32, float, float, float, float, i32, i16, i16, i8, [7 x i8] }>
%struct.ImGuiWindow = type { ptr, ptr, i32, i32, i32, i32, %struct.ImGuiWindowClass, ptr, i32, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, 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, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i32, i8, i8, i8, i8, 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, i32, float, float, %struct.ImGuiStorage, %struct.ImVector.3, float, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], [2 x %struct.ImVec2], i32, i32, i32, i8, i8, i16, %struct.ImGuiWindowDockStyle, ptr, ptr, i32, i32, %struct.ImRect }
%struct.ImGuiWindowClass = type <{ i32, i32, i32, i32, i32, i32, i32, i8, i8, [2 x i8] }>
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.1, %struct.ImVector.1 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.10 }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImGuiWindowDockStyle = type { [6 x i32] }

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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(49) ptr @_ZN8ImVectorI12ImGuiTabItemEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN5ImGui48TabBarFindMostRecentlySelectedTabForActiveWindowEP11ImGuiTabBar(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store ptr null, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %6

6:                                                ; preds = %45, %1
  %7 = load i32, ptr %4, align 4, !tbaa !9
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.ImGuiTabBar, ptr %8, i32 0, i32 0
  %10 = getelementptr inbounds %struct.ImVector.43, ptr %9, i32 0, i32 0
  %11 = load i32, ptr %10, align 8, !tbaa !11
  %12 = icmp slt i32 %7, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %48

14:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ImGuiTabBar, ptr %15, i32 0, i32 0
  %17 = load i32, ptr %4, align 4, !tbaa !9
  %18 = call noundef nonnull align 8 dereferenceable(49) ptr @_ZN8ImVectorI12ImGuiTabItemEixEi(ptr noundef nonnull align 8 dereferenceable(16) %16, i32 noundef %17)
  store ptr %18, ptr %5, align 8, !tbaa !5
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %29, label %21

21:                                               ; preds = %14
  %22 = load ptr, ptr %3, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiTabItem, ptr %22, i32 0, i32 4
  %24 = load i32, ptr %23, align 4, !tbaa !21
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.ImGuiTabItem, ptr %25, i32 0, i32 4
  %27 = load i32, ptr %26, align 4, !tbaa !21
  %28 = icmp slt i32 %24, %27
  br i1 %28, label %29, label %44

29:                                               ; preds = %21, %14
  %30 = load ptr, ptr %5, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiTabItem, ptr %30, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !23
  %33 = icmp ne ptr %32, null
  br i1 %33, label %34, label %43

34:                                               ; preds = %29
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.ImGuiTabItem, ptr %35, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !23
  %38 = getelementptr inbounds %struct.ImGuiWindow, ptr %37, i32 0, i32 40
  %39 = load i8, ptr %38, align 4, !tbaa !24, !range !50, !noundef !51
  %40 = trunc i8 %39 to i1
  br i1 %40, label %41, label %43

41:                                               ; preds = %34
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %42, ptr %3, align 8, !tbaa !5
  br label %43

43:                                               ; preds = %41, %34, %29
  br label %44

44:                                               ; preds = %43, %21
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %4, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %4, align 4, !tbaa !9
  br label %6, !llvm.loop !52

48:                                               ; preds = %13
  %49 = load ptr, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  ret ptr %49
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { 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, !10, i64 0}
!12 = !{!"_ZTS11ImGuiTabBar", !13, i64 0, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !14, i64 44, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !10, i64 108, !17, i64 112, !7, i64 114, !18, i64 115, !18, i64 116, !18, i64 117, !17, i64 118, !17, i64 120, !16, i64 124, !15, i64 128, !15, i64 136, !19, i64 144}
!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 = !{!"short", !7, i64 0}
!18 = !{!"bool", !7, i64 0}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !10, i64 0, !10, i64 4, !6, i64 8}
!21 = !{!22, !10, i64 20}
!22 = !{!"_ZTS12ImGuiTabItem", !10, i64 0, !10, i64 4, !6, i64 8, !10, i64 16, !10, i64 20, !16, i64 24, !16, i64 28, !16, i64 32, !16, i64 36, !10, i64 40, !17, i64 44, !17, i64 46, !18, i64 48}
!23 = !{!22, !6, i64 8}
!24 = !{!25, !18, i64 244}
!25 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !6, i64 8, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !26, i64 32, !6, i64 64, !10, i64 72, !15, i64 76, !10, i64 84, !15, i64 88, !15, i64 96, !15, i64 104, !15, i64 112, !15, i64 120, !15, i64 128, !15, i64 136, !16, i64 144, !16, i64 148, !16, i64 152, !16, i64 156, !16, i64 160, !16, i64 164, !16, i64 168, !16, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !15, i64 192, !15, i64 200, !15, i64 208, !15, i64 216, !15, i64 224, !15, i64 232, !18, i64 240, !18, i64 241, !18, i64 242, !18, i64 243, !18, i64 244, !18, i64 245, !18, i64 246, !18, i64 247, !18, i64 248, !18, i64 249, !18, i64 250, !18, i64 251, !18, i64 252, !18, i64 253, !7, i64 254, !7, i64 255, !17, i64 256, !17, i64 258, !17, i64 260, !17, i64 262, !17, i64 264, !10, i64 268, !7, i64 272, !7, i64 273, !18, i64 274, !10, i64 276, !7, i64 280, !7, i64 281, !7, i64 282, !7, i64 283, !10, i64 284, !10, i64 285, !10, i64 286, !10, i64 287, !15, i64 288, !15, i64 296, !27, i64 304, !28, i64 320, !14, i64 552, !14, i64 568, !14, i64 584, !14, i64 600, !14, i64 616, !14, i64 632, !14, i64 648, !34, i64 664, !34, i64 668, !10, i64 672, !10, i64 676, !16, i64 680, !16, i64 684, !35, i64 688, !37, i64 704, !16, i64 720, !16, i64 724, !10, i64 728, !6, i64 736, !38, i64 744, !6, i64 944, !6, i64 952, !6, i64 960, !6, i64 968, !6, i64 976, !6, i64 984, !6, i64 992, !6, i64 1000, !6, i64 1008, !7, i64 1016, !7, i64 1024, !7, i64 1056, !10, i64 1072, !10, i64 1076, !10, i64 1080, !18, i64 1084, !18, i64 1085, !18, i64 1085, !18, i64 1085, !18, i64 1085, !17, i64 1086, !49, i64 1088, !6, i64 1112, !6, i64 1120, !10, i64 1128, !10, i64 1132, !14, i64 1136}
!26 = !{!"_ZTS16ImGuiWindowClass", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !18, i64 28, !18, i64 29}
!27 = !{!"_ZTS8ImVectorIjE", !10, i64 0, !10, i64 4, !6, i64 8}
!28 = !{!"_ZTS19ImGuiWindowTempData", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !15, i64 32, !15, i64 40, !15, i64 48, !16, i64 56, !16, i64 60, !18, i64 64, !18, i64 65, !29, i64 68, !29, i64 72, !29, i64 76, !15, i64 80, !30, i64 88, !17, i64 92, !17, i64 94, !18, i64 96, !18, i64 97, !18, i64 98, !18, i64 99, !15, i64 100, !31, i64 108, !10, i64 136, !10, i64 140, !32, i64 144, !6, i64 160, !6, i64 168, !10, i64 176, !10, i64 180, !10, i64 184, !16, i64 188, !16, i64 192, !33, i64 200, !33, i64 216}
!29 = !{!"_ZTS6ImVec1", !16, i64 0}
!30 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!31 = !{!"_ZTS16ImGuiMenuColumns", !10, i64 0, !10, i64 4, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !7, i64 18}
!32 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !10, i64 0, !10, i64 4, !6, i64 8}
!33 = !{!"_ZTS8ImVectorIfE", !10, i64 0, !10, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVec2ih", !17, i64 0, !17, i64 2}
!35 = !{!"_ZTS12ImGuiStorage", !36, i64 0}
!36 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !10, i64 0, !10, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !10, i64 0, !10, i64 4, !6, i64 8}
!38 = !{!"_ZTS10ImDrawList", !39, i64 0, !40, i64 16, !41, i64 32, !10, i64 48, !10, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !42, i64 88, !43, i64 104, !44, i64 120, !45, i64 136, !47, i64 168, !16, i64 192}
!39 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !10, i64 0, !10, i64 4, !6, i64 8}
!40 = !{!"_ZTS8ImVectorItE", !10, i64 0, !10, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI10ImDrawVertE", !10, i64 0, !10, i64 4, !6, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec4E", !10, i64 0, !10, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorIPvE", !10, i64 0, !10, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI6ImVec2E", !10, i64 0, !10, i64 4, !6, i64 8}
!45 = !{!"_ZTS15ImDrawCmdHeader", !46, i64 0, !6, i64 16, !10, i64 24}
!46 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!47 = !{!"_ZTS18ImDrawListSplitter", !10, i64 0, !10, i64 4, !48, i64 8}
!48 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !10, i64 0, !10, i64 4, !6, i64 8}
!49 = !{!"_ZTS20ImGuiWindowDockStyle", !7, i64 0}
!50 = !{i8 0, i8 2}
!51 = !{}
!52 = distinct !{!52, !53}
!53 = !{!"llvm.loop.mustprogress"}


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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef ptr @_ZN5ImGui48TabBarFindMostRecentlySelectedTabForActiveWindowEP11ImGuiTabBar(ptr noundef %0) local_unnamed_addr #1 {
  %2 = load i32, ptr %0, align 8, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %19, %1
  %.0.lcssa = phi ptr [ null, %1 ], [ %.1, %19 ]
  ret ptr %.0.lcssa

.lr.ph:                                           ; preds = %1, %19
  %.014 = phi ptr [ %.1, %19 ], [ null, %1 ]
  %.01113 = phi i32 [ %20, %19 ], [ 0, %1 ]
  %4 = tail call noundef nonnull align 8 dereferenceable(49) ptr @_ZN8ImVectorI12ImGuiTabItemEixEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.01113)
  %5 = icmp eq ptr %.014, null
  br i1 %5, label %12, label %6

6:                                                ; preds = %.lr.ph
  %7 = getelementptr inbounds i8, ptr %.014, i64 20
  %8 = load i32, ptr %7, align 4, !tbaa !19
  %9 = getelementptr inbounds i8, ptr %4, i64 20
  %10 = load i32, ptr %9, align 4, !tbaa !19
  %11 = icmp slt i32 %8, %10
  br i1 %11, label %12, label %19

12:                                               ; preds = %6, %.lr.ph
  %13 = getelementptr inbounds i8, ptr %4, i64 8
  %14 = load ptr, ptr %13, align 8, !tbaa !21
  %.not = icmp eq ptr %14, null
  br i1 %.not, label %19, label %15

15:                                               ; preds = %12
  %16 = getelementptr inbounds i8, ptr %14, i64 244
  %17 = load i8, ptr %16, align 4, !tbaa !22, !range !48, !noundef !49
  %18 = trunc nuw i8 %17 to i1
  %spec.select = select i1 %18, ptr %4, ptr %.014
  br label %19

19:                                               ; preds = %15, %12, %6
  %.1 = phi ptr [ %.014, %12 ], [ %.014, %6 ], [ %spec.select, %15 ]
  %20 = add nuw nsw i32 %.01113, 1
  %21 = load i32, ptr %0, align 8, !tbaa !5
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %.lr.ph, label %._crit_edge, !llvm.loop !50
}

attributes #0 = { 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 #1 = { 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" }

!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, !8, i64 0}
!6 = !{!"_ZTS11ImGuiTabBar", !7, i64 0, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !8, i64 32, !8, i64 36, !8, i64 40, !12, i64 44, !14, i64 60, !14, i64 64, !14, i64 68, !14, i64 72, !14, i64 76, !14, i64 80, !14, i64 84, !14, i64 88, !14, i64 92, !14, i64 96, !14, i64 100, !14, i64 104, !8, i64 108, !15, i64 112, !9, i64 114, !16, i64 115, !16, i64 116, !16, i64 117, !15, i64 118, !15, i64 120, !14, i64 124, !13, i64 128, !13, i64 136, !17, i64 144}
!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 = !{!"short", !9, i64 0}
!16 = !{!"bool", !9, i64 0}
!17 = !{!"_ZTS15ImGuiTextBuffer", !18, i64 0}
!18 = !{!"_ZTS8ImVectorIcE", !8, i64 0, !8, i64 4, !11, i64 8}
!19 = !{!20, !8, i64 20}
!20 = !{!"_ZTS12ImGuiTabItem", !8, i64 0, !8, i64 4, !11, i64 8, !8, i64 16, !8, i64 20, !14, i64 24, !14, i64 28, !14, i64 32, !14, i64 36, !8, i64 40, !15, i64 44, !15, i64 46, !16, i64 48}
!21 = !{!20, !11, i64 8}
!22 = !{!23, !16, i64 244}
!23 = !{!"_ZTS11ImGuiWindow", !11, i64 0, !11, i64 8, !8, i64 16, !8, i64 20, !8, i64 24, !8, i64 28, !24, i64 32, !11, i64 64, !8, i64 72, !13, i64 76, !8, i64 84, !13, i64 88, !13, i64 96, !13, i64 104, !13, i64 112, !13, i64 120, !13, i64 128, !13, i64 136, !14, i64 144, !14, i64 148, !14, i64 152, !14, i64 156, !14, i64 160, !14, i64 164, !14, i64 168, !14, i64 172, !8, i64 176, !8, i64 180, !8, i64 184, !8, i64 188, !13, i64 192, !13, i64 200, !13, i64 208, !13, i64 216, !13, i64 224, !13, i64 232, !16, i64 240, !16, i64 241, !16, i64 242, !16, i64 243, !16, i64 244, !16, i64 245, !16, i64 246, !16, i64 247, !16, i64 248, !16, i64 249, !16, i64 250, !16, i64 251, !16, i64 252, !16, i64 253, !9, i64 254, !9, i64 255, !15, i64 256, !15, i64 258, !15, i64 260, !15, i64 262, !15, i64 264, !8, i64 268, !9, i64 272, !9, i64 273, !16, i64 274, !8, i64 276, !9, i64 280, !9, i64 281, !9, i64 282, !9, i64 283, !8, i64 284, !8, i64 285, !8, i64 286, !8, i64 287, !13, i64 288, !13, i64 296, !25, i64 304, !26, i64 320, !12, i64 552, !12, i64 568, !12, i64 584, !12, i64 600, !12, i64 616, !12, i64 632, !12, i64 648, !32, i64 664, !32, i64 668, !8, i64 672, !8, i64 676, !14, i64 680, !14, i64 684, !33, i64 688, !35, i64 704, !14, i64 720, !14, i64 724, !8, i64 728, !11, i64 736, !36, i64 744, !11, i64 944, !11, i64 952, !11, i64 960, !11, i64 968, !11, i64 976, !11, i64 984, !11, i64 992, !11, i64 1000, !11, i64 1008, !9, i64 1016, !9, i64 1024, !9, i64 1056, !8, i64 1072, !8, i64 1076, !8, i64 1080, !16, i64 1084, !16, i64 1085, !16, i64 1085, !16, i64 1085, !16, i64 1085, !15, i64 1086, !47, i64 1088, !11, i64 1112, !11, i64 1120, !8, i64 1128, !8, i64 1132, !12, i64 1136}
!24 = !{!"_ZTS16ImGuiWindowClass", !8, i64 0, !8, i64 4, !8, i64 8, !8, i64 12, !8, i64 16, !8, i64 20, !8, i64 24, !16, i64 28, !16, i64 29}
!25 = !{!"_ZTS8ImVectorIjE", !8, i64 0, !8, i64 4, !11, i64 8}
!26 = !{!"_ZTS19ImGuiWindowTempData", !13, i64 0, !13, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !13, i64 48, !14, i64 56, !14, i64 60, !16, i64 64, !16, i64 65, !27, i64 68, !27, i64 72, !27, i64 76, !13, i64 80, !28, i64 88, !15, i64 92, !15, i64 94, !16, i64 96, !16, i64 97, !16, i64 98, !16, i64 99, !13, i64 100, !29, i64 108, !8, i64 136, !8, i64 140, !30, i64 144, !11, i64 160, !11, i64 168, !8, i64 176, !8, i64 180, !8, i64 184, !14, i64 188, !14, i64 192, !31, i64 200, !31, i64 216}
!27 = !{!"_ZTS6ImVec1", !14, i64 0}
!28 = !{!"_ZTS13ImGuiNavLayer", !9, i64 0}
!29 = !{!"_ZTS16ImGuiMenuColumns", !8, i64 0, !8, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !9, i64 18}
!30 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !8, i64 0, !8, i64 4, !11, i64 8}
!31 = !{!"_ZTS8ImVectorIfE", !8, i64 0, !8, i64 4, !11, i64 8}
!32 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !8, i64 0, !8, i64 4, !11, i64 8}
!35 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !8, i64 0, !8, i64 4, !11, i64 8}
!36 = !{!"_ZTS10ImDrawList", !37, i64 0, !38, i64 16, !39, i64 32, !8, i64 48, !8, i64 52, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !40, i64 88, !41, i64 104, !42, i64 120, !43, i64 136, !45, i64 168, !14, i64 192}
!37 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !8, i64 0, !8, i64 4, !11, i64 8}
!38 = !{!"_ZTS8ImVectorItE", !8, i64 0, !8, i64 4, !11, i64 8}
!39 = !{!"_ZTS8ImVectorI10ImDrawVertE", !8, i64 0, !8, i64 4, !11, i64 8}
!40 = !{!"_ZTS8ImVectorI6ImVec4E", !8, i64 0, !8, i64 4, !11, i64 8}
!41 = !{!"_ZTS8ImVectorIPvE", !8, i64 0, !8, i64 4, !11, i64 8}
!42 = !{!"_ZTS8ImVectorI6ImVec2E", !8, i64 0, !8, i64 4, !11, i64 8}
!43 = !{!"_ZTS15ImDrawCmdHeader", !44, i64 0, !11, i64 16, !8, i64 24}
!44 = !{!"_ZTS6ImVec4", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!45 = !{!"_ZTS18ImDrawListSplitter", !8, i64 0, !8, i64 4, !46, i64 8}
!46 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !8, i64 0, !8, i64 4, !11, i64 8}
!47 = !{!"_ZTS20ImGuiWindowDockStyle", !9, i64 0}
!48 = !{i8 0, i8 2}
!49 = !{}
!50 = distinct !{!50, !51}
!51 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass