; LLVM IR from xhub/reshop :: gui/external/imgui (imgui_tables)

; 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.ImGuiContext = type { i8, i8, %struct.ImGuiIO, %struct.ImGuiPlatformIO, %struct.ImGuiStyle, ptr, float, float, float, float, %struct.ImDrawListSharedData, double, i32, i32, i32, i32, i8, i8, i8, i8, ptr, [16 x i8], %struct.ImVector.1, %struct.ImVector.1, i32, i32, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.2, %struct.ImVector.3, %struct.ImGuiStorage, i32, %struct.ImVec2, i32, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ImVec2, i32, i32, float, %struct.ImVec2, %struct.ImVec2, i32, i32, i32, i32, i32, float, float, i8, i8, i8, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, i8, %struct.ImVec2, ptr, i32, i32, %struct.ImGuiDeactivatedItemData, %struct.ImGuiDataTypeStorage, i32, float, double, double, double, %struct.ImBitArray, [154 x %struct.ImGuiKeyOwnerData], %struct.ImGuiKeyRoutingTable, i32, i8, i32, i32, i32, i32, %struct.ImGuiNextItemData, %struct.ImGuiLastItemData, %struct.ImGuiNextWindowData, i8, i32, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.9, %struct.ImVector.10, %struct.ImVector.11, %struct.ImVector.12, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, i8, i8, i8, i8, i32, ptr, i32, i32, i32, i32, i32, i32, %struct.ImVector.9, i32, float, i32, i32, i32, i64, i8, i8, i8, i8, %struct.ImGuiNavItemData, i8, i8, i8, i32, i32, i32, i32, i32, i32, %struct.ImRect, %struct.ImRect, i32, i32, i32, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, %struct.ImGuiNavItemData, i32, i32, i32, i32, i8, i8, i32, i32, ptr, ptr, ptr, float, float, i8, i32, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, i32, i32, i32, [4 x i8], %struct.ImGuiPayload, %struct.ImRect, %struct.ImRect, i32, i32, float, i32, i32, i32, i32, %struct.ImVector.15, [16 x i8], i32, %struct.ImVector.16, ptr, i32, i32, %struct.ImVector.17, %struct.ImPool, %struct.ImVector.19, %struct.ImVector.20, ptr, %struct.ImPool.21, %struct.ImVector.23, %struct.ImVector.24, %struct.ImGuiBoxSelectState, ptr, i32, %struct.ImVector.25, %struct.ImPool.26, i32, i32, float, float, i32, i32, i32, float, %struct.ImVec2, %struct.ImGuiInputTextState, %struct.ImGuiInputTextDeactivatedState, %struct.ImFont, i32, %struct.ImGuiDataTypeStorage, i32, i32, i32, i32, i32, float, float, i32, %struct.ImVec4, %struct.ImGuiComboPreviewData, %struct.ImRect, i8, i16, float, float, float, i8, i8, float, float, float, i16, i16, ptr, %struct.ImVector.28, %struct.ImVector.30, %struct.ImGuiTypingSelectState, %struct.ImGuiPlatformImeData, %struct.ImGuiPlatformImeData, i8, float, %struct.ImGuiTextBuffer, %struct.ImVector.31, %struct.ImChunkStream, %struct.ImChunkStream.32, %struct.ImVector.33, i32, [10 x ptr], i8, i32, ptr, ptr, %struct.ImGuiTextBuffer, ptr, ptr, float, i8, i32, i32, i32, ptr, ptr, %struct.ImVec2, i8, i32, %struct.ImGuiErrorRecoveryState, ptr, i32, i32, %struct.ImGuiTextBuffer, %struct.ImGuiTextIndex, i32, i32, i8, i8, i8, i32, i8, i8, i8, i32, float, %struct.ImVec4, %struct.ImGuiMetricsConfig, %struct.ImGuiIDStackTool, %struct.ImGuiDebugAllocInfo, [60 x float], i32, i32, float, i32, i32, i32, %struct.ImVector.28, [64 x i8] }
%struct.ImGuiIO = type { i32, i32, %struct.ImVec2, float, float, ptr, ptr, ptr, ptr, float, i8, ptr, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, float, float, float, float, float, float, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, ptr, ptr, ptr, ptr, ptr, i8, i8, i8, i8, i8, i8, i8, float, i32, i32, i32, i32, %struct.ImVec2, ptr, %struct.ImVec2, [5 x i8], float, float, i32, i8, i8, i8, i8, i32, [154 x %struct.ImGuiKeyData], i8, %struct.ImVec2, [5 x %struct.ImVec2], [5 x double], [5 x i8], [5 x i8], [5 x i16], [5 x i16], [5 x i8], [5 x i8], [5 x i8], i8, i8, [5 x float], [5 x float], [5 x float], float, i8, i8, i16, %struct.ImVector, ptr, ptr, ptr }
%struct.ImGuiKeyData = type { i8, float, float, float }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImGuiPlatformIO = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, i16, ptr }
%struct.ImGuiStyle = type { float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, i32, float, float, float, float, %struct.ImVec2, float, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, float, float, float, float, float, %struct.ImVec2, i32, %struct.ImVec2, %struct.ImVec2, float, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i8, i8, i8, float, float, [56 x %struct.ImVec4], float, float, float, i32, i32 }
%struct.ImDrawListSharedData = type <{ %struct.ImVec2, ptr, ptr, float, float, float, float, %struct.ImVec4, i32, [4 x i8], %struct.ImVector.0, [48 x %struct.ImVec2], float, [64 x i8], [4 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImGuiDeactivatedItemData = type { i32, i32, i8, i8 }
%struct.ImBitArray = type { [5 x i32] }
%struct.ImGuiKeyOwnerData = type <{ i32, i32, i8, i8, [2 x i8] }>
%struct.ImGuiKeyRoutingTable = type { [154 x i16], %struct.ImVector.5, %struct.ImVector.5 }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImGuiNextItemData = type <{ i32, i32, i32, [4 x i8], i64, float, i32, i32, i8, i8, %struct.ImGuiDataTypeStorage, [2 x i8], i32, [4 x i8] }>
%struct.ImGuiLastItemData = type { i32, i32, i32, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, i32 }
%struct.ImGuiNextWindowData = type { i32, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i32, i8, %struct.ImRect, ptr, ptr, float, %struct.ImVec2, i32 }
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImVector.7 = type { i32, i32, ptr }
%struct.ImVector.8 = type { i32, i32, ptr }
%struct.ImVector.10 = type { i32, i32, ptr }
%struct.ImVector.11 = type { i32, i32, ptr }
%struct.ImVector.12 = type { i32, i32, ptr }
%struct.ImVector.13 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiNavItemData = type { ptr, i32, i32, %struct.ImRect, i32, float, float, float, i64 }
%struct.ImGuiPayload = type <{ ptr, i32, i32, i32, i32, [33 x i8], i8, i8, [5 x i8] }>
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImVector.16 = type { i32, i32, ptr }
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImPool = type { %struct.ImVector.18, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImPool.21 = type { %struct.ImVector.22, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.22 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiBoxSelectState = type <{ i32, i8, i8, i8, i8, i8, i16, i8, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, [4 x i8], ptr, i8, [3 x i8], %struct.ImRect, %struct.ImRect, %struct.ImRect, [4 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImPool.26 = type { %struct.ImVector.27, %struct.ImGuiStorage, i32, i32 }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type <{ ptr, ptr, i32, i32, i32, [4 x i8], ptr, %struct.ImVector.28, %struct.ImVector.28, %struct.ImVector.28, i32, %struct.ImVec2, float, i8, i8, i8, i8, i32, i32, [4 x i8] }>
%struct.ImGuiInputTextDeactivatedState = type { i32, %struct.ImVector.28 }
%struct.ImFont = type <{ %struct.ImVector.19, float, float, %struct.ImVector, %struct.ImVector.29, ptr, ptr, ptr, i16, i16, i16, i16, float, float, i8, [3 x i8], float, float, float, i32, [2 x i8], [2 x i8] }>
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImGuiDataTypeStorage = type { [8 x i8] }
%struct.ImGuiComboPreviewData = type { %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, i32 }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImGuiTypingSelectState = type <{ %struct.ImGuiTypingSelectRequest, [64 x i8], i32, i32, float, i8, [3 x i8] }>
%struct.ImGuiTypingSelectRequest = type { i32, i32, ptr, i8, i8, i8 }
%struct.ImGuiPlatformImeData = type { i8, %struct.ImVec2, float }
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.28 }
%struct.ImChunkStream.32 = type { %struct.ImVector.28 }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVec2 = type { float, float }
%struct.ImGuiErrorRecoveryState = type { i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16 }
%struct.ImGuiTextBuffer = type { %struct.ImVector.28 }
%struct.ImGuiTextIndex = type <{ %struct.ImVector.10, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i8, i8, i8, i8, i32, i32, i32, i32 }
%struct.ImGuiIDStackTool = type { i32, i32, i32, %struct.ImVector.34, i8, float }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImGuiDebugAllocInfo = type { i32, i32, i16, [6 x %struct.ImGuiDebugAllocEntry] }
%struct.ImGuiDebugAllocEntry = type { i32, i16, i16 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTable = type <{ i32, i32, ptr, ptr, %struct.ImSpan, %struct.ImSpan.41, %struct.ImSpan.42, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i16, i16, float, float, float, float, float, float, i32, i32, [2 x i32], i32, i32, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, ptr, ptr, %struct.ImGuiTextBuffer, ptr, %struct.ImGuiTableInstanceData, %struct.ImVector.43, %struct.ImGuiTableColumnSortSpecs, [4 x i8], %struct.ImVector.44, %struct.ImGuiTableSortSpecs, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, [6 x i8] }>
%struct.ImSpan = type { ptr, ptr }
%struct.ImSpan.41 = type { ptr, ptr }
%struct.ImSpan.42 = type { ptr, ptr }
%struct.ImGuiTableInstanceData = type { i32, float, float, float, i32, i32 }
%struct.ImVector.43 = type { i32, i32, ptr }
%struct.ImGuiTableColumnSortSpecs = type <{ i32, i16, i16, i8, [3 x i8] }>
%struct.ImVector.44 = type { i32, i32, ptr }
%struct.ImGuiTableSortSpecs = type <{ ptr, i32, i8, [3 x i8] }>
%struct.ImGuiTableColumn = type <{ i32, float, float, float, float, float, float, float, float, %struct.ImRect, i32, float, float, float, float, float, float, float, i16, i16, i16, i16, i16, i16, i16, i16, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>

@GImGui = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb = external hidden unnamed_addr constant [71 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui27TableFixColumnSortDirectionEP10ImGuiTableP16ImGuiTableColumn(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb(i32 noundef %0, i8 noundef zeroext %1, i1 noundef zeroext %2) #3 {
  %4 = alloca i32, align 4
  %5 = alloca i8, align 1
  %6 = alloca i8, align 1
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i16, align 2
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i8 %1, ptr %5, align 1, !tbaa !9
  %14 = zext i1 %2 to i8
  store i8 %14, ptr %6, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %15 = load ptr, ptr @GImGui, align 8, !tbaa !13
  store ptr %15, ptr %7, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %16 = load ptr, ptr %7, align 8, !tbaa !13
  %17 = getelementptr inbounds %struct.ImGuiContext, ptr %16, i32 0, i32 183
  %18 = load ptr, ptr %17, align 8, !tbaa !15
  store ptr %18, ptr %8, align 8, !tbaa !13
  %19 = load ptr, ptr %8, align 8, !tbaa !13
  %20 = getelementptr inbounds %struct.ImGuiTable, ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 4, !tbaa !95
  %22 = and i32 %21, 67108864
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %25, label %24

24:                                               ; preds = %3
  store i8 0, ptr %6, align 1, !tbaa !11
  br label %25

25:                                               ; preds = %24, %3
  %26 = load ptr, ptr %8, align 8, !tbaa !13
  %27 = getelementptr inbounds %struct.ImGuiTable, ptr %26, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !95
  %29 = and i32 %28, 134217728
  %30 = icmp ne i32 %29, 0
  br i1 %30, label %39, label %31

31:                                               ; preds = %25
  %32 = load i8, ptr %5, align 1, !tbaa !9
  %33 = zext i8 %32 to i32
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %36

35:                                               ; preds = %31
  br label %38

36:                                               ; preds = %31
  call void @__assert_fail(ptr noundef @.str.66, ptr noundef @.str.1, i32 noundef 2878, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb) #5
  unreachable

37:                                               ; No predecessors!
  br label %38

38:                                               ; preds = %37, %35
  br label %39

39:                                               ; preds = %38, %25
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #4
  store i16 0, ptr %9, align 2, !tbaa !105
  %40 = load i8, ptr %6, align 1, !tbaa !11, !range !106, !noundef !107
  %41 = trunc i8 %40 to i1
  br i1 %41, label %42, label %63

42:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %59, %42
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = load ptr, ptr %8, align 8, !tbaa !13
  %46 = getelementptr inbounds %struct.ImGuiTable, ptr %45, i32 0, i32 13
  %47 = load i32, ptr %46, align 4, !tbaa !108
  %48 = icmp slt i32 %44, %47
  br i1 %48, label %50, label %49

49:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %62

50:                                               ; preds = %43
  %51 = load i16, ptr %9, align 2, !tbaa !105
  %52 = load ptr, ptr %8, align 8, !tbaa !13
  %53 = getelementptr inbounds %struct.ImGuiTable, ptr %52, i32 0, i32 4
  %54 = load i32, ptr %10, align 4, !tbaa !5
  %55 = call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %53, i32 noundef %54)
  %56 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %55, i32 0, i32 23
  %57 = load i16, ptr %56, align 2, !tbaa !109
  %58 = call noundef signext i16 @_ZL5ImMaxIsET_S0_S0_(i16 noundef signext %51, i16 noundef signext %57)
  store i16 %58, ptr %9, align 2, !tbaa !105
  br label %59

59:                                               ; preds = %50
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %10, align 4, !tbaa !5
  br label %43, !llvm.loop !111

62:                                               ; preds = %49
  br label %63

63:                                               ; preds = %62, %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %64 = load ptr, ptr %8, align 8, !tbaa !13
  %65 = getelementptr inbounds %struct.ImGuiTable, ptr %64, i32 0, i32 4
  %66 = load i32, ptr %4, align 4, !tbaa !5
  %67 = call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %65, i32 noundef %66)
  store ptr %67, ptr %11, align 8, !tbaa !13
  %68 = load i8, ptr %5, align 1, !tbaa !9
  %69 = load ptr, ptr %11, align 8, !tbaa !13
  %70 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %69, i32 0, i32 38
  %71 = load i8, ptr %70, align 1
  %72 = and i8 %68, 3
  %73 = and i8 %71, -4
  %74 = or i8 %73, %72
  store i8 %74, ptr %70, align 1
  %75 = load ptr, ptr %11, align 8, !tbaa !13
  %76 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %75, i32 0, i32 38
  %77 = load i8, ptr %76, align 1
  %78 = and i8 %77, 3
  %79 = zext i8 %78 to i32
  %80 = icmp eq i32 %79, 0
  br i1 %80, label %81, label %84

81:                                               ; preds = %63
  %82 = load ptr, ptr %11, align 8, !tbaa !13
  %83 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %82, i32 0, i32 23
  store i16 -1, ptr %83, align 2, !tbaa !109
  br label %107

84:                                               ; preds = %63
  %85 = load ptr, ptr %11, align 8, !tbaa !13
  %86 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %85, i32 0, i32 23
  %87 = load i16, ptr %86, align 2, !tbaa !109
  %88 = sext i16 %87 to i32
  %89 = icmp eq i32 %88, -1
  br i1 %89, label %93, label %90

90:                                               ; preds = %84
  %91 = load i8, ptr %6, align 1, !tbaa !11, !range !106, !noundef !107
  %92 = trunc i8 %91 to i1
  br i1 %92, label %106, label %93

93:                                               ; preds = %90, %84
  %94 = load i8, ptr %6, align 1, !tbaa !11, !range !106, !noundef !107
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %100

96:                                               ; preds = %93
  %97 = load i16, ptr %9, align 2, !tbaa !105
  %98 = sext i16 %97 to i32
  %99 = add nsw i32 %98, 1
  br label %101

100:                                              ; preds = %93
  br label %101

101:                                              ; preds = %100, %96
  %102 = phi i32 [ %99, %96 ], [ 0, %100 ]
  %103 = trunc i32 %102 to i16
  %104 = load ptr, ptr %11, align 8, !tbaa !13
  %105 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %104, i32 0, i32 23
  store i16 %103, ptr %105, align 2, !tbaa !109
  br label %106

106:                                              ; preds = %101, %90
  br label %107

107:                                              ; preds = %106, %81
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !5
  br label %108

108:                                              ; preds = %132, %107
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = load ptr, ptr %8, align 8, !tbaa !13
  %111 = getelementptr inbounds %struct.ImGuiTable, ptr %110, i32 0, i32 13
  %112 = load i32, ptr %111, align 4, !tbaa !108
  %113 = icmp slt i32 %109, %112
  br i1 %113, label %115, label %114

114:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %135

115:                                              ; preds = %108
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %116 = load ptr, ptr %8, align 8, !tbaa !13
  %117 = getelementptr inbounds %struct.ImGuiTable, ptr %116, i32 0, i32 4
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %117, i32 noundef %118)
  store ptr %119, ptr %13, align 8, !tbaa !13
  %120 = load ptr, ptr %13, align 8, !tbaa !13
  %121 = load ptr, ptr %11, align 8, !tbaa !13
  %122 = icmp ne ptr %120, %121
  br i1 %122, label %123, label %129

123:                                              ; preds = %115
  %124 = load i8, ptr %6, align 1, !tbaa !11, !range !106, !noundef !107
  %125 = trunc i8 %124 to i1
  br i1 %125, label %129, label %126

126:                                              ; preds = %123
  %127 = load ptr, ptr %13, align 8, !tbaa !13
  %128 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %127, i32 0, i32 23
  store i16 -1, ptr %128, align 2, !tbaa !109
  br label %129

129:                                              ; preds = %126, %123, %115
  %130 = load ptr, ptr %8, align 8, !tbaa !13
  %131 = load ptr, ptr %13, align 8, !tbaa !13
  call void @_ZN5ImGui27TableFixColumnSortDirectionEP10ImGuiTableP16ImGuiTableColumn(ptr noundef %130, ptr noundef %131)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %132

132:                                              ; preds = %129
  %133 = load i32, ptr %12, align 4, !tbaa !5
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %12, align 4, !tbaa !5
  br label %108, !llvm.loop !113

135:                                              ; preds = %114
  %136 = load ptr, ptr %8, align 8, !tbaa !13
  %137 = getelementptr inbounds %struct.ImGuiTable, ptr %136, i32 0, i32 100
  store i8 1, ptr %137, align 2, !tbaa !114
  %138 = load ptr, ptr %8, align 8, !tbaa !13
  %139 = getelementptr inbounds %struct.ImGuiTable, ptr %138, i32 0, i32 95
  store i8 1, ptr %139, align 1, !tbaa !115
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef signext i16 @_ZL5ImMaxIsET_S0_S0_(i16 noundef signext, i16 noundef signext) #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 = { 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 #3 = { 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 #4 = { nounwind }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_ZTS18ImGuiSortDirection", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!16, !14, i64 8584}
!16 = !{!"_ZTS12ImGuiContext", !12, i64 0, !12, i64 1, !17, i64 8, !23, i64 2984, !24, i64 3056, !14, i64 4216, !19, i64 4224, !19, i64 4228, !19, i64 4232, !19, i64 4236, !26, i64 4240, !29, i64 4776, !6, i64 4784, !6, i64 4788, !6, i64 4792, !6, i64 4796, !12, i64 4800, !12, i64 4801, !12, i64 4802, !12, i64 4803, !14, i64 4808, !7, i64 4816, !30, i64 4832, !30, i64 4848, !20, i64 4864, !6, i64 4868, !31, i64 4872, !31, i64 4888, !31, i64 4904, !32, i64 4920, !33, i64 4936, !6, i64 4952, !18, i64 4956, !6, i64 4964, !14, i64 4968, !14, i64 4976, !14, i64 4984, !14, i64 4992, !14, i64 5000, !14, i64 5008, !18, i64 5016, !6, i64 5024, !6, i64 5028, !19, i64 5032, !18, i64 5036, !18, i64 5044, !6, i64 5052, !6, i64 5056, !6, i64 5060, !6, i64 5064, !6, i64 5068, !19, i64 5072, !19, i64 5076, !12, i64 5080, !12, i64 5081, !12, i64 5082, !6, i64 5084, !6, i64 5088, !19, i64 5092, !12, i64 5096, !12, i64 5097, !12, i64 5098, !12, i64 5099, !12, i64 5100, !12, i64 5101, !12, i64 5102, !6, i64 5103, !18, i64 5104, !14, i64 5112, !35, i64 5120, !6, i64 5124, !36, i64 5128, !37, i64 5140, !6, i64 5148, !19, i64 5152, !29, i64 5160, !29, i64 5168, !29, i64 5176, !38, i64 5184, !7, i64 5204, !39, i64 7056, !6, i64 7400, !12, i64 7404, !6, i64 7408, !6, i64 7412, !6, i64 7416, !6, i64 7420, !41, i64 7424, !43, i64 7480, !45, i64 7560, !12, i64 7672, !6, i64 7676, !46, i64 7680, !47, i64 7696, !48, i64 7712, !49, i64 7728, !50, i64 7744, !51, i64 7760, !52, i64 7776, !52, i64 7792, !53, i64 7808, !54, i64 7824, !12, i64 7840, !12, i64 7841, !12, i64 7842, !12, i64 7843, !6, i64 7844, !14, i64 7848, !6, i64 7856, !55, i64 7860, !6, i64 7864, !6, i64 7868, !6, i64 7872, !6, i64 7876, !49, i64 7880, !6, i64 7896, !19, i64 7900, !6, i64 7904, !6, i64 7908, !35, i64 7912, !42, i64 7920, !7, i64 7928, !12, i64 7929, !12, i64 7930, !12, i64 7931, !56, i64 7936, !12, i64 7992, !12, i64 7993, !12, i64 7994, !6, i64 7996, !6, i64 8000, !6, i64 8004, !25, i64 8008, !25, i64 8012, !25, i64 8016, !44, i64 8020, !44, i64 8036, !6, i64 8052, !6, i64 8056, !6, i64 8060, !56, i64 8064, !56, i64 8120, !56, i64 8176, !56, i64 8232, !6, i64 8288, !6, i64 8292, !6, i64 8296, !6, i64 8300, !12, i64 8304, !12, i64 8305, !6, i64 8308, !6, i64 8312, !14, i64 8320, !14, i64 8328, !14, i64 8336, !19, i64 8344, !19, i64 8348, !12, i64 8352, !57, i64 8356, !18, i64 8360, !18, i64 8368, !19, i64 8376, !12, i64 8380, !12, i64 8381, !12, i64 8382, !6, i64 8384, !6, i64 8388, !6, i64 8392, !58, i64 8400, !44, i64 8464, !44, i64 8480, !6, i64 8496, !6, i64 8500, !19, i64 8504, !6, i64 8508, !6, i64 8512, !6, i64 8516, !6, i64 8520, !59, i64 8528, !7, i64 8544, !6, i64 8560, !60, i64 8568, !14, i64 8584, !6, i64 8592, !6, i64 8596, !61, i64 8600, !62, i64 8616, !64, i64 8656, !65, i64 8672, !14, i64 8688, !66, i64 8696, !68, i64 8736, !69, i64 8752, !70, i64 8768, !14, i64 8872, !6, i64 8880, !71, i64 8888, !72, i64 8904, !6, i64 8944, !6, i64 8948, !19, i64 8952, !19, i64 8956, !6, i64 8960, !6, i64 8964, !6, i64 8968, !19, i64 8972, !18, i64 8976, !74, i64 8984, !76, i64 9104, !77, i64 9128, !6, i64 9248, !37, i64 9252, !6, i64 9260, !6, i64 9264, !6, i64 9268, !6, i64 9272, !6, i64 9276, !19, i64 9280, !19, i64 9284, !6, i64 9288, !27, i64 9292, !79, i64 9308, !44, i64 9356, !12, i64 9372, !21, i64 9374, !19, i64 9376, !19, i64 9380, !19, i64 9384, !12, i64 9388, !12, i64 9389, !19, i64 9392, !19, i64 9396, !19, i64 9400, !21, i64 9404, !21, i64 9406, !14, i64 9408, !75, i64 9416, !80, i64 9432, !81, i64 9448, !83, i64 9552, !83, i64 9568, !12, i64 9584, !19, i64 9588, !84, i64 9592, !85, i64 9608, !86, i64 9624, !87, i64 9640, !88, i64 9656, !6, i64 9672, !7, i64 9680, !12, i64 9760, !6, i64 9764, !14, i64 9768, !14, i64 9776, !84, i64 9784, !14, i64 9800, !14, i64 9808, !19, i64 9816, !12, i64 9820, !6, i64 9824, !6, i64 9828, !6, i64 9832, !14, i64 9840, !14, i64 9848, !18, i64 9856, !12, i64 9864, !6, i64 9868, !89, i64 9872, !14, i64 9896, !6, i64 9904, !6, i64 9908, !84, i64 9912, !90, i64 9928, !6, i64 9952, !6, i64 9956, !7, i64 9960, !7, i64 9961, !12, i64 9962, !6, i64 9964, !7, i64 9968, !12, i64 9969, !7, i64 9970, !6, i64 9972, !19, i64 9976, !27, i64 9980, !91, i64 9996, !92, i64 10024, !94, i64 10064, !7, i64 10124, !6, i64 10364, !6, i64 10368, !19, i64 10372, !6, i64 10376, !6, i64 10380, !6, i64 10384, !75, i64 10392, !7, i64 10408}
!17 = !{!"_ZTS7ImGuiIO", !6, i64 0, !6, i64 4, !18, i64 8, !19, i64 16, !19, i64 20, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !19, i64 56, !12, i64 60, !14, i64 64, !18, i64 72, !12, i64 80, !12, i64 81, !12, i64 82, !12, i64 83, !12, i64 84, !12, i64 85, !12, i64 86, !12, i64 87, !12, i64 88, !12, i64 89, !12, i64 90, !12, i64 91, !12, i64 92, !12, i64 93, !12, i64 94, !12, i64 95, !12, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !12, i64 124, !12, i64 125, !12, i64 126, !12, i64 127, !12, i64 128, !12, i64 129, !12, i64 130, !12, i64 131, !12, i64 132, !12, i64 133, !14, i64 136, !14, i64 144, !14, i64 152, !14, i64 160, !14, i64 168, !12, i64 176, !12, i64 177, !12, i64 178, !12, i64 179, !12, i64 180, !12, i64 181, !12, i64 182, !19, i64 184, !6, i64 188, !6, i64 192, !6, i64 196, !6, i64 200, !18, i64 204, !14, i64 216, !18, i64 224, !7, i64 232, !19, i64 240, !19, i64 244, !20, i64 248, !12, i64 252, !12, i64 253, !12, i64 254, !12, i64 255, !6, i64 256, !7, i64 260, !12, i64 2724, !18, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !12, i64 2861, !12, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !19, i64 2924, !12, i64 2928, !12, i64 2929, !21, i64 2930, !22, i64 2936, !14, i64 2952, !14, i64 2960, !14, i64 2968}
!18 = !{!"_ZTS6ImVec2", !19, i64 0, !19, i64 4}
!19 = !{!"float", !7, i64 0}
!20 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!21 = !{!"short", !7, i64 0}
!22 = !{!"_ZTS8ImVectorItE", !6, i64 0, !6, i64 4, !14, i64 8}
!23 = !{!"_ZTS15ImGuiPlatformIO", !14, i64 0, !14, i64 8, !14, i64 16, !14, i64 24, !14, i64 32, !14, i64 40, !14, i64 48, !21, i64 56, !14, i64 64}
!24 = !{!"_ZTS10ImGuiStyle", !19, i64 0, !19, i64 4, !18, i64 8, !19, i64 16, !19, i64 20, !18, i64 24, !18, i64 32, !25, i64 40, !19, i64 44, !19, i64 48, !19, i64 52, !19, i64 56, !18, i64 60, !19, i64 68, !19, i64 72, !18, i64 76, !18, i64 84, !18, i64 92, !18, i64 100, !19, i64 108, !19, i64 112, !19, i64 116, !19, i64 120, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !19, i64 148, !19, i64 152, !19, i64 156, !18, i64 160, !25, i64 168, !18, i64 172, !18, i64 180, !19, i64 188, !18, i64 192, !18, i64 200, !18, i64 208, !18, i64 216, !19, i64 224, !12, i64 228, !12, i64 229, !12, i64 230, !19, i64 232, !19, i64 236, !7, i64 240, !19, i64 1136, !19, i64 1140, !19, i64 1144, !6, i64 1148, !6, i64 1152}
!25 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!26 = !{!"_ZTS20ImDrawListSharedData", !18, i64 0, !14, i64 8, !14, i64 16, !19, i64 24, !19, i64 28, !19, i64 32, !19, i64 36, !27, i64 40, !6, i64 56, !28, i64 64, !7, i64 80, !19, i64 464, !7, i64 468}
!27 = !{!"_ZTS6ImVec4", !19, i64 0, !19, i64 4, !19, i64 8, !19, i64 12}
!28 = !{!"_ZTS8ImVectorI6ImVec2E", !6, i64 0, !6, i64 4, !14, i64 8}
!29 = !{!"double", !7, i64 0}
!30 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !6, i64 0, !6, i64 4, !14, i64 8}
!31 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !6, i64 0, !6, i64 4, !14, i64 8}
!32 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!33 = !{!"_ZTS12ImGuiStorage", !34, i64 0}
!34 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !6, i64 0, !6, i64 4, !14, i64 8}
!35 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!36 = !{!"_ZTS24ImGuiDeactivatedItemData", !6, i64 0, !6, i64 4, !12, i64 8, !12, i64 9}
!37 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!38 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!39 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !40, i64 312, !40, i64 328}
!40 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!41 = !{!"_ZTS17ImGuiNextItemData", !6, i64 0, !6, i64 4, !6, i64 8, !42, i64 16, !19, i64 24, !6, i64 28, !6, i64 32, !12, i64 36, !7, i64 37, !37, i64 38, !6, i64 48}
!42 = !{!"long long", !7, i64 0}
!43 = !{!"_ZTS17ImGuiLastItemData", !6, i64 0, !6, i64 4, !6, i64 8, !44, i64 12, !44, i64 28, !44, i64 44, !44, i64 60, !6, i64 76}
!44 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!45 = !{!"_ZTS19ImGuiNextWindowData", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !6, i64 56, !12, i64 60, !44, i64 64, !14, i64 80, !14, i64 88, !19, i64 96, !18, i64 100, !6, i64 108}
!46 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !6, i64 0, !6, i64 4, !14, i64 8}
!47 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !6, i64 0, !6, i64 4, !14, i64 8}
!48 = !{!"_ZTS8ImVectorIP6ImFontE", !6, i64 0, !6, i64 4, !14, i64 8}
!49 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!50 = !{!"_ZTS8ImVectorIiE", !6, i64 0, !6, i64 4, !14, i64 8}
!51 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!52 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!53 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!54 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !6, i64 0, !6, i64 4, !14, i64 8}
!55 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!56 = !{!"_ZTS16ImGuiNavItemData", !14, i64 0, !6, i64 8, !6, i64 12, !44, i64 16, !6, i64 32, !19, i64 36, !19, i64 40, !19, i64 44, !42, i64 48}
!57 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!58 = !{!"_ZTS12ImGuiPayload", !14, i64 0, !6, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !7, i64 24, !12, i64 57, !12, i64 58}
!59 = !{!"_ZTS8ImVectorIhE", !6, i64 0, !6, i64 4, !14, i64 8}
!60 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!61 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!62 = !{!"_ZTS6ImPoolI10ImGuiTableE", !63, i64 0, !33, i64 16, !6, i64 32, !6, i64 36}
!63 = !{!"_ZTS8ImVectorI10ImGuiTableE", !6, i64 0, !6, i64 4, !14, i64 8}
!64 = !{!"_ZTS8ImVectorIfE", !6, i64 0, !6, i64 4, !14, i64 8}
!65 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !6, i64 0, !6, i64 4, !14, i64 8}
!66 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !67, i64 0, !33, i64 16, !6, i64 32, !6, i64 36}
!67 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !6, i64 0, !6, i64 4, !14, i64 8}
!68 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !6, i64 0, !6, i64 4, !14, i64 8}
!69 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !6, i64 0, !6, i64 4, !14, i64 8}
!70 = !{!"_ZTS19ImGuiBoxSelectState", !6, i64 0, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !6, i64 9, !18, i64 12, !18, i64 20, !18, i64 28, !14, i64 40, !12, i64 48, !44, i64 52, !44, i64 68, !44, i64 84}
!71 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!72 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !73, i64 0, !33, i64 16, !6, i64 32, !6, i64 36}
!73 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !6, i64 0, !6, i64 4, !14, i64 8}
!74 = !{!"_ZTS19ImGuiInputTextState", !14, i64 0, !14, i64 8, !6, i64 16, !6, i64 20, !6, i64 24, !14, i64 32, !75, i64 40, !75, i64 56, !75, i64 72, !6, i64 88, !18, i64 92, !19, i64 100, !12, i64 104, !12, i64 105, !12, i64 106, !12, i64 107, !6, i64 108, !6, i64 112}
!75 = !{!"_ZTS8ImVectorIcE", !6, i64 0, !6, i64 4, !14, i64 8}
!76 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !6, i64 0, !75, i64 8}
!77 = !{!"_ZTS6ImFont", !64, i64 0, !19, i64 16, !19, i64 20, !22, i64 24, !78, i64 40, !14, i64 56, !14, i64 64, !14, i64 72, !21, i64 80, !21, i64 82, !21, i64 84, !21, i64 86, !19, i64 88, !19, i64 92, !12, i64 96, !19, i64 100, !19, i64 104, !19, i64 108, !6, i64 112, !7, i64 116}
!78 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !6, i64 0, !6, i64 4, !14, i64 8}
!79 = !{!"_ZTS21ImGuiComboPreviewData", !44, i64 0, !18, i64 16, !18, i64 24, !18, i64 32, !19, i64 40, !6, i64 44}
!80 = !{!"_ZTS8ImVectorIjE", !6, i64 0, !6, i64 4, !14, i64 8}
!81 = !{!"_ZTS22ImGuiTypingSelectState", !82, i64 0, !7, i64 24, !6, i64 88, !6, i64 92, !19, i64 96, !12, i64 100}
!82 = !{!"_ZTS24ImGuiTypingSelectRequest", !6, i64 0, !6, i64 4, !14, i64 8, !12, i64 16, !12, i64 17, !7, i64 18}
!83 = !{!"_ZTS20ImGuiPlatformImeData", !12, i64 0, !18, i64 4, !19, i64 12}
!84 = !{!"_ZTS15ImGuiTextBuffer", !75, i64 0}
!85 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !6, i64 0, !6, i64 4, !14, i64 8}
!86 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !75, i64 0}
!87 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !75, i64 0}
!88 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !6, i64 0, !6, i64 4, !14, i64 8}
!89 = !{!"_ZTS23ImGuiErrorRecoveryState", !21, i64 0, !21, i64 2, !21, i64 4, !21, i64 6, !21, i64 8, !21, i64 10, !21, i64 12, !21, i64 14, !21, i64 16, !21, i64 18, !21, i64 20}
!90 = !{!"_ZTS14ImGuiTextIndex", !50, i64 0, !6, i64 16}
!91 = !{!"_ZTS18ImGuiMetricsConfig", !12, i64 0, !12, i64 1, !12, i64 2, !12, i64 3, !12, i64 4, !12, i64 5, !12, i64 6, !12, i64 7, !12, i64 8, !6, i64 12, !6, i64 16, !6, i64 20, !6, i64 24}
!92 = !{!"_ZTS16ImGuiIDStackTool", !6, i64 0, !6, i64 4, !6, i64 8, !93, i64 16, !12, i64 32, !19, i64 36}
!93 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !6, i64 0, !6, i64 4, !14, i64 8}
!94 = !{!"_ZTS19ImGuiDebugAllocInfo", !6, i64 0, !6, i64 4, !21, i64 8, !7, i64 12}
!95 = !{!96, !6, i64 4}
!96 = !{!"_ZTS10ImGuiTable", !6, i64 0, !6, i64 4, !14, i64 8, !14, i64 16, !97, i64 24, !98, i64 40, !99, i64 56, !14, i64 72, !14, i64 80, !14, i64 88, !6, i64 96, !6, i64 100, !6, i64 104, !6, i64 108, !6, i64 112, !6, i64 116, !21, i64 120, !21, i64 122, !19, i64 124, !19, i64 128, !19, i64 132, !19, i64 136, !19, i64 140, !19, i64 144, !6, i64 148, !6, i64 150, !6, i64 152, !7, i64 156, !6, i64 164, !6, i64 168, !19, i64 172, !19, i64 176, !19, i64 180, !19, i64 184, !19, i64 188, !19, i64 192, !19, i64 196, !19, i64 200, !19, i64 204, !19, i64 208, !19, i64 212, !19, i64 216, !19, i64 220, !19, i64 224, !19, i64 228, !19, i64 232, !19, i64 236, !44, i64 240, !44, i64 256, !44, i64 272, !44, i64 288, !44, i64 304, !44, i64 320, !44, i64 336, !44, i64 352, !44, i64 368, !14, i64 384, !14, i64 392, !84, i64 400, !14, i64 416, !100, i64 424, !101, i64 448, !102, i64 464, !103, i64 480, !104, i64 496, !21, i64 512, !21, i64 514, !21, i64 516, !21, i64 518, !21, i64 520, !21, i64 522, !21, i64 524, !21, i64 526, !21, i64 528, !21, i64 530, !21, i64 532, !21, i64 534, !21, i64 536, !21, i64 538, !21, i64 540, !21, i64 542, !21, i64 544, !21, i64 546, !21, i64 548, !21, i64 550, !21, i64 552, !21, i64 554, !21, i64 556, !21, i64 558, !21, i64 560, !21, i64 562, !21, i64 564, !12, i64 566, !12, i64 567, !12, i64 568, !12, i64 569, !12, i64 570, !12, i64 571, !12, i64 572, !12, i64 573, !12, i64 574, !12, i64 575, !12, i64 576, !12, i64 577, !12, i64 578, !12, i64 579, !12, i64 580, !12, i64 581, !12, i64 582, !12, i64 583, !12, i64 584, !12, i64 585}
!97 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !14, i64 0, !14, i64 8}
!98 = !{!"_ZTS6ImSpanIsE", !14, i64 0, !14, i64 8}
!99 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !14, i64 0, !14, i64 8}
!100 = !{!"_ZTS22ImGuiTableInstanceData", !6, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !6, i64 16, !6, i64 20}
!101 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !6, i64 0, !6, i64 4, !14, i64 8}
!102 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !6, i64 0, !21, i64 4, !21, i64 6, !10, i64 8}
!103 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !6, i64 0, !6, i64 4, !14, i64 8}
!104 = !{!"_ZTS19ImGuiTableSortSpecs", !14, i64 0, !6, i64 8, !12, i64 12}
!105 = !{!21, !21, i64 0}
!106 = !{i8 0, i8 2}
!107 = !{}
!108 = !{!96, !6, i64 108}
!109 = !{!110, !21, i64 94}
!110 = !{!"_ZTS16ImGuiTableColumn", !6, i64 0, !19, i64 4, !19, i64 8, !19, i64 12, !19, i64 16, !19, i64 20, !19, i64 24, !19, i64 28, !19, i64 32, !44, i64 36, !6, i64 52, !19, i64 56, !19, i64 60, !19, i64 64, !19, i64 68, !19, i64 72, !19, i64 76, !19, i64 80, !21, i64 84, !21, i64 86, !21, i64 88, !21, i64 90, !21, i64 92, !21, i64 94, !21, i64 96, !21, i64 98, !21, i64 100, !12, i64 102, !12, i64 103, !12, i64 104, !12, i64 105, !12, i64 106, !12, i64 107, !12, i64 108, !12, i64 109, !7, i64 110, !7, i64 111, !7, i64 112, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 114}
!111 = distinct !{!111, !112}
!112 = !{!"llvm.loop.mustprogress"}
!113 = distinct !{!113, !112}
!114 = !{!96, !12, i64 574}
!115 = !{!96, !12, i64 569}


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

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [81 x i8], align 1
@.str.66 = external hidden unnamed_addr constant [42 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb = external hidden unnamed_addr constant [71 x i8], align 1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb(i32 noundef %0, i8 noundef zeroext %1, i1 noundef zeroext %2) local_unnamed_addr #2 {
  %4 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 8584
  %6 = load ptr, ptr %5, align 8, !tbaa !9
  %7 = getelementptr inbounds i8, ptr %6, i64 4
  %8 = load i32, ptr %7, align 4, !tbaa !91
  %9 = and i32 %8, 67108864
  %.not = icmp ne i32 %9, 0
  %spec.select = and i1 %.not, %2
  %10 = and i32 %8, 134217728
  %11 = icmp ne i32 %10, 0
  %12 = icmp ne i8 %1, 0
  %or.cond = or i1 %12, %11
  br i1 %or.cond, label %14, label %13

13:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str.66, ptr noundef nonnull @.str.1, i32 noundef 2878, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui27TableSetColumnSortDirectionEi18ImGuiSortDirectionb) #3
  unreachable

