    vmstate_get_subsection(const VMStateSubsection *sub, char *idstr)

{

    while (sub && sub->needed) {

        if (strcmp(idstr, sub->vmsd->name) == 0) {

            return sub->vmsd;

        }

        sub++;

    }

    return NULL;

}

    vmstate_get_subsection(const VMStateSubsection *sub, char *idstr)

{

    while (sub && sub->needed) {

        if (strcmp(idstr, sub->vmsd->name) == 0) {

            return sub->vmsd;

        }

        sub++;

    }

    return NULL;

}

    FUNC_0(const VMStateSubsection *VAR_0, char *VAR_1)

{

    while (VAR_0 && VAR_0->needed) {

        if (strcmp(VAR_1, VAR_0->vmsd->name) == 0) {

            return VAR_0->vmsd;

        }

        VAR_0++;

    }

    return NULL;

}

FUNC_0(const VMStateSubsection *VAR_0, char *VAR_1)
{ while (VAR_0 && VAR_0->needed) { if (strcmp(VAR_1, VAR_0->vmsd->name) == 0) { return VAR_0->vmsd; } VAR_0++; } return NULL; }