static void smbios_check_collision(int type, int entry)

{

    if (type < ARRAY_SIZE(first_opt)) {

        if (first_opt[type].seen) {

            if (first_opt[type].headertype != entry) {

                error_report("Can't mix file= and type= for same type");

                loc_push_restore(&first_opt[type].loc);

                error_report("This is the conflicting setting");

                loc_pop(&first_opt[type].loc);

                exit(1);

            }

        } else {

            first_opt[type].seen = true;

            first_opt[type].headertype = entry;

            loc_save(&first_opt[type].loc);

        }

    }

}

static void smbios_check_collision(int type, int entry)

{

    if (type < ARRAY_SIZE(first_opt)) {

        if (first_opt[type].seen) {

            if (first_opt[type].headertype != entry) {

                error_report("Can't mix file= and type= for same type");

                loc_push_restore(&first_opt[type].loc);

                error_report("This is the conflicting setting");

                loc_pop(&first_opt[type].loc);

                exit(1);

            }

        } else {

            first_opt[type].seen = true;

            first_opt[type].headertype = entry;

            loc_save(&first_opt[type].loc);

        }

    }

}

static void FUNC_0(int VAR_0, int VAR_1)

{

    if (VAR_0 < ARRAY_SIZE(first_opt)) {

        if (first_opt[VAR_0].seen) {

            if (first_opt[VAR_0].headertype != VAR_1) {

                error_report("Can't mix file= and VAR_0= for same VAR_0");

                loc_push_restore(&first_opt[VAR_0].loc);

                error_report("This is the conflicting setting");

                loc_pop(&first_opt[VAR_0].loc);

                exit(1);

            }

        } else {

            first_opt[VAR_0].seen = true;

            first_opt[VAR_0].headertype = VAR_1;

            loc_save(&first_opt[VAR_0].loc);

        }

    }

}

static void FUNC_0(int VAR_0, int VAR_1)
{ if (VAR_0 < ARRAY_SIZE(first_opt)) { if (first_opt[VAR_0].seen) { if (first_opt[VAR_0].headertype != VAR_1) { error_report("Can't mix file= and VAR_0= for same VAR_0"); loc_push_restore(&first_opt[VAR_0].loc); error_report("This is the conflicting setting"); loc_pop(&first_opt[VAR_0].loc); exit(1); } } else { first_opt[VAR_0].seen = true; first_opt[VAR_0].headertype = VAR_1; loc_save(&first_opt[VAR_0].loc); } } }