14:                                               ; preds = %3
  br i1 %spec.select, label %.preheader, label %._crit_edge

.preheader:                                       ; preds = %14
  %15 = getelementptr inbounds i8, ptr %6, i64 108
  %16 = load i32, ptr %15, align 4, !tbaa !102
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader
  %18 = getelementptr inbounds i8, ptr %6, i64 24
  br label %20

._crit_edge.loopexit:                             ; preds = %20
  %19 = add i16 %24, 1
  br label %._crit_edge

20:                                               ; preds = %.lr.ph, %20
  %.03744 = phi i16 [ 0, %.lr.ph ], [ %24, %20 ]
  %.03843 = phi i32 [ 0, %.lr.ph ], [ %25, %20 ]
  %21 = tail call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %18, i32 noundef %.03843)
  %22 = getelementptr inbounds i8, ptr %21, i64 94
  %23 = load i16, ptr %22, align 2, !tbaa !103
  %24 = tail call noundef signext i16 @_ZL5ImMaxIsET_S0_S0_(i16 noundef signext %.03744, i16 noundef signext %23)
  %25 = add nuw nsw i32 %.03843, 1
  %26 = load i32, ptr %15, align 4, !tbaa !102
  %27 = icmp slt i32 %25, %26
  br i1 %27, label %20, label %._crit_edge.loopexit, !llvm.loop !105

