static int parse_hex64(DeviceState *dev, Property *prop, const char *str)

{

    uint64_t *ptr = qdev_get_prop_ptr(dev, prop);



    if (sscanf(str, "%" PRIx64, ptr) != 1)

        return -EINVAL;

    return 0;

}

static int parse_hex64(DeviceState *dev, Property *prop, const char *str)

{

    uint64_t *ptr = qdev_get_prop_ptr(dev, prop);



    if (sscanf(str, "%" PRIx64, ptr) != 1)

        return -EINVAL;

    return 0;

}

    if (sscanf(str, "%" PRIx64, ptr) != 1)
static int FUNC_0(DeviceState *VAR_0, Property *VAR_1, const char *VAR_2)

{

    uint64_t *ptr = qdev_get_prop_ptr(VAR_0, VAR_1);



    if (sscanf(VAR_2, "%" PRIx64, ptr) != 1)

        return -EINVAL;

    return 0;

}

static int FUNC_0(DeviceState *VAR_0, Property *VAR_1, const char *VAR_2)
{ uint64_t *ptr = qdev_get_prop_ptr(VAR_0, VAR_1); if (sscanf(VAR_2, "%" PRIx64, ptr) != 1)
return -EINVAL; return 0; }