static void check_cpu_flag(const char *name, int flag)

{

    int old_cpu_flag = state.cpu_flag;



    flag |= old_cpu_flag;

    av_set_cpu_flags_mask(flag);

    state.cpu_flag = av_get_cpu_flags();



    if (!flag || state.cpu_flag != old_cpu_flag) {

        int i;



        state.cpu_flag_name = name;

        for (i = 0; tests[i].func; i++) {

            state.current_test_name = tests[i].name;

            tests[i].func();

        }

    }

}

static void check_cpu_flag(const char *name, int flag)

{

    int old_cpu_flag = state.cpu_flag;



    flag |= old_cpu_flag;

    av_set_cpu_flags_mask(flag);

    state.cpu_flag = av_get_cpu_flags();



    if (!flag || state.cpu_flag != old_cpu_flag) {

        int i;



        state.cpu_flag_name = name;

        for (i = 0; tests[i].func; i++) {

            state.current_test_name = tests[i].name;

            tests[i].func();

        }

    }

}

static void FUNC_0(const char *VAR_0, int VAR_1)

{

    int VAR_2 = state.cpu_flag;



    VAR_1 |= VAR_2;

    av_set_cpu_flags_mask(VAR_1);

    state.cpu_flag = av_get_cpu_flags();



    if (!VAR_1 || state.cpu_flag != VAR_2) {

        int VAR_3;



        state.cpu_flag_name = VAR_0;

        for (VAR_3 = 0; tests[VAR_3].func; VAR_3++) {

            state.current_test_name = tests[VAR_3].VAR_0;

            tests[VAR_3].func();

        }

    }

}

static void FUNC_0(const char *VAR_0, int VAR_1)
{ int VAR_2 = state.cpu_flag; VAR_1 |= VAR_2; av_set_cpu_flags_mask(VAR_1); state.cpu_flag = av_get_cpu_flags(); if (!VAR_1 || state.cpu_flag != VAR_2) { int VAR_3; state.cpu_flag_name = VAR_0; for (VAR_3 = 0; tests[VAR_3].func; VAR_3++) { state.current_test_name = tests[VAR_3].VAR_0; tests[VAR_3].func(); } } }