static void handle_satn(ESPState *s)

{

    uint8_t buf[32];

    int len;



    if (s->dma && !s->dma_enabled) {

        s->dma_cb = handle_satn;

        return;

    }

    len = get_cmd(s, buf);

    if (len)

        do_cmd(s, buf);

}

static void handle_satn(ESPState *s)

{

    uint8_t buf[32];

    int len;



    if (s->dma && !s->dma_enabled) {

        s->dma_cb = handle_satn;

        return;

    }

    len = get_cmd(s, buf);

    if (len)

        do_cmd(s, buf);

}

    len = get_cmd(s, buf);     len = get_cmd(s, buf);
static void FUNC_0(ESPState *VAR_0)

{

    uint8_t buf[32];

    int VAR_1;



    if (VAR_0->dma && !VAR_0->dma_enabled) {

        VAR_0->dma_cb = FUNC_0;

        return;

    }

    VAR_1 = get_cmd(VAR_0, buf);

    if (VAR_1)

        do_cmd(VAR_0, buf);

}

static void FUNC_0(ESPState *VAR_0)
{ uint8_t buf[32]; int VAR_1; if (VAR_0->dma && !VAR_0->dma_enabled) { VAR_0->dma_cb = FUNC_0; return; } VAR_1 = get_cmd(VAR_0, buf); if (VAR_1)
do_cmd(VAR_0, buf); }