// File: /workspace/github_cpp_makefile_star2_O1/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 0x8537e(%rip), %rax     # 0xf88a8
xorl %r14d, %r14d
leaq 0x439e9(%rip), %rsi     # 0xb6f1d
cmpl %ecx, -0x8(%rax)
je 0x7354e
incq %r14
addq $0x18, %rax
cmpq $0x5, %r14
jne 0x73534
movl $0x5, %r14d
jmp 0x7355d
testq %r14, %r14
movl $0xf, %esi
cmoveq %r14, %rsi
addq (%rax), %rsi
leaq 0x52d82(%rip), %rdi     # 0xc62e6
xorl %edx, %edx
callq 0x95a09
testb %al, %al
je 0x735c7
shlq $0x3, %r14
leaq (%r14,%r14,2), %r15
xorl %r12d, %r12d
leaq 0x8531f(%rip), %r13     # 0xf88a0
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 0x962c5
testb %al, %al
je 0x735b8
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 0x73585
callq 0x9610f
movss 0x43a01(%rip), %xmm1    # 0xb6fd0
xorps %xmm0, %xmm0
callq 0x569e1
leaq 0x49021(%rip), %rdi     # 0xbc5ff
xorl %eax, %eax
callq 0x921f2
xorl %edi, %edi
callq 0x46d03
testb %al, %al
je 0x7367e
callq 0x57b87
callq 0x55801
mulss 0x498e6(%rip), %xmm0    # 0xbceec
callq 0x55008
leaq 0x8528e(%rip), %r15     # 0xf88a0
leaq 0x52cdb(%rip), %rbx     # 0xc62f4
xorl %r12d, %r12d
callq 0x9552a
movq 0x8(%r12,%r15), %rsi
movq 0x10(%r12,%r15), %r14
movq %rbx, %rdi
xorl %eax, %eax
callq 0x92024
callq 0x9552a
callq 0x56b7a
movss %xmm0, -0x2c(%rbp)
callq 0x44587
movss 0x68(%rax), %xmm0
mulss 0x439ae(%rip), %xmm0    # 0xb7004
addss -0x2c(%rbp), %xmm0
callq 0x56c54
movq %r14, %rdi
xorl %esi, %esi
callq 0x92015
addq $0x18, %r12
cmpq $0x78, %r12
jne 0x7361c
callq 0x5511a
callq 0x57cdf
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop