; LLVM IR from l1mey112/yr11-physics-applied :: cimgui/imgui/imgui_tables.ll (ZN5ImGui12TableEndCellEP10ImGuiTable)

; 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.ImGuiTable = type <{ i32, i32, ptr, ptr, %struct.ImSpan, %struct.ImSpan.35, %struct.ImSpan.36, 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, %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, [4 x i8], %struct.ImVector.37, %struct.ImGuiTableColumnSortSpecs, [4 x i8], %struct.ImVector.38, %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, i8, i8, [6 x i8] }>
%struct.ImSpan = type { ptr, ptr }
%struct.ImSpan.35 = type { ptr, ptr }
%struct.ImSpan.36 = type { ptr, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.24 }
%struct.ImVector.24 = type { i32, i32, ptr }
%struct.ImGuiTableInstanceData = type { float, float, float }
%struct.ImVector.37 = type { i32, i32, ptr }
%struct.ImGuiTableColumnSortSpecs = type <{ i32, i16, i16, i8, [3 x i8] }>
%struct.ImVector.38 = type { i32, i32, ptr }
%struct.ImGuiTableSortSpecs = type <{ ptr, i32, i8, [3 x i8] }>
%struct.ImGuiWindow = type <{ ptr, i32, i32, ptr, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, float, float, float, float, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, i16, i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.9, %struct.ImGuiWindowTempData, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImRect, %struct.ImVec2ih, %struct.ImVec2ih, i32, float, float, [4 x i8], %struct.ImGuiStorage, %struct.ImVector.30, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i32, i8, [3 x i8] }>
%struct.ImVector.9 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type { %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i8, i8, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, %struct.ImVec2, i32, i16, i16, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.2, ptr, ptr, i32, i32, i32, float, float, %struct.ImVector.18, %struct.ImVector.18 }
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.18 = type { i32, i32, ptr }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.4 }
%struct.ImVector.4 = type { i32, i32, ptr }
%struct.ImVector.30 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.31, %struct.ImVector, %struct.ImVector.32, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.33, %struct.ImVector.34, %struct.ImVector.1, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.31 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.32 = type { i32, i32, ptr }
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImVector.34 = type { i32, i32, ptr }
%struct.ImVector.1 = type { i32, i32, ptr }
%struct.ImDrawCmdHeader = type <{ %struct.ImVec4, ptr, i32, [4 x i8] }>
%struct.ImVec4 = type { float, float, float, float }
%struct.ImDrawListSplitter = type { i32, i32, %struct.ImVector.19 }
%struct.ImVector.19 = type { i32, i32, ptr }
%struct.ImGuiTableColumn = type <{ i32, float, float, float, float, float, float, float, %struct.ImRect, i32, float, float, float, float, float, float, float, i16, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8 }>

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui12TableEndCellEP10ImGuiTable(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.ImGuiTable, ptr %6, i32 0, i32 4
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.ImGuiTable, ptr %8, i32 0, i32 16
  %10 = load i32, ptr %9, align 4, !tbaa !9
  %11 = call noundef nonnull align 4 dereferenceable(103) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %7, i32 noundef %10)
  store ptr %11, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %12 = load ptr, ptr %2, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ImGuiTable, ptr %12, i32 0, i32 55
  %14 = load ptr, ptr %13, align 8, !tbaa !28
  store ptr %14, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.ImGuiWindow, ptr %15, i32 0, i32 61
  %17 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %16, i32 0, i32 10
  %18 = load i8, ptr %17, align 1, !tbaa !29, !range !53, !noundef !54
  %19 = trunc i8 %18 to i1
  br i1 %19, label %20, label %21

20:                                               ; preds = %1
  call void @_ZN5ImGui51ErrorCheckUsingSetCursorPosToExtendParentBoundariesEv()
  br label %21

