static bool cmd_read_multiple(IDEState *s, uint8_t cmd)

{

    bool lba48 = (cmd == WIN_MULTREAD_EXT);



    if (!s->bs || !s->mult_sectors) {

        ide_abort_command(s);

        return true;

    }



    ide_cmd_lba48_transform(s, lba48);

    s->req_nb_sectors = s->mult_sectors;

    ide_sector_read(s);

    return false;

}

static bool cmd_read_multiple(IDEState *s, uint8_t cmd)

{

    bool lba48 = (cmd == WIN_MULTREAD_EXT);



    if (!s->bs || !s->mult_sectors) {

        ide_abort_command(s);

        return true;

    }



    ide_cmd_lba48_transform(s, lba48);

    s->req_nb_sectors = s->mult_sectors;

    ide_sector_read(s);

    return false;

}

static bool FUNC_0(IDEState *s, uint8_t cmd)

{

    bool lba48 = (cmd == WIN_MULTREAD_EXT);



    if (!s->bs || !s->mult_sectors) {

        ide_abort_command(s);

        return true;

    }



    ide_cmd_lba48_transform(s, lba48);

    s->req_nb_sectors = s->mult_sectors;

    ide_sector_read(s);

    return false;

}

static bool FUNC_0(IDEState *s, uint8_t cmd)
{ bool lba48 = (cmd == WIN_MULTREAD_EXT); if (!s->bs || !s->mult_sectors) { ide_abort_command(s); return true; } ide_cmd_lba48_transform(s, lba48); s->req_nb_sectors = s->mult_sectors; ide_sector_read(s); return false; }