// File: /workspace/github_cpp_makefile_star2_O3/Ciaxur[P]yagb-emu/include/imgui/imgui_demo.cpp
// Function: EditTableSizingFlags(int*)
static void EditTableSizingFlags(ImGuiTableFlags* p_flags)
{
    struct EnumDesc { ImGuiTableFlags Value; const char* Name; const char* Tooltip; };
    static const EnumDesc policies[] =
    {
        { ImGuiTableFlags_None,               "Default",                            "Use default sizing policy:\n- ImGuiTableFlags_SizingFixedFit if ScrollX is on or if host window has ImGuiWindowFlags_AlwaysAutoResize.\n- ImGuiTableFlags_SizingStretchSame otherwise." },
        { ImGuiTableFlags_SizingFixedFit,     "ImGuiTableFlags_SizingFixedFit",     "Columns default to _WidthFixed (if resizable) or _WidthAuto (if not resizable), matching contents width." },
        { ImGuiTableFlags_SizingFixedSame,    "ImGuiTableFlags_SizingFixedSame",    "Columns are all the same width, matching the maximum contents width.\nImplicitly disable ImGuiTableFlags_Resizable and enable ImGuiTableFlags_NoKeepColumnsVisible." },
        { ImGuiTableFlags_SizingStretchProp,  "ImGuiTableFlags_SizingStretchProp",  "Columns default to _WidthStretch with weights proportional to their widths." },
        { ImGuiTableFlags_SizingStretchSame,  "ImGuiTableFlags_SizingStretchSame",  "Columns default to _WidthStretch with same weights." }
    };
    int idx;
    for (idx = 0; idx < IM_ARRAYSIZE(policies); idx++)
        if (policies[idx].Value == (*p_flags & ImGuiTableFlags_SizingMask_))
            break;
    const char* preview_text = (idx < IM_ARRAYSIZE(policies)) ? policies[idx].Name + (idx > 0 ? strlen("ImGuiTableFlags") : 0) : "";
    if (ImGui::BeginCombo("Sizing Policy", preview_text))
    {
        for (int n = 0; n < IM_ARRAYSIZE(policies); n++)
            if (ImGui::Selectable(policies[n].Name, idx == n))
                *p_flags = (*p_flags & ~ImGuiTableFlags_SizingMask_) | policies[n].Value;
        ImGui::EndCombo();
    }
    ImGui::SameLine();
    ImGui::TextDisabled("(?)");
    if (ImGui::IsItemHovered())
    {
        ImGui::BeginTooltip();
        ImGui::PushTextWrapPos(ImGui::GetFontSize() * 50.0f);
        for (int m = 0; m < IM_ARRAYSIZE(policies); m++)
        {
            ImGui::Separator();
            ImGui::Text("%s:", policies[m].Name);
            ImGui::Separator();
            ImGui::SetCursorPosX(ImGui::GetCursorPosX() + ImGui::GetStyle().IndentSpacing * 0.5f);
            ImGui::TextUnformatted(policies[m].Tooltip);
        }
        ImGui::PopTextWrapPos();
        ImGui::EndTooltip();
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl $0xe000, %ecx           # imm = 0xE000
andl (%rdi), %ecx
leaq 0x844a3(%rip), %rax     # 0xf68a8
xorl %r14d, %r14d
leaq 0x42b0e(%rip), %rsi     # 0xb4f1d
cmpl %ecx, -0x8(%rax)
je 0x72429
incq %r14
addq $0x18, %rax
cmpq $0x5, %r14
jne 0x7240f
movl $0x5, %r14d
jmp 0x72438
testq %r14, %r14
movl $0xf, %esi
cmoveq %r14, %rsi
addq (%rax), %rsi
leaq 0x51e77(%rip), %rdi     # 0xc42b6
xorl %edx, %edx
callq 0x93d73
testb %al, %al
je 0x724a2
shlq $0x3, %r14
leaq (%r14,%r14,2), %r15
xorl %r12d, %r12d
leaq 0x84444(%rip), %r13     # 0xf68a0
leaq -0x34(%rbp), %r14
movq 0x8(%r12,%r13), %rdi
xorl %esi, %esi
cmpq %r12, %r15
sete %sil
movq $0x0, -0x34(%rbp)
xorl %edx, %edx
movq %r14, %rcx
callq 0x94650
testb %al, %al
je 0x72493
movl (%rbx), %eax
movl $0xffff1fff, %ecx       # imm = 0xFFFF1FFF
andl %ecx, %eax
orl (%r12,%r13), %eax
movl %eax, (%rbx)
addq $0x18, %r12
cmpq $0x78, %r12
jne 0x72460
callq 0x94489
movss 0x42b26(%rip), %xmm1    # 0xb4fd0
xorps %xmm0, %xmm0
callq 0x5591d
leaq 0x48146(%rip), %rdi     # 0xba5ff
xorl %eax, %eax
callq 0x904f1
xorl %edi, %edi
callq 0x461ed
testb %al, %al
je 0x72559
callq 0x56a72
callq 0x54766
mulss 0x489db(%rip), %xmm0    # 0xbaebc
callq 0x53f70
leaq 0x843b3(%rip), %r15     # 0xf68a0
leaq 0x51dd0(%rip), %rbx     # 0xc42c4
xorl %r12d, %r12d
callq 0x93890
movq 0x8(%r12,%r15), %rsi
movq 0x10(%r12,%r15), %r14
movq %rbx, %rdi
xorl %eax, %eax
callq 0x90323
callq 0x93890
callq 0x55ab4
movss %xmm0, -0x2c(%rbp)
callq 0x43b94
movss 0x68(%rax), %xmm0
mulss 0x42ad3(%rip), %xmm0    # 0xb5004
addss -0x2c(%rbp), %xmm0
callq 0x55b87
movq %r14, %rdi
xorl %esi, %esi
callq 0x90314
addq $0x18, %r12
cmpq $0x78, %r12
jne 0x724f7
callq 0x54076
callq 0x56bca
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq