const char *qdev_fw_name(DeviceState *dev)

{

    DeviceClass *dc = DEVICE_GET_CLASS(dev);



    if (dc->fw_name) {

        return dc->fw_name;

    } else if (dc->alias) {

        return dc->alias;

    }



    return object_get_typename(OBJECT(dev));

}

const char *qdev_fw_name(DeviceState *dev)

{

    DeviceClass *dc = DEVICE_GET_CLASS(dev);



    if (dc->fw_name) {

        return dc->fw_name;

    } else if (dc->alias) {

        return dc->alias;

    }



    return object_get_typename(OBJECT(dev));

}

const char *FUNC_0(DeviceState *VAR_0)

{

    DeviceClass *dc = DEVICE_GET_CLASS(VAR_0);



    if (dc->fw_name) {

        return dc->fw_name;

    } else if (dc->alias) {

        return dc->alias;

    }



    return object_get_typename(OBJECT(VAR_0));

}

const char *FUNC_0(DeviceState *VAR_0)
{ DeviceClass *dc = DEVICE_GET_CLASS(VAR_0); if (dc->fw_name) { return dc->fw_name; } else if (dc->alias) { return dc->alias; } return object_get_typename(OBJECT(VAR_0)); }