._crit_edge:                                      ; preds = %.preheader, %._crit_edge.loopexit, %14
  %28 = phi i16 [ 0, %14 ], [ 1, %.preheader ], [ %19, %._crit_edge.loopexit ]
  %29 = getelementptr inbounds i8, ptr %6, i64 24
  %30 = tail call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef %0)
  %31 = getelementptr inbounds i8, ptr %30, i64 113
  %32 = load i8, ptr %31, align 1
  %33 = and i8 %1, 3
  %34 = and i8 %32, -4
  %35 = or disjoint i8 %34, %33
  store i8 %35, ptr %31, align 1
  %36 = icmp eq i8 %33, 0
  %37 = getelementptr inbounds i8, ptr %30, i64 94
  br i1 %36, label %.sink.split, label %38

38:                                               ; preds = %._crit_edge
  %39 = load i16, ptr %37, align 2, !tbaa !103
  %40 = icmp ne i16 %39, -1
  %brmerge.not = and i1 %spec.select, %40
  br i1 %brmerge.not, label %41, label %.sink.split

.sink.split:                                      ; preds = %38, %._crit_edge
  %.sink = phi i16 [ -1, %._crit_edge ], [ %28, %38 ]
  store i16 %.sink, ptr %37, align 2, !tbaa !103
  br label %41

