static void cmd646_cmd_write(void *opaque, target_phys_addr_t addr,

                             uint64_t data, unsigned size)

{

    CMD646BAR *cmd646bar = opaque;



    if (addr != 2 || size != 1) {

        return;

    }

    ide_cmd_write(cmd646bar->bus, addr + 2, data);

}

static void cmd646_cmd_write(void *opaque, target_phys_addr_t addr,

                             uint64_t data, unsigned size)

{

    CMD646BAR *cmd646bar = opaque;



    if (addr != 2 || size != 1) {

        return;

    }

    ide_cmd_write(cmd646bar->bus, addr + 2, data);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,

                             uint64_t VAR_2, unsigned VAR_3)

{

    CMD646BAR *cmd646bar = VAR_0;



    if (VAR_1 != 2 || VAR_3 != 1) {

        return;

    }

    ide_cmd_write(cmd646bar->bus, VAR_1 + 2, VAR_2);

}

static void FUNC_0(void *VAR_0, target_phys_addr_t VAR_1,
uint64_t VAR_2, unsigned VAR_3)
{ CMD646BAR *cmd646bar = VAR_0; if (VAR_1 != 2 || VAR_3 != 1) { return; } ide_cmd_write(cmd646bar->bus, VAR_1 + 2, VAR_2); }