#include <perms.h>
int _imp_mainep(int _imp_argc, char **_imp_argv) {
  _imp_enter();
  if (_imp_on_event(
          1, 6, 9, 3,
          4)) {  // Old %FAULT statements are mapped to %on %event blocks!
    if (_imp_caught_on_event(EVENT.EVENT, 1, 6)) goto ARRAYERROR;
    if (_imp_caught_on_event(EVENT.EVENT, 9)) goto FILEERROR;
    if (_imp_caught_on_event(EVENT.EVENT, 3, 4)) goto IOERRORLAB;
  }

ARRAYERROR:;

FILEERROR:;

IOERRORLAB:;

  _imp_leave();
  exit(0);
  return (0);
}
