static void zero_remaining(unsigned int b, unsigned int b_max,

                           const unsigned int *div_blocks, int32_t *buf)

{

    unsigned int count = 0;



    while (b < b_max)

        count += div_blocks[b];



    if (count)

        memset(buf, 0, sizeof(*buf) * count);

}

static void zero_remaining(unsigned int b, unsigned int b_max,

                           const unsigned int *div_blocks, int32_t *buf)

{

    unsigned int count = 0;



    while (b < b_max)

        count += div_blocks[b];



    if (count)

        memset(buf, 0, sizeof(*buf) * count);

}

static void FUNC_0(unsigned int VAR_0, unsigned int VAR_1,

                           const unsigned int *VAR_2, int32_t *VAR_3)

{

    unsigned int VAR_4 = 0;



    while (VAR_0 < VAR_1)

        VAR_4 += VAR_2[VAR_0];



    if (VAR_4)

        memset(VAR_3, 0, sizeof(*VAR_3) * VAR_4);

}

static void FUNC_0(unsigned int VAR_0, unsigned int VAR_1,
const unsigned int *VAR_2, int32_t *VAR_3)
{ unsigned int VAR_4 = 0; while (VAR_0 < VAR_1)
VAR_4 += VAR_2[VAR_0]; if (VAR_4)
memset(VAR_3, 0, sizeof(*VAR_3) * VAR_4); }