monoeg_g_get_current_time (struct GTimeVal * result)
{
  long int D.5657;
  long int D.5658;
  struct timeval tv;

  try
    {
      if (result == 0B) goto <D.5655>; else goto <D.5656>;
      <D.5655>:
      monoeg_g_log (0B, 8, "%s:%d: assertion \'%s\' failed", "gdate-unix.c", 39, "result != NULL");
      return;
      <D.5656>:
      gettimeofday (&tv, 0B);
      D.5657 = tv.tv_sec;
      result->tv_sec = D.5657;
      D.5658 = tv.tv_usec;
      result->tv_usec = D.5658;
    }
  finally
    {
      tv = {CLOBBER};
    }
}


monoeg_g_usleep (gulong microseconds)
{
  long unsigned int D.5662;
  long int D.5663;
  long unsigned int D.5664;
  long unsigned int D.5665;
  long int D.5666;
  int D.5667;
  int * D.5669;
  int D.5670;
  struct timespec req;
  struct timespec rem;

  try
    {
      D.5662 = microseconds / 1000000;
      D.5663 = (long int) D.5662;
      req.tv_sec = D.5663;
      D.5664 = microseconds % 1000000;
      D.5665 = D.5664 * 1000;
      D.5666 = (long int) D.5665;
      req.tv_nsec = D.5666;
      goto <D.5652>;
      <D.5651>:
      req = rem;
      <D.5652>:
      D.5667 = nanosleep (&req, &rem);
      if (D.5667 == -1) goto <D.5668>; else goto <D.5653>;
      <D.5668>:
      D.5669 = __errno_location ();
      D.5670 = *D.5669;
      if (D.5670 == 4) goto <D.5651>; else goto <D.5653>;
      <D.5653>:
    }
  finally
    {
      req = {CLOBBER};
      rem = {CLOBBER};
    }
}


