monoeg_g_get_current_time (struct GTimeVal * result)
{
  long int D.7402;
  long int D.7403;
  struct timeval tv;

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


monoeg_g_usleep (gulong microseconds)
{
  long unsigned int D.7407;
  long int D.7408;
  long unsigned int D.7409;
  long unsigned int D.7410;
  long int D.7411;
  int D.7412;
  int * D.7414;
  int D.7415;
  struct timespec req;
  struct timespec rem;

  try
    {
      D.7407 = microseconds / 1000000;
      D.7408 = (long int) D.7407;
      req.tv_sec = D.7408;
      D.7409 = microseconds % 1000000;
      D.7410 = D.7409 * 1000;
      D.7411 = (long int) D.7410;
      req.tv_nsec = D.7411;
      goto <D.7395>;
      <D.7394>:
      req = rem;
      <D.7395>:
      D.7412 = nanosleep (&req, &rem);
      if (D.7412 == -1) goto <D.7413>; else goto <D.7396>;
      <D.7413>:
      D.7414 = __errno_location ();
      D.7415 = *D.7414;
      if (D.7415 == 4) goto <D.7394>; else goto <D.7396>;
      <D.7396>:
    }
  finally
    {
      req = {CLOBBER};
      rem = {CLOBBER};
    }
}


