static int64_t truehd_layout(int chanmap)

{

    int layout = 0, i;



    for (i = 0; i < 13; i++)

        layout |= thd_layout[i] * ((chanmap >> i) & 1);



    return layout;

}

static int64_t truehd_layout(int chanmap)

{

    int layout = 0, i;



    for (i = 0; i < 13; i++)

        layout |= thd_layout[i] * ((chanmap >> i) & 1);



    return layout;

}

static int64_t FUNC_0(int chanmap)

{

    int VAR_0 = 0, VAR_1;



    for (VAR_1 = 0; VAR_1 < 13; VAR_1++)

        VAR_0 |= thd_layout[VAR_1] * ((chanmap >> VAR_1) & 1);



    return VAR_0;

}

static int64_t FUNC_0(int chanmap)
{ int VAR_0 = 0, VAR_1; for (VAR_1 = 0; VAR_1 < 13; VAR_1++) VAR_0 |= thd_layout[VAR_1] * ((chanmap >> VAR_1) & 1); return VAR_0; }