; LLVM IR from Devaniti/BoolkaEngine :: ThirdParty/imgui/imgui_tables.ll (ZN5ImGui15TableHeadersRowEv)

; 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.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, i8, [3 x i8], i32, 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, i8, i8, float, float, i32, i32, float, i8, i8, i8, i8, i8, i8, i8, 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.2, %struct.ImVector.3, %struct.ImVector.4, %struct.ImVector.5, %struct.ImVector.6, %struct.ImVector.7, %struct.ImVector.8, %struct.ImVector.8, 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.16, [16 x i8], ptr, %struct.ImPool, %struct.ImVector.18, %struct.ImVector.19, %struct.ImVector.15, ptr, %struct.ImPool.20, %struct.ImVector.18, %struct.ImVector.23, %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, float, %struct.ImVector.24, %struct.ImVector.5, %struct.ImVec2, %struct.ImVec2, i8, i8, [2 x i8], float, %struct.ImGuiTextBuffer, %struct.ImVector.26, %struct.ImChunkStream, %struct.ImChunkStream.27, %struct.ImVector.28, i8, [3 x i8], i32, ptr, %struct.ImGuiTextBuffer, float, i8, [3 x i8], i32, i32, i32, i8, [3 x i8], i32, %struct.ImGuiMetricsConfig, [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, i8, float, 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 }
%struct.ImVector = 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, %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, [53 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.1 }
%struct.ImVector.1 = 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.2 = type { i32, i32, ptr }
%struct.ImVector.3 = type { i32, i32, ptr }
%struct.ImVector.4 = 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.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.9] }
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.10, %struct.ImVector, %struct.ImVector.11, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.12, %struct.ImVector.13, %struct.ImVector.14, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%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.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.15 }
%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.16 = type { i32, i32, ptr }
%struct.ImPool = type <{ %struct.ImVector.17, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.17 = type { i32, i32, ptr }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImVector.15 = type { i32, i32, ptr }
%struct.ImPool.20 = type <{ %struct.ImVector.21, %struct.ImGuiStorage, i32, [4 x i8] }>
%struct.ImVector.21 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVector.23 = type { i32, i32, ptr }
%struct.ImGuiInputTextState = type { i32, i32, i32, %struct.ImVector, %struct.ImVector.24, %struct.ImVector.24, i8, i32, float, %"struct.ImStb::STB_TexteditState", float, i8, i8, i8, i32, ptr, ptr }
%"struct.ImStb::STB_TexteditState" = type { i32, i32, i32, i8, i32, 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.19, float, float, %struct.ImVector, %struct.ImVector.25, ptr, ptr, ptr, i16, i16, i16, i8, i8, float, float, float, i32, [2 x i8], [6 x i8] }>
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImVec4 = type { float, float, float, float }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImVector.5 = type { i32, i32, ptr }
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImChunkStream = type { %struct.ImVector.24 }
%struct.ImChunkStream.27 = type { %struct.ImVector.24 }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImGuiMetricsConfig = type { i8, i8, i8, i8, i8, i32, i32 }
%struct.ImGuiTable = type <{ i32, i32, ptr, %struct.ImSpan, %struct.ImSpan.30, %struct.ImSpan.31, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32, i16, i16, 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, %struct.ImRect, %struct.ImRect, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec1, float, i32, ptr, ptr, %struct.ImGuiTextBuffer, %struct.ImDrawListSplitter, %struct.ImGuiTableColumnSortSpecs, [4 x i8], %struct.ImVector.32, %struct.ImGuiTableSortSpecs, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>
%struct.ImSpan = type { ptr, ptr }
%struct.ImSpan.30 = type { ptr, ptr }
%struct.ImSpan.31 = type { ptr, ptr }
%struct.ImVec1 = type { float }
%struct.ImGuiTableColumnSortSpecs = type <{ i32, i16, i16, i8, [3 x i8] }>
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImGuiTableSortSpecs = type <{ ptr, i32, i8, [3 x i8] }>

@GImGui = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15TableHeadersRowEv = external hidden unnamed_addr constant [30 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: mustprogress uwtable
declare dso_local void @_ZN5ImGui17TableUpdateLayoutEP10ImGuiTable(ptr noundef) #2

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20TableOpenContextMenuEi(i32 noundef) #4

declare void @_ZN5ImGui5PopIDEv() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui19TableGetColumnCountEv() #5

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui18TableGetColumnNameEi(i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui21TableGetHoveredColumnEv() #5

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12TableNextRowEif(i32 noundef, float noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19TableSetColumnIndexEi(i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui23TableGetHeaderRowHeightEv() #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15TableHeadersRowEv() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca ptr, align 8
  %3 = alloca float, align 4
  %4 = alloca %struct.ImVec2, align 4
  %5 = alloca float, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca %struct.ImVec2, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %11 = load ptr, ptr @GImGui, align 8, !tbaa !5
  store ptr %11, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %12 = load ptr, ptr %1, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImGuiContext, ptr %12, i32 0, i32 166
  %14 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %14, ptr %2, align 8, !tbaa !5
  %15 = load ptr, ptr %2, align 8, !tbaa !5
  %16 = icmp ne ptr %15, null
  br i1 %16, label %17, label %18

17:                                               ; preds = %0
  br label %18

18:                                               ; preds = %17, %0
  %19 = phi i1 [ false, %0 ], [ true, %17 ]
  br i1 %19, label %20, label %21

20:                                               ; preds = %18
  br label %23

21:                                               ; preds = %18
  call void @__assert_fail(ptr noundef @.str.73, ptr noundef @.str.2, i32 noundef 2702, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui15TableHeadersRowEv) #7
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  %24 = load ptr, ptr %2, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.ImGuiTable, ptr %24, i32 0, i32 95
  %26 = load i8, ptr %25, align 8, !tbaa !73, !range !82, !noundef !83
  %27 = trunc i8 %26 to i1
  br i1 %27, label %30, label %28

28:                                               ; preds = %23
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  call void @_ZN5ImGui17TableUpdateLayoutEP10ImGuiTable(ptr noundef %29)
  br label %30

30:                                               ; preds = %28, %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %31 = call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  store <2 x float> %31, ptr %4, align 4
  %32 = getelementptr inbounds %struct.ImVec2, ptr %4, i32 0, i32 1
  %33 = load float, ptr %32, align 4, !tbaa !84
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  store float %33, ptr %3, align 4, !tbaa !85
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %34 = call noundef float @_ZN5ImGui23TableGetHeaderRowHeightEv()
  store float %34, ptr %5, align 4, !tbaa !85
  %35 = load float, ptr %5, align 4, !tbaa !85
  call void @_ZN5ImGui12TableNextRowEif(i32 noundef 1, float noundef %35)
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiTable, ptr %36, i32 0, i32 109
  %38 = load i8, ptr %37, align 2, !tbaa !86, !range !82, !noundef !83
  %39 = trunc i8 %38 to i1
  br i1 %39, label %40, label %41

40:                                               ; preds = %30
  store i32 1, ptr %6, align 4
  br label %91

41:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  %42 = call noundef i32 @_ZN5ImGui19TableGetColumnCountEv()
  store i32 %42, ptr %7, align 4, !tbaa !87
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !87
  br label %43

43:                                               ; preds = %66, %41
  %44 = load i32, ptr %8, align 4, !tbaa !87
  %45 = load i32, ptr %7, align 4, !tbaa !87
  %46 = icmp slt i32 %44, %45
  br i1 %46, label %48, label %47

47:                                               ; preds = %43
  store i32 2, ptr %6, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  br label %69

48:                                               ; preds = %43
  %49 = load i32, ptr %8, align 4, !tbaa !87
  %50 = call noundef zeroext i1 @_ZN5ImGui19TableSetColumnIndexEi(i32 noundef %49)
  br i1 %50, label %52, label %51

51:                                               ; preds = %48
  br label %66

52:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %53 = load i32, ptr %8, align 4, !tbaa !87
  %54 = call noundef ptr @_ZN5ImGui18TableGetColumnNameEi(i32 noundef %53)
  store ptr %54, ptr %9, align 8, !tbaa !5
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiTable, ptr %55, i32 0, i32 16
  %57 = load i16, ptr %56, align 8, !tbaa !88
  %58 = sext i16 %57 to i32
  %59 = load ptr, ptr %2, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.ImGuiTable, ptr %59, i32 0, i32 13
  %61 = load i32, ptr %60, align 4, !tbaa !89
  %62 = mul nsw i32 %58, %61
  %63 = load i32, ptr %8, align 4, !tbaa !87
  %64 = add nsw i32 %62, %63
  call void @_ZN5ImGui6PushIDEi(i32 noundef %64)
  %65 = load ptr, ptr %9, align 8, !tbaa !5
  call void @_ZN5ImGui11TableHeaderEPKc(ptr noundef %65)
  call void @_ZN5ImGui5PopIDEv()
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %66

66:                                               ; preds = %52, %51
  %67 = load i32, ptr %8, align 4, !tbaa !87
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %8, align 4, !tbaa !87
  br label %43, !llvm.loop !90

69:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %70 = call <2 x float> @_ZN5ImGui11GetMousePosEv()
  store <2 x float> %70, ptr %10, align 4
  %71 = call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %71, label %72, label %90

72:                                               ; preds = %69
  %73 = call noundef i32 @_ZN5ImGui21TableGetHoveredColumnEv()
  %74 = load i32, ptr %7, align 4, !tbaa !87
  %75 = icmp eq i32 %73, %74
  br i1 %75, label %76, label %90

76:                                               ; preds = %72
  %77 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %78 = load float, ptr %77, align 4, !tbaa !84
  %79 = load float, ptr %3, align 4, !tbaa !85
  %80 = fcmp oge float %78, %79
  br i1 %80, label %81, label %89

81:                                               ; preds = %76
  %82 = getelementptr inbounds %struct.ImVec2, ptr %10, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !84
  %84 = load float, ptr %3, align 4, !tbaa !85
  %85 = load float, ptr %5, align 4, !tbaa !85
  %86 = fadd float %84, %85
  %87 = fcmp olt float %83, %86
  br i1 %87, label %88, label %89

88:                                               ; preds = %81
  call void @_ZN5ImGui20TableOpenContextMenuEi(i32 noundef -1)
  br label %89

89:                                               ; preds = %88, %81, %76
  br label %90

90:                                               ; preds = %89, %72, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  store i32 0, ptr %6, align 4
  br label %91

91:                                               ; preds = %90, %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  %92 = load i32, ptr %6, align 4
  switch i32 %92, label %94 [
    i32 0, label %93
    i32 1, label %93
  ]

93:                                               ; preds = %91, %91
  ret void

94:                                               ; preds = %91
  unreachable
}

declare <2 x float> @_ZN5ImGui18GetCursorScreenPosEv() #3

declare void @_ZN5ImGui6PushIDEi(i32 noundef) #3

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

declare <2 x float> @_ZN5ImGui11GetMousePosEv() #3

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 uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { 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 #5 = { 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 #6 = { nounwind }
attributes #7 = { 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 8360}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!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, !11, i64 197, !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, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !13, i64 952, !14, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!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, !14, i64 96, !15, i64 104, !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, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!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 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_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}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_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}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{!74, !11, i64 584}
!74 = !{!"_ZTS10ImGuiTable", !13, i64 0, !13, i64 4, !6, i64 8, !75, i64 16, !76, i64 32, !77, i64 48, !25, i64 64, !25, i64 72, !25, i64 80, !25, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !16, i64 120, !16, i64 122, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !13, i64 144, !13, i64 146, !13, i64 148, !7, i64 152, !13, i64 160, !13, i64 164, !15, 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, !28, i64 236, !28, i64 252, !28, i64 268, !28, i64 284, !28, i64 300, !28, i64 316, !28, i64 332, !28, i64 348, !28, i64 364, !28, i64 380, !28, i64 396, !14, i64 412, !14, i64 420, !14, i64 428, !14, i64 436, !78, i64 444, !15, i64 448, !13, i64 452, !6, i64 456, !6, i64 464, !66, i64 472, !49, i64 488, !79, i64 512, !80, i64 528, !81, i64 544, !7, i64 560, !7, i64 561, !7, i64 562, !7, i64 563, !7, i64 564, !7, i64 565, !7, i64 566, !7, i64 567, !7, i64 568, !7, i64 569, !7, i64 570, !7, i64 571, !7, i64 572, !7, i64 573, !7, i64 574, !7, i64 575, !7, i64 576, !7, i64 577, !7, i64 578, !7, i64 579, !7, i64 580, !7, i64 581, !7, i64 582, !7, i64 583, !11, i64 584, !11, i64 585, !11, i64 586, !11, i64 587, !11, i64 588, !11, i64 589, !11, i64 590, !11, i64 591, !11, i64 592, !11, i64 593, !11, i64 594, !11, i64 595, !11, i64 596, !11, i64 597, !11, i64 598}
!75 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !6, i64 0, !6, i64 8}
!76 = !{!"_ZTS6ImSpanIaE", !6, i64 0, !6, i64 8}
!77 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !6, i64 0, !6, i64 8}
!78 = !{!"_ZTS6ImVec1", !15, i64 0}
!79 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !13, i64 0, !16, i64 4, !16, i64 6, !13, i64 8}
!80 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !13, i64 8, !11, i64 12}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = !{!14, !15, i64 4}
!85 = !{!15, !15, i64 0}
!86 = !{!74, !11, i64 598}
!87 = !{!13, !13, i64 0}
!88 = !{!74, !16, i64 120}
!89 = !{!74, !13, i64 108}
!90 = distinct !{!90, !91}
!91 = !{!"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"

@GImGui = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [89 x i8], align 1
@.str.73 = external hidden unnamed_addr constant [72 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui15TableHeadersRowEv = external hidden unnamed_addr constant [30 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: mustprogress uwtable
declare dso_local void @_ZN5ImGui17TableUpdateLayoutEP10ImGuiTable(ptr noundef) local_unnamed_addr #1

declare noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui20TableOpenContextMenuEi(i32 noundef) local_unnamed_addr #3

declare void @_ZN5ImGui5PopIDEv() local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui19TableGetColumnCountEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN5ImGui18TableGetColumnNameEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN5ImGui21TableGetHoveredColumnEv() local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui12TableNextRowEif(i32 noundef, float noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN5ImGui19TableSetColumnIndexEi(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN5ImGui23TableGetHeaderRowHeightEv() local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui15TableHeadersRowEv() local_unnamed_addr #1 {
  %1 = load ptr, ptr @GImGui, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %1, i64 8360
  %3 = load ptr, ptr %2, align 8, !tbaa !9
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %4, label %5

4:                                                ; preds = %0
  tail call void @__assert_fail(ptr noundef nonnull @.str.73, ptr noundef nonnull @.str.2, i32 noundef 2702, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui15TableHeadersRowEv) #5
  unreachable

5:                                                ; preds = %0
  %6 = getelementptr inbounds i8, ptr %3, i64 584
  %7 = load i8, ptr %6, align 8, !tbaa !73, !range !82, !noundef !83
  %8 = trunc nuw i8 %7 to i1
  br i1 %8, label %10, label %9

9:                                                ; preds = %5
  tail call void @_ZN5ImGui17TableUpdateLayoutEP10ImGuiTable(ptr noundef nonnull %3)
  br label %10

10:                                               ; preds = %9, %5
  %11 = tail call <2 x float> @_ZN5ImGui18GetCursorScreenPosEv()
  %.sroa.011.4.vec.extract = extractelement <2 x float> %11, i64 1
  %12 = tail call noundef float @_ZN5ImGui23TableGetHeaderRowHeightEv()
  tail call void @_ZN5ImGui12TableNextRowEif(i32 noundef 1, float noundef %12)
  %13 = getelementptr inbounds i8, ptr %3, i64 598
  %14 = load i8, ptr %13, align 2, !tbaa !84, !range !82, !noundef !83
  %15 = trunc nuw i8 %14 to i1
  br i1 %15, label %42, label %16

16:                                               ; preds = %10
  %17 = tail call noundef i32 @_ZN5ImGui19TableGetColumnCountEv()
  %18 = icmp sgt i32 %17, 0
  br i1 %18, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16
  %19 = getelementptr inbounds i8, ptr %3, i64 120
  %20 = getelementptr inbounds i8, ptr %3, i64 108
  br label %23

._crit_edge:                                      ; preds = %32, %16
  %21 = tail call <2 x float> @_ZN5ImGui11GetMousePosEv()
  %22 = tail call noundef zeroext i1 @_ZN5ImGui15IsMouseReleasedEi(i32 noundef 1)
  br i1 %22, label %34, label %42

23:                                               ; preds = %.lr.ph, %32
  %.024 = phi i32 [ 0, %.lr.ph ], [ %33, %32 ]
  %24 = tail call noundef zeroext i1 @_ZN5ImGui19TableSetColumnIndexEi(i32 noundef %.024)
  br i1 %24, label %25, label %32

25:                                               ; preds = %23
  %26 = tail call noundef ptr @_ZN5ImGui18TableGetColumnNameEi(i32 noundef %.024)
  %27 = load i16, ptr %19, align 8, !tbaa !85
  %28 = sext i16 %27 to i32
  %29 = load i32, ptr %20, align 4, !tbaa !86
  %30 = mul nsw i32 %29, %28
  %31 = add nsw i32 %30, %.024
  tail call void @_ZN5ImGui6PushIDEi(i32 noundef %31)
  tail call void @_ZN5ImGui11TableHeaderEPKc(ptr noundef %26)
  tail call void @_ZN5ImGui5PopIDEv()
  br label %32

32:                                               ; preds = %23, %25
  %33 = add nuw nsw i32 %.024, 1
  %exitcond.not = icmp eq i32 %33, %17
  br i1 %exitcond.not, label %._crit_edge, label %23, !llvm.loop !87

34:                                               ; preds = %._crit_edge
  %35 = tail call noundef i32 @_ZN5ImGui21TableGetHoveredColumnEv()
  %36 = icmp eq i32 %35, %17
  br i1 %36, label %37, label %42

37:                                               ; preds = %34
  %.sroa.0.4.vec.extract = extractelement <2 x float> %21, i64 1
  %38 = fcmp oge float %.sroa.0.4.vec.extract, %.sroa.011.4.vec.extract
  %39 = fadd float %.sroa.011.4.vec.extract, %12
  %40 = fcmp olt float %.sroa.0.4.vec.extract, %39
  %or.cond = and i1 %38, %40
  br i1 %or.cond, label %41, label %42

41:                                               ; preds = %37
  tail call void @_ZN5ImGui20TableOpenContextMenuEi(i32 noundef -1)
  br label %42

42:                                               ; preds = %._crit_edge, %34, %41, %37, %10
  ret void
}

declare <2 x float> @_ZN5ImGui18GetCursorScreenPosEv() local_unnamed_addr #2

declare void @_ZN5ImGui6PushIDEi(i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5ImGui11TableHeaderEPKc(ptr noundef) local_unnamed_addr #1

declare <2 x float> @_ZN5ImGui11GetMousePosEv() local_unnamed_addr #2

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 = { mustprogress uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { "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 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 8360}
!10 = !{!"_ZTS12ImGuiContext", !11, i64 0, !11, i64 1, !12, i64 8, !18, i64 5472, !6, i64 6520, !15, i64 6528, !15, i64 6532, !19, i64 6536, !21, i64 6752, !13, i64 6760, !13, i64 6764, !13, i64 6768, !11, i64 6772, !11, i64 6773, !11, i64 6774, !11, i64 6775, !11, i64 6776, !13, i64 6780, !6, i64 6784, !22, i64 6792, !22, i64 6808, !22, i64 6824, !22, i64 6840, !23, i64 6856, !13, i64 6872, !6, i64 6880, !6, i64 6888, !6, i64 6896, !6, i64 6904, !6, i64 6912, !6, i64 6920, !14, i64 6928, !15, i64 6936, !13, i64 6940, !13, i64 6944, !11, i64 6948, !11, i64 6949, !11, i64 6950, !11, i64 6951, !15, i64 6952, !15, i64 6956, !13, i64 6960, !13, i64 6964, !15, i64 6968, !11, i64 6972, !11, i64 6973, !11, i64 6974, !11, i64 6975, !11, i64 6976, !11, i64 6977, !11, i64 6978, !13, i64 6980, !13, i64 6984, !25, i64 6992, !14, i64 7000, !6, i64 7008, !26, i64 7016, !13, i64 7020, !13, i64 7024, !11, i64 7028, !11, i64 7029, !6, i64 7032, !13, i64 7040, !15, i64 7044, !27, i64 7048, !29, i64 7160, !30, i64 7184, !31, i64 7200, !32, i64 7216, !33, i64 7232, !34, i64 7248, !35, i64 7264, !36, i64 7280, !36, i64 7296, !6, i64 7312, !13, i64 7320, !13, i64 7324, !13, i64 7328, !13, i64 7332, !13, i64 7336, !13, i64 7340, !13, i64 7344, !13, i64 7348, !13, i64 7352, !13, i64 7356, !13, i64 7360, !26, i64 7364, !28, i64 7368, !13, i64 7384, !37, i64 7388, !13, i64 7392, !11, i64 7396, !11, i64 7397, !11, i64 7398, !11, i64 7399, !11, i64 7400, !11, i64 7401, !11, i64 7402, !13, i64 7404, !28, i64 7408, !11, i64 7424, !13, i64 7428, !38, i64 7432, !13, i64 7436, !13, i64 7440, !13, i64 7444, !13, i64 7448, !39, i64 7456, !39, i64 7504, !39, i64 7552, !6, i64 7600, !13, i64 7608, !6, i64 7616, !6, i64 7624, !6, i64 7632, !15, i64 7640, !15, i64 7644, !11, i64 7648, !6, i64 7656, !6, i64 7664, !13, i64 7672, !13, i64 7676, !13, i64 7680, !13, i64 7684, !11, i64 7688, !40, i64 7696, !41, i64 7752, !15, i64 7784, !42, i64 7792, !42, i64 7992, !13, i64 8192, !11, i64 8196, !11, i64 8197, !11, i64 8198, !13, i64 8200, !13, i64 8204, !13, i64 8208, !51, i64 8216, !28, i64 8280, !13, i64 8296, !13, i64 8300, !15, i64 8304, !13, i64 8308, !13, i64 8312, !13, i64 8316, !13, i64 8320, !52, i64 8328, !7, i64 8344, !6, i64 8360, !53, i64 8368, !55, i64 8408, !56, i64 8424, !50, i64 8440, !6, i64 8456, !57, i64 8464, !55, i64 8504, !59, i64 8520, !14, i64 8536, !60, i64 8544, !64, i64 12280, !13, i64 12392, !13, i64 12396, !15, i64 12400, !15, i64 12404, !7, i64 12408, !20, i64 12420, !15, i64 12436, !11, i64 12440, !11, i64 12441, !15, i64 12444, !15, i64 12448, !15, i64 12452, !13, i64 12456, !15, i64 12460, !61, i64 12464, !33, i64 12480, !14, i64 12496, !14, i64 12504, !7, i64 12512, !11, i64 12513, !15, i64 12516, !66, i64 12520, !67, i64 12536, !68, i64 12552, !69, i64 12568, !70, i64 12584, !11, i64 12600, !71, i64 12604, !6, i64 12608, !66, i64 12616, !15, i64 12632, !11, i64 12636, !13, i64 12640, !13, i64 12644, !13, i64 12648, !11, i64 12652, !13, i64 12656, !72, i64 12660, !7, i64 12676, !13, i64 13156, !15, i64 13160, !13, i64 13164, !13, i64 13168, !13, i64 13172, !7, i64 13176}
!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, !11, i64 197, !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, !14, i64 288, !7, i64 296, !15, i64 304, !15, i64 308, !11, i64 312, !11, i64 313, !11, i64 314, !11, i64 315, !7, i64 316, !7, i64 828, !11, i64 912, !11, i64 913, !11, i64 914, !11, i64 915, !11, i64 916, !11, i64 917, !11, i64 918, !15, i64 920, !13, i64 924, !13, i64 928, !13, i64 932, !13, i64 936, !13, i64 940, !14, i64 944, !13, i64 952, !14, i64 956, !7, i64 964, !7, i64 1008, !7, i64 1048, !7, i64 1053, !7, i64 1058, !7, i64 1063, !7, i64 1068, !7, i64 1076, !7, i64 1096, !7, i64 1116, !7, i64 1156, !7, i64 1176, !7, i64 3224, !7, i64 5272, !7, i64 5356, !15, i64 5440, !16, i64 5444, !17, i64 5448}
!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, !14, i64 96, !15, i64 104, !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, !13, i64 144, !14, i64 148, !14, i64 156, !14, i64 164, !14, i64 172, !15, i64 180, !11, i64 184, !11, i64 185, !11, i64 186, !15, i64 188, !15, i64 192, !7, i64 196}
!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 = !{!"_ZTS8ImVectorIjE", !13, i64 0, !13, i64 4, !6, i64 8}
!34 = !{!"_ZTS8ImVectorIiE", !13, i64 0, !13, i64 4, !6, i64 8}
!35 = !{!"_ZTS8ImVectorI14ImGuiGroupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!36 = !{!"_ZTS8ImVectorI14ImGuiPopupDataE", !13, i64 0, !13, i64 4, !6, i64 8}
!37 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!38 = !{!"_ZTS15ImGuiNavForward", !7, i64 0}
!39 = !{!"_ZTS18ImGuiNavMoveResult", !6, i64 0, !13, i64 8, !13, i64 12, !15, i64 16, !15, i64 20, !15, i64 24, !28, i64 28}
!40 = !{!"_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}
!41 = !{!"_ZTS17ImDrawDataBuilder", !7, i64 0}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !17, i64 16, !44, i64 32, !13, i64 48, !13, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !49, i64 168, !15, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !13, i64 0, !13, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !13, i64 0, !13, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !13, i64 0, !13, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !13, i64 0, !13, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !13, i64 0, !13, i64 4, !6, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !20, i64 0, !6, i64 16, !13, i64 24}
!49 = !{!"_ZTS18ImDrawListSplitter", !13, i64 0, !13, i64 4, !50, i64 8}
!50 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !13, i64 0, !13, i64 4, !6, i64 8}
!51 = !{!"_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}
!52 = !{!"_ZTS8ImVectorIhE", !13, i64 0, !13, i64 4, !6, i64 8}
!53 = !{!"_ZTS6ImPoolI10ImGuiTableE", !54, i64 0, !23, i64 16, !13, i64 32}
!54 = !{!"_ZTS8ImVectorI10ImGuiTableE", !13, i64 0, !13, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI15ImGuiPtrOrIndexE", !13, i64 0, !13, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIfE", !13, i64 0, !13, i64 4, !6, i64 8}
!57 = !{!"_ZTS6ImPoolI11ImGuiTabBarE", !58, i64 0, !23, i64 16, !13, i64 32}
!58 = !{!"_ZTS8ImVectorI11ImGuiTabBarE", !13, i64 0, !13, i64 4, !6, i64 8}
!59 = !{!"_ZTS8ImVectorI20ImGuiShrinkWidthItemE", !13, i64 0, !13, i64 4, !6, i64 8}
!60 = !{!"_ZTS19ImGuiInputTextState", !13, i64 0, !13, i64 4, !13, i64 8, !17, i64 16, !61, i64 32, !61, i64 48, !11, i64 64, !13, i64 68, !15, i64 72, !62, i64 76, !15, i64 3704, !11, i64 3708, !11, i64 3709, !11, i64 3710, !13, i64 3712, !6, i64 3720, !6, i64 3728}
!61 = !{!"_ZTS8ImVectorIcE", !13, i64 0, !13, i64 4, !6, i64 8}
!62 = !{!"_ZTSN5ImStb17STB_TexteditStateE", !13, i64 0, !13, i64 4, !13, i64 8, !7, i64 12, !13, i64 16, !7, i64 20, !7, i64 21, !7, i64 22, !7, i64 23, !7, i64 24, !7, i64 25, !7, i64 26, !15, i64 28, !63, i64 32}
!63 = !{!"_ZTSN5ImStb12StbUndoStateE", !7, i64 0, !7, i64 1584, !16, i64 3582, !16, i64 3584, !13, i64 3588, !13, i64 3592}
!64 = !{!"_ZTS6ImFont", !56, i64 0, !15, i64 16, !15, i64 20, !17, i64 24, !65, i64 40, !6, i64 56, !6, i64 64, !6, i64 72, !16, i64 80, !16, i64 82, !16, i64 84, !11, i64 86, !15, i64 88, !15, i64 92, !15, i64 96, !13, i64 100, !7, i64 104}
!65 = !{!"_ZTS8ImVectorI11ImFontGlyphE", !13, i64 0, !13, i64 4, !6, i64 8}
!66 = !{!"_ZTS15ImGuiTextBuffer", !61, i64 0}
!67 = !{!"_ZTS8ImVectorI20ImGuiSettingsHandlerE", !13, i64 0, !13, i64 4, !6, i64 8}
!68 = !{!"_ZTS13ImChunkStreamI19ImGuiWindowSettingsE", !61, i64 0}
!69 = !{!"_ZTS13ImChunkStreamI18ImGuiTableSettingsE", !61, i64 0}
!70 = !{!"_ZTS8ImVectorI16ImGuiContextHookE", !13, i64 0, !13, i64 4, !6, i64 8}
!71 = !{!"_ZTS12ImGuiLogType", !7, i64 0}
!72 = !{!"_ZTS18ImGuiMetricsConfig", !11, i64 0, !11, i64 1, !11, i64 2, !11, i64 3, !11, i64 4, !13, i64 8, !13, i64 12}
!73 = !{!74, !11, i64 584}
!74 = !{!"_ZTS10ImGuiTable", !13, i64 0, !13, i64 4, !6, i64 8, !75, i64 16, !76, i64 32, !77, i64 48, !25, i64 64, !25, i64 72, !25, i64 80, !25, i64 88, !13, i64 96, !13, i64 100, !13, i64 104, !13, i64 108, !13, i64 112, !13, i64 116, !16, i64 120, !16, i64 122, !15, i64 124, !15, i64 128, !15, i64 132, !15, i64 136, !15, i64 140, !13, i64 144, !13, i64 146, !13, i64 148, !7, i64 152, !13, i64 160, !13, i64 164, !15, 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, !28, i64 236, !28, i64 252, !28, i64 268, !28, i64 284, !28, i64 300, !28, i64 316, !28, i64 332, !28, i64 348, !28, i64 364, !28, i64 380, !28, i64 396, !14, i64 412, !14, i64 420, !14, i64 428, !14, i64 436, !78, i64 444, !15, i64 448, !13, i64 452, !6, i64 456, !6, i64 464, !66, i64 472, !49, i64 488, !79, i64 512, !80, i64 528, !81, i64 544, !7, i64 560, !7, i64 561, !7, i64 562, !7, i64 563, !7, i64 564, !7, i64 565, !7, i64 566, !7, i64 567, !7, i64 568, !7, i64 569, !7, i64 570, !7, i64 571, !7, i64 572, !7, i64 573, !7, i64 574, !7, i64 575, !7, i64 576, !7, i64 577, !7, i64 578, !7, i64 579, !7, i64 580, !7, i64 581, !7, i64 582, !7, i64 583, !11, i64 584, !11, i64 585, !11, i64 586, !11, i64 587, !11, i64 588, !11, i64 589, !11, i64 590, !11, i64 591, !11, i64 592, !11, i64 593, !11, i64 594, !11, i64 595, !11, i64 596, !11, i64 597, !11, i64 598}
!75 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !6, i64 0, !6, i64 8}
!76 = !{!"_ZTS6ImSpanIaE", !6, i64 0, !6, i64 8}
!77 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !6, i64 0, !6, i64 8}
!78 = !{!"_ZTS6ImVec1", !15, i64 0}
!79 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !13, i64 0, !16, i64 4, !16, i64 6, !13, i64 8}
!80 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !13, i64 0, !13, i64 4, !6, i64 8}
!81 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !13, i64 8, !11, i64 12}
!82 = !{i8 0, i8 2}
!83 = !{}
!84 = !{!74, !11, i64 598}
!85 = !{!74, !16, i64 120}
!86 = !{!74, !13, i64 108}
!87 = distinct !{!87, !88}
!88 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass