
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

url * url_parse(char *url,int *error,iri *iri,_Bool percent_encode)

{
  char cVar1;
  uint uVar2;
  _Bool _Var3;
  url_scheme uVar4;
  size_t sVar5;
  char *pcVar6;
  char *pcVar7;
  undefined1 *puVar8;
  char *pcVar9;
  url *url_00;
  char cVar10;
  byte bVar11;
  char *pcVar12;
  int iVar13;
  char *pcVar14;
  int in_GS_OFFSET;
  bool bVar15;
  char *local_70;
  char *local_68;
  char *local_64;
  char *local_60;
  char *local_54;
  char *local_50;
  uint local_4c;
  char *local_48;
  char *local_44;
  char *local_40;
  char *local_3c;
  char *local_38;
  char *local_34;
  char *new_url;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x46179;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uVar4 = url_scheme(url);
  if (uVar4 == SCHEME_INVALID) {
    _Var3 = url_has_scheme(url);
    iVar13 = !_Var3 + 1;
  }
  else {
    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {
LAB_000461df:
      local_68 = url;
      if (percent_encode) {
        local_68 = reencode_escapes(url);
      }
    }
    else {
      new_url = (char *)0x0;
      pcVar12 = iri->orig_url;
      if (iri->orig_url == (char *)0x0) {
        pcVar12 = url;
      }
      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);
      iri->utf8_encode = _Var3;
      if (!_Var3) goto LAB_000461df;
      free(iri->orig_url);
      iri->orig_url = (char *)0x0;
      pcVar12 = xstrdup(url);
      iri->orig_url = pcVar12;
      local_68 = reencode_escapes(new_url);
      if (new_url != local_68) {
        free(new_url);
      }
    }
    sVar5 = strlen(supported_schemes[uVar4].leading_string);
    pcVar6 = local_68 + sVar5;
    pcVar7 = strpbrk(pcVar6,"@/?#;");
    pcVar12 = pcVar6;
    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {
      pcVar12 = pcVar6;
    }
    uVar2 = supported_schemes[uVar4].flags;
    puVar8 = (undefined1 *)((int)&seps_8155 + 2);
    if ((uVar2 & 2) != 0) {
      seps_8155._2_1_ = 0x3b;
      puVar8 = (undefined1 *)((int)&seps_8155 + 3);
    }
    if ((uVar2 & 4) != 0) {
      *puVar8 = 0x3f;
      puVar8 = puVar8 + 1;
    }
    if ((uVar2 & 8) == 0) {
      *puVar8 = 0;
      if (*pcVar12 != '[') goto LAB_00046276;
LAB_00046332:
      local_70 = pcVar12 + 1;
      local_60 = strchr(local_70,0x5d);
      if (local_60 != (char *)0x0) {
        _Var3 = is_valid_ipv6_address(local_70,local_60);
        if (!_Var3) {
          iVar13 = 8;
          goto LAB_0004639d;
        }
        pcVar7 = local_60 + 1;
        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);
        if (pcVar9 != (char *)0x0) goto LAB_0004629b;
        goto LAB_00046398;
      }
      iVar13 = 6;
    }
    else {
      *puVar8 = 0x23;
      puVar8[1] = 0;
      if (*pcVar12 == '[') goto LAB_00046332;
LAB_00046276:
      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);
      local_70 = pcVar12;
      local_60 = pcVar7;
      if (pcVar7 == (char *)0x0) {
        sVar5 = strlen(pcVar12);
        pcVar7 = pcVar12 + sVar5;
        local_60 = pcVar7;
      }
LAB_0004629b:
      if (local_70 != local_60) {
        cVar10 = *pcVar7;
        local_4c = supported_schemes[uVar4].default_port;
        pcVar9 = pcVar7;
        if (cVar10 == ':') {
          pcVar14 = pcVar7 + 1;
          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));
          if (pcVar9 == (char *)0x0) {
            sVar5 = strlen(pcVar14);
            pcVar9 = pcVar14 + sVar5;
          }
          if (pcVar14 == pcVar9) {
LAB_00046b30:
            cVar10 = *pcVar14;
            pcVar9 = pcVar14;
          }
          else {
            if (pcVar14 < pcVar9) {
              local_4c = (int)pcVar7[1] - 0x30;
              if (local_4c < 10) {
                do {
                  pcVar14 = pcVar14 + 1;
                  if (pcVar14 == pcVar9) goto LAB_00046b30;
                } while (((int)*pcVar14 - 0x30U < 10) &&
                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000
                        ));
              }
              iVar13 = 4;
              goto LAB_0004639d;
            }
            cVar10 = *pcVar9;
            local_4c = 0;
          }
        }
        local_50 = (char *)0x0;
        local_54 = (char *)0x0;
        if (cVar10 == '/') {
          local_54 = pcVar9 + 1;
          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));
          local_50 = pcVar9;
          if (pcVar9 == (char *)0x0) {
            sVar5 = strlen(local_54);
            pcVar9 = local_54 + sVar5;
            local_50 = pcVar9;
          }
        }
        uVar2 = supported_schemes[uVar4].flags;
        if ((uVar2 & 2) == 0) {
          local_34 = (char *)0x0;
          pcVar7 = (char *)((int)&seps_8155 + 3);
          local_40 = (char *)0x0;
        }
        else if (*pcVar9 == ';') {
          local_40 = pcVar9 + 1;
          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));
          pcVar7 = (char *)((int)&seps_8155 + 4);
          local_34 = pcVar9;
          if (pcVar9 == (char *)0x0) {
            sVar5 = strlen(local_40);
            pcVar9 = local_40 + sVar5;
            local_34 = pcVar9;
          }
        }
        else {
          local_34 = (char *)0x0;
          pcVar7 = (char *)((int)&seps_8155 + 4);
          local_40 = (char *)0x0;
        }
        local_3c = (char *)0x0;
        local_48 = (char *)0x0;
        if ((uVar2 & 4) != 0) {
          if (*pcVar9 == '?') {
            local_48 = pcVar9 + 1;
            pcVar9 = strpbrk(local_48,pcVar7);
            local_3c = pcVar9;
            if (pcVar9 == (char *)0x0) {
              sVar5 = strlen(local_48);
              pcVar9 = local_48 + sVar5;
              local_3c = pcVar9;
            }
          }
          pcVar7 = pcVar7 + 1;
        }
        local_38 = (char *)0x0;
        local_44 = (char *)0x0;
        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {
          local_44 = pcVar9 + 1;
          local_38 = strpbrk(local_44,pcVar7);
          if (local_38 == (char *)0x0) {
            sVar5 = strlen(local_44);
            local_38 = local_44 + sVar5;
          }
        }
        if (pcVar6 == pcVar12) {
          pcVar7 = (char *)0x0;
          local_64 = (char *)0x0;
        }
        else {
          pcVar12 = pcVar12 + -1;
          if ((pcVar12 == pcVar6) ||
             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)
             ) {
            iVar13 = 5;
            goto LAB_0004639d;
          }
          pcVar7 = pcVar9;
          if (pcVar9 != (char *)0x0) {
            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);
            url_unescape_1(pcVar7,'\0');
            pcVar12 = pcVar9;
          }
          local_64 = strdupdelim(pcVar6,pcVar12);
          url_unescape_1(local_64,'\0');
        }
        url_00 = (url *)xcalloc(1,0x30);
        url_00->scheme = uVar4;
        pcVar12 = strdupdelim(local_70,local_60);
        url_00->passwd = pcVar7;
        url_00->host = pcVar12;
        url_00->port = local_4c;
        url_00->user = local_64;
        pcVar12 = strdupdelim(local_54,local_50);
        url_00->path = pcVar12;
        sVar5 = strlen(pcVar12);
        pcVar6 = pcVar12 + sVar5;
        if (pcVar12 < pcVar6) {
          pcVar7 = pcVar12;
          local_64 = pcVar12;
          do {
            cVar10 = *pcVar12;
            if (cVar10 == '.') {
              cVar1 = pcVar12[1];
              if ((cVar1 == '/') || (cVar1 == '\0')) {
                pcVar12 = pcVar12 + 2;
              }
              else {
                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))
                goto LAB_000465d0;
                if (local_64 < pcVar7) {
                  pcVar9 = pcVar7 + -1;
                  if (local_64 < pcVar9) {
                    cVar10 = pcVar7[-2];
                    pcVar7 = pcVar9;
                    while ((pcVar9 = pcVar7, cVar10 != '/' &&
                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {
                      cVar10 = pcVar7[-2];
                      pcVar7 = pcVar7 + -1;
                    }
                  }
                }
                else {
                  pcVar9 = pcVar7;
                  if (uVar4 - SCHEME_FTP < 2) {
                    local_64 = pcVar7 + 3;
                    goto LAB_000465d0;
                  }
                }
                pcVar12 = pcVar12 + 3;
                pcVar7 = pcVar9;
              }
            }
            else {
LAB_000465d0:
              if (pcVar12 == pcVar7) {
                if (pcVar6 <= pcVar7) {
LAB_000467c0:
                  bVar15 = false;
                  goto LAB_00046627;
                }
                while (*pcVar7 != '/') {
                  pcVar7 = pcVar7 + 1;
                  if (pcVar6 == pcVar7) goto LAB_000467c0;
                }
                pcVar12 = pcVar7 + 1;
                pcVar7 = pcVar12;
              }
              else {
                if (pcVar6 <= pcVar12) {
LAB_00046619:
                  bVar15 = pcVar7 != pcVar12;
                  goto LAB_00046620;
                }
                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);
                pcVar9 = pcVar7;
                while (cVar10 != '/') {
                  pcVar12 = pcVar12 + 1;
                  *pcVar9 = cVar10;
                  pcVar7 = pcVar14;
                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;
                  pcVar9 = pcVar9 + 1;
                  cVar10 = *pcVar12;
                }
                *pcVar9 = '/';
                pcVar12 = pcVar12 + 1;
                pcVar7 = pcVar9 + 1;
              }
            }
          } while (pcVar12 < pcVar6);
          bVar15 = pcVar7 != pcVar12;
LAB_00046620:
          if (pcVar12 != pcVar7) {
            *pcVar7 = '\0';
          }
LAB_00046627:
          pcVar12 = url_00->path;
        }
        else {
          bVar15 = false;
        }
        pcVar6 = strrchr(pcVar12,0x2f);
        if (pcVar6 == (char *)0x0) {
          pcVar6 = xstrdup("");
          url_00->dir = pcVar6;
          pcVar12 = xstrdup(pcVar12);
          url_00->file = pcVar12;
        }
        else {
          pcVar12 = strdupdelim(pcVar12,pcVar6);
          url_00->dir = pcVar12;
          pcVar12 = xstrdup(pcVar6 + 1);
          url_00->file = pcVar12;
        }
        bVar11 = 0;
        url_unescape_1(url_00->dir,'\0');
        url_unescape_1(url_00->file,'\0');
        pcVar12 = url_00->host;
        cVar10 = *pcVar12;
        if (cVar10 != '\0') {
          do {
            if ((int)cVar10 - 0x41U < 0x1a) {
              bVar11 = 1;
              *pcVar12 = cVar10 + ' ';
            }
            pcVar12 = pcVar12 + 1;
            cVar10 = *pcVar12;
          } while (cVar10 != '\0');
          pcVar12 = url_00->host;
        }
        pcVar6 = strchr(pcVar12,0x25);
        if (pcVar6 != (char *)0x0) {
          url_unescape_1(pcVar12,'\0');
          pcVar12 = url_00->host;
          cVar10 = *pcVar12;
          pcVar6 = pcVar12;
          while (cVar10 != '\0') {
            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {
              url_free(url_00);
              goto LAB_00046398;
            }
            pcVar6 = pcVar6 + 1;
            cVar10 = *pcVar6;
          }
          bVar11 = iri != (iri *)0x0 & opt.enable_iri;
          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {
            bVar11 = 1;
          }
          else {
            free(url_00->host);
            url_00->host = pcVar12;
          }
        }
        if (local_40 != (char *)0x0) {
          pcVar12 = strdupdelim(local_40,local_34);
          url_00->params = pcVar12;
        }
        if (local_48 != (char *)0x0) {
          pcVar12 = strdupdelim(local_48,local_3c);
          url_00->query = pcVar12;
        }
        if (local_44 != (char *)0x0) {
          pcVar12 = strdupdelim(local_44,local_38);
          url_00->fragment = pcVar12;
        }
        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||
           ((local_54 == local_50 || (bVar11 != 0)))) {
          pcVar12 = url_string(url_00,URL_AUTH_SHOW);
          url_00->url = pcVar12;
          if (local_68 != url) {
            free(local_68);
          }
        }
        else if (local_68 == url) {
          pcVar12 = xstrdup(local_68);
          url_00->url = pcVar12;
        }
        else {
          url_00->url = local_68;
        }
        goto LAB_000463c5;
      }
LAB_00046398:
      iVar13 = 3;
    }
LAB_0004639d:
    if ((local_68 != (char *)0x0) && (local_68 != url)) {
      free(local_68);
    }
  }
  url_00 = (url *)0x0;
  if (error != (int *)0x0) {
    *error = iVar13;
  }
LAB_000463c5:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return url_00;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)

{
  char cVar1;
  uint uVar2;
  char cVar3;
  int iVar4;
  size_t sVar5;
  char *pcVar6;
  char *pcVar7;
  undefined1 *puVar8;
  void *pvVar9;
  char *pcVar10;
  undefined4 *puVar11;
  undefined4 uVar12;
  byte bVar13;
  char *pcVar14;
  char *pcVar15;
  int in_GS_OFFSET;
  bool bVar16;
  char *local_70;
  void *local_68;
  char *local_64;
  char *local_60;
  char *local_54;
  char *local_50;
  uint local_4c;
  char *local_48;
  char *local_44;
  char *local_40;
  char *local_3c;
  char *local_38;
  char *local_34;
  void *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x46179;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = FUN_00044c00(param_1);
  if (iVar4 == 4) {
    cVar3 = FUN_00044c90(param_1);
    iVar4 = (cVar3 == '\0') + 1;
  }
  else {
    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {
LAB_000461df:
      local_68 = param_1;
      if (param_4 != '\0') {
        local_68 = (void *)FUN_00044a50();
      }
    }
    else {
      local_24 = (void *)0x0;
      pvVar9 = *(void **)(param_3 + 8);
      if (*(void **)(param_3 + 8) == (void *)0x0) {
        pvVar9 = param_1;
      }
      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);
      *(char *)(param_3 + 0xc) = cVar3;
      if (cVar3 == '\0') goto LAB_000461df;
      free(*(void **)(param_3 + 8));
      *(undefined4 *)(param_3 + 8) = 0;
      uVar12 = FUN_0005af70(param_1);
      *(undefined4 *)(param_3 + 8) = uVar12;
      local_68 = (void *)FUN_00044a50();
      if (local_24 != local_68) {
        free(local_24);
      }
    }
    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);
    pcVar6 = (char *)(sVar5 + (int)local_68);
    pcVar7 = strpbrk(pcVar6,"@/?#;");
    pcVar14 = pcVar6;
    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {
      pcVar14 = pcVar6;
    }
    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);
    puVar8 = &DAT_000a119e;
    if ((uVar2 & 2) != 0) {
      DAT_000a119e = 0x3b;
      puVar8 = &DAT_000a119f;
    }
    if ((uVar2 & 4) != 0) {
      *puVar8 = 0x3f;
      puVar8 = puVar8 + 1;
    }
    if ((uVar2 & 8) == 0) {
      *puVar8 = 0;
      if (*pcVar14 != '[') goto LAB_00046276;
LAB_00046332:
      local_70 = pcVar14 + 1;
      local_60 = strchr(local_70,0x5d);
      if (local_60 != (char *)0x0) {
        cVar3 = FUN_0002a270(local_70,local_60);
        if (cVar3 == '\0') {
          iVar4 = 8;
          goto LAB_0004639d;
        }
        pcVar7 = local_60 + 1;
        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);
        if (pcVar10 != (char *)0x0) goto LAB_0004629b;
        goto LAB_00046398;
      }
      iVar4 = 6;
    }
    else {
      *puVar8 = 0x23;
      puVar8[1] = 0;
      if (*pcVar14 == '[') goto LAB_00046332;
LAB_00046276:
      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);
      local_70 = pcVar14;
      local_60 = pcVar7;
      if (pcVar7 == (char *)0x0) {
        sVar5 = strlen(pcVar14);
        pcVar7 = pcVar14 + sVar5;
        local_60 = pcVar7;
      }
LAB_0004629b:
      if (local_70 != local_60) {
        cVar3 = *pcVar7;
        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);
        pcVar10 = pcVar7;
        if (cVar3 == ':') {
          pcVar15 = pcVar7 + 1;
          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(pcVar15);
            pcVar10 = pcVar15 + sVar5;
          }
          if (pcVar15 == pcVar10) {
LAB_00046b30:
            cVar3 = *pcVar15;
            pcVar10 = pcVar15;
          }
          else {
            if (pcVar15 < pcVar10) {
              local_4c = (int)pcVar7[1] - 0x30;
              if (local_4c < 10) {
                do {
                  pcVar15 = pcVar15 + 1;
                  if (pcVar15 == pcVar10) goto LAB_00046b30;
                } while (((int)*pcVar15 - 0x30U < 10) &&
                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000
                        ));
              }
              iVar4 = 4;
              goto LAB_0004639d;
            }
            cVar3 = *pcVar10;
            local_4c = 0;
          }
        }
        local_50 = (char *)0x0;
        local_54 = (char *)0x0;
        if (cVar3 == '/') {
          local_54 = pcVar10 + 1;
          pcVar10 = strpbrk(local_54,&DAT_000a119e);
          local_50 = pcVar10;
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(local_54);
            pcVar10 = local_54 + sVar5;
            local_50 = pcVar10;
          }
        }
        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);
        if ((uVar2 & 2) == 0) {
          local_34 = (char *)0x0;
          pcVar7 = &DAT_000a119f;
          local_40 = (char *)0x0;
        }
        else if (*pcVar10 == ';') {
          local_40 = pcVar10 + 1;
          pcVar10 = strpbrk(local_40,&DAT_000a119f);
          pcVar7 = &DAT_000a11a0;
          local_34 = pcVar10;
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(local_40);
            pcVar10 = local_40 + sVar5;
            local_34 = pcVar10;
          }
        }
        else {
          local_34 = (char *)0x0;
          pcVar7 = &DAT_000a11a0;
          local_40 = (char *)0x0;
        }
        local_3c = (char *)0x0;
        local_48 = (char *)0x0;
        if ((uVar2 & 4) != 0) {
          if (*pcVar10 == '?') {
            local_48 = pcVar10 + 1;
            pcVar10 = strpbrk(local_48,pcVar7);
            local_3c = pcVar10;
            if (pcVar10 == (char *)0x0) {
              sVar5 = strlen(local_48);
              pcVar10 = local_48 + sVar5;
              local_3c = pcVar10;
            }
          }
          pcVar7 = pcVar7 + 1;
        }
        local_38 = (char *)0x0;
        local_44 = (char *)0x0;
        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {
          local_44 = pcVar10 + 1;
          local_38 = strpbrk(local_44,pcVar7);
          if (local_38 == (char *)0x0) {
            sVar5 = strlen(local_44);
            local_38 = local_44 + sVar5;
          }
        }
        if (pcVar6 == pcVar14) {
          pcVar7 = (char *)0x0;
          local_64 = (char *)0x0;
        }
        else {
          pcVar14 = pcVar14 + -1;
          if ((pcVar14 == pcVar6) ||
             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),
             pcVar6 == pcVar10)) {
            iVar4 = 5;
            goto LAB_0004639d;
          }
          pcVar7 = pcVar10;
          if (pcVar10 != (char *)0x0) {
            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);
            FUN_00044130();
            pcVar14 = pcVar10;
          }
          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);
          FUN_00044130();
        }
        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);
        puVar11[1] = iVar4;
        uVar12 = FUN_000497f0(local_70,local_60);
        puVar11[0xb] = pcVar7;
        puVar11[2] = uVar12;
        puVar11[3] = local_4c;
        puVar11[10] = local_64;
        pcVar14 = (char *)FUN_000497f0(local_54,local_50);
        puVar11[4] = pcVar14;
        sVar5 = strlen(pcVar14);
        pcVar6 = pcVar14 + sVar5;
        if (pcVar14 < pcVar6) {
          pcVar7 = pcVar14;
          local_64 = pcVar14;
          do {
            cVar3 = *pcVar14;
            if (cVar3 == '.') {
              cVar1 = pcVar14[1];
              if ((cVar1 == '/') || (cVar1 == '\0')) {
                pcVar14 = pcVar14 + 2;
              }
              else {
                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))
                goto LAB_000465d0;
                if (local_64 < pcVar7) {
                  pcVar10 = pcVar7 + -1;
                  if (local_64 < pcVar10) {
                    cVar3 = pcVar7[-2];
                    pcVar7 = pcVar10;
                    while ((pcVar10 = pcVar7, cVar3 != '/' &&
                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {
                      cVar3 = pcVar7[-2];
                      pcVar7 = pcVar7 + -1;
                    }
                  }
                }
                else {
                  pcVar10 = pcVar7;
                  if (iVar4 - 2U < 2) {
                    local_64 = pcVar7 + 3;
                    goto LAB_000465d0;
                  }
                }
                pcVar14 = pcVar14 + 3;
                pcVar7 = pcVar10;
              }
            }
            else {
LAB_000465d0:
              if (pcVar14 == pcVar7) {
                if (pcVar6 <= pcVar7) {
LAB_000467c0:
                  bVar16 = false;
                  goto LAB_00046627;
                }
                while (*pcVar7 != '/') {
                  pcVar7 = pcVar7 + 1;
                  if (pcVar6 == pcVar7) goto LAB_000467c0;
                }
                pcVar14 = pcVar7 + 1;
                pcVar7 = pcVar14;
              }
              else {
                if (pcVar6 <= pcVar14) {
LAB_00046619:
                  bVar16 = pcVar7 != pcVar14;
                  goto LAB_00046620;
                }
                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);
                pcVar10 = pcVar7;
                while (cVar3 != '/') {
                  pcVar14 = pcVar14 + 1;
                  *pcVar10 = cVar3;
                  pcVar7 = pcVar15;
                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;
                  pcVar10 = pcVar10 + 1;
                  cVar3 = *pcVar14;
                }
                *pcVar10 = '/';
                pcVar14 = pcVar14 + 1;
                pcVar7 = pcVar10 + 1;
              }
            }
          } while (pcVar14 < pcVar6);
          bVar16 = pcVar7 != pcVar14;
LAB_00046620:
          if (pcVar14 != pcVar7) {
            *pcVar7 = '\0';
          }
LAB_00046627:
          pcVar14 = (char *)puVar11[4];
        }
        else {
          bVar16 = false;
        }
        pcVar6 = strrchr(pcVar14,0x2f);
        if (pcVar6 == (char *)0x0) {
          uVar12 = FUN_0005af70(&DAT_00082757);
          puVar11[8] = uVar12;
          uVar12 = FUN_0005af70(pcVar14);
          puVar11[9] = uVar12;
        }
        else {
          uVar12 = FUN_000497f0(pcVar14,pcVar6);
          puVar11[8] = uVar12;
          uVar12 = FUN_0005af70(pcVar6 + 1);
          puVar11[9] = uVar12;
        }
        bVar13 = 0;
        FUN_00044130();
        FUN_00044130();
        pcVar14 = (char *)puVar11[2];
        cVar3 = *pcVar14;
        if (cVar3 != '\0') {
          do {
            if ((int)cVar3 - 0x41U < 0x1a) {
              bVar13 = 1;
              *pcVar14 = cVar3 + ' ';
            }
            pcVar14 = pcVar14 + 1;
            cVar3 = *pcVar14;
          } while (cVar3 != '\0');
          pcVar14 = (char *)puVar11[2];
        }
        pcVar14 = strchr(pcVar14,0x25);
        if (pcVar14 != (char *)0x0) {
          FUN_00044130();
          pcVar14 = (char *)puVar11[2];
          cVar3 = *pcVar14;
          pcVar6 = pcVar14;
          while (cVar3 != '\0') {
            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {
              FUN_000446a0();
              goto LAB_00046398;
            }
            pcVar6 = pcVar6 + 1;
            cVar3 = *pcVar6;
          }
          bVar13 = param_3 != 0 & DAT_000a8c42;
          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {
            bVar13 = 1;
          }
          else {
            free((void *)puVar11[2]);
            puVar11[2] = iVar4;
          }
        }
        if (local_40 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_40,local_34);
          puVar11[5] = uVar12;
        }
        if (local_48 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_48,local_3c);
          puVar11[6] = uVar12;
        }
        if (local_44 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_44,local_38);
          puVar11[7] = uVar12;
        }
        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||
           ((local_54 == local_50 || (bVar13 != 0)))) {
          uVar12 = FUN_00045d90(puVar11,0);
          *puVar11 = uVar12;
          if (local_68 != param_1) {
            free(local_68);
          }
        }
        else if (local_68 == param_1) {
          uVar12 = FUN_0005af70(local_68);
          *puVar11 = uVar12;
        }
        else {
          *puVar11 = local_68;
        }
        goto LAB_000463c5;
      }
LAB_00046398:
      iVar4 = 3;
    }
LAB_0004639d:
    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {
      free(local_68);
    }
  }
  puVar11 = (undefined4 *)0x0;
  if (param_2 != (int *)0x0) {
    *param_2 = iVar4;
  }