41:                                               ; preds = %.sink.split, %38
  %42 = getelementptr inbounds i8, ptr %6, i64 108
  %43 = load i32, ptr %42, align 4, !tbaa !102
  %44 = icmp sgt i32 %43, 0
  br i1 %44, label %.lr.ph47, label %._crit_edge48

.lr.ph47:                                         ; preds = %41
  br i1 %spec.select, label %.lr.ph47.split.us, label %.lr.ph47.split

.lr.ph47.split.us:                                ; preds = %.lr.ph47, %.lr.ph47.split.us
  %.03645.us = phi i32 [ %46, %.lr.ph47.split.us ], [ 0, %.lr.ph47 ]
  %45 = tail call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef %.03645.us)
  tail call void @_ZN5ImGui27TableFixColumnSortDirectionEP10ImGuiTableP16ImGuiTableColumn(ptr noundef nonnull %6, ptr noundef nonnull %45)
  %46 = add nuw nsw i32 %.03645.us, 1
  %47 = load i32, ptr %42, align 4, !tbaa !102
  %48 = icmp slt i32 %46, %47
  br i1 %48, label %.lr.ph47.split.us, label %._crit_edge48, !llvm.loop !107

._crit_edge48:                                    ; preds = %54, %.lr.ph47.split.us, %41
  %49 = getelementptr inbounds i8, ptr %6, i64 574
  store i8 1, ptr %49, align 2, !tbaa !108
  %50 = getelementptr inbounds i8, ptr %6, i64 569
  store i8 1, ptr %50, align 1, !tbaa !109
  ret void

