static void ics_base_realize(DeviceState *dev, Error **errp)

{

    ICSStateClass *icsc = ICS_BASE_GET_CLASS(dev);

    ICSState *ics = ICS_BASE(dev);

    Object *obj;

    Error *err = NULL;



    obj = object_property_get_link(OBJECT(dev), ICS_PROP_XICS, &err);

    if (!obj) {

        error_setg(errp, "%s: required link '" ICS_PROP_XICS "' not found: %s",

                   __func__, error_get_pretty(err));

        return;

    }

    ics->xics = XICS_FABRIC(obj);





    if (icsc->realize) {

        icsc->realize(ics, errp);

    }

}

static void ics_base_realize(DeviceState *dev, Error **errp)

{

    ICSStateClass *icsc = ICS_BASE_GET_CLASS(dev);

    ICSState *ics = ICS_BASE(dev);

    Object *obj;

    Error *err = NULL;



    obj = object_property_get_link(OBJECT(dev), ICS_PROP_XICS, &err);

    if (!obj) {

        error_setg(errp, "%s: required link '" ICS_PROP_XICS "' not found: %s",

                   __func__, error_get_pretty(err));

        return;

    }

    ics->xics = XICS_FABRIC(obj);





    if (icsc->realize) {

        icsc->realize(ics, errp);

    }

}

                   __func__, error_get_pretty(err));                    __func__, error_get_pretty(err));         error_setg(errp, "%s: required link '" ICS_PROP_XICS "' not found: %s",                    __func__, error_get_pretty(err));
static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)

{

    ICSStateClass *icsc = ICS_BASE_GET_CLASS(VAR_0);

    ICSState *ics = ICS_BASE(VAR_0);

    Object *obj;

    Error *err = NULL;



    obj = object_property_get_link(OBJECT(VAR_0), ICS_PROP_XICS, &err);

    if (!obj) {

        error_setg(VAR_1, "%s: required link '" ICS_PROP_XICS "' not found: %s",

                   __func__, error_get_pretty(err));

        return;

    }

    ics->xics = XICS_FABRIC(obj);





    if (icsc->realize) {

        icsc->realize(ics, VAR_1);

    }

}

static void FUNC_0(DeviceState *VAR_0, Error **VAR_1)
{ ICSStateClass *icsc = ICS_BASE_GET_CLASS(VAR_0); ICSState *ics = ICS_BASE(VAR_0); Object *obj; Error *err = NULL; obj = object_property_get_link(OBJECT(VAR_0), ICS_PROP_XICS, &err); if (!obj) { error_setg(VAR_1, "%s: required link '" ICS_PROP_XICS "' not found: %s",
__func__, error_get_pretty(err)); return; } ics->xics = XICS_FABRIC(obj); if (icsc->realize) { icsc->realize(ics, VAR_1); } }