mono_escape_uri_string (const gchar * string)
{
  unsigned int c.0;
  unsigned int D.5115;
  unsigned int D.5117;
  unsigned int D.5119;
  unsigned int D.5121;
  char D.5122;
  int D.5130;
  char D.5131;
  int D.5132;
  char D.5133;
  char D.5134;
  gchar * D.5135;
  struct GString * str;
  char * ret;
  int c;

  str = monoeg_g_string_new ("");
  goto <D.5108>;
  <D.5107>:
  c.0 = (unsigned int) c;
  D.5115 = c.0 + 4294967199;
  if (D.5115 <= 25) goto <D.5111>; else goto <D.5116>;
  <D.5116>:
  c.0 = (unsigned int) c;
  D.5117 = c.0 + 4294967231;
  if (D.5117 <= 25) goto <D.5111>; else goto <D.5118>;
  <D.5118>:
  c.0 = (unsigned int) c;
  D.5119 = c.0 + 4294967251;
  if (D.5119 <= 13) goto <D.5111>; else goto <D.5120>;
  <D.5120>:
  c.0 = (unsigned int) c;
  D.5121 = c.0 + 4294967258;
  if (D.5121 <= 4) goto <D.5111>; else goto <D.5112>;
  <D.5111>:
  D.5122 = (char) c;
  monoeg_g_string_append_c (str, D.5122);
  goto <D.5113>;
  <D.5112>:
  if (c == 33) goto <D.5123>; else goto <D.5126>;
  <D.5126>:
  if (c == 61) goto <D.5123>; else goto <D.5127>;
  <D.5127>:
  if (c == 63) goto <D.5123>; else goto <D.5128>;
  <D.5128>:
  if (c == 95) goto <D.5123>; else goto <D.5129>;
  <D.5129>:
  if (c == 126) goto <D.5123>; else goto <D.5124>;
  <D.5123>:
  D.5122 = (char) c;
  monoeg_g_string_append_c (str, D.5122);
  goto <D.5125>;
  <D.5124>:
  monoeg_g_string_append_c (str, 37);
  D.5130 = c >> 4;
  D.5131 = "0123456789ABCDEF"[D.5130];
  monoeg_g_string_append_c (str, D.5131);
  D.5132 = c & 15;
  D.5133 = "0123456789ABCDEF"[D.5132];
  monoeg_g_string_append_c (str, D.5133);
  <D.5125>:
  <D.5113>:
  string = string + 1;
  <D.5108>:
  D.5134 = *string;
  c = (int) D.5134;
  if (c != 0) goto <D.5107>; else goto <D.5109>;
  <D.5109>:
  ret = str->str;
  monoeg_g_string_free (str, 0);
  D.5135 = ret;
  return D.5135;
}