.lr.ph47.split:                                   ; preds = %.lr.ph47, %54
  %.03645 = phi i32 [ %55, %54 ], [ 0, %.lr.ph47 ]
  %51 = tail call noundef nonnull align 4 dereferenceable(115) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %29, i32 noundef %.03645)
  %.not40 = icmp eq ptr %51, %30
  br i1 %.not40, label %54, label %52

52:                                               ; preds = %.lr.ph47.split
  %53 = getelementptr inbounds i8, ptr %51, i64 94
  store i16 -1, ptr %53, align 2, !tbaa !103
  br label %54

54:                                               ; preds = %.lr.ph47.split, %52
  tail call void @_ZN5ImGui27TableFixColumnSortDirectionEP10ImGuiTableP16ImGuiTableColumn(ptr noundef nonnull %6, ptr noundef nonnull %51)
  %55 = add nuw nsw i32 %.03645, 1
  %56 = load i32, ptr %42, align 4, !tbaa !102
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %.lr.ph47.split, label %._crit_edge48, !llvm.loop !107
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef signext i16 @_ZL5ImMaxIsET_S0_S0_(i16 noundef signext, i16 noundef signext) local_unnamed_addr #1

attributes #0 = { 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 #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 = { 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 8584}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !19, i64 2984, !20, i64 3056, !6, i64 4216, !15, i64 4224, !15, i64 4228, !15, i64 4232, !15, i64 4236, !22, i64 4240, !25, i64 4776, !13, i64 4784, !13, i64 4788, !13, i64 4792, !13, i64 4796, !11, i64 4800, !11, i64 4801, !11, i64 4802, !11, i64 4803, !6, i64 4808, !7, i64 4816, !26, i64 4832, !26, i64 4848, !16, i64 4864, !13, i64 4868, !27, i64 4872, !27, i64 4888, !27, i64 4904, !28, i64 4920, !29, i64 4936, !13, i64 4952, !14, i64 4956, !13, i64 4964, !6, i64 4968, !6, i64 4976, !6, i64 4984, !6, i64 4992, !6, i64 5000, !6, i64 5008, !14, i64 5016, !13, i64 5024, !13, i64 5028, !15, i64 5032, !14, i64 5036, !14, i64 5044, !13, i64 5052, !13, i64 5056, !13, i64 5060, !13, i64 5064, !13, i64 5068, !15, i64 5072, !15, i64 5076, !11, i64 5080, !11, i64 5081, !11, i64 5082, !13, i64 5084, !13, i64 5088, !15, i64 5092, !11, i64 5096, !11, i64 5097, !11, i64 5098, !11, i64 5099, !11, i64 5100, !11, i64 5101, !11, i64 5102, !13, i64 5103, !14, i64 5104, !6, i64 5112, !31, i64 5120, !13, i64 5124, !32, i64 5128, !33, i64 5140, !13, i64 5148, !15, i64 5152, !25, i64 5160, !25, i64 5168, !25, i64 5176, !34, i64 5184, !7, i64 5204, !35, i64 7056, !13, i64 7400, !11, i64 7404, !13, i64 7408, !13, i64 7412, !13, i64 7416, !13, i64 7420, !37, i64 7424, !39, i64 7480, !41, i64 7560, !11, i64 7672, !13, i64 7676, !42, i64 7680, !43, i64 7696, !44, i64 7712, !45, i64 7728, !46, i64 7744, !47, i64 7760, !48, i64 7776, !48, i64 7792, !49, i64 7808, !50, i64 7824, !11, i64 7840, !11, i64 7841, !11, i64 7842, !11, i64 7843, !13, i64 7844, !6, i64 7848, !13, i64 7856, !51, i64 7860, !13, i64 7864, !13, i64 7868, !13, i64 7872, !13, i64 7876, !45, i64 7880, !13, i64 7896, !15, i64 7900, !13, i64 7904, !13, i64 7908, !31, i64 7912, !38, i64 7920, !7, i64 7928, !11, i64 7929, !11, i64 7930, !11, i64 7931, !52, i64 7936, !11, i64 7992, !11, i64 7993, !11, i64 7994, !13, i64 7996, !13, i64 8000, !13, i64 8004, !21, i64 8008, !21, i64 8012, !21, i64 8016, !40, i64 8020, !40, i64 8036, !13, i64 8052, !13, i64 8056, !13, i64 8060, !52, i64 8064, !52, i64 8120, !52, i64 8176, !52, i64 8232, !13, i64 8288, !13, i64 8292, !13, i64 8296, !13, i64 8300, !11, i64 8304, !11, i64 8305, !13, i64 8308, !13, i64 8312, !6, i64 8320, !6, i64 8328, !6, i64 8336, !15, i64 8344, !15, i64 8348, !11, i64 8352, !53, i64 8356, !14, i64 8360, !14, i64 8368, !15, i64 8376, !11, i64 8380, !11, i64 8381, !11, i64 8382, !13, i64 8384, !13, i64 8388, !13, i64 8392, !54, i64 8400, !40, i64 8464, !40, i64 8480, !13, i64 8496, !13, i64 8500, !15, i64 8504, !13, i64 8508, !13, i64 8512, !13, i64 8516, !13, i64 8520, !55, i64 8528, !7, i64 8544, !13, i64 8560, !56, i64 8568, !6, i64 8584, !13, i64 8592, !13, i64 8596, !57, i64 8600, !58, i64 8616, !60, i64 8656, !61, i64 8672, !6, i64 8688, !62, i64 8696, !64, i64 8736, !65, i64 8752, !66, i64 8768, !6, i64 8872, !13, i64 8880, !67, i64 8888, !68, i64 8904, !13, i64 8944, !13, i64 8948, !15, i64 8952, !15, i64 8956, !13, i64 8960, !13, i64 8964, !13, i64 8968, !15, i64 8972, !14, i64 8976, !70, i64 8984, !72, i64 9104, !73, i64 9128, !13, i64 9248, !33, i64 9252, !13, i64 9260, !13, i64 9264, !13, i64 9268, !13, i64 9272, !13, i64 9276, !15, i64 9280, !15, i64 9284, !13, i64 9288, !23, i64 9292, !75, i64 9308, !40, i64 9356, !11, i64 9372, !17, i64 9374, !15, i64 9376, !15, i64 9380, !15, i64 9384, !11, i64 9388, !11, i64 9389, !15, i64 9392, !15, i64 9396, !15, i64 9400, !17, i64 9404, !17, i64 9406, !6, i64 9408, !71, i64 9416, !76, i64 9432, !77, i64 9448, !79, i64 9552, !79, i64 9568, !11, i64 9584, !15, i64 9588, !80, i64 9592, !81, i64 9608, !82, i64 9624, !83, i64 9640, !84, i64 9656, !13, i64 9672, !7, i64 9680, !11, i64 9760, !13, i64 9764, !6, i64 9768, !6, i64 9776, !80, i64 9784, !6, i64 9800, !6, i64 9808, !15, i64 9816, !11, i64 9820, !13, i64 9824, !13, i64 9828, !13, i64 9832, !6, i64 9840, !6, i64 9848, !14, i64 9856, !11, i64 9864, !13, i64 9868, !85, i64 9872, !6, i64 9896, !13, i64 9904, !13, i64 9908, !80, i64 9912, !86, i64 9928, !13, i64 9952, !13, i64 9956, !7, i64 9960, !7, i64 9961, !11, i64 9962, !13, i64 9964, !7, i64 9968, !11, i64 9969, !7, i64 9970, !13, i64 9972, !15, i64 9976, !23, i64 9980, !87, i64 9996, !88, i64 10024, !90, i64 10064, !7, i64 10124, !13, i64 10364, !13, i64 10368, !15, i64 10372, !13, i64 10376, !13, i64 10380, !13, i64 10384, !71, i64 10392, !7, i64 10408}
!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, !6, i64 40, !6, i64 48, !15, i64 56, !11, i64 60, !6, i64 64, !14, i64 72, !11, i64 80, !11, i64 81, !11, i64 82, !11, i64 83, !11, i64 84, !11, i64 85, !11, i64 86, !11, i64 87, !11, i64 88, !11, i64 89, !11, i64 90, !11, i64 91, !11, i64 92, !11, i64 93, !11, i64 94, !11, i64 95, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !11, i64 124, !11, i64 125, !11, i64 126, !11, i64 127, !11, i64 128, !11, i64 129, !11, i64 130, !11, i64 131, !11, i64 132, !11, i64 133, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 177, !11, i64 178, !11, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !15, i64 184, !13, i64 188, !13, i64 192, !13, i64 196, !13, i64 200, !14, i64 204, !6, i64 216, !14, i64 224, !7, i64 232, !15, i64 240, !15, i64 244, !16, i64 248, !11, i64 252, !11, i64 253, !11, i64 254, !11, i64 255, !13, i64 256, !7, i64 260, !11, i64 2724, !14, i64 2728, !7, i64 2736, !7, i64 2776, !7, i64 2816, !7, i64 2821, !7, i64 2826, !7, i64 2836, !7, i64 2846, !7, i64 2851, !7, i64 2856, !11, i64 2861, !11, i64 2862, !7, i64 2864, !7, i64 2884, !7, i64 2904, !15, i64 2924, !11, i64 2928, !11, i64 2929, !17, i64 2930, !18, i64 2936, !6, i64 2952, !6, i64 2960, !6, i64 2968}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS6ImVec2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_ZTS16ImGuiMouseSource", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!"_ZTS8ImVectorItE", !13, i64 0, !13, i64 4, !6, i64 8}
!19 = !{!"_ZTS15ImGuiPlatformIO", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !17, i64 56, !6, i64 64}
!20 = !{!"_ZTS10ImGuiStyle", !15, i64 0, !15, i64 4, !14, i64 8, !15, i64 16, !15, i64 20, !14, i64 24, !14, i64 32, !21, i64 40, !15, i64 44, !15, i64 48, !15, i64 52, !15, i64 56, !14, i64 60, !15, i64 68, !15, i64 72, !14, i64 76, !14, i64 84, !14, i64 92, !14, i64 100, !15, i64 108, !15, i64 112, !15, i64 116, !15, i64 120, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !15, i64 148, !15, i64 152, !15, i64 156, !14, i64 160, !21, i64 168, !14, i64 172, !14, i64 180, !15, i64 188, !14, i64 192, !14, i64 200, !14, i64 208, !14, i64 216, !15, i64 224, !11, i64 228, !11, i64 229, !11, i64 230, !15, i64 232, !15, i64 236, !7, i64 240, !15, i64 1136, !15, i64 1140, !15, i64 1144, !13, i64 1148, !13, i64 1152}
!21 = !{!"_ZTS8ImGuiDir", !7, i64 0}
!22 = !{!"_ZTS20ImDrawListSharedData", !14, i64 0, !6, i64 8, !6, i64 16, !15, i64 24, !15, i64 28, !15, i64 32, !15, i64 36, !23, i64 40, !13, i64 56, !24, i64 64, !7, i64 80, !15, i64 464, !7, i64 468}
!23 = !{!"_ZTS6ImVec4", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!24 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!25 = !{!"double", !7, i64 0}
!26 = !{!"_ZTS8ImVectorI15ImGuiInputEventE", !13, i64 0, !13, i64 4, !6, i64 8}
!27 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !13, i64 0, !13, i64 4, !6, i64 8}
!28 = !{!"_ZTS8ImVectorI20ImGuiWindowStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!29 = !{!"_ZTS12ImGuiStorage", !30, i64 0}
!30 = !{!"_ZTS8ImVectorI16ImGuiStoragePairE", !13, i64 0, !13, i64 4, !6, i64 8}
!31 = !{!"_ZTS16ImGuiInputSource", !7, i64 0}
!32 = !{!"_ZTS24ImGuiDeactivatedItemData", !13, i64 0, !13, i64 4, !11, i64 8, !11, i64 9}
!33 = !{!"_ZTS20ImGuiDataTypeStorage", !7, i64 0}
!34 = !{!"_ZTS10ImBitArrayILi154ELin512EE", !7, i64 0}
!35 = !{!"_ZTS20ImGuiKeyRoutingTable", !7, i64 0, !36, i64 312, !36, i64 328}
!36 = !{!"_ZTS8ImVectorI19ImGuiKeyRoutingDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS17ImGuiNextItemData", !13, i64 0, !13, i64 4, !13, i64 8, !38, i64 16, !15, i64 24, !13, i64 28, !13, i64 32, !11, i64 36, !7, i64 37, !33, i64 38, !13, i64 48}
!38 = !{!"long long", !7, i64 0}
!39 = !{!"_ZTS17ImGuiLastItemData", !13, i64 0, !13, i64 4, !13, i64 8, !40, i64 12, !40, i64 28, !40, i64 44, !40, i64 60, !13, i64 76}
!40 = !{!"_ZTS6ImRect", !14, i64 0, !14, i64 8}
!41 = !{!"_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, !13, i64 56, !11, i64 60, !40, i64 64, !6, i64 80, !6, i64 88, !15, i64 96, !14, i64 100, !13, i64 108}
!42 = !{!"_ZTS8ImVectorI13ImGuiColorModE", !13, i64 0, !13, i64 4, !6, i64 8}
!43 = !{!"_ZTS8ImVectorI13ImGuiStyleModE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorIP6ImFontE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI19ImGuiFocusScopeDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!49 = !{!"_ZTS8ImVectorI22ImGuiTreeNodeStackDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorIP14ImGuiViewportPE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!52 = !{!"_ZTS16ImGuiNavItemData", !6, i64 0, !13, i64 8, !13, i64 12, !40, i64 16, !13, i64 32, !15, i64 36, !15, i64 40, !15, i64 44, !38, i64 48}
!53 = !{!"_ZTS8ImGuiKey", !7, i64 0}
!54 = !{!"_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}
!55 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorI20ImGuiListClipperDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI18ImGuiTableTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!58 = !{!"_ZTS6ImPoolI10ImGuiTableE", !59, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!59 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !63, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!63 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!64 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!65 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS19ImGuiBoxSelectState", !13, i64 0, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 9, !14, i64 12, !14, i64 20, !14, i64 28, !6, i64 40, !11, i64 48, !40, i64 52, !40, i64 68, !40, i64 84}
!67 = !{!"_ZTS8ImVectorI24ImGuiMultiSelectTempDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS6ImPoolI21ImGuiMultiSelectStateE", !69, i64 0, !29, i64 16, !13, i64 32, !13, i64 36}
!69 = !{!"_ZTS8ImVectorI21ImGuiMultiSelectStateE", !13, i64 0, !13, i64 4, !6, i64 8}
!70 = !{!"_ZTS19ImGuiInputTextState", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 20, !13, i64 24, !6, i64 32, !71, i64 40, !71, i64 56, !71, i64 72, !13, i64 88, !14, i64 92, !15, i64 100, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !13, i64 108, !13, i64 112}
!71 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!72 = !{!"_ZTS30ImGuiInputTextDeactivatedState", !13, i64 0, !71, i64 8}
!73 = !{!"_ZTS6ImFont", !60, i64 0, !15, i64 16, !15, i64 20, !18, i64 24, !74, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !17, i64 82, !17, i64 84, !17, i64 86, !15, i64 88, !15, i64 92, !11, i64 96, !15, i64 100, !15, i64 104, !15, i64 108, !13, i64 112, !7, i64 116}
!74 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!75 = !{!"_ZTS21ImGuiComboPreviewData", !40, i64 0, !14, i64 16, !14, i64 24, !14, i64 32, !15, i64 40, !13, i64 44}
!76 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!77 = !{!"_ZTS22ImGuiTypingSelectState", !78, i64 0, !7, i64 24, !13, i64 88, !13, i64 92, !15, i64 96, !11, i64 100}
!78 = !{!"_ZTS24ImGuiTypingSelectRequest", !13, i64 0, !13, i64 4, !6, i64 8, !11, i64 16, !11, i64 17, !7, i64 18}
!79 = !{!"_ZTS20ImGuiPlatformImeData", !11, i64 0, !14, i64 4, !15, i64 12}
!80 = !{!"_ZTS15ImGuiTextBuffer", !71, i64 0}
!81 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!82 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !71, i64 0}
!83 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !71, i64 0}
!84 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!85 = !{!"_ZTS23ImGuiErrorRecoveryState", !17, i64 0, !17, i64 2, !17, i64 4, !17, i64 6, !17, i64 8, !17, i64 10, !17, i64 12, !17, i64 14, !17, i64 16, !17, i64 18, !17, i64 20}
!86 = !{!"_ZTS14ImGuiTextIndex", !46, i64 0, !13, i64 16}
!87 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !11, i64 5, !11, i64 6, !11, i64 7, !11, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24}
!88 = !{!"_ZTS16ImGuiIDStackTool", !13, i64 0, !13, i64 4, !13, i64 8, !89, i64 16, !11, i64 32, !15, i64 36}
!89 = !{!"_ZTS8ImVectorI19ImGuiStackLevelInfoE", !13, i64 0, !13, i64 4, !6, i64 8}
!90 = !{!"_ZTS19ImGuiDebugAllocInfo", !13, i64 0, !13, i64 4, !17, i64 8, !7, i64 12}
!91 = !{!92, !13, i64 4}
!92 = !{!"_ZTS10ImGuiTable", !13, i64 0, !13, i64 4, !6, i64 8, !6, i64 16, !93, i64 24, !94, i64 40, !95, i64 56, !6, i64 72, !6, i64 80, !6, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !17, i64 120, !17, i64 122, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 148, !13, i64 150, !13, i64 152, !7, i64 156, !13, i64 164, !13, i64 168, !15, i64 172, !15, i64 176, !15, i64 180, !15, i64 184, !15, i64 188, !15, i64 192, !15, i64 196, !15, i64 200, !15, i64 204, !15, i64 208, !15, i64 212, !15, i64 216, !15, i64 220, !15, i64 224, !15, i64 228, !15, i64 232, !15, i64 236, !40, i64 240, !40, i64 256, !40, i64 272, !40, i64 288, !40, i64 304, !40, i64 320, !40, i64 336, !40, i64 352, !40, i64 368, !6, i64 384, !6, i64 392, !80, i64 400, !6, i64 416, !96, i64 424, !97, i64 448, !98, i64 464, !100, i64 480, !101, i64 496, !17, i64 512, !17, i64 514, !17, i64 516, !17, i64 518, !17, i64 520, !17, i64 522, !17, i64 524, !17, i64 526, !17, i64 528, !17, i64 530, !17, i64 532, !17, i64 534, !17, i64 536, !17, i64 538, !17, i64 540, !17, i64 542, !17, i64 544, !17, i64 546, !17, i64 548, !17, i64 550, !17, i64 552, !17, i64 554, !17, i64 556, !17, i64 558, !17, i64 560, !17, i64 562, !17, i64 564, !11, i64 566, !11, i64 567, !11, i64 568, !11, i64 569, !11, i64 570, !11, i64 571, !11, i64 572, !11, i64 573, !11, i64 574, !11, i64 575, !11, i64 576, !11, i64 577, !11, i64 578, !11, i64 579, !11, i64 580, !11, i64 581, !11, i64 582, !11, i64 583, !11, i64 584, !11, i64 585}
!93 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !6, i64 0, !6, i64 8}
!94 = !{!"_ZTS6ImSpanIsE", !6, i64 0, !6, i64 8}
!95 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !6, i64 0, !6, i64 8}
!96 = !{!"_ZTS22ImGuiTableInstanceData", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !13, i64 16, !13, i64 20}
!97 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!98 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !13, i64 0, !17, i64 4, !17, i64 6, !99, i64 8}
!99 = !{!"_ZTS18ImGuiSortDirection", !7, i64 0}
!100 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !13, i64 0, !13, i64 4, !6, i64 8}
!101 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !13, i64 8, !11, i64 12}
!102 = !{!92, !13, i64 108}
!103 = !{!104, !17, i64 94}
!104 = !{!"_ZTS16ImGuiTableColumn", !13, i64 0, !15, i64 4, !15, i64 8, !15, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !15, i64 28, !15, i64 32, !40, i64 36, !13, i64 52, !15, i64 56, !15, i64 60, !15, i64 64, !15, i64 68, !15, i64 72, !15, i64 76, !15, i64 80, !17, i64 84, !17, i64 86, !17, i64 88, !17, i64 90, !17, i64 92, !17, i64 94, !17, i64 96, !17, i64 98, !17, i64 100, !11, i64 102, !11, i64 103, !11, i64 104, !11, i64 105, !11, i64 106, !11, i64 107, !11, i64 108, !11, i64 109, !7, i64 110, !7, i64 111, !7, i64 112, !7, i64 113, !7, i64 113, !7, i64 113, !7, i64 114}
!105 = distinct !{!105, !106}
!106 = !{!"llvm.loop.mustprogress"}
!107 = distinct !{!107, !106}
!108 = !{!92, !11, i64 574}
!109 = !{!92, !11, i64 569}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass