; LLVM IR from theolundqvist/parallax-voxel-ray-marcher :: src/external/Dear ImGui/imgui_tables.ll (ZN5ImGui13TableBeginRowEP10ImGuiTable)

; 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.31, %struct.ImSpan.32, 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, ptr, ptr, %struct.ImGuiTextBuffer, ptr, %struct.ImGuiTableColumnSortSpecs, %struct.ImVector.33, %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.31 = type { ptr, ptr }
%struct.ImSpan.32 = type { ptr, ptr }
%struct.ImRect = type { %struct.ImVec2, %struct.ImVec2 }
%struct.ImVec2 = type { float, float }
%struct.ImGuiTextBuffer = type { %struct.ImVector.20 }
%struct.ImVector.20 = type { i32, i32, ptr }
%struct.ImGuiTableColumnSortSpecs = type <{ i32, i16, i16, i8, [3 x i8] }>
%struct.ImVector.33 = type { i32, i32, ptr }
%struct.ImGuiTableSortSpecs = type <{ ptr, i32, i8, [3 x i8] }>
%struct.ImGuiWindow = type <{ ptr, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, i32, i32, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i8, i16, i16, i16, i16, [2 x i8], i32, i8, i8, i8, i8, i32, i8, i8, i8, i8, i32, %struct.ImVec2, %struct.ImVec2, %struct.ImVector.6, %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.25, float, i32, ptr, %struct.ImDrawList, ptr, ptr, ptr, ptr, ptr, [2 x i32], [2 x %struct.ImRect], i32, i32, i8, [7 x i8] }>
%struct.ImVector.6 = type { i32, i32, ptr }
%struct.ImGuiWindowTempData = type <{ %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, %struct.ImVec2, float, float, %struct.ImVec1, %struct.ImVec1, %struct.ImVec1, i32, i16, i16, i32, i8, i8, i8, i8, %struct.ImVec2, %struct.ImGuiMenuColumns, i32, i32, %struct.ImVector.0, ptr, ptr, i32, i32, i32, i32, i32, float, float, [4 x i8], %struct.ImVector.14, %struct.ImVector.14, %struct.ImGuiStackSizes, [2 x i8] }>
%struct.ImVec1 = type { float }
%struct.ImGuiMenuColumns = type <{ i32, i32, i16, i16, i16, i16, i16, [4 x i16], [2 x i8] }>
%struct.ImVector.0 = type { i32, i32, ptr }
%struct.ImVector.14 = type { i32, i32, ptr }
%struct.ImGuiStackSizes = type { i16, i16, i16, i16, i16, i16, i16 }
%struct.ImVec2ih = type { i16, i16 }
%struct.ImGuiStorage = type { %struct.ImVector.2 }
%struct.ImVector.2 = type { i32, i32, ptr }
%struct.ImVector.25 = type { i32, i32, ptr }
%struct.ImDrawList = type <{ %struct.ImVector.26, %struct.ImVector, %struct.ImVector.27, i32, i32, ptr, ptr, ptr, ptr, %struct.ImVector.28, %struct.ImVector.29, %struct.ImVector.30, %struct.ImDrawCmdHeader, %struct.ImDrawListSplitter, float, [4 x i8] }>
%struct.ImVector.26 = type { i32, i32, ptr }
%struct.ImVector = type { i32, i32, ptr }
%struct.ImVector.27 = type { i32, i32, ptr }
%struct.ImVector.28 = type { i32, i32, ptr }
%struct.ImVector.29 = type { i32, i32, ptr }
%struct.ImVector.30 = 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.15 }
%struct.ImVector.15 = type { i32, i32, ptr }

@.str.2 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui13TableBeginRowEP10ImGuiTable = external hidden unnamed_addr constant [40 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui13TableBeginRowEP10ImGuiTable(ptr noundef %0) #3 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #4
  %5 = load ptr, ptr %2, align 8, !tbaa !5
  %6 = getelementptr inbounds %struct.ImGuiTable, ptr %5, i32 0, i32 56
  %7 = load ptr, ptr %6, align 8, !tbaa !9
  store ptr %7, ptr %3, align 8, !tbaa !5
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.ImGuiTable, ptr %8, i32 0, i32 88
  %10 = load i8, ptr %9, align 2, !tbaa !26, !range !27, !noundef !28
  %11 = trunc i8 %10 to i1
  %12 = xor i1 %11, true
  br i1 %12, label %13, label %14

13:                                               ; preds = %1
  br label %16

14:                                               ; preds = %1
  call void @__assert_fail(ptr noundef @.str.49, ptr noundef @.str.2, i32 noundef 1695, ptr noundef @__PRETTY_FUNCTION__._ZN5ImGui13TableBeginRowEP10ImGuiTable) #5
  unreachable

15:                                               ; No predecessors!
  br label %16

16:                                               ; preds = %15, %13
  %17 = load ptr, ptr %2, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.ImGuiTable, ptr %17, i32 0, i32 15
  %19 = load i32, ptr %18, align 8, !tbaa !29
  %20 = add nsw i32 %19, 1
  store i32 %20, ptr %18, align 8, !tbaa !29
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ImGuiTable, ptr %21, i32 0, i32 16
  store i32 -1, ptr %22, align 4, !tbaa !30
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ImGuiTable, ptr %23, i32 0, i32 26
  %25 = getelementptr inbounds [2 x i32], ptr %24, i64 0, i64 1
  store i32 16777216, ptr %25, align 4, !tbaa !31
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ImGuiTable, ptr %26, i32 0, i32 26
  %28 = getelementptr inbounds [2 x i32], ptr %27, i64 0, i64 0
  store i32 16777216, ptr %28, align 8, !tbaa !31
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.ImGuiTable, ptr %29, i32 0, i32 83
  store i8 -1, ptr %30, align 1, !tbaa !32
  %31 = load ptr, ptr %2, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ImGuiTable, ptr %31, i32 0, i32 88
  store i8 1, ptr %32, align 2, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.ImGuiTable, ptr %33, i32 0, i32 20
  %35 = load float, ptr %34, align 8, !tbaa !33
  store float %35, ptr %4, align 4, !tbaa !34
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ImGuiTable, ptr %36, i32 0, i32 15
  %38 = load i32, ptr %37, align 8, !tbaa !29
  %39 = icmp eq i32 %38, 0
  br i1 %39, label %40, label %56

40:                                               ; preds = %16
  %41 = load ptr, ptr %2, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ImGuiTable, ptr %41, i32 0, i32 80
  %43 = load i8, ptr %42, align 2, !tbaa !35
  %44 = sext i8 %43 to i32
  %45 = icmp sgt i32 %44, 0
  br i1 %45, label %46, label %56

46:                                               ; preds = %40
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ImGuiTable, ptr %47, i32 0, i32 46
  %49 = getelementptr inbounds %struct.ImRect, ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %struct.ImVec2, ptr %49, i32 0, i32 1
  %51 = load float, ptr %50, align 4, !tbaa !36
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ImGuiWindow, ptr %52, i32 0, i32 54
  %54 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %53, i32 0, i32 0
  %55 = getelementptr inbounds %struct.ImVec2, ptr %54, i32 0, i32 1
  store float %51, ptr %55, align 4, !tbaa !37
  store float %51, ptr %4, align 4, !tbaa !34
  br label %56

56:                                               ; preds = %46, %40, %16
  %57 = load float, ptr %4, align 4, !tbaa !34
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ImGuiTable, ptr %58, i32 0, i32 20
  store float %57, ptr %59, align 8, !tbaa !33
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.ImGuiTable, ptr %60, i32 0, i32 19
  store float %57, ptr %61, align 4, !tbaa !62
  %62 = load ptr, ptr %2, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ImGuiTable, ptr %62, i32 0, i32 22
  store float 0.000000e+00, ptr %63, align 8, !tbaa !63
  %64 = load ptr, ptr %3, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.ImGuiWindow, ptr %64, i32 0, i32 54
  %66 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %65, i32 0, i32 9
  %67 = getelementptr inbounds %struct.ImVec1, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 8, !tbaa !64
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.ImGuiTable, ptr %69, i32 0, i32 31
  %71 = load float, ptr %70, align 8, !tbaa !65
  %72 = fsub float %68, %71
  %73 = load ptr, ptr %2, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.ImGuiTable, ptr %73, i32 0, i32 23
  store float %72, ptr %74, align 4, !tbaa !66
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ImGuiWindow, ptr %75, i32 0, i32 54
  %77 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %76, i32 0, i32 8
  store float 0.000000e+00, ptr %77, align 4, !tbaa !67
  %78 = load float, ptr %4, align 4, !tbaa !34
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.ImGuiWindow, ptr %79, i32 0, i32 54
  %81 = getelementptr inbounds %struct.ImGuiWindowTempData, ptr %80, i32 0, i32 3
  %82 = getelementptr inbounds %struct.ImVec2, ptr %81, i32 0, i32 1
  store float %78, ptr %82, align 4, !tbaa !68
  %83 = load ptr, ptr %2, align 8, !tbaa !5
  %84 = getelementptr inbounds %struct.ImGuiTable, ptr %83, i32 0, i32 24
  %85 = load i32, ptr %84, align 8
  %86 = shl i32 %85, 16
  %87 = ashr i32 %86, 16
  %88 = and i32 %87, 1
  %89 = icmp ne i32 %88, 0
  br i1 %89, label %90, label %100

90:                                               ; preds = %56
  %91 = call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 42, float noundef 1.000000e+00)
  call void @_ZN5ImGui15TableSetBgColorEiji(i32 noundef 1, i32 noundef %91, i32 noundef -1)
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.ImGuiTable, ptr %92, i32 0, i32 15
  %94 = load i32, ptr %93, align 8, !tbaa !29
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %96, label %99

96:                                               ; preds = %90
  %97 = load ptr, ptr %2, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ImGuiTable, ptr %97, i32 0, i32 91
  store i8 1, ptr %98, align 1, !tbaa !69
  br label %99

99:                                               ; preds = %96, %90
  br label %100

100:                                              ; preds = %99, %56
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #4
  ret void
}

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 = { "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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 400}
!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, !17, i64 240, !18, i64 244, !18, i64 260, !18, i64 276, !18, i64 292, !18, i64 308, !18, i64 324, !18, i64 340, !18, i64 356, !18, i64 372, !6, i64 392, !6, i64 400, !20, i64 408, !6, i64 424, !22, i64 432, !23, i64 448, !24, i64 464, !7, i64 480, !7, i64 481, !7, i64 482, !7, i64 483, !7, i64 484, !7, i64 485, !7, i64 486, !7, i64 487, !7, i64 488, !7, i64 489, !7, i64 490, !7, i64 491, !7, i64 492, !7, i64 493, !7, i64 494, !7, i64 495, !7, i64 496, !7, i64 497, !7, i64 498, !7, i64 499, !7, i64 500, !7, i64 501, !7, i64 502, !7, i64 503, !7, i64 504, !25, i64 505, !25, i64 506, !25, i64 507, !25, i64 508, !25, i64 509, !25, i64 510, !25, i64 511, !25, i64 512, !25, i64 513, !25, i64 514, !25, i64 515, !25, i64 516, !25, i64 517, !25, i64 518, !25, i64 519}
!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 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !11, i64 0, !16, i64 4, !16, i64 6, !11, i64 8}
!23 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !11, i64 0, !11, i64 4, !6, i64 8}
!24 = !{!"_ZTS19ImGuiTableSortSpecs", !6, i64 0, !11, i64 8, !25, i64 12}
!25 = !{!"bool", !7, i64 0}
!26 = !{!10, !25, i64 506}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!10, !11, i64 120}
!30 = !{!10, !11, i64 124}
!31 = !{!11, !11, i64 0}
!32 = !{!10, !7, i64 501}
!33 = !{!10, !17, i64 136}
!34 = !{!17, !17, i64 0}
!35 = !{!10, !7, i64 498}
!36 = !{!10, !17, i64 248}
!37 = !{!38, !17, i64 220}
!38 = !{!"_ZTS11ImGuiWindow", !6, i64 0, !11, i64 8, !11, i64 12, !19, i64 16, !19, i64 24, !19, i64 32, !19, i64 40, !19, i64 48, !19, i64 56, !19, i64 64, !17, i64 72, !17, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !19, i64 92, !19, i64 100, !19, i64 108, !19, i64 116, !19, i64 124, !19, i64 132, !25, i64 140, !25, i64 141, !25, i64 142, !25, i64 143, !25, i64 144, !25, i64 145, !25, i64 146, !25, i64 147, !25, i64 148, !25, i64 149, !25, i64 150, !25, i64 151, !7, i64 152, !16, i64 154, !16, i64 156, !16, i64 158, !16, i64 160, !11, i64 164, !7, i64 168, !7, i64 169, !7, i64 170, !25, i64 171, !11, i64 172, !7, i64 176, !7, i64 177, !7, i64 178, !7, i64 179, !11, i64 180, !11, i64 181, !11, i64 182, !19, i64 184, !19, i64 192, !39, i64 200, !40, i64 216, !18, i64 464, !18, i64 480, !18, i64 496, !18, i64 512, !18, i64 528, !18, i64 544, !18, i64 560, !47, i64 576, !47, i64 580, !11, i64 584, !17, i64 588, !17, i64 592, !48, i64 600, !50, i64 616, !17, i64 632, !11, i64 636, !6, i64 640, !51, i64 648, !6, i64 848, !6, i64 856, !6, i64 864, !6, i64 872, !6, i64 880, !7, i64 888, !7, i64 896, !11, i64 928, !11, i64 932, !25, i64 936}
!39 = !{!"_ZTS8ImVectorIjE", !11, i64 0, !11, i64 4, !6, i64 8}
!40 = !{!"_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, !41, i64 64, !41, i64 68, !41, i64 72, !42, i64 76, !16, i64 80, !16, i64 82, !11, i64 84, !25, i64 88, !25, i64 89, !25, i64 90, !19, i64 92, !43, i64 100, !11, i64 128, !11, i64 132, !44, i64 136, !6, i64 152, !6, i64 160, !11, i64 168, !11, i64 172, !11, i64 176, !11, i64 180, !11, i64 184, !17, i64 188, !17, i64 192, !45, i64 200, !45, i64 216, !46, i64 232}
!41 = !{!"_ZTS6ImVec1", !17, i64 0}
!42 = !{!"_ZTS13ImGuiNavLayer", !7, i64 0}
!43 = !{!"_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}
!44 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !11, i64 0, !11, i64 4, !6, i64 8}
!45 = !{!"_ZTS8ImVectorIfE", !11, i64 0, !11, i64 4, !6, i64 8}
!46 = !{!"_ZTS15ImGuiStackSizes", !16, i64 0, !16, i64 2, !16, i64 4, !16, i64 6, !16, i64 8, !16, i64 10, !16, i64 12}
!47 = !{!"_ZTS8ImVec2ih", !16, i64 0, !16, i64 2}
!48 = !{!"_ZTS12ImGuiStorage", !49, i64 0}
!49 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !11, i64 0, !11, i64 4, !6, i64 8}
!50 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !11, i64 0, !11, i64 4, !6, i64 8}
!51 = !{!"_ZTS10ImDrawList", !52, i64 0, !53, i64 16, !54, i64 32, !11, i64 48, !11, i64 52, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !55, i64 88, !56, i64 104, !57, i64 120, !58, i64 136, !60, i64 168, !17, i64 192}
!52 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !11, i64 0, !11, i64 4, !6, i64 8}
!53 = !{!"_ZTS8ImVectorItE", !11, i64 0, !11, i64 4, !6, i64 8}
!54 = !{!"_ZTS8ImVectorI10ImDrawVertE", !11, i64 0, !11, i64 4, !6, i64 8}
!55 = !{!"_ZTS8ImVectorI6ImVec4E", !11, i64 0, !11, i64 4, !6, i64 8}
!56 = !{!"_ZTS8ImVectorIPvE", !11, i64 0, !11, i64 4, !6, i64 8}
!57 = !{!"_ZTS8ImVectorI6ImVec2E", !11, i64 0, !11, i64 4, !6, i64 8}
!58 = !{!"_ZTS15ImDrawCmdHeader", !59, i64 0, !6, i64 16, !11, i64 24}
!59 = !{!"_ZTS6ImVec4", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12}
!60 = !{!"_ZTS18ImDrawListSplitter", !11, i64 0, !11, i64 4, !61, i64 8}
!61 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !11, i64 0, !11, i64 4, !6, i64 8}
!62 = !{!10, !17, i64 132}
!63 = !{!10, !17, i64 144}
!64 = !{!38, !17, i64 280}
!65 = !{!10, !17, i64 184}
!66 = !{!10, !17, i64 148}
!67 = !{!38, !17, i64 276}
!68 = !{!38, !17, i64 244}
!69 = !{!10, !25, i64 509}


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

@.str.2 = external hidden unnamed_addr constant [115 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [20 x i8], align 1
@__PRETTY_FUNCTION__._ZN5ImGui13TableBeginRowEP10ImGuiTable = external hidden unnamed_addr constant [40 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN5ImGui13TableBeginRowEP10ImGuiTable(ptr nocapture noundef %0) local_unnamed_addr #2 {
  %2 = getelementptr inbounds i8, ptr %0, i64 400
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 506
  %5 = load i8, ptr %4, align 2, !tbaa !25, !range !26, !noundef !27
  %6 = trunc nuw i8 %5 to i1
  br i1 %6, label %7, label %8

7:                                                ; preds = %1
  tail call void @__assert_fail(ptr noundef nonnull @.str.49, ptr noundef nonnull @.str.2, i32 noundef 1695, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5ImGui13TableBeginRowEP10ImGuiTable) #3
  unreachable

8:                                                ; preds = %1
  %9 = getelementptr inbounds i8, ptr %0, i64 120
  %10 = load i32, ptr %9, align 8, !tbaa !28
  %11 = add nsw i32 %10, 1
  store i32 %11, ptr %9, align 8, !tbaa !28
  %12 = getelementptr inbounds i8, ptr %0, i64 124
  store i32 -1, ptr %12, align 4, !tbaa !29
  %13 = getelementptr inbounds i8, ptr %0, i64 160
  %14 = getelementptr inbounds i8, ptr %0, i64 164
  store i32 16777216, ptr %14, align 4, !tbaa !30
  store i32 16777216, ptr %13, align 8, !tbaa !30
  %15 = getelementptr inbounds i8, ptr %0, i64 501
  store i8 -1, ptr %15, align 1, !tbaa !31
  store i8 1, ptr %4, align 2, !tbaa !25
  %16 = getelementptr inbounds i8, ptr %0, i64 136
  %17 = load float, ptr %16, align 8, !tbaa !32
  %18 = icmp eq i32 %11, 0
  br i1 %18, label %19, label %27

19:                                               ; preds = %8
  %20 = getelementptr inbounds i8, ptr %0, i64 498
  %21 = load i8, ptr %20, align 2, !tbaa !33
  %22 = icmp sgt i8 %21, 0
  br i1 %22, label %23, label %27

23:                                               ; preds = %19
  %24 = getelementptr inbounds i8, ptr %0, i64 248
  %25 = load float, ptr %24, align 4, !tbaa !34
  %26 = getelementptr inbounds i8, ptr %3, i64 220
  store float %25, ptr %26, align 4, !tbaa !35
  br label %27

27:                                               ; preds = %23, %19, %8
  %.0 = phi float [ %25, %23 ], [ %17, %19 ], [ %17, %8 ]
  store float %.0, ptr %16, align 8, !tbaa !32
  %28 = getelementptr inbounds i8, ptr %0, i64 132
  store float %.0, ptr %28, align 4, !tbaa !60
  %29 = getelementptr inbounds i8, ptr %0, i64 144
  store float 0.000000e+00, ptr %29, align 8, !tbaa !61
  %30 = getelementptr inbounds i8, ptr %3, i64 280
  %31 = load float, ptr %30, align 8, !tbaa !62
  %32 = getelementptr inbounds i8, ptr %0, i64 184
  %33 = load float, ptr %32, align 8, !tbaa !63
  %34 = fsub float %31, %33
  %35 = getelementptr inbounds i8, ptr %0, i64 148
  store float %34, ptr %35, align 4, !tbaa !64
  %36 = getelementptr inbounds i8, ptr %3, i64 276
  store float 0.000000e+00, ptr %36, align 4, !tbaa !65
  %37 = getelementptr inbounds i8, ptr %3, i64 244
  store float %.0, ptr %37, align 4, !tbaa !66
  %38 = getelementptr inbounds i8, ptr %0, i64 152
  %39 = load i32, ptr %38, align 8
  %40 = and i32 %39, 1
  %.not = icmp eq i32 %40, 0
  br i1 %.not, label %47, label %41

41:                                               ; preds = %27
  %42 = tail call noundef i32 @_ZN5ImGui11GetColorU32Eif(i32 noundef 42, float noundef 1.000000e+00)
  tail call void @_ZN5ImGui15TableSetBgColorEiji(i32 noundef 1, i32 noundef %42, i32 noundef -1)
  %43 = load i32, ptr %9, align 8, !tbaa !28
  %44 = icmp eq i32 %43, 0
  br i1 %44, label %45, label %47

45:                                               ; preds = %41
  %46 = getelementptr inbounds i8, ptr %0, i64 509
  store i8 1, ptr %46, align 1, !tbaa !67
  br label %47

47:                                               ; preds = %41, %45, %27
  ret void
}

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 = { "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, !10, i64 400}
!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, !16, i64 240, !17, i64 244, !17, i64 260, !17, i64 276, !17, i64 292, !17, i64 308, !17, i64 324, !17, i64 340, !17, i64 356, !17, i64 372, !10, i64 392, !10, i64 400, !19, i64 408, !10, i64 424, !21, i64 432, !22, i64 448, !23, i64 464, !8, i64 480, !8, i64 481, !8, i64 482, !8, i64 483, !8, i64 484, !8, i64 485, !8, i64 486, !8, i64 487, !8, i64 488, !8, i64 489, !8, i64 490, !8, i64 491, !8, i64 492, !8, i64 493, !8, i64 494, !8, i64 495, !8, i64 496, !8, i64 497, !8, i64 498, !8, i64 499, !8, i64 500, !8, i64 501, !8, i64 502, !8, i64 503, !8, i64 504, !24, i64 505, !24, i64 506, !24, i64 507, !24, i64 508, !24, i64 509, !24, i64 510, !24, i64 511, !24, i64 512, !24, i64 513, !24, i64 514, !24, i64 515, !24, i64 516, !24, i64 517, !24, i64 518, !24, i64 519}
!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 = !{!"_ZTS25ImGuiTableColumnSortSpecs", !7, i64 0, !15, i64 4, !15, i64 6, !7, i64 8}
!22 = !{!"_ZTS8ImVectorI25ImGuiTableColumnSortSpecsE", !7, i64 0, !7, i64 4, !10, i64 8}
!23 = !{!"_ZTS19ImGuiTableSortSpecs", !10, i64 0, !7, i64 8, !24, i64 12}
!24 = !{!"bool", !8, i64 0}
!25 = !{!6, !24, i64 506}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!6, !7, i64 120}
!29 = !{!6, !7, i64 124}
!30 = !{!7, !7, i64 0}
!31 = !{!6, !8, i64 501}
!32 = !{!6, !16, i64 136}
!33 = !{!6, !8, i64 498}
!34 = !{!6, !16, i64 248}
!35 = !{!36, !16, i64 220}
!36 = !{!"_ZTS11ImGuiWindow", !10, i64 0, !7, i64 8, !7, i64 12, !18, i64 16, !18, i64 24, !18, i64 32, !18, i64 40, !18, i64 48, !18, i64 56, !18, i64 64, !16, i64 72, !16, i64 76, !7, i64 80, !7, i64 84, !7, i64 88, !18, i64 92, !18, i64 100, !18, i64 108, !18, i64 116, !18, i64 124, !18, i64 132, !24, i64 140, !24, i64 141, !24, i64 142, !24, i64 143, !24, i64 144, !24, i64 145, !24, i64 146, !24, i64 147, !24, i64 148, !24, i64 149, !24, i64 150, !24, i64 151, !8, i64 152, !15, i64 154, !15, i64 156, !15, i64 158, !15, i64 160, !7, i64 164, !8, i64 168, !8, i64 169, !8, i64 170, !24, i64 171, !7, i64 172, !8, i64 176, !8, i64 177, !8, i64 178, !8, i64 179, !7, i64 180, !7, i64 181, !7, i64 182, !18, i64 184, !18, i64 192, !37, i64 200, !38, i64 216, !17, i64 464, !17, i64 480, !17, i64 496, !17, i64 512, !17, i64 528, !17, i64 544, !17, i64 560, !45, i64 576, !45, i64 580, !7, i64 584, !16, i64 588, !16, i64 592, !46, i64 600, !48, i64 616, !16, i64 632, !7, i64 636, !10, i64 640, !49, i64 648, !10, i64 848, !10, i64 856, !10, i64 864, !10, i64 872, !10, i64 880, !8, i64 888, !8, i64 896, !7, i64 928, !7, i64 932, !24, i64 936}
!37 = !{!"_ZTS8ImVectorIjE", !7, i64 0, !7, i64 4, !10, i64 8}
!38 = !{!"_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, !39, i64 64, !39, i64 68, !39, i64 72, !40, i64 76, !15, i64 80, !15, i64 82, !7, i64 84, !24, i64 88, !24, i64 89, !24, i64 90, !18, i64 92, !41, i64 100, !7, i64 128, !7, i64 132, !42, i64 136, !10, i64 152, !10, i64 160, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !16, i64 188, !16, i64 192, !43, i64 200, !43, i64 216, !44, i64 232}
!39 = !{!"_ZTS6ImVec1", !16, i64 0}
!40 = !{!"_ZTS13ImGuiNavLayer", !8, i64 0}
!41 = !{!"_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}
!42 = !{!"_ZTS8ImVectorIP11ImGuiWindowE", !7, i64 0, !7, i64 4, !10, i64 8}
!43 = !{!"_ZTS8ImVectorIfE", !7, i64 0, !7, i64 4, !10, i64 8}
!44 = !{!"_ZTS15ImGuiStackSizes", !15, i64 0, !15, i64 2, !15, i64 4, !15, i64 6, !15, i64 8, !15, i64 10, !15, i64 12}
!45 = !{!"_ZTS8ImVec2ih", !15, i64 0, !15, i64 2}
!46 = !{!"_ZTS12ImGuiStorage", !47, i64 0}
!47 = !{!"_ZTS8ImVectorIN12ImGuiStorage16ImGuiStoragePairEE", !7, i64 0, !7, i64 4, !10, i64 8}
!48 = !{!"_ZTS8ImVectorI15ImGuiOldColumnsE", !7, i64 0, !7, i64 4, !10, i64 8}
!49 = !{!"_ZTS10ImDrawList", !50, i64 0, !51, i64 16, !52, i64 32, !7, i64 48, !7, i64 52, !10, i64 56, !10, i64 64, !10, i64 72, !10, i64 80, !53, i64 88, !54, i64 104, !55, i64 120, !56, i64 136, !58, i64 168, !16, i64 192}
!50 = !{!"_ZTS8ImVectorI9ImDrawCmdE", !7, i64 0, !7, i64 4, !10, i64 8}
!51 = !{!"_ZTS8ImVectorItE", !7, i64 0, !7, i64 4, !10, i64 8}
!52 = !{!"_ZTS8ImVectorI10ImDrawVertE", !7, i64 0, !7, i64 4, !10, i64 8}
!53 = !{!"_ZTS8ImVectorI6ImVec4E", !7, i64 0, !7, i64 4, !10, i64 8}
!54 = !{!"_ZTS8ImVectorIPvE", !7, i64 0, !7, i64 4, !10, i64 8}
!55 = !{!"_ZTS8ImVectorI6ImVec2E", !7, i64 0, !7, i64 4, !10, i64 8}
!56 = !{!"_ZTS15ImDrawCmdHeader", !57, i64 0, !10, i64 16, !7, i64 24}
!57 = !{!"_ZTS6ImVec4", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!58 = !{!"_ZTS18ImDrawListSplitter", !7, i64 0, !7, i64 4, !59, i64 8}
!59 = !{!"_ZTS8ImVectorI13ImDrawChannelE", !7, i64 0, !7, i64 4, !10, i64 8}
!60 = !{!6, !16, i64 132}
!61 = !{!6, !16, i64 144}
!62 = !{!36, !16, i64 280}
!63 = !{!6, !16, i64 184}
!64 = !{!6, !16, i64 148}
!65 = !{!36, !16, i64 276}
!66 = !{!36, !16, i64 244}
!67 = !{!6, !24, i64 509}


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