LAB_000463c5:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar11;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006da50();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019070
ADD EBX,0x5aa57
SUB ESP,0x78
MOV ESI,dword ptr [ESP + 0x90]
MOV EAX,dword ptr [ESP + 0x8c]
MOV dword ptr [ESP + 0x30],ESI
MOV ESI,dword ptr [ESP + 0x94]
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0x2c],ESI
MOV ESI,dword ptr [ESP + 0x98]
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x68],ECX
XOR ECX,ECX
PUSH EAX
CALL 0x00044c00
ADD ESP,0x10
CMP EAX,0x4
JZ 0x00046ab0
MOV ECX,dword ptr [ESP + 0x20]
MOV EDI,EAX
TEST ECX,ECX
JZ 0x000461df
CMP byte ptr [ECX + 0xc],0x0
MOV EBP,ECX
JNZ 0x000463e0
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x14],EAX
MOV EAX,ESI
TEST AL,AL
JNZ 0x00046468
MOV EAX,EDI
SUB ESP,0xc
SHL EAX,0x4
PUSH dword ptr [EBX + EAX*0x1 + 0x5f4]
CALL 0x000168c0
POP ECX
POP ESI
ADD EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x20],EAX
MOV EBP,EAX
LEA EAX,[EBX + 0xfffe11f6]
PUSH EAX
PUSH EBP
CALL 0x00016db0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00046a40
LEA ESI,[EAX + 0x1]
CMP byte ptr [EAX],0x40
CMOVNZ ESI,EBP
MOV EAX,EDI
SHL EAX,0x4
MOV EDX,dword ptr [EBX + EAX*0x1 + 0x5fc]
LEA EAX,[EBX + 0x5ce]
TEST DL,0x2
JZ 0x00046256
MOV byte ptr [EBX + 0x5ce],0x3b
LEA EAX,[EBX + 0x5cf]
TEST DL,0x4
JZ 0x00046261
MOV byte ptr [EAX],0x3f
ADD EAX,0x1
AND EDX,0x8
JNZ 0x00046320
MOV byte ptr [EAX],0x0
CMP byte ptr [ESI],0x5b
JZ 0x00046332
SUB ESP,0x8
LEA EAX,[EBX + 0x5cc]
PUSH EAX
PUSH ESI
CALL 0x00016db0
ADD ESP,0x10
MOV EBP,EAX
MOV dword ptr [ESP + 0x1c],EAX
MOV dword ptr [ESP + 0xc],ESI
TEST EAX,EAX
JZ 0x00046850
MOV ECX,dword ptr [ESP + 0x1c]
CMP dword ptr [ESP + 0xc],ECX
JZ 0x00046398
MOV EAX,EDI
MOVZX ECX,byte ptr [EBP]
SHL EAX,0x4
MOV EAX,dword ptr [EBX + EAX*0x1 + 0x5f8]
MOV dword ptr [ESP + 0x30],EAX
CMP CL,0x3a
JZ 0x000467d0
MOV dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESP + 0x28],0x0
CMP CL,0x2f
JZ 0x00046a50
MOV EAX,EDI
SHL EAX,0x4
MOV EDX,dword ptr [EBX + EAX*0x1 + 0x5fc]
TEST DL,0x2
JZ 0x00046480
CMP byte ptr [EBP],0x3b
JZ 0x00046918
MOV dword ptr [ESP + 0x48],0x0
LEA ECX,[EBX + 0x5d0]
MOV dword ptr [ESP + 0x3c],0x0
JMP 0x00046496
MOV byte ptr [EAX],0x23
ADD EAX,0x1
MOV byte ptr [EAX],0x0
CMP byte ptr [ESI],0x5b
JNZ 0x00046276
SUB ESP,0x8
LEA EAX,[ESI + 0x1]
PUSH 0x5d
MOV dword ptr [ESP + 0x18],EAX
PUSH EAX
CALL 0x00016370
ADD ESP,0x10
MOV EBP,EAX
MOV dword ptr [ESP + 0x1c],EAX
TEST EAX,EAX
JZ 0x00046b10
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x18]
CALL 0x0002a270
ADD ESP,0x10
TEST AL,AL
JZ 0x00046a20
MOV EAX,EBP
SUB ESP,0x8
LEA EBP,[EBP + 0x1]
MOVSX EAX,byte ptr [EAX + 0x1]
PUSH EAX
LEA EAX,[EBX + 0x5cc]
PUSH EAX
CALL 0x00016370
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0004629b
LEA ESI,[ESI]
MOV EDI,0x3
MOV EAX,dword ptr [ESP + 0x14]
TEST EAX,EAX
JZ 0x000463b9
MOV ESI,dword ptr [ESP + 0x10]
CMP EAX,ESI
JZ 0x000463b9
SUB ESP,0xc
PUSH EAX
CALL 0x00016670
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
XOR ESI,ESI
TEST EAX,EAX
JZ 0x000463c5
MOV dword ptr [EAX],EDI
MOV EBX,dword ptr [ESP + 0x5c]
XOR EBX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x00046c47
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ECX + 0x8]
MOV dword ptr [ESP + 0x58],0x0
TEST EAX,EAX
CMOVZ EAX,dword ptr [ESP + 0x10]
SUB ESP,0x4
LEA EDX,[ESP + 0x5c]
PUSH EDX
PUSH EAX
PUSH ECX
CALL 0x0004f040
ADD ESP,0x10
MOV byte ptr [EBP + 0xc],AL
TEST AL,AL
JZ 0x000461df
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x2c]
PUSH dword ptr [ESI + 0x8]
CALL 0x00016670
MOV dword ptr [ESI + 0x8],0x0
POP EBP
PUSH dword ptr [ESP + 0x1c]
CALL 0x0005af70
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x68]
CALL 0x00044a50
MOV dword ptr [ESP + 0x24],EAX
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x68]
ADD ESP,0x10
CMP EAX,ESI
JZ 0x000461f1
SUB ESP,0xc
PUSH EAX
CALL 0x00016670
ADD ESP,0x10
JMP 0x000461f1
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00044a50
MOV dword ptr [ESP + 0x14],EAX
JMP 0x000461f1
MOV dword ptr [ESP + 0x48],0x0
LEA ECX,[EBX + 0x5cf]
MOV dword ptr [ESP + 0x3c],0x0
MOV dword ptr [ESP + 0x40],0x0
MOV dword ptr [ESP + 0x34],0x0
TEST DL,0x4
JZ 0x000464b8
CMP byte ptr [EBP],0x3f
JZ 0x000469c0
ADD ECX,0x1
AND EDX,0x8
MOV dword ptr [ESP + 0x44],0x0
MOV dword ptr [ESP + 0x38],0x0
JZ 0x000464d7
CMP byte ptr [EBP],0x23
JZ 0x00046980
MOV ECX,dword ptr [ESP + 0x18]
CMP ECX,ESI
JZ 0x00046aa0
SUB ESI,0x1
CMP ESI,ECX
JZ 0x00046ad8
MOV EAX,ESI
SUB ESP,0x4
SUB EAX,ECX
PUSH EAX
PUSH 0x3a
MOV dword ptr [ESP + 0x24],ECX
PUSH ECX
CALL 0x0005e6e0
ADD ESP,0x10
MOV EBP,EAX
CMP dword ptr [ESP + 0x18],EAX
JZ 0x00046ad8
TEST EAX,EAX
JZ 0x00046538
SUB ESP,0x8
LEA EAX,[EAX + 0x1]
PUSH ESI
MOV ESI,EBP
PUSH EAX
CALL 0x000497f0
XOR EDX,EDX
MOV dword ptr [ESP + 0x5c],EAX
CALL 0x00044130
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x4c]
MOV EBP,ECX
SUB ESP,0x8
PUSH ESI
PUSH dword ptr [ESP + 0x24]
CALL 0x000497f0
XOR EDX,EDX
MOV dword ptr [ESP + 0x28],EAX
CALL 0x00044130
ADD ESP,0x10
SUB ESP,0x8
PUSH 0x30
PUSH 0x1
CALL 0x0005aef0
MOV ESI,EAX
MOV dword ptr [EAX + 0x4],EDI
POP ECX
POP EAX
PUSH dword ptr [ESP + 0x24]
PUSH dword ptr [ESP + 0x18]
CALL 0x000497f0
MOV dword ptr [ESI + 0x2c],EBP
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x28],EAX
POP EAX
POP EDX
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x34]
CALL 0x000497f0
MOV dword ptr [ESI + 0x10],EAX
MOV EBP,EAX
MOV dword ptr [ESP],EAX
CALL 0x000168c0
ADD ESP,0x10
ADD EAX,EBP
CMP EBP,EAX
JNC 0x00046b60
LEA ECX,[EDI + -0x2]
MOV dword ptr [ESP + 0x18],EBP
MOV EDX,EBP
MOV dword ptr [ESP + 0x1c],ECX
LEA ESI,[ESI]
MOVZX ECX,byte ptr [EDX]
MOV byte ptr [ESP + 0xc],CL
CMP CL,0x2e
JZ 0x00046718
CMP EDX,EBP
JZ 0x00046790
CMP EAX,EDX
JBE 0x00046b20
MOV EDI,EAX
MOVZX ECX,byte ptr [ESP + 0xc]
SUB EDI,EDX
ADD EDI,EBP
CMP byte ptr [ESP + 0xc],0x2f
JNZ 0x0004660c
JMP 0x00046768
MOVZX ECX,byte ptr [EDX]
CMP CL,0x2f
JZ 0x00046768
ADD EBP,0x1
ADD EDX,0x1
MOV byte ptr [EBP + -0x1],CL
CMP EBP,EDI
JNZ 0x00046600
CMP EDI,EDX
SETNZ byte ptr [ESP + 0xc]
CMP EDX,EDI
JZ 0x00046627
MOV byte ptr [EDI],0x0
MOV EBP,dword ptr [ESI + 0x10]
SUB ESP,0x8
PUSH 0x2f
PUSH EBP
CALL 0x000164f0
ADD ESP,0x10
MOV EDI,EAX
TEST EAX,EAX
JZ 0x00046ae8
SUB ESP,0x8
ADD EDI,0x1
PUSH EAX
PUSH EBP
CALL 0x000497f0
MOV dword ptr [ESI + 0x20],EAX
MOV dword ptr [ESP],EDI
CALL 0x0005af70
ADD ESP,0x10
MOV dword ptr [ESI + 0x24],EAX
MOV EAX,dword ptr [ESI + 0x20]
XOR EDX,EDX
XOR EBP,EBP
CALL 0x00044130
MOV EAX,dword ptr [ESI + 0x24]
XOR EDX,EDX
CALL 0x00044130
MOV EDI,dword ptr [ESI + 0x8]
MOVZX EAX,byte ptr [EDI]
TEST AL,AL
JZ 0x000466a2
MOVSX EDX,AL
SUB EDX,0x41
CMP EDX,0x19
JA 0x00046695
ADD EAX,0x20
MOV EBP,0x1
MOV byte ptr [EDI],AL
ADD EDI,0x1
MOVZX EAX,byte ptr [EDI]
TEST AL,AL
JNZ 0x00046680
MOV EDI,dword ptr [ESI + 0x8]
SUB ESP,0x8
PUSH 0x25
PUSH EDI
CALL 0x00016370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00046870
XOR EDX,EDX
MOV EAX,EDI
CALL 0x00044130
MOV EAX,dword ptr [ESI + 0x8]
MOVZX EDX,byte ptr [EAX]
TEST DL,DL
JZ 0x000466ed
MOV ECX,EAX
TEST DL,DL
JLE 0x000466e3
CMP DL,0x1f
JLE 0x00046a30
CMP DL,0x7f
JZ 0x00046a30
ADD ECX,0x1
MOVZX EDX,byte ptr [ECX]
TEST DL,DL
JNZ 0x000466cd
MOV EDX,dword ptr [ESP + 0x20]
LEA EDI,[EBX + 0x7e70]
TEST EDX,EDX
SETNZ DL
AND DL,byte ptr [EDI + 0x202]
MOV EBP,EDX
JNZ 0x00046bfb
MOV EBP,0x1
JMP 0x00046876
MOVZX EDI,byte ptr [EDX + 0x1]
MOV ECX,EDI
CMP CL,0x2f
JZ 0x000467b8
TEST CL,CL
JZ 0x000467b8
CMP CL,0x2e
JNZ 0x000465d0
MOVZX EDI,byte ptr [EDX + 0x2]
MOV ECX,EDI
CMP CL,0x2f
JZ 0x0004674b
TEST CL,CL
JNZ 0x000465d0
CMP dword ptr [ESP + 0x18],EBP
JC 0x00046ba8
CMP dword ptr [ESP + 0x1c],0x1
JBE 0x00046bd6
ADD EDX,0x3
JMP 0x00046772
MOV byte ptr [EBP],0x2f
ADD EDX,0x1
ADD EBP,0x1
CMP EDX,EAX
JC 0x000465c0
CMP EBP,EDX
MOV EDI,EBP
SETNZ byte ptr [ESP + 0xc]
JMP 0x00046620
CMP EAX,EBP
JA 0x000467a7
JMP 0x000467c0
ADD EBP,0x1
CMP EAX,EBP
JZ 0x000467c0
CMP byte ptr [EBP],0x2f
JNZ 0x000467a0
LEA EDX,[EBP + 0x1]
MOV EBP,EDX
JMP 0x00046772
ADD EDX,0x2
JMP 0x00046772
MOV byte ptr [ESP + 0xc],0x0
JMP 0x00046627
SUB ESP,0x8
LEA EDX,[EBP + 0x1]
LEA EAX,[EBX + 0x5cd]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x38],EDX
CALL 0x00016db0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x00046b40
CMP EDX,EAX
JZ 0x00046b30
JNC 0x00046be9
MOVSX ECX,byte ptr [EBP + 0x1]
SUB ECX,0x30
MOV EBP,ECX
CMP ECX,0x9
JA 0x00046840
ADD EDX,0x1
CMP EDX,EAX
JZ 0x00046b27
MOVSX ECX,byte ptr [EDX]
SUB ECX,0x30
CMP ECX,0x9
JA 0x00046840
LEA EBP,[EBP + EBP*0x4]
LEA EBP,[ECX + EBP*0x2]
CMP EBP,0xffff
JLE 0x00046812
LEA ESI,[ESI]
NOP
MOV EDI,0x4
JMP 0x0004639d
SUB ESP,0xc
PUSH ESI
CALL 0x000168c0
ADD ESP,0x10
LEA EBP,[ESI + EAX*0x1]
MOV dword ptr [ESP + 0xc],ESI
MOV dword ptr [ESP + 0x1c],EBP
JMP 0x0004629b
LEA EDI,[EBX + 0x7e70]
MOV EAX,dword ptr [ESP + 0x3c]
TEST EAX,EAX
JZ 0x00046891
SUB ESP,0x8
PUSH dword ptr [ESP + 0x50]
PUSH EAX
CALL 0x000497f0
ADD ESP,0x10
MOV dword ptr [ESI + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JZ 0x000468ac
SUB ESP,0x8
PUSH dword ptr [ESP + 0x48]
PUSH EAX
CALL 0x000497f0
ADD ESP,0x10
MOV dword ptr [ESI + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x38]
TEST EAX,EAX
JZ 0x000468c7
SUB ESP,0x8
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x000497f0
ADD ESP,0x10
MOV dword ptr [ESI + 0x1c],EAX
CMP byte ptr [EDI + 0x202],0x0
JNZ 0x000468e2
CMP byte ptr [ESP + 0xc],0x0
JNZ 0x000468e2
MOV EAX,dword ptr [ESI + 0x1c]
TEST EAX,EAX
JZ 0x00046b70
SUB ESP,0x8
PUSH 0x0
PUSH ESI
CALL 0x00045d90
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x10]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x14]
CMP EAX,ECX
JZ 0x000463c5
SUB ESP,0xc
PUSH EAX
CALL 0x00016670
ADD ESP,0x10
JMP 0x000463c5
LEA EAX,[EBP + 0x1]
MOV dword ptr [ESP + 0x34],EDX
SUB ESP,0x8
MOV dword ptr [ESP + 0x44],EAX
MOV ECX,EAX
LEA EAX,[EBX + 0x5cf]
PUSH EAX
PUSH ECX
CALL 0x00016db0
ADD ESP,0x10
LEA ECX,[EBX + 0x5d0]
MOV EDX,dword ptr [ESP + 0x34]
TEST EAX,EAX
MOV EBP,EAX
MOV dword ptr [ESP + 0x48],EAX
JNZ 0x00046496
MOV dword ptr [ESP + 0x38],ECX
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x48]
PUSH EBP
CALL 0x000168c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x34]
MOV ECX,dword ptr [ESP + 0x38]
LEA EBP,[EBP + EAX*0x1]
MOV dword ptr [ESP + 0x48],EBP
JMP 0x00046496
LEA EAX,[EBP + 0x1]
SUB ESP,0x8
MOV dword ptr [ESP + 0x40],EAX
PUSH ECX
PUSH EAX
CALL 0x00016db0
ADD ESP,0x10
MOV dword ptr [ESP + 0x44],EAX
TEST EAX,EAX
JNZ 0x000464d7
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x44]
PUSH EBP
CALL 0x000168c0
ADD ESP,0x10
ADD EAX,EBP
MOV dword ptr [ESP + 0x44],EAX
JMP 0x000464d7
LEA EAX,[EBP + 0x1]
MOV dword ptr [ESP + 0x44],EDX
SUB ESP,0x8
MOV dword ptr [ESP + 0x3c],EAX
PUSH ECX
MOV dword ptr [ESP + 0x44],ECX
PUSH EAX
CALL 0x00016db0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x38]
MOV EDX,dword ptr [ESP + 0x44]
TEST EAX,EAX
MOV EBP,EAX
MOV dword ptr [ESP + 0x40],EAX
JNZ 0x000464b5
MOV dword ptr [ESP + 0x44],ECX
SUB ESP,0xc
MOV dword ptr [ESP + 0x44],EDX
MOV EBP,dword ptr [ESP + 0x40]
PUSH EBP
CALL 0x000168c0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x44]
MOV EDX,dword ptr [ESP + 0x38]
LEA EBP,[EBP + EAX*0x1]
MOV dword ptr [ESP + 0x40],EBP
JMP 0x000464b5
MOV EDI,0x8
JMP 0x0004639d
MOV EAX,ESI
CALL 0x000446a0
JMP 0x00046398
MOV ESI,dword ptr [ESP + 0x18]
JMP 0x00046232
LEA EAX,[EBP + 0x1]
SUB ESP,0x8
MOV dword ptr [ESP + 0x30],EAX
MOV ECX,EAX
LEA EAX,[EBX + 0x5ce]
PUSH EAX
PUSH ECX
CALL 0x00016db0
ADD ESP,0x10
MOV EBP,EAX
MOV dword ptr [ESP + 0x2c],EAX
TEST EAX,EAX
JNZ 0x000462df
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x34]
PUSH EBP
CALL 0x000168c0
ADD ESP,0x10
LEA EBP,[EBP + EAX*0x1]
MOV dword ptr [ESP + 0x2c],EBP
JMP 0x000462df
XOR EBP,EBP
MOV dword ptr [ESP + 0x18],0x0
JMP 0x00046553
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x00044c90
ADD ESP,0x10
TEST AL,AL
SETZ AL
MOVZX EAX,AL
MOV EDI,EAX
ADD EDI,0x1
JMP 0x000463b9
MOV EDI,0x5
JMP 0x0004639d
SUB ESP,0xc
LEA EAX,[EBX + 0xfffe1b87]
PUSH EAX
CALL 0x0005af70
MOV dword ptr [ESI + 0x20],EAX
MOV dword ptr [ESP],EBP
CALL 0x0005af70
ADD ESP,0x10
MOV dword ptr [ESI + 0x24],EAX
JMP 0x00046660
MOV EDI,0x6
JMP 0x0004639d
MOV EDI,EBP
JMP 0x00046619
MOV dword ptr [ESP + 0x30],EBP
LEA ESI,[ESI]
NOP
MOVZX ECX,byte ptr [EDX]
MOV EBP,EDX
JMP 0x000462c6
SUB ESP,0xc
PUSH EDX
MOV dword ptr [ESP + 0x38],EDX
CALL 0x000168c0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x28]
ADD EAX,EDX
JMP 0x000467f6
MOV byte ptr [ESP + 0xc],0x0
JMP 0x0004662a
MOV ECX,dword ptr [ESP + 0x2c]
CMP dword ptr [ESP + 0x28],ECX
JZ 0x000468e2
MOV EAX,EBP
TEST AL,AL
JNZ 0x000468e2
MOV EDI,dword ptr [ESP + 0x10]
CMP dword ptr [ESP + 0x14],EDI
JZ 0x00046c31
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESI],EAX
JMP 0x000463c5
MOV EDI,dword ptr [ESP + 0x18]
LEA ECX,[EBP + -0x1]
CMP ECX,EDI
JBE 0x00046be2
CMP byte ptr [EBP + -0x2],0x2f
JNZ 0x00046bc6
JMP 0x00046be2
CMP byte ptr [ECX + -0x1],0x2f
JZ 0x00046be2
SUB ECX,0x1
CMP ECX,EDI
JNZ 0x00046bc0
MOV EBP,dword ptr [ESP + 0x18]
JMP 0x00046760
LEA EDI,[EBP + 0x3]
MOV dword ptr [ESP + 0x18],EDI
JMP 0x000465d0
MOV EBP,ECX
JMP 0x00046760
MOVZX ECX,byte ptr [EAX]
MOV EBP,EAX
MOV dword ptr [ESP + 0x30],0x0
JMP 0x000462c6
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x2c]
CALL 0x0004f120
ADD ESP,0x10
TEST EAX,EAX
MOV dword ptr [ESP + 0x18],EAX
JZ 0x0004670a
SUB ESP,0xc
PUSH dword ptr [ESI + 0x8]
CALL 0x00016670
MOV EAX,dword ptr [ESP + 0x28]
ADD ESP,0x10
MOV dword ptr [ESI + 0x8],EAX
JMP 0x00046876
SUB ESP,0xc
PUSH dword ptr [ESP + 0x20]
CALL 0x0005af70
ADD ESP,0x10
MOV dword ptr [ESI],EAX
JMP 0x000463c5
CALL 0x0006da50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006da50();\n}\n\n" comment (function_definition "undefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006da50();\n}" type_identifier (pointer_declarator "* FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" * (function_declarator "FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" identifier (parameter_list "(void *param_1,int *param_2,int param_3,char param_4)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0006da50();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void *pvVar9;" primitive_type (pointer_declarator "*pvVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "char *local_70;" primitive_type (pointer_declarator "*local_70" * identifier) ;) (declaration "void *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "char *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "void *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x46179;" (assignment_expression "uStack_14 = 0x46179" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_00044c00(param_1);" (assignment_expression "iVar4 = FUN_00044c00(param_1)" identifier = (call_expression "FUN_00044c00(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }" { (expression_statement "cVar3 = FUN_00044c90(param_1);" (assignment_expression "cVar3 = FUN_00044c90(param_1)" identifier = (call_expression "FUN_00044c90(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar4 = (cVar3 == '\0') + 1;" (assignment_expression "iVar4 = (cVar3 == '\0') + 1" identifier = (binary_expression "(cVar3 == '\0') + 1" (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) + number_literal)) ;) }) (else_clause "else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" else (compound_statement "{\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" { (if_statement "if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" if (parenthesized_expression "((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0'))" ( (binary_expression "(param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(param_3 + 0xc) == '\0')" ( (binary_expression "*(char *)(param_3 + 0xc) == '\0'" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }" { (labeled_statement "LAB_000461df:\n      local_68 = param_1;" statement_identifier : (expression_statement "local_68 = param_1;" (assignment_expression "local_68 = param_1" identifier = identifier) ;)) (if_statement "if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }" if (parenthesized_expression "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_68 = (void *)FUN_00044a50();\n      }" { (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" identifier = (cast_expression "(void *)FUN_00044a50()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044a50()" identifier (argument_list "()" ( ))))) ;) })) }) (else_clause "else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" else (compound_statement "{\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" { (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pvVar9 = *(void **)(param_3 + 8);" (assignment_expression "pvVar9 = *(void **)(param_3 + 8)" identifier = (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }" if (parenthesized_expression "(*(void **)(param_3 + 8) == (void *)0x0)" ( (binary_expression "*(void **)(param_3 + 8) == (void *)0x0" (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pvVar9 = param_1;\n      }" { (expression_statement "pvVar9 = param_1;" (assignment_expression "pvVar9 = param_1" identifier = identifier) ;) })) (expression_statement "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);" (assignment_expression "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24)" identifier = (call_expression "FUN_0004f040(param_3,pvVar9,&local_24)" identifier (argument_list "(param_3,pvVar9,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "*(char *)(param_3 + 0xc) = cVar3;" (assignment_expression "*(char *)(param_3 + 0xc) = cVar3" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (cVar3 == '\0') goto LAB_000461df;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000461df;" goto statement_identifier ;)) (expression_statement "free(*(void **)(param_3 + 8));" (call_expression "free(*(void **)(param_3 + 8))" identifier (argument_list "(*(void **)(param_3 + 8))" ( (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar12 = FUN_0005af70(param_1);" (assignment_expression "uVar12 = FUN_0005af70(param_1)" identifier = (call_expression "FUN_0005af70(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = uVar12;" (assignment_expression "*(undefined4 *)(param_3 + 8) = uVar12" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" identifier = (cast_expression "(void *)FUN_00044a50()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044a50()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_24 != local_68) {\n        free(local_24);\n      }" if (parenthesized_expression "(local_24 != local_68)" ( (binary_expression "local_24 != local_68" identifier != identifier) )) (compound_statement "{\n        free(local_24);\n      }" { (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) })) }))) (expression_statement "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);" (assignment_expression "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" identifier = (call_expression "strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" identifier (argument_list "((&PTR_s_http____000a11c4)[iVar4 * 4])" ( (subscript_expression "(&PTR_s_http____000a11c4)[iVar4 * 4]" (parenthesized_expression "(&PTR_s_http____000a11c4)" ( (pointer_expression "&PTR_s_http____000a11c4" & identifier) )) [ (binary_expression "iVar4 * 4" identifier * number_literal) ]) )))) ;) (expression_statement "pcVar6 = (char *)(sVar5 + (int)local_68);" (assignment_expression "pcVar6 = (char *)(sVar5 + (int)local_68)" identifier = (cast_expression "(char *)(sVar5 + (int)local_68)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar5 + (int)local_68)" ( (binary_expression "sVar5 + (int)local_68" identifier + (cast_expression "(int)local_68" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pcVar7 = strpbrk(pcVar6,"@/?#;");" (assignment_expression "pcVar7 = strpbrk(pcVar6,"@/?#;")" identifier = (call_expression "strpbrk(pcVar6,"@/?#;")" identifier (argument_list "(pcVar6,"@/?#;")" ( identifier , (string_literal ""@/?#;"" " string_content ") )))) ;) (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" identifier = identifier) ;) (if_statement "if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }" if (parenthesized_expression "((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@'))" ( (binary_expression "(pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')" (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar14 = pcVar7 + 1, *pcVar7 != '@')" ( (comma_expression "pcVar14 = pcVar7 + 1, *pcVar7 != '@'" (assignment_expression "pcVar14 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "*pcVar7 != '@'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'@'" ' character '))) ))) )) (compound_statement "{\n      pcVar14 = pcVar6;\n    }" { (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" identifier = identifier) ;) })) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = &DAT_000a119e;" (assignment_expression "puVar8 = &DAT_000a119e" identifier = (pointer_expression "&DAT_000a119e" & identifier)) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" { (expression_statement "DAT_000a119e = 0x3b;" (assignment_expression "DAT_000a119e = 0x3b" identifier = number_literal) ;) (expression_statement "puVar8 = &DAT_000a119f;" (assignment_expression "puVar8 = &DAT_000a119f" identifier = (pointer_expression "&DAT_000a119f" & identifier)) ;) })) (if_statement "if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "*puVar8 = 0x3f;" (assignment_expression "*puVar8 = 0x3f" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" if (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (if_statement "if (*pcVar14 != '[') goto LAB_00046276;" if (parenthesized_expression "(*pcVar14 != '[')" ( (binary_expression "*pcVar14 != '['" (pointer_expression "*pcVar14" * identifier) != (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046276;" goto statement_identifier ;)) (labeled_statement "LAB_00046332:\n      local_70 = pcVar14 + 1;" statement_identifier : (expression_statement "local_70 = pcVar14 + 1;" (assignment_expression "local_70 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;)) (expression_statement "local_60 = strchr(local_70,0x5d);" (assignment_expression "local_60 = strchr(local_70,0x5d)" identifier = (call_expression "strchr(local_70,0x5d)" identifier (argument_list "(local_70,0x5d)" ( identifier , number_literal )))) ;) (if_statement "if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" if (parenthesized_expression "(local_60 != (char *)0x0)" ( (binary_expression "local_60 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" { (expression_statement "cVar3 = FUN_0002a270(local_70,local_60);" (assignment_expression "cVar3 = FUN_0002a270(local_70,local_60)" identifier = (call_expression "FUN_0002a270(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (if_statement "if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" { (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = local_60 + 1;" (assignment_expression "pcVar7 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);" (assignment_expression "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1])" identifier = (call_expression "strchr(&DAT_000a119c,(int)local_60[1])" identifier (argument_list "(&DAT_000a119c,(int)local_60[1])" ( (pointer_expression "&DAT_000a119c" & identifier) , (cast_expression "(int)local_60[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_60[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (pcVar10 != (char *)0x0) goto LAB_0004629b;" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004629b;" goto statement_identifier ;)) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" else (compound_statement "{\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" { (expression_statement "*puVar8 = 0x23;" (assignment_expression "*puVar8 = 0x23" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8[1] = 0;" (assignment_expression "puVar8[1] = 0" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*pcVar14 == '[') goto LAB_00046332;" if (parenthesized_expression "(*pcVar14 == '[')" ( (binary_expression "*pcVar14 == '['" (pointer_expression "*pcVar14" * identifier) == (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046332;" goto statement_identifier ;)) (labeled_statement "LAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" statement_identifier : (expression_statement "pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" (assignment_expression "pcVar7 = strpbrk(pcVar14,&DAT_000a119c)" identifier = (call_expression "strpbrk(pcVar14,&DAT_000a119c)" identifier (argument_list "(pcVar14,&DAT_000a119c)" ( identifier , (pointer_expression "&DAT_000a119c" & identifier) )))) ;)) (expression_statement "local_70 = pcVar14;" (assignment_expression "local_70 = pcVar14" identifier = identifier) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" { (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" identifier = (call_expression "strlen(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "pcVar7 = pcVar14 + sVar5;" (assignment_expression "pcVar7 = pcVar14 + sVar5" identifier = (binary_expression "pcVar14 + sVar5" identifier + identifier)) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) })) (labeled_statement "LAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" statement_identifier : (if_statement "if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" if (parenthesized_expression "(local_70 != local_60)" ( (binary_expression "local_70 != local_60" identifier != identifier) )) (compound_statement "{\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" { (expression_statement "cVar3 = *pcVar7;" (assignment_expression "cVar3 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);" (assignment_expression "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11c8 + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11c8 + iVar4 * 0x10" (pointer_expression "&DAT_000a11c8" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (if_statement "if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" if (parenthesized_expression "(cVar3 == ':')" ( (binary_expression "cVar3 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" { (expression_statement "pcVar15 = pcVar7 + 1;" (assignment_expression "pcVar15 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(pcVar15,&DAT_000a119d);" (assignment_expression "pcVar10 = strpbrk(pcVar15,&DAT_000a119d)" identifier = (call_expression "strpbrk(pcVar15,&DAT_000a119d)" identifier (argument_list "(pcVar15,&DAT_000a119d)" ( identifier , (pointer_expression "&DAT_000a119d" & identifier) )))) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(pcVar15);" (assignment_expression "sVar5 = strlen(pcVar15)" identifier = (call_expression "strlen(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier )))) ;) (expression_statement "pcVar10 = pcVar15 + sVar5;" (assignment_expression "pcVar10 = pcVar15 + sVar5" identifier = (binary_expression "pcVar15 + sVar5" identifier + identifier)) ;) })) (if_statement "if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" if (parenthesized_expression "(pcVar15 == pcVar10)" ( (binary_expression "pcVar15 == pcVar10" identifier == identifier) )) (compound_statement "{\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }" { (labeled_statement "LAB_00046b30:\n            cVar3 = *pcVar15;" statement_identifier : (expression_statement "cVar3 = *pcVar15;" (assignment_expression "cVar3 = *pcVar15" identifier = (pointer_expression "*pcVar15" * identifier)) ;)) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" identifier = identifier) ;) }) (else_clause "else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" else (compound_statement "{\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" { (if_statement "if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" if (parenthesized_expression "(pcVar15 < pcVar10)" ( (binary_expression "pcVar15 < pcVar10" identifier < identifier) )) (compound_statement "{\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" { (expression_statement "local_4c = (int)pcVar7[1] - 0x30;" (assignment_expression "local_4c = (int)pcVar7[1] - 0x30" identifier = (binary_expression "(int)pcVar7[1] - 0x30" (cast_expression "(int)pcVar7[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar7[1]" identifier [ number_literal ])) - number_literal)) ;) (if_statement "if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" if (parenthesized_expression "(local_4c < 10)" ( (binary_expression "local_4c < 10" identifier < number_literal) )) (compound_statement "{\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" { (do_statement "do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));" do (compound_statement "{\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                }" { (expression_statement "pcVar15 = pcVar15 + 1;" (assignment_expression "pcVar15 = pcVar15 + 1" identifier = (binary_expression "pcVar15 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar15 == pcVar10) goto LAB_00046b30;" if (parenthesized_expression "(pcVar15 == pcVar10)" ( (binary_expression "pcVar15 == pcVar10" identifier == identifier) )) (goto_statement "goto LAB_00046b30;" goto statement_identifier ;)) }) while (parenthesized_expression "(((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ))" ( (binary_expression "((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" (parenthesized_expression "((int)*pcVar15 - 0x30U < 10)" ( (binary_expression "(int)*pcVar15 - 0x30U < 10" (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar15" * identifier)) - number_literal) < number_literal) )) && (parenthesized_expression "(local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" ( (comma_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000" (assignment_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10" identifier = (binary_expression "((int)*pcVar15 - 0x30U) + local_4c * 10" (parenthesized_expression "((int)*pcVar15 - 0x30U)" ( (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar15" * identifier)) - number_literal) )) + (binary_expression "local_4c * 10" identifier * number_literal))) , (binary_expression "(int)local_4c < 0x10000" (cast_expression "(int)local_4c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) ;) })) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "cVar3 = *pcVar10;" (assignment_expression "cVar3 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) }))) })) (expression_statement "local_50 = (char *)0x0;" (assignment_expression "local_50 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" if (parenthesized_expression "(cVar3 == '/')" ( (binary_expression "cVar3 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" { (expression_statement "local_54 = pcVar10 + 1;" (assignment_expression "local_54 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_54,&DAT_000a119e);" (assignment_expression "pcVar10 = strpbrk(local_54,&DAT_000a119e)" identifier = (call_expression "strpbrk(local_54,&DAT_000a119e)" identifier (argument_list "(local_54,&DAT_000a119e)" ( identifier , (pointer_expression "&DAT_000a119e" & identifier) )))) ;) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" { (expression_statement "sVar5 = strlen(local_54);" (assignment_expression "sVar5 = strlen(local_54)" identifier = (call_expression "strlen(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (expression_statement "pcVar10 = local_54 + sVar5;" (assignment_expression "pcVar10 = local_54 + sVar5" identifier = (binary_expression "local_54 + sVar5" identifier + identifier)) ;) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" identifier = identifier) ;) })) })) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (if_statement "if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = &DAT_000a119f;" (assignment_expression "pcVar7 = &DAT_000a119f" identifier = (pointer_expression "&DAT_000a119f" & identifier)) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" else (if_statement "if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "(*pcVar10 == ';')" ( (binary_expression "*pcVar10 == ';'" (pointer_expression "*pcVar10" * identifier) == (char_literal "';'" ' character ')) )) (compound_statement "{\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }" { (expression_statement "local_40 = pcVar10 + 1;" (assignment_expression "local_40 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_40,&DAT_000a119f);" (assignment_expression "pcVar10 = strpbrk(local_40,&DAT_000a119f)" identifier = (call_expression "strpbrk(local_40,&DAT_000a119f)" identifier (argument_list "(local_40,&DAT_000a119f)" ( identifier , (pointer_expression "&DAT_000a119f" & identifier) )))) ;) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" identifier = (pointer_expression "&DAT_000a11a0" & identifier)) ;) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" { (expression_statement "sVar5 = strlen(local_40);" (assignment_expression "sVar5 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar10 = local_40 + sVar5;" (assignment_expression "pcVar10 = local_40 + sVar5" identifier = (binary_expression "local_40 + sVar5" identifier + identifier)) ;) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" identifier = identifier) ;) })) }) (else_clause "else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" else (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" identifier = (pointer_expression "&DAT_000a11a0" & identifier)) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))))) (expression_statement "local_3c = (char *)0x0;" (assignment_expression "local_3c = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = (char *)0x0;" (assignment_expression "local_48 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" if (parenthesized_expression "(*pcVar10 == '?')" ( (binary_expression "*pcVar10 == '?'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'?'" ' character ')) )) (compound_statement "{\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" { (expression_statement "local_48 = pcVar10 + 1;" (assignment_expression "local_48 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_48,pcVar7);" (assignment_expression "pcVar10 = strpbrk(local_48,pcVar7)" identifier = (call_expression "strpbrk(local_48,pcVar7)" identifier (argument_list "(local_48,pcVar7)" ( identifier , identifier )))) ;) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" { (expression_statement "sVar5 = strlen(local_48);" (assignment_expression "sVar5 = strlen(local_48)" identifier = (call_expression "strlen(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (expression_statement "pcVar10 = local_48 + sVar5;" (assignment_expression "pcVar10 = local_48 + sVar5" identifier = (binary_expression "local_48 + sVar5" identifier + identifier)) ;) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" identifier = identifier) ;) })) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = (char *)0x0;" (assignment_expression "local_44 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" if (parenthesized_expression "(((uVar2 & 8) != 0) && (*pcVar10 == '#'))" ( (binary_expression "((uVar2 & 8) != 0) && (*pcVar10 == '#')" (parenthesized_expression "((uVar2 & 8) != 0)" ( (binary_expression "(uVar2 & 8) != 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*pcVar10 == '#')" ( (binary_expression "*pcVar10 == '#'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'#'" ' character ')) ))) )) (compound_statement "{\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" { (expression_statement "local_44 = pcVar10 + 1;" (assignment_expression "local_44 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_38 = strpbrk(local_44,pcVar7);" (assignment_expression "local_38 = strpbrk(local_44,pcVar7)" identifier = (call_expression "strpbrk(local_44,pcVar7)" identifier (argument_list "(local_44,pcVar7)" ( identifier , identifier )))) ;) (if_statement "if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" if (parenthesized_expression "(local_38 == (char *)0x0)" ( (binary_expression "local_38 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(local_44);" (assignment_expression "sVar5 = strlen(local_44)" identifier = (call_expression "strlen(local_44)" identifier (argument_list "(local_44)" ( identifier )))) ;) (expression_statement "local_38 = local_44 + sVar5;" (assignment_expression "local_38 = local_44 + sVar5" identifier = (binary_expression "local_44 + sVar5" identifier + identifier)) ;) })) })) (if_statement "if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" if (parenthesized_expression "(pcVar6 == pcVar14)" ( (binary_expression "pcVar6 == pcVar14" identifier == identifier) )) (compound_statement "{\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }" { (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_64 = (char *)0x0;" (assignment_expression "local_64 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" else (compound_statement "{\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" { (expression_statement "pcVar14 = pcVar14 + -1;" (assignment_expression "pcVar14 = pcVar14 + -1" identifier = (binary_expression "pcVar14 + -1" identifier + number_literal)) ;) (if_statement "if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" if (parenthesized_expression "((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10))" ( (binary_expression "(pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" (parenthesized_expression "(pcVar14 == pcVar6)" ( (binary_expression "pcVar14 == pcVar6" identifier == identifier) )) || (parenthesized_expression "(pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" ( (comma_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10" (assignment_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" identifier = (cast_expression "(char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" identifier (argument_list "(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" ( identifier , number_literal , (binary_expression "(int)pcVar14 - (int)pcVar6" (cast_expression "(int)pcVar14" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) , (binary_expression "pcVar6 == pcVar10" identifier == identifier)) ))) )) (compound_statement "{\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" { (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" { (expression_statement "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);" (assignment_expression "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14)" identifier = (cast_expression "(char *)FUN_000497f0(pcVar10 + 1,pcVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(pcVar10 + 1,pcVar14)" identifier (argument_list "(pcVar10 + 1,pcVar14)" ( (binary_expression "pcVar10 + 1" identifier + number_literal) , identifier ))))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = pcVar10;" (assignment_expression "pcVar14 = pcVar10" identifier = identifier) ;) })) (expression_statement "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);" (assignment_expression "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14)" identifier = (cast_expression "(char *)FUN_000497f0(pcVar6,pcVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(pcVar6,pcVar14)" identifier (argument_list "(pcVar6,pcVar14)" ( identifier , identifier ))))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);" (assignment_expression "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30)" identifier = (cast_expression "(undefined4 *)FUN_0005aef0(1,0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005aef0(1,0x30)" identifier (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar11[1] = iVar4;" (assignment_expression "puVar11[1] = iVar4" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_000497f0(local_70,local_60);" (assignment_expression "uVar12 = FUN_000497f0(local_70,local_60)" identifier = (call_expression "FUN_000497f0(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (expression_statement "puVar11[0xb] = pcVar7;" (assignment_expression "puVar11[0xb] = pcVar7" (subscript_expression "puVar11[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[2] = uVar12;" (assignment_expression "puVar11[2] = uVar12" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[3] = local_4c;" (assignment_expression "puVar11[3] = local_4c" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[10] = local_64;" (assignment_expression "puVar11[10] = local_64" (subscript_expression "puVar11[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar14 = (char *)FUN_000497f0(local_54,local_50);" (assignment_expression "pcVar14 = (char *)FUN_000497f0(local_54,local_50)" identifier = (cast_expression "(char *)FUN_000497f0(local_54,local_50)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(local_54,local_50)" identifier (argument_list "(local_54,local_50)" ( identifier , identifier ))))) ;) (expression_statement "puVar11[4] = pcVar14;" (assignment_expression "puVar11[4] = pcVar14" (subscript_expression "puVar11[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" identifier = (call_expression "strlen(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "pcVar6 = pcVar14 + sVar5;" (assignment_expression "pcVar6 = pcVar14 + sVar5" identifier = (binary_expression "pcVar14 + sVar5" identifier + identifier)) ;) (if_statement "if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }" if (parenthesized_expression "(pcVar14 < pcVar6)" ( (binary_expression "pcVar14 < pcVar6" identifier < identifier) )) (compound_statement "{\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }" { (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" identifier = identifier) ;) (expression_statement "local_64 = pcVar14;" (assignment_expression "local_64 = pcVar14" identifier = identifier) ;) (do_statement "do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);" do (compound_statement "{\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          }" { (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (if_statement "if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" if (parenthesized_expression "(cVar3 == '.')" ( (binary_expression "cVar3 == '.'" identifier == (char_literal "'.'" ' character ')) )) (compound_statement "{\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }" { (expression_statement "cVar1 = pcVar14[1];" (assignment_expression "cVar1 = pcVar14[1]" identifier = (subscript_expression "pcVar14[1]" identifier [ number_literal ])) ;) (if_statement "if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" if (parenthesized_expression "((cVar1 == '/') || (cVar1 == '\0'))" ( (binary_expression "(cVar1 == '/') || (cVar1 == '\0')" (parenthesized_expression "(cVar1 == '/')" ( (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pcVar14 = pcVar14 + 2;\n              }" { (expression_statement "pcVar14 = pcVar14 + 2;" (assignment_expression "pcVar14 = pcVar14 + 2" identifier = (binary_expression "pcVar14 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" else (compound_statement "{\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" { (if_statement "if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;" if (parenthesized_expression "((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))" ( (binary_expression "(cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" (parenthesized_expression "(cVar1 != '.')" ( (binary_expression "cVar1 != '.'" identifier != (char_literal "'.'" ' character ')) )) || (parenthesized_expression "((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" ( (parenthesized_expression "(pcVar14[2] != '/' && (pcVar14[2] != '\0'))" ( (binary_expression "pcVar14[2] != '/' && (pcVar14[2] != '\0')" (binary_expression "pcVar14[2] != '/'" (subscript_expression "pcVar14[2]" identifier [ number_literal ]) != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar14[2] != '\0')" ( (binary_expression "pcVar14[2] != '\0'" (subscript_expression "pcVar14[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;)) (if_statement "if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" if (parenthesized_expression "(local_64 < pcVar7)" ( (binary_expression "local_64 < pcVar7" identifier < identifier) )) (compound_statement "{\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }" { (expression_statement "pcVar10 = pcVar7 + -1;" (assignment_expression "pcVar10 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) (if_statement "if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" if (parenthesized_expression "(local_64 < pcVar10)" ( (binary_expression "local_64 < pcVar10" identifier < identifier) )) (compound_statement "{\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" { (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (while_statement "while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" while (parenthesized_expression "((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)))" ( (parenthesized_expression "(pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))" ( (comma_expression "pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) , (binary_expression "cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (binary_expression "cVar3 != '/'" identifier != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar10 = local_64, pcVar7 + -1 != local_64)" ( (comma_expression "pcVar10 = local_64, pcVar7 + -1 != local_64" (assignment_expression "pcVar10 = local_64" identifier = identifier) , (binary_expression "pcVar7 + -1 != local_64" (binary_expression "pcVar7 + -1" identifier + number_literal) != identifier)) )))) )) )) (compound_statement "{\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" { (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) })) })) }) (else_clause "else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" else (compound_statement "{\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" { (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (if_statement "if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" if (parenthesized_expression "(iVar4 - 2U < 2)" ( (binary_expression "iVar4 - 2U < 2" (binary_expression "iVar4 - 2U" identifier - number_literal) < number_literal) )) (compound_statement "{\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" { (expression_statement "local_64 = pcVar7 + 3;" (assignment_expression "local_64 = pcVar7 + 3" identifier = (binary_expression "pcVar7 + 3" identifier + number_literal)) ;) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;) })) }))) (expression_statement "pcVar14 = pcVar14 + 3;" (assignment_expression "pcVar14 = pcVar14 + 3" identifier = (binary_expression "pcVar14 + 3" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) }))) }) (else_clause "else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" else (compound_statement "{\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" { (labeled_statement "LAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" statement_identifier : (if_statement "if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" if (parenthesized_expression "(pcVar14 == pcVar7)" ( (binary_expression "pcVar14 == pcVar7" identifier == identifier) )) (compound_statement "{\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }" { (if_statement "if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar7)" ( (binary_expression "pcVar6 <= pcVar7" identifier <= identifier) )) (compound_statement "{\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" { (labeled_statement "LAB_000467c0:\n                  bVar16 = false;" statement_identifier : (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;)) (goto_statement "goto LAB_00046627;" goto statement_identifier ;) })) (while_statement "while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" while (parenthesized_expression "(*pcVar7 != '/')" ( (binary_expression "*pcVar7 != '/'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6 == pcVar7) goto LAB_000467c0;" if (parenthesized_expression "(pcVar6 == pcVar7)" ( (binary_expression "pcVar6 == pcVar7" identifier == identifier) )) (goto_statement "goto LAB_000467c0;" goto statement_identifier ;)) })) (expression_statement "pcVar14 = pcVar7 + 1;" (assignment_expression "pcVar14 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" identifier = identifier) ;) }) (else_clause "else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" else (compound_statement "{\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" { (if_statement "if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar14)" ( (binary_expression "pcVar6 <= pcVar14" identifier <= identifier) )) (compound_statement "{\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" { (labeled_statement "LAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;" statement_identifier : (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" identifier = (binary_expression "pcVar7 != pcVar14" identifier != identifier)) ;)) (goto_statement "goto LAB_00046620;" goto statement_identifier ;) })) (expression_statement "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);" (assignment_expression "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14)" identifier = (binary_expression "pcVar7 + ((int)pcVar6 - (int)pcVar14)" identifier + (parenthesized_expression "((int)pcVar6 - (int)pcVar14)" ( (binary_expression "(int)pcVar6 - (int)pcVar14" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (while_statement "while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" while (parenthesized_expression "(cVar3 != '/')" ( (binary_expression "cVar3 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" { (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar10 = cVar3;" (assignment_expression "*pcVar10 = cVar3" (pointer_expression "*pcVar10" * identifier) = identifier) ;) (expression_statement "pcVar7 = pcVar15;" (assignment_expression "pcVar7 = pcVar15" identifier = identifier) ;) (if_statement "if (pcVar10 + 1 == pcVar15) goto LAB_00046619;" if (parenthesized_expression "(pcVar10 + 1 == pcVar15)" ( (binary_expression "pcVar10 + 1 == pcVar15" (binary_expression "pcVar10 + 1" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00046619;" goto statement_identifier ;)) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) })) (expression_statement "*pcVar10 = '/';" (assignment_expression "*pcVar10 = '/'" (pointer_expression "*pcVar10" * identifier) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar10 + 1;" (assignment_expression "pcVar7 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) })))) }))) }) while (parenthesized_expression "(pcVar14 < pcVar6)" ( (binary_expression "pcVar14 < pcVar6" identifier < identifier) )) ;) (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" identifier = (binary_expression "pcVar7 != pcVar14" identifier != identifier)) ;) (labeled_statement "LAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" statement_identifier : (if_statement "if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" if (parenthesized_expression "(pcVar14 != pcVar7)" ( (binary_expression "pcVar14 != pcVar7" identifier != identifier) )) (compound_statement "{\n            *pcVar7 = '\0';\n          }" { (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }))) (labeled_statement "LAB_00046627:\n          pcVar14 = (char *)puVar11[4];" statement_identifier : (expression_statement "pcVar14 = (char *)puVar11[4];" (assignment_expression "pcVar14 = (char *)puVar11[4]" identifier = (cast_expression "(char *)puVar11[4]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[4]" identifier [ number_literal ]))) ;)) }) (else_clause "else {\n          bVar16 = false;\n        }" else (compound_statement "{\n          bVar16 = false;\n        }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }))) (expression_statement "pcVar6 = strrchr(pcVar14,0x2f);" (assignment_expression "pcVar6 = strrchr(pcVar14,0x2f)" identifier = (call_expression "strrchr(pcVar14,0x2f)" identifier (argument_list "(pcVar14,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_0005af70(&DAT_00082757);" (assignment_expression "uVar12 = FUN_0005af70(&DAT_00082757)" identifier = (call_expression "FUN_0005af70(&DAT_00082757)" identifier (argument_list "(&DAT_00082757)" ( (pointer_expression "&DAT_00082757" & identifier) )))) ;) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_0005af70(pcVar14);" (assignment_expression "uVar12 = FUN_0005af70(pcVar14)" identifier = (call_expression "FUN_0005af70(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" else (compound_statement "{\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(pcVar14,pcVar6);" (assignment_expression "uVar12 = FUN_000497f0(pcVar14,pcVar6)" identifier = (call_expression "FUN_000497f0(pcVar14,pcVar6)" identifier (argument_list "(pcVar14,pcVar6)" ( identifier , identifier )))) ;) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_0005af70(pcVar6 + 1);" (assignment_expression "uVar12 = FUN_0005af70(pcVar6 + 1)" identifier = (call_expression "FUN_0005af70(pcVar6 + 1)" identifier (argument_list "(pcVar6 + 1)" ( (binary_expression "pcVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (if_statement "if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" { (do_statement "do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');" do (compound_statement "{\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          }" { (if_statement "if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" if (parenthesized_expression "((int)cVar3 - 0x41U < 0x1a)" ( (binary_expression "(int)cVar3 - 0x41U < 0x1a" (binary_expression "(int)cVar3 - 0x41U" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) < number_literal) )) (compound_statement "{\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" { (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" identifier = number_literal) ;) (expression_statement "*pcVar14 = cVar3 + ' ';" (assignment_expression "*pcVar14 = cVar3 + ' '" (pointer_expression "*pcVar14" * identifier) = (binary_expression "cVar3 + ' '" identifier + (char_literal "' '" ' character '))) ;) })) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) }) while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) })) (expression_statement "pcVar14 = strchr(pcVar14,0x25);" (assignment_expression "pcVar14 = strchr(pcVar14,0x25)" identifier = (call_expression "strchr(pcVar14,0x25)" identifier (argument_list "(pcVar14,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" if (parenthesized_expression "(pcVar14 != (char *)0x0)" ( (binary_expression "pcVar14 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" { (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (expression_statement "pcVar6 = pcVar14;" (assignment_expression "pcVar6 = pcVar14" identifier = identifier) ;) (while_statement "while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" { (if_statement "if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" if (parenthesized_expression "(('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f'))))" ( (binary_expression "('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))" (parenthesized_expression "('\0' < cVar3)" ( (binary_expression "'\0' < cVar3" (char_literal "'\0'" ' escape_sequence ') < identifier) )) && (parenthesized_expression "((cVar3 < ' ' || (cVar3 == '\x7f')))" ( (parenthesized_expression "(cVar3 < ' ' || (cVar3 == '\x7f'))" ( (binary_expression "cVar3 < ' ' || (cVar3 == '\x7f')" (binary_expression "cVar3 < ' '" identifier < (char_literal "' '" ' character ')) || (parenthesized_expression "(cVar3 == '\x7f')" ( (binary_expression "cVar3 == '\x7f'" identifier == (char_literal "'\x7f'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" { (expression_statement "FUN_000446a0();" (call_expression "FUN_000446a0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar6;" (assignment_expression "cVar3 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (expression_statement "bVar13 = param_3 != 0 & DAT_000a8c42;" (assignment_expression "bVar13 = param_3 != 0 & DAT_000a8c42" identifier = (binary_expression "param_3 != 0 & DAT_000a8c42" (binary_expression "param_3 != 0" identifier != number_literal) & identifier)) ;) (if_statement "if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" if (parenthesized_expression "((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0))" ( (binary_expression "(bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0" (assignment_expression "iVar4 = FUN_0004f120(param_3,pcVar14)" identifier = (call_expression "FUN_0004f120(param_3,pcVar14)" identifier (argument_list "(param_3,pcVar14)" ( identifier , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            bVar13 = 1;\n          }" { (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" else (compound_statement "{\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" { (expression_statement "free((void *)puVar11[2]);" (call_expression "free((void *)puVar11[2])" identifier (argument_list "((void *)puVar11[2])" ( (cast_expression "(void *)puVar11[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar11[2] = iVar4;" (assignment_expression "puVar11[2] = iVar4" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) }))) })) (if_statement "if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" if (parenthesized_expression "(local_40 != (char *)0x0)" ( (binary_expression "local_40 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_40,local_34);" (assignment_expression "uVar12 = FUN_000497f0(local_40,local_34)" identifier = (call_expression "FUN_000497f0(local_40,local_34)" identifier (argument_list "(local_40,local_34)" ( identifier , identifier )))) ;) (expression_statement "puVar11[5] = uVar12;" (assignment_expression "puVar11[5] = uVar12" (subscript_expression "puVar11[5]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" if (parenthesized_expression "(local_48 != (char *)0x0)" ( (binary_expression "local_48 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_48,local_3c);" (assignment_expression "uVar12 = FUN_000497f0(local_48,local_3c)" identifier = (call_expression "FUN_000497f0(local_48,local_3c)" identifier (argument_list "(local_48,local_3c)" ( identifier , identifier )))) ;) (expression_statement "puVar11[6] = uVar12;" (assignment_expression "puVar11[6] = uVar12" (subscript_expression "puVar11[6]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" if (parenthesized_expression "(local_44 != (char *)0x0)" ( (binary_expression "local_44 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_44,local_38);" (assignment_expression "uVar12 = FUN_000497f0(local_44,local_38)" identifier = (call_expression "FUN_000497f0(local_44,local_38)" identifier (argument_list "(local_44,local_38)" ( identifier , identifier )))) ;) (expression_statement "puVar11[7] = uVar12;" (assignment_expression "puVar11[7] = uVar12" (subscript_expression "puVar11[7]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" if (parenthesized_expression "((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0))))" ( (binary_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))" (parenthesized_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0))" ( (binary_expression "((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)" (parenthesized_expression "((DAT_000a8c42 != 0) || (bVar16))" ( (binary_expression "(DAT_000a8c42 != 0) || (bVar16)" (parenthesized_expression "(DAT_000a8c42 != 0)" ( (binary_expression "DAT_000a8c42 != 0" identifier != number_literal) )) || (parenthesized_expression "(bVar16)" ( identifier ))) )) || (parenthesized_expression "(puVar11[7] != 0)" ( (binary_expression "puVar11[7] != 0" (subscript_expression "puVar11[7]" identifier [ number_literal ]) != number_literal) ))) )) || (parenthesized_expression "((local_54 == local_50 || (bVar13 != 0)))" ( (parenthesized_expression "(local_54 == local_50 || (bVar13 != 0))" ( (binary_expression "local_54 == local_50 || (bVar13 != 0)" (binary_expression "local_54 == local_50" identifier == identifier) || (parenthesized_expression "(bVar13 != 0)" ( (binary_expression "bVar13 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }" { (expression_statement "uVar12 = FUN_00045d90(puVar11,0);" (assignment_expression "uVar12 = FUN_00045d90(puVar11,0)" identifier = (call_expression "FUN_00045d90(puVar11,0)" identifier (argument_list "(puVar11,0)" ( identifier , number_literal )))) ;) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" * identifier) = identifier) ;) (if_statement "if (local_68 != param_1) {\n            free(local_68);\n          }" if (parenthesized_expression "(local_68 != param_1)" ( (binary_expression "local_68 != param_1" identifier != identifier) )) (compound_statement "{\n            free(local_68);\n          }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) })) }) (else_clause "else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" else (if_statement "if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" if (parenthesized_expression "(local_68 == param_1)" ( (binary_expression "local_68 == param_1" identifier == identifier) )) (compound_statement "{\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }" { (expression_statement "uVar12 = FUN_0005af70(local_68);" (assignment_expression "uVar12 = FUN_0005af70(local_68)" identifier = (call_expression "FUN_0005af70(local_68)" identifier (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" * identifier) = identifier) ;) }) (else_clause "else {\n          *puVar11 = local_68;\n        }" else (compound_statement "{\n          *puVar11 = local_68;\n        }" { (expression_statement "*puVar11 = local_68;" (assignment_expression "*puVar11 = local_68" (pointer_expression "*puVar11" * identifier) = identifier) ;) }))))) (goto_statement "goto LAB_000463c5;" goto statement_identifier ;) }))) (labeled_statement "LAB_00046398:\n      iVar4 = 3;" statement_identifier : (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;)) }))) (labeled_statement "LAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" statement_identifier : (if_statement "if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" if (parenthesized_expression "((local_68 != (void *)0x0) && (local_68 != param_1))" ( (binary_expression "(local_68 != (void *)0x0) && (local_68 != param_1)" (parenthesized_expression "(local_68 != (void *)0x0)" ( (binary_expression "local_68 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_68 != param_1)" ( (binary_expression "local_68 != param_1" identifier != identifier) ))) )) (compound_statement "{\n      free(local_68);\n    }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) }))) }))) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = iVar4;\n  }" { (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (labeled_statement "LAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return puVar11;\n  }" { (return_statement "return puVar11;" return identifier ;) }))) comment (expression_statement "FUN_0006da50();" (call_expression "FUN_0006da50()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nurl * url_parse(char *url,int *error,iri *iri,_Bool percent_encode)\n\n{\n  char cVar1;\n  uint uVar2;\n  _Bool _Var3;\n  url_scheme uVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  char *pcVar9;\n  url *url_00;\n  char cVar10;\n  byte bVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  char *local_70;\n  char *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  char *new_url;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = url_scheme(url);\n  if (uVar4 == SCHEME_INVALID) {\n    _Var3 = url_has_scheme(url);\n    iVar13 = !_Var3 + 1;\n  }\n  else {\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }\n  url_00 = (url *)0x0;\n  if (error != (int *)0x0) {\n    *error = iVar13;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return url_00;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "url * url_parse(char *url,int *error,iri *iri,_Bool percent_encode)\n\n{\n  char cVar1;\n  uint uVar2;\n  _Bool _Var3;\n  url_scheme uVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  char *pcVar9;\n  url *url_00;\n  char cVar10;\n  byte bVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  char *local_70;\n  char *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  char *new_url;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = url_scheme(url);\n  if (uVar4 == SCHEME_INVALID) {\n    _Var3 = url_has_scheme(url);\n    iVar13 = !_Var3 + 1;\n  }\n  else {\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }\n  url_00 = (url *)0x0;\n  if (error != (int *)0x0) {\n    *error = iVar13;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return url_00;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (pointer_declarator "* url_parse(char *url,int *error,iri *iri,_Bool percent_encode)" * (function_declarator "url_parse(char *url,int *error,iri *iri,_Bool percent_encode)" identifier (parameter_list "(char *url,int *error,iri *iri,_Bool percent_encode)" ( (parameter_declaration "char *url" primitive_type (pointer_declarator "*url" * identifier)) , (parameter_declaration "int *error" primitive_type (pointer_declarator "*error" * identifier)) , (parameter_declaration "iri *iri" type_identifier (pointer_declarator "*iri" * identifier)) , (parameter_declaration "_Bool percent_encode" type_identifier identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  _Bool _Var3;\n  url_scheme uVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  char *pcVar9;\n  url *url_00;\n  char cVar10;\n  byte bVar11;\n  char *pcVar12;\n  int iVar13;\n  char *pcVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  char *local_70;\n  char *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  char *new_url;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uVar4 = url_scheme(url);\n  if (uVar4 == SCHEME_INVALID) {\n    _Var3 = url_has_scheme(url);\n    iVar13 = !_Var3 + 1;\n  }\n  else {\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }\n  url_00 = (url *)0x0;\n  if (error != (int *)0x0) {\n    *error = iVar13;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return url_00;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "_Bool _Var3;" type_identifier identifier ;) (declaration "url_scheme uVar4;" type_identifier identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "url *url_00;" type_identifier (pointer_declarator "*url_00" * identifier) ;) (declaration "char cVar10;" primitive_type identifier ;) (declaration "byte bVar11;" type_identifier identifier ;) (declaration "char *pcVar12;" primitive_type (pointer_declarator "*pcVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "char *local_70;" primitive_type (pointer_declarator "*local_70" * identifier) ;) (declaration "char *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "char *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "char *new_url;" primitive_type (pointer_declarator "*new_url" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x46179;" (assignment_expression "uStack_14 = 0x46179" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = url_scheme(url);" (assignment_expression "uVar4 = url_scheme(url)" identifier = (call_expression "url_scheme(url)" identifier (argument_list "(url)" ( identifier )))) ;) (if_statement "if (uVar4 == SCHEME_INVALID) {\n    _Var3 = url_has_scheme(url);\n    iVar13 = !_Var3 + 1;\n  }\n  else {\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }" if (parenthesized_expression "(uVar4 == SCHEME_INVALID)" ( (binary_expression "uVar4 == SCHEME_INVALID" identifier == identifier) )) (compound_statement "{\n    _Var3 = url_has_scheme(url);\n    iVar13 = !_Var3 + 1;\n  }" { (expression_statement "_Var3 = url_has_scheme(url);" (assignment_expression "_Var3 = url_has_scheme(url)" identifier = (call_expression "url_has_scheme(url)" identifier (argument_list "(url)" ( identifier )))) ;) (expression_statement "iVar13 = !_Var3 + 1;" (assignment_expression "iVar13 = !_Var3 + 1" identifier = (binary_expression "!_Var3 + 1" (unary_expression "!_Var3" ! identifier) + number_literal)) ;) }) (else_clause "else {\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }" else (compound_statement "{\n    if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }\n    sVar5 = strlen(supported_schemes[uVar4].leading_string);\n    pcVar6 = local_68 + sVar5;\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar12 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }\n    uVar2 = supported_schemes[uVar4].flags;\n    puVar8 = (undefined1 *)((int)&seps_8155 + 2);\n    if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }\n  }" { (if_statement "if ((iri == (iri *)0x0) || (iri->utf8_encode == false)) {\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }\n    else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }" if (parenthesized_expression "((iri == (iri *)0x0) || (iri->utf8_encode == false))" ( (binary_expression "(iri == (iri *)0x0) || (iri->utf8_encode == false)" (parenthesized_expression "(iri == (iri *)0x0)" ( (binary_expression "iri == (iri *)0x0" identifier == (cast_expression "(iri *)0x0" ( (type_descriptor "iri *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iri->utf8_encode == false)" ( (binary_expression "iri->utf8_encode == false" (field_expression "iri->utf8_encode" identifier -> field_identifier) == false) ))) )) (compound_statement "{\nLAB_000461df:\n      local_68 = url;\n      if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }\n    }" { (labeled_statement "LAB_000461df:\n      local_68 = url;" statement_identifier : (expression_statement "local_68 = url;" (assignment_expression "local_68 = url" identifier = identifier) ;)) (if_statement "if (percent_encode) {\n        local_68 = reencode_escapes(url);\n      }" if (parenthesized_expression "(percent_encode)" ( identifier )) (compound_statement "{\n        local_68 = reencode_escapes(url);\n      }" { (expression_statement "local_68 = reencode_escapes(url);" (assignment_expression "local_68 = reencode_escapes(url)" identifier = (call_expression "reencode_escapes(url)" identifier (argument_list "(url)" ( identifier )))) ;) })) }) (else_clause "else {\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }" else (compound_statement "{\n      new_url = (char *)0x0;\n      pcVar12 = iri->orig_url;\n      if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }\n      _Var3 = remote_to_utf8(iri,pcVar12,&new_url);\n      iri->utf8_encode = _Var3;\n      if (!_Var3) goto LAB_000461df;\n      free(iri->orig_url);\n      iri->orig_url = (char *)0x0;\n      pcVar12 = xstrdup(url);\n      iri->orig_url = pcVar12;\n      local_68 = reencode_escapes(new_url);\n      if (new_url != local_68) {\n        free(new_url);\n      }\n    }" { (expression_statement "new_url = (char *)0x0;" (assignment_expression "new_url = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar12 = iri->orig_url;" (assignment_expression "pcVar12 = iri->orig_url" identifier = (field_expression "iri->orig_url" identifier -> field_identifier)) ;) (if_statement "if (iri->orig_url == (char *)0x0) {\n        pcVar12 = url;\n      }" if (parenthesized_expression "(iri->orig_url == (char *)0x0)" ( (binary_expression "iri->orig_url == (char *)0x0" (field_expression "iri->orig_url" identifier -> field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pcVar12 = url;\n      }" { (expression_statement "pcVar12 = url;" (assignment_expression "pcVar12 = url" identifier = identifier) ;) })) (expression_statement "_Var3 = remote_to_utf8(iri,pcVar12,&new_url);" (assignment_expression "_Var3 = remote_to_utf8(iri,pcVar12,&new_url)" identifier = (call_expression "remote_to_utf8(iri,pcVar12,&new_url)" identifier (argument_list "(iri,pcVar12,&new_url)" ( identifier , identifier , (pointer_expression "&new_url" & identifier) )))) ;) (expression_statement "iri->utf8_encode = _Var3;" (assignment_expression "iri->utf8_encode = _Var3" (field_expression "iri->utf8_encode" identifier -> field_identifier) = identifier) ;) (if_statement "if (!_Var3) goto LAB_000461df;" if (parenthesized_expression "(!_Var3)" ( (unary_expression "!_Var3" ! identifier) )) (goto_statement "goto LAB_000461df;" goto statement_identifier ;)) (expression_statement "free(iri->orig_url);" (call_expression "free(iri->orig_url)" identifier (argument_list "(iri->orig_url)" ( (field_expression "iri->orig_url" identifier -> field_identifier) ))) ;) (expression_statement "iri->orig_url = (char *)0x0;" (assignment_expression "iri->orig_url = (char *)0x0" (field_expression "iri->orig_url" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar12 = xstrdup(url);" (assignment_expression "pcVar12 = xstrdup(url)" identifier = (call_expression "xstrdup(url)" identifier (argument_list "(url)" ( identifier )))) ;) (expression_statement "iri->orig_url = pcVar12;" (assignment_expression "iri->orig_url = pcVar12" (field_expression "iri->orig_url" identifier -> field_identifier) = identifier) ;) (expression_statement "local_68 = reencode_escapes(new_url);" (assignment_expression "local_68 = reencode_escapes(new_url)" identifier = (call_expression "reencode_escapes(new_url)" identifier (argument_list "(new_url)" ( identifier )))) ;) (if_statement "if (new_url != local_68) {\n        free(new_url);\n      }" if (parenthesized_expression "(new_url != local_68)" ( (binary_expression "new_url != local_68" identifier != identifier) )) (compound_statement "{\n        free(new_url);\n      }" { (expression_statement "free(new_url);" (call_expression "free(new_url)" identifier (argument_list "(new_url)" ( identifier ))) ;) })) }))) (expression_statement "sVar5 = strlen(supported_schemes[uVar4].leading_string);" (assignment_expression "sVar5 = strlen(supported_schemes[uVar4].leading_string)" identifier = (call_expression "strlen(supported_schemes[uVar4].leading_string)" identifier (argument_list "(supported_schemes[uVar4].leading_string)" ( (field_expression "supported_schemes[uVar4].leading_string" (subscript_expression "supported_schemes[uVar4]" identifier [ identifier ]) . field_identifier) )))) ;) (expression_statement "pcVar6 = local_68 + sVar5;" (assignment_expression "pcVar6 = local_68 + sVar5" identifier = (binary_expression "local_68 + sVar5" identifier + identifier)) ;) (expression_statement "pcVar7 = strpbrk(pcVar6,"@/?#;");" (assignment_expression "pcVar7 = strpbrk(pcVar6,"@/?#;")" identifier = (call_expression "strpbrk(pcVar6,"@/?#;")" identifier (argument_list "(pcVar6,"@/?#;")" ( identifier , (string_literal ""@/?#;"" " string_content ") )))) ;) (expression_statement "pcVar12 = pcVar6;" (assignment_expression "pcVar12 = pcVar6" identifier = identifier) ;) (if_statement "if ((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar12 = pcVar6;\n    }" if (parenthesized_expression "((pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@'))" ( (binary_expression "(pcVar7 != (char *)0x0) && (pcVar12 = pcVar7 + 1, *pcVar7 != '@')" (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar12 = pcVar7 + 1, *pcVar7 != '@')" ( (comma_expression "pcVar12 = pcVar7 + 1, *pcVar7 != '@'" (assignment_expression "pcVar12 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "*pcVar7 != '@'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'@'" ' character '))) ))) )) (compound_statement "{\n      pcVar12 = pcVar6;\n    }" { (expression_statement "pcVar12 = pcVar6;" (assignment_expression "pcVar12 = pcVar6" identifier = identifier) ;) })) (expression_statement "uVar2 = supported_schemes[uVar4].flags;" (assignment_expression "uVar2 = supported_schemes[uVar4].flags" identifier = (field_expression "supported_schemes[uVar4].flags" (subscript_expression "supported_schemes[uVar4]" identifier [ identifier ]) . field_identifier)) ;) (expression_statement "puVar8 = (undefined1 *)((int)&seps_8155 + 2);" (assignment_expression "puVar8 = (undefined1 *)((int)&seps_8155 + 2)" identifier = (cast_expression "(undefined1 *)((int)&seps_8155 + 2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 2)" ( (binary_expression "(int)&seps_8155 + 2" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) )))) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      seps_8155._2_1_ = 0x3b;\n      puVar8 = (undefined1 *)((int)&seps_8155 + 3);\n    }" { (expression_statement "seps_8155._2_1_ = 0x3b;" (assignment_expression "seps_8155._2_1_ = 0x3b" (field_expression "seps_8155._2_1_" identifier . field_identifier) = number_literal) ;) (expression_statement "puVar8 = (undefined1 *)((int)&seps_8155 + 3);" (assignment_expression "puVar8 = (undefined1 *)((int)&seps_8155 + 3)" identifier = (cast_expression "(undefined1 *)((int)&seps_8155 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 3)" ( (binary_expression "(int)&seps_8155 + 3" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) )))) ;) })) (if_statement "if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "*puVar8 = 0x3f;" (assignment_expression "*puVar8 = 0x3f" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }" if (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *puVar8 = 0;\n      if (*pcVar12 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar12 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar13 = 6;\n    }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (if_statement "if (*pcVar12 != '[') goto LAB_00046276;" if (parenthesized_expression "(*pcVar12 != '[')" ( (binary_expression "*pcVar12 != '['" (pointer_expression "*pcVar12" * identifier) != (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046276;" goto statement_identifier ;)) (labeled_statement "LAB_00046332:\n      local_70 = pcVar12 + 1;" statement_identifier : (expression_statement "local_70 = pcVar12 + 1;" (assignment_expression "local_70 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;)) (expression_statement "local_60 = strchr(local_70,0x5d);" (assignment_expression "local_60 = strchr(local_70,0x5d)" identifier = (call_expression "strchr(local_70,0x5d)" identifier (argument_list "(local_70,0x5d)" ( identifier , number_literal )))) ;) (if_statement "if (local_60 != (char *)0x0) {\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" if (parenthesized_expression "(local_60 != (char *)0x0)" ( (binary_expression "local_60 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        _Var3 = is_valid_ipv6_address(local_70,local_60);\n        if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);\n        if (pcVar9 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" { (expression_statement "_Var3 = is_valid_ipv6_address(local_70,local_60);" (assignment_expression "_Var3 = is_valid_ipv6_address(local_70,local_60)" identifier = (call_expression "is_valid_ipv6_address(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (if_statement "if (!_Var3) {\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }" if (parenthesized_expression "(!_Var3)" ( (unary_expression "!_Var3" ! identifier) )) (compound_statement "{\n          iVar13 = 8;\n          goto LAB_0004639d;\n        }" { (expression_statement "iVar13 = 8;" (assignment_expression "iVar13 = 8" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = local_60 + 1;" (assignment_expression "pcVar7 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = strchr((char *)&seps_8155,(int)local_60[1]);" (assignment_expression "pcVar9 = strchr((char *)&seps_8155,(int)local_60[1])" identifier = (call_expression "strchr((char *)&seps_8155,(int)local_60[1])" identifier (argument_list "((char *)&seps_8155,(int)local_60[1])" ( (cast_expression "(char *)&seps_8155" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&seps_8155" & identifier)) , (cast_expression "(int)local_60[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_60[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (pcVar9 != (char *)0x0) goto LAB_0004629b;" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004629b;" goto statement_identifier ;)) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "iVar13 = 6;" (assignment_expression "iVar13 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }" else (compound_statement "{\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar12 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);\n      local_70 = pcVar12;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar13 = 3;\n    }" { (expression_statement "*puVar8 = 0x23;" (assignment_expression "*puVar8 = 0x23" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8[1] = 0;" (assignment_expression "puVar8[1] = 0" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*pcVar12 == '[') goto LAB_00046332;" if (parenthesized_expression "(*pcVar12 == '[')" ( (binary_expression "*pcVar12 == '['" (pointer_expression "*pcVar12" * identifier) == (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046332;" goto statement_identifier ;)) (labeled_statement "LAB_00046276:\n      pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);" statement_identifier : (expression_statement "pcVar7 = strpbrk(pcVar12,(char *)&seps_8155);" (assignment_expression "pcVar7 = strpbrk(pcVar12,(char *)&seps_8155)" identifier = (call_expression "strpbrk(pcVar12,(char *)&seps_8155)" identifier (argument_list "(pcVar12,(char *)&seps_8155)" ( identifier , (cast_expression "(char *)&seps_8155" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&seps_8155" & identifier)) )))) ;)) (expression_statement "local_70 = pcVar12;" (assignment_expression "local_70 = pcVar12" identifier = identifier) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar5 = strlen(pcVar12);\n        pcVar7 = pcVar12 + sVar5;\n        local_60 = pcVar7;\n      }" { (expression_statement "sVar5 = strlen(pcVar12);" (assignment_expression "sVar5 = strlen(pcVar12)" identifier = (call_expression "strlen(pcVar12)" identifier (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "pcVar7 = pcVar12 + sVar5;" (assignment_expression "pcVar7 = pcVar12 + sVar5" identifier = (binary_expression "pcVar12 + sVar5" identifier + identifier)) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) })) (labeled_statement "LAB_0004629b:\n      if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }" statement_identifier : (if_statement "if (local_70 != local_60) {\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }" if (parenthesized_expression "(local_70 != local_60)" ( (binary_expression "local_70 != local_60" identifier != identifier) )) (compound_statement "{\n        cVar10 = *pcVar7;\n        local_4c = supported_schemes[uVar4].default_port;\n        pcVar9 = pcVar7;\n        if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }\n        uVar2 = supported_schemes[uVar4].flags;\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }\n        url_00 = (url *)xcalloc(1,0x30);\n        url_00->scheme = uVar4;\n        pcVar12 = strdupdelim(local_70,local_60);\n        url_00->passwd = pcVar7;\n        url_00->host = pcVar12;\n        url_00->port = local_4c;\n        url_00->user = local_64;\n        pcVar12 = strdupdelim(local_54,local_50);\n        url_00->path = pcVar12;\n        sVar5 = strlen(pcVar12);\n        pcVar6 = pcVar12 + sVar5;\n        if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }\n        pcVar6 = strrchr(pcVar12,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }\n        bVar11 = 0;\n        url_unescape_1(url_00->dir,'\0');\n        url_unescape_1(url_00->file,'\0');\n        pcVar12 = url_00->host;\n        cVar10 = *pcVar12;\n        if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }\n        pcVar6 = strchr(pcVar12,0x25);\n        if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }\n        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }\n        goto LAB_000463c5;\n      }" { (expression_statement "cVar10 = *pcVar7;" (assignment_expression "cVar10 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "local_4c = supported_schemes[uVar4].default_port;" (assignment_expression "local_4c = supported_schemes[uVar4].default_port" identifier = (field_expression "supported_schemes[uVar4].default_port" (subscript_expression "supported_schemes[uVar4]" identifier [ identifier ]) . field_identifier)) ;) (expression_statement "pcVar9 = pcVar7;" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) ;) (if_statement "if (cVar10 == ':') {\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }" if (parenthesized_expression "(cVar10 == ':')" ( (binary_expression "cVar10 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n          pcVar14 = pcVar7 + 1;\n          pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }\n          if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }\n        }" { (expression_statement "pcVar14 = pcVar7 + 1;" (assignment_expression "pcVar14 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1));" (assignment_expression "pcVar9 = strpbrk(pcVar14,(char *)((int)&seps_8155 + 1))" identifier = (call_expression "strpbrk(pcVar14,(char *)((int)&seps_8155 + 1))" identifier (argument_list "(pcVar14,(char *)((int)&seps_8155 + 1))" ( identifier , (cast_expression "(char *)((int)&seps_8155 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 1)" ( (binary_expression "(int)&seps_8155 + 1" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) ))) )))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(pcVar14);\n            pcVar9 = pcVar14 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" identifier = (call_expression "strlen(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "pcVar9 = pcVar14 + sVar5;" (assignment_expression "pcVar9 = pcVar14 + sVar5" identifier = (binary_expression "pcVar14 + sVar5" identifier + identifier)) ;) })) (if_statement "if (pcVar14 == pcVar9) {\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }\n          else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }" if (parenthesized_expression "(pcVar14 == pcVar9)" ( (binary_expression "pcVar14 == pcVar9" identifier == identifier) )) (compound_statement "{\nLAB_00046b30:\n            cVar10 = *pcVar14;\n            pcVar9 = pcVar14;\n          }" { (labeled_statement "LAB_00046b30:\n            cVar10 = *pcVar14;" statement_identifier : (expression_statement "cVar10 = *pcVar14;" (assignment_expression "cVar10 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;)) (expression_statement "pcVar9 = pcVar14;" (assignment_expression "pcVar9 = pcVar14" identifier = identifier) ;) }) (else_clause "else {\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }" else (compound_statement "{\n            if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }\n            cVar10 = *pcVar9;\n            local_4c = 0;\n          }" { (if_statement "if (pcVar14 < pcVar9) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }" if (parenthesized_expression "(pcVar14 < pcVar9)" ( (binary_expression "pcVar14 < pcVar9" identifier < identifier) )) (compound_statement "{\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar13 = 4;\n              goto LAB_0004639d;\n            }" { (expression_statement "local_4c = (int)pcVar7[1] - 0x30;" (assignment_expression "local_4c = (int)pcVar7[1] - 0x30" identifier = (binary_expression "(int)pcVar7[1] - 0x30" (cast_expression "(int)pcVar7[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar7[1]" identifier [ number_literal ])) - number_literal)) ;) (if_statement "if (local_4c < 10) {\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" if (parenthesized_expression "(local_4c < 10)" ( (binary_expression "local_4c < 10" identifier < number_literal) )) (compound_statement "{\n                do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" { (do_statement "do {\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                } while (((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));" do (compound_statement "{\n                  pcVar14 = pcVar14 + 1;\n                  if (pcVar14 == pcVar9) goto LAB_00046b30;\n                }" { (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar14 == pcVar9) goto LAB_00046b30;" if (parenthesized_expression "(pcVar14 == pcVar9)" ( (binary_expression "pcVar14 == pcVar9" identifier == identifier) )) (goto_statement "goto LAB_00046b30;" goto statement_identifier ;)) }) while (parenthesized_expression "(((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ))" ( (binary_expression "((int)*pcVar14 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" (parenthesized_expression "((int)*pcVar14 - 0x30U < 10)" ( (binary_expression "(int)*pcVar14 - 0x30U < 10" (binary_expression "(int)*pcVar14 - 0x30U" (cast_expression "(int)*pcVar14" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar14" * identifier)) - number_literal) < number_literal) )) && (parenthesized_expression "(local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" ( (comma_expression "local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000" (assignment_expression "local_4c = ((int)*pcVar14 - 0x30U) + local_4c * 10" identifier = (binary_expression "((int)*pcVar14 - 0x30U) + local_4c * 10" (parenthesized_expression "((int)*pcVar14 - 0x30U)" ( (binary_expression "(int)*pcVar14 - 0x30U" (cast_expression "(int)*pcVar14" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar14" * identifier)) - number_literal) )) + (binary_expression "local_4c * 10" identifier * number_literal))) , (binary_expression "(int)local_4c < 0x10000" (cast_expression "(int)local_4c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) ;) })) (expression_statement "iVar13 = 4;" (assignment_expression "iVar13 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "cVar10 = *pcVar9;" (assignment_expression "cVar10 = *pcVar9" identifier = (pointer_expression "*pcVar9" * identifier)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) }))) })) (expression_statement "local_50 = (char *)0x0;" (assignment_expression "local_50 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (cVar10 == '/') {\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }" if (parenthesized_expression "(cVar10 == '/')" ( (binary_expression "cVar10 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          local_54 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));\n          local_50 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }\n        }" { (expression_statement "local_54 = pcVar9 + 1;" (assignment_expression "local_54 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2));" (assignment_expression "pcVar9 = strpbrk(local_54,(char *)((int)&seps_8155 + 2))" identifier = (call_expression "strpbrk(local_54,(char *)((int)&seps_8155 + 2))" identifier (argument_list "(local_54,(char *)((int)&seps_8155 + 2))" ( identifier , (cast_expression "(char *)((int)&seps_8155 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 2)" ( (binary_expression "(int)&seps_8155 + 2" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) ))) )))) ;) (expression_statement "local_50 = pcVar9;" (assignment_expression "local_50 = pcVar9" identifier = identifier) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_54);\n            pcVar9 = local_54 + sVar5;\n            local_50 = pcVar9;\n          }" { (expression_statement "sVar5 = strlen(local_54);" (assignment_expression "sVar5 = strlen(local_54)" identifier = (call_expression "strlen(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (expression_statement "pcVar9 = local_54 + sVar5;" (assignment_expression "pcVar9 = local_54 + sVar5" identifier = (binary_expression "local_54 + sVar5" identifier + identifier)) ;) (expression_statement "local_50 = pcVar9;" (assignment_expression "local_50 = pcVar9" identifier = identifier) ;) })) })) (expression_statement "uVar2 = supported_schemes[uVar4].flags;" (assignment_expression "uVar2 = supported_schemes[uVar4].flags" identifier = (field_expression "supported_schemes[uVar4].flags" (subscript_expression "supported_schemes[uVar4]" identifier [ identifier ]) . field_identifier)) ;) (if_statement "if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 3);\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)((int)&seps_8155 + 3);" (assignment_expression "pcVar7 = (char *)((int)&seps_8155 + 3)" identifier = (cast_expression "(char *)((int)&seps_8155 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 3)" ( (binary_expression "(int)&seps_8155 + 3" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) )))) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }" else (if_statement "if (*pcVar9 == ';') {\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "(*pcVar9 == ';')" ( (binary_expression "*pcVar9 == ';'" (pointer_expression "*pcVar9" * identifier) == (char_literal "';'" ' character ')) )) (compound_statement "{\n          local_40 = pcVar9 + 1;\n          pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_34 = pcVar9;\n          if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }\n        }" { (expression_statement "local_40 = pcVar9 + 1;" (assignment_expression "local_40 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3));" (assignment_expression "pcVar9 = strpbrk(local_40,(char *)((int)&seps_8155 + 3))" identifier = (call_expression "strpbrk(local_40,(char *)((int)&seps_8155 + 3))" identifier (argument_list "(local_40,(char *)((int)&seps_8155 + 3))" ( identifier , (cast_expression "(char *)((int)&seps_8155 + 3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 3)" ( (binary_expression "(int)&seps_8155 + 3" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) ))) )))) ;) (expression_statement "pcVar7 = (char *)((int)&seps_8155 + 4);" (assignment_expression "pcVar7 = (char *)((int)&seps_8155 + 4)" identifier = (cast_expression "(char *)((int)&seps_8155 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 4)" ( (binary_expression "(int)&seps_8155 + 4" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) )))) ;) (expression_statement "local_34 = pcVar9;" (assignment_expression "local_34 = pcVar9" identifier = identifier) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_40);\n            pcVar9 = local_40 + sVar5;\n            local_34 = pcVar9;\n          }" { (expression_statement "sVar5 = strlen(local_40);" (assignment_expression "sVar5 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar9 = local_40 + sVar5;" (assignment_expression "pcVar9 = local_40 + sVar5" identifier = (binary_expression "local_40 + sVar5" identifier + identifier)) ;) (expression_statement "local_34 = pcVar9;" (assignment_expression "local_34 = pcVar9" identifier = identifier) ;) })) }) (else_clause "else {\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }" else (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = (char *)((int)&seps_8155 + 4);\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = (char *)((int)&seps_8155 + 4);" (assignment_expression "pcVar7 = (char *)((int)&seps_8155 + 4)" identifier = (cast_expression "(char *)((int)&seps_8155 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&seps_8155 + 4)" ( (binary_expression "(int)&seps_8155 + 4" (cast_expression "(int)&seps_8155" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&seps_8155" & identifier)) + number_literal) )))) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))))) (expression_statement "local_3c = (char *)0x0;" (assignment_expression "local_3c = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = (char *)0x0;" (assignment_expression "local_48 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar2 & 4) != 0) {\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if (*pcVar9 == '?') {\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }" if (parenthesized_expression "(*pcVar9 == '?')" ( (binary_expression "*pcVar9 == '?'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'?'" ' character ')) )) (compound_statement "{\n            local_48 = pcVar9 + 1;\n            pcVar9 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar9;\n            if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }\n          }" { (expression_statement "local_48 = pcVar9 + 1;" (assignment_expression "local_48 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "pcVar9 = strpbrk(local_48,pcVar7);" (assignment_expression "pcVar9 = strpbrk(local_48,pcVar7)" identifier = (call_expression "strpbrk(local_48,pcVar7)" identifier (argument_list "(local_48,pcVar7)" ( identifier , identifier )))) ;) (expression_statement "local_3c = pcVar9;" (assignment_expression "local_3c = pcVar9" identifier = identifier) ;) (if_statement "if (pcVar9 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar5 = strlen(local_48);\n              pcVar9 = local_48 + sVar5;\n              local_3c = pcVar9;\n            }" { (expression_statement "sVar5 = strlen(local_48);" (assignment_expression "sVar5 = strlen(local_48)" identifier = (call_expression "strlen(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (expression_statement "pcVar9 = local_48 + sVar5;" (assignment_expression "pcVar9 = local_48 + sVar5" identifier = (binary_expression "local_48 + sVar5" identifier + identifier)) ;) (expression_statement "local_3c = pcVar9;" (assignment_expression "local_3c = pcVar9" identifier = identifier) ;) })) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = (char *)0x0;" (assignment_expression "local_44 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar2 & 8) != 0) && (*pcVar9 == '#')) {\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" if (parenthesized_expression "(((uVar2 & 8) != 0) && (*pcVar9 == '#'))" ( (binary_expression "((uVar2 & 8) != 0) && (*pcVar9 == '#')" (parenthesized_expression "((uVar2 & 8) != 0)" ( (binary_expression "(uVar2 & 8) != 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*pcVar9 == '#')" ( (binary_expression "*pcVar9 == '#'" (pointer_expression "*pcVar9" * identifier) == (char_literal "'#'" ' character ')) ))) )) (compound_statement "{\n          local_44 = pcVar9 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" { (expression_statement "local_44 = pcVar9 + 1;" (assignment_expression "local_44 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "local_38 = strpbrk(local_44,pcVar7);" (assignment_expression "local_38 = strpbrk(local_44,pcVar7)" identifier = (call_expression "strpbrk(local_44,pcVar7)" identifier (argument_list "(local_44,pcVar7)" ( identifier , identifier )))) ;) (if_statement "if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" if (parenthesized_expression "(local_38 == (char *)0x0)" ( (binary_expression "local_38 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(local_44);" (assignment_expression "sVar5 = strlen(local_44)" identifier = (call_expression "strlen(local_44)" identifier (argument_list "(local_44)" ( identifier )))) ;) (expression_statement "local_38 = local_44 + sVar5;" (assignment_expression "local_38 = local_44 + sVar5" identifier = (binary_expression "local_44 + sVar5" identifier + identifier)) ;) })) })) (if_statement "if (pcVar6 == pcVar12) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }" if (parenthesized_expression "(pcVar6 == pcVar12)" ( (binary_expression "pcVar6 == pcVar12" identifier == identifier) )) (compound_statement "{\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }" { (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_64 = (char *)0x0;" (assignment_expression "local_64 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }" else (compound_statement "{\n          pcVar12 = pcVar12 + -1;\n          if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar9;\n          if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }\n          local_64 = strdupdelim(pcVar6,pcVar12);\n          url_unescape_1(local_64,'\0');\n        }" { (expression_statement "pcVar12 = pcVar12 + -1;" (assignment_expression "pcVar12 = pcVar12 + -1" identifier = (binary_expression "pcVar12 + -1" identifier + number_literal)) ;) (if_statement "if ((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             ) {\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }" if (parenthesized_expression "((pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)\n             )" ( (binary_expression "(pcVar12 == pcVar6) ||\n             (pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)" (parenthesized_expression "(pcVar12 == pcVar6)" ( (binary_expression "pcVar12 == pcVar6" identifier == identifier) )) || (parenthesized_expression "(pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9)" ( (comma_expression "pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6), pcVar6 == pcVar9" (assignment_expression "pcVar9 = (char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6)" identifier = (cast_expression "(char *)rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "rpl_memchr(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6)" identifier (argument_list "(pcVar6,0x3a,(int)pcVar12 - (int)pcVar6)" ( identifier , number_literal , (binary_expression "(int)pcVar12 - (int)pcVar6" (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) , (binary_expression "pcVar6 == pcVar9" identifier == identifier)) ))) )) (compound_statement "{\n            iVar13 = 5;\n            goto LAB_0004639d;\n          }" { (expression_statement "iVar13 = 5;" (assignment_expression "iVar13 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = pcVar9;" (assignment_expression "pcVar7 = pcVar9" identifier = identifier) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);\n            url_unescape_1(pcVar7,'\0');\n            pcVar12 = pcVar9;\n          }" { (expression_statement "pcVar7 = strdupdelim(pcVar9 + 1,pcVar12);" (assignment_expression "pcVar7 = strdupdelim(pcVar9 + 1,pcVar12)" identifier = (call_expression "strdupdelim(pcVar9 + 1,pcVar12)" identifier (argument_list "(pcVar9 + 1,pcVar12)" ( (binary_expression "pcVar9 + 1" identifier + number_literal) , identifier )))) ;) (expression_statement "url_unescape_1(pcVar7,'\0');" (call_expression "url_unescape_1(pcVar7,'\0')" identifier (argument_list "(pcVar7,'\0')" ( identifier , (char_literal "'\0'" ' escape_sequence ') ))) ;) (expression_statement "pcVar12 = pcVar9;" (assignment_expression "pcVar12 = pcVar9" identifier = identifier) ;) })) (expression_statement "local_64 = strdupdelim(pcVar6,pcVar12);" (assignment_expression "local_64 = strdupdelim(pcVar6,pcVar12)" identifier = (call_expression "strdupdelim(pcVar6,pcVar12)" identifier (argument_list "(pcVar6,pcVar12)" ( identifier , identifier )))) ;) (expression_statement "url_unescape_1(local_64,'\0');" (call_expression "url_unescape_1(local_64,'\0')" identifier (argument_list "(local_64,'\0')" ( identifier , (char_literal "'\0'" ' escape_sequence ') ))) ;) }))) (expression_statement "url_00 = (url *)xcalloc(1,0x30);" (assignment_expression "url_00 = (url *)xcalloc(1,0x30)" identifier = (cast_expression "(url *)xcalloc(1,0x30)" ( (type_descriptor "url *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xcalloc(1,0x30)" identifier (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "url_00->scheme = uVar4;" (assignment_expression "url_00->scheme = uVar4" (field_expression "url_00->scheme" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar12 = strdupdelim(local_70,local_60);" (assignment_expression "pcVar12 = strdupdelim(local_70,local_60)" identifier = (call_expression "strdupdelim(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (expression_statement "url_00->passwd = pcVar7;" (assignment_expression "url_00->passwd = pcVar7" (field_expression "url_00->passwd" identifier -> field_identifier) = identifier) ;) (expression_statement "url_00->host = pcVar12;" (assignment_expression "url_00->host = pcVar12" (field_expression "url_00->host" identifier -> field_identifier) = identifier) ;) (expression_statement "url_00->port = local_4c;" (assignment_expression "url_00->port = local_4c" (field_expression "url_00->port" identifier -> field_identifier) = identifier) ;) (expression_statement "url_00->user = local_64;" (assignment_expression "url_00->user = local_64" (field_expression "url_00->user" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar12 = strdupdelim(local_54,local_50);" (assignment_expression "pcVar12 = strdupdelim(local_54,local_50)" identifier = (call_expression "strdupdelim(local_54,local_50)" identifier (argument_list "(local_54,local_50)" ( identifier , identifier )))) ;) (expression_statement "url_00->path = pcVar12;" (assignment_expression "url_00->path = pcVar12" (field_expression "url_00->path" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar5 = strlen(pcVar12);" (assignment_expression "sVar5 = strlen(pcVar12)" identifier = (call_expression "strlen(pcVar12)" identifier (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "pcVar6 = pcVar12 + sVar5;" (assignment_expression "pcVar6 = pcVar12 + sVar5" identifier = (binary_expression "pcVar12 + sVar5" identifier + identifier)) ;) (if_statement "if (pcVar12 < pcVar6) {\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }\n        else {\n          bVar15 = false;\n        }" if (parenthesized_expression "(pcVar12 < pcVar6)" ( (binary_expression "pcVar12 < pcVar6" identifier < identifier) )) (compound_statement "{\n          pcVar7 = pcVar12;\n          local_64 = pcVar12;\n          do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);\n          bVar15 = pcVar7 != pcVar12;\nLAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar12 = url_00->path;\n        }" { (expression_statement "pcVar7 = pcVar12;" (assignment_expression "pcVar7 = pcVar12" identifier = identifier) ;) (expression_statement "local_64 = pcVar12;" (assignment_expression "local_64 = pcVar12" identifier = identifier) ;) (do_statement "do {\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          } while (pcVar12 < pcVar6);" do (compound_statement "{\n            cVar10 = *pcVar12;\n            if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }\n          }" { (expression_statement "cVar10 = *pcVar12;" (assignment_expression "cVar10 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (if_statement "if (cVar10 == '.') {\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }" if (parenthesized_expression "(cVar10 == '.')" ( (binary_expression "cVar10 == '.'" identifier == (char_literal "'.'" ' character ')) )) (compound_statement "{\n              cVar1 = pcVar12[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }\n            }" { (expression_statement "cVar1 = pcVar12[1];" (assignment_expression "cVar1 = pcVar12[1]" identifier = (subscript_expression "pcVar12[1]" identifier [ number_literal ])) ;) (if_statement "if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar12 = pcVar12 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }" if (parenthesized_expression "((cVar1 == '/') || (cVar1 == '\0'))" ( (binary_expression "(cVar1 == '/') || (cVar1 == '\0')" (parenthesized_expression "(cVar1 == '/')" ( (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pcVar12 = pcVar12 + 2;\n              }" { (expression_statement "pcVar12 = pcVar12 + 2;" (assignment_expression "pcVar12 = pcVar12 + 2" identifier = (binary_expression "pcVar12 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }" else (compound_statement "{\n                if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar12 = pcVar12 + 3;\n                pcVar7 = pcVar9;\n              }" { (if_statement "if ((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))\n                goto LAB_000465d0;" if (parenthesized_expression "((cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0'))))" ( (binary_expression "(cVar1 != '.') || ((pcVar12[2] != '/' && (pcVar12[2] != '\0')))" (parenthesized_expression "(cVar1 != '.')" ( (binary_expression "cVar1 != '.'" identifier != (char_literal "'.'" ' character ')) )) || (parenthesized_expression "((pcVar12[2] != '/' && (pcVar12[2] != '\0')))" ( (parenthesized_expression "(pcVar12[2] != '/' && (pcVar12[2] != '\0'))" ( (binary_expression "pcVar12[2] != '/' && (pcVar12[2] != '\0')" (binary_expression "pcVar12[2] != '/'" (subscript_expression "pcVar12[2]" identifier [ number_literal ]) != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar12[2] != '\0')" ( (binary_expression "pcVar12[2] != '\0'" (subscript_expression "pcVar12[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;)) (if_statement "if (local_64 < pcVar7) {\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" if (parenthesized_expression "(local_64 < pcVar7)" ( (binary_expression "local_64 < pcVar7" identifier < identifier) )) (compound_statement "{\n                  pcVar9 = pcVar7 + -1;\n                  if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }" { (expression_statement "pcVar9 = pcVar7 + -1;" (assignment_expression "pcVar9 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) (if_statement "if (local_64 < pcVar9) {\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" if (parenthesized_expression "(local_64 < pcVar9)" ( (binary_expression "local_64 < pcVar9" identifier < identifier) )) (compound_statement "{\n                    cVar10 = pcVar7[-2];\n                    pcVar7 = pcVar9;\n                    while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" { (expression_statement "cVar10 = pcVar7[-2];" (assignment_expression "cVar10 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar9;" (assignment_expression "pcVar7 = pcVar9" identifier = identifier) ;) (while_statement "while ((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" while (parenthesized_expression "((pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64)))" ( (parenthesized_expression "(pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64))" ( (comma_expression "pcVar9 = pcVar7, cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64)" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) , (binary_expression "cVar10 != '/' &&\n                           (pcVar9 = local_64, pcVar7 + -1 != local_64)" (binary_expression "cVar10 != '/'" identifier != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar9 = local_64, pcVar7 + -1 != local_64)" ( (comma_expression "pcVar9 = local_64, pcVar7 + -1 != local_64" (assignment_expression "pcVar9 = local_64" identifier = identifier) , (binary_expression "pcVar7 + -1 != local_64" (binary_expression "pcVar7 + -1" identifier + number_literal) != identifier)) )))) )) )) (compound_statement "{\n                      cVar10 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" { (expression_statement "cVar10 = pcVar7[-2];" (assignment_expression "cVar10 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) })) })) }) (else_clause "else {\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" else (compound_statement "{\n                  pcVar9 = pcVar7;\n                  if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" { (expression_statement "pcVar9 = pcVar7;" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) ;) (if_statement "if (uVar4 - SCHEME_FTP < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" if (parenthesized_expression "(uVar4 - SCHEME_FTP < 2)" ( (binary_expression "uVar4 - SCHEME_FTP < 2" (binary_expression "uVar4 - SCHEME_FTP" identifier - identifier) < number_literal) )) (compound_statement "{\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" { (expression_statement "local_64 = pcVar7 + 3;" (assignment_expression "local_64 = pcVar7 + 3" identifier = (binary_expression "pcVar7 + 3" identifier + number_literal)) ;) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;) })) }))) (expression_statement "pcVar12 = pcVar12 + 3;" (assignment_expression "pcVar12 = pcVar12 + 3" identifier = (binary_expression "pcVar12 + 3" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar9;" (assignment_expression "pcVar7 = pcVar9" identifier = identifier) ;) }))) }) (else_clause "else {\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }" else (compound_statement "{\nLAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }\n            }" { (labeled_statement "LAB_000465d0:\n              if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }" statement_identifier : (if_statement "if (pcVar12 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }\n              else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }" if (parenthesized_expression "(pcVar12 == pcVar7)" ( (binary_expression "pcVar12 == pcVar7" identifier == identifier) )) (compound_statement "{\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar12 = pcVar7 + 1;\n                pcVar7 = pcVar12;\n              }" { (if_statement "if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar7)" ( (binary_expression "pcVar6 <= pcVar7" identifier <= identifier) )) (compound_statement "{\nLAB_000467c0:\n                  bVar15 = false;\n                  goto LAB_00046627;\n                }" { (labeled_statement "LAB_000467c0:\n                  bVar15 = false;" statement_identifier : (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;)) (goto_statement "goto LAB_00046627;" goto statement_identifier ;) })) (while_statement "while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" while (parenthesized_expression "(*pcVar7 != '/')" ( (binary_expression "*pcVar7 != '/'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6 == pcVar7) goto LAB_000467c0;" if (parenthesized_expression "(pcVar6 == pcVar7)" ( (binary_expression "pcVar6 == pcVar7" identifier == identifier) )) (goto_statement "goto LAB_000467c0;" goto statement_identifier ;)) })) (expression_statement "pcVar12 = pcVar7 + 1;" (assignment_expression "pcVar12 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar12;" (assignment_expression "pcVar7 = pcVar12" identifier = identifier) ;) }) (else_clause "else {\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }" else (compound_statement "{\n                if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }\n                pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);\n                pcVar9 = pcVar7;\n                while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }\n                *pcVar9 = '/';\n                pcVar12 = pcVar12 + 1;\n                pcVar7 = pcVar9 + 1;\n              }" { (if_statement "if (pcVar6 <= pcVar12) {\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar12)" ( (binary_expression "pcVar6 <= pcVar12" identifier <= identifier) )) (compound_statement "{\nLAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;\n                  goto LAB_00046620;\n                }" { (labeled_statement "LAB_00046619:\n                  bVar15 = pcVar7 != pcVar12;" statement_identifier : (expression_statement "bVar15 = pcVar7 != pcVar12;" (assignment_expression "bVar15 = pcVar7 != pcVar12" identifier = (binary_expression "pcVar7 != pcVar12" identifier != identifier)) ;)) (goto_statement "goto LAB_00046620;" goto statement_identifier ;) })) (expression_statement "pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12);" (assignment_expression "pcVar14 = pcVar7 + ((int)pcVar6 - (int)pcVar12)" identifier = (binary_expression "pcVar7 + ((int)pcVar6 - (int)pcVar12)" identifier + (parenthesized_expression "((int)pcVar6 - (int)pcVar12)" ( (binary_expression "(int)pcVar6 - (int)pcVar12" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pcVar9 = pcVar7;" (assignment_expression "pcVar9 = pcVar7" identifier = identifier) ;) (while_statement "while (cVar10 != '/') {\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }" while (parenthesized_expression "(cVar10 != '/')" ( (binary_expression "cVar10 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar12 = pcVar12 + 1;\n                  *pcVar9 = cVar10;\n                  pcVar7 = pcVar14;\n                  if (pcVar9 + 1 == pcVar14) goto LAB_00046619;\n                  pcVar9 = pcVar9 + 1;\n                  cVar10 = *pcVar12;\n                }" { (expression_statement "pcVar12 = pcVar12 + 1;" (assignment_expression "pcVar12 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar9 = cVar10;" (assignment_expression "*pcVar9 = cVar10" (pointer_expression "*pcVar9" * identifier) = identifier) ;) (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" identifier = identifier) ;) (if_statement "if (pcVar9 + 1 == pcVar14) goto LAB_00046619;" if (parenthesized_expression "(pcVar9 + 1 == pcVar14)" ( (binary_expression "pcVar9 + 1 == pcVar14" (binary_expression "pcVar9 + 1" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00046619;" goto statement_identifier ;)) (expression_statement "pcVar9 = pcVar9 + 1;" (assignment_expression "pcVar9 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) (expression_statement "cVar10 = *pcVar12;" (assignment_expression "cVar10 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) })) (expression_statement "*pcVar9 = '/';" (assignment_expression "*pcVar9 = '/'" (pointer_expression "*pcVar9" * identifier) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar12 = pcVar12 + 1;" (assignment_expression "pcVar12 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar9 + 1;" (assignment_expression "pcVar7 = pcVar9 + 1" identifier = (binary_expression "pcVar9 + 1" identifier + number_literal)) ;) })))) }))) }) while (parenthesized_expression "(pcVar12 < pcVar6)" ( (binary_expression "pcVar12 < pcVar6" identifier < identifier) )) ;) (expression_statement "bVar15 = pcVar7 != pcVar12;" (assignment_expression "bVar15 = pcVar7 != pcVar12" identifier = (binary_expression "pcVar7 != pcVar12" identifier != identifier)) ;) (labeled_statement "LAB_00046620:\n          if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }" statement_identifier : (if_statement "if (pcVar12 != pcVar7) {\n            *pcVar7 = '\0';\n          }" if (parenthesized_expression "(pcVar12 != pcVar7)" ( (binary_expression "pcVar12 != pcVar7" identifier != identifier) )) (compound_statement "{\n            *pcVar7 = '\0';\n          }" { (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }))) (labeled_statement "LAB_00046627:\n          pcVar12 = url_00->path;" statement_identifier : (expression_statement "pcVar12 = url_00->path;" (assignment_expression "pcVar12 = url_00->path" identifier = (field_expression "url_00->path" identifier -> field_identifier)) ;)) }) (else_clause "else {\n          bVar15 = false;\n        }" else (compound_statement "{\n          bVar15 = false;\n        }" { (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) }))) (expression_statement "pcVar6 = strrchr(pcVar12,0x2f);" (assignment_expression "pcVar6 = strrchr(pcVar12,0x2f)" identifier = (call_expression "strrchr(pcVar12,0x2f)" identifier (argument_list "(pcVar12,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }\n        else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar6 = xstrdup("");\n          url_00->dir = pcVar6;\n          pcVar12 = xstrdup(pcVar12);\n          url_00->file = pcVar12;\n        }" { (expression_statement "pcVar6 = xstrdup("");" (assignment_expression "pcVar6 = xstrdup("")" identifier = (call_expression "xstrdup("")" identifier (argument_list "("")" ( (string_literal """" " ") )))) ;) (expression_statement "url_00->dir = pcVar6;" (assignment_expression "url_00->dir = pcVar6" (field_expression "url_00->dir" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar12 = xstrdup(pcVar12);" (assignment_expression "pcVar12 = xstrdup(pcVar12)" identifier = (call_expression "xstrdup(pcVar12)" identifier (argument_list "(pcVar12)" ( identifier )))) ;) (expression_statement "url_00->file = pcVar12;" (assignment_expression "url_00->file = pcVar12" (field_expression "url_00->file" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }" else (compound_statement "{\n          pcVar12 = strdupdelim(pcVar12,pcVar6);\n          url_00->dir = pcVar12;\n          pcVar12 = xstrdup(pcVar6 + 1);\n          url_00->file = pcVar12;\n        }" { (expression_statement "pcVar12 = strdupdelim(pcVar12,pcVar6);" (assignment_expression "pcVar12 = strdupdelim(pcVar12,pcVar6)" identifier = (call_expression "strdupdelim(pcVar12,pcVar6)" identifier (argument_list "(pcVar12,pcVar6)" ( identifier , identifier )))) ;) (expression_statement "url_00->dir = pcVar12;" (assignment_expression "url_00->dir = pcVar12" (field_expression "url_00->dir" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar12 = xstrdup(pcVar6 + 1);" (assignment_expression "pcVar12 = xstrdup(pcVar6 + 1)" identifier = (call_expression "xstrdup(pcVar6 + 1)" identifier (argument_list "(pcVar6 + 1)" ( (binary_expression "pcVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "url_00->file = pcVar12;" (assignment_expression "url_00->file = pcVar12" (field_expression "url_00->file" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "bVar11 = 0;" (assignment_expression "bVar11 = 0" identifier = number_literal) ;) (expression_statement "url_unescape_1(url_00->dir,'\0');" (call_expression "url_unescape_1(url_00->dir,'\0')" identifier (argument_list "(url_00->dir,'\0')" ( (field_expression "url_00->dir" identifier -> field_identifier) , (char_literal "'\0'" ' escape_sequence ') ))) ;) (expression_statement "url_unescape_1(url_00->file,'\0');" (call_expression "url_unescape_1(url_00->file,'\0')" identifier (argument_list "(url_00->file,'\0')" ( (field_expression "url_00->file" identifier -> field_identifier) , (char_literal "'\0'" ' escape_sequence ') ))) ;) (expression_statement "pcVar12 = url_00->host;" (assignment_expression "pcVar12 = url_00->host" identifier = (field_expression "url_00->host" identifier -> field_identifier)) ;) (expression_statement "cVar10 = *pcVar12;" (assignment_expression "cVar10 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (if_statement "if (cVar10 != '\0') {\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }" if (parenthesized_expression "(cVar10 != '\0')" ( (binary_expression "cVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');\n          pcVar12 = url_00->host;\n        }" { (do_statement "do {\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          } while (cVar10 != '\0');" do (compound_statement "{\n            if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }\n            pcVar12 = pcVar12 + 1;\n            cVar10 = *pcVar12;\n          }" { (if_statement "if ((int)cVar10 - 0x41U < 0x1a) {\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }" if (parenthesized_expression "((int)cVar10 - 0x41U < 0x1a)" ( (binary_expression "(int)cVar10 - 0x41U < 0x1a" (binary_expression "(int)cVar10 - 0x41U" (cast_expression "(int)cVar10" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) < number_literal) )) (compound_statement "{\n              bVar11 = 1;\n              *pcVar12 = cVar10 + ' ';\n            }" { (expression_statement "bVar11 = 1;" (assignment_expression "bVar11 = 1" identifier = number_literal) ;) (expression_statement "*pcVar12 = cVar10 + ' ';" (assignment_expression "*pcVar12 = cVar10 + ' '" (pointer_expression "*pcVar12" * identifier) = (binary_expression "cVar10 + ' '" identifier + (char_literal "' '" ' character '))) ;) })) (expression_statement "pcVar12 = pcVar12 + 1;" (assignment_expression "pcVar12 = pcVar12 + 1" identifier = (binary_expression "pcVar12 + 1" identifier + number_literal)) ;) (expression_statement "cVar10 = *pcVar12;" (assignment_expression "cVar10 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) }) while (parenthesized_expression "(cVar10 != '\0')" ( (binary_expression "cVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pcVar12 = url_00->host;" (assignment_expression "pcVar12 = url_00->host" identifier = (field_expression "url_00->host" identifier -> field_identifier)) ;) })) (expression_statement "pcVar6 = strchr(pcVar12,0x25);" (assignment_expression "pcVar6 = strchr(pcVar12,0x25)" identifier = (call_expression "strchr(pcVar12,0x25)" identifier (argument_list "(pcVar12,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar6 != (char *)0x0) {\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }" if (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          url_unescape_1(pcVar12,'\0');\n          pcVar12 = url_00->host;\n          cVar10 = *pcVar12;\n          pcVar6 = pcVar12;\n          while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }\n          bVar11 = iri != (iri *)0x0 & opt.enable_iri;\n          if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }\n        }" { (expression_statement "url_unescape_1(pcVar12,'\0');" (call_expression "url_unescape_1(pcVar12,'\0')" identifier (argument_list "(pcVar12,'\0')" ( identifier , (char_literal "'\0'" ' escape_sequence ') ))) ;) (expression_statement "pcVar12 = url_00->host;" (assignment_expression "pcVar12 = url_00->host" identifier = (field_expression "url_00->host" identifier -> field_identifier)) ;) (expression_statement "cVar10 = *pcVar12;" (assignment_expression "cVar10 = *pcVar12" identifier = (pointer_expression "*pcVar12" * identifier)) ;) (expression_statement "pcVar6 = pcVar12;" (assignment_expression "pcVar6 = pcVar12" identifier = identifier) ;) (while_statement "while (cVar10 != '\0') {\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }" while (parenthesized_expression "(cVar10 != '\0')" ( (binary_expression "cVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar10 = *pcVar6;\n          }" { (if_statement "if (('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))) {\n              url_free(url_00);\n              goto LAB_00046398;\n            }" if (parenthesized_expression "(('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f'))))" ( (binary_expression "('\0' < cVar10) && ((cVar10 < ' ' || (cVar10 == '\x7f')))" (parenthesized_expression "('\0' < cVar10)" ( (binary_expression "'\0' < cVar10" (char_literal "'\0'" ' escape_sequence ') < identifier) )) && (parenthesized_expression "((cVar10 < ' ' || (cVar10 == '\x7f')))" ( (parenthesized_expression "(cVar10 < ' ' || (cVar10 == '\x7f'))" ( (binary_expression "cVar10 < ' ' || (cVar10 == '\x7f')" (binary_expression "cVar10 < ' '" identifier < (char_literal "' '" ' character ')) || (parenthesized_expression "(cVar10 == '\x7f')" ( (binary_expression "cVar10 == '\x7f'" identifier == (char_literal "'\x7f'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n              url_free(url_00);\n              goto LAB_00046398;\n            }" { (expression_statement "url_free(url_00);" (call_expression "url_free(url_00)" identifier (argument_list "(url_00)" ( identifier ))) ;) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar10 = *pcVar6;" (assignment_expression "cVar10 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (expression_statement "bVar11 = iri != (iri *)0x0 & opt.enable_iri;" (assignment_expression "bVar11 = iri != (iri *)0x0 & opt.enable_iri" identifier = (binary_expression "iri != (iri *)0x0 & opt.enable_iri" (binary_expression "iri != (iri *)0x0" identifier != (cast_expression "(iri *)0x0" ( (type_descriptor "iri *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) & (field_expression "opt.enable_iri" identifier . field_identifier))) ;) (if_statement "if ((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)) {\n            bVar11 = 1;\n          }\n          else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }" if (parenthesized_expression "((bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0))" ( (binary_expression "(bVar11 == 0) || (pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)" (parenthesized_expression "(bVar11 == 0)" ( (binary_expression "bVar11 == 0" identifier == number_literal) )) || (parenthesized_expression "(pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0)" ( (comma_expression "pcVar12 = idn_encode(iri,pcVar12), pcVar12 == (char *)0x0" (assignment_expression "pcVar12 = idn_encode(iri,pcVar12)" identifier = (call_expression "idn_encode(iri,pcVar12)" identifier (argument_list "(iri,pcVar12)" ( identifier , identifier )))) , (binary_expression "pcVar12 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n            bVar11 = 1;\n          }" { (expression_statement "bVar11 = 1;" (assignment_expression "bVar11 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }" else (compound_statement "{\n            free(url_00->host);\n            url_00->host = pcVar12;\n          }" { (expression_statement "free(url_00->host);" (call_expression "free(url_00->host)" identifier (argument_list "(url_00->host)" ( (field_expression "url_00->host" identifier -> field_identifier) ))) ;) (expression_statement "url_00->host = pcVar12;" (assignment_expression "url_00->host = pcVar12" (field_expression "url_00->host" identifier -> field_identifier) = identifier) ;) }))) })) (if_statement "if (local_40 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }" if (parenthesized_expression "(local_40 != (char *)0x0)" ( (binary_expression "local_40 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar12 = strdupdelim(local_40,local_34);\n          url_00->params = pcVar12;\n        }" { (expression_statement "pcVar12 = strdupdelim(local_40,local_34);" (assignment_expression "pcVar12 = strdupdelim(local_40,local_34)" identifier = (call_expression "strdupdelim(local_40,local_34)" identifier (argument_list "(local_40,local_34)" ( identifier , identifier )))) ;) (expression_statement "url_00->params = pcVar12;" (assignment_expression "url_00->params = pcVar12" (field_expression "url_00->params" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (local_48 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }" if (parenthesized_expression "(local_48 != (char *)0x0)" ( (binary_expression "local_48 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar12 = strdupdelim(local_48,local_3c);\n          url_00->query = pcVar12;\n        }" { (expression_statement "pcVar12 = strdupdelim(local_48,local_3c);" (assignment_expression "pcVar12 = strdupdelim(local_48,local_3c)" identifier = (call_expression "strdupdelim(local_48,local_3c)" identifier (argument_list "(local_48,local_3c)" ( identifier , identifier )))) ;) (expression_statement "url_00->query = pcVar12;" (assignment_expression "url_00->query = pcVar12" (field_expression "url_00->query" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (local_44 != (char *)0x0) {\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }" if (parenthesized_expression "(local_44 != (char *)0x0)" ( (binary_expression "local_44 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          pcVar12 = strdupdelim(local_44,local_38);\n          url_00->fragment = pcVar12;\n        }" { (expression_statement "pcVar12 = strdupdelim(local_44,local_38);" (assignment_expression "pcVar12 = strdupdelim(local_44,local_38)" identifier = (call_expression "strdupdelim(local_44,local_38)" identifier (argument_list "(local_44,local_38)" ( identifier , identifier )))) ;) (expression_statement "url_00->fragment = pcVar12;" (assignment_expression "url_00->fragment = pcVar12" (field_expression "url_00->fragment" identifier -> field_identifier) = identifier) ;) })) (if_statement "if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))) {\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }" if (parenthesized_expression "((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0))))" ( (binary_expression "(((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||\n           ((local_54 == local_50 || (bVar11 != 0)))" (parenthesized_expression "(((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0))" ( (binary_expression "((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)" (parenthesized_expression "((opt.enable_iri != false) || (bVar15))" ( (binary_expression "(opt.enable_iri != false) || (bVar15)" (parenthesized_expression "(opt.enable_iri != false)" ( (binary_expression "opt.enable_iri != false" (field_expression "opt.enable_iri" identifier . field_identifier) != false) )) || (parenthesized_expression "(bVar15)" ( identifier ))) )) || (parenthesized_expression "(url_00->fragment != (char *)0x0)" ( (binary_expression "url_00->fragment != (char *)0x0" (field_expression "url_00->fragment" identifier -> field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) || (parenthesized_expression "((local_54 == local_50 || (bVar11 != 0)))" ( (parenthesized_expression "(local_54 == local_50 || (bVar11 != 0))" ( (binary_expression "local_54 == local_50 || (bVar11 != 0)" (binary_expression "local_54 == local_50" identifier == identifier) || (parenthesized_expression "(bVar11 != 0)" ( (binary_expression "bVar11 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          pcVar12 = url_string(url_00,URL_AUTH_SHOW);\n          url_00->url = pcVar12;\n          if (local_68 != url) {\n            free(local_68);\n          }\n        }" { (expression_statement "pcVar12 = url_string(url_00,URL_AUTH_SHOW);" (assignment_expression "pcVar12 = url_string(url_00,URL_AUTH_SHOW)" identifier = (call_expression "url_string(url_00,URL_AUTH_SHOW)" identifier (argument_list "(url_00,URL_AUTH_SHOW)" ( identifier , identifier )))) ;) (expression_statement "url_00->url = pcVar12;" (assignment_expression "url_00->url = pcVar12" (field_expression "url_00->url" identifier -> field_identifier) = identifier) ;) (if_statement "if (local_68 != url) {\n            free(local_68);\n          }" if (parenthesized_expression "(local_68 != url)" ( (binary_expression "local_68 != url" identifier != identifier) )) (compound_statement "{\n            free(local_68);\n          }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) })) }) (else_clause "else if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }" else (if_statement "if (local_68 == url) {\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }\n        else {\n          url_00->url = local_68;\n        }" if (parenthesized_expression "(local_68 == url)" ( (binary_expression "local_68 == url" identifier == identifier) )) (compound_statement "{\n          pcVar12 = xstrdup(local_68);\n          url_00->url = pcVar12;\n        }" { (expression_statement "pcVar12 = xstrdup(local_68);" (assignment_expression "pcVar12 = xstrdup(local_68)" identifier = (call_expression "xstrdup(local_68)" identifier (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "url_00->url = pcVar12;" (assignment_expression "url_00->url = pcVar12" (field_expression "url_00->url" identifier -> field_identifier) = identifier) ;) }) (else_clause "else {\n          url_00->url = local_68;\n        }" else (compound_statement "{\n          url_00->url = local_68;\n        }" { (expression_statement "url_00->url = local_68;" (assignment_expression "url_00->url = local_68" (field_expression "url_00->url" identifier -> field_identifier) = identifier) ;) }))))) (goto_statement "goto LAB_000463c5;" goto statement_identifier ;) }))) (labeled_statement "LAB_00046398:\n      iVar13 = 3;" statement_identifier : (expression_statement "iVar13 = 3;" (assignment_expression "iVar13 = 3" identifier = number_literal) ;)) }))) (labeled_statement "LAB_0004639d:\n    if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }" statement_identifier : (if_statement "if ((local_68 != (char *)0x0) && (local_68 != url)) {\n      free(local_68);\n    }" if (parenthesized_expression "((local_68 != (char *)0x0) && (local_68 != url))" ( (binary_expression "(local_68 != (char *)0x0) && (local_68 != url)" (parenthesized_expression "(local_68 != (char *)0x0)" ( (binary_expression "local_68 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_68 != url)" ( (binary_expression "local_68 != url" identifier != identifier) ))) )) (compound_statement "{\n      free(local_68);\n    }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) }))) }))) (expression_statement "url_00 = (url *)0x0;" (assignment_expression "url_00 = (url *)0x0" identifier = (cast_expression "(url *)0x0" ( (type_descriptor "url *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (error != (int *)0x0) {\n    *error = iVar13;\n  }" if (parenthesized_expression "(error != (int *)0x0)" ( (binary_expression "error != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *error = iVar13;\n  }" { (expression_statement "*error = iVar13;" (assignment_expression "*error = iVar13" (pointer_expression "*error" * identifier) = identifier) ;) })) (labeled_statement "LAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return url_00;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return url_00;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return url_00;\n  }" { (return_statement "return url_00;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    \n  FUN_0006da50();\n}\n\n" (function_definition "undefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    \n  FUN_0006da50();\n}" type_identifier (pointer_declarator "* FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" * (function_declarator "FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" identifier (parameter_list "(void *param_1,int *param_2,int param_3,char param_4)" ( (parameter_declaration "void *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) )))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    \n  FUN_0006da50();\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "char *pcVar7;" primitive_type (pointer_declarator "*pcVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void *pvVar9;" primitive_type (pointer_declarator "*pvVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "char *pcVar14;" primitive_type (pointer_declarator "*pcVar14" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "char *local_70;" primitive_type (pointer_declarator "*local_70" * identifier) ;) (declaration "void *local_68;" primitive_type (pointer_declarator "*local_68" * identifier) ;) (declaration "char *local_64;" primitive_type (pointer_declarator "*local_64" * identifier) ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_54;" primitive_type (pointer_declarator "*local_54" * identifier) ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "uint local_4c;" type_identifier identifier ;) (declaration "char *local_48;" primitive_type (pointer_declarator "*local_48" * identifier) ;) (declaration "char *local_44;" primitive_type (pointer_declarator "*local_44" * identifier) ;) (declaration "char *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "char *local_3c;" primitive_type (pointer_declarator "*local_3c" * identifier) ;) (declaration "char *local_38;" primitive_type (pointer_declarator "*local_38" * identifier) ;) (declaration "char *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "void *local_24;" primitive_type (pointer_declarator "*local_24" * identifier) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x46179;" (assignment_expression "uStack_14 = 0x46179" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_00044c00(param_1);" (assignment_expression "iVar4 = FUN_00044c00(param_1)" identifier = (call_expression "FUN_00044c00(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" if (parenthesized_expression "(iVar4 == 4)" ( (binary_expression "iVar4 == 4" identifier == number_literal) )) (compound_statement "{\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }" { (expression_statement "cVar3 = FUN_00044c90(param_1);" (assignment_expression "cVar3 = FUN_00044c90(param_1)" identifier = (call_expression "FUN_00044c90(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar4 = (cVar3 == '\0') + 1;" (assignment_expression "iVar4 = (cVar3 == '\0') + 1" identifier = (binary_expression "(cVar3 == '\0') + 1" (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) + number_literal)) ;) }) (else_clause "else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" else (compound_statement "{\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" { (if_statement "if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" if (parenthesized_expression "((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0'))" ( (binary_expression "(param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')" (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) || (parenthesized_expression "(*(char *)(param_3 + 0xc) == '\0')" ( (binary_expression "*(char *)(param_3 + 0xc) == '\0'" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }" { (labeled_statement "LAB_000461df:\n      local_68 = param_1;" statement_identifier : (expression_statement "local_68 = param_1;" (assignment_expression "local_68 = param_1" identifier = identifier) ;)) (if_statement "if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }" if (parenthesized_expression "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        local_68 = (void *)FUN_00044a50();\n      }" { (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" identifier = (cast_expression "(void *)FUN_00044a50()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044a50()" identifier (argument_list "()" ( ))))) ;) })) }) (else_clause "else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" else (compound_statement "{\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" { (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pvVar9 = *(void **)(param_3 + 8);" (assignment_expression "pvVar9 = *(void **)(param_3 + 8)" identifier = (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) ))))) ;) (if_statement "if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }" if (parenthesized_expression "(*(void **)(param_3 + 8) == (void *)0x0)" ( (binary_expression "*(void **)(param_3 + 8) == (void *)0x0" (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pvVar9 = param_1;\n      }" { (expression_statement "pvVar9 = param_1;" (assignment_expression "pvVar9 = param_1" identifier = identifier) ;) })) (expression_statement "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);" (assignment_expression "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24)" identifier = (call_expression "FUN_0004f040(param_3,pvVar9,&local_24)" identifier (argument_list "(param_3,pvVar9,&local_24)" ( identifier , identifier , (pointer_expression "&local_24" & identifier) )))) ;) (expression_statement "*(char *)(param_3 + 0xc) = cVar3;" (assignment_expression "*(char *)(param_3 + 0xc) = cVar3" (pointer_expression "*(char *)(param_3 + 0xc)" * (cast_expression "(char *)(param_3 + 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 0xc)" ( (binary_expression "param_3 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (cVar3 == '\0') goto LAB_000461df;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_000461df;" goto statement_identifier ;)) (expression_statement "free(*(void **)(param_3 + 8));" (call_expression "free(*(void **)(param_3 + 8))" identifier (argument_list "(*(void **)(param_3 + 8))" ( (pointer_expression "*(void **)(param_3 + 8)" * (cast_expression "(void **)(param_3 + 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar12 = FUN_0005af70(param_1);" (assignment_expression "uVar12 = FUN_0005af70(param_1)" identifier = (call_expression "FUN_0005af70(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "*(undefined4 *)(param_3 + 8) = uVar12;" (assignment_expression "*(undefined4 *)(param_3 + 8) = uVar12" (pointer_expression "*(undefined4 *)(param_3 + 8)" * (cast_expression "(undefined4 *)(param_3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 8)" ( (binary_expression "param_3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" identifier = (cast_expression "(void *)FUN_00044a50()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00044a50()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_24 != local_68) {\n        free(local_24);\n      }" if (parenthesized_expression "(local_24 != local_68)" ( (binary_expression "local_24 != local_68" identifier != identifier) )) (compound_statement "{\n        free(local_24);\n      }" { (expression_statement "free(local_24);" (call_expression "free(local_24)" identifier (argument_list "(local_24)" ( identifier ))) ;) })) }))) (expression_statement "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);" (assignment_expression "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" identifier = (call_expression "strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" identifier (argument_list "((&PTR_s_http____000a11c4)[iVar4 * 4])" ( (subscript_expression "(&PTR_s_http____000a11c4)[iVar4 * 4]" (parenthesized_expression "(&PTR_s_http____000a11c4)" ( (pointer_expression "&PTR_s_http____000a11c4" & identifier) )) [ (binary_expression "iVar4 * 4" identifier * number_literal) ]) )))) ;) (expression_statement "pcVar6 = (char *)(sVar5 + (int)local_68);" (assignment_expression "pcVar6 = (char *)(sVar5 + (int)local_68)" identifier = (cast_expression "(char *)(sVar5 + (int)local_68)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar5 + (int)local_68)" ( (binary_expression "sVar5 + (int)local_68" identifier + (cast_expression "(int)local_68" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pcVar7 = strpbrk(pcVar6,"@/?#;");" (assignment_expression "pcVar7 = strpbrk(pcVar6,"@/?#;")" identifier = (call_expression "strpbrk(pcVar6,"@/?#;")" identifier (argument_list "(pcVar6,"@/?#;")" ( identifier , (string_literal ""@/?#;"" " string_content ") )))) ;) (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" identifier = identifier) ;) (if_statement "if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }" if (parenthesized_expression "((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@'))" ( (binary_expression "(pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')" (parenthesized_expression "(pcVar7 != (char *)0x0)" ( (binary_expression "pcVar7 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(pcVar14 = pcVar7 + 1, *pcVar7 != '@')" ( (comma_expression "pcVar14 = pcVar7 + 1, *pcVar7 != '@'" (assignment_expression "pcVar14 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) , (binary_expression "*pcVar7 != '@'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'@'" ' character '))) ))) )) (compound_statement "{\n      pcVar14 = pcVar6;\n    }" { (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" identifier = identifier) ;) })) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (expression_statement "puVar8 = &DAT_000a119e;" (assignment_expression "puVar8 = &DAT_000a119e" identifier = (pointer_expression "&DAT_000a119e" & identifier)) ;) (if_statement "if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" if (parenthesized_expression "((uVar2 & 2) != 0)" ( (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" { (expression_statement "DAT_000a119e = 0x3b;" (assignment_expression "DAT_000a119e = 0x3b" identifier = number_literal) ;) (expression_statement "puVar8 = &DAT_000a119f;" (assignment_expression "puVar8 = &DAT_000a119f" identifier = (pointer_expression "&DAT_000a119f" & identifier)) ;) })) (if_statement "if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "*puVar8 = 0x3f;" (assignment_expression "*puVar8 = 0x3f" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" if (parenthesized_expression "((uVar2 & 8) == 0)" ( (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (if_statement "if (*pcVar14 != '[') goto LAB_00046276;" if (parenthesized_expression "(*pcVar14 != '[')" ( (binary_expression "*pcVar14 != '['" (pointer_expression "*pcVar14" * identifier) != (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046276;" goto statement_identifier ;)) (labeled_statement "LAB_00046332:\n      local_70 = pcVar14 + 1;" statement_identifier : (expression_statement "local_70 = pcVar14 + 1;" (assignment_expression "local_70 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;)) (expression_statement "local_60 = strchr(local_70,0x5d);" (assignment_expression "local_60 = strchr(local_70,0x5d)" identifier = (call_expression "strchr(local_70,0x5d)" identifier (argument_list "(local_70,0x5d)" ( identifier , number_literal )))) ;) (if_statement "if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" if (parenthesized_expression "(local_60 != (char *)0x0)" ( (binary_expression "local_60 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" { (expression_statement "cVar3 = FUN_0002a270(local_70,local_60);" (assignment_expression "cVar3 = FUN_0002a270(local_70,local_60)" identifier = (call_expression "FUN_0002a270(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (if_statement "if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" { (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = local_60 + 1;" (assignment_expression "pcVar7 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);" (assignment_expression "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1])" identifier = (call_expression "strchr(&DAT_000a119c,(int)local_60[1])" identifier (argument_list "(&DAT_000a119c,(int)local_60[1])" ( (pointer_expression "&DAT_000a119c" & identifier) , (cast_expression "(int)local_60[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "local_60[1]" identifier [ number_literal ])) )))) ;) (if_statement "if (pcVar10 != (char *)0x0) goto LAB_0004629b;" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004629b;" goto statement_identifier ;)) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" identifier = number_literal) ;) }) (else_clause "else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" else (compound_statement "{\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" { (expression_statement "*puVar8 = 0x23;" (assignment_expression "*puVar8 = 0x23" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8[1] = 0;" (assignment_expression "puVar8[1] = 0" (subscript_expression "puVar8[1]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if (*pcVar14 == '[') goto LAB_00046332;" if (parenthesized_expression "(*pcVar14 == '[')" ( (binary_expression "*pcVar14 == '['" (pointer_expression "*pcVar14" * identifier) == (char_literal "'['" ' character ')) )) (goto_statement "goto LAB_00046332;" goto statement_identifier ;)) (labeled_statement "LAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" statement_identifier : (expression_statement "pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" (assignment_expression "pcVar7 = strpbrk(pcVar14,&DAT_000a119c)" identifier = (call_expression "strpbrk(pcVar14,&DAT_000a119c)" identifier (argument_list "(pcVar14,&DAT_000a119c)" ( identifier , (pointer_expression "&DAT_000a119c" & identifier) )))) ;)) (expression_statement "local_70 = pcVar14;" (assignment_expression "local_70 = pcVar14" identifier = identifier) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) (if_statement "if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" if (parenthesized_expression "(pcVar7 == (char *)0x0)" ( (binary_expression "pcVar7 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" { (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" identifier = (call_expression "strlen(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "pcVar7 = pcVar14 + sVar5;" (assignment_expression "pcVar7 = pcVar14 + sVar5" identifier = (binary_expression "pcVar14 + sVar5" identifier + identifier)) ;) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" identifier = identifier) ;) })) (labeled_statement "LAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" statement_identifier : (if_statement "if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" if (parenthesized_expression "(local_70 != local_60)" ( (binary_expression "local_70 != local_60" identifier != identifier) )) (compound_statement "{\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" { (expression_statement "cVar3 = *pcVar7;" (assignment_expression "cVar3 = *pcVar7" identifier = (pointer_expression "*pcVar7" * identifier)) ;) (expression_statement "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);" (assignment_expression "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11c8 + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11c8 + iVar4 * 0x10" (pointer_expression "&DAT_000a11c8" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (if_statement "if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" if (parenthesized_expression "(cVar3 == ':')" ( (binary_expression "cVar3 == ':'" identifier == (char_literal "':'" ' character ')) )) (compound_statement "{\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" { (expression_statement "pcVar15 = pcVar7 + 1;" (assignment_expression "pcVar15 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(pcVar15,&DAT_000a119d);" (assignment_expression "pcVar10 = strpbrk(pcVar15,&DAT_000a119d)" identifier = (call_expression "strpbrk(pcVar15,&DAT_000a119d)" identifier (argument_list "(pcVar15,&DAT_000a119d)" ( identifier , (pointer_expression "&DAT_000a119d" & identifier) )))) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(pcVar15);" (assignment_expression "sVar5 = strlen(pcVar15)" identifier = (call_expression "strlen(pcVar15)" identifier (argument_list "(pcVar15)" ( identifier )))) ;) (expression_statement "pcVar10 = pcVar15 + sVar5;" (assignment_expression "pcVar10 = pcVar15 + sVar5" identifier = (binary_expression "pcVar15 + sVar5" identifier + identifier)) ;) })) (if_statement "if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" if (parenthesized_expression "(pcVar15 == pcVar10)" ( (binary_expression "pcVar15 == pcVar10" identifier == identifier) )) (compound_statement "{\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }" { (labeled_statement "LAB_00046b30:\n            cVar3 = *pcVar15;" statement_identifier : (expression_statement "cVar3 = *pcVar15;" (assignment_expression "cVar3 = *pcVar15" identifier = (pointer_expression "*pcVar15" * identifier)) ;)) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" identifier = identifier) ;) }) (else_clause "else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" else (compound_statement "{\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" { (if_statement "if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" if (parenthesized_expression "(pcVar15 < pcVar10)" ( (binary_expression "pcVar15 < pcVar10" identifier < identifier) )) (compound_statement "{\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" { (expression_statement "local_4c = (int)pcVar7[1] - 0x30;" (assignment_expression "local_4c = (int)pcVar7[1] - 0x30" identifier = (binary_expression "(int)pcVar7[1] - 0x30" (cast_expression "(int)pcVar7[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "pcVar7[1]" identifier [ number_literal ])) - number_literal)) ;) (if_statement "if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" if (parenthesized_expression "(local_4c < 10)" ( (binary_expression "local_4c < 10" identifier < number_literal) )) (compound_statement "{\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" { (do_statement "do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));" do (compound_statement "{\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                }" { (expression_statement "pcVar15 = pcVar15 + 1;" (assignment_expression "pcVar15 = pcVar15 + 1" identifier = (binary_expression "pcVar15 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar15 == pcVar10) goto LAB_00046b30;" if (parenthesized_expression "(pcVar15 == pcVar10)" ( (binary_expression "pcVar15 == pcVar10" identifier == identifier) )) (goto_statement "goto LAB_00046b30;" goto statement_identifier ;)) }) while (parenthesized_expression "(((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ))" ( (binary_expression "((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" (parenthesized_expression "((int)*pcVar15 - 0x30U < 10)" ( (binary_expression "(int)*pcVar15 - 0x30U < 10" (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar15" * identifier)) - number_literal) < number_literal) )) && (parenthesized_expression "(local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" ( (comma_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000" (assignment_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10" identifier = (binary_expression "((int)*pcVar15 - 0x30U) + local_4c * 10" (parenthesized_expression "((int)*pcVar15 - 0x30U)" ( (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*pcVar15" * identifier)) - number_literal) )) + (binary_expression "local_4c * 10" identifier * number_literal))) , (binary_expression "(int)local_4c < 0x10000" (cast_expression "(int)local_4c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal)) ))) )) ;) })) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "cVar3 = *pcVar10;" (assignment_expression "cVar3 = *pcVar10" identifier = (pointer_expression "*pcVar10" * identifier)) ;) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" identifier = number_literal) ;) }))) })) (expression_statement "local_50 = (char *)0x0;" (assignment_expression "local_50 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" if (parenthesized_expression "(cVar3 == '/')" ( (binary_expression "cVar3 == '/'" identifier == (char_literal "'/'" ' character ')) )) (compound_statement "{\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" { (expression_statement "local_54 = pcVar10 + 1;" (assignment_expression "local_54 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_54,&DAT_000a119e);" (assignment_expression "pcVar10 = strpbrk(local_54,&DAT_000a119e)" identifier = (call_expression "strpbrk(local_54,&DAT_000a119e)" identifier (argument_list "(local_54,&DAT_000a119e)" ( identifier , (pointer_expression "&DAT_000a119e" & identifier) )))) ;) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" { (expression_statement "sVar5 = strlen(local_54);" (assignment_expression "sVar5 = strlen(local_54)" identifier = (call_expression "strlen(local_54)" identifier (argument_list "(local_54)" ( identifier )))) ;) (expression_statement "pcVar10 = local_54 + sVar5;" (assignment_expression "pcVar10 = local_54 + sVar5" identifier = (binary_expression "local_54 + sVar5" identifier + identifier)) ;) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" identifier = identifier) ;) })) })) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" identifier = (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" * (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" ( (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" & identifier) + (binary_expression "iVar4 * 0x10" identifier * number_literal)) ))))) ;) (if_statement "if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "((uVar2 & 2) == 0)" ( (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" ( (binary_expression "uVar2 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = &DAT_000a119f;" (assignment_expression "pcVar7 = &DAT_000a119f" identifier = (pointer_expression "&DAT_000a119f" & identifier)) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" else (if_statement "if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" if (parenthesized_expression "(*pcVar10 == ';')" ( (binary_expression "*pcVar10 == ';'" (pointer_expression "*pcVar10" * identifier) == (char_literal "';'" ' character ')) )) (compound_statement "{\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }" { (expression_statement "local_40 = pcVar10 + 1;" (assignment_expression "local_40 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_40,&DAT_000a119f);" (assignment_expression "pcVar10 = strpbrk(local_40,&DAT_000a119f)" identifier = (call_expression "strpbrk(local_40,&DAT_000a119f)" identifier (argument_list "(local_40,&DAT_000a119f)" ( identifier , (pointer_expression "&DAT_000a119f" & identifier) )))) ;) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" identifier = (pointer_expression "&DAT_000a11a0" & identifier)) ;) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" { (expression_statement "sVar5 = strlen(local_40);" (assignment_expression "sVar5 = strlen(local_40)" identifier = (call_expression "strlen(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "pcVar10 = local_40 + sVar5;" (assignment_expression "pcVar10 = local_40 + sVar5" identifier = (binary_expression "local_40 + sVar5" identifier + identifier)) ;) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" identifier = identifier) ;) })) }) (else_clause "else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" else (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" { (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" identifier = (pointer_expression "&DAT_000a11a0" & identifier)) ;) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))))) (expression_statement "local_3c = (char *)0x0;" (assignment_expression "local_3c = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_48 = (char *)0x0;" (assignment_expression "local_48 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" if (parenthesized_expression "((uVar2 & 4) != 0)" ( (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" ( (binary_expression "uVar2 & 4" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" { (if_statement "if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" if (parenthesized_expression "(*pcVar10 == '?')" ( (binary_expression "*pcVar10 == '?'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'?'" ' character ')) )) (compound_statement "{\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" { (expression_statement "local_48 = pcVar10 + 1;" (assignment_expression "local_48 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "pcVar10 = strpbrk(local_48,pcVar7);" (assignment_expression "pcVar10 = strpbrk(local_48,pcVar7)" identifier = (call_expression "strpbrk(local_48,pcVar7)" identifier (argument_list "(local_48,pcVar7)" ( identifier , identifier )))) ;) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" if (parenthesized_expression "(pcVar10 == (char *)0x0)" ( (binary_expression "pcVar10 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" { (expression_statement "sVar5 = strlen(local_48);" (assignment_expression "sVar5 = strlen(local_48)" identifier = (call_expression "strlen(local_48)" identifier (argument_list "(local_48)" ( identifier )))) ;) (expression_statement "pcVar10 = local_48 + sVar5;" (assignment_expression "pcVar10 = local_48 + sVar5" identifier = (binary_expression "local_48 + sVar5" identifier + identifier)) ;) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" identifier = identifier) ;) })) })) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) })) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = (char *)0x0;" (assignment_expression "local_44 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" if (parenthesized_expression "(((uVar2 & 8) != 0) && (*pcVar10 == '#'))" ( (binary_expression "((uVar2 & 8) != 0) && (*pcVar10 == '#')" (parenthesized_expression "((uVar2 & 8) != 0)" ( (binary_expression "(uVar2 & 8) != 0" (parenthesized_expression "(uVar2 & 8)" ( (binary_expression "uVar2 & 8" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(*pcVar10 == '#')" ( (binary_expression "*pcVar10 == '#'" (pointer_expression "*pcVar10" * identifier) == (char_literal "'#'" ' character ')) ))) )) (compound_statement "{\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" { (expression_statement "local_44 = pcVar10 + 1;" (assignment_expression "local_44 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_38 = strpbrk(local_44,pcVar7);" (assignment_expression "local_38 = strpbrk(local_44,pcVar7)" identifier = (call_expression "strpbrk(local_44,pcVar7)" identifier (argument_list "(local_44,pcVar7)" ( identifier , identifier )))) ;) (if_statement "if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" if (parenthesized_expression "(local_38 == (char *)0x0)" ( (binary_expression "local_38 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" { (expression_statement "sVar5 = strlen(local_44);" (assignment_expression "sVar5 = strlen(local_44)" identifier = (call_expression "strlen(local_44)" identifier (argument_list "(local_44)" ( identifier )))) ;) (expression_statement "local_38 = local_44 + sVar5;" (assignment_expression "local_38 = local_44 + sVar5" identifier = (binary_expression "local_44 + sVar5" identifier + identifier)) ;) })) })) (if_statement "if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" if (parenthesized_expression "(pcVar6 == pcVar14)" ( (binary_expression "pcVar6 == pcVar14" identifier == identifier) )) (compound_statement "{\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }" { (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_64 = (char *)0x0;" (assignment_expression "local_64 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" else (compound_statement "{\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" { (expression_statement "pcVar14 = pcVar14 + -1;" (assignment_expression "pcVar14 = pcVar14 + -1" identifier = (binary_expression "pcVar14 + -1" identifier + number_literal)) ;) (if_statement "if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" if (parenthesized_expression "((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10))" ( (binary_expression "(pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" (parenthesized_expression "(pcVar14 == pcVar6)" ( (binary_expression "pcVar14 == pcVar6" identifier == identifier) )) || (parenthesized_expression "(pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" ( (comma_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10" (assignment_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" identifier = (cast_expression "(char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" identifier (argument_list "(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" ( identifier , number_literal , (binary_expression "(int)pcVar14 - (int)pcVar6" (cast_expression "(int)pcVar14" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ))))) , (binary_expression "pcVar6 == pcVar10" identifier == identifier)) ))) )) (compound_statement "{\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" { (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" identifier = number_literal) ;) (goto_statement "goto LAB_0004639d;" goto statement_identifier ;) })) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (if_statement "if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" if (parenthesized_expression "(pcVar10 != (char *)0x0)" ( (binary_expression "pcVar10 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" { (expression_statement "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);" (assignment_expression "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14)" identifier = (cast_expression "(char *)FUN_000497f0(pcVar10 + 1,pcVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(pcVar10 + 1,pcVar14)" identifier (argument_list "(pcVar10 + 1,pcVar14)" ( (binary_expression "pcVar10 + 1" identifier + number_literal) , identifier ))))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = pcVar10;" (assignment_expression "pcVar14 = pcVar10" identifier = identifier) ;) })) (expression_statement "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);" (assignment_expression "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14)" identifier = (cast_expression "(char *)FUN_000497f0(pcVar6,pcVar14)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(pcVar6,pcVar14)" identifier (argument_list "(pcVar6,pcVar14)" ( identifier , identifier ))))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) }))) (expression_statement "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);" (assignment_expression "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30)" identifier = (cast_expression "(undefined4 *)FUN_0005aef0(1,0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005aef0(1,0x30)" identifier (argument_list "(1,0x30)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar11[1] = iVar4;" (assignment_expression "puVar11[1] = iVar4" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_000497f0(local_70,local_60);" (assignment_expression "uVar12 = FUN_000497f0(local_70,local_60)" identifier = (call_expression "FUN_000497f0(local_70,local_60)" identifier (argument_list "(local_70,local_60)" ( identifier , identifier )))) ;) (expression_statement "puVar11[0xb] = pcVar7;" (assignment_expression "puVar11[0xb] = pcVar7" (subscript_expression "puVar11[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[2] = uVar12;" (assignment_expression "puVar11[2] = uVar12" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[3] = local_4c;" (assignment_expression "puVar11[3] = local_4c" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar11[10] = local_64;" (assignment_expression "puVar11[10] = local_64" (subscript_expression "puVar11[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pcVar14 = (char *)FUN_000497f0(local_54,local_50);" (assignment_expression "pcVar14 = (char *)FUN_000497f0(local_54,local_50)" identifier = (cast_expression "(char *)FUN_000497f0(local_54,local_50)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000497f0(local_54,local_50)" identifier (argument_list "(local_54,local_50)" ( identifier , identifier ))))) ;) (expression_statement "puVar11[4] = pcVar14;" (assignment_expression "puVar11[4] = pcVar14" (subscript_expression "puVar11[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" identifier = (call_expression "strlen(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "pcVar6 = pcVar14 + sVar5;" (assignment_expression "pcVar6 = pcVar14 + sVar5" identifier = (binary_expression "pcVar14 + sVar5" identifier + identifier)) ;) (if_statement "if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }" if (parenthesized_expression "(pcVar14 < pcVar6)" ( (binary_expression "pcVar14 < pcVar6" identifier < identifier) )) (compound_statement "{\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }" { (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" identifier = identifier) ;) (expression_statement "local_64 = pcVar14;" (assignment_expression "local_64 = pcVar14" identifier = identifier) ;) (do_statement "do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);" do (compound_statement "{\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          }" { (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (if_statement "if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" if (parenthesized_expression "(cVar3 == '.')" ( (binary_expression "cVar3 == '.'" identifier == (char_literal "'.'" ' character ')) )) (compound_statement "{\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }" { (expression_statement "cVar1 = pcVar14[1];" (assignment_expression "cVar1 = pcVar14[1]" identifier = (subscript_expression "pcVar14[1]" identifier [ number_literal ])) ;) (if_statement "if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" if (parenthesized_expression "((cVar1 == '/') || (cVar1 == '\0'))" ( (binary_expression "(cVar1 == '/') || (cVar1 == '\0')" (parenthesized_expression "(cVar1 == '/')" ( (binary_expression "cVar1 == '/'" identifier == (char_literal "'/'" ' character ')) )) || (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                pcVar14 = pcVar14 + 2;\n              }" { (expression_statement "pcVar14 = pcVar14 + 2;" (assignment_expression "pcVar14 = pcVar14 + 2" identifier = (binary_expression "pcVar14 + 2" identifier + number_literal)) ;) }) (else_clause "else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" else (compound_statement "{\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" { (if_statement "if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;" if (parenthesized_expression "((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))" ( (binary_expression "(cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" (parenthesized_expression "(cVar1 != '.')" ( (binary_expression "cVar1 != '.'" identifier != (char_literal "'.'" ' character ')) )) || (parenthesized_expression "((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" ( (parenthesized_expression "(pcVar14[2] != '/' && (pcVar14[2] != '\0'))" ( (binary_expression "pcVar14[2] != '/' && (pcVar14[2] != '\0')" (binary_expression "pcVar14[2] != '/'" (subscript_expression "pcVar14[2]" identifier [ number_literal ]) != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar14[2] != '\0')" ( (binary_expression "pcVar14[2] != '\0'" (subscript_expression "pcVar14[2]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;)) (if_statement "if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" if (parenthesized_expression "(local_64 < pcVar7)" ( (binary_expression "local_64 < pcVar7" identifier < identifier) )) (compound_statement "{\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }" { (expression_statement "pcVar10 = pcVar7 + -1;" (assignment_expression "pcVar10 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) (if_statement "if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" if (parenthesized_expression "(local_64 < pcVar10)" ( (binary_expression "local_64 < pcVar10" identifier < identifier) )) (compound_statement "{\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" { (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) (while_statement "while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" while (parenthesized_expression "((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)))" ( (parenthesized_expression "(pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))" ( (comma_expression "pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) , (binary_expression "cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (binary_expression "cVar3 != '/'" identifier != (char_literal "'/'" ' character ')) && (parenthesized_expression "(pcVar10 = local_64, pcVar7 + -1 != local_64)" ( (comma_expression "pcVar10 = local_64, pcVar7 + -1 != local_64" (assignment_expression "pcVar10 = local_64" identifier = identifier) , (binary_expression "pcVar7 + -1 != local_64" (binary_expression "pcVar7 + -1" identifier + number_literal) != identifier)) )))) )) )) (compound_statement "{\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" { (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" identifier = (subscript_expression "pcVar7[-2]" identifier [ number_literal ])) ;) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" identifier = (binary_expression "pcVar7 + -1" identifier + number_literal)) ;) })) })) }) (else_clause "else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" else (compound_statement "{\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" { (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (if_statement "if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" if (parenthesized_expression "(iVar4 - 2U < 2)" ( (binary_expression "iVar4 - 2U < 2" (binary_expression "iVar4 - 2U" identifier - number_literal) < number_literal) )) (compound_statement "{\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" { (expression_statement "local_64 = pcVar7 + 3;" (assignment_expression "local_64 = pcVar7 + 3" identifier = (binary_expression "pcVar7 + 3" identifier + number_literal)) ;) (goto_statement "goto LAB_000465d0;" goto statement_identifier ;) })) }))) (expression_statement "pcVar14 = pcVar14 + 3;" (assignment_expression "pcVar14 = pcVar14 + 3" identifier = (binary_expression "pcVar14 + 3" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" identifier = identifier) ;) }))) }) (else_clause "else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" else (compound_statement "{\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" { (labeled_statement "LAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" statement_identifier : (if_statement "if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" if (parenthesized_expression "(pcVar14 == pcVar7)" ( (binary_expression "pcVar14 == pcVar7" identifier == identifier) )) (compound_statement "{\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }" { (if_statement "if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar7)" ( (binary_expression "pcVar6 <= pcVar7" identifier <= identifier) )) (compound_statement "{\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" { (labeled_statement "LAB_000467c0:\n                  bVar16 = false;" statement_identifier : (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;)) (goto_statement "goto LAB_00046627;" goto statement_identifier ;) })) (while_statement "while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" while (parenthesized_expression "(*pcVar7 != '/')" ( (binary_expression "*pcVar7 != '/'" (pointer_expression "*pcVar7" * identifier) != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" { (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (if_statement "if (pcVar6 == pcVar7) goto LAB_000467c0;" if (parenthesized_expression "(pcVar6 == pcVar7)" ( (binary_expression "pcVar6 == pcVar7" identifier == identifier) )) (goto_statement "goto LAB_000467c0;" goto statement_identifier ;)) })) (expression_statement "pcVar14 = pcVar7 + 1;" (assignment_expression "pcVar14 = pcVar7 + 1" identifier = (binary_expression "pcVar7 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" identifier = identifier) ;) }) (else_clause "else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" else (compound_statement "{\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" { (if_statement "if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" if (parenthesized_expression "(pcVar6 <= pcVar14)" ( (binary_expression "pcVar6 <= pcVar14" identifier <= identifier) )) (compound_statement "{\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" { (labeled_statement "LAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;" statement_identifier : (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" identifier = (binary_expression "pcVar7 != pcVar14" identifier != identifier)) ;)) (goto_statement "goto LAB_00046620;" goto statement_identifier ;) })) (expression_statement "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);" (assignment_expression "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14)" identifier = (binary_expression "pcVar7 + ((int)pcVar6 - (int)pcVar14)" identifier + (parenthesized_expression "((int)pcVar6 - (int)pcVar14)" ( (binary_expression "(int)pcVar6 - (int)pcVar14" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pcVar14" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" identifier = identifier) ;) (while_statement "while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" while (parenthesized_expression "(cVar3 != '/')" ( (binary_expression "cVar3 != '/'" identifier != (char_literal "'/'" ' character ')) )) (compound_statement "{\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" { (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "*pcVar10 = cVar3;" (assignment_expression "*pcVar10 = cVar3" (pointer_expression "*pcVar10" * identifier) = identifier) ;) (expression_statement "pcVar7 = pcVar15;" (assignment_expression "pcVar7 = pcVar15" identifier = identifier) ;) (if_statement "if (pcVar10 + 1 == pcVar15) goto LAB_00046619;" if (parenthesized_expression "(pcVar10 + 1 == pcVar15)" ( (binary_expression "pcVar10 + 1 == pcVar15" (binary_expression "pcVar10 + 1" identifier + number_literal) == identifier) )) (goto_statement "goto LAB_00046619;" goto statement_identifier ;)) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) })) (expression_statement "*pcVar10 = '/';" (assignment_expression "*pcVar10 = '/'" (pointer_expression "*pcVar10" * identifier) = (char_literal "'/'" ' character ')) ;) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "pcVar7 = pcVar10 + 1;" (assignment_expression "pcVar7 = pcVar10 + 1" identifier = (binary_expression "pcVar10 + 1" identifier + number_literal)) ;) })))) }))) }) while (parenthesized_expression "(pcVar14 < pcVar6)" ( (binary_expression "pcVar14 < pcVar6" identifier < identifier) )) ;) (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" identifier = (binary_expression "pcVar7 != pcVar14" identifier != identifier)) ;) (labeled_statement "LAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" statement_identifier : (if_statement "if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" if (parenthesized_expression "(pcVar14 != pcVar7)" ( (binary_expression "pcVar14 != pcVar7" identifier != identifier) )) (compound_statement "{\n            *pcVar7 = '\0';\n          }" { (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) }))) (labeled_statement "LAB_00046627:\n          pcVar14 = (char *)puVar11[4];" statement_identifier : (expression_statement "pcVar14 = (char *)puVar11[4];" (assignment_expression "pcVar14 = (char *)puVar11[4]" identifier = (cast_expression "(char *)puVar11[4]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[4]" identifier [ number_literal ]))) ;)) }) (else_clause "else {\n          bVar16 = false;\n        }" else (compound_statement "{\n          bVar16 = false;\n        }" { (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" identifier = false) ;) }))) (expression_statement "pcVar6 = strrchr(pcVar14,0x2f);" (assignment_expression "pcVar6 = strrchr(pcVar14,0x2f)" identifier = (call_expression "strrchr(pcVar14,0x2f)" identifier (argument_list "(pcVar14,0x2f)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" if (parenthesized_expression "(pcVar6 == (char *)0x0)" ( (binary_expression "pcVar6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_0005af70(&DAT_00082757);" (assignment_expression "uVar12 = FUN_0005af70(&DAT_00082757)" identifier = (call_expression "FUN_0005af70(&DAT_00082757)" identifier (argument_list "(&DAT_00082757)" ( (pointer_expression "&DAT_00082757" & identifier) )))) ;) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_0005af70(pcVar14);" (assignment_expression "uVar12 = FUN_0005af70(pcVar14)" identifier = (call_expression "FUN_0005af70(pcVar14)" identifier (argument_list "(pcVar14)" ( identifier )))) ;) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" else (compound_statement "{\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(pcVar14,pcVar6);" (assignment_expression "uVar12 = FUN_000497f0(pcVar14,pcVar6)" identifier = (call_expression "FUN_000497f0(pcVar14,pcVar6)" identifier (argument_list "(pcVar14,pcVar6)" ( identifier , identifier )))) ;) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar12 = FUN_0005af70(pcVar6 + 1);" (assignment_expression "uVar12 = FUN_0005af70(pcVar6 + 1)" identifier = (call_expression "FUN_0005af70(pcVar6 + 1)" identifier (argument_list "(pcVar6 + 1)" ( (binary_expression "pcVar6 + 1" identifier + number_literal) )))) ;) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" identifier [ number_literal ]) = identifier) ;) }))) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (if_statement "if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" { (do_statement "do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');" do (compound_statement "{\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          }" { (if_statement "if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" if (parenthesized_expression "((int)cVar3 - 0x41U < 0x1a)" ( (binary_expression "(int)cVar3 - 0x41U < 0x1a" (binary_expression "(int)cVar3 - 0x41U" (cast_expression "(int)cVar3" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal) < number_literal) )) (compound_statement "{\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" { (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" identifier = number_literal) ;) (expression_statement "*pcVar14 = cVar3 + ' ';" (assignment_expression "*pcVar14 = cVar3 + ' '" (pointer_expression "*pcVar14" * identifier) = (binary_expression "cVar3 + ' '" identifier + (char_literal "' '" ' character '))) ;) })) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" identifier = (binary_expression "pcVar14 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) }) while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) })) (expression_statement "pcVar14 = strchr(pcVar14,0x25);" (assignment_expression "pcVar14 = strchr(pcVar14,0x25)" identifier = (call_expression "strchr(pcVar14,0x25)" identifier (argument_list "(pcVar14,0x25)" ( identifier , number_literal )))) ;) (if_statement "if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" if (parenthesized_expression "(pcVar14 != (char *)0x0)" ( (binary_expression "pcVar14 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" { (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" identifier = (cast_expression "(char *)puVar11[2]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ]))) ;) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" identifier = (pointer_expression "*pcVar14" * identifier)) ;) (expression_statement "pcVar6 = pcVar14;" (assignment_expression "pcVar6 = pcVar14" identifier = identifier) ;) (while_statement "while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" { (if_statement "if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" if (parenthesized_expression "(('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f'))))" ( (binary_expression "('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))" (parenthesized_expression "('\0' < cVar3)" ( (binary_expression "'\0' < cVar3" (char_literal "'\0'" ' escape_sequence ') < identifier) )) && (parenthesized_expression "((cVar3 < ' ' || (cVar3 == '\x7f')))" ( (parenthesized_expression "(cVar3 < ' ' || (cVar3 == '\x7f'))" ( (binary_expression "cVar3 < ' ' || (cVar3 == '\x7f')" (binary_expression "cVar3 < ' '" identifier < (char_literal "' '" ' character ')) || (parenthesized_expression "(cVar3 == '\x7f')" ( (binary_expression "cVar3 == '\x7f'" identifier == (char_literal "'\x7f'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" { (expression_statement "FUN_000446a0();" (call_expression "FUN_000446a0()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_00046398;" goto statement_identifier ;) })) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" identifier = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "cVar3 = *pcVar6;" (assignment_expression "cVar3 = *pcVar6" identifier = (pointer_expression "*pcVar6" * identifier)) ;) })) (expression_statement "bVar13 = param_3 != 0 & DAT_000a8c42;" (assignment_expression "bVar13 = param_3 != 0 & DAT_000a8c42" identifier = (binary_expression "param_3 != 0 & DAT_000a8c42" (binary_expression "param_3 != 0" identifier != number_literal) & identifier)) ;) (if_statement "if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" if (parenthesized_expression "((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0))" ( (binary_expression "(bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" (parenthesized_expression "(bVar13 == 0)" ( (binary_expression "bVar13 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0" (assignment_expression "iVar4 = FUN_0004f120(param_3,pcVar14)" identifier = (call_expression "FUN_0004f120(param_3,pcVar14)" identifier (argument_list "(param_3,pcVar14)" ( identifier , identifier )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n            bVar13 = 1;\n          }" { (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" identifier = number_literal) ;) }) (else_clause "else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" else (compound_statement "{\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" { (expression_statement "free((void *)puVar11[2]);" (call_expression "free((void *)puVar11[2])" identifier (argument_list "((void *)puVar11[2])" ( (cast_expression "(void *)puVar11[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar11[2]" identifier [ number_literal ])) ))) ;) (expression_statement "puVar11[2] = iVar4;" (assignment_expression "puVar11[2] = iVar4" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = identifier) ;) }))) })) (if_statement "if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" if (parenthesized_expression "(local_40 != (char *)0x0)" ( (binary_expression "local_40 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_40,local_34);" (assignment_expression "uVar12 = FUN_000497f0(local_40,local_34)" identifier = (call_expression "FUN_000497f0(local_40,local_34)" identifier (argument_list "(local_40,local_34)" ( identifier , identifier )))) ;) (expression_statement "puVar11[5] = uVar12;" (assignment_expression "puVar11[5] = uVar12" (subscript_expression "puVar11[5]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" if (parenthesized_expression "(local_48 != (char *)0x0)" ( (binary_expression "local_48 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_48,local_3c);" (assignment_expression "uVar12 = FUN_000497f0(local_48,local_3c)" identifier = (call_expression "FUN_000497f0(local_48,local_3c)" identifier (argument_list "(local_48,local_3c)" ( identifier , identifier )))) ;) (expression_statement "puVar11[6] = uVar12;" (assignment_expression "puVar11[6] = uVar12" (subscript_expression "puVar11[6]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" if (parenthesized_expression "(local_44 != (char *)0x0)" ( (binary_expression "local_44 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" { (expression_statement "uVar12 = FUN_000497f0(local_44,local_38);" (assignment_expression "uVar12 = FUN_000497f0(local_44,local_38)" identifier = (call_expression "FUN_000497f0(local_44,local_38)" identifier (argument_list "(local_44,local_38)" ( identifier , identifier )))) ;) (expression_statement "puVar11[7] = uVar12;" (assignment_expression "puVar11[7] = uVar12" (subscript_expression "puVar11[7]" identifier [ number_literal ]) = identifier) ;) })) (if_statement "if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" if (parenthesized_expression "((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0))))" ( (binary_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))" (parenthesized_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0))" ( (binary_expression "((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)" (parenthesized_expression "((DAT_000a8c42 != 0) || (bVar16))" ( (binary_expression "(DAT_000a8c42 != 0) || (bVar16)" (parenthesized_expression "(DAT_000a8c42 != 0)" ( (binary_expression "DAT_000a8c42 != 0" identifier != number_literal) )) || (parenthesized_expression "(bVar16)" ( identifier ))) )) || (parenthesized_expression "(puVar11[7] != 0)" ( (binary_expression "puVar11[7] != 0" (subscript_expression "puVar11[7]" identifier [ number_literal ]) != number_literal) ))) )) || (parenthesized_expression "((local_54 == local_50 || (bVar13 != 0)))" ( (parenthesized_expression "(local_54 == local_50 || (bVar13 != 0))" ( (binary_expression "local_54 == local_50 || (bVar13 != 0)" (binary_expression "local_54 == local_50" identifier == identifier) || (parenthesized_expression "(bVar13 != 0)" ( (binary_expression "bVar13 != 0" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }" { (expression_statement "uVar12 = FUN_00045d90(puVar11,0);" (assignment_expression "uVar12 = FUN_00045d90(puVar11,0)" identifier = (call_expression "FUN_00045d90(puVar11,0)" identifier (argument_list "(puVar11,0)" ( identifier , number_literal )))) ;) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" * identifier) = identifier) ;) (if_statement "if (local_68 != param_1) {\n            free(local_68);\n          }" if (parenthesized_expression "(local_68 != param_1)" ( (binary_expression "local_68 != param_1" identifier != identifier) )) (compound_statement "{\n            free(local_68);\n          }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) })) }) (else_clause "else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" else (if_statement "if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" if (parenthesized_expression "(local_68 == param_1)" ( (binary_expression "local_68 == param_1" identifier == identifier) )) (compound_statement "{\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }" { (expression_statement "uVar12 = FUN_0005af70(local_68);" (assignment_expression "uVar12 = FUN_0005af70(local_68)" identifier = (call_expression "FUN_0005af70(local_68)" identifier (argument_list "(local_68)" ( identifier )))) ;) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" * identifier) = identifier) ;) }) (else_clause "else {\n          *puVar11 = local_68;\n        }" else (compound_statement "{\n          *puVar11 = local_68;\n        }" { (expression_statement "*puVar11 = local_68;" (assignment_expression "*puVar11 = local_68" (pointer_expression "*puVar11" * identifier) = identifier) ;) }))))) (goto_statement "goto LAB_000463c5;" goto statement_identifier ;) }))) (labeled_statement "LAB_00046398:\n      iVar4 = 3;" statement_identifier : (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" identifier = number_literal) ;)) }))) (labeled_statement "LAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" statement_identifier : (if_statement "if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" if (parenthesized_expression "((local_68 != (void *)0x0) && (local_68 != param_1))" ( (binary_expression "(local_68 != (void *)0x0) && (local_68 != param_1)" (parenthesized_expression "(local_68 != (void *)0x0)" ( (binary_expression "local_68 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(local_68 != param_1)" ( (binary_expression "local_68 != param_1" identifier != identifier) ))) )) (compound_statement "{\n      free(local_68);\n    }" { (expression_statement "free(local_68);" (call_expression "free(local_68)" identifier (argument_list "(local_68)" ( identifier ))) ;) }))) }))) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }" if (parenthesized_expression "(param_2 != (int *)0x0)" ( (binary_expression "param_2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_2 = iVar4;\n  }" { (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" * identifier) = identifier) ;) })) (labeled_statement "LAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return puVar11;\n  }" { (return_statement "return puVar11;" return identifier ;) }))) (expression_statement "FUN_0006da50();" (call_expression "FUN_0006da50()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression IDENT * LIT) ]) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (pointer_expression * IDENT) != (char_literal ' character '))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) - LIT) < LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) - LIT) )) + (binary_expression IDENT * LIT))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT)) ))) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == IDENT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) , (binary_expression IDENT == IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' character ')) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) ))) )) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression IDENT != (char_literal ' character ')) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (binary_expression IDENT + LIT) != IDENT)) )))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (goto_statement goto statement_identifier ;) })) (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT != IDENT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })))) }))) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT != IDENT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + (char_literal ' character '))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (char_literal ' escape_sequence ') < IDENT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT < (char_literal ' character ')) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT != LIT) & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }))) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( IDENT ))) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) }))))) (goto_statement goto statement_identifier ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT != IDENT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 * FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)\n\n{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    \n  FUN_0006da50();\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" (* "*") (function_declarator "FUN_00046170(void *param_1,int *param_2,int param_3,char param_4)" (identifier "FUN_00046170") (parameter_list "(void *param_1,int *param_2,int param_3,char param_4)" (( "(") (parameter_declaration "void *param_1" (primitive_type "void") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) () ")")))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  char cVar3;\n  int iVar4;\n  size_t sVar5;\n  char *pcVar6;\n  char *pcVar7;\n  undefined1 *puVar8;\n  void *pvVar9;\n  char *pcVar10;\n  undefined4 *puVar11;\n  undefined4 uVar12;\n  byte bVar13;\n  char *pcVar14;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  bool bVar16;\n  char *local_70;\n  void *local_68;\n  char *local_64;\n  char *local_60;\n  char *local_54;\n  char *local_50;\n  uint local_4c;\n  char *local_48;\n  char *local_44;\n  char *local_40;\n  char *local_3c;\n  char *local_38;\n  char *local_34;\n  void *local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x46179;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar4 = FUN_00044c00(param_1);\n  if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }\n  puVar11 = (undefined4 *)0x0;\n  if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }\nLAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }\n                    \n  FUN_0006da50();\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "size_t sVar5;" (primitive_type "size_t") (identifier "sVar5") (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "char *pcVar7;" (primitive_type "char") (pointer_declarator "*pcVar7" (* "*") (identifier "pcVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "void *pvVar9;" (primitive_type "void") (pointer_declarator "*pvVar9" (* "*") (identifier "pvVar9")) (; ";")) (declaration "char *pcVar10;" (primitive_type "char") (pointer_declarator "*pcVar10" (* "*") (identifier "pcVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 uVar12;" (type_identifier "undefined4") (identifier "uVar12") (; ";")) (declaration "byte bVar13;" (type_identifier "byte") (identifier "bVar13") (; ";")) (declaration "char *pcVar14;" (primitive_type "char") (pointer_declarator "*pcVar14" (* "*") (identifier "pcVar14")) (; ";")) (declaration "char *pcVar15;" (primitive_type "char") (pointer_declarator "*pcVar15" (* "*") (identifier "pcVar15")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "char *local_70;" (primitive_type "char") (pointer_declarator "*local_70" (* "*") (identifier "local_70")) (; ";")) (declaration "void *local_68;" (primitive_type "void") (pointer_declarator "*local_68" (* "*") (identifier "local_68")) (; ";")) (declaration "char *local_64;" (primitive_type "char") (pointer_declarator "*local_64" (* "*") (identifier "local_64")) (; ";")) (declaration "char *local_60;" (primitive_type "char") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "char *local_54;" (primitive_type "char") (pointer_declarator "*local_54" (* "*") (identifier "local_54")) (; ";")) (declaration "char *local_50;" (primitive_type "char") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "uint local_4c;" (type_identifier "uint") (identifier "local_4c") (; ";")) (declaration "char *local_48;" (primitive_type "char") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "char *local_44;" (primitive_type "char") (pointer_declarator "*local_44" (* "*") (identifier "local_44")) (; ";")) (declaration "char *local_40;" (primitive_type "char") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (declaration "char *local_3c;" (primitive_type "char") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c")) (; ";")) (declaration "char *local_38;" (primitive_type "char") (pointer_declarator "*local_38" (* "*") (identifier "local_38")) (; ";")) (declaration "char *local_34;" (primitive_type "char") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "void *local_24;" (primitive_type "void") (pointer_declarator "*local_24" (* "*") (identifier "local_24")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x46179;" (assignment_expression "uStack_14 = 0x46179" (identifier "uStack_14") (= "=") (number_literal "0x46179")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_00044c00(param_1);" (assignment_expression "iVar4 = FUN_00044c00(param_1)" (identifier "iVar4") (= "=") (call_expression "FUN_00044c00(param_1)" (identifier "FUN_00044c00") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (iVar4 == 4) {\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }\n  else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 == 4)" (( "(") (binary_expression "iVar4 == 4" (identifier "iVar4") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    cVar3 = FUN_00044c90(param_1);\n    iVar4 = (cVar3 == '\0') + 1;\n  }" ({ "{") (expression_statement "cVar3 = FUN_00044c90(param_1);" (assignment_expression "cVar3 = FUN_00044c90(param_1)" (identifier "cVar3") (= "=") (call_expression "FUN_00044c90(param_1)" (identifier "FUN_00044c90") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar4 = (cVar3 == '\0') + 1;" (assignment_expression "iVar4 = (cVar3 == '\0') + 1" (identifier "iVar4") (= "=") (binary_expression "(cVar3 == '\0') + 1" (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" (else "else") (compound_statement "{\n    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }\n    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);\n    pcVar6 = (char *)(sVar5 + (int)local_68);\n    pcVar7 = strpbrk(pcVar6,"@/?#;");\n    pcVar14 = pcVar6;\n    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }\n    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n    puVar8 = &DAT_000a119e;\n    if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }\n    if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }\n    if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }\nLAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }\n  }" ({ "{") (if_statement "if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }\n    else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" (if "if") (parenthesized_expression "((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0'))" (( "(") (binary_expression "(param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')" (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_3 + 0xc) == '\0')" (( "(") (binary_expression "*(char *)(param_3 + 0xc) == '\0'" (pointer_expression "*(char *)(param_3 + 0xc)" (* "*") (cast_expression "(char *)(param_3 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\nLAB_000461df:\n      local_68 = param_1;\n      if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }\n    }" ({ "{") (labeled_statement "LAB_000461df:\n      local_68 = param_1;" (statement_identifier "LAB_000461df") (: ":") (expression_statement "local_68 = param_1;" (assignment_expression "local_68 = param_1" (identifier "local_68") (= "=") (identifier "param_1")) (; ";"))) (if_statement "if (param_4 != '\0') {\n        local_68 = (void *)FUN_00044a50();\n      }" (if "if") (parenthesized_expression "(param_4 != '\0')" (( "(") (binary_expression "param_4 != '\0'" (identifier "param_4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        local_68 = (void *)FUN_00044a50();\n      }" ({ "{") (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" (identifier "local_68") (= "=") (cast_expression "(void *)FUN_00044a50()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00044a50()" (identifier "FUN_00044a50") (argument_list "()" (( "(") () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" (else "else") (compound_statement "{\n      local_24 = (void *)0x0;\n      pvVar9 = *(void **)(param_3 + 8);\n      if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }\n      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);\n      *(char *)(param_3 + 0xc) = cVar3;\n      if (cVar3 == '\0') goto LAB_000461df;\n      free(*(void **)(param_3 + 8));\n      *(undefined4 *)(param_3 + 8) = 0;\n      uVar12 = FUN_0005af70(param_1);\n      *(undefined4 *)(param_3 + 8) = uVar12;\n      local_68 = (void *)FUN_00044a50();\n      if (local_24 != local_68) {\n        free(local_24);\n      }\n    }" ({ "{") (expression_statement "local_24 = (void *)0x0;" (assignment_expression "local_24 = (void *)0x0" (identifier "local_24") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pvVar9 = *(void **)(param_3 + 8);" (assignment_expression "pvVar9 = *(void **)(param_3 + 8)" (identifier "pvVar9") (= "=") (pointer_expression "*(void **)(param_3 + 8)" (* "*") (cast_expression "(void **)(param_3 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (*(void **)(param_3 + 8) == (void *)0x0) {\n        pvVar9 = param_1;\n      }" (if "if") (parenthesized_expression "(*(void **)(param_3 + 8) == (void *)0x0)" (( "(") (binary_expression "*(void **)(param_3 + 8) == (void *)0x0" (pointer_expression "*(void **)(param_3 + 8)" (* "*") (cast_expression "(void **)(param_3 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        pvVar9 = param_1;\n      }" ({ "{") (expression_statement "pvVar9 = param_1;" (assignment_expression "pvVar9 = param_1" (identifier "pvVar9") (= "=") (identifier "param_1")) (; ";")) (} "}"))) (expression_statement "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);" (assignment_expression "cVar3 = FUN_0004f040(param_3,pvVar9,&local_24)" (identifier "cVar3") (= "=") (call_expression "FUN_0004f040(param_3,pvVar9,&local_24)" (identifier "FUN_0004f040") (argument_list "(param_3,pvVar9,&local_24)" (( "(") (identifier "param_3") (, ",") (identifier "pvVar9") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")")))) (; ";")) (expression_statement "*(char *)(param_3 + 0xc) = cVar3;" (assignment_expression "*(char *)(param_3 + 0xc) = cVar3" (pointer_expression "*(char *)(param_3 + 0xc)" (* "*") (cast_expression "(char *)(param_3 + 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 0xc)" (( "(") (binary_expression "param_3 + 0xc" (identifier "param_3") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "cVar3")) (; ";")) (if_statement "if (cVar3 == '\0') goto LAB_000461df;" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_000461df;" (goto "goto") (statement_identifier "LAB_000461df") (; ";"))) (expression_statement "free(*(void **)(param_3 + 8));" (call_expression "free(*(void **)(param_3 + 8))" (identifier "free") (argument_list "(*(void **)(param_3 + 8))" (( "(") (pointer_expression "*(void **)(param_3 + 8)" (* "*") (cast_expression "(void **)(param_3 + 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 8) = 0;" (assignment_expression "*(undefined4 *)(param_3 + 8) = 0" (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar12 = FUN_0005af70(param_1);" (assignment_expression "uVar12 = FUN_0005af70(param_1)" (identifier "uVar12") (= "=") (call_expression "FUN_0005af70(param_1)" (identifier "FUN_0005af70") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_3 + 8) = uVar12;" (assignment_expression "*(undefined4 *)(param_3 + 8) = uVar12" (pointer_expression "*(undefined4 *)(param_3 + 8)" (* "*") (cast_expression "(undefined4 *)(param_3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 8)" (( "(") (binary_expression "param_3 + 8" (identifier "param_3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "local_68 = (void *)FUN_00044a50();" (assignment_expression "local_68 = (void *)FUN_00044a50()" (identifier "local_68") (= "=") (cast_expression "(void *)FUN_00044a50()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00044a50()" (identifier "FUN_00044a50") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (local_24 != local_68) {\n        free(local_24);\n      }" (if "if") (parenthesized_expression "(local_24 != local_68)" (( "(") (binary_expression "local_24 != local_68" (identifier "local_24") (!= "!=") (identifier "local_68")) () ")")) (compound_statement "{\n        free(local_24);\n      }" ({ "{") (expression_statement "free(local_24);" (call_expression "free(local_24)" (identifier "free") (argument_list "(local_24)" (( "(") (identifier "local_24") () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);" (assignment_expression "sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" (identifier "sVar5") (= "=") (call_expression "strlen((&PTR_s_http____000a11c4)[iVar4 * 4])" (identifier "strlen") (argument_list "((&PTR_s_http____000a11c4)[iVar4 * 4])" (( "(") (subscript_expression "(&PTR_s_http____000a11c4)[iVar4 * 4]" (parenthesized_expression "(&PTR_s_http____000a11c4)" (( "(") (pointer_expression "&PTR_s_http____000a11c4" (& "&") (identifier "PTR_s_http____000a11c4")) () ")")) ([ "[") (binary_expression "iVar4 * 4" (identifier "iVar4") (* "*") (number_literal "4")) (] "]")) () ")")))) (; ";")) (expression_statement "pcVar6 = (char *)(sVar5 + (int)local_68);" (assignment_expression "pcVar6 = (char *)(sVar5 + (int)local_68)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(sVar5 + (int)local_68)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(sVar5 + (int)local_68)" (( "(") (binary_expression "sVar5 + (int)local_68" (identifier "sVar5") (+ "+") (cast_expression "(int)local_68" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_68"))) () ")")))) (; ";")) (expression_statement "pcVar7 = strpbrk(pcVar6,"@/?#;");" (assignment_expression "pcVar7 = strpbrk(pcVar6,"@/?#;")" (identifier "pcVar7") (= "=") (call_expression "strpbrk(pcVar6,"@/?#;")" (identifier "strpbrk") (argument_list "(pcVar6,"@/?#;")" (( "(") (identifier "pcVar6") (, ",") (string_literal ""@/?#;"" (" """) (string_content "@/?#;") (" """)) () ")")))) (; ";")) (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" (identifier "pcVar14") (= "=") (identifier "pcVar6")) (; ";")) (if_statement "if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {\n      pcVar14 = pcVar6;\n    }" (if "if") (parenthesized_expression "((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@'))" (( "(") (binary_expression "(pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')" (parenthesized_expression "(pcVar7 != (char *)0x0)" (( "(") (binary_expression "pcVar7 != (char *)0x0" (identifier "pcVar7") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar14 = pcVar7 + 1, *pcVar7 != '@')" (( "(") (comma_expression "pcVar14 = pcVar7 + 1, *pcVar7 != '@'" (assignment_expression "pcVar14 = pcVar7 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (, ",") (binary_expression "*pcVar7 != '@'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (!= "!=") (char_literal "'@'" (' "'") (character "@") (' "'")))) () ")"))) () ")")) (compound_statement "{\n      pcVar14 = pcVar6;\n    }" ({ "{") (expression_statement "pcVar14 = pcVar6;" (assignment_expression "pcVar14 = pcVar6" (identifier "pcVar14") (= "=") (identifier "pcVar6")) (; ";")) (} "}"))) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (* "*") (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" (( "(") (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" (& "&") (identifier "DAT_000a11cc")) (+ "+") (binary_expression "iVar4 * 0x10" (identifier "iVar4") (* "*") (number_literal "0x10"))) () ")"))))) (; ";")) (expression_statement "puVar8 = &DAT_000a119e;" (assignment_expression "puVar8 = &DAT_000a119e" (identifier "puVar8") (= "=") (pointer_expression "&DAT_000a119e" (& "&") (identifier "DAT_000a119e"))) (; ";")) (if_statement "if ((uVar2 & 2) != 0) {\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" (if "if") (parenthesized_expression "((uVar2 & 2) != 0)" (( "(") (binary_expression "(uVar2 & 2) != 0" (parenthesized_expression "(uVar2 & 2)" (( "(") (binary_expression "uVar2 & 2" (identifier "uVar2") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      DAT_000a119e = 0x3b;\n      puVar8 = &DAT_000a119f;\n    }" ({ "{") (expression_statement "DAT_000a119e = 0x3b;" (assignment_expression "DAT_000a119e = 0x3b" (identifier "DAT_000a119e") (= "=") (number_literal "0x3b")) (; ";")) (expression_statement "puVar8 = &DAT_000a119f;" (assignment_expression "puVar8 = &DAT_000a119f" (identifier "puVar8") (= "=") (pointer_expression "&DAT_000a119f" (& "&") (identifier "DAT_000a119f"))) (; ";")) (} "}"))) (if_statement "if ((uVar2 & 4) != 0) {\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" (if "if") (parenthesized_expression "((uVar2 & 4) != 0)" (( "(") (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" (( "(") (binary_expression "uVar2 & 4" (identifier "uVar2") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *puVar8 = 0x3f;\n      puVar8 = puVar8 + 1;\n    }" ({ "{") (expression_statement "*puVar8 = 0x3f;" (assignment_expression "*puVar8 = 0x3f" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0x3f")) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((uVar2 & 8) == 0) {\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }\n    else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" (if "if") (parenthesized_expression "((uVar2 & 8) == 0)" (( "(") (binary_expression "(uVar2 & 8) == 0" (parenthesized_expression "(uVar2 & 8)" (( "(") (binary_expression "uVar2 & 8" (identifier "uVar2") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *puVar8 = 0;\n      if (*pcVar14 != '[') goto LAB_00046276;\nLAB_00046332:\n      local_70 = pcVar14 + 1;\n      local_60 = strchr(local_70,0x5d);\n      if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }\n      iVar4 = 6;\n    }" ({ "{") (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*pcVar14 != '[') goto LAB_00046276;" (if "if") (parenthesized_expression "(*pcVar14 != '[')" (( "(") (binary_expression "*pcVar14 != '['" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (!= "!=") (char_literal "'['" (' "'") (character "[") (' "'"))) () ")")) (goto_statement "goto LAB_00046276;" (goto "goto") (statement_identifier "LAB_00046276") (; ";"))) (labeled_statement "LAB_00046332:\n      local_70 = pcVar14 + 1;" (statement_identifier "LAB_00046332") (: ":") (expression_statement "local_70 = pcVar14 + 1;" (assignment_expression "local_70 = pcVar14 + 1" (identifier "local_70") (= "=") (binary_expression "pcVar14 + 1" (identifier "pcVar14") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "local_60 = strchr(local_70,0x5d);" (assignment_expression "local_60 = strchr(local_70,0x5d)" (identifier "local_60") (= "=") (call_expression "strchr(local_70,0x5d)" (identifier "strchr") (argument_list "(local_70,0x5d)" (( "(") (identifier "local_70") (, ",") (number_literal "0x5d") () ")")))) (; ";")) (if_statement "if (local_60 != (char *)0x0) {\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" (if "if") (parenthesized_expression "(local_60 != (char *)0x0)" (( "(") (binary_expression "local_60 != (char *)0x0" (identifier "local_60") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        cVar3 = FUN_0002a270(local_70,local_60);\n        if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }\n        pcVar7 = local_60 + 1;\n        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);\n        if (pcVar10 != (char *)0x0) goto LAB_0004629b;\n        goto LAB_00046398;\n      }" ({ "{") (expression_statement "cVar3 = FUN_0002a270(local_70,local_60);" (assignment_expression "cVar3 = FUN_0002a270(local_70,local_60)" (identifier "cVar3") (= "=") (call_expression "FUN_0002a270(local_70,local_60)" (identifier "FUN_0002a270") (argument_list "(local_70,local_60)" (( "(") (identifier "local_70") (, ",") (identifier "local_60") () ")")))) (; ";")) (if_statement "if (cVar3 == '\0') {\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar4 = 8;\n          goto LAB_0004639d;\n        }" ({ "{") (expression_statement "iVar4 = 8;" (assignment_expression "iVar4 = 8" (identifier "iVar4") (= "=") (number_literal "8")) (; ";")) (goto_statement "goto LAB_0004639d;" (goto "goto") (statement_identifier "LAB_0004639d") (; ";")) (} "}"))) (expression_statement "pcVar7 = local_60 + 1;" (assignment_expression "pcVar7 = local_60 + 1" (identifier "pcVar7") (= "=") (binary_expression "local_60 + 1" (identifier "local_60") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);" (assignment_expression "pcVar10 = strchr(&DAT_000a119c,(int)local_60[1])" (identifier "pcVar10") (= "=") (call_expression "strchr(&DAT_000a119c,(int)local_60[1])" (identifier "strchr") (argument_list "(&DAT_000a119c,(int)local_60[1])" (( "(") (pointer_expression "&DAT_000a119c" (& "&") (identifier "DAT_000a119c")) (, ",") (cast_expression "(int)local_60[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "local_60[1]" (identifier "local_60") ([ "[") (number_literal "1") (] "]"))) () ")")))) (; ";")) (if_statement "if (pcVar10 != (char *)0x0) goto LAB_0004629b;" (if "if") (parenthesized_expression "(pcVar10 != (char *)0x0)" (( "(") (binary_expression "pcVar10 != (char *)0x0" (identifier "pcVar10") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0004629b;" (goto "goto") (statement_identifier "LAB_0004629b") (; ";"))) (goto_statement "goto LAB_00046398;" (goto "goto") (statement_identifier "LAB_00046398") (; ";")) (} "}"))) (expression_statement "iVar4 = 6;" (assignment_expression "iVar4 = 6" (identifier "iVar4") (= "=") (number_literal "6")) (; ";")) (} "}")) (else_clause "else {\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" (else "else") (compound_statement "{\n      *puVar8 = 0x23;\n      puVar8[1] = 0;\n      if (*pcVar14 == '[') goto LAB_00046332;\nLAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);\n      local_70 = pcVar14;\n      local_60 = pcVar7;\n      if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }\nLAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }\nLAB_00046398:\n      iVar4 = 3;\n    }" ({ "{") (expression_statement "*puVar8 = 0x23;" (assignment_expression "*puVar8 = 0x23" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0x23")) (; ";")) (expression_statement "puVar8[1] = 0;" (assignment_expression "puVar8[1] = 0" (subscript_expression "puVar8[1]" (identifier "puVar8") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (if_statement "if (*pcVar14 == '[') goto LAB_00046332;" (if "if") (parenthesized_expression "(*pcVar14 == '[')" (( "(") (binary_expression "*pcVar14 == '['" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (== "==") (char_literal "'['" (' "'") (character "[") (' "'"))) () ")")) (goto_statement "goto LAB_00046332;" (goto "goto") (statement_identifier "LAB_00046332") (; ";"))) (labeled_statement "LAB_00046276:\n      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" (statement_identifier "LAB_00046276") (: ":") (expression_statement "pcVar7 = strpbrk(pcVar14,&DAT_000a119c);" (assignment_expression "pcVar7 = strpbrk(pcVar14,&DAT_000a119c)" (identifier "pcVar7") (= "=") (call_expression "strpbrk(pcVar14,&DAT_000a119c)" (identifier "strpbrk") (argument_list "(pcVar14,&DAT_000a119c)" (( "(") (identifier "pcVar14") (, ",") (pointer_expression "&DAT_000a119c" (& "&") (identifier "DAT_000a119c")) () ")")))) (; ";"))) (expression_statement "local_70 = pcVar14;" (assignment_expression "local_70 = pcVar14" (identifier "local_70") (= "=") (identifier "pcVar14")) (; ";")) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" (identifier "local_60") (= "=") (identifier "pcVar7")) (; ";")) (if_statement "if (pcVar7 == (char *)0x0) {\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" (if "if") (parenthesized_expression "(pcVar7 == (char *)0x0)" (( "(") (binary_expression "pcVar7 == (char *)0x0" (identifier "pcVar7") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        sVar5 = strlen(pcVar14);\n        pcVar7 = pcVar14 + sVar5;\n        local_60 = pcVar7;\n      }" ({ "{") (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar14)" (identifier "strlen") (argument_list "(pcVar14)" (( "(") (identifier "pcVar14") () ")")))) (; ";")) (expression_statement "pcVar7 = pcVar14 + sVar5;" (assignment_expression "pcVar7 = pcVar14 + sVar5" (identifier "pcVar7") (= "=") (binary_expression "pcVar14 + sVar5" (identifier "pcVar14") (+ "+") (identifier "sVar5"))) (; ";")) (expression_statement "local_60 = pcVar7;" (assignment_expression "local_60 = pcVar7" (identifier "local_60") (= "=") (identifier "pcVar7")) (; ";")) (} "}"))) (labeled_statement "LAB_0004629b:\n      if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" (statement_identifier "LAB_0004629b") (: ":") (if_statement "if (local_70 != local_60) {\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" (if "if") (parenthesized_expression "(local_70 != local_60)" (( "(") (binary_expression "local_70 != local_60" (identifier "local_70") (!= "!=") (identifier "local_60")) () ")")) (compound_statement "{\n        cVar3 = *pcVar7;\n        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);\n        pcVar10 = pcVar7;\n        if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }\n        local_50 = (char *)0x0;\n        local_54 = (char *)0x0;\n        if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }\n        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);\n        if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }\n        local_3c = (char *)0x0;\n        local_48 = (char *)0x0;\n        if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }\n        local_38 = (char *)0x0;\n        local_44 = (char *)0x0;\n        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }\n        if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }\n        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);\n        puVar11[1] = iVar4;\n        uVar12 = FUN_000497f0(local_70,local_60);\n        puVar11[0xb] = pcVar7;\n        puVar11[2] = uVar12;\n        puVar11[3] = local_4c;\n        puVar11[10] = local_64;\n        pcVar14 = (char *)FUN_000497f0(local_54,local_50);\n        puVar11[4] = pcVar14;\n        sVar5 = strlen(pcVar14);\n        pcVar6 = pcVar14 + sVar5;\n        if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }\n        pcVar6 = strrchr(pcVar14,0x2f);\n        if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }\n        bVar13 = 0;\n        FUN_00044130();\n        FUN_00044130();\n        pcVar14 = (char *)puVar11[2];\n        cVar3 = *pcVar14;\n        if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }\n        pcVar14 = strchr(pcVar14,0x25);\n        if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }\n        if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }\n        if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }\n        if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }\n        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }\n        goto LAB_000463c5;\n      }" ({ "{") (expression_statement "cVar3 = *pcVar7;" (assignment_expression "cVar3 = *pcVar7" (identifier "cVar3") (= "=") (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7"))) (; ";")) (expression_statement "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);" (assignment_expression "local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" (identifier "local_4c") (= "=") (pointer_expression "*(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" (* "*") (cast_expression "(uint *)(&DAT_000a11c8 + iVar4 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000a11c8 + iVar4 * 0x10)" (( "(") (binary_expression "&DAT_000a11c8 + iVar4 * 0x10" (pointer_expression "&DAT_000a11c8" (& "&") (identifier "DAT_000a11c8")) (+ "+") (binary_expression "iVar4 * 0x10" (identifier "iVar4") (* "*") (number_literal "0x10"))) () ")"))))) (; ";")) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" (identifier "pcVar10") (= "=") (identifier "pcVar7")) (; ";")) (if_statement "if (cVar3 == ':') {\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" (if "if") (parenthesized_expression "(cVar3 == ':')" (( "(") (binary_expression "cVar3 == ':'" (identifier "cVar3") (== "==") (char_literal "':'" (' "'") (character ":") (' "'"))) () ")")) (compound_statement "{\n          pcVar15 = pcVar7 + 1;\n          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }\n          if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }\n        }" ({ "{") (expression_statement "pcVar15 = pcVar7 + 1;" (assignment_expression "pcVar15 = pcVar7 + 1" (identifier "pcVar15") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = strpbrk(pcVar15,&DAT_000a119d);" (assignment_expression "pcVar10 = strpbrk(pcVar15,&DAT_000a119d)" (identifier "pcVar10") (= "=") (call_expression "strpbrk(pcVar15,&DAT_000a119d)" (identifier "strpbrk") (argument_list "(pcVar15,&DAT_000a119d)" (( "(") (identifier "pcVar15") (, ",") (pointer_expression "&DAT_000a119d" (& "&") (identifier "DAT_000a119d")) () ")")))) (; ";")) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" (if "if") (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            sVar5 = strlen(pcVar15);\n            pcVar10 = pcVar15 + sVar5;\n          }" ({ "{") (expression_statement "sVar5 = strlen(pcVar15);" (assignment_expression "sVar5 = strlen(pcVar15)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar15)" (identifier "strlen") (argument_list "(pcVar15)" (( "(") (identifier "pcVar15") () ")")))) (; ";")) (expression_statement "pcVar10 = pcVar15 + sVar5;" (assignment_expression "pcVar10 = pcVar15 + sVar5" (identifier "pcVar10") (= "=") (binary_expression "pcVar15 + sVar5" (identifier "pcVar15") (+ "+") (identifier "sVar5"))) (; ";")) (} "}"))) (if_statement "if (pcVar15 == pcVar10) {\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }\n          else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" (if "if") (parenthesized_expression "(pcVar15 == pcVar10)" (( "(") (binary_expression "pcVar15 == pcVar10" (identifier "pcVar15") (== "==") (identifier "pcVar10")) () ")")) (compound_statement "{\nLAB_00046b30:\n            cVar3 = *pcVar15;\n            pcVar10 = pcVar15;\n          }" ({ "{") (labeled_statement "LAB_00046b30:\n            cVar3 = *pcVar15;" (statement_identifier "LAB_00046b30") (: ":") (expression_statement "cVar3 = *pcVar15;" (assignment_expression "cVar3 = *pcVar15" (identifier "cVar3") (= "=") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15"))) (; ";"))) (expression_statement "pcVar10 = pcVar15;" (assignment_expression "pcVar10 = pcVar15" (identifier "pcVar10") (= "=") (identifier "pcVar15")) (; ";")) (} "}")) (else_clause "else {\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" (else "else") (compound_statement "{\n            if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }\n            cVar3 = *pcVar10;\n            local_4c = 0;\n          }" ({ "{") (if_statement "if (pcVar15 < pcVar10) {\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" (if "if") (parenthesized_expression "(pcVar15 < pcVar10)" (( "(") (binary_expression "pcVar15 < pcVar10" (identifier "pcVar15") (< "<") (identifier "pcVar10")) () ")")) (compound_statement "{\n              local_4c = (int)pcVar7[1] - 0x30;\n              if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }\n              iVar4 = 4;\n              goto LAB_0004639d;\n            }" ({ "{") (expression_statement "local_4c = (int)pcVar7[1] - 0x30;" (assignment_expression "local_4c = (int)pcVar7[1] - 0x30" (identifier "local_4c") (= "=") (binary_expression "(int)pcVar7[1] - 0x30" (cast_expression "(int)pcVar7[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "pcVar7[1]" (identifier "pcVar7") ([ "[") (number_literal "1") (] "]"))) (- "-") (number_literal "0x30"))) (; ";")) (if_statement "if (local_4c < 10) {\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" (if "if") (parenthesized_expression "(local_4c < 10)" (( "(") (binary_expression "local_4c < 10" (identifier "local_4c") (< "<") (number_literal "10")) () ")")) (compound_statement "{\n                do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));\n              }" ({ "{") (do_statement "do {\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                } while (((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ));" (do "do") (compound_statement "{\n                  pcVar15 = pcVar15 + 1;\n                  if (pcVar15 == pcVar10) goto LAB_00046b30;\n                }" ({ "{") (expression_statement "pcVar15 = pcVar15 + 1;" (assignment_expression "pcVar15 = pcVar15 + 1" (identifier "pcVar15") (= "=") (binary_expression "pcVar15 + 1" (identifier "pcVar15") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar15 == pcVar10) goto LAB_00046b30;" (if "if") (parenthesized_expression "(pcVar15 == pcVar10)" (( "(") (binary_expression "pcVar15 == pcVar10" (identifier "pcVar15") (== "==") (identifier "pcVar10")) () ")")) (goto_statement "goto LAB_00046b30;" (goto "goto") (statement_identifier "LAB_00046b30") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        ))" (( "(") (binary_expression "((int)*pcVar15 - 0x30U < 10) &&\n                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" (parenthesized_expression "((int)*pcVar15 - 0x30U < 10)" (( "(") (binary_expression "(int)*pcVar15 - 0x30U < 10" (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15"))) (- "-") (number_literal "0x30U")) (< "<") (number_literal "10")) () ")")) (&& "&&") (parenthesized_expression "(local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000\n                        )" (( "(") (comma_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000" (assignment_expression "local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10" (identifier "local_4c") (= "=") (binary_expression "((int)*pcVar15 - 0x30U) + local_4c * 10" (parenthesized_expression "((int)*pcVar15 - 0x30U)" (( "(") (binary_expression "(int)*pcVar15 - 0x30U" (cast_expression "(int)*pcVar15" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*pcVar15" (* "*") (identifier "pcVar15"))) (- "-") (number_literal "0x30U")) () ")")) (+ "+") (binary_expression "local_4c * 10" (identifier "local_4c") (* "*") (number_literal "10")))) (, ",") (binary_expression "(int)local_4c < 0x10000" (cast_expression "(int)local_4c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_4c")) (< "<") (number_literal "0x10000"))) () ")"))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar4 = 4;" (assignment_expression "iVar4 = 4" (identifier "iVar4") (= "=") (number_literal "4")) (; ";")) (goto_statement "goto LAB_0004639d;" (goto "goto") (statement_identifier "LAB_0004639d") (; ";")) (} "}"))) (expression_statement "cVar3 = *pcVar10;" (assignment_expression "cVar3 = *pcVar10" (identifier "cVar3") (= "=") (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10"))) (; ";")) (expression_statement "local_4c = 0;" (assignment_expression "local_4c = 0" (identifier "local_4c") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}"))) (expression_statement "local_50 = (char *)0x0;" (assignment_expression "local_50 = (char *)0x0" (identifier "local_50") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_54 = (char *)0x0;" (assignment_expression "local_54 = (char *)0x0" (identifier "local_54") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (cVar3 == '/') {\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" (if "if") (parenthesized_expression "(cVar3 == '/')" (( "(") (binary_expression "cVar3 == '/'" (identifier "cVar3") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n          local_54 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_54,&DAT_000a119e);\n          local_50 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }\n        }" ({ "{") (expression_statement "local_54 = pcVar10 + 1;" (assignment_expression "local_54 = pcVar10 + 1" (identifier "local_54") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = strpbrk(local_54,&DAT_000a119e);" (assignment_expression "pcVar10 = strpbrk(local_54,&DAT_000a119e)" (identifier "pcVar10") (= "=") (call_expression "strpbrk(local_54,&DAT_000a119e)" (identifier "strpbrk") (argument_list "(local_54,&DAT_000a119e)" (( "(") (identifier "local_54") (, ",") (pointer_expression "&DAT_000a119e" (& "&") (identifier "DAT_000a119e")) () ")")))) (; ";")) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" (identifier "local_50") (= "=") (identifier "pcVar10")) (; ";")) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" (if "if") (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            sVar5 = strlen(local_54);\n            pcVar10 = local_54 + sVar5;\n            local_50 = pcVar10;\n          }" ({ "{") (expression_statement "sVar5 = strlen(local_54);" (assignment_expression "sVar5 = strlen(local_54)" (identifier "sVar5") (= "=") (call_expression "strlen(local_54)" (identifier "strlen") (argument_list "(local_54)" (( "(") (identifier "local_54") () ")")))) (; ";")) (expression_statement "pcVar10 = local_54 + sVar5;" (assignment_expression "pcVar10 = local_54 + sVar5" (identifier "pcVar10") (= "=") (binary_expression "local_54 + sVar5" (identifier "local_54") (+ "+") (identifier "sVar5"))) (; ";")) (expression_statement "local_50 = pcVar10;" (assignment_expression "local_50 = pcVar10" (identifier "local_50") (= "=") (identifier "pcVar10")) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);" (assignment_expression "uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (* "*") (cast_expression "(uint *)(&DAT_000a11cc + iVar4 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_000a11cc + iVar4 * 0x10)" (( "(") (binary_expression "&DAT_000a11cc + iVar4 * 0x10" (pointer_expression "&DAT_000a11cc" (& "&") (identifier "DAT_000a11cc")) (+ "+") (binary_expression "iVar4 * 0x10" (identifier "iVar4") (* "*") (number_literal "0x10"))) () ")"))))) (; ";")) (if_statement "if ((uVar2 & 2) == 0) {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }\n        else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" (if "if") (parenthesized_expression "((uVar2 & 2) == 0)" (( "(") (binary_expression "(uVar2 & 2) == 0" (parenthesized_expression "(uVar2 & 2)" (( "(") (binary_expression "uVar2 & 2" (identifier "uVar2") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a119f;\n          local_40 = (char *)0x0;\n        }" ({ "{") (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" (identifier "local_34") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar7 = &DAT_000a119f;" (assignment_expression "pcVar7 = &DAT_000a119f" (identifier "pcVar7") (= "=") (pointer_expression "&DAT_000a119f" (& "&") (identifier "DAT_000a119f"))) (; ";")) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" (identifier "local_40") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" (else "else") (if_statement "if (*pcVar10 == ';') {\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }\n        else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" (if "if") (parenthesized_expression "(*pcVar10 == ';')" (( "(") (binary_expression "*pcVar10 == ';'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (== "==") (char_literal "';'" (' "'") (character ";") (' "'"))) () ")")) (compound_statement "{\n          local_40 = pcVar10 + 1;\n          pcVar10 = strpbrk(local_40,&DAT_000a119f);\n          pcVar7 = &DAT_000a11a0;\n          local_34 = pcVar10;\n          if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }\n        }" ({ "{") (expression_statement "local_40 = pcVar10 + 1;" (assignment_expression "local_40 = pcVar10 + 1" (identifier "local_40") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = strpbrk(local_40,&DAT_000a119f);" (assignment_expression "pcVar10 = strpbrk(local_40,&DAT_000a119f)" (identifier "pcVar10") (= "=") (call_expression "strpbrk(local_40,&DAT_000a119f)" (identifier "strpbrk") (argument_list "(local_40,&DAT_000a119f)" (( "(") (identifier "local_40") (, ",") (pointer_expression "&DAT_000a119f" (& "&") (identifier "DAT_000a119f")) () ")")))) (; ";")) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" (identifier "pcVar7") (= "=") (pointer_expression "&DAT_000a11a0" (& "&") (identifier "DAT_000a11a0"))) (; ";")) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" (identifier "local_34") (= "=") (identifier "pcVar10")) (; ";")) (if_statement "if (pcVar10 == (char *)0x0) {\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" (if "if") (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            sVar5 = strlen(local_40);\n            pcVar10 = local_40 + sVar5;\n            local_34 = pcVar10;\n          }" ({ "{") (expression_statement "sVar5 = strlen(local_40);" (assignment_expression "sVar5 = strlen(local_40)" (identifier "sVar5") (= "=") (call_expression "strlen(local_40)" (identifier "strlen") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (expression_statement "pcVar10 = local_40 + sVar5;" (assignment_expression "pcVar10 = local_40 + sVar5" (identifier "pcVar10") (= "=") (binary_expression "local_40 + sVar5" (identifier "local_40") (+ "+") (identifier "sVar5"))) (; ";")) (expression_statement "local_34 = pcVar10;" (assignment_expression "local_34 = pcVar10" (identifier "local_34") (= "=") (identifier "pcVar10")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" (else "else") (compound_statement "{\n          local_34 = (char *)0x0;\n          pcVar7 = &DAT_000a11a0;\n          local_40 = (char *)0x0;\n        }" ({ "{") (expression_statement "local_34 = (char *)0x0;" (assignment_expression "local_34 = (char *)0x0" (identifier "local_34") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar7 = &DAT_000a11a0;" (assignment_expression "pcVar7 = &DAT_000a11a0" (identifier "pcVar7") (= "=") (pointer_expression "&DAT_000a11a0" (& "&") (identifier "DAT_000a11a0"))) (; ";")) (expression_statement "local_40 = (char *)0x0;" (assignment_expression "local_40 = (char *)0x0" (identifier "local_40") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))))) (expression_statement "local_3c = (char *)0x0;" (assignment_expression "local_3c = (char *)0x0" (identifier "local_3c") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_48 = (char *)0x0;" (assignment_expression "local_48 = (char *)0x0" (identifier "local_48") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if ((uVar2 & 4) != 0) {\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" (if "if") (parenthesized_expression "((uVar2 & 4) != 0)" (( "(") (binary_expression "(uVar2 & 4) != 0" (parenthesized_expression "(uVar2 & 4)" (( "(") (binary_expression "uVar2 & 4" (identifier "uVar2") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }\n          pcVar7 = pcVar7 + 1;\n        }" ({ "{") (if_statement "if (*pcVar10 == '?') {\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" (if "if") (parenthesized_expression "(*pcVar10 == '?')" (( "(") (binary_expression "*pcVar10 == '?'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (== "==") (char_literal "'?'" (' "'") (character "?") (' "'"))) () ")")) (compound_statement "{\n            local_48 = pcVar10 + 1;\n            pcVar10 = strpbrk(local_48,pcVar7);\n            local_3c = pcVar10;\n            if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }\n          }" ({ "{") (expression_statement "local_48 = pcVar10 + 1;" (assignment_expression "local_48 = pcVar10 + 1" (identifier "local_48") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar10 = strpbrk(local_48,pcVar7);" (assignment_expression "pcVar10 = strpbrk(local_48,pcVar7)" (identifier "pcVar10") (= "=") (call_expression "strpbrk(local_48,pcVar7)" (identifier "strpbrk") (argument_list "(local_48,pcVar7)" (( "(") (identifier "local_48") (, ",") (identifier "pcVar7") () ")")))) (; ";")) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" (identifier "local_3c") (= "=") (identifier "pcVar10")) (; ";")) (if_statement "if (pcVar10 == (char *)0x0) {\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" (if "if") (parenthesized_expression "(pcVar10 == (char *)0x0)" (( "(") (binary_expression "pcVar10 == (char *)0x0" (identifier "pcVar10") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              sVar5 = strlen(local_48);\n              pcVar10 = local_48 + sVar5;\n              local_3c = pcVar10;\n            }" ({ "{") (expression_statement "sVar5 = strlen(local_48);" (assignment_expression "sVar5 = strlen(local_48)" (identifier "sVar5") (= "=") (call_expression "strlen(local_48)" (identifier "strlen") (argument_list "(local_48)" (( "(") (identifier "local_48") () ")")))) (; ";")) (expression_statement "pcVar10 = local_48 + sVar5;" (assignment_expression "pcVar10 = local_48 + sVar5" (identifier "pcVar10") (= "=") (binary_expression "local_48 + sVar5" (identifier "local_48") (+ "+") (identifier "sVar5"))) (; ";")) (expression_statement "local_3c = pcVar10;" (assignment_expression "local_3c = pcVar10" (identifier "local_3c") (= "=") (identifier "pcVar10")) (; ";")) (} "}"))) (} "}"))) (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "local_38 = (char *)0x0;" (assignment_expression "local_38 = (char *)0x0" (identifier "local_38") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_44 = (char *)0x0;" (assignment_expression "local_44 = (char *)0x0" (identifier "local_44") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" (if "if") (parenthesized_expression "(((uVar2 & 8) != 0) && (*pcVar10 == '#'))" (( "(") (binary_expression "((uVar2 & 8) != 0) && (*pcVar10 == '#')" (parenthesized_expression "((uVar2 & 8) != 0)" (( "(") (binary_expression "(uVar2 & 8) != 0" (parenthesized_expression "(uVar2 & 8)" (( "(") (binary_expression "uVar2 & 8" (identifier "uVar2") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*pcVar10 == '#')" (( "(") (binary_expression "*pcVar10 == '#'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (== "==") (char_literal "'#'" (' "'") (character "#") (' "'"))) () ")"))) () ")")) (compound_statement "{\n          local_44 = pcVar10 + 1;\n          local_38 = strpbrk(local_44,pcVar7);\n          if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }\n        }" ({ "{") (expression_statement "local_44 = pcVar10 + 1;" (assignment_expression "local_44 = pcVar10 + 1" (identifier "local_44") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_38 = strpbrk(local_44,pcVar7);" (assignment_expression "local_38 = strpbrk(local_44,pcVar7)" (identifier "local_38") (= "=") (call_expression "strpbrk(local_44,pcVar7)" (identifier "strpbrk") (argument_list "(local_44,pcVar7)" (( "(") (identifier "local_44") (, ",") (identifier "pcVar7") () ")")))) (; ";")) (if_statement "if (local_38 == (char *)0x0) {\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" (if "if") (parenthesized_expression "(local_38 == (char *)0x0)" (( "(") (binary_expression "local_38 == (char *)0x0" (identifier "local_38") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            sVar5 = strlen(local_44);\n            local_38 = local_44 + sVar5;\n          }" ({ "{") (expression_statement "sVar5 = strlen(local_44);" (assignment_expression "sVar5 = strlen(local_44)" (identifier "sVar5") (= "=") (call_expression "strlen(local_44)" (identifier "strlen") (argument_list "(local_44)" (( "(") (identifier "local_44") () ")")))) (; ";")) (expression_statement "local_38 = local_44 + sVar5;" (assignment_expression "local_38 = local_44 + sVar5" (identifier "local_38") (= "=") (binary_expression "local_44 + sVar5" (identifier "local_44") (+ "+") (identifier "sVar5"))) (; ";")) (} "}"))) (} "}"))) (if_statement "if (pcVar6 == pcVar14) {\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }\n        else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" (if "if") (parenthesized_expression "(pcVar6 == pcVar14)" (( "(") (binary_expression "pcVar6 == pcVar14" (identifier "pcVar6") (== "==") (identifier "pcVar14")) () ")")) (compound_statement "{\n          pcVar7 = (char *)0x0;\n          local_64 = (char *)0x0;\n        }" ({ "{") (expression_statement "pcVar7 = (char *)0x0;" (assignment_expression "pcVar7 = (char *)0x0" (identifier "pcVar7") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_64 = (char *)0x0;" (assignment_expression "local_64 = (char *)0x0" (identifier "local_64") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" (else "else") (compound_statement "{\n          pcVar14 = pcVar14 + -1;\n          if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }\n          pcVar7 = pcVar10;\n          if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }\n          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);\n          FUN_00044130();\n        }" ({ "{") (expression_statement "pcVar14 = pcVar14 + -1;" (assignment_expression "pcVar14 = pcVar14 + -1" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + -1" (identifier "pcVar14") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if ((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)) {\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" (if "if") (parenthesized_expression "((pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10))" (( "(") (binary_expression "(pcVar14 == pcVar6) ||\n             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" (parenthesized_expression "(pcVar14 == pcVar6)" (( "(") (binary_expression "pcVar14 == pcVar6" (identifier "pcVar14") (== "==") (identifier "pcVar6")) () ")")) (|| "||") (parenthesized_expression "(pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10)" (( "(") (comma_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),\n             pcVar6 == pcVar10" (assignment_expression "pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" (identifier "pcVar10") (= "=") (cast_expression "(char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" (identifier "FUN_0005e6e0") (argument_list "(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6)" (( "(") (identifier "pcVar6") (, ",") (number_literal "0x3a") (, ",") (binary_expression "(int)pcVar14 - (int)pcVar6" (cast_expression "(int)pcVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar14")) (- "-") (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6"))) () ")"))))) (, ",") (binary_expression "pcVar6 == pcVar10" (identifier "pcVar6") (== "==") (identifier "pcVar10"))) () ")"))) () ")")) (compound_statement "{\n            iVar4 = 5;\n            goto LAB_0004639d;\n          }" ({ "{") (expression_statement "iVar4 = 5;" (assignment_expression "iVar4 = 5" (identifier "iVar4") (= "=") (number_literal "5")) (; ";")) (goto_statement "goto LAB_0004639d;" (goto "goto") (statement_identifier "LAB_0004639d") (; ";")) (} "}"))) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" (identifier "pcVar7") (= "=") (identifier "pcVar10")) (; ";")) (if_statement "if (pcVar10 != (char *)0x0) {\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" (if "if") (parenthesized_expression "(pcVar10 != (char *)0x0)" (( "(") (binary_expression "pcVar10 != (char *)0x0" (identifier "pcVar10") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);\n            FUN_00044130();\n            pcVar14 = pcVar10;\n          }" ({ "{") (expression_statement "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);" (assignment_expression "pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14)" (identifier "pcVar7") (= "=") (cast_expression "(char *)FUN_000497f0(pcVar10 + 1,pcVar14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000497f0(pcVar10 + 1,pcVar14)" (identifier "FUN_000497f0") (argument_list "(pcVar10 + 1,pcVar14)" (( "(") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1")) (, ",") (identifier "pcVar14") () ")"))))) (; ";")) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" (identifier "FUN_00044130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar14 = pcVar10;" (assignment_expression "pcVar14 = pcVar10" (identifier "pcVar14") (= "=") (identifier "pcVar10")) (; ";")) (} "}"))) (expression_statement "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);" (assignment_expression "local_64 = (char *)FUN_000497f0(pcVar6,pcVar14)" (identifier "local_64") (= "=") (cast_expression "(char *)FUN_000497f0(pcVar6,pcVar14)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000497f0(pcVar6,pcVar14)" (identifier "FUN_000497f0") (argument_list "(pcVar6,pcVar14)" (( "(") (identifier "pcVar6") (, ",") (identifier "pcVar14") () ")"))))) (; ";")) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" (identifier "FUN_00044130") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);" (assignment_expression "puVar11 = (undefined4 *)FUN_0005aef0(1,0x30)" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)FUN_0005aef0(1,0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005aef0(1,0x30)" (identifier "FUN_0005aef0") (argument_list "(1,0x30)" (( "(") (number_literal "1") (, ",") (number_literal "0x30") () ")"))))) (; ";")) (expression_statement "puVar11[1] = iVar4;" (assignment_expression "puVar11[1] = iVar4" (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "uVar12 = FUN_000497f0(local_70,local_60);" (assignment_expression "uVar12 = FUN_000497f0(local_70,local_60)" (identifier "uVar12") (= "=") (call_expression "FUN_000497f0(local_70,local_60)" (identifier "FUN_000497f0") (argument_list "(local_70,local_60)" (( "(") (identifier "local_70") (, ",") (identifier "local_60") () ")")))) (; ";")) (expression_statement "puVar11[0xb] = pcVar7;" (assignment_expression "puVar11[0xb] = pcVar7" (subscript_expression "puVar11[0xb]" (identifier "puVar11") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "pcVar7")) (; ";")) (expression_statement "puVar11[2] = uVar12;" (assignment_expression "puVar11[2] = uVar12" (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "puVar11[3] = local_4c;" (assignment_expression "puVar11[3] = local_4c" (subscript_expression "puVar11[3]" (identifier "puVar11") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_4c")) (; ";")) (expression_statement "puVar11[10] = local_64;" (assignment_expression "puVar11[10] = local_64" (subscript_expression "puVar11[10]" (identifier "puVar11") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "local_64")) (; ";")) (expression_statement "pcVar14 = (char *)FUN_000497f0(local_54,local_50);" (assignment_expression "pcVar14 = (char *)FUN_000497f0(local_54,local_50)" (identifier "pcVar14") (= "=") (cast_expression "(char *)FUN_000497f0(local_54,local_50)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000497f0(local_54,local_50)" (identifier "FUN_000497f0") (argument_list "(local_54,local_50)" (( "(") (identifier "local_54") (, ",") (identifier "local_50") () ")"))))) (; ";")) (expression_statement "puVar11[4] = pcVar14;" (assignment_expression "puVar11[4] = pcVar14" (subscript_expression "puVar11[4]" (identifier "puVar11") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "pcVar14")) (; ";")) (expression_statement "sVar5 = strlen(pcVar14);" (assignment_expression "sVar5 = strlen(pcVar14)" (identifier "sVar5") (= "=") (call_expression "strlen(pcVar14)" (identifier "strlen") (argument_list "(pcVar14)" (( "(") (identifier "pcVar14") () ")")))) (; ";")) (expression_statement "pcVar6 = pcVar14 + sVar5;" (assignment_expression "pcVar6 = pcVar14 + sVar5" (identifier "pcVar6") (= "=") (binary_expression "pcVar14 + sVar5" (identifier "pcVar14") (+ "+") (identifier "sVar5"))) (; ";")) (if_statement "if (pcVar14 < pcVar6) {\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }\n        else {\n          bVar16 = false;\n        }" (if "if") (parenthesized_expression "(pcVar14 < pcVar6)" (( "(") (binary_expression "pcVar14 < pcVar6" (identifier "pcVar14") (< "<") (identifier "pcVar6")) () ")")) (compound_statement "{\n          pcVar7 = pcVar14;\n          local_64 = pcVar14;\n          do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);\n          bVar16 = pcVar7 != pcVar14;\nLAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }\nLAB_00046627:\n          pcVar14 = (char *)puVar11[4];\n        }" ({ "{") (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" (identifier "pcVar7") (= "=") (identifier "pcVar14")) (; ";")) (expression_statement "local_64 = pcVar14;" (assignment_expression "local_64 = pcVar14" (identifier "local_64") (= "=") (identifier "pcVar14")) (; ";")) (do_statement "do {\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          } while (pcVar14 < pcVar6);" (do "do") (compound_statement "{\n            cVar3 = *pcVar14;\n            if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }\n          }" ({ "{") (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" (identifier "cVar3") (= "=") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14"))) (; ";")) (if_statement "if (cVar3 == '.') {\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }\n            else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" (if "if") (parenthesized_expression "(cVar3 == '.')" (( "(") (binary_expression "cVar3 == '.'" (identifier "cVar3") (== "==") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (compound_statement "{\n              cVar1 = pcVar14[1];\n              if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }\n            }" ({ "{") (expression_statement "cVar1 = pcVar14[1];" (assignment_expression "cVar1 = pcVar14[1]" (identifier "cVar1") (= "=") (subscript_expression "pcVar14[1]" (identifier "pcVar14") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if ((cVar1 == '/') || (cVar1 == '\0')) {\n                pcVar14 = pcVar14 + 2;\n              }\n              else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" (if "if") (parenthesized_expression "((cVar1 == '/') || (cVar1 == '\0'))" (( "(") (binary_expression "(cVar1 == '/') || (cVar1 == '\0')" (parenthesized_expression "(cVar1 == '/')" (( "(") (binary_expression "cVar1 == '/'" (identifier "cVar1") (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                pcVar14 = pcVar14 + 2;\n              }" ({ "{") (expression_statement "pcVar14 = pcVar14 + 2;" (assignment_expression "pcVar14 = pcVar14 + 2" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 2" (identifier "pcVar14") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (else_clause "else {\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" (else "else") (compound_statement "{\n                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;\n                if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }\n                pcVar14 = pcVar14 + 3;\n                pcVar7 = pcVar10;\n              }" ({ "{") (if_statement "if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))\n                goto LAB_000465d0;" (if "if") (parenthesized_expression "((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))" (( "(") (binary_expression "(cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" (parenthesized_expression "(cVar1 != '.')" (( "(") (binary_expression "cVar1 != '.'" (identifier "cVar1") (!= "!=") (char_literal "'.'" (' "'") (character ".") (' "'"))) () ")")) (|| "||") (parenthesized_expression "((pcVar14[2] != '/' && (pcVar14[2] != '\0')))" (( "(") (parenthesized_expression "(pcVar14[2] != '/' && (pcVar14[2] != '\0'))" (( "(") (binary_expression "pcVar14[2] != '/' && (pcVar14[2] != '\0')" (binary_expression "pcVar14[2] != '/'" (subscript_expression "pcVar14[2]" (identifier "pcVar14") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (&& "&&") (parenthesized_expression "(pcVar14[2] != '\0')" (( "(") (binary_expression "pcVar14[2] != '\0'" (subscript_expression "pcVar14[2]" (identifier "pcVar14") ([ "[") (number_literal "2") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_000465d0;" (goto "goto") (statement_identifier "LAB_000465d0") (; ";"))) (if_statement "if (local_64 < pcVar7) {\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }\n                else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" (if "if") (parenthesized_expression "(local_64 < pcVar7)" (( "(") (binary_expression "local_64 < pcVar7" (identifier "local_64") (< "<") (identifier "pcVar7")) () ")")) (compound_statement "{\n                  pcVar10 = pcVar7 + -1;\n                  if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }\n                }" ({ "{") (expression_statement "pcVar10 = pcVar7 + -1;" (assignment_expression "pcVar10 = pcVar7 + -1" (identifier "pcVar10") (= "=") (binary_expression "pcVar7 + -1" (identifier "pcVar7") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (local_64 < pcVar10) {\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" (if "if") (parenthesized_expression "(local_64 < pcVar10)" (( "(") (binary_expression "local_64 < pcVar10" (identifier "local_64") (< "<") (identifier "pcVar10")) () ")")) (compound_statement "{\n                    cVar3 = pcVar7[-2];\n                    pcVar7 = pcVar10;\n                    while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }\n                  }" ({ "{") (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" (identifier "cVar3") (= "=") (subscript_expression "pcVar7[-2]" (identifier "pcVar7") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" (identifier "pcVar7") (= "=") (identifier "pcVar10")) (; ";")) (while_statement "while ((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" (while "while") (parenthesized_expression "((pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)))" (( "(") (parenthesized_expression "(pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64))" (( "(") (comma_expression "pcVar10 = pcVar7, cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (assignment_expression "pcVar10 = pcVar7" (identifier "pcVar10") (= "=") (identifier "pcVar7")) (, ",") (binary_expression "cVar3 != '/' &&\n                           (pcVar10 = local_64, pcVar7 + -1 != local_64)" (binary_expression "cVar3 != '/'" (identifier "cVar3") (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (&& "&&") (parenthesized_expression "(pcVar10 = local_64, pcVar7 + -1 != local_64)" (( "(") (comma_expression "pcVar10 = local_64, pcVar7 + -1 != local_64" (assignment_expression "pcVar10 = local_64" (identifier "pcVar10") (= "=") (identifier "local_64")) (, ",") (binary_expression "pcVar7 + -1 != local_64" (binary_expression "pcVar7 + -1" (identifier "pcVar7") (+ "+") (number_literal "-1")) (!= "!=") (identifier "local_64"))) () ")")))) () ")")) () ")")) (compound_statement "{\n                      cVar3 = pcVar7[-2];\n                      pcVar7 = pcVar7 + -1;\n                    }" ({ "{") (expression_statement "cVar3 = pcVar7[-2];" (assignment_expression "cVar3 = pcVar7[-2]" (identifier "cVar3") (= "=") (subscript_expression "pcVar7[-2]" (identifier "pcVar7") ([ "[") (number_literal "-2") (] "]"))) (; ";")) (expression_statement "pcVar7 = pcVar7 + -1;" (assignment_expression "pcVar7 = pcVar7 + -1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + -1" (identifier "pcVar7") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" (else "else") (compound_statement "{\n                  pcVar10 = pcVar7;\n                  if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }\n                }" ({ "{") (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" (identifier "pcVar10") (= "=") (identifier "pcVar7")) (; ";")) (if_statement "if (iVar4 - 2U < 2) {\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" (if "if") (parenthesized_expression "(iVar4 - 2U < 2)" (( "(") (binary_expression "iVar4 - 2U < 2" (binary_expression "iVar4 - 2U" (identifier "iVar4") (- "-") (number_literal "2U")) (< "<") (number_literal "2")) () ")")) (compound_statement "{\n                    local_64 = pcVar7 + 3;\n                    goto LAB_000465d0;\n                  }" ({ "{") (expression_statement "local_64 = pcVar7 + 3;" (assignment_expression "local_64 = pcVar7 + 3" (identifier "local_64") (= "=") (binary_expression "pcVar7 + 3" (identifier "pcVar7") (+ "+") (number_literal "3"))) (; ";")) (goto_statement "goto LAB_000465d0;" (goto "goto") (statement_identifier "LAB_000465d0") (; ";")) (} "}"))) (} "}")))) (expression_statement "pcVar14 = pcVar14 + 3;" (assignment_expression "pcVar14 = pcVar14 + 3" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 3" (identifier "pcVar14") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pcVar7 = pcVar10;" (assignment_expression "pcVar7 = pcVar10" (identifier "pcVar7") (= "=") (identifier "pcVar10")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" (else "else") (compound_statement "{\nLAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }\n            }" ({ "{") (labeled_statement "LAB_000465d0:\n              if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" (statement_identifier "LAB_000465d0") (: ":") (if_statement "if (pcVar14 == pcVar7) {\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }\n              else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" (if "if") (parenthesized_expression "(pcVar14 == pcVar7)" (( "(") (binary_expression "pcVar14 == pcVar7" (identifier "pcVar14") (== "==") (identifier "pcVar7")) () ")")) (compound_statement "{\n                if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }\n                while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }\n                pcVar14 = pcVar7 + 1;\n                pcVar7 = pcVar14;\n              }" ({ "{") (if_statement "if (pcVar6 <= pcVar7) {\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" (if "if") (parenthesized_expression "(pcVar6 <= pcVar7)" (( "(") (binary_expression "pcVar6 <= pcVar7" (identifier "pcVar6") (<= "<=") (identifier "pcVar7")) () ")")) (compound_statement "{\nLAB_000467c0:\n                  bVar16 = false;\n                  goto LAB_00046627;\n                }" ({ "{") (labeled_statement "LAB_000467c0:\n                  bVar16 = false;" (statement_identifier "LAB_000467c0") (: ":") (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" (identifier "bVar16") (= "=") (false "false")) (; ";"))) (goto_statement "goto LAB_00046627;" (goto "goto") (statement_identifier "LAB_00046627") (; ";")) (} "}"))) (while_statement "while (*pcVar7 != '/') {\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" (while "while") (parenthesized_expression "(*pcVar7 != '/')" (( "(") (binary_expression "*pcVar7 != '/'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n                  pcVar7 = pcVar7 + 1;\n                  if (pcVar6 == pcVar7) goto LAB_000467c0;\n                }" ({ "{") (expression_statement "pcVar7 = pcVar7 + 1;" (assignment_expression "pcVar7 = pcVar7 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (pcVar6 == pcVar7) goto LAB_000467c0;" (if "if") (parenthesized_expression "(pcVar6 == pcVar7)" (( "(") (binary_expression "pcVar6 == pcVar7" (identifier "pcVar6") (== "==") (identifier "pcVar7")) () ")")) (goto_statement "goto LAB_000467c0;" (goto "goto") (statement_identifier "LAB_000467c0") (; ";"))) (} "}"))) (expression_statement "pcVar14 = pcVar7 + 1;" (assignment_expression "pcVar14 = pcVar7 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar7 + 1" (identifier "pcVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar7 = pcVar14;" (assignment_expression "pcVar7 = pcVar14" (identifier "pcVar7") (= "=") (identifier "pcVar14")) (; ";")) (} "}")) (else_clause "else {\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" (else "else") (compound_statement "{\n                if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }\n                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);\n                pcVar10 = pcVar7;\n                while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }\n                *pcVar10 = '/';\n                pcVar14 = pcVar14 + 1;\n                pcVar7 = pcVar10 + 1;\n              }" ({ "{") (if_statement "if (pcVar6 <= pcVar14) {\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" (if "if") (parenthesized_expression "(pcVar6 <= pcVar14)" (( "(") (binary_expression "pcVar6 <= pcVar14" (identifier "pcVar6") (<= "<=") (identifier "pcVar14")) () ")")) (compound_statement "{\nLAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;\n                  goto LAB_00046620;\n                }" ({ "{") (labeled_statement "LAB_00046619:\n                  bVar16 = pcVar7 != pcVar14;" (statement_identifier "LAB_00046619") (: ":") (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" (identifier "bVar16") (= "=") (binary_expression "pcVar7 != pcVar14" (identifier "pcVar7") (!= "!=") (identifier "pcVar14"))) (; ";"))) (goto_statement "goto LAB_00046620;" (goto "goto") (statement_identifier "LAB_00046620") (; ";")) (} "}"))) (expression_statement "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);" (assignment_expression "pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14)" (identifier "pcVar15") (= "=") (binary_expression "pcVar7 + ((int)pcVar6 - (int)pcVar14)" (identifier "pcVar7") (+ "+") (parenthesized_expression "((int)pcVar6 - (int)pcVar14)" (( "(") (binary_expression "(int)pcVar6 - (int)pcVar14" (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6")) (- "-") (cast_expression "(int)pcVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar14"))) () ")")))) (; ";")) (expression_statement "pcVar10 = pcVar7;" (assignment_expression "pcVar10 = pcVar7" (identifier "pcVar10") (= "=") (identifier "pcVar7")) (; ";")) (while_statement "while (cVar3 != '/') {\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" (while "while") (parenthesized_expression "(cVar3 != '/')" (( "(") (binary_expression "cVar3 != '/'" (identifier "cVar3") (!= "!=") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n                  pcVar14 = pcVar14 + 1;\n                  *pcVar10 = cVar3;\n                  pcVar7 = pcVar15;\n                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;\n                  pcVar10 = pcVar10 + 1;\n                  cVar3 = *pcVar14;\n                }" ({ "{") (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 1" (identifier "pcVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pcVar10 = cVar3;" (assignment_expression "*pcVar10 = cVar3" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (= "=") (identifier "cVar3")) (; ";")) (expression_statement "pcVar7 = pcVar15;" (assignment_expression "pcVar7 = pcVar15" (identifier "pcVar7") (= "=") (identifier "pcVar15")) (; ";")) (if_statement "if (pcVar10 + 1 == pcVar15) goto LAB_00046619;" (if "if") (parenthesized_expression "(pcVar10 + 1 == pcVar15)" (( "(") (binary_expression "pcVar10 + 1 == pcVar15" (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1")) (== "==") (identifier "pcVar15")) () ")")) (goto_statement "goto LAB_00046619;" (goto "goto") (statement_identifier "LAB_00046619") (; ";"))) (expression_statement "pcVar10 = pcVar10 + 1;" (assignment_expression "pcVar10 = pcVar10 + 1" (identifier "pcVar10") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" (identifier "cVar3") (= "=") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14"))) (; ";")) (} "}"))) (expression_statement "*pcVar10 = '/';" (assignment_expression "*pcVar10 = '/'" (pointer_expression "*pcVar10" (* "*") (identifier "pcVar10")) (= "=") (char_literal "'/'" (' "'") (character "/") (' "'"))) (; ";")) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 1" (identifier "pcVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pcVar7 = pcVar10 + 1;" (assignment_expression "pcVar7 = pcVar10 + 1" (identifier "pcVar7") (= "=") (binary_expression "pcVar10 + 1" (identifier "pcVar10") (+ "+") (number_literal "1"))) (; ";")) (} "}"))))) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(pcVar14 < pcVar6)" (( "(") (binary_expression "pcVar14 < pcVar6" (identifier "pcVar14") (< "<") (identifier "pcVar6")) () ")")) (; ";")) (expression_statement "bVar16 = pcVar7 != pcVar14;" (assignment_expression "bVar16 = pcVar7 != pcVar14" (identifier "bVar16") (= "=") (binary_expression "pcVar7 != pcVar14" (identifier "pcVar7") (!= "!=") (identifier "pcVar14"))) (; ";")) (labeled_statement "LAB_00046620:\n          if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" (statement_identifier "LAB_00046620") (: ":") (if_statement "if (pcVar14 != pcVar7) {\n            *pcVar7 = '\0';\n          }" (if "if") (parenthesized_expression "(pcVar14 != pcVar7)" (( "(") (binary_expression "pcVar14 != pcVar7" (identifier "pcVar14") (!= "!=") (identifier "pcVar7")) () ")")) (compound_statement "{\n            *pcVar7 = '\0';\n          }" ({ "{") (expression_statement "*pcVar7 = '\0';" (assignment_expression "*pcVar7 = '\0'" (pointer_expression "*pcVar7" (* "*") (identifier "pcVar7")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}")))) (labeled_statement "LAB_00046627:\n          pcVar14 = (char *)puVar11[4];" (statement_identifier "LAB_00046627") (: ":") (expression_statement "pcVar14 = (char *)puVar11[4];" (assignment_expression "pcVar14 = (char *)puVar11[4]" (identifier "pcVar14") (= "=") (cast_expression "(char *)puVar11[4]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[4]" (identifier "puVar11") ([ "[") (number_literal "4") (] "]")))) (; ";"))) (} "}")) (else_clause "else {\n          bVar16 = false;\n        }" (else "else") (compound_statement "{\n          bVar16 = false;\n        }" ({ "{") (expression_statement "bVar16 = false;" (assignment_expression "bVar16 = false" (identifier "bVar16") (= "=") (false "false")) (; ";")) (} "}")))) (expression_statement "pcVar6 = strrchr(pcVar14,0x2f);" (assignment_expression "pcVar6 = strrchr(pcVar14,0x2f)" (identifier "pcVar6") (= "=") (call_expression "strrchr(pcVar14,0x2f)" (identifier "strrchr") (argument_list "(pcVar14,0x2f)" (( "(") (identifier "pcVar14") (, ",") (number_literal "0x2f") () ")")))) (; ";")) (if_statement "if (pcVar6 == (char *)0x0) {\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }\n        else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" (if "if") (parenthesized_expression "(pcVar6 == (char *)0x0)" (( "(") (binary_expression "pcVar6 == (char *)0x0" (identifier "pcVar6") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar12 = FUN_0005af70(&DAT_00082757);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar14);\n          puVar11[9] = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_0005af70(&DAT_00082757);" (assignment_expression "uVar12 = FUN_0005af70(&DAT_00082757)" (identifier "uVar12") (= "=") (call_expression "FUN_0005af70(&DAT_00082757)" (identifier "FUN_0005af70") (argument_list "(&DAT_00082757)" (( "(") (pointer_expression "&DAT_00082757" (& "&") (identifier "DAT_00082757")) () ")")))) (; ";")) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" (identifier "puVar11") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "uVar12 = FUN_0005af70(pcVar14);" (assignment_expression "uVar12 = FUN_0005af70(pcVar14)" (identifier "uVar12") (= "=") (call_expression "FUN_0005af70(pcVar14)" (identifier "FUN_0005af70") (argument_list "(pcVar14)" (( "(") (identifier "pcVar14") () ")")))) (; ";")) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" (identifier "puVar11") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}")) (else_clause "else {\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" (else "else") (compound_statement "{\n          uVar12 = FUN_000497f0(pcVar14,pcVar6);\n          puVar11[8] = uVar12;\n          uVar12 = FUN_0005af70(pcVar6 + 1);\n          puVar11[9] = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_000497f0(pcVar14,pcVar6);" (assignment_expression "uVar12 = FUN_000497f0(pcVar14,pcVar6)" (identifier "uVar12") (= "=") (call_expression "FUN_000497f0(pcVar14,pcVar6)" (identifier "FUN_000497f0") (argument_list "(pcVar14,pcVar6)" (( "(") (identifier "pcVar14") (, ",") (identifier "pcVar6") () ")")))) (; ";")) (expression_statement "puVar11[8] = uVar12;" (assignment_expression "puVar11[8] = uVar12" (subscript_expression "puVar11[8]" (identifier "puVar11") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (expression_statement "uVar12 = FUN_0005af70(pcVar6 + 1);" (assignment_expression "uVar12 = FUN_0005af70(pcVar6 + 1)" (identifier "uVar12") (= "=") (call_expression "FUN_0005af70(pcVar6 + 1)" (identifier "FUN_0005af70") (argument_list "(pcVar6 + 1)" (( "(") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "puVar11[9] = uVar12;" (assignment_expression "puVar11[9] = uVar12" (subscript_expression "puVar11[9]" (identifier "puVar11") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}")))) (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" (identifier "bVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" (identifier "FUN_00044130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" (identifier "FUN_00044130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" (identifier "pcVar14") (= "=") (cast_expression "(char *)puVar11[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" (identifier "cVar3") (= "=") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14"))) (; ";")) (if_statement "if (cVar3 != '\0') {\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');\n          pcVar14 = (char *)puVar11[2];\n        }" ({ "{") (do_statement "do {\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          } while (cVar3 != '\0');" (do "do") (compound_statement "{\n            if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }\n            pcVar14 = pcVar14 + 1;\n            cVar3 = *pcVar14;\n          }" ({ "{") (if_statement "if ((int)cVar3 - 0x41U < 0x1a) {\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" (if "if") (parenthesized_expression "((int)cVar3 - 0x41U < 0x1a)" (( "(") (binary_expression "(int)cVar3 - 0x41U < 0x1a" (binary_expression "(int)cVar3 - 0x41U" (cast_expression "(int)cVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "cVar3")) (- "-") (number_literal "0x41U")) (< "<") (number_literal "0x1a")) () ")")) (compound_statement "{\n              bVar13 = 1;\n              *pcVar14 = cVar3 + ' ';\n            }" ({ "{") (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" (identifier "bVar13") (= "=") (number_literal "1")) (; ";")) (expression_statement "*pcVar14 = cVar3 + ' ';" (assignment_expression "*pcVar14 = cVar3 + ' '" (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14")) (= "=") (binary_expression "cVar3 + ' '" (identifier "cVar3") (+ "+") (char_literal "' '" (' "'") (character " ") (' "'")))) (; ";")) (} "}"))) (expression_statement "pcVar14 = pcVar14 + 1;" (assignment_expression "pcVar14 = pcVar14 + 1" (identifier "pcVar14") (= "=") (binary_expression "pcVar14 + 1" (identifier "pcVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" (identifier "cVar3") (= "=") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" (identifier "pcVar14") (= "=") (cast_expression "(char *)puVar11[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (expression_statement "pcVar14 = strchr(pcVar14,0x25);" (assignment_expression "pcVar14 = strchr(pcVar14,0x25)" (identifier "pcVar14") (= "=") (call_expression "strchr(pcVar14,0x25)" (identifier "strchr") (argument_list "(pcVar14,0x25)" (( "(") (identifier "pcVar14") (, ",") (number_literal "0x25") () ")")))) (; ";")) (if_statement "if (pcVar14 != (char *)0x0) {\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" (if "if") (parenthesized_expression "(pcVar14 != (char *)0x0)" (( "(") (binary_expression "pcVar14 != (char *)0x0" (identifier "pcVar14") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          FUN_00044130();\n          pcVar14 = (char *)puVar11[2];\n          cVar3 = *pcVar14;\n          pcVar6 = pcVar14;\n          while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }\n          bVar13 = param_3 != 0 & DAT_000a8c42;\n          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }\n        }" ({ "{") (expression_statement "FUN_00044130();" (call_expression "FUN_00044130()" (identifier "FUN_00044130") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar14 = (char *)puVar11[2];" (assignment_expression "pcVar14 = (char *)puVar11[2]" (identifier "pcVar14") (= "=") (cast_expression "(char *)puVar11[2]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "cVar3 = *pcVar14;" (assignment_expression "cVar3 = *pcVar14" (identifier "cVar3") (= "=") (pointer_expression "*pcVar14" (* "*") (identifier "pcVar14"))) (; ";")) (expression_statement "pcVar6 = pcVar14;" (assignment_expression "pcVar6 = pcVar14" (identifier "pcVar6") (= "=") (identifier "pcVar14")) (; ";")) (while_statement "while (cVar3 != '\0') {\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" (while "while") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }\n            pcVar6 = pcVar6 + 1;\n            cVar3 = *pcVar6;\n          }" ({ "{") (if_statement "if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" (if "if") (parenthesized_expression "(('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f'))))" (( "(") (binary_expression "('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))" (parenthesized_expression "('\0' < cVar3)" (( "(") (binary_expression "'\0' < cVar3" (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")) (< "<") (identifier "cVar3")) () ")")) (&& "&&") (parenthesized_expression "((cVar3 < ' ' || (cVar3 == '\x7f')))" (( "(") (parenthesized_expression "(cVar3 < ' ' || (cVar3 == '\x7f'))" (( "(") (binary_expression "cVar3 < ' ' || (cVar3 == '\x7f')" (binary_expression "cVar3 < ' '" (identifier "cVar3") (< "<") (char_literal "' '" (' "'") (character " ") (' "'"))) (|| "||") (parenthesized_expression "(cVar3 == '\x7f')" (( "(") (binary_expression "cVar3 == '\x7f'" (identifier "cVar3") (== "==") (char_literal "'\x7f'" (' "'") (escape_sequence "\x7f") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n              FUN_000446a0();\n              goto LAB_00046398;\n            }" ({ "{") (expression_statement "FUN_000446a0();" (call_expression "FUN_000446a0()" (identifier "FUN_000446a0") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_00046398;" (goto "goto") (statement_identifier "LAB_00046398") (; ";")) (} "}"))) (expression_statement "pcVar6 = pcVar6 + 1;" (assignment_expression "pcVar6 = pcVar6 + 1" (identifier "pcVar6") (= "=") (binary_expression "pcVar6 + 1" (identifier "pcVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "cVar3 = *pcVar6;" (assignment_expression "cVar3 = *pcVar6" (identifier "cVar3") (= "=") (pointer_expression "*pcVar6" (* "*") (identifier "pcVar6"))) (; ";")) (} "}"))) (expression_statement "bVar13 = param_3 != 0 & DAT_000a8c42;" (assignment_expression "bVar13 = param_3 != 0 & DAT_000a8c42" (identifier "bVar13") (= "=") (binary_expression "param_3 != 0 & DAT_000a8c42" (binary_expression "param_3 != 0" (identifier "param_3") (!= "!=") (number_literal "0")) (& "&") (identifier "DAT_000a8c42"))) (; ";")) (if_statement "if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {\n            bVar13 = 1;\n          }\n          else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" (if "if") (parenthesized_expression "((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0))" (( "(") (binary_expression "(bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" (parenthesized_expression "(bVar13 == 0)" (( "(") (binary_expression "bVar13 == 0" (identifier "bVar13") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0" (assignment_expression "iVar4 = FUN_0004f120(param_3,pcVar14)" (identifier "iVar4") (= "=") (call_expression "FUN_0004f120(param_3,pcVar14)" (identifier "FUN_0004f120") (argument_list "(param_3,pcVar14)" (( "(") (identifier "param_3") (, ",") (identifier "pcVar14") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n            bVar13 = 1;\n          }" ({ "{") (expression_statement "bVar13 = 1;" (assignment_expression "bVar13 = 1" (identifier "bVar13") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" (else "else") (compound_statement "{\n            free((void *)puVar11[2]);\n            puVar11[2] = iVar4;\n          }" ({ "{") (expression_statement "free((void *)puVar11[2]);" (call_expression "free((void *)puVar11[2])" (identifier "free") (argument_list "((void *)puVar11[2])" (( "(") (cast_expression "(void *)puVar11[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]"))) () ")"))) (; ";")) (expression_statement "puVar11[2] = iVar4;" (assignment_expression "puVar11[2] = iVar4" (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (local_40 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" (if "if") (parenthesized_expression "(local_40 != (char *)0x0)" (( "(") (binary_expression "local_40 != (char *)0x0" (identifier "local_40") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar12 = FUN_000497f0(local_40,local_34);\n          puVar11[5] = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_000497f0(local_40,local_34);" (assignment_expression "uVar12 = FUN_000497f0(local_40,local_34)" (identifier "uVar12") (= "=") (call_expression "FUN_000497f0(local_40,local_34)" (identifier "FUN_000497f0") (argument_list "(local_40,local_34)" (( "(") (identifier "local_40") (, ",") (identifier "local_34") () ")")))) (; ";")) (expression_statement "puVar11[5] = uVar12;" (assignment_expression "puVar11[5] = uVar12" (subscript_expression "puVar11[5]" (identifier "puVar11") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}"))) (if_statement "if (local_48 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" (if "if") (parenthesized_expression "(local_48 != (char *)0x0)" (( "(") (binary_expression "local_48 != (char *)0x0" (identifier "local_48") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar12 = FUN_000497f0(local_48,local_3c);\n          puVar11[6] = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_000497f0(local_48,local_3c);" (assignment_expression "uVar12 = FUN_000497f0(local_48,local_3c)" (identifier "uVar12") (= "=") (call_expression "FUN_000497f0(local_48,local_3c)" (identifier "FUN_000497f0") (argument_list "(local_48,local_3c)" (( "(") (identifier "local_48") (, ",") (identifier "local_3c") () ")")))) (; ";")) (expression_statement "puVar11[6] = uVar12;" (assignment_expression "puVar11[6] = uVar12" (subscript_expression "puVar11[6]" (identifier "puVar11") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}"))) (if_statement "if (local_44 != (char *)0x0) {\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" (if "if") (parenthesized_expression "(local_44 != (char *)0x0)" (( "(") (binary_expression "local_44 != (char *)0x0" (identifier "local_44") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          uVar12 = FUN_000497f0(local_44,local_38);\n          puVar11[7] = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_000497f0(local_44,local_38);" (assignment_expression "uVar12 = FUN_000497f0(local_44,local_38)" (identifier "uVar12") (= "=") (call_expression "FUN_000497f0(local_44,local_38)" (identifier "FUN_000497f0") (argument_list "(local_44,local_38)" (( "(") (identifier "local_44") (, ",") (identifier "local_38") () ")")))) (; ";")) (expression_statement "puVar11[7] = uVar12;" (assignment_expression "puVar11[7] = uVar12" (subscript_expression "puVar11[7]" (identifier "puVar11") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar12")) (; ";")) (} "}"))) (if_statement "if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))) {\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }\n        else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" (if "if") (parenthesized_expression "((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0))))" (( "(") (binary_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||\n           ((local_54 == local_50 || (bVar13 != 0)))" (parenthesized_expression "(((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0))" (( "(") (binary_expression "((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)" (parenthesized_expression "((DAT_000a8c42 != 0) || (bVar16))" (( "(") (binary_expression "(DAT_000a8c42 != 0) || (bVar16)" (parenthesized_expression "(DAT_000a8c42 != 0)" (( "(") (binary_expression "DAT_000a8c42 != 0" (identifier "DAT_000a8c42") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")"))) () ")")) (|| "||") (parenthesized_expression "(puVar11[7] != 0)" (( "(") (binary_expression "puVar11[7] != 0" (subscript_expression "puVar11[7]" (identifier "puVar11") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((local_54 == local_50 || (bVar13 != 0)))" (( "(") (parenthesized_expression "(local_54 == local_50 || (bVar13 != 0))" (( "(") (binary_expression "local_54 == local_50 || (bVar13 != 0)" (binary_expression "local_54 == local_50" (identifier "local_54") (== "==") (identifier "local_50")) (|| "||") (parenthesized_expression "(bVar13 != 0)" (( "(") (binary_expression "bVar13 != 0" (identifier "bVar13") (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          uVar12 = FUN_00045d90(puVar11,0);\n          *puVar11 = uVar12;\n          if (local_68 != param_1) {\n            free(local_68);\n          }\n        }" ({ "{") (expression_statement "uVar12 = FUN_00045d90(puVar11,0);" (assignment_expression "uVar12 = FUN_00045d90(puVar11,0)" (identifier "uVar12") (= "=") (call_expression "FUN_00045d90(puVar11,0)" (identifier "FUN_00045d90") (argument_list "(puVar11,0)" (( "(") (identifier "puVar11") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (local_68 != param_1) {\n            free(local_68);\n          }" (if "if") (parenthesized_expression "(local_68 != param_1)" (( "(") (binary_expression "local_68 != param_1" (identifier "local_68") (!= "!=") (identifier "param_1")) () ")")) (compound_statement "{\n            free(local_68);\n          }" ({ "{") (expression_statement "free(local_68);" (call_expression "free(local_68)" (identifier "free") (argument_list "(local_68)" (( "(") (identifier "local_68") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" (else "else") (if_statement "if (local_68 == param_1) {\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }\n        else {\n          *puVar11 = local_68;\n        }" (if "if") (parenthesized_expression "(local_68 == param_1)" (( "(") (binary_expression "local_68 == param_1" (identifier "local_68") (== "==") (identifier "param_1")) () ")")) (compound_statement "{\n          uVar12 = FUN_0005af70(local_68);\n          *puVar11 = uVar12;\n        }" ({ "{") (expression_statement "uVar12 = FUN_0005af70(local_68);" (assignment_expression "uVar12 = FUN_0005af70(local_68)" (identifier "uVar12") (= "=") (call_expression "FUN_0005af70(local_68)" (identifier "FUN_0005af70") (argument_list "(local_68)" (( "(") (identifier "local_68") () ")")))) (; ";")) (expression_statement "*puVar11 = uVar12;" (assignment_expression "*puVar11 = uVar12" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar12")) (; ";")) (} "}")) (else_clause "else {\n          *puVar11 = local_68;\n        }" (else "else") (compound_statement "{\n          *puVar11 = local_68;\n        }" ({ "{") (expression_statement "*puVar11 = local_68;" (assignment_expression "*puVar11 = local_68" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "local_68")) (; ";")) (} "}")))))) (goto_statement "goto LAB_000463c5;" (goto "goto") (statement_identifier "LAB_000463c5") (; ";")) (} "}")))) (labeled_statement "LAB_00046398:\n      iVar4 = 3;" (statement_identifier "LAB_00046398") (: ":") (expression_statement "iVar4 = 3;" (assignment_expression "iVar4 = 3" (identifier "iVar4") (= "=") (number_literal "3")) (; ";"))) (} "}")))) (labeled_statement "LAB_0004639d:\n    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" (statement_identifier "LAB_0004639d") (: ":") (if_statement "if ((local_68 != (void *)0x0) && (local_68 != param_1)) {\n      free(local_68);\n    }" (if "if") (parenthesized_expression "((local_68 != (void *)0x0) && (local_68 != param_1))" (( "(") (binary_expression "(local_68 != (void *)0x0) && (local_68 != param_1)" (parenthesized_expression "(local_68 != (void *)0x0)" (( "(") (binary_expression "local_68 != (void *)0x0" (identifier "local_68") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(local_68 != param_1)" (( "(") (binary_expression "local_68 != param_1" (identifier "local_68") (!= "!=") (identifier "param_1")) () ")"))) () ")")) (compound_statement "{\n      free(local_68);\n    }" ({ "{") (expression_statement "free(local_68);" (call_expression "free(local_68)" (identifier "free") (argument_list "(local_68)" (( "(") (identifier "local_68") () ")"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "puVar11 = (undefined4 *)0x0;" (assignment_expression "puVar11 = (undefined4 *)0x0" (identifier "puVar11") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (param_2 != (int *)0x0) {\n    *param_2 = iVar4;\n  }" (if "if") (parenthesized_expression "(param_2 != (int *)0x0)" (( "(") (binary_expression "param_2 != (int *)0x0" (identifier "param_2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_2 = iVar4;\n  }" ({ "{") (expression_statement "*param_2 = iVar4;" (assignment_expression "*param_2 = iVar4" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (labeled_statement "LAB_000463c5:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" (statement_identifier "LAB_000463c5") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return puVar11;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return puVar11;\n  }" ({ "{") (return_statement "return puVar11;" (return "return") (identifier "puVar11") (; ";")) (} "}")))) (expression_statement "FUN_0006da50();" (call_expression "FUN_0006da50()" (identifier "FUN_0006da50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 * function_1(char *type_1,int *var_45,type_2 *type_2,type_3 percent_encode)

{
  char var_36;
  type_4 var_15;
  type_3 _Var3;
  type_5 var_2;
  size_t var_12;
  char *var_31;
  char *var_14;
  type_6 *var_16;
  char *var_21;
  type_1 *url_00;
  char var_23;
  type_7 var_41;
  char *var_17;
  int iVar13;
  char *var_24;
  int var_1;
  bool bVar15;
  char *var_22;
  char *var_10;
  char *var_37;
  char *var_19;
  char *var_26;
  char *var_43;
  type_4 var_25;
  char *var_28;
  char *var_30;
  char *var_27;
  char *local_3c;
  char *var_29;
  char *local_34;
  char *var_9;
  int var_46;
  type_8 uStack_14;
  
  uStack_14 = 0x46179;
  var_46 = *(int *)(var_1 + 0x14);
  var_2 = type_5(type_1);
  if (var_2 == var_3) {
    _Var3 = var_4(type_1);
    iVar13 = !_Var3 + 1;
  }
  else {
    if ((type_2 == (type_2 *)0x0) || (type_2->utf8_encode == false)) {
LAB_000461df:
      var_10 = type_1;
      if (percent_encode) {
        var_10 = var_5(type_1);
      }
    }
    else {
      var_9 = (char *)0x0;
      var_17 = type_2->orig_url;
      if (type_2->orig_url == (char *)0x0) {
        var_17 = type_1;
      }
      _Var3 = var_6(type_2,var_17,&var_9);
      type_2->utf8_encode = _Var3;
      if (!_Var3) goto LAB_000461df;
      var_7(type_2->orig_url);
      type_2->orig_url = (char *)0x0;
      var_17 = var_8(type_1);
      type_2->orig_url = var_17;
      var_10 = var_5(var_9);
      if (var_9 != var_10) {
        var_7(var_9);
      }
    }
    var_12 = var_11(supported_schemes[var_2].leading_string);
    var_31 = var_10 + var_12;
    var_14 = var_13(var_31,"@/?#;");
    var_17 = var_31;
    if ((var_14 != (char *)0x0) && (var_17 = var_14 + 1, *var_14 != '@')) {
      var_17 = var_31;
    }
    var_15 = supported_schemes[var_2].flags;
    var_16 = (type_6 *)((int)&seps_8155 + 2);
    if ((var_15 & 2) != 0) {
      seps_8155._2_1_ = 0x3b;
      var_16 = (type_6 *)((int)&seps_8155 + 3);
    }
    if ((var_15 & 4) != 0) {
      *var_16 = 0x3f;
      var_16 = var_16 + 1;
    }
    if ((var_15 & 8) == 0) {
      *var_16 = 0;
      if (*var_17 != '[') goto LAB_00046276;
LAB_00046332:
      var_22 = var_17 + 1;
      var_19 = var_18(var_22,0x5d);
      if (var_19 != (char *)0x0) {
        _Var3 = var_20(var_22,var_19);
        if (!_Var3) {
          iVar13 = 8;
          goto LAB_0004639d;
        }
        var_14 = var_19 + 1;
        var_21 = var_18((char *)&seps_8155,(int)var_19[1]);
        if (var_21 != (char *)0x0) goto LAB_0004629b;
        goto LAB_00046398;
      }
      iVar13 = 6;
    }
    else {
      *var_16 = 0x23;
      var_16[1] = 0;
      if (*var_17 == '[') goto LAB_00046332;
LAB_00046276:
      var_14 = var_13(var_17,(char *)&seps_8155);
      var_22 = var_17;
      var_19 = var_14;
      if (var_14 == (char *)0x0) {
        var_12 = var_11(var_17);
        var_14 = var_17 + var_12;
        var_19 = var_14;
      }
LAB_0004629b:
      if (var_22 != var_19) {
        var_23 = *var_14;
        var_25 = supported_schemes[var_2].default_port;
        var_21 = var_14;
        if (var_23 == ':') {
          var_24 = var_14 + 1;
          var_21 = var_13(var_24,(char *)((int)&seps_8155 + 1));
          if (var_21 == (char *)0x0) {
            var_12 = var_11(var_24);
            var_21 = var_24 + var_12;
          }
          if (var_24 == var_21) {
LAB_00046b30:
            var_23 = *var_24;
            var_21 = var_24;
          }
          else {
            if (var_24 < var_21) {
              var_25 = (int)var_14[1] - 0x30;
              if (var_25 < 10) {
                do {
                  var_24 = var_24 + 1;
                  if (var_24 == var_21) goto LAB_00046b30;
                } while (((int)*var_24 - 0x30U < 10) &&
                        (var_25 = ((int)*var_24 - 0x30U) + var_25 * 10, (int)var_25 < 0x10000
                        ));
              }
              iVar13 = 4;
              goto LAB_0004639d;
            }
            var_23 = *var_21;
            var_25 = 0;
          }
        }
        var_43 = (char *)0x0;
        var_26 = (char *)0x0;
        if (var_23 == '/') {
          var_26 = var_21 + 1;
          var_21 = var_13(var_26,(char *)((int)&seps_8155 + 2));
          var_43 = var_21;
          if (var_21 == (char *)0x0) {
            var_12 = var_11(var_26);
            var_21 = var_26 + var_12;
            var_43 = var_21;
          }
        }
        var_15 = supported_schemes[var_2].flags;
        if ((var_15 & 2) == 0) {
          local_34 = (char *)0x0;
          var_14 = (char *)((int)&seps_8155 + 3);
          var_27 = (char *)0x0;
        }
        else if (*var_21 == ';') {
          var_27 = var_21 + 1;
          var_21 = var_13(var_27,(char *)((int)&seps_8155 + 3));
          var_14 = (char *)((int)&seps_8155 + 4);
          local_34 = var_21;
          if (var_21 == (char *)0x0) {
            var_12 = var_11(var_27);
            var_21 = var_27 + var_12;
            local_34 = var_21;
          }
        }
        else {
          local_34 = (char *)0x0;
          var_14 = (char *)((int)&seps_8155 + 4);
          var_27 = (char *)0x0;
        }
        local_3c = (char *)0x0;
        var_28 = (char *)0x0;
        if ((var_15 & 4) != 0) {
          if (*var_21 == '?') {
            var_28 = var_21 + 1;
            var_21 = var_13(var_28,var_14);
            local_3c = var_21;
            if (var_21 == (char *)0x0) {
              var_12 = var_11(var_28);
              var_21 = var_28 + var_12;
              local_3c = var_21;
            }
          }
          var_14 = var_14 + 1;
        }
        var_29 = (char *)0x0;
        var_30 = (char *)0x0;
        if (((var_15 & 8) != 0) && (*var_21 == '#')) {
          var_30 = var_21 + 1;
          var_29 = var_13(var_30,var_14);
          if (var_29 == (char *)0x0) {
            var_12 = var_11(var_30);
            var_29 = var_30 + var_12;
          }
        }
        if (var_31 == var_17) {
          var_14 = (char *)0x0;
          var_37 = (char *)0x0;
        }
        else {
          var_17 = var_17 + -1;
          if ((var_17 == var_31) ||
             (var_21 = (char *)var_32(var_31,0x3a,(int)var_17 - (int)var_31), var_31 == var_21)
             ) {
            iVar13 = 5;
            goto LAB_0004639d;
          }
          var_14 = var_21;
          if (var_21 != (char *)0x0) {
            var_14 = var_33(var_21 + 1,var_17);
            var_34(var_14,'\0');
            var_17 = var_21;
          }
          var_37 = var_33(var_31,var_17);
          var_34(var_37,'\0');
        }
        url_00 = (type_1 *)var_35(1,0x30);
        url_00->scheme = var_2;
        var_17 = var_33(var_22,var_19);
        url_00->passwd = var_14;
        url_00->host = var_17;
        url_00->port = var_25;
        url_00->user = var_37;
        var_17 = var_33(var_26,var_43);
        url_00->path = var_17;
        var_12 = var_11(var_17);
        var_31 = var_17 + var_12;
        if (var_17 < var_31) {
          var_14 = var_17;
          var_37 = var_17;
          do {
            var_23 = *var_17;
            if (var_23 == '.') {
              var_36 = var_17[1];
              if ((var_36 == '/') || (var_36 == '\0')) {
                var_17 = var_17 + 2;
              }
              else {
                if ((var_36 != '.') || ((var_17[2] != '/' && (var_17[2] != '\0'))))
                goto LAB_000465d0;
                if (var_37 < var_14) {
                  var_21 = var_14 + -1;
                  if (var_37 < var_21) {
                    var_23 = var_14[-2];
                    var_14 = var_21;
                    while ((var_21 = var_14, var_23 != '/' &&
                           (var_21 = var_37, var_14 + -1 != var_37))) {
                      var_23 = var_14[-2];
                      var_14 = var_14 + -1;
                    }
                  }
                }
                else {
                  var_21 = var_14;
                  if (var_2 - var_38 < 2) {
                    var_37 = var_14 + 3;
                    goto LAB_000465d0;
                  }
                }
                var_17 = var_17 + 3;
                var_14 = var_21;
              }
            }
            else {
LAB_000465d0:
              if (var_17 == var_14) {
                if (var_31 <= var_14) {
LAB_000467c0:
                  bVar15 = false;
                  goto LAB_00046627;
                }
                while (*var_14 != '/') {
                  var_14 = var_14 + 1;
                  if (var_31 == var_14) goto LAB_000467c0;
                }
                var_17 = var_14 + 1;
                var_14 = var_17;
              }
              else {
                if (var_31 <= var_17) {
LAB_00046619:
                  bVar15 = var_14 != var_17;
                  goto LAB_00046620;
                }
                var_24 = var_14 + ((int)var_31 - (int)var_17);
                var_21 = var_14;
                while (var_23 != '/') {
                  var_17 = var_17 + 1;
                  *var_21 = var_23;
                  var_14 = var_24;
                  if (var_21 + 1 == var_24) goto LAB_00046619;
                  var_21 = var_21 + 1;
                  var_23 = *var_17;
                }
                *var_21 = '/';
                var_17 = var_17 + 1;
                var_14 = var_21 + 1;
              }
            }
          } while (var_17 < var_31);
          bVar15 = var_14 != var_17;
LAB_00046620:
          if (var_17 != var_14) {
            *var_14 = '\0';
          }
LAB_00046627:
          var_17 = url_00->path;
        }
        else {
          bVar15 = false;
        }
        var_31 = var_39(var_17,0x2f);
        if (var_31 == (char *)0x0) {
          var_31 = var_8("");
          url_00->dir = var_31;
          var_17 = var_8(var_17);
          url_00->file = var_17;
        }
        else {
          var_17 = var_33(var_17,var_31);
          url_00->dir = var_17;
          var_17 = var_8(var_31 + 1);
          url_00->file = var_17;
        }
        var_41 = 0;
        var_34(url_00->dir,'\0');
        var_34(url_00->file,'\0');
        var_17 = url_00->host;
        var_23 = *var_17;
        if (var_23 != '\0') {
          do {
            if ((int)var_23 - 0x41U < 0x1a) {
              var_41 = 1;
              *var_17 = var_23 + ' ';
            }
            var_17 = var_17 + 1;
            var_23 = *var_17;
          } while (var_23 != '\0');
          var_17 = url_00->host;
        }
        var_31 = var_18(var_17,0x25);
        if (var_31 != (char *)0x0) {
          var_34(var_17,'\0');
          var_17 = url_00->host;
          var_23 = *var_17;
          var_31 = var_17;
          while (var_23 != '\0') {
            if (('\0' < var_23) && ((var_23 < ' ' || (var_23 == '\x7f')))) {
              var_40(url_00);
              goto LAB_00046398;
            }
            var_31 = var_31 + 1;
            var_23 = *var_31;
          }
          var_41 = type_2 != (type_2 *)0x0 & opt.enable_iri;
          if ((var_41 == 0) || (var_17 = var_42(type_2,var_17), var_17 == (char *)0x0)) {
            var_41 = 1;
          }
          else {
            var_7(url_00->host);
            url_00->host = var_17;
          }
        }
        if (var_27 != (char *)0x0) {
          var_17 = var_33(var_27,local_34);
          url_00->params = var_17;
        }
        if (var_28 != (char *)0x0) {
          var_17 = var_33(var_28,local_3c);
          url_00->query = var_17;
        }
        if (var_30 != (char *)0x0) {
          var_17 = var_33(var_30,var_29);
          url_00->fragment = var_17;
        }
        if ((((opt.enable_iri != false) || (bVar15)) || (url_00->fragment != (char *)0x0)) ||
           ((var_26 == var_43 || (var_41 != 0)))) {
          var_17 = var_44(url_00,URL_AUTH_SHOW);
          url_00->type_1 = var_17;
          if (var_10 != type_1) {
            var_7(var_10);
          }
        }
        else if (var_10 == type_1) {
          var_17 = var_8(var_10);
          url_00->type_1 = var_17;
        }
        else {
          url_00->type_1 = var_10;
        }
        goto LAB_000463c5;
      }
LAB_00046398:
      iVar13 = 3;
    }
LAB_0004639d:
    if ((var_10 != (char *)0x0) && (var_10 != type_1)) {
      var_7(var_10);
    }
  }
  url_00 = (type_1 *)0x0;
  if (var_45 != (int *)0x0) {
    *var_45 = iVar13;
  }
LAB_000463c5:
  if (var_46 == *(int *)(var_1 + 0x14)) {
    return url_00;
  }
                    /* WARNING: Subroutine does not return */
  var_47();
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier)))) condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal)) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) right: (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))))))))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (char_literal (character))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (false)))) (goto_statement label: (statement_identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (false)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (char_literal (character))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (char_literal (escape_sequence)) right: (identifier))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (char_literal (character))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (identifier)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))))))) (goto_statement label: (statement_identifier))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 * MASKED(void *param_1,int *param_2,int param_3,char param_4)

{
  char cVar1;
  uint uVar2;
  char cVar3;
  int iVar4;
  size_t sVar5;
  char *pcVar6;
  char *pcVar7;
  undefined1 *puVar8;
  void *pvVar9;
  char *pcVar10;
  undefined4 *puVar11;
  undefined4 uVar12;
  byte bVar13;
  char *pcVar14;
  char *pcVar15;
  int in_GS_OFFSET;
  bool bVar16;
  char *local_70;
  void *local_68;
  char *local_64;
  char *local_60;
  char *local_54;
  char *local_50;
  uint local_4c;
  char *local_48;
  char *local_44;
  char *local_40;
  char *local_3c;
  char *local_38;
  char *local_34;
  void *local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x46179;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar4 = FUN_00044c00(param_1);
  if (iVar4 == 4) {
    cVar3 = FUN_00044c90(param_1);
    iVar4 = (cVar3 == '\0') + 1;
  }
  else {
    if ((param_3 == 0) || (*(char *)(param_3 + 0xc) == '\0')) {
LAB_000461df:
      local_68 = param_1;
      if (param_4 != '\0') {
        local_68 = (void *)FUN_00044a50();
      }
    }
    else {
      local_24 = (void *)0x0;
      pvVar9 = *(void **)(param_3 + 8);
      if (*(void **)(param_3 + 8) == (void *)0x0) {
        pvVar9 = param_1;
      }
      cVar3 = FUN_0004f040(param_3,pvVar9,&local_24);
      *(char *)(param_3 + 0xc) = cVar3;
      if (cVar3 == '\0') goto LAB_000461df;
      free(*(void **)(param_3 + 8));
      *(undefined4 *)(param_3 + 8) = 0;
      uVar12 = FUN_0005af70(param_1);
      *(undefined4 *)(param_3 + 8) = uVar12;
      local_68 = (void *)FUN_00044a50();
      if (local_24 != local_68) {
        free(local_24);
      }
    }
    sVar5 = strlen((&PTR_s_http____000a11c4)[iVar4 * 4]);
    pcVar6 = (char *)(sVar5 + (int)local_68);
    pcVar7 = strpbrk(pcVar6,"@/?#;");
    pcVar14 = pcVar6;
    if ((pcVar7 != (char *)0x0) && (pcVar14 = pcVar7 + 1, *pcVar7 != '@')) {
      pcVar14 = pcVar6;
    }
    uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);
    puVar8 = &DAT_000a119e;
    if ((uVar2 & 2) != 0) {
      DAT_000a119e = 0x3b;
      puVar8 = &DAT_000a119f;
    }
    if ((uVar2 & 4) != 0) {
      *puVar8 = 0x3f;
      puVar8 = puVar8 + 1;
    }
    if ((uVar2 & 8) == 0) {
      *puVar8 = 0;
      if (*pcVar14 != '[') goto LAB_00046276;
LAB_00046332:
      local_70 = pcVar14 + 1;
      local_60 = strchr(local_70,0x5d);
      if (local_60 != (char *)0x0) {
        cVar3 = FUN_0002a270(local_70,local_60);
        if (cVar3 == '\0') {
          iVar4 = 8;
          goto LAB_0004639d;
        }
        pcVar7 = local_60 + 1;
        pcVar10 = strchr(&DAT_000a119c,(int)local_60[1]);
        if (pcVar10 != (char *)0x0) goto LAB_0004629b;
        goto LAB_00046398;
      }
      iVar4 = 6;
    }
    else {
      *puVar8 = 0x23;
      puVar8[1] = 0;
      if (*pcVar14 == '[') goto LAB_00046332;
LAB_00046276:
      pcVar7 = strpbrk(pcVar14,&DAT_000a119c);
      local_70 = pcVar14;
      local_60 = pcVar7;
      if (pcVar7 == (char *)0x0) {
        sVar5 = strlen(pcVar14);
        pcVar7 = pcVar14 + sVar5;
        local_60 = pcVar7;
      }
LAB_0004629b:
      if (local_70 != local_60) {
        cVar3 = *pcVar7;
        local_4c = *(uint *)(&DAT_000a11c8 + iVar4 * 0x10);
        pcVar10 = pcVar7;
        if (cVar3 == ':') {
          pcVar15 = pcVar7 + 1;
          pcVar10 = strpbrk(pcVar15,&DAT_000a119d);
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(pcVar15);
            pcVar10 = pcVar15 + sVar5;
          }
          if (pcVar15 == pcVar10) {
LAB_00046b30:
            cVar3 = *pcVar15;
            pcVar10 = pcVar15;
          }
          else {
            if (pcVar15 < pcVar10) {
              local_4c = (int)pcVar7[1] - 0x30;
              if (local_4c < 10) {
                do {
                  pcVar15 = pcVar15 + 1;
                  if (pcVar15 == pcVar10) goto LAB_00046b30;
                } while (((int)*pcVar15 - 0x30U < 10) &&
                        (local_4c = ((int)*pcVar15 - 0x30U) + local_4c * 10, (int)local_4c < 0x10000
                        ));
              }
              iVar4 = 4;
              goto LAB_0004639d;
            }
            cVar3 = *pcVar10;
            local_4c = 0;
          }
        }
        local_50 = (char *)0x0;
        local_54 = (char *)0x0;
        if (cVar3 == '/') {
          local_54 = pcVar10 + 1;
          pcVar10 = strpbrk(local_54,&DAT_000a119e);
          local_50 = pcVar10;
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(local_54);
            pcVar10 = local_54 + sVar5;
            local_50 = pcVar10;
          }
        }
        uVar2 = *(uint *)(&DAT_000a11cc + iVar4 * 0x10);
        if ((uVar2 & 2) == 0) {
          local_34 = (char *)0x0;
          pcVar7 = &DAT_000a119f;
          local_40 = (char *)0x0;
        }
        else if (*pcVar10 == ';') {
          local_40 = pcVar10 + 1;
          pcVar10 = strpbrk(local_40,&DAT_000a119f);
          pcVar7 = &DAT_000a11a0;
          local_34 = pcVar10;
          if (pcVar10 == (char *)0x0) {
            sVar5 = strlen(local_40);
            pcVar10 = local_40 + sVar5;
            local_34 = pcVar10;
          }
        }
        else {
          local_34 = (char *)0x0;
          pcVar7 = &DAT_000a11a0;
          local_40 = (char *)0x0;
        }
        local_3c = (char *)0x0;
        local_48 = (char *)0x0;
        if ((uVar2 & 4) != 0) {
          if (*pcVar10 == '?') {
            local_48 = pcVar10 + 1;
            pcVar10 = strpbrk(local_48,pcVar7);
            local_3c = pcVar10;
            if (pcVar10 == (char *)0x0) {
              sVar5 = strlen(local_48);
              pcVar10 = local_48 + sVar5;
              local_3c = pcVar10;
            }
          }
          pcVar7 = pcVar7 + 1;
        }
        local_38 = (char *)0x0;
        local_44 = (char *)0x0;
        if (((uVar2 & 8) != 0) && (*pcVar10 == '#')) {
          local_44 = pcVar10 + 1;
          local_38 = strpbrk(local_44,pcVar7);
          if (local_38 == (char *)0x0) {
            sVar5 = strlen(local_44);
            local_38 = local_44 + sVar5;
          }
        }
        if (pcVar6 == pcVar14) {
          pcVar7 = (char *)0x0;
          local_64 = (char *)0x0;
        }
        else {
          pcVar14 = pcVar14 + -1;
          if ((pcVar14 == pcVar6) ||
             (pcVar10 = (char *)FUN_0005e6e0(pcVar6,0x3a,(int)pcVar14 - (int)pcVar6),
             pcVar6 == pcVar10)) {
            iVar4 = 5;
            goto LAB_0004639d;
          }
          pcVar7 = pcVar10;
          if (pcVar10 != (char *)0x0) {
            pcVar7 = (char *)FUN_000497f0(pcVar10 + 1,pcVar14);
            FUN_00044130();
            pcVar14 = pcVar10;
          }
          local_64 = (char *)FUN_000497f0(pcVar6,pcVar14);
          FUN_00044130();
        }
        puVar11 = (undefined4 *)FUN_0005aef0(1,0x30);
        puVar11[1] = iVar4;
        uVar12 = FUN_000497f0(local_70,local_60);
        puVar11[0xb] = pcVar7;
        puVar11[2] = uVar12;
        puVar11[3] = local_4c;
        puVar11[10] = local_64;
        pcVar14 = (char *)FUN_000497f0(local_54,local_50);
        puVar11[4] = pcVar14;
        sVar5 = strlen(pcVar14);
        pcVar6 = pcVar14 + sVar5;
        if (pcVar14 < pcVar6) {
          pcVar7 = pcVar14;
          local_64 = pcVar14;
          do {
            cVar3 = *pcVar14;
            if (cVar3 == '.') {
              cVar1 = pcVar14[1];
              if ((cVar1 == '/') || (cVar1 == '\0')) {
                pcVar14 = pcVar14 + 2;
              }
              else {
                if ((cVar1 != '.') || ((pcVar14[2] != '/' && (pcVar14[2] != '\0'))))
                goto LAB_000465d0;
                if (local_64 < pcVar7) {
                  pcVar10 = pcVar7 + -1;
                  if (local_64 < pcVar10) {
                    cVar3 = pcVar7[-2];
                    pcVar7 = pcVar10;
                    while ((pcVar10 = pcVar7, cVar3 != '/' &&
                           (pcVar10 = local_64, pcVar7 + -1 != local_64))) {
                      cVar3 = pcVar7[-2];
                      pcVar7 = pcVar7 + -1;
                    }
                  }
                }
                else {
                  pcVar10 = pcVar7;
                  if (iVar4 - 2U < 2) {
                    local_64 = pcVar7 + 3;
                    goto LAB_000465d0;
                  }
                }
                pcVar14 = pcVar14 + 3;
                pcVar7 = pcVar10;
              }
            }
            else {
LAB_000465d0:
              if (pcVar14 == pcVar7) {
                if (pcVar6 <= pcVar7) {
LAB_000467c0:
                  bVar16 = false;
                  goto LAB_00046627;
                }
                while (*pcVar7 != '/') {
                  pcVar7 = pcVar7 + 1;
                  if (pcVar6 == pcVar7) goto LAB_000467c0;
                }
                pcVar14 = pcVar7 + 1;
                pcVar7 = pcVar14;
              }
              else {
                if (pcVar6 <= pcVar14) {
LAB_00046619:
                  bVar16 = pcVar7 != pcVar14;
                  goto LAB_00046620;
                }
                pcVar15 = pcVar7 + ((int)pcVar6 - (int)pcVar14);
                pcVar10 = pcVar7;
                while (cVar3 != '/') {
                  pcVar14 = pcVar14 + 1;
                  *pcVar10 = cVar3;
                  pcVar7 = pcVar15;
                  if (pcVar10 + 1 == pcVar15) goto LAB_00046619;
                  pcVar10 = pcVar10 + 1;
                  cVar3 = *pcVar14;
                }
                *pcVar10 = '/';
                pcVar14 = pcVar14 + 1;
                pcVar7 = pcVar10 + 1;
              }
            }
          } while (pcVar14 < pcVar6);
          bVar16 = pcVar7 != pcVar14;
LAB_00046620:
          if (pcVar14 != pcVar7) {
            *pcVar7 = '\0';
          }
LAB_00046627:
          pcVar14 = (char *)puVar11[4];
        }
        else {
          bVar16 = false;
        }
        pcVar6 = strrchr(pcVar14,0x2f);
        if (pcVar6 == (char *)0x0) {
          uVar12 = FUN_0005af70(&DAT_00082757);
          puVar11[8] = uVar12;
          uVar12 = FUN_0005af70(pcVar14);
          puVar11[9] = uVar12;
        }
        else {
          uVar12 = FUN_000497f0(pcVar14,pcVar6);
          puVar11[8] = uVar12;
          uVar12 = FUN_0005af70(pcVar6 + 1);
          puVar11[9] = uVar12;
        }
        bVar13 = 0;
        FUN_00044130();
        FUN_00044130();
        pcVar14 = (char *)puVar11[2];
        cVar3 = *pcVar14;
        if (cVar3 != '\0') {
          do {
            if ((int)cVar3 - 0x41U < 0x1a) {
              bVar13 = 1;
              *pcVar14 = cVar3 + ' ';
            }
            pcVar14 = pcVar14 + 1;
            cVar3 = *pcVar14;
          } while (cVar3 != '\0');
          pcVar14 = (char *)puVar11[2];
        }
        pcVar14 = strchr(pcVar14,0x25);
        if (pcVar14 != (char *)0x0) {
          FUN_00044130();
          pcVar14 = (char *)puVar11[2];
          cVar3 = *pcVar14;
          pcVar6 = pcVar14;
          while (cVar3 != '\0') {
            if (('\0' < cVar3) && ((cVar3 < ' ' || (cVar3 == '\x7f')))) {
              FUN_000446a0();
              goto LAB_00046398;
            }
            pcVar6 = pcVar6 + 1;
            cVar3 = *pcVar6;
          }
          bVar13 = param_3 != 0 & DAT_000a8c42;
          if ((bVar13 == 0) || (iVar4 = FUN_0004f120(param_3,pcVar14), iVar4 == 0)) {
            bVar13 = 1;
          }
          else {
            free((void *)puVar11[2]);
            puVar11[2] = iVar4;
          }
        }
        if (local_40 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_40,local_34);
          puVar11[5] = uVar12;
        }
        if (local_48 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_48,local_3c);
          puVar11[6] = uVar12;
        }
        if (local_44 != (char *)0x0) {
          uVar12 = FUN_000497f0(local_44,local_38);
          puVar11[7] = uVar12;
        }
        if ((((DAT_000a8c42 != 0) || (bVar16)) || (puVar11[7] != 0)) ||
           ((local_54 == local_50 || (bVar13 != 0)))) {
          uVar12 = FUN_00045d90(puVar11,0);
          *puVar11 = uVar12;
          if (local_68 != param_1) {
            free(local_68);
          }
        }
        else if (local_68 == param_1) {
          uVar12 = FUN_0005af70(local_68);
          *puVar11 = uVar12;
        }
        else {
          *puVar11 = local_68;
        }
        goto LAB_000463c5;
      }
LAB_00046398:
      iVar4 = 3;
    }
LAB_0004639d:
    if ((local_68 != (void *)0x0) && (local_68 != param_1)) {
      free(local_68);
    }
  }
  puVar11 = (undefined4 *)0x0;
  if (param_2 != (int *)0x0) {
    *param_2 = iVar4;
  }
LAB_000463c5:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return puVar11;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0006da50();
}

