static void decode_mclms(WmallDecodeCtx *s)

{

    s->mclms_order = (get_bits(&s->gb, 4) + 1) * 2;

    s->mclms_scaling = get_bits(&s->gb, 4);

    if(get_bits1(&s->gb)) {

	// mclms_send_coef

	int i;

	int send_coef_bits;

	int cbits = av_log2(s->mclms_scaling + 1);

	assert(cbits == my_log2(s->mclms_scaling + 1));

	if(1 << cbits < s->mclms_scaling + 1)

	    cbits++;



	send_coef_bits = (cbits ? get_bits(&s->gb, cbits) : 0) + 2;



	for(i = 0; i < s->mclms_order * s->num_channels * s->num_channels; i++) {

	    s->mclms_coeffs[i] = get_bits(&s->gb, send_coef_bits);

	}



	for(i = 0; i < s->num_channels; i++) {

	    int c;

	    for(c = 0; c < i; c++) {

		s->mclms_coeffs_cur[i * s->num_channels + c] = get_bits(&s->gb, send_coef_bits);

	    }

	}

    }

}

static void decode_mclms(WmallDecodeCtx *s)

{

    s->mclms_order = (get_bits(&s->gb, 4) + 1) * 2;

    s->mclms_scaling = get_bits(&s->gb, 4);

    if(get_bits1(&s->gb)) {

	

	int i;

	int send_coef_bits;

	int cbits = av_log2(s->mclms_scaling + 1);

	assert(cbits == my_log2(s->mclms_scaling + 1));

	if(1 << cbits < s->mclms_scaling + 1)

	    cbits++;



	send_coef_bits = (cbits ? get_bits(&s->gb, cbits) : 0) + 2;



	for(i = 0; i < s->mclms_order * s->num_channels * s->num_channels; i++) {

	    s->mclms_coeffs[i] = get_bits(&s->gb, send_coef_bits);

	}



	for(i = 0; i < s->num_channels; i++) {

	    int c;

	    for(c = 0; c < i; c++) {

		s->mclms_coeffs_cur[i * s->num_channels + c] = get_bits(&s->gb, send_coef_bits);

	    }

	}

    }

}

	int i; 	int send_coef_bits; 	int cbits = av_log2(s->mclms_scaling + 1); 	assert(cbits == my_log2(s->mclms_scaling + 1)); 	if(1 << cbits < s->mclms_scaling + 1) 	    cbits++; 	send_coef_bits = (cbits ? get_bits(&s->gb, cbits) : 0) + 2; 	for(i = 0; i < s->mclms_order * s->num_channels * s->num_channels; i++) { 	    s->mclms_coeffs[i] = get_bits(&s->gb, send_coef_bits); 	for(i = 0; i < s->num_channels; i++) { 	    int c; 	    for(c = 0; c < i; c++) { 		s->mclms_coeffs_cur[i * s->num_channels + c] = get_bits(&s->gb, send_coef_bits); 	for(i = 0; i < s->num_channels; i++) { 	for(i = 0; i < s->num_channels; i++) {
static void FUNC_0(WmallDecodeCtx *VAR_0)

{

    VAR_0->mclms_order = (get_bits(&VAR_0->gb, 4) + 1) * 2;

    VAR_0->mclms_scaling = get_bits(&VAR_0->gb, 4);

    if(get_bits1(&VAR_0->gb)) {

	

	int VAR_1;

	int VAR_2;

	int VAR_3 = av_log2(VAR_0->mclms_scaling + 1);

	assert(VAR_3 == my_log2(VAR_0->mclms_scaling + 1));

	if(1 << VAR_3 < VAR_0->mclms_scaling + 1)

	    VAR_3++;



	VAR_2 = (VAR_3 ? get_bits(&VAR_0->gb, VAR_3) : 0) + 2;



	for(VAR_1 = 0; VAR_1 < VAR_0->mclms_order * VAR_0->num_channels * VAR_0->num_channels; VAR_1++) {

	    VAR_0->mclms_coeffs[VAR_1] = get_bits(&VAR_0->gb, VAR_2);

	}



	for(VAR_1 = 0; VAR_1 < VAR_0->num_channels; VAR_1++) {

	    int c;

	    for(c = 0; c < VAR_1; c++) {

		VAR_0->mclms_coeffs_cur[VAR_1 * VAR_0->num_channels + c] = get_bits(&VAR_0->gb, VAR_2);

	    }

	}

    }

}

static void FUNC_0(WmallDecodeCtx *VAR_0)
{ VAR_0->mclms_order = (get_bits(&VAR_0->gb, 4) + 1) * 2; VAR_0->mclms_scaling = get_bits(&VAR_0->gb, 4); if(get_bits1(&VAR_0->gb)) { int VAR_1; int VAR_2; int VAR_3 = av_log2(VAR_0->mclms_scaling + 1); assert(VAR_3 == my_log2(VAR_0->mclms_scaling + 1)); if(1 << VAR_3 < VAR_0->mclms_scaling + 1)
VAR_3++; VAR_2 = (VAR_3 ? get_bits(&VAR_0->gb, VAR_3) : 0) + 2; for(VAR_1 = 0; VAR_1 < VAR_0->mclms_order * VAR_0->num_channels * VAR_0->num_channels; VAR_1++) { VAR_0->mclms_coeffs[VAR_1] = get_bits(&VAR_0->gb, VAR_2); } for(VAR_1 = 0; VAR_1 < VAR_0->num_channels; VAR_1++) { int c; for(c = 0; c < VAR_1; c++) { VAR_0->mclms_coeffs_cur[VAR_1 * VAR_0->num_channels + c] = get_bits(&VAR_0->gb, VAR_2); } } } }