static int print_bit(DeviceState *dev, Property *prop, char *dest, size_t len)

{

    uint32_t *p = qdev_get_prop_ptr(dev, prop);

    return snprintf(dest, len, (*p & qdev_get_prop_mask(prop)) ? "on" : "off");

}

static int print_bit(DeviceState *dev, Property *prop, char *dest, size_t len)

{

    uint32_t *p = qdev_get_prop_ptr(dev, prop);

    return snprintf(dest, len, (*p & qdev_get_prop_mask(prop)) ? "on" : "off");

}

static int FUNC_0(DeviceState *VAR_0, Property *VAR_1, char *VAR_2, size_t VAR_3)

{

    uint32_t *p = qdev_get_prop_ptr(VAR_0, VAR_1);

    return snprintf(VAR_2, VAR_3, (*p & qdev_get_prop_mask(VAR_1)) ? "on" : "off");

}

static int FUNC_0(DeviceState *VAR_0, Property *VAR_1, char *VAR_2, size_t VAR_3)
{ uint32_t *p = qdev_get_prop_ptr(VAR_0, VAR_1); return snprintf(VAR_2, VAR_3, (*p & qdev_get_prop_mask(VAR_1)) ? "on" : "off"); }