21:                                               ; preds = %20, %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %22 = load ptr, ptr %2, align 8, !tbaa !5
  %23 = getelementptr inbounds %struct.ImGuiTable, ptr %22, i32 0, i32 24
  %24 = load i32, ptr %23, align 8
  %25 = shl i32 %24, 16
  %26 = ashr i32 %25, 16
  %27 = and i32 %26, 1
  %28 = icmp ne i32 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %21
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %30, i32 0, i32 15
  store ptr %31, ptr %5, align 8, !tbaa !5
  br label %45

32:                                               ; preds = %21
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiTable, ptr %33, i32 0, i32 101
  %35 = load i8, ptr %34, align 4, !tbaa !55, !range !53, !noundef !54
  %36 = trunc i8 %35 to i1
  br i1 %36, label %37, label %40

37:                                               ; preds = %32
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %38, i32 0, i32 14
  br label %43

40:                                               ; preds = %32
  %41 = load ptr, ptr %3, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %41, i32 0, i32 13
  br label %43

43:                                               ; preds = %40, %37
  %44 = phi ptr [ %39, %37 ], [ %42, %40 ]
  store ptr %44, ptr %5, align 8, !tbaa !5
  br label %45

45:                                               ; preds = %43, %29
  %46 = load ptr, ptr %5, align 8, !tbaa !5
  %47 = load float, ptr %46, align 4, !tbaa !56
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.ImGuiWindow, ptr %48, i32 0, i32 61
  %50 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %49, i32 0, i32 3
  %51 = getelementptr inbounds %struct.ImVec2, ptr %50, i32 0, i32 0
  %52 = load float, ptr %51, align 8, !tbaa !57
  %53 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %47, float noundef %52)
  %54 = load ptr, ptr %5, align 8, !tbaa !5
  store float %53, ptr %54, align 4, !tbaa !56
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.ImGuiTable, ptr %55, i32 0, i32 20
  %57 = load float, ptr %56, align 8, !tbaa !58
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiWindow, ptr %58, i32 0, i32 61
  %60 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %59, i32 0, i32 3
  %61 = getelementptr inbounds %struct.ImVec2, ptr %60, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !59
  %63 = load ptr, ptr %2, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.ImGuiTable, ptr %63, i32 0, i32 35
  %65 = load float, ptr %64, align 8, !tbaa !60
  %66 = fadd float %62, %65
  %67 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %57, float noundef %66)
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ImGuiTable, ptr %68, i32 0, i32 20
  store float %67, ptr %69, align 8, !tbaa !58
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ImGuiWindow, ptr %70, i32 0, i32 61
  %72 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %71, i32 0, i32 31
  %73 = load float, ptr %72, align 4, !tbaa !61
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.ImGuiTableColumn, ptr %74, i32 0, i32 12
  store float %73, ptr %75, align 4, !tbaa !62
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ImGuiTable, ptr %76, i32 0, i32 22
  %78 = load float, ptr %77, align 8, !tbaa !64
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiWindow, ptr %79, i32 0, i32 61
  %81 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %80, i32 0, i32 8
  %82 = load float, ptr %81, align 4, !tbaa !65
  %83 = call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %78, float noundef %82)
  %84 = load ptr, ptr %2, align 8, !tbaa !5
  %85 = getelementptr inbounds %struct.ImGuiTable, ptr %84, i32 0, i32 22
  store float %83, ptr %85, align 8, !tbaa !64
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

declare void @_ZN5ImGui51ErrorCheckUsingSetCursorPosToExtendParentBoundariesEv() #3

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

