int bdrv_pread(BlockDriverState *bs, int64_t offset,
               void *buf1, int count1)
{
    BlockDriver *drv = bs->drv;
    if (!drv)
        return -ENOMEDIUM;
    if (!drv->bdrv_pread)
        return bdrv_pread_em(bs, offset, buf1, count1);
    return drv->bdrv_pread(bs, offset, buf1, count1);
}
int bdrv_pread(BlockDriverState *bs, int64_t offset,
               void *buf1, int count1)
{
    BlockDriver *drv = bs->drv;
    if (!drv)
        return -ENOMEDIUM;
    if (!drv->bdrv_pread)
        return bdrv_pread_em(bs, offset, buf1, count1);
    return drv->bdrv_pread(bs, offset, buf1, count1);
}
int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,
               void *VAR_2, int VAR_3)
{
    BlockDriver *drv = VAR_0->drv;
    if (!drv)
        return -ENOMEDIUM;
    if (!drv->FUNC_0)
        return bdrv_pread_em(VAR_0, VAR_1, VAR_2, VAR_3);
    return drv->FUNC_0(VAR_0, VAR_1, VAR_2, VAR_3);
}
int FUNC_0(BlockDriverState *VAR_0, int64_t VAR_1,
void *VAR_2, int VAR_3)
{ BlockDriver *drv = VAR_0->drv; if (!drv)
return -ENOMEDIUM; if (!drv->FUNC_0)
return bdrv_pread_em(VAR_0, VAR_1, VAR_2, VAR_3); return drv->FUNC_0(VAR_0, VAR_1, VAR_2, VAR_3); }