int av_get_channel_layout_nb_channels(int64_t channel_layout)

{

    int count;

    uint64_t x = channel_layout;

    for (count = 0; x; count++)

        x &= x-1; // unset lowest set bit

    return count;

}

int av_get_channel_layout_nb_channels(int64_t channel_layout)

{

    int count;

    uint64_t x = channel_layout;

    for (count = 0; x; count++)

        x &= x-1; 

    return count;

}

int FUNC_0(int64_t VAR_0)

{

    int VAR_1;

    uint64_t x = VAR_0;

    for (VAR_1 = 0; x; VAR_1++)

        x &= x-1; 

    return VAR_1;

}

int FUNC_0(int64_t VAR_0)
{ int VAR_1; uint64_t x = VAR_0; for (VAR_1 = 0; x; VAR_1++) x &= x-1; return VAR_1; }