!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, !11, i64 124}
!10 = !{!"_ZTS10ImGuiTable", !11, i64 0, !11, i64 4, !6, i64 8, !6, i64 16, !12, i64 24, !13, i64 40, !14, i64 56, !15, i64 72, !15, i64 80, !15, i64 88, !15, i64 96, !11, i64 104, !11, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !11, i64 124, !16, i64 128, !16, i64 130, !17, i64 132, !17, i64 136, !17, i64 140, !17, i64 144, !17, i64 148, !11, i64 152, !11, i64 154, !11, i64 156, !7, i64 160, !11, i64 168, !11, i64 172, !17, i64 176, !17, i64 180, !17, i64 184, !17, i64 188, !17, i64 192, !17, i64 196, !17, i64 200, !17, i64 204, !17, i64 208, !17, i64 212, !17, i64 216, !17, i64 220, !17, i64 224, !17, i64 228, !17, i64 232, !17, i64 236, !18, i64 240, !18, i64 256, !18, i64 272, !18, i64 288, !18, i64 304, !18, i64 320, !18, i64 336, !18, i64 352, !18, i64 368, !6, i64 384, !6, i64 392, !20, i64 400, !6, i64 416, !22, i64 424, !23, i64 440, !24, i64 456, !25, i64 472, !26, i64 488, !7, i64 504, !7, i64 505, !7, i64 506, !7, i64 507, !7, i64 508, !7, i64 509, !7, i64 510, !7, i64 511, !7, i64 512, !7, i64 513, !7, i64 514, !7, i64 515, !7, i64 516, !7, i64 517, !7, i64 518, !7, i64 519, !7, i64 520, !7, i64 521, !7, i64 522, !7, i64 523, !7, i64 524, !7, i64 525, !7, i64 526, !7, i64 527, !7, i64 528, !27, i64 529, !27, i64 530, !27, i64 531, !27, i64 532, !27, i64 533, !27, i64 534, !27, i64 535, !27, i64 536, !27, i64 537, !27, i64 538, !27, i64 539, !27, i64 540, !27, i64 541, !27, i64 542, !27, i64 543, !27, i64 544, !27, i64 545}
!11 = !{!"int", !7, i64 0}
!12 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !6, i64 0, !6, i64 8}
!13 = !{!"_ZTS6ImSpanIaE", !6, i64 0, !6, i64 8}
!14 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !6, i64 0, !6, i64 8}
!15 = !{!"long long", !7, i64 0}
!16 = !{!"short", !7, i64 0}
!17 = !{!"float", !7, i64 0}
!18 = !{!"_ZTS6ImRect", !19, i64 0, !19, i64 8}
!19 = !{!"_ZTS6ImVec2", !17, i64 0, !17, i64 4}
!20 = !{!"_ZTS15ImGuiTextBuffer", !21, i64 0}
!21 = !{!"_ZTS8ImVectorIcE", !11, i64 0, !11, i64 4, !6, i64 8}
!22 = !{!"_ZTS22ImGuiTableInstanceData", !17, i64 0, !17, i64 4, !17, i64 8}
!23 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !11, i64 0, !11, i64 4, !6, i64 8}
!24 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !11, i64 0, !16, i64 4, !16, i64 6, !11, i64 8}
!25 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !11, i64 0, !11, i64 4, !6, i64 8}
!26 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !11, i64 8, !27, i64 12}
!27 = !{!"bool", !7, i64 0}
!28 = !{!10, !6, i64 392}
!29 = !{!30, !27, i64 313}
!30 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !6, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !19, i64 72, !17, i64 80, !17, i64 84, !17, i64 88, !17, i64 92, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !11, i64 112, !11, i64 116, !11, i64 120, !19, i64 124, !19, i64 132, !19, i64 140, !19, i64 148, !19, i64 156, !19, i64 164, !27, i64 172, !27, i64 173, !27, i64 174, !27, i64 175, !27, i64 176, !27, i64 177, !27, i64 178, !27, i64 179, !27, i64 180, !27, i64 181, !27, i64 182, !27, i64 183, !27, i64 184, !7, i64 185, !16, i64 186, !16, i64 188, !16, i64 190, !16, i64 192, !16, i64 194, !11, i64 196, !7, i64 200, !7, i64 201, !7, i64 202, !27, i64 203, !11, i64 204, !7, i64 208, !7, i64 209, !7, i64 210, !7, i64 211, !11, i64 212, !11, i64 213, !11, i64 214, !19, i64 216, !19, i64 224, !31, i64 232, !32, i64 248, !18, i64 480, !18, i64 496, !18, i64 512, !18, i64 528, !18, i64 544, !18, i64 560, !18, i64 576, !38, i64 592, !38, i64 596, !11, i64 600, !17, i64 604, !17, i64 608, !39, i64 616, !41, i64 632, !17, i64 648, !11, i64 652, !6, i64 656, !42, i64 664, !6, i64 864, !6, i64 872, !6, i64 880, !6, i64 888, !6, i64 896, !6, i64 904, !6, i64 912, !7, i64 920, !7, i64 928, !11, i64 960, !11, i64 964, !11, i64 968, !27, i64 972}
!31 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!32 = !{!"_ZTS19ImGuiWindowTempData", !19, i64 0, !19, i64 8, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !17, i64 56, !17, i64 60, !27, i64 64, !27, i64 65, !33, i64 68, !33, i64 72, !33, i64 76, !19, i64 80, !34, i64 88, !16, i64 92, !16, i64 94, !27, i64 96, !27, i64 97, !27, i64 98, !19, i64 100, !35, i64 108, !11, i64 136, !11, i64 140, !36, i64 144, !6, i64 160, !6, i64 168, !11, i64 176, !11, i64 180, !11, i64 184, !17, i64 188, !17, i64 192, !37, i64 200, !37, i64 216}
!33 = !{!"_ZTS6ImVec1", !17, i64 0}
!34 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!35 = !{!"_ZTS16ImGuiMenuColumns", !11, i64 0, !11, i64 4, !16, i64 8, !16, i64 10, !16, i64 12, !16, i64 14, !16, i64 16, !7, i64 18}
!36 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!37 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!38 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!39 = !{!"_ZTS12ImGuiStorage", !40, i64 0}
!40 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!41 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!42 = !{!"_ZTS10ImDrawList", !43, i64 0, !44, i64 16, !45, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !46, i64 88, !47, i64 104, !48, i64 120, !49, i64 136, !51, i64 168, !17, i64 192}
!43 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!44 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!46 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!47 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!48 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!49 = !{!"_ZTS15ImDrawCmdHeader", !50, i64 0, !6, i64 16, !11, i64 24}
!50 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!51 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !52, i64 8}
!52 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{i8 0, i8 2}
!54 = !{}
!55 = !{!10, !27, i64 540}
!56 = !{!17, !17, i64 0}
!57 = !{!30, !17, i64 272}
!58 = !{!10, !17, i64 136}
!59 = !{!30, !17, i64 276}
!60 = !{!10, !17, i64 200}
!61 = !{!30, !17, i64 436}
!62 = !{!63, !17, i64 60}
!63 = !{!"_ZTS16ImGuiTableColumn", !11, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !17, i64 24, !17, i64 28, !18, i64 32, !11, i64 48, !17, i64 52, !17, i64 56, !17, i64 60, !17, i64 64, !17, i64 68, !17, i64 72, !17, i64 76, !16, i64 80, !7, i64 82, !7, i64 83, !7, i64 84, !7, i64 85, !7, i64 86, !7, i64 87, !7, i64 88, !7, i64 89, !27, i64 90, !27, i64 91, !27, i64 92, !27, i64 93, !27, i64 94, !27, i64 95, !27, i64 96, !27, i64 97, !7, i64 98, !7, i64 99, !7, i64 100, !7, i64 101, !7, i64 101, !7, i64 101, !7, i64 102}
!64 = !{!10, !17, i64 144}
!65 = !{!30, !17, i64 308}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef, float noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui12TableEndCellEP10ImGuiTable(ptr noundef %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 24
  %3 = getelementptr inbounds i8, ptr %0, i64 124
  %4 = load i32, ptr %3, align 4, !tbaa !5
  %5 = tail call noundef nonnull align 4 dereferenceable(103) ptr @_ZN6ImSpanI16ImGuiTableColumnEixEi(ptr noundef nonnull align 8 dereferenceable(16) %2, i32 noundef %4)
  %6 = getelementptr inbounds i8, ptr %0, i64 392
  %7 = load ptr, ptr %6, align 8, !tbaa !27
  %8 = getelementptr inbounds i8, ptr %7, i64 313
  %9 = load i8, ptr %8, align 1, !tbaa !28, !range !52, !noundef !53
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %12

11:                                               ; preds = %1
  tail call void @_ZN5ImGui51ErrorCheckUsingSetCursorPosToExtendParentBoundariesEv()
  br label %12

12:                                               ; preds = %11, %1
  %13 = getelementptr inbounds i8, ptr %0, i64 152
  %14 = load i32, ptr %13, align 8
  %15 = and i32 %14, 1
  %.not = icmp eq i32 %15, 0
  br i1 %.not, label %16, label %20

16:                                               ; preds = %12
  %17 = getelementptr inbounds i8, ptr %0, i64 540
  %18 = load i8, ptr %17, align 4, !tbaa !54, !range !52, !noundef !53
  %19 = trunc nuw i8 %18 to i1
  %.v = select i1 %19, i64 68, i64 64
  br label %20

20:                                               ; preds = %12, %16
  %.v.sink = phi i64 [ %.v, %16 ], [ 72, %12 ]
  %21 = getelementptr inbounds i8, ptr %5, i64 %.v.sink
  %22 = load float, ptr %21, align 4, !tbaa !55
  %23 = getelementptr inbounds i8, ptr %7, i64 272
  %24 = load float, ptr %23, align 8, !tbaa !56
  %25 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %22, float noundef %24)
  store float %25, ptr %21, align 4, !tbaa !55
  %26 = getelementptr inbounds i8, ptr %0, i64 136
  %27 = load float, ptr %26, align 8, !tbaa !57
  %28 = getelementptr inbounds i8, ptr %7, i64 276
  %29 = load float, ptr %28, align 4, !tbaa !58
  %30 = getelementptr inbounds i8, ptr %0, i64 200
  %31 = load float, ptr %30, align 8, !tbaa !59
  %32 = fadd float %29, %31
  %33 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %27, float noundef %32)
  store float %33, ptr %26, align 8, !tbaa !57
  %34 = getelementptr inbounds i8, ptr %7, i64 436
  %35 = load float, ptr %34, align 4, !tbaa !60
  %36 = getelementptr inbounds i8, ptr %5, i64 60
  store float %35, ptr %36, align 4, !tbaa !61
  %37 = getelementptr inbounds i8, ptr %0, i64 144
  %38 = load float, ptr %37, align 8, !tbaa !63
  %39 = getelementptr inbounds i8, ptr %7, i64 308
  %40 = load float, ptr %39, align 4, !tbaa !64
  %41 = tail call noundef float @_ZL5ImMaxIfET_S0_S0_(float noundef %38, float noundef %40)
  store float %41, ptr %37, align 8, !tbaa !63
  ret void
}

declare void @_ZN5ImGui51ErrorCheckUsingSetCursorPosToExtendParentBoundariesEv() local_unnamed_addr #2

attributes #0 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 124}
!6 = !{!"_ZTS10ImGuiTable", !7, i64 0, !7, i64 4, !10, i64 8, !10, i64 16, !11, i64 24, !12, i64 40, !13, i64 56, !14, i64 72, !14, i64 80, !14, i64 88, !14, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !15, i64 128, !15, i64 130, !16, i64 132, !16, i64 136, !16, i64 140, !16, i64 144, !16, i64 148, !7, i64 152, !7, i64 154, !7, i64 156, !8, i64 160, !7, i64 168, !7, i64 172, !16, i64 176, !16, i64 180, !16, i64 184, !16, i64 188, !16, i64 192, !16, i64 196, !16, i64 200, !16, i64 204, !16, i64 208, !16, i64 212, !16, i64 216, !16, i64 220, !16, i64 224, !16, i64 228, !16, i64 232, !16, i64 236, !17, i64 240, !17, i64 256, !17, i64 272, !17, i64 288, !17, i64 304, !17, i64 320, !17, i64 336, !17, i64 352, !17, i64 368, !10, i64 384, !10, i64 392, !19, i64 400, !10, i64 416, !21, i64 424, !22, i64 440, !23, i64 456, !24, i64 472, !25, i64 488, !8, i64 504, !8, i64 505, !8, i64 506, !8, i64 507, !8, i64 508, !8, i64 509, !8, i64 510, !8, i64 511, !8, i64 512, !8, i64 513, !8, i64 514, !8, i64 515, !8, i64 516, !8, i64 517, !8, i64 518, !8, i64 519, !8, i64 520, !8, i64 521, !8, i64 522, !8, i64 523, !8, i64 524, !8, i64 525, !8, i64 526, !8, i64 527, !8, i64 528, !26, i64 529, !26, i64 530, !26, i64 531, !26, i64 532, !26, i64 533, !26, i64 534, !26, i64 535, !26, i64 536, !26, i64 537, !26, i64 538, !26, i64 539, !26, i64 540, !26, i64 541, !26, i64 542, !26, i64 543, !26, i64 544, !26, i64 545}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS6ImSpanI16ImGuiTableColumnE", !10, i64 0, !10, i64 8}
!12 = !{!"_ZTS6ImSpanIaE", !10, i64 0, !10, i64 8}
!13 = !{!"_ZTS6ImSpanI18ImGuiTableCellDataE", !10, i64 0, !10, i64 8}
!14 = !{!"long long", !8, i64 0}
!15 = !{!"short", !8, i64 0}
!16 = !{!"float", !8, i64 0}
!17 = !{!"_ZTS6ImRect", !18, i64 0, !18, i64 8}
!18 = !{!"_ZTS6ImVec2", !16, i64 0, !16, i64 4}
!19 = !{!"_ZTS15ImGuiTextBuffer", !20, i64 0}
!20 = !{!"_ZTS8ImVectorIcE", !7, i64 0, !7, i64 4, !10, i64 8}
!21 = !{!"_ZTS22ImGuiTableInstanceData", !16, i64 0, !16, i64 4, !16, i64 8}
!22 = !{!"_ZTS8ImVectorI22ImGuiTableInstanceDataE", !7, i64 0, !7, i64 4, !10, i64 8}
!23 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !7, i64 0, !15, i64 4, !15, i64 6, !7, i64 8}
!24 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !7, i64 0, !7, i64 4, !10, i64 8}
!25 = !{!"_ZTS19ImGuiTableSortSpecs", !10, i64 0, !7, i64 8, !26, i64 12}
!26 = !{!"bool", !8, i64 0}
!27 = !{!6, !10, i64 392}
!28 = !{!29, !26, i64 313}
!29 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !7, i64 8, !7, i64 12, !10, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !18, i64 72, !16, i64 80, !16, i64 84, !16, i64 88, !16, i64 92, !16, i64 96, !16, i64 100, !16, i64 104, !16, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !18, i64 124, !18, i64 132, !18, i64 140, !18, i64 148, !18, i64 156, !18, i64 164, !26, i64 172, !26, i64 173, !26, i64 174, !26, i64 175, !26, i64 176, !26, i64 177, !26, i64 178, !26, i64 179, !26, i64 180, !26, i64 181, !26, i64 182, !26, i64 183, !26, i64 184, !8, i64 185, !15, i64 186, !15, i64 188, !15, i64 190, !15, i64 192, !15, i64 194, !7, i64 196, !8, i64 200, !8, i64 201, !8, i64 202, !26, i64 203, !7, i64 204, !8, i64 208, !8, i64 209, !8, i64 210, !8, i64 211, !7, i64 212, !7, i64 213, !7, i64 214, !18, i64 216, !18, i64 224, !30, i64 232, !31, i64 248, !17, i64 480, !17, i64 496, !17, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !17, i64 576, !37, i64 592, !37, i64 596, !7, i64 600, !16, i64 604, !16, i64 608, !38, i64 616, !40, i64 632, !16, i64 648, !7, i64 652, !10, i64 656, !41, i64 664, !10, i64 864, !10, i64 872, !10, i64 880, !10, i64 888, !10, i64 896, !10, i64 904, !10, i64 912, !8, i64 920, !8, i64 928, !7, i64 960, !7, i64 964, !7, i64 968, !26, i64 972}
!30 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !10, i64 8}
!31 = !{!"_ZTS19ImGuiWindowTempData", !18, i64 0, !18, i64 8, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !16, i64 56, !16, i64 60, !26, i64 64, !26, i64 65, !32, i64 68, !32, i64 72, !32, i64 76, !18, i64 80, !33, i64 88, !15, i64 92, !15, i64 94, !26, i64 96, !26, i64 97, !26, i64 98, !18, i64 100, !34, i64 108, !7, i64 136, !7, i64 140, !35, i64 144, !10, i64 160, !10, i64 168, !7, i64 176, !7, i64 180, !7, i64 184, !16, i64 188, !16, i64 192, !36, i64 200, !36, i64 216}
!32 = !{!"_ZTS6ImVec1", !16, i64 0}
!33 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!34 = !{!"_ZTS16ImGuiMenuColumns", !7, i64 0, !7, i64 4, !15, i64 8, !15, i64 10, !15, i64 12, !15, i64 14, !15, i64 16, !8, i64 18}
!35 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !10, i64 8}
!36 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !10, i64 8}
!37 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!38 = !{!"_ZTS12ImGuiStorage", !39, i64 0}
!39 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !10, i64 8}
!40 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !7, i64 0, !7, i64 4, !10, i64 8}
!41 = !{!"_ZTS10ImDrawList", !42, i64 0, !43, i64 16, !44, i64 32, !7, i64 48, !7, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !45, i64 88, !46, i64 104, !47, i64 120, !48, i64 136, !50, i64 168, !16, i64 192}
!42 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !7, i64 0, !7, i64 4, !10, i64 8}
!43 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !10, i64 8}
!44 = !{!"_ZTS8ImVectorI10ImDrawVertE", !7, i64 0, !7, i64 4, !10, i64 8}
!45 = !{!"_ZTS8ImVectorI6ImVec4E", !7, i64 0, !7, i64 4, !10, i64 8}
!46 = !{!"_ZTS8ImVectorIPvE", !7, i64 0, !7, i64 4, !10, i64 8}
!47 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !10, i64 8}
!48 = !{!"_ZTS15ImDrawCmdHeader", !49, i64 0, !10, i64 16, !7, i64 24}
!49 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!50 = !{!"_ZTS18ImDrawListSplitter", !7, i64 0, !7, i64 4, !51, i64 8}
!51 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !10, i64 8}
!52 = !{i8 0, i8 2}
!53 = !{}
!54 = !{!6, !26, i64 540}
!55 = !{!16, !16, i64 0}
!56 = !{!29, !16, i64 272}
!57 = !{!6, !16, i64 136}
!58 = !{!29, !16, i64 276}
!59 = !{!6, !16, i64 200}
!60 = !{!29, !16, i64 436}
!61 = !{!62, !16, i64 60}
!62 = !{!"_ZTS16ImGuiTableColumn", !7, i64 0, !16, i64 4, !16, i64 8, !16, i64 12, !16, i64 16, !16, i64 20, !16, i64 24, !16, i64 28, !17, i64 32, !7, i64 48, !16, i64 52, !16, i64 56, !16, i64 60, !16, i64 64, !16, i64 68, !16, i64 72, !16, i64 76, !15, i64 80, !8, i64 82, !8, i64 83, !8, i64 84, !8, i64 85, !8, i64 86, !8, i64 87, !8, i64 88, !8, i64 89, !26, i64 90, !26, i64 91, !26, i64 92, !26, i64 93, !26, i64 94, !26, i64 95, !26, i64 96, !26, i64 97, !8, i64 98, !8, i64 99, !8, i64 100, !8, i64 101, !8, i64 101, !8, i64 101, !8, i64 102}
!63 = !{!6, !16, i64 144}
!64 = !{!29, !16, i64 308}


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