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

int __regparm3 decode_sym_transportid(char *lcp,uint8_t *tidp)

{
  char cVar1;
  uint uVar2;
  size_t sVar3;
  ushort **ppuVar4;
  uint8_t *puVar5;
  uint8_t *puVar6;
  uint uVar7;
  byte bVar8;
  int iVar9;
  uint8_t *extraout_EDX;
  undefined4 uVar10;
  ushort uVar11;
  undefined **ppuVar12;
  int iVar13;
  uint8_t *puVar14;
  uint8_t *__n;
  char *pcVar15;
  int in_GS_OFFSET;
  byte bVar16;
  undefined8 uVar17;
  int local_34;
  int b;
  int c;
  uint local_20;
  undefined4 uStack_14;
  
  bVar16 = 0;
  __n = (uint8_t *)0x0;
  puVar14 = tidp + 4;
  uStack_14 = 0x133c2;
  ppuVar12 = &_GLOBAL_OFFSET_TABLE_;
  uVar7 = (uint)puVar14 & 0xfffffffc;
  local_20 = *(uint *)(in_GS_OFFSET + 0x14);
  tidp[0] = '\0';
  tidp[1] = '\0';
  tidp[2] = '\0';
  tidp[3] = '\0';
  tidp[0x14] = '\0';
  tidp[0x15] = '\0';
  tidp[0x16] = '\0';
  tidp[0x17] = '\0';
  uVar2 = 0;
  do {
    *(undefined4 *)(uVar7 + uVar2) = 0;
    uVar2 = uVar2 + 4;
  } while (uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc));
  if ((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)) {
    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");
    if (sVar3 != 0x10) {
      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);
      iVar13 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    iVar13 = 0;
    *tidp = '\x06';
    ppuVar4 = __ctype_b_loc();
    local_34 = 0;
    uVar2 = 0;
    do {
      while( true ) {
        iVar9 = (int)lcp[uVar2 + 4];
        uVar11 = (*ppuVar4)[iVar9];
        ppuVar12 = (undefined **)(uint)uVar11;
        if ((uVar11 & 0x800) != 0) break;
        __n = (uint8_t *)(iVar9 + -0x37);
        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);
        puVar14 = (uint8_t *)(iVar9 + -0x57);
        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {
          puVar14 = __n;
        }
        bVar8 = (byte)puVar14;
        if ((uVar2 & 1) != 0) goto LAB_00013460;
LAB_00013498:
        local_34 = (int)puVar14 << 4;
        uVar2 = uVar2 + 1;
        if (uVar2 == 0x10) goto LAB_000134a7;
      }
      puVar14 = (uint8_t *)(iVar9 + -0x30);
      bVar8 = (byte)puVar14;
      if ((uVar2 & 1) == 0) goto LAB_00013498;
LAB_00013460:
      uVar2 = uVar2 + 1;
      tidp[iVar13 + 4] = bVar8 | (byte)local_34;
      iVar13 = iVar13 + 1;
      __n = tidp;
    } while (uVar2 != 0x10);
  }
  else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {
    lcp = lcp + 4;
    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);
    if (iVar13 != 2) {
      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);
      iVar13 = 0;
      goto LAB_000135dd;
    }
    *tidp = '\x01';
    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;
    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;
  }
  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {
    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");
    if (sVar3 != 0x10) {
      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);
      iVar13 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    __n = (uint8_t *)0x0;
    *tidp = '\0';
    ppuVar4 = __ctype_b_loc();
    local_34 = 0;
    uVar2 = 0;
    do {
      iVar13 = (int)lcp[uVar2 + 4];
      uVar11 = (*ppuVar4)[iVar13];
      ppuVar12 = (undefined **)(uint)uVar11;
      if ((uVar11 & 0x800) == 0) {
        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);
        iVar9 = iVar13 + -0x57;
        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {
          iVar9 = iVar13 + -0x37;
        }
        bVar8 = (byte)iVar9;
        if ((uVar2 & 1) != 0) goto LAB_00013688;
LAB_000136c4:
        local_34 = iVar9 << 4;
      }
      else {
        iVar9 = iVar13 + -0x30;
        bVar8 = (byte)iVar9;
        if ((uVar2 & 1) == 0) goto LAB_000136c4;
LAB_00013688:
        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;
        __n = __n + 1;
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 != 0x10);
  }
  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {
    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");
    if (sVar3 != 0x10) {
      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);
      iVar13 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    __n = (uint8_t *)0x0;
    *tidp = '\x03';
    ppuVar4 = __ctype_b_loc();
    local_34 = 0;
    uVar2 = 0;
    do {
      iVar13 = (int)lcp[uVar2 + 4];
      uVar11 = (*ppuVar4)[iVar13];
      if ((uVar11 & 0x800) == 0) {
        uVar11 = uVar11 & 0x1ff;
        iVar9 = iVar13 + -0x57;
        if ((char)(uVar11 >> 8) != '\0') {
          iVar9 = iVar13 + -0x37;
        }
      }
      else {
        iVar9 = iVar13 + -0x30;
      }
      ppuVar12 = (undefined **)(uint)uVar11;
      if ((uVar2 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 != 0x10);
  }
  else {
    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {
      if (*(int *)lcp == 0x2e6e7169) {
        __n = (uint8_t *)strpbrk(lcp," \t");
        puVar5 = (uint8_t *)strstr(lcp,",i,0x");
        if (__n == (uint8_t *)0x0) goto LAB_00013859;
        if (puVar5 <= __n) goto LAB_00013859;
        puVar5 = (uint8_t *)0x0;
        goto LAB_00013571;
      }
      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {
        lcp = lcp + 4;
        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);
        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);
        if ((int)uVar17 == 2) {
          *tidp = '\n';
          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;
          iVar13 = 1;
          __n = tidp;
        }
        else {
          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);
          iVar13 = 0;
        }
      }
      else {
        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);
        iVar13 = 0;
      }
      goto LAB_000135dd;
    }
    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");
    if (sVar3 != 0x10) {
      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);
      iVar13 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    __n = (uint8_t *)0x0;
    *tidp = '\x04';
    ppuVar4 = __ctype_b_loc();
    uVar2 = 0;
    local_34 = 0;
    do {
      iVar13 = (int)lcp[uVar2 + 4];
      uVar11 = (*ppuVar4)[iVar13];
      if ((uVar11 & 0x800) == 0) {
        uVar11 = uVar11 & 0x1ff;
        iVar9 = iVar13 + -0x57;
        if ((char)(uVar11 >> 8) != '\0') {
          iVar9 = iVar13 + -0x37;
        }
      }
      else {
        iVar9 = iVar13 + -0x30;
      }
      ppuVar12 = (undefined **)(uint)uVar11;
      if ((uVar2 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar2 = uVar2 + 1;
    } while (uVar2 != 0x20);
  }
LAB_000134a7:
  iVar13 = 1;
LAB_000135dd:
  do {
    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));
    if (puVar14 == (uint8_t *)0x0) {
      return iVar13;
    }
    __stack_chk_fail_local();
    puVar5 = extraout_EDX;
LAB_00013859:
    if (__n == (uint8_t *)0x0) {
      uVar2 = 0xffffffff;
      pcVar15 = lcp;
      do {
        if (uVar2 == 0) break;
        uVar2 = uVar2 - 1;
        cVar1 = *pcVar15;
        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;
      } while (cVar1 != '\0');
      __n = (uint8_t *)(~uVar2 - 1);
    }
    else {
LAB_00013571:
      __n = __n + -(int)lcp;
    }
    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;
    puVar6 = __n + 1;
    if ((int)puVar6 < 0x14) {
      puVar6 = (uint8_t *)0x14;
    }
    else {
      if (((uint)puVar6 & 3) != 0) {
        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);
      }
      if (0xf1 < (int)puVar6) {
        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);
        iVar13 = 0;
        goto LAB_000135dd;
      }
    }
    tidp[3] = (uint8_t)puVar6;
    memcpy(puVar14,lcp,(size_t)__n);
    iVar13 = 1;
  } while( true );
}



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

undefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)

{
  uint uVar1;
  size_t sVar2;
  ushort **ppuVar3;
  undefined4 uVar4;
  char *pcVar5;
  char *pcVar6;
  uint uVar7;
  byte bVar8;
  int iVar9;
  char *extraout_EDX;
  ushort uVar10;
  undefined **ppuVar11;
  int iVar12;
  char *pcVar13;
  char *__n;
  int *piVar14;
  int in_GS_OFFSET;
  byte bVar15;
  undefined8 uVar16;
  int local_34;
  undefined4 local_28;
  ushort local_24 [2];
  uint local_20;
  undefined4 uStack_14;
  
  bVar15 = 0;
  __n = (char *)0x0;
  pcVar13 = param_2 + 4;
  uStack_14 = 0x133c2;
  ppuVar11 = &__DT_PLTGOT;
  uVar7 = (uint)pcVar13 & 0xfffffffc;
  local_20 = *(uint *)(in_GS_OFFSET + 0x14);
  param_2[0] = '\0';
  param_2[1] = '\0';
  param_2[2] = '\0';
  param_2[3] = '\0';
  param_2[0x14] = '\0';
  param_2[0x15] = '\0';
  param_2[0x16] = '\0';
  param_2[0x17] = '\0';
  uVar1 = 0;
  do {
    *(undefined4 *)(uVar7 + uVar1) = 0;
    uVar1 = uVar1 + 4;
  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));
  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    iVar12 = 0;
    *param_2 = '\x06';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      while( true ) {
        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);
        uVar10 = (*ppuVar3)[iVar9];
        ppuVar11 = (undefined **)(uint)uVar10;
        if ((uVar10 & 0x800) != 0) break;
        __n = (char *)(iVar9 + -0x37);
        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);
        pcVar13 = (char *)(iVar9 + -0x57);
        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {
          pcVar13 = __n;
        }
        bVar8 = (byte)pcVar13;
        if ((uVar1 & 1) != 0) goto LAB_00013460;
LAB_00013498:
        local_34 = (int)pcVar13 << 4;
        uVar1 = uVar1 + 1;
        if (uVar1 == 0x10) goto LAB_000134a7;
      }
      pcVar13 = (char *)(iVar9 + -0x30);
      bVar8 = (byte)pcVar13;
      if ((uVar1 & 1) == 0) goto LAB_00013498;
LAB_00013460:
      uVar1 = uVar1 + 1;
      param_2[iVar12 + 4] = bVar8 | (byte)local_34;
      iVar12 = iVar12 + 1;
      __n = param_2;
    } while (uVar1 != 0x10);
  }
  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {
    param_1 = param_1 + 1;
    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);
    if (iVar12 != 2) {
      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    *param_2 = '\x01';
    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;
    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;
  }
  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\0';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar10 & 0x800) == 0) {
        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);
        iVar9 = iVar12 + -0x57;
        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
        bVar8 = (byte)iVar9;
        if ((uVar1 & 1) != 0) goto LAB_00013688;
LAB_000136c4:
        local_34 = iVar9 << 4;
      }
      else {
        iVar9 = iVar12 + -0x30;
        bVar8 = (byte)iVar9;
        if ((uVar1 & 1) == 0) goto LAB_000136c4;
LAB_00013688:
        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x10);
  }
  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\x03';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      if ((uVar10 & 0x800) == 0) {
        uVar10 = uVar10 & 0x1ff;
        iVar9 = iVar12 + -0x57;
        if ((char)(uVar10 >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
      }
      else {
        iVar9 = iVar12 + -0x30;
      }
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar1 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x10);
  }
  else {
    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {
      if (*param_1 == 0x2e6e7169) {
        __n = strpbrk((char *)param_1," \t");
        pcVar5 = strstr((char *)param_1,",i,0x");
        if (__n == (char *)0x0) goto LAB_00013859;
        if (pcVar5 <= __n) goto LAB_00013859;
        pcVar5 = (char *)0x0;
        goto LAB_00013571;
      }
      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {
        param_1 = param_1 + 1;
        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);
        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);
        if ((int)uVar16 == 2) {
          *param_2 = '\n';
          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;
          uVar4 = 1;
          __n = param_2;
        }
        else {
          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);
          uVar4 = 0;
        }
      }
      else {
        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);
        uVar4 = 0;
      }
      goto LAB_000135dd;
    }
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\x04';
    ppuVar3 = __ctype_b_loc();
    uVar1 = 0;
    local_34 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      if ((uVar10 & 0x800) == 0) {
        uVar10 = uVar10 & 0x1ff;
        iVar9 = iVar12 + -0x57;
        if ((char)(uVar10 >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
      }
      else {
        iVar9 = iVar12 + -0x30;
      }
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar1 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x20);
  }
LAB_000134a7:
  uVar4 = 1;
LAB_000135dd:
  do {
    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));
    if (pcVar13 == (char *)0x0) {
      return uVar4;
    }
    FUN_00013ac0();
    pcVar5 = extraout_EDX;
LAB_00013859:
    if (__n == (char *)0x0) {
      uVar1 = 0xffffffff;
      piVar14 = param_1;
      do {
        if (uVar1 == 0) break;
        uVar1 = uVar1 - 1;
        iVar12 = *piVar14;
        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);
      } while ((char)iVar12 != '\0');
      __n = (char *)(~uVar1 - 1);
    }
    else {
LAB_00013571:
      __n = __n + -(int)param_1;
    }
    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;
    pcVar6 = __n + 1;
    if ((int)pcVar6 < 0x14) {
      pcVar6 = (char *)0x14;
    }
    else {
      if (((uint)pcVar6 & 3) != 0) {
        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);
      }
      if (0xf1 < (int)pcVar6) {
        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);
        uVar4 = 0;
        goto LAB_000135dd;
      }
    }
    param_2[3] = (char)pcVar6;
    memcpy(pcVar13,param_1,(size_t)__n);
    uVar4 = 1;
  } while( true );
}


PUSH EBP
MOV EBP,EAX
PUSH EDI
XOR EDI,EDI
PUSH ESI
LEA ESI,[EDX + 0x4]
PUSH EBX
MOV ECX,ESI
CALL 0x00013270
ADD EBX,0x4b5e
AND ECX,0xfffffffc
SUB ESP,0x2c
MOV dword ptr [ESP + 0xc],EDX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x1c],EAX
XOR EAX,EAX
MOV EAX,EDX
MOV dword ptr [EDX],0x0
SUB EAX,ECX
MOV dword ptr [EDX + 0x14],0x0
MOV EDX,EAX
XOR EAX,EAX
ADD EDX,0x18
AND EDX,0xfffffffc
MOV dword ptr [ECX + EAX*0x1],EDI
ADD EAX,0x4
CMP EAX,EDX
JC 0x000133f9
CMP dword ptr [EBP],0x2c736173
JNZ 0x000134b8
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc0e8]
LEA ESI,[EBP + 0x4]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0x10
CMP EAX,0x10
JNZ 0x000135c8
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x14],0x0
XOR ESI,ESI
MOV byte ptr [EAX],0x6
CALL 0x000112a0
MOV dword ptr [ESP + 0x8],0x0
XOR ECX,ECX
JMP 0x00013477
SUB EDX,0x30
TEST CL,0x1
JZ 0x00013498
MOV EDI,dword ptr [ESP + 0xc]
OR DL,byte ptr [ESP + 0x8]
ADD ECX,0x1
MOV byte ptr [EDI + ESI*0x1 + 0x4],DL
ADD ESI,0x1
CMP ECX,0x10
JZ 0x000134a7
MOVSX EDX,byte ptr [EBP + ECX*0x1 + 0x4]
MOV EBX,dword ptr [EAX]
MOVZX EBX,word ptr [EBX + EDX*0x2]
TEST BH,0x8
JNZ 0x00013458
LEA EDI,[EDX + -0x37]
SUB EDX,0x57
AND BH,0x1
CMOVNZ EDX,EDI
TEST CL,0x1
JNZ 0x00013460
SHL EDX,0x4
ADD ECX,0x1
MOV dword ptr [ESP + 0x8],EDX
CMP ECX,0x10
JNZ 0x00013477
MOV EAX,0x1
JMP 0x000135dd
CMP dword ptr [EBP],0x2c534153
JZ 0x00013410
CMP dword ptr [EBP],0x2c697073
JZ 0x00013600
CMP dword ptr [EBP],0x2c495053
JZ 0x00013600
CMP dword ptr [EBP],0x2c706366
JZ 0x0001363d
CMP dword ptr [EBP],0x2c504346
JZ 0x0001363d
CMP dword ptr [EBP],0x2c706273
JZ 0x0001370d
CMP dword ptr [EBP],0x2c504253
JZ 0x0001370d
CMP dword ptr [EBP],0x2c707273
JZ 0x000137ae
CMP dword ptr [EBP],0x2c505253
JZ 0x000137ae
CMP dword ptr [EBP],0x2e6e7169
JNZ 0x00013874
LEA EAX,[EBX + 0xffffc105]
PUSH ECX
PUSH ECX
PUSH EAX
PUSH EBP
CALL 0x00011220
POP EDI
POP EDX
MOV EDI,EAX
LEA EAX,[EBX + 0xffffc108]
PUSH EAX
PUSH EBP
CALL 0x00011060
ADD ESP,0x10
MOV EDX,EAX
TEST EDI,EDI
JZ 0x00013859
CMP EDI,EAX
JNC 0x00013859
XOR EDX,EDX
SUB EDI,EBP
CMP EDX,0x1
MOV ECX,dword ptr [ESP + 0xc]
SBB EAX,EAX
AND EAX,0xffffffc0
ADD EAX,0x45
MOV byte ptr [ECX],AL
LEA EAX,[EDI + 0x1]
CMP EAX,0x13
JLE 0x000138f4
TEST AL,0x3
JZ 0x0001359e
SAR EAX,0x2
LEA EAX,[EAX*0x4 + 0x4]
CMP EAX,0xf1
JG 0x000138fe
MOV ECX,dword ptr [ESP + 0xc]
MOV byte ptr [ECX + 0x3],AL
PUSH EAX
PUSH EDI
PUSH EBP
PUSH ESI
CALL 0x00011090
ADD ESP,0x10
MOV EAX,0x1
JMP 0x000135dd
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc864]
PUSH ESI
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x1c]
XOR ESI,dword ptr GS:[0x14]
JNZ 0x00013854
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESP + 0x18]
ADD EBP,0x4
PUSH EAX
LEA EAX,[ESP + 0x18]
PUSH EAX
LEA EAX,[EBX + 0xffffc0ff]
PUSH EAX
PUSH EBP
CALL 0x000111b0
ADD ESP,0x10
CMP EAX,0x2
JZ 0x000136cd
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc890]
PUSH EBP
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc0e8]
LEA ESI,[EBP + 0x4]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0x10
CMP EAX,0x10
JNZ 0x000136f3
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x14],0x0
XOR EDI,EDI
MOV byte ptr [EAX],0x0
CALL 0x000112a0
MOV dword ptr [ESP + 0x8],0x0
XOR ECX,ECX
JMP 0x000136a3
SUB EDX,0x30
TEST CL,0x1
JZ 0x000136c4
MOV ESI,dword ptr [ESP + 0xc]
OR DL,byte ptr [ESP + 0x8]
MOV byte ptr [ESI + EDI*0x1 + 0x8],DL
ADD EDI,0x1
ADD ECX,0x1
CMP ECX,0x10
JZ 0x000134a7
MOVSX EDX,byte ptr [EBP + ECX*0x1 + 0x4]
MOV EBX,dword ptr [EAX]
MOVZX EBX,word ptr [EBX + EDX*0x2]
TEST BH,0x8
JNZ 0x00013680
LEA ESI,[EDX + -0x37]
SUB EDX,0x57
AND BH,0x1
CMOVNZ EDX,ESI
TEST CL,0x1
JNZ 0x00013688
SHL EDX,0x4
MOV dword ptr [ESP + 0x8],EDX
JMP 0x00013697
MOVZX EAX,word ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0xc]
ROL AX,0x8
MOV byte ptr [ESI],0x1
MOV word ptr [ESI + 0x2],AX
MOVZX EAX,word ptr [ESP + 0x18]
ROL AX,0x8
MOV word ptr [ESI + 0x6],AX
JMP 0x000134a7
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc8bc]
PUSH ESI
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc0e8]
LEA ESI,[EBP + 0x4]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0x10
CMP EAX,0x10
JZ 0x00013742
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc8e8]
PUSH ESI
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x14],0x0
XOR EDI,EDI
MOV byte ptr [EAX],0x3
CALL 0x000112a0
MOV dword ptr [ESP + 0x8],0x0
XOR ECX,ECX
JMP 0x00013787
SUB EDX,0x30
TEST CL,0x1
JZ 0x000137a5
MOV ESI,dword ptr [ESP + 0xc]
OR DL,byte ptr [ESP + 0x8]
MOV byte ptr [ESI + EDI*0x1 + 0x8],DL
ADD EDI,0x1
ADD ECX,0x1
CMP ECX,0x10
JZ 0x000134a7
MOVSX EDX,byte ptr [EBP + ECX*0x1 + 0x4]
MOV EBX,dword ptr [EAX]
MOVZX EBX,word ptr [EBX + EDX*0x2]
TEST BH,0x8
JNZ 0x00013764
LEA ESI,[EDX + -0x37]
SUB EDX,0x57
AND BH,0x1
CMOVNZ EDX,ESI
JMP 0x00013767
SHL EDX,0x4
MOV dword ptr [ESP + 0x8],EDX
JMP 0x0001377b
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc0e8]
LEA ESI,[EBP + 0x4]
PUSH EAX
PUSH ESI
CALL 0x00011290
ADD ESP,0x10
CMP EAX,0x10
JZ 0x000137e3
SUB ESP,0x8
LEA EAX,[EBX + 0xffffc914]
PUSH ESI
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
MOV EAX,dword ptr [ESP + 0xc]
XOR ESI,ESI
MOV dword ptr [ESP + 0x14],0x0
XOR EDI,EDI
MOV byte ptr [EAX],0x4
CALL 0x000112a0
XOR ECX,ECX
MOV dword ptr [ESP + 0x8],ESI
JMP 0x0001382b
SUB EDX,0x30
TEST CL,0x1
JZ 0x00013849
MOV ESI,dword ptr [ESP + 0xc]
OR DL,byte ptr [ESP + 0x8]
MOV byte ptr [ESI + EDI*0x1 + 0x8],DL
ADD EDI,0x1
ADD ECX,0x1
CMP ECX,0x20
JZ 0x000134a7
MOVSX EDX,byte ptr [EBP + ECX*0x1 + 0x4]
MOV EBX,dword ptr [EAX]
MOVZX EBX,word ptr [EBX + EDX*0x2]
TEST BH,0x8
JNZ 0x00013808
LEA ESI,[EDX + -0x37]
SUB EDX,0x57
AND BH,0x1
CMOVNZ EDX,ESI
JMP 0x0001380b
MOV ESI,EDX
SHL ESI,0x4
MOV dword ptr [ESP + 0x8],ESI
JMP 0x0001381f
CALL 0x00013ac0
TEST EDI,EDI
JNZ 0x00013571
MOV EDI,EBP
OR ECX,0xffffffff
XOR EAX,EAX
SCASB.REPNE ES:EDI
NOT ECX
LEA EDI,[ECX + -0x1]
JMP 0x00013573
CMP dword ptr [EBP],0x2c706f73
JZ 0x00013886
CMP dword ptr [EBP],0x2c504f53
JNZ 0x000138bd
PUSH ECX
ADD EBP,0x4
LEA EAX,[ESP + 0x1c]
PUSH EAX
LEA EAX,[EBX + 0xffffc2bf]
PUSH EAX
PUSH EBP
CALL 0x000111b0
ADD ESP,0x10
CMP EAX,0x2
JZ 0x000138d6
LEA EAX,[EBX + 0xffffc940]
PUSH EDX
PUSH EDX
PUSH EBP
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
PUSH EAX
PUSH EAX
LEA EAX,[EBX + 0xffffc96c]
PUSH EBP
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
MOVZX EAX,word ptr [ESP + 0x18]
MOV EDI,dword ptr [ESP + 0xc]
ROL AX,0x8
MOV byte ptr [EDI],0xa
MOV word ptr [EDI + 0x2],AX
MOV EAX,0x1
JMP 0x000135dd
MOV EAX,0x14
JMP 0x000135a9
PUSH EDX
PUSH EDX
PUSH EAX
LEA EAX,[EBX + 0xffffc10e]
PUSH EAX
CALL 0x00011100
ADD ESP,0x10
XOR EAX,EAX
JMP 0x000135dd
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000133b0(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "ushort **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *extraout_EDX;" primitive_type (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "ushort uVar10;" type_identifier identifier ;) (declaration "undefined **ppuVar11;" type_identifier (pointer_declarator "**ppuVar11" * (pointer_declarator "*ppuVar11" * identifier)) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "char *__n;" primitive_type (pointer_declarator "*__n" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "ushort local_24 [2];" type_identifier (array_declarator "local_24 [2]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar13 = param_2 + 4;" (assignment_expression "pcVar13 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "uStack_14 = 0x133c2;" (assignment_expression "uStack_14 = 0x133c2" identifier = number_literal) ;) (expression_statement "ppuVar11 = &__DT_PLTGOT;" (assignment_expression "ppuVar11 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "uVar7 = (uint)pcVar13 & 0xfffffffc;" (assignment_expression "uVar7 = (uint)pcVar13 & 0xfffffffc" identifier = (binary_expression "(uint)pcVar13 & 0xfffffffc" (cast_expression "(uint)pcVar13" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "local_20 = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(uint *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[0] = '\0';" (assignment_expression "param_2[0] = '\0'" (subscript_expression "param_2[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[1] = '\0';" (assignment_expression "param_2[1] = '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[2] = '\0';" (assignment_expression "param_2[2] = '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[3] = '\0';" (assignment_expression "param_2[3] = '\0'" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x14] = '\0';" (assignment_expression "param_2[0x14] = '\0'" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x15] = '\0';" (assignment_expression "param_2[0x15] = '\0'" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x16] = '\0';" (assignment_expression "param_2[0x16] = '\0'" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x17] = '\0';" (assignment_expression "param_2[0x17] = '\0'" (subscript_expression "param_2[0x17]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));" do (compound_statement "{\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(uVar7 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar7 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar7 + uVar1)" * (cast_expression "(undefined4 *)(uVar7 + uVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar7 + uVar1)" ( (binary_expression "uVar7 + uVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc))" ( (binary_expression "uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" identifier < (parenthesized_expression "((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" ( (binary_expression "(uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc" (call_expression "(uint)(param_2 + (0x18 - uVar7))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 + (0x18 - uVar7))" ( (binary_expression "param_2 + (0x18 - uVar7)" identifier + (parenthesized_expression "(0x18 - uVar7)" ( (binary_expression "0x18 - uVar7" number_literal - identifier) ))) ))) & number_literal) ))) )) ;) (if_statement "if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153))" ( (binary_expression "(*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)" (parenthesized_expression "(*param_1 == 0x2c736173)" ( (binary_expression "*param_1 == 0x2c736173" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c534153)" ( (binary_expression "*param_1 == 0x2c534153" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SAS TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = '\x06';" (assignment_expression "*param_2 = '\x06'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x06'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    }" { (while_statement "while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" { (expression_statement "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar9];" (assignment_expression "uVar10 = (*ppuVar3)[iVar9]" identifier = (subscript_expression "(*ppuVar3)[iVar9]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar10 & 0x800) != 0) break;" if (parenthesized_expression "((uVar10 & 0x800) != 0)" ( (binary_expression "(uVar10 & 0x800) != 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "__n = (char *)(iVar9 + -0x37);" (assignment_expression "__n = (char *)(iVar9 + -0x37)" identifier = (cast_expression "(char *)(iVar9 + -0x37)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x37)" ( (binary_expression "iVar9 + -0x37" identifier + number_literal) )))) ;) (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "pcVar13 = (char *)(iVar9 + -0x57);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x57)" identifier = (cast_expression "(char *)(iVar9 + -0x57)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x57)" ( (binary_expression "iVar9 + -0x57" identifier + number_literal) )))) ;) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }" if (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" ( (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar13 = __n;\n        }" { (expression_statement "pcVar13 = __n;" (assignment_expression "pcVar13 = __n" identifier = identifier) ;) })) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" identifier = (cast_expression "(byte)pcVar13" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013460;" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013460;" goto statement_identifier ;)) (labeled_statement "LAB_00013498:\n        local_34 = (int)pcVar13 << 4;" statement_identifier : (expression_statement "local_34 = (int)pcVar13 << 4;" (assignment_expression "local_34 = (int)pcVar13 << 4" identifier = (binary_expression "(int)pcVar13 << 4" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal)) ;)) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (if_statement "if (uVar1 == 0x10) goto LAB_000134a7;" if (parenthesized_expression "(uVar1 == 0x10)" ( (binary_expression "uVar1 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_000134a7;" goto statement_identifier ;)) })) (expression_statement "pcVar13 = (char *)(iVar9 + -0x30);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x30)" identifier = (cast_expression "(char *)(iVar9 + -0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x30)" ( (binary_expression "iVar9 + -0x30" identifier + number_literal) )))) ;) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" identifier = (cast_expression "(byte)pcVar13" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) == 0) goto LAB_00013498;" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00013498;" goto statement_identifier ;)) (labeled_statement "LAB_00013460:\n      uVar1 = uVar1 + 1;" statement_identifier : (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;)) (expression_statement "param_2[iVar12 + 4] = bVar8 | (byte)local_34;" (assignment_expression "param_2[iVar12 + 4] = bVar8 | (byte)local_34" (subscript_expression "param_2[iVar12 + 4]" identifier [ (binary_expression "iVar12 + 4" identifier + number_literal) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053))" ( (binary_expression "(*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)" (parenthesized_expression "(*param_1 == 0x2c697073)" ( (binary_expression "*param_1 == 0x2c697073" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c495053)" ( (binary_expression "*param_1 == 0x2c495053" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);" (assignment_expression "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" identifier = (call_expression "__isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" identifier (argument_list "(param_1,"%d,%d",&local_28,local_24)" ( identifier , (string_literal ""%d,%d"" " string_content ") , (pointer_expression "&local_28" & identifier) , identifier )))) ;) (if_statement "if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(iVar12 != 2)" ( (binary_expression "iVar12 != 2" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);" (call_expression "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1)" identifier (argument_list "("badly formed symbolic SPI TransportID: %s\n",param_1)" ( (string_literal ""badly formed symbolic SPI TransportID: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "*param_2 = '\x01';" (assignment_expression "*param_2 = '\x01'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" * (cast_expression "(ushort *)(param_2 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "(ushort)local_28 << 8 | (ushort)local_28 >> 8" (binary_expression "(ushort)local_28 << 8" (cast_expression "(ushort)local_28" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)local_28 >> 8" (cast_expression "(ushort)local_28" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (expression_statement "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 6)" * (cast_expression "(ushort *)(param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) )))) = (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) << number_literal) | (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) >> number_literal))) ;) }) (else_clause "else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346))" ( (binary_expression "(*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)" (parenthesized_expression "(*param_1 == 0x2c706366)" ( (binary_expression "*param_1 == 0x2c706366" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504346)" ( (binary_expression "*param_1 == 0x2c504346" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic FCP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\0';" (assignment_expression "*param_2 = '\0'" (pointer_expression "*param_2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" ( (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013688;" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013688;" goto statement_identifier ;)) (labeled_statement "LAB_000136c4:\n        local_34 = iVar9 << 4;" statement_identifier : (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;)) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) == 0) goto LAB_000136c4;" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000136c4;" goto statement_identifier ;)) (labeled_statement "LAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" statement_identifier : (expression_statement "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;)) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253))" ( (binary_expression "(*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)" (parenthesized_expression "(*param_1 == 0x2c706273)" ( (binary_expression "*param_1 == 0x2c706273" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504253)" ( (binary_expression "*param_1 == 0x2c504253" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SBP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\x03';" (assignment_expression "*param_2 = '\x03'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" { (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" identifier = (binary_expression "uVar10 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" ( (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar10 >> 8)" ( (binary_expression "uVar10 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (compound_statement "{\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" { (if_statement "if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253))" ( (binary_expression "(*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)" (parenthesized_expression "(*param_1 != 0x2c707273)" ( (binary_expression "*param_1 != 0x2c707273" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(*param_1 != 0x2c505253)" ( (binary_expression "*param_1 != 0x2c505253" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" { (if_statement "if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" if (parenthesized_expression "(*param_1 == 0x2e6e7169)" ( (binary_expression "*param_1 == 0x2e6e7169" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" { (expression_statement "__n = strpbrk((char *)param_1," \t");" (assignment_expression "__n = strpbrk((char *)param_1," \t")" identifier = (call_expression "strpbrk((char *)param_1," \t")" identifier (argument_list "((char *)param_1," \t")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "" \t"" " string_content escape_sequence ") )))) ;) (expression_statement "pcVar5 = strstr((char *)param_1,",i,0x");" (assignment_expression "pcVar5 = strstr((char *)param_1,",i,0x")" identifier = (call_expression "strstr((char *)param_1,",i,0x")" identifier (argument_list "((char *)param_1,",i,0x")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "",i,0x"" " string_content ") )))) ;) (if_statement "if (__n == (char *)0x0) goto LAB_00013859;" if (parenthesized_expression "(__n == (char *)0x0)" ( (binary_expression "__n == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (if_statement "if (pcVar5 <= __n) goto LAB_00013859;" if (parenthesized_expression "(pcVar5 <= __n)" ( (binary_expression "pcVar5 <= __n" identifier <= identifier) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00013571;" goto statement_identifier ;) })) (if_statement "if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" if (parenthesized_expression "((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53))" ( (binary_expression "(*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)" (parenthesized_expression "(*param_1 == 0x2c706f73)" ( (binary_expression "*param_1 == 0x2c706f73" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504f53)" ( (binary_expression "*param_1 == 0x2c504f53" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);" (assignment_expression "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7)" identifier = (call_expression "__isoc99_sscanf(param_1,"%x",local_24,uVar7)" identifier (argument_list "(param_1,"%x",local_24,uVar7)" ( identifier , (string_literal ""%x"" " string_content ") , identifier , identifier )))) ;) (expression_statement "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar16 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" if (parenthesized_expression "((int)uVar16 == 2)" ( (binary_expression "(int)uVar16 == 2" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }" { (expression_statement "*param_2 = '\n';" (assignment_expression "*param_2 = '\n'" (pointer_expression "*param_2" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" * (cast_expression "(ushort *)(param_2 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) << number_literal) | (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) >> number_literal))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" identifier = identifier) ;) }) (else_clause "else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" else (compound_statement "{\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" { (expression_statement "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);" (call_expression "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" identifier (argument_list "("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" ( (string_literal ""badly formed symbolic SOP TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" else (compound_statement "{\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" { (expression_statement "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);" (call_expression "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" identifier (argument_list "("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" ( (string_literal ""unable to parse symbolic TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SRP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\x04';" (assignment_expression "*param_2 = '\x04'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" { (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" identifier = (binary_expression "uVar10 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" ( (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar10 >> 8)" ( (binary_expression "uVar10 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x20)" ( (binary_expression "uVar1 != 0x20" identifier != number_literal) )) ;) }))))))))) (labeled_statement "LAB_000134a7:\n  uVar4 = 1;" statement_identifier : (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;)) (labeled_statement "LAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" statement_identifier : (do_statement "do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" do (compound_statement "{\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  }" { (expression_statement "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));" (assignment_expression "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" identifier = (cast_expression "(char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 ^ *(uint *)(in_GS_OFFSET + 0x14)" identifier ^ (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )))) ;) (if_statement "if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }" if (parenthesized_expression "(pcVar13 == (char *)0x0)" ( (binary_expression "pcVar13 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return uVar4;\n    }" { (return_statement "return uVar4;" return identifier ;) })) (expression_statement "FUN_00013ac0();" (call_expression "FUN_00013ac0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = extraout_EDX;" (assignment_expression "pcVar5 = extraout_EDX" identifier = identifier) ;) (labeled_statement "LAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" statement_identifier : (if_statement "if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" if (parenthesized_expression "(__n == (char *)0x0)" ( (binary_expression "__n == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (expression_statement "piVar14 = param_1;" (assignment_expression "piVar14 = param_1" identifier = identifier) ;) (do_statement "do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');" do (compound_statement "{\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      }" { (if_statement "if (uVar1 == 0) break;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = uVar1 - 1;" (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ;) (expression_statement "iVar12 = *piVar14;" (assignment_expression "iVar12 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);" (assignment_expression "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" identifier = (cast_expression "(int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar14 + (uint)bVar15 * -2 + 1)" ( (binary_expression "(int)piVar14 + (uint)bVar15 * -2 + 1" (binary_expression "(int)piVar14 + (uint)bVar15 * -2" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "((char)iVar12 != '\0')" ( (binary_expression "(char)iVar12 != '\0'" (cast_expression "(char)iVar12" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "__n = (char *)(~uVar1 - 1);" (assignment_expression "__n = (char *)(~uVar1 - 1)" identifier = (cast_expression "(char *)(~uVar1 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~uVar1 - 1)" ( (binary_expression "~uVar1 - 1" (unary_expression "~uVar1" ~ identifier) - number_literal) )))) ;) }) (else_clause "else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" else (compound_statement "{\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" { (labeled_statement "LAB_00013571:\n      __n = __n + -(int)param_1;" statement_identifier : (expression_statement "__n = __n + -(int)param_1;" (assignment_expression "__n = __n + -(int)param_1" identifier = (binary_expression "__n + -(int)param_1" identifier + (unary_expression "-(int)param_1" - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)))) ;)) })))) (expression_statement "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;" (assignment_expression "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (pointer_expression "*param_2" * identifier) = (binary_expression "(-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (parenthesized_expression "(-(pcVar5 == (char *)0x0) & 0xc0U)" ( (binary_expression "-(pcVar5 == (char *)0x0) & 0xc0U" (unary_expression "-(pcVar5 == (char *)0x0)" - (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "pcVar6 = __n + 1;" (assignment_expression "pcVar6 = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) (if_statement "if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" if (parenthesized_expression "((int)pcVar6 < 0x14)" ( (binary_expression "(int)pcVar6 < 0x14" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      pcVar6 = (char *)0x14;\n    }" { (expression_statement "pcVar6 = (char *)0x14;" (assignment_expression "pcVar6 = (char *)0x14" identifier = (cast_expression "(char *)0x14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" else (compound_statement "{\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" { (if_statement "if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" if (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" ( (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" ( (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" { (expression_statement "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);" (assignment_expression "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4)" identifier = (cast_expression "(char *)(((int)pcVar6 >> 2) * 4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)pcVar6 >> 2) * 4 + 4)" ( (binary_expression "((int)pcVar6 >> 2) * 4 + 4" (binary_expression "((int)pcVar6 >> 2) * 4" (parenthesized_expression "((int)pcVar6 >> 2)" ( (binary_expression "(int)pcVar6 >> 2" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) * number_literal) + number_literal) )))) ;) })) (if_statement "if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" if (parenthesized_expression "(0xf1 < (int)pcVar6)" ( (binary_expression "0xf1 < (int)pcVar6" number_literal < (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" { (expression_statement "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);" (call_expression "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" identifier (argument_list "((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" ( (binary_expression "(int)ppuVar11 + -0x3ef2" (cast_expression "(int)ppuVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) }))) (expression_statement "param_2[3] = (char)pcVar6;" (assignment_expression "param_2[3] = (char)pcVar6" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)pcVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "memcpy(pcVar13,param_1,(size_t)__n);" (call_expression "memcpy(pcVar13,param_1,(size_t)__n)" identifier (argument_list "(pcVar13,param_1,(size_t)__n)" ( identifier , identifier , (cast_expression "(size_t)__n" ( (type_descriptor "size_t" primitive_type) ) identifier) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 decode_sym_transportid(char *lcp,uint8_t *tidp)\n\n{\n  char cVar1;\n  uint uVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  uint8_t *puVar5;\n  uint8_t *puVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  uint8_t *extraout_EDX;\n  undefined4 uVar10;\n  ushort uVar11;\n  undefined **ppuVar12;\n  int iVar13;\n  uint8_t *puVar14;\n  uint8_t *__n;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  byte bVar16;\n  undefined8 uVar17;\n  int local_34;\n  int b;\n  int c;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  __n = (uint8_t *)0x0;\n  puVar14 = tidp + 4;\n  uStack_14 = 0x133c2;\n  ppuVar12 = &_GLOBAL_OFFSET_TABLE_;\n  uVar7 = (uint)puVar14 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  tidp[0] = '\0';\n  tidp[1] = '\0';\n  tidp[2] = '\0';\n  tidp[3] = '\0';\n  tidp[0x14] = '\0';\n  tidp[0x15] = '\0';\n  tidp[0x16] = '\0';\n  tidp[0x17] = '\0';\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    iVar13 = 0;\n    *tidp = '\x06';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }\nLAB_000134a7:\n  iVar13 = 1;\nLAB_000135dd:\n  do {\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  } while( true );\n}\n\n" comment (function_definition "int __regparm3 decode_sym_transportid(char *lcp,uint8_t *tidp)\n\n{\n  char cVar1;\n  uint uVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  uint8_t *puVar5;\n  uint8_t *puVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  uint8_t *extraout_EDX;\n  undefined4 uVar10;\n  ushort uVar11;\n  undefined **ppuVar12;\n  int iVar13;\n  uint8_t *puVar14;\n  uint8_t *__n;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  byte bVar16;\n  undefined8 uVar17;\n  int local_34;\n  int b;\n  int c;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  __n = (uint8_t *)0x0;\n  puVar14 = tidp + 4;\n  uStack_14 = 0x133c2;\n  ppuVar12 = &_GLOBAL_OFFSET_TABLE_;\n  uVar7 = (uint)puVar14 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  tidp[0] = '\0';\n  tidp[1] = '\0';\n  tidp[2] = '\0';\n  tidp[3] = '\0';\n  tidp[0x14] = '\0';\n  tidp[0x15] = '\0';\n  tidp[0x16] = '\0';\n  tidp[0x17] = '\0';\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    iVar13 = 0;\n    *tidp = '\x06';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }\nLAB_000134a7:\n  iVar13 = 1;\nLAB_000135dd:\n  do {\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "decode_sym_transportid(char *lcp,uint8_t *tidp)" identifier (parameter_list "(char *lcp,uint8_t *tidp)" ( (parameter_declaration "char *lcp" primitive_type (pointer_declarator "*lcp" * identifier)) , (parameter_declaration "uint8_t *tidp" primitive_type (pointer_declarator "*tidp" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  size_t sVar3;\n  ushort **ppuVar4;\n  uint8_t *puVar5;\n  uint8_t *puVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  uint8_t *extraout_EDX;\n  undefined4 uVar10;\n  ushort uVar11;\n  undefined **ppuVar12;\n  int iVar13;\n  uint8_t *puVar14;\n  uint8_t *__n;\n  char *pcVar15;\n  int in_GS_OFFSET;\n  byte bVar16;\n  undefined8 uVar17;\n  int local_34;\n  int b;\n  int c;\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  __n = (uint8_t *)0x0;\n  puVar14 = tidp + 4;\n  uStack_14 = 0x133c2;\n  ppuVar12 = &_GLOBAL_OFFSET_TABLE_;\n  uVar7 = (uint)puVar14 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  tidp[0] = '\0';\n  tidp[1] = '\0';\n  tidp[2] = '\0';\n  tidp[3] = '\0';\n  tidp[0x14] = '\0';\n  tidp[0x15] = '\0';\n  tidp[0x16] = '\0';\n  tidp[0x17] = '\0';\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    iVar13 = 0;\n    *tidp = '\x06';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }\nLAB_000134a7:\n  iVar13 = 1;\nLAB_000135dd:\n  do {\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  } while( true );\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "ushort **ppuVar4;" type_identifier (pointer_declarator "**ppuVar4" * (pointer_declarator "*ppuVar4" * identifier)) ;) (declaration "uint8_t *puVar5;" primitive_type (pointer_declarator "*puVar5" * identifier) ;) (declaration "uint8_t *puVar6;" primitive_type (pointer_declarator "*puVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "uint8_t *extraout_EDX;" primitive_type (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "undefined4 uVar10;" type_identifier identifier ;) (declaration "ushort uVar11;" type_identifier identifier ;) (declaration "undefined **ppuVar12;" type_identifier (pointer_declarator "**ppuVar12" * (pointer_declarator "*ppuVar12" * identifier)) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint8_t *puVar14;" primitive_type (pointer_declarator "*puVar14" * identifier) ;) (declaration "uint8_t *__n;" primitive_type (pointer_declarator "*__n" * identifier) ;) (declaration "char *pcVar15;" primitive_type (pointer_declarator "*pcVar15" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar16;" type_identifier identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "int b;" primitive_type identifier ;) (declaration "int c;" primitive_type identifier ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar16 = 0;" (assignment_expression "bVar16 = 0" identifier = number_literal) ;) (expression_statement "__n = (uint8_t *)0x0;" (assignment_expression "__n = (uint8_t *)0x0" identifier = (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "puVar14 = tidp + 4;" (assignment_expression "puVar14 = tidp + 4" identifier = (binary_expression "tidp + 4" identifier + number_literal)) ;) (expression_statement "uStack_14 = 0x133c2;" (assignment_expression "uStack_14 = 0x133c2" identifier = number_literal) ;) (expression_statement "ppuVar12 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "ppuVar12 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "uVar7 = (uint)puVar14 & 0xfffffffc;" (assignment_expression "uVar7 = (uint)puVar14 & 0xfffffffc" identifier = (binary_expression "(uint)puVar14 & 0xfffffffc" (cast_expression "(uint)puVar14" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "local_20 = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(uint *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "tidp[0] = '\0';" (assignment_expression "tidp[0] = '\0'" (subscript_expression "tidp[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[1] = '\0';" (assignment_expression "tidp[1] = '\0'" (subscript_expression "tidp[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[2] = '\0';" (assignment_expression "tidp[2] = '\0'" (subscript_expression "tidp[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[3] = '\0';" (assignment_expression "tidp[3] = '\0'" (subscript_expression "tidp[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[0x14] = '\0';" (assignment_expression "tidp[0x14] = '\0'" (subscript_expression "tidp[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[0x15] = '\0';" (assignment_expression "tidp[0x15] = '\0'" (subscript_expression "tidp[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[0x16] = '\0';" (assignment_expression "tidp[0x16] = '\0'" (subscript_expression "tidp[0x16]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "tidp[0x17] = '\0';" (assignment_expression "tidp[0x17] = '\0'" (subscript_expression "tidp[0x17]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(uVar7 + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc));" do (compound_statement "{\n    *(undefined4 *)(uVar7 + uVar2) = 0;\n    uVar2 = uVar2 + 4;\n  }" { (expression_statement "*(undefined4 *)(uVar7 + uVar2) = 0;" (assignment_expression "*(undefined4 *)(uVar7 + uVar2) = 0" (pointer_expression "*(undefined4 *)(uVar7 + uVar2)" * (cast_expression "(undefined4 *)(uVar7 + uVar2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar7 + uVar2)" ( (binary_expression "uVar7 + uVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc))" ( (binary_expression "uVar2 < ((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc)" identifier < (parenthesized_expression "((uint)(tidp + (0x18 - uVar7)) & 0xfffffffc)" ( (binary_expression "(uint)(tidp + (0x18 - uVar7)) & 0xfffffffc" (call_expression "(uint)(tidp + (0x18 - uVar7))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(tidp + (0x18 - uVar7))" ( (binary_expression "tidp + (0x18 - uVar7)" identifier + (parenthesized_expression "(0x18 - uVar7)" ( (binary_expression "0x18 - uVar7" number_literal - identifier) ))) ))) & number_literal) ))) )) ;) (if_statement "if ((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    iVar13 = 0;\n    *tidp = '\x06';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" if (parenthesized_expression "((*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153))" ( (binary_expression "(*(int *)lcp == 0x2c736173) || (*(int *)lcp == 0x2c534153)" (parenthesized_expression "(*(int *)lcp == 0x2c736173)" ( (binary_expression "*(int *)lcp == 0x2c736173" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)lcp == 0x2c534153)" ( (binary_expression "*(int *)lcp == 0x2c534153" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    iVar13 = 0;\n    *tidp = '\x06';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);\n  }" { (expression_statement "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier (argument_list "(lcp + 4,"0123456789aAbBcCdDeEfF")" ( (binary_expression "lcp + 4" identifier + number_literal) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar3 != 0x10)" ( (binary_expression "sVar3 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4);" (call_expression "pr2serr("badly formed symbolic SAS TransportID: %s\n",lcp + 4)" identifier (argument_list "("badly formed symbolic SAS TransportID: %s\n",lcp + 4)" ( (string_literal ""badly formed symbolic SAS TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "lcp + 4" identifier + number_literal) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "b = 0;" (assignment_expression "b = 0" identifier = number_literal) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "*tidp = '\x06';" (assignment_expression "*tidp = '\x06'" (pointer_expression "*tidp" * identifier) = (char_literal "'\x06'" ' escape_sequence ')) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    } while (uVar2 != 0x10);" do (compound_statement "{\n      while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }\n      puVar14 = (uint8_t *)(iVar9 + -0x30);\n      bVar8 = (byte)puVar14;\n      if ((uVar2 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar2 = uVar2 + 1;\n      tidp[iVar13 + 4] = bVar8 | (byte)local_34;\n      iVar13 = iVar13 + 1;\n      __n = tidp;\n    }" { (while_statement "while( true ) {\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar9 = (int)lcp[uVar2 + 4];\n        uVar11 = (*ppuVar4)[iVar9];\n        ppuVar12 = (undefined **)(uint)uVar11;\n        if ((uVar11 & 0x800) != 0) break;\n        __n = (uint8_t *)(iVar9 + -0x37);\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        puVar14 = (uint8_t *)(iVar9 + -0x57);\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }\n        bVar8 = (byte)puVar14;\n        if ((uVar2 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)puVar14 << 4;\n        uVar2 = uVar2 + 1;\n        if (uVar2 == 0x10) goto LAB_000134a7;\n      }" { (expression_statement "iVar9 = (int)lcp[uVar2 + 4];" (assignment_expression "iVar9 = (int)lcp[uVar2 + 4]" identifier = (cast_expression "(int)lcp[uVar2 + 4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "lcp[uVar2 + 4]" identifier [ (binary_expression "uVar2 + 4" identifier + number_literal) ]))) ;) (expression_statement "uVar11 = (*ppuVar4)[iVar9];" (assignment_expression "uVar11 = (*ppuVar4)[iVar9]" identifier = (subscript_expression "(*ppuVar4)[iVar9]" (parenthesized_expression "(*ppuVar4)" ( (pointer_expression "*ppuVar4" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar12 = (undefined **)(uint)uVar11;" (assignment_expression "ppuVar12 = (undefined **)(uint)uVar11" identifier = (cast_expression "(undefined **)(uint)uVar11" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar11 & 0x800) != 0) break;" if (parenthesized_expression "((uVar11 & 0x800) != 0)" ( (binary_expression "(uVar11 & 0x800) != 0" (parenthesized_expression "(uVar11 & 0x800)" ( (binary_expression "uVar11 & 0x800" identifier & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "__n = (uint8_t *)(iVar9 + -0x37);" (assignment_expression "__n = (uint8_t *)(iVar9 + -0x37)" identifier = (cast_expression "(uint8_t *)(iVar9 + -0x37)" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x37)" ( (binary_expression "iVar9 + -0x37" identifier + number_literal) )))) ;) (expression_statement "ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);" (assignment_expression "ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar11 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar11 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 & 0x1ff)" ( (binary_expression "uVar11 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "puVar14 = (uint8_t *)(iVar9 + -0x57);" (assignment_expression "puVar14 = (uint8_t *)(iVar9 + -0x57)" identifier = (cast_expression "(uint8_t *)(iVar9 + -0x57)" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x57)" ( (binary_expression "iVar9 + -0x57" identifier + number_literal) )))) ;) (if_statement "if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          puVar14 = __n;\n        }" if (parenthesized_expression "((char)((uVar11 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar11 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar11 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar11 & 0x1ff) >> 8)" ( (binary_expression "(uVar11 & 0x1ff) >> 8" (parenthesized_expression "(uVar11 & 0x1ff)" ( (binary_expression "uVar11 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          puVar14 = __n;\n        }" { (expression_statement "puVar14 = __n;" (assignment_expression "puVar14 = __n" identifier = identifier) ;) })) (expression_statement "bVar8 = (byte)puVar14;" (assignment_expression "bVar8 = (byte)puVar14" identifier = (cast_expression "(byte)puVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar2 & 1) != 0) goto LAB_00013460;" if (parenthesized_expression "((uVar2 & 1) != 0)" ( (binary_expression "(uVar2 & 1) != 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013460;" goto statement_identifier ;)) (labeled_statement "LAB_00013498:\n        local_34 = (int)puVar14 << 4;" statement_identifier : (expression_statement "local_34 = (int)puVar14 << 4;" (assignment_expression "local_34 = (int)puVar14 << 4" identifier = (binary_expression "(int)puVar14 << 4" (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal)) ;)) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) (if_statement "if (uVar2 == 0x10) goto LAB_000134a7;" if (parenthesized_expression "(uVar2 == 0x10)" ( (binary_expression "uVar2 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_000134a7;" goto statement_identifier ;)) })) (expression_statement "puVar14 = (uint8_t *)(iVar9 + -0x30);" (assignment_expression "puVar14 = (uint8_t *)(iVar9 + -0x30)" identifier = (cast_expression "(uint8_t *)(iVar9 + -0x30)" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x30)" ( (binary_expression "iVar9 + -0x30" identifier + number_literal) )))) ;) (expression_statement "bVar8 = (byte)puVar14;" (assignment_expression "bVar8 = (byte)puVar14" identifier = (cast_expression "(byte)puVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar2 & 1) == 0) goto LAB_00013498;" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00013498;" goto statement_identifier ;)) (labeled_statement "LAB_00013460:\n      uVar2 = uVar2 + 1;" statement_identifier : (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;)) (expression_statement "tidp[iVar13 + 4] = bVar8 | (byte)local_34;" (assignment_expression "tidp[iVar13 + 4] = bVar8 | (byte)local_34" (subscript_expression "tidp[iVar13 + 4]" identifier [ (binary_expression "iVar13 + 4" identifier + number_literal) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "__n = tidp;" (assignment_expression "__n = tidp" identifier = identifier) ;) }) while (parenthesized_expression "(uVar2 != 0x10)" ( (binary_expression "uVar2 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" else (if_statement "if ((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)) {\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }\n  else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" if (parenthesized_expression "((*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053))" ( (binary_expression "(*(int *)lcp == 0x2c697073) || (*(int *)lcp == 0x2c495053)" (parenthesized_expression "(*(int *)lcp == 0x2c697073)" ( (binary_expression "*(int *)lcp == 0x2c697073" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)lcp == 0x2c495053)" ( (binary_expression "*(int *)lcp == 0x2c495053" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    lcp = lcp + 4;\n    iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);\n    if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    *tidp = '\x01';\n    *(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;\n    *(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;\n  }" { (expression_statement "lcp = lcp + 4;" (assignment_expression "lcp = lcp + 4" identifier = (binary_expression "lcp + 4" identifier + number_literal)) ;) (expression_statement "iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c);" (assignment_expression "iVar13 = __isoc99_sscanf(lcp,"%d,%d",&b,&c)" identifier = (call_expression "__isoc99_sscanf(lcp,"%d,%d",&b,&c)" identifier (argument_list "(lcp,"%d,%d",&b,&c)" ( identifier , (string_literal ""%d,%d"" " string_content ") , (pointer_expression "&b" & identifier) , (pointer_expression "&c" & identifier) )))) ;) (if_statement "if (iVar13 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(iVar13 != 2)" ( (binary_expression "iVar13 != 2" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp);" (call_expression "pr2serr("badly formed symbolic SPI TransportID: %s\n",lcp)" identifier (argument_list "("badly formed symbolic SPI TransportID: %s\n",lcp)" ( (string_literal ""badly formed symbolic SPI TransportID: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "*tidp = '\x01';" (assignment_expression "*tidp = '\x01'" (pointer_expression "*tidp" * identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8;" (assignment_expression "*(ushort *)(tidp + 2) = (ushort)b << 8 | (ushort)b >> 8" (pointer_expression "*(ushort *)(tidp + 2)" * (cast_expression "(ushort *)(tidp + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(tidp + 2)" ( (binary_expression "tidp + 2" identifier + number_literal) )))) = (binary_expression "(ushort)b << 8 | (ushort)b >> 8" (binary_expression "(ushort)b << 8" (cast_expression "(ushort)b" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)b >> 8" (cast_expression "(ushort)b" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (expression_statement "*(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8;" (assignment_expression "*(ushort *)(tidp + 6) = (ushort)c << 8 | (ushort)c >> 8" (pointer_expression "*(ushort *)(tidp + 6)" * (cast_expression "(ushort *)(tidp + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(tidp + 6)" ( (binary_expression "tidp + 6" identifier + number_literal) )))) = (binary_expression "(ushort)c << 8 | (ushort)c >> 8" (binary_expression "(ushort)c << 8" (cast_expression "(ushort)c" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)c >> 8" (cast_expression "(ushort)c" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) }) (else_clause "else if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" else (if_statement "if ((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" if (parenthesized_expression "((*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346))" ( (binary_expression "(*(int *)lcp == 0x2c706366) || (*(int *)lcp == 0x2c504346)" (parenthesized_expression "(*(int *)lcp == 0x2c706366)" ( (binary_expression "*(int *)lcp == 0x2c706366" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)lcp == 0x2c504346)" ( (binary_expression "*(int *)lcp == 0x2c504346" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\0';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }" { (expression_statement "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier (argument_list "(lcp + 4,"0123456789aAbBcCdDeEfF")" ( (binary_expression "lcp + 4" identifier + number_literal) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar3 != 0x10)" ( (binary_expression "sVar3 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4);" (call_expression "pr2serr("badly formed symbolic FCP TransportID: %s\n",lcp + 4)" identifier (argument_list "("badly formed symbolic FCP TransportID: %s\n",lcp + 4)" ( (string_literal ""badly formed symbolic FCP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "lcp + 4" identifier + number_literal) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "b = 0;" (assignment_expression "b = 0" identifier = number_literal) ;) (expression_statement "__n = (uint8_t *)0x0;" (assignment_expression "__n = (uint8_t *)0x0" identifier = (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*tidp = '\0';" (assignment_expression "*tidp = '\0'" (pointer_expression "*tidp" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);" do (compound_statement "{\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar13 = (int)lcp[uVar2 + 4];" (assignment_expression "iVar13 = (int)lcp[uVar2 + 4]" identifier = (cast_expression "(int)lcp[uVar2 + 4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "lcp[uVar2 + 4]" identifier [ (binary_expression "uVar2 + 4" identifier + number_literal) ]))) ;) (expression_statement "uVar11 = (*ppuVar4)[iVar13];" (assignment_expression "uVar11 = (*ppuVar4)[iVar13]" identifier = (subscript_expression "(*ppuVar4)[iVar13]" (parenthesized_expression "(*ppuVar4)" ( (pointer_expression "*ppuVar4" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar12 = (undefined **)(uint)uVar11;" (assignment_expression "ppuVar12 = (undefined **)(uint)uVar11" identifier = (cast_expression "(undefined **)(uint)uVar11" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar11 & 0x800) == 0) {\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar11 & 0x800) == 0)" ( (binary_expression "(uVar11 & 0x800) == 0" (parenthesized_expression "(uVar11 & 0x800)" ( (binary_expression "uVar11 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);\n        iVar9 = iVar13 + -0x57;\n        if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff);" (assignment_expression "ppuVar12 = (undefined **)(uint)(uVar11 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar11 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar11 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar11 & 0x1ff)" ( (binary_expression "uVar11 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "iVar9 = iVar13 + -0x57;" (assignment_expression "iVar9 = iVar13 + -0x57" identifier = (binary_expression "iVar13 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)((uVar11 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }" if (parenthesized_expression "((char)((uVar11 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar11 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar11 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar11 & 0x1ff) >> 8)" ( (binary_expression "(uVar11 & 0x1ff) >> 8" (parenthesized_expression "(uVar11 & 0x1ff)" ( (binary_expression "uVar11 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar13 + -0x37;\n        }" { (expression_statement "iVar9 = iVar13 + -0x37;" (assignment_expression "iVar9 = iVar13 + -0x37" identifier = (binary_expression "iVar13 + -0x37" identifier + number_literal)) ;) })) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar2 & 1) != 0) goto LAB_00013688;" if (parenthesized_expression "((uVar2 & 1) != 0)" ( (binary_expression "(uVar2 & 1) != 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013688;" goto statement_identifier ;)) (labeled_statement "LAB_000136c4:\n        local_34 = iVar9 << 4;" statement_identifier : (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;)) }) (else_clause "else {\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        iVar9 = iVar13 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar2 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "iVar9 = iVar13 + -0x30;" (assignment_expression "iVar9 = iVar13 + -0x30" identifier = (binary_expression "iVar13 + -0x30" identifier + number_literal)) ;) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar2 & 1) == 0) goto LAB_000136c4;" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000136c4;" goto statement_identifier ;)) (labeled_statement "LAB_00013688:\n        (tidp + 8)[(int)__n] = bVar8 | (byte)local_34;" statement_identifier : (expression_statement "(tidp + 8)[(int)__n] = bVar8 | (byte)local_34;" (assignment_expression "(tidp + 8)[(int)__n] = bVar8 | (byte)local_34" (subscript_expression "(tidp + 8)[(int)__n]" (parenthesized_expression "(tidp + 8)" ( (binary_expression "tidp + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;)) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 != 0x10)" ( (binary_expression "uVar2 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" else (if_statement "if ((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)) {\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }\n  else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" if (parenthesized_expression "((*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253))" ( (binary_expression "(*(int *)lcp == 0x2c706273) || (*(int *)lcp == 0x2c504253)" (parenthesized_expression "(*(int *)lcp == 0x2c706273)" ( (binary_expression "*(int *)lcp == 0x2c706273" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)lcp == 0x2c504253)" ( (binary_expression "*(int *)lcp == 0x2c504253" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x03';\n    ppuVar4 = __ctype_b_loc();\n    local_34 = 0;\n    uVar2 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);\n  }" { (expression_statement "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier (argument_list "(lcp + 4,"0123456789aAbBcCdDeEfF")" ( (binary_expression "lcp + 4" identifier + number_literal) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar3 != 0x10)" ( (binary_expression "sVar3 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4);" (call_expression "pr2serr("badly formed symbolic SBP TransportID: %s\n",lcp + 4)" identifier (argument_list "("badly formed symbolic SBP TransportID: %s\n",lcp + 4)" ( (string_literal ""badly formed symbolic SBP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "lcp + 4" identifier + number_literal) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "b = 0;" (assignment_expression "b = 0" identifier = number_literal) ;) (expression_statement "__n = (uint8_t *)0x0;" (assignment_expression "__n = (uint8_t *)0x0" identifier = (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*tidp = '\x03';" (assignment_expression "*tidp = '\x03'" (pointer_expression "*tidp" * identifier) = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x10);" do (compound_statement "{\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar13 = (int)lcp[uVar2 + 4];" (assignment_expression "iVar13 = (int)lcp[uVar2 + 4]" identifier = (cast_expression "(int)lcp[uVar2 + 4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "lcp[uVar2 + 4]" identifier [ (binary_expression "uVar2 + 4" identifier + number_literal) ]))) ;) (expression_statement "uVar11 = (*ppuVar4)[iVar13];" (assignment_expression "uVar11 = (*ppuVar4)[iVar13]" identifier = (subscript_expression "(*ppuVar4)[iVar13]" (parenthesized_expression "(*ppuVar4)" ( (pointer_expression "*ppuVar4" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }" if (parenthesized_expression "((uVar11 & 0x800) == 0)" ( (binary_expression "(uVar11 & 0x800) == 0" (parenthesized_expression "(uVar11 & 0x800)" ( (binary_expression "uVar11 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }" { (expression_statement "uVar11 = uVar11 & 0x1ff;" (assignment_expression "uVar11 = uVar11 & 0x1ff" identifier = (binary_expression "uVar11 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar13 + -0x57;" (assignment_expression "iVar9 = iVar13 + -0x57" identifier = (binary_expression "iVar13 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar11 >> 8) != '\0')" ( (binary_expression "(char)(uVar11 >> 8) != '\0'" (cast_expression "(char)(uVar11 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar11 >> 8)" ( (binary_expression "uVar11 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar13 + -0x37;\n        }" { (expression_statement "iVar9 = iVar13 + -0x37;" (assignment_expression "iVar9 = iVar13 + -0x37" identifier = (binary_expression "iVar13 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar13 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar13 + -0x30;\n      }" { (expression_statement "iVar9 = iVar13 + -0x30;" (assignment_expression "iVar9 = iVar13 + -0x30" identifier = (binary_expression "iVar13 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar12 = (undefined **)(uint)uVar11;" (assignment_expression "ppuVar12 = (undefined **)(uint)uVar11" identifier = (cast_expression "(undefined **)(uint)uVar11" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(tidp + 8)[(int)__n]" (parenthesized_expression "(tidp + 8)" ( (binary_expression "tidp + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 != 0x10)" ( (binary_expression "uVar2 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else {\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" else (compound_statement "{\n    if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");\n    if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }\n    b = 0;\n    __n = (uint8_t *)0x0;\n    *tidp = '\x04';\n    ppuVar4 = __ctype_b_loc();\n    uVar2 = 0;\n    local_34 = 0;\n    do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);\n  }" { (if_statement "if ((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)) {\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "((*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253))" ( (binary_expression "(*(int *)lcp != 0x2c707273) && (*(int *)lcp != 0x2c505253)" (parenthesized_expression "(*(int *)lcp != 0x2c707273)" ( (binary_expression "*(int *)lcp != 0x2c707273" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) )) && (parenthesized_expression "(*(int *)lcp != 0x2c505253)" ( (binary_expression "*(int *)lcp != 0x2c505253" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) != number_literal) ))) )) (compound_statement "{\n      if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }\n      goto LAB_000135dd;\n    }" { (if_statement "if (*(int *)lcp == 0x2e6e7169) {\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }" if (parenthesized_expression "(*(int *)lcp == 0x2e6e7169)" ( (binary_expression "*(int *)lcp == 0x2e6e7169" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) (compound_statement "{\n        __n = (uint8_t *)strpbrk(lcp," \t");\n        puVar5 = (uint8_t *)strstr(lcp,",i,0x");\n        if (__n == (uint8_t *)0x0) goto LAB_00013859;\n        if (puVar5 <= __n) goto LAB_00013859;\n        puVar5 = (uint8_t *)0x0;\n        goto LAB_00013571;\n      }" { (expression_statement "__n = (uint8_t *)strpbrk(lcp," \t");" (assignment_expression "__n = (uint8_t *)strpbrk(lcp," \t")" identifier = (cast_expression "(uint8_t *)strpbrk(lcp," \t")" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "strpbrk(lcp," \t")" identifier (argument_list "(lcp," \t")" ( identifier , (string_literal "" \t"" " string_content escape_sequence ") ))))) ;) (expression_statement "puVar5 = (uint8_t *)strstr(lcp,",i,0x");" (assignment_expression "puVar5 = (uint8_t *)strstr(lcp,",i,0x")" identifier = (cast_expression "(uint8_t *)strstr(lcp,",i,0x")" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "strstr(lcp,",i,0x")" identifier (argument_list "(lcp,",i,0x")" ( identifier , (string_literal "",i,0x"" " string_content ") ))))) ;) (if_statement "if (__n == (uint8_t *)0x0) goto LAB_00013859;" if (parenthesized_expression "(__n == (uint8_t *)0x0)" ( (binary_expression "__n == (uint8_t *)0x0" identifier == (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (if_statement "if (puVar5 <= __n) goto LAB_00013859;" if (parenthesized_expression "(puVar5 <= __n)" ( (binary_expression "puVar5 <= __n" identifier <= identifier) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (expression_statement "puVar5 = (uint8_t *)0x0;" (assignment_expression "puVar5 = (uint8_t *)0x0" identifier = (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00013571;" goto statement_identifier ;) })) (if_statement "if ((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)) {\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }" if (parenthesized_expression "((*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53))" ( (binary_expression "(*(int *)lcp == 0x2c706f73) || (*(int *)lcp == 0x2c504f53)" (parenthesized_expression "(*(int *)lcp == 0x2c706f73)" ( (binary_expression "*(int *)lcp == 0x2c706f73" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) )) || (parenthesized_expression "(*(int *)lcp == 0x2c504f53)" ( (binary_expression "*(int *)lcp == 0x2c504f53" (pointer_expression "*(int *)lcp" * (cast_expression "(int *)lcp" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) == number_literal) ))) )) (compound_statement "{\n        lcp = lcp + 4;\n        uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);\n        uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);\n        if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }\n      }" { (expression_statement "lcp = lcp + 4;" (assignment_expression "lcp = lcp + 4" identifier = (binary_expression "lcp + 4" identifier + number_literal)) ;) (expression_statement "uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7);" (assignment_expression "uVar17 = __isoc99_sscanf(lcp,"%x",&c,uVar7)" identifier = (call_expression "__isoc99_sscanf(lcp,"%x",&c,uVar7)" identifier (argument_list "(lcp,"%x",&c,uVar7)" ( identifier , (string_literal ""%x"" " string_content ") , (pointer_expression "&c" & identifier) , identifier )))) ;) (expression_statement "uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20);" (assignment_expression "uVar10 = (undefined4)((ulonglong)uVar17 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar17 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((int)uVar17 == 2) {\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }" if (parenthesized_expression "((int)uVar17 == 2)" ( (binary_expression "(int)uVar17 == 2" (cast_expression "(int)uVar17" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n          *tidp = '\n';\n          *(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;\n          iVar13 = 1;\n          __n = tidp;\n        }" { (expression_statement "*tidp = '\n';" (assignment_expression "*tidp = '\n'" (pointer_expression "*tidp" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8;" (assignment_expression "*(ushort *)(tidp + 2) = (ushort)c << 8 | (ushort)c >> 8" (pointer_expression "*(ushort *)(tidp + 2)" * (cast_expression "(ushort *)(tidp + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(tidp + 2)" ( (binary_expression "tidp + 2" identifier + number_literal) )))) = (binary_expression "(ushort)c << 8 | (ushort)c >> 8" (binary_expression "(ushort)c << 8" (cast_expression "(ushort)c" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)c >> 8" (cast_expression "(ushort)c" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" identifier = number_literal) ;) (expression_statement "__n = tidp;" (assignment_expression "__n = tidp" identifier = identifier) ;) }) (else_clause "else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }" else (compound_statement "{\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);\n          iVar13 = 0;\n        }" { (expression_statement "pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10);" (call_expression "pr2serr("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10)" identifier (argument_list "("badly formed symbolic SOP TransportID: %s\n",lcp,uVar10,uVar10)" ( (string_literal ""badly formed symbolic SOP TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }" else (compound_statement "{\n        pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);\n        iVar13 = 0;\n      }" { (expression_statement "pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2);" (call_expression "pr2serr("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2)" identifier (argument_list "("unable to parse symbolic TransportID: %s\n",lcp,uVar2,uVar2)" ( (string_literal ""unable to parse symbolic TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar3 = strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn(lcp + 4,"0123456789aAbBcCdDeEfF")" identifier (argument_list "(lcp + 4,"0123456789aAbBcCdDeEfF")" ( (binary_expression "lcp + 4" identifier + number_literal) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar3 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar3 != 0x10)" ( (binary_expression "sVar3 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);\n      iVar13 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4);" (call_expression "pr2serr("badly formed symbolic SRP TransportID: %s\n",lcp + 4)" identifier (argument_list "("badly formed symbolic SRP TransportID: %s\n",lcp + 4)" ( (string_literal ""badly formed symbolic SRP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "lcp + 4" identifier + number_literal) ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "b = 0;" (assignment_expression "b = 0" identifier = number_literal) ;) (expression_statement "__n = (uint8_t *)0x0;" (assignment_expression "__n = (uint8_t *)0x0" identifier = (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*tidp = '\x04';" (assignment_expression "*tidp = '\x04'" (pointer_expression "*tidp" * identifier) = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "ppuVar4 = __ctype_b_loc();" (assignment_expression "ppuVar4 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    } while (uVar2 != 0x20);" do (compound_statement "{\n      iVar13 = (int)lcp[uVar2 + 4];\n      uVar11 = (*ppuVar4)[iVar13];\n      if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }\n      ppuVar12 = (undefined **)(uint)uVar11;\n      if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar2 = uVar2 + 1;\n    }" { (expression_statement "iVar13 = (int)lcp[uVar2 + 4];" (assignment_expression "iVar13 = (int)lcp[uVar2 + 4]" identifier = (cast_expression "(int)lcp[uVar2 + 4]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "lcp[uVar2 + 4]" identifier [ (binary_expression "uVar2 + 4" identifier + number_literal) ]))) ;) (expression_statement "uVar11 = (*ppuVar4)[iVar13];" (assignment_expression "uVar11 = (*ppuVar4)[iVar13]" identifier = (subscript_expression "(*ppuVar4)[iVar13]" (parenthesized_expression "(*ppuVar4)" ( (pointer_expression "*ppuVar4" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar11 & 0x800) == 0) {\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar13 + -0x30;\n      }" if (parenthesized_expression "((uVar11 & 0x800) == 0)" ( (binary_expression "(uVar11 & 0x800) == 0" (parenthesized_expression "(uVar11 & 0x800)" ( (binary_expression "uVar11 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar11 = uVar11 & 0x1ff;\n        iVar9 = iVar13 + -0x57;\n        if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }\n      }" { (expression_statement "uVar11 = uVar11 & 0x1ff;" (assignment_expression "uVar11 = uVar11 & 0x1ff" identifier = (binary_expression "uVar11 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar13 + -0x57;" (assignment_expression "iVar9 = iVar13 + -0x57" identifier = (binary_expression "iVar13 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar11 >> 8) != '\0') {\n          iVar9 = iVar13 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar11 >> 8) != '\0')" ( (binary_expression "(char)(uVar11 >> 8) != '\0'" (cast_expression "(char)(uVar11 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar11 >> 8)" ( (binary_expression "uVar11 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar13 + -0x37;\n        }" { (expression_statement "iVar9 = iVar13 + -0x37;" (assignment_expression "iVar9 = iVar13 + -0x37" identifier = (binary_expression "iVar13 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar13 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar13 + -0x30;\n      }" { (expression_statement "iVar9 = iVar13 + -0x30;" (assignment_expression "iVar9 = iVar13 + -0x30" identifier = (binary_expression "iVar13 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar12 = (undefined **)(uint)uVar11;" (assignment_expression "ppuVar12 = (undefined **)(uint)uVar11" identifier = (cast_expression "(undefined **)(uint)uVar11" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar2 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar2 & 1) == 0)" ( (binary_expression "(uVar2 & 1) == 0" (parenthesized_expression "(uVar2 & 1)" ( (binary_expression "uVar2 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(tidp + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(tidp + 8)[(int)__n]" (parenthesized_expression "(tidp + 8)" ( (binary_expression "tidp + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar2 = uVar2 + 1;" (assignment_expression "uVar2 = uVar2 + 1" identifier = (binary_expression "uVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 != 0x20)" ( (binary_expression "uVar2 != 0x20" identifier != number_literal) )) ;) }))))))))) (labeled_statement "LAB_000134a7:\n  iVar13 = 1;" statement_identifier : (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" identifier = number_literal) ;)) (labeled_statement "LAB_000135dd:\n  do {\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  } while( true );" statement_identifier : (do_statement "do {\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  } while( true );" do (compound_statement "{\n    puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }\n    __stack_chk_fail_local();\n    puVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }\n    *tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;\n    puVar6 = __n + 1;\n    if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    tidp[3] = (uint8_t)puVar6;\n    memcpy(puVar14,lcp,(size_t)__n);\n    iVar13 = 1;\n  }" { (expression_statement "puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));" (assignment_expression "puVar14 = (uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" identifier = (cast_expression "(uint8_t *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 ^ *(uint *)(in_GS_OFFSET + 0x14)" identifier ^ (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )))) ;) (if_statement "if (puVar14 == (uint8_t *)0x0) {\n      return iVar13;\n    }" if (parenthesized_expression "(puVar14 == (uint8_t *)0x0)" ( (binary_expression "puVar14 == (uint8_t *)0x0" identifier == (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return iVar13;\n    }" { (return_statement "return iVar13;" return identifier ;) })) (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = extraout_EDX;" (assignment_expression "puVar5 = extraout_EDX" identifier = identifier) ;) (labeled_statement "LAB_00013859:\n    if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }" statement_identifier : (if_statement "if (__n == (uint8_t *)0x0) {\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }" if (parenthesized_expression "(__n == (uint8_t *)0x0)" ( (binary_expression "__n == (uint8_t *)0x0" identifier == (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar2 = 0xffffffff;\n      pcVar15 = lcp;\n      do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');\n      __n = (uint8_t *)(~uVar2 - 1);\n    }" { (expression_statement "uVar2 = 0xffffffff;" (assignment_expression "uVar2 = 0xffffffff" identifier = number_literal) ;) (expression_statement "pcVar15 = lcp;" (assignment_expression "pcVar15 = lcp" identifier = identifier) ;) (do_statement "do {\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      } while (cVar1 != '\0');" do (compound_statement "{\n        if (uVar2 == 0) break;\n        uVar2 = uVar2 - 1;\n        cVar1 = *pcVar15;\n        pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;\n      }" { (if_statement "if (uVar2 == 0) break;" if (parenthesized_expression "(uVar2 == 0)" ( (binary_expression "uVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar2 = uVar2 - 1;" (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ;) (expression_statement "cVar1 = *pcVar15;" (assignment_expression "cVar1 = *pcVar15" identifier = (pointer_expression "*pcVar15" * identifier)) ;) (expression_statement "pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1;" (assignment_expression "pcVar15 = pcVar15 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pcVar15 + (uint)bVar16 * -2 + 1" (binary_expression "pcVar15 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "__n = (uint8_t *)(~uVar2 - 1);" (assignment_expression "__n = (uint8_t *)(~uVar2 - 1)" identifier = (cast_expression "(uint8_t *)(~uVar2 - 1)" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~uVar2 - 1)" ( (binary_expression "~uVar2 - 1" (unary_expression "~uVar2" ~ identifier) - number_literal) )))) ;) }) (else_clause "else {\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }" else (compound_statement "{\nLAB_00013571:\n      __n = __n + -(int)lcp;\n    }" { (labeled_statement "LAB_00013571:\n      __n = __n + -(int)lcp;" statement_identifier : (expression_statement "__n = __n + -(int)lcp;" (assignment_expression "__n = __n + -(int)lcp" identifier = (binary_expression "__n + -(int)lcp" identifier + (unary_expression "-(int)lcp" - (cast_expression "(int)lcp" ( (type_descriptor "int" primitive_type) ) identifier)))) ;)) })))) (expression_statement "*tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45;" (assignment_expression "*tidp = (-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45" (pointer_expression "*tidp" * identifier) = (binary_expression "(-(puVar5 == (uint8_t *)0x0) & 0xc0U) + 0x45" (parenthesized_expression "(-(puVar5 == (uint8_t *)0x0) & 0xc0U)" ( (binary_expression "-(puVar5 == (uint8_t *)0x0) & 0xc0U" (unary_expression "-(puVar5 == (uint8_t *)0x0)" - (parenthesized_expression "(puVar5 == (uint8_t *)0x0)" ( (binary_expression "puVar5 == (uint8_t *)0x0" identifier == (cast_expression "(uint8_t *)0x0" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "puVar6 = __n + 1;" (assignment_expression "puVar6 = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) (if_statement "if ((int)puVar6 < 0x14) {\n      puVar6 = (uint8_t *)0x14;\n    }\n    else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }" if (parenthesized_expression "((int)puVar6 < 0x14)" ( (binary_expression "(int)puVar6 < 0x14" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      puVar6 = (uint8_t *)0x14;\n    }" { (expression_statement "puVar6 = (uint8_t *)0x14;" (assignment_expression "puVar6 = (uint8_t *)0x14" identifier = (cast_expression "(uint8_t *)0x14" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }" else (compound_statement "{\n      if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }\n    }" { (if_statement "if (((uint)puVar6 & 3) != 0) {\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }" if (parenthesized_expression "(((uint)puVar6 & 3) != 0)" ( (binary_expression "((uint)puVar6 & 3) != 0" (parenthesized_expression "((uint)puVar6 & 3)" ( (binary_expression "(uint)puVar6 & 3" (cast_expression "(uint)puVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);\n      }" { (expression_statement "puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);" (assignment_expression "puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4)" identifier = (cast_expression "(uint8_t *)(((int)puVar6 >> 2) * 4 + 4)" ( (type_descriptor "uint8_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)puVar6 >> 2) * 4 + 4)" ( (binary_expression "((int)puVar6 >> 2) * 4 + 4" (binary_expression "((int)puVar6 >> 2) * 4" (parenthesized_expression "((int)puVar6 >> 2)" ( (binary_expression "(int)puVar6 >> 2" (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) * number_literal) + number_literal) )))) ;) })) (if_statement "if (0xf1 < (int)puVar6) {\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }" if (parenthesized_expression "(0xf1 < (int)puVar6)" ( (binary_expression "0xf1 < (int)puVar6" number_literal < (cast_expression "(int)puVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);\n        iVar13 = 0;\n        goto LAB_000135dd;\n      }" { (expression_statement "pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5);" (call_expression "pr2serr((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5)" identifier (argument_list "((int)ppuVar12 + -0x3ef2,puVar6,puVar5,puVar5)" ( (binary_expression "(int)ppuVar12 + -0x3ef2" (cast_expression "(int)ppuVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier , identifier , identifier ))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) }))) (expression_statement "tidp[3] = (uint8_t)puVar6;" (assignment_expression "tidp[3] = (uint8_t)puVar6" (subscript_expression "tidp[3]" identifier [ number_literal ]) = (cast_expression "(uint8_t)puVar6" ( (type_descriptor "uint8_t" primitive_type) ) identifier)) ;) (expression_statement "memcpy(puVar14,lcp,(size_t)__n);" (call_expression "memcpy(puVar14,lcp,(size_t)__n)" identifier (argument_list "(puVar14,lcp,(size_t)__n)" ( identifier , identifier , (cast_expression "(size_t)__n" ( (type_descriptor "size_t" primitive_type) ) identifier) ))) ;) (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "undefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}\n\n" (function_definition "undefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_000133b0(int *param_1,char *param_2)" identifier (parameter_list "(int *param_1,char *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "ushort **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "char *extraout_EDX;" primitive_type (pointer_declarator "*extraout_EDX" * identifier) ;) (declaration "ushort uVar10;" type_identifier identifier ;) (declaration "undefined **ppuVar11;" type_identifier (pointer_declarator "**ppuVar11" * (pointer_declarator "*ppuVar11" * identifier)) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char *pcVar13;" primitive_type (pointer_declarator "*pcVar13" * identifier) ;) (declaration "char *__n;" primitive_type (pointer_declarator "*__n" * identifier) ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "int local_34;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "ushort local_24 [2];" type_identifier (array_declarator "local_24 [2]" identifier [ number_literal ]) ;) (declaration "uint local_20;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar13 = param_2 + 4;" (assignment_expression "pcVar13 = param_2 + 4" identifier = (binary_expression "param_2 + 4" identifier + number_literal)) ;) (expression_statement "uStack_14 = 0x133c2;" (assignment_expression "uStack_14 = 0x133c2" identifier = number_literal) ;) (expression_statement "ppuVar11 = &__DT_PLTGOT;" (assignment_expression "ppuVar11 = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "uVar7 = (uint)pcVar13 & 0xfffffffc;" (assignment_expression "uVar7 = (uint)pcVar13 & 0xfffffffc" identifier = (binary_expression "(uint)pcVar13 & 0xfffffffc" (cast_expression "(uint)pcVar13" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "local_20 = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(uint *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "param_2[0] = '\0';" (assignment_expression "param_2[0] = '\0'" (subscript_expression "param_2[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[1] = '\0';" (assignment_expression "param_2[1] = '\0'" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[2] = '\0';" (assignment_expression "param_2[2] = '\0'" (subscript_expression "param_2[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[3] = '\0';" (assignment_expression "param_2[3] = '\0'" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x14] = '\0';" (assignment_expression "param_2[0x14] = '\0'" (subscript_expression "param_2[0x14]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x15] = '\0';" (assignment_expression "param_2[0x15] = '\0'" (subscript_expression "param_2[0x15]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x16] = '\0';" (assignment_expression "param_2[0x16] = '\0'" (subscript_expression "param_2[0x16]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "param_2[0x17] = '\0';" (assignment_expression "param_2[0x17] = '\0'" (subscript_expression "param_2[0x17]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));" do (compound_statement "{\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  }" { (expression_statement "*(undefined4 *)(uVar7 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar7 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar7 + uVar1)" * (cast_expression "(undefined4 *)(uVar7 + uVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar7 + uVar1)" ( (binary_expression "uVar7 + uVar1" identifier + identifier) )))) = number_literal) ;) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" identifier = (binary_expression "uVar1 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc))" ( (binary_expression "uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" identifier < (parenthesized_expression "((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" ( (binary_expression "(uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc" (call_expression "(uint)(param_2 + (0x18 - uVar7))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_2 + (0x18 - uVar7))" ( (binary_expression "param_2 + (0x18 - uVar7)" identifier + (parenthesized_expression "(0x18 - uVar7)" ( (binary_expression "0x18 - uVar7" number_literal - identifier) ))) ))) & number_literal) ))) )) ;) (if_statement "if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153))" ( (binary_expression "(*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)" (parenthesized_expression "(*param_1 == 0x2c736173)" ( (binary_expression "*param_1 == 0x2c736173" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c534153)" ( (binary_expression "*param_1 == 0x2c534153" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SAS TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "*param_2 = '\x06';" (assignment_expression "*param_2 = '\x06'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x06'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    }" { (while_statement "while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" { (expression_statement "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar9];" (assignment_expression "uVar10 = (*ppuVar3)[iVar9]" identifier = (subscript_expression "(*ppuVar3)[iVar9]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar10 & 0x800) != 0) break;" if (parenthesized_expression "((uVar10 & 0x800) != 0)" ( (binary_expression "(uVar10 & 0x800) != 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) != number_literal) )) (break_statement "break;" break ;)) (expression_statement "__n = (char *)(iVar9 + -0x37);" (assignment_expression "__n = (char *)(iVar9 + -0x37)" identifier = (cast_expression "(char *)(iVar9 + -0x37)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x37)" ( (binary_expression "iVar9 + -0x37" identifier + number_literal) )))) ;) (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "pcVar13 = (char *)(iVar9 + -0x57);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x57)" identifier = (cast_expression "(char *)(iVar9 + -0x57)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x57)" ( (binary_expression "iVar9 + -0x57" identifier + number_literal) )))) ;) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }" if (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" ( (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          pcVar13 = __n;\n        }" { (expression_statement "pcVar13 = __n;" (assignment_expression "pcVar13 = __n" identifier = identifier) ;) })) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" identifier = (cast_expression "(byte)pcVar13" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013460;" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013460;" goto statement_identifier ;)) (labeled_statement "LAB_00013498:\n        local_34 = (int)pcVar13 << 4;" statement_identifier : (expression_statement "local_34 = (int)pcVar13 << 4;" (assignment_expression "local_34 = (int)pcVar13 << 4" identifier = (binary_expression "(int)pcVar13 << 4" (cast_expression "(int)pcVar13" ( (type_descriptor "int" primitive_type) ) identifier) << number_literal)) ;)) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) (if_statement "if (uVar1 == 0x10) goto LAB_000134a7;" if (parenthesized_expression "(uVar1 == 0x10)" ( (binary_expression "uVar1 == 0x10" identifier == number_literal) )) (goto_statement "goto LAB_000134a7;" goto statement_identifier ;)) })) (expression_statement "pcVar13 = (char *)(iVar9 + -0x30);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x30)" identifier = (cast_expression "(char *)(iVar9 + -0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + -0x30)" ( (binary_expression "iVar9 + -0x30" identifier + number_literal) )))) ;) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" identifier = (cast_expression "(byte)pcVar13" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) == 0) goto LAB_00013498;" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_00013498;" goto statement_identifier ;)) (labeled_statement "LAB_00013460:\n      uVar1 = uVar1 + 1;" statement_identifier : (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;)) (expression_statement "param_2[iVar12 + 4] = bVar8 | (byte)local_34;" (assignment_expression "param_2[iVar12 + 4] = bVar8 | (byte)local_34" (subscript_expression "param_2[iVar12 + 4]" identifier [ (binary_expression "iVar12 + 4" identifier + number_literal) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" identifier = identifier) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053))" ( (binary_expression "(*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)" (parenthesized_expression "(*param_1 == 0x2c697073)" ( (binary_expression "*param_1 == 0x2c697073" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c495053)" ( (binary_expression "*param_1 == 0x2c495053" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);" (assignment_expression "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" identifier = (call_expression "__isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" identifier (argument_list "(param_1,"%d,%d",&local_28,local_24)" ( identifier , (string_literal ""%d,%d"" " string_content ") , (pointer_expression "&local_28" & identifier) , identifier )))) ;) (if_statement "if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(iVar12 != 2)" ( (binary_expression "iVar12 != 2" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);" (call_expression "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1)" identifier (argument_list "("badly formed symbolic SPI TransportID: %s\n",param_1)" ( (string_literal ""badly formed symbolic SPI TransportID: %s\n"" " string_content escape_sequence ") , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "*param_2 = '\x01';" (assignment_expression "*param_2 = '\x01'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x01'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" * (cast_expression "(ushort *)(param_2 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "(ushort)local_28 << 8 | (ushort)local_28 >> 8" (binary_expression "(ushort)local_28 << 8" (cast_expression "(ushort)local_28" ( (type_descriptor "ushort" type_identifier) ) identifier) << number_literal) | (binary_expression "(ushort)local_28 >> 8" (cast_expression "(ushort)local_28" ( (type_descriptor "ushort" type_identifier) ) identifier) >> number_literal))) ;) (expression_statement "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 6)" * (cast_expression "(ushort *)(param_2 + 6)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 6)" ( (binary_expression "param_2 + 6" identifier + number_literal) )))) = (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) << number_literal) | (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) >> number_literal))) ;) }) (else_clause "else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346))" ( (binary_expression "(*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)" (parenthesized_expression "(*param_1 == 0x2c706366)" ( (binary_expression "*param_1 == 0x2c706366" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504346)" ( (binary_expression "*param_1 == 0x2c504346" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic FCP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\0';" (assignment_expression "*param_2 = '\0'" (pointer_expression "*param_2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" identifier = (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) ))))) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" ( (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" ( (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" ( (binary_expression "uVar10 & 0x1ff" identifier & number_literal) )) >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013688;" if (parenthesized_expression "((uVar1 & 1) != 0)" ( (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_00013688;" goto statement_identifier ;)) (labeled_statement "LAB_000136c4:\n        local_34 = iVar9 << 4;" statement_identifier : (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;)) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" identifier = (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (if_statement "if ((uVar1 & 1) == 0) goto LAB_000136c4;" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_000136c4;" goto statement_identifier ;)) (labeled_statement "LAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" statement_identifier : (expression_statement "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "bVar8 | (byte)local_34" identifier | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;)) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (if_statement "if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" if (parenthesized_expression "((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253))" ( (binary_expression "(*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)" (parenthesized_expression "(*param_1 == 0x2c706273)" ( (binary_expression "*param_1 == 0x2c706273" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504253)" ( (binary_expression "*param_1 == 0x2c504253" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" { (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SBP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\x03';" (assignment_expression "*param_2 = '\x03'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" { (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" identifier = (binary_expression "uVar10 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" ( (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar10 >> 8)" ( (binary_expression "uVar10 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x10)" ( (binary_expression "uVar1 != 0x10" identifier != number_literal) )) ;) }) (else_clause "else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" else (compound_statement "{\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" { (if_statement "if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253))" ( (binary_expression "(*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)" (parenthesized_expression "(*param_1 != 0x2c707273)" ( (binary_expression "*param_1 != 0x2c707273" (pointer_expression "*param_1" * identifier) != number_literal) )) && (parenthesized_expression "(*param_1 != 0x2c505253)" ( (binary_expression "*param_1 != 0x2c505253" (pointer_expression "*param_1" * identifier) != number_literal) ))) )) (compound_statement "{\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" { (if_statement "if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" if (parenthesized_expression "(*param_1 == 0x2e6e7169)" ( (binary_expression "*param_1 == 0x2e6e7169" (pointer_expression "*param_1" * identifier) == number_literal) )) (compound_statement "{\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" { (expression_statement "__n = strpbrk((char *)param_1," \t");" (assignment_expression "__n = strpbrk((char *)param_1," \t")" identifier = (call_expression "strpbrk((char *)param_1," \t")" identifier (argument_list "((char *)param_1," \t")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "" \t"" " string_content escape_sequence ") )))) ;) (expression_statement "pcVar5 = strstr((char *)param_1,",i,0x");" (assignment_expression "pcVar5 = strstr((char *)param_1,",i,0x")" identifier = (call_expression "strstr((char *)param_1,",i,0x")" identifier (argument_list "((char *)param_1,",i,0x")" ( (cast_expression "(char *)param_1" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal "",i,0x"" " string_content ") )))) ;) (if_statement "if (__n == (char *)0x0) goto LAB_00013859;" if (parenthesized_expression "(__n == (char *)0x0)" ( (binary_expression "__n == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (if_statement "if (pcVar5 <= __n) goto LAB_00013859;" if (parenthesized_expression "(pcVar5 <= __n)" ( (binary_expression "pcVar5 <= __n" identifier <= identifier) )) (goto_statement "goto LAB_00013859;" goto statement_identifier ;)) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00013571;" goto statement_identifier ;) })) (if_statement "if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" if (parenthesized_expression "((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53))" ( (binary_expression "(*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)" (parenthesized_expression "(*param_1 == 0x2c706f73)" ( (binary_expression "*param_1 == 0x2c706f73" (pointer_expression "*param_1" * identifier) == number_literal) )) || (parenthesized_expression "(*param_1 == 0x2c504f53)" ( (binary_expression "*param_1 == 0x2c504f53" (pointer_expression "*param_1" * identifier) == number_literal) ))) )) (compound_statement "{\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }" { (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);" (assignment_expression "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7)" identifier = (call_expression "__isoc99_sscanf(param_1,"%x",local_24,uVar7)" identifier (argument_list "(param_1,"%x",local_24,uVar7)" ( identifier , (string_literal ""%x"" " string_content ") , identifier , identifier )))) ;) (expression_statement "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20)" identifier = (call_expression "(undefined4)((ulonglong)uVar16 >> 0x20)" (parenthesized_expression "(undefined4)" ( identifier )) (argument_list "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (if_statement "if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" if (parenthesized_expression "((int)uVar16 == 2)" ( (binary_expression "(int)uVar16 == 2" (cast_expression "(int)uVar16" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }" { (expression_statement "*param_2 = '\n';" (assignment_expression "*param_2 = '\n'" (pointer_expression "*param_2" * identifier) = (char_literal "'\n'" ' escape_sequence ')) ;) (expression_statement "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" * (cast_expression "(ushort *)(param_2 + 2)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 2)" ( (binary_expression "param_2 + 2" identifier + number_literal) )))) = (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) << number_literal) | (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" identifier [ number_literal ]) >> number_literal))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" identifier = identifier) ;) }) (else_clause "else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" else (compound_statement "{\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" { (expression_statement "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);" (call_expression "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" identifier (argument_list "("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" ( (string_literal ""badly formed symbolic SOP TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) }) (else_clause "else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" else (compound_statement "{\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" { (expression_statement "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);" (call_expression "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" identifier (argument_list "("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" ( (string_literal ""unable to parse symbolic TransportID: %s\n"" " string_content escape_sequence ") , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) }))) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier = (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" identifier (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" ( (cast_expression "(char *)(param_1 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (string_literal ""0123456789aAbBcCdDeEfF"" " string_content ") )))) ;) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" if (parenthesized_expression "(sVar2 != 0x10)" ( (binary_expression "sVar2 != 0x10" identifier != number_literal) )) (compound_statement "{\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" { (expression_statement "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" identifier (argument_list "("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" ( (string_literal ""badly formed symbolic SRP TransportID: %s\n"" " string_content escape_sequence ") , (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "*param_2 = '\x04';" (assignment_expression "*param_2 = '\x04'" (pointer_expression "*param_2" * identifier) = (char_literal "'\x04'" ' escape_sequence ')) ;) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" identifier = (call_expression "__ctype_b_loc()" identifier (argument_list "()" ( )))) ;) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);" do (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" { (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" identifier = (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" * (cast_expression "(char *)((int)param_1 + uVar1 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar1 + 4)" ( (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))))) ;) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" identifier = (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" ( (pointer_expression "*ppuVar3" * identifier) )) [ identifier ])) ;) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" if (parenthesized_expression "((uVar10 & 0x800) == 0)" ( (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" ( (binary_expression "uVar10 & 0x800" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" { (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" identifier = (binary_expression "uVar10 & 0x1ff" identifier & number_literal)) ;) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" identifier = (binary_expression "iVar12 + -0x57" identifier + number_literal)) ;) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" if (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" ( (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar10 >> 8)" ( (binary_expression "uVar10 >> 8" identifier >> number_literal) ))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" { (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" identifier = (binary_expression "iVar12 + -0x37" identifier + number_literal)) ;) })) }) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" else (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" { (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" identifier = (binary_expression "iVar12 + -0x30" identifier + number_literal)) ;) }))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" identifier = (cast_expression "(undefined **)(uint)uVar10" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (cast_expression "(uint)uVar10" ( (type_descriptor "uint" type_identifier) ) identifier))) ;) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" if (parenthesized_expression "((uVar1 & 1) == 0)" ( (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" ( (binary_expression "uVar1 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" { (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" identifier = (binary_expression "iVar9 << 4" identifier << number_literal)) ;) }) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" else (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" { (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )) [ (cast_expression "(int)__n" ( (type_descriptor "int" primitive_type) ) identifier) ]) = (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" ( (type_descriptor "byte" type_identifier) ) identifier) | (cast_expression "(byte)local_34" ( (type_descriptor "byte" type_identifier) ) identifier))) ;) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) }))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" identifier = (binary_expression "uVar1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar1 != 0x20)" ( (binary_expression "uVar1 != 0x20" identifier != number_literal) )) ;) }))))))))) (labeled_statement "LAB_000134a7:\n  uVar4 = 1;" statement_identifier : (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;)) (labeled_statement "LAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" statement_identifier : (do_statement "do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" do (compound_statement "{\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  }" { (expression_statement "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));" (assignment_expression "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" identifier = (cast_expression "(char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 ^ *(uint *)(in_GS_OFFSET + 0x14)" identifier ^ (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" * (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )))) ;) (if_statement "if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }" if (parenthesized_expression "(pcVar13 == (char *)0x0)" ( (binary_expression "pcVar13 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return uVar4;\n    }" { (return_statement "return uVar4;" return identifier ;) })) (expression_statement "FUN_00013ac0();" (call_expression "FUN_00013ac0()" identifier (argument_list "()" ( ))) ;) (expression_statement "pcVar5 = extraout_EDX;" (assignment_expression "pcVar5 = extraout_EDX" identifier = identifier) ;) (labeled_statement "LAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" statement_identifier : (if_statement "if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" if (parenthesized_expression "(__n == (char *)0x0)" ( (binary_expression "__n == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }" { (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" identifier = number_literal) ;) (expression_statement "piVar14 = param_1;" (assignment_expression "piVar14 = param_1" identifier = identifier) ;) (do_statement "do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');" do (compound_statement "{\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      }" { (if_statement "if (uVar1 == 0) break;" if (parenthesized_expression "(uVar1 == 0)" ( (binary_expression "uVar1 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar1 = uVar1 - 1;" (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ;) (expression_statement "iVar12 = *piVar14;" (assignment_expression "iVar12 = *piVar14" identifier = (pointer_expression "*piVar14" * identifier)) ;) (expression_statement "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);" (assignment_expression "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" identifier = (cast_expression "(int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar14 + (uint)bVar15 * -2 + 1)" ( (binary_expression "(int)piVar14 + (uint)bVar15 * -2 + 1" (binary_expression "(int)piVar14 + (uint)bVar15 * -2" (cast_expression "(int)piVar14" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) }) while (parenthesized_expression "((char)iVar12 != '\0')" ( (binary_expression "(char)iVar12 != '\0'" (cast_expression "(char)iVar12" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) ;) (expression_statement "__n = (char *)(~uVar1 - 1);" (assignment_expression "__n = (char *)(~uVar1 - 1)" identifier = (cast_expression "(char *)(~uVar1 - 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(~uVar1 - 1)" ( (binary_expression "~uVar1 - 1" (unary_expression "~uVar1" ~ identifier) - number_literal) )))) ;) }) (else_clause "else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" else (compound_statement "{\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" { (labeled_statement "LAB_00013571:\n      __n = __n + -(int)param_1;" statement_identifier : (expression_statement "__n = __n + -(int)param_1;" (assignment_expression "__n = __n + -(int)param_1" identifier = (binary_expression "__n + -(int)param_1" identifier + (unary_expression "-(int)param_1" - (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)))) ;)) })))) (expression_statement "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;" (assignment_expression "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (pointer_expression "*param_2" * identifier) = (binary_expression "(-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (parenthesized_expression "(-(pcVar5 == (char *)0x0) & 0xc0U)" ( (binary_expression "-(pcVar5 == (char *)0x0) & 0xc0U" (unary_expression "-(pcVar5 == (char *)0x0)" - (parenthesized_expression "(pcVar5 == (char *)0x0)" ( (binary_expression "pcVar5 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) & number_literal) )) + number_literal)) ;) (expression_statement "pcVar6 = __n + 1;" (assignment_expression "pcVar6 = __n + 1" identifier = (binary_expression "__n + 1" identifier + number_literal)) ;) (if_statement "if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" if (parenthesized_expression "((int)pcVar6 < 0x14)" ( (binary_expression "(int)pcVar6 < 0x14" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      pcVar6 = (char *)0x14;\n    }" { (expression_statement "pcVar6 = (char *)0x14;" (assignment_expression "pcVar6 = (char *)0x14" identifier = (cast_expression "(char *)0x14" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" else (compound_statement "{\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" { (if_statement "if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" if (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" ( (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" ( (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" { (expression_statement "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);" (assignment_expression "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4)" identifier = (cast_expression "(char *)(((int)pcVar6 >> 2) * 4 + 4)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(((int)pcVar6 >> 2) * 4 + 4)" ( (binary_expression "((int)pcVar6 >> 2) * 4 + 4" (binary_expression "((int)pcVar6 >> 2) * 4" (parenthesized_expression "((int)pcVar6 >> 2)" ( (binary_expression "(int)pcVar6 >> 2" (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) )) * number_literal) + number_literal) )))) ;) })) (if_statement "if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" if (parenthesized_expression "(0xf1 < (int)pcVar6)" ( (binary_expression "0xf1 < (int)pcVar6" number_literal < (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" { (expression_statement "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);" (call_expression "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" identifier (argument_list "((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" ( (binary_expression "(int)ppuVar11 + -0x3ef2" (cast_expression "(int)ppuVar11" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) , identifier , identifier , identifier ))) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000135dd;" goto statement_identifier ;) })) }))) (expression_statement "param_2[3] = (char)pcVar6;" (assignment_expression "param_2[3] = (char)pcVar6" (subscript_expression "param_2[3]" identifier [ number_literal ]) = (cast_expression "(char)pcVar6" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "memcpy(pcVar13,param_1,(size_t)__n);" (call_expression "memcpy(pcVar13,param_1,(size_t)__n)" identifier (argument_list "(pcVar13,param_1,(size_t)__n)" ( identifier , identifier , (cast_expression "(size_t)__n" ( (type_descriptor "size_t" primitive_type) ) identifier) ))) ;) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" identifier = number_literal) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE 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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT - IDENT) ))) ))) & LIT) ))) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) ))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (binary_expression IDENT | (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) << LIT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (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 * (abstract_pointer_declarator *))) ) (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) ))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = (binary_expression IDENT | (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) | (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content escape_sequence ") )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) | (binary_expression (subscript_expression IDENT [ LIT ]) >> LIT))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (parenthesized_expression ( (pointer_expression * IDENT) )) [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) ))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT << LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) [ (cast_expression ( (type_descriptor TYPE) ) IDENT) ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) | (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }))))))))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT ^ (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (unary_expression ~ IDENT) - LIT) )))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (unary_expression - (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;)) })))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) & LIT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )) * LIT) + LIT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) , IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "undefined4 __regparm3 FUN_000133b0(int *param_1,char *param_2)\n\n{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000133b0(int *param_1,char *param_2)" (identifier "FUN_000133b0") (parameter_list "(int *param_1,char *param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  size_t sVar2;\n  ushort **ppuVar3;\n  undefined4 uVar4;\n  char *pcVar5;\n  char *pcVar6;\n  uint uVar7;\n  byte bVar8;\n  int iVar9;\n  char *extraout_EDX;\n  ushort uVar10;\n  undefined **ppuVar11;\n  int iVar12;\n  char *pcVar13;\n  char *__n;\n  int *piVar14;\n  int in_GS_OFFSET;\n  byte bVar15;\n  undefined8 uVar16;\n  int local_34;\n  undefined4 local_28;\n  ushort local_24 [2];\n  uint local_20;\n  undefined4 uStack_14;\n  \n  bVar15 = 0;\n  __n = (char *)0x0;\n  pcVar13 = param_2 + 4;\n  uStack_14 = 0x133c2;\n  ppuVar11 = &__DT_PLTGOT;\n  uVar7 = (uint)pcVar13 & 0xfffffffc;\n  local_20 = *(uint *)(in_GS_OFFSET + 0x14);\n  param_2[0] = '\0';\n  param_2[1] = '\0';\n  param_2[2] = '\0';\n  param_2[3] = '\0';\n  param_2[0x14] = '\0';\n  param_2[0x15] = '\0';\n  param_2[0x16] = '\0';\n  param_2[0x17] = '\0';\n  uVar1 = 0;\n  do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));\n  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }\nLAB_000134a7:\n  uVar4 = 1;\nLAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (declaration "ushort **ppuVar3;" (type_identifier "ushort") (pointer_declarator "**ppuVar3" (* "*") (pointer_declarator "*ppuVar3" (* "*") (identifier "ppuVar3"))) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "char *pcVar5;" (primitive_type "char") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "char *pcVar6;" (primitive_type "char") (pointer_declarator "*pcVar6" (* "*") (identifier "pcVar6")) (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "char *extraout_EDX;" (primitive_type "char") (pointer_declarator "*extraout_EDX" (* "*") (identifier "extraout_EDX")) (; ";")) (declaration "ushort uVar10;" (type_identifier "ushort") (identifier "uVar10") (; ";")) (declaration "undefined **ppuVar11;" (type_identifier "undefined") (pointer_declarator "**ppuVar11" (* "*") (pointer_declarator "*ppuVar11" (* "*") (identifier "ppuVar11"))) (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "char *pcVar13;" (primitive_type "char") (pointer_declarator "*pcVar13" (* "*") (identifier "pcVar13")) (; ";")) (declaration "char *__n;" (primitive_type "char") (pointer_declarator "*__n" (* "*") (identifier "__n")) (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar15;" (type_identifier "byte") (identifier "bVar15") (; ";")) (declaration "undefined8 uVar16;" (type_identifier "undefined8") (identifier "uVar16") (; ";")) (declaration "int local_34;" (primitive_type "int") (identifier "local_34") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "ushort local_24 [2];" (type_identifier "ushort") (array_declarator "local_24 [2]" (identifier "local_24") ([ "[") (number_literal "2") (] "]")) (; ";")) (declaration "uint local_20;" (type_identifier "uint") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" (identifier "bVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" (identifier "__n") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pcVar13 = param_2 + 4;" (assignment_expression "pcVar13 = param_2 + 4" (identifier "pcVar13") (= "=") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "uStack_14 = 0x133c2;" (assignment_expression "uStack_14 = 0x133c2" (identifier "uStack_14") (= "=") (number_literal "0x133c2")) (; ";")) (expression_statement "ppuVar11 = &__DT_PLTGOT;" (assignment_expression "ppuVar11 = &__DT_PLTGOT" (identifier "ppuVar11") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "uVar7 = (uint)pcVar13 & 0xfffffffc;" (assignment_expression "uVar7 = (uint)pcVar13 & 0xfffffffc" (identifier "uVar7") (= "=") (binary_expression "(uint)pcVar13 & 0xfffffffc" (cast_expression "(uint)pcVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pcVar13")) (& "&") (number_literal "0xfffffffc"))) (; ";")) (expression_statement "local_20 = *(uint *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(uint *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "param_2[0] = '\0';" (assignment_expression "param_2[0] = '\0'" (subscript_expression "param_2[0]" (identifier "param_2") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[1] = '\0';" (assignment_expression "param_2[1] = '\0'" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[2] = '\0';" (assignment_expression "param_2[2] = '\0'" (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[3] = '\0';" (assignment_expression "param_2[3] = '\0'" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[0x14] = '\0';" (assignment_expression "param_2[0x14] = '\0'" (subscript_expression "param_2[0x14]" (identifier "param_2") ([ "[") (number_literal "0x14") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[0x15] = '\0';" (assignment_expression "param_2[0x15] = '\0'" (subscript_expression "param_2[0x15]" (identifier "param_2") ([ "[") (number_literal "0x15") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[0x16] = '\0';" (assignment_expression "param_2[0x16] = '\0'" (subscript_expression "param_2[0x16]" (identifier "param_2") ([ "[") (number_literal "0x16") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "param_2[0x17] = '\0';" (assignment_expression "param_2[0x17] = '\0'" (subscript_expression "param_2[0x17]" (identifier "param_2") ([ "[") (number_literal "0x17") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));" (do "do") (compound_statement "{\n    *(undefined4 *)(uVar7 + uVar1) = 0;\n    uVar1 = uVar1 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)(uVar7 + uVar1) = 0;" (assignment_expression "*(undefined4 *)(uVar7 + uVar1) = 0" (pointer_expression "*(undefined4 *)(uVar7 + uVar1)" (* "*") (cast_expression "(undefined4 *)(uVar7 + uVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar7 + uVar1)" (( "(") (binary_expression "uVar7 + uVar1" (identifier "uVar7") (+ "+") (identifier "uVar1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = uVar1 + 4;" (assignment_expression "uVar1 = uVar1 + 4" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 4" (identifier "uVar1") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc))" (( "(") (binary_expression "uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" (identifier "uVar1") (< "<") (parenthesized_expression "((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc)" (( "(") (binary_expression "(uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc" (call_expression "(uint)(param_2 + (0x18 - uVar7))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_2 + (0x18 - uVar7))" (( "(") (binary_expression "param_2 + (0x18 - uVar7)" (identifier "param_2") (+ "+") (parenthesized_expression "(0x18 - uVar7)" (( "(") (binary_expression "0x18 - uVar7" (number_literal "0x18") (- "-") (identifier "uVar7")) () ")"))) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")"))) () ")")) (; ";")) (if_statement "if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (if "if") (parenthesized_expression "((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153))" (( "(") (binary_expression "(*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)" (parenthesized_expression "(*param_1 == 0x2c736173)" (( "(") (binary_expression "*param_1 == 0x2c736173" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c736173")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 0x2c534153)" (( "(") (binary_expression "*param_1 == 0x2c534153" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c534153")) () ")"))) () ")")) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    iVar12 = 0;\n    *param_2 = '\x06';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);\n  }" ({ "{") (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "sVar2") (= "=") (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "strspn") (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (( "(") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""0123456789aAbBcCdDeEfF"" (" """) (string_content "0123456789aAbBcCdDeEfF") (" """)) () ")")))) (; ";")) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "(sVar2 != 0x10)" (( "(") (binary_expression "sVar2 != 0x10" (identifier "sVar2") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" ({ "{") (expression_statement "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" (identifier "pr2serr") (argument_list "("badly formed symbolic SAS TransportID: %s\n",param_1 + 1)" (( "(") (string_literal ""badly formed symbolic SAS TransportID: %s\n"" (" """) (string_content "badly formed symbolic SAS TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_2 = '\x06';" (assignment_expression "*param_2 = '\x06'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\x06'" (' "'") (escape_sequence "\x06") (' "'"))) (; ";")) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" (identifier "ppuVar3") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    } while (uVar1 != 0x10);" (do "do") (compound_statement "{\n      while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }\n      pcVar13 = (char *)(iVar9 + -0x30);\n      bVar8 = (byte)pcVar13;\n      if ((uVar1 & 1) == 0) goto LAB_00013498;\nLAB_00013460:\n      uVar1 = uVar1 + 1;\n      param_2[iVar12 + 4] = bVar8 | (byte)local_34;\n      iVar12 = iVar12 + 1;\n      __n = param_2;\n    }" ({ "{") (while_statement "while( true ) {\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);\n        uVar10 = (*ppuVar3)[iVar9];\n        ppuVar11 = (undefined **)(uint)uVar10;\n        if ((uVar10 & 0x800) != 0) break;\n        __n = (char *)(iVar9 + -0x37);\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        pcVar13 = (char *)(iVar9 + -0x57);\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }\n        bVar8 = (byte)pcVar13;\n        if ((uVar1 & 1) != 0) goto LAB_00013460;\nLAB_00013498:\n        local_34 = (int)pcVar13 << 4;\n        uVar1 = uVar1 + 1;\n        if (uVar1 == 0x10) goto LAB_000134a7;\n      }" ({ "{") (expression_statement "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4)" (identifier "iVar9") (= "=") (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" (* "*") (cast_expression "(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar1 + 4)" (( "(") (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar1")) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "uVar10 = (*ppuVar3)[iVar9];" (assignment_expression "uVar10 = (*ppuVar3)[iVar9]" (identifier "uVar10") (= "=") (subscript_expression "(*ppuVar3)[iVar9]" (parenthesized_expression "(*ppuVar3)" (( "(") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3")) () ")")) ([ "[") (identifier "iVar9") (] "]"))) (; ";")) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)uVar10" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (cast_expression "(uint)uVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar10")))) (; ";")) (if_statement "if ((uVar10 & 0x800) != 0) break;" (if "if") (parenthesized_expression "((uVar10 & 0x800) != 0)" (( "(") (binary_expression "(uVar10 & 0x800) != 0" (parenthesized_expression "(uVar10 & 0x800)" (( "(") (binary_expression "uVar10 & 0x800" (identifier "uVar10") (& "&") (number_literal "0x800")) () ")")) (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "__n = (char *)(iVar9 + -0x37);" (assignment_expression "__n = (char *)(iVar9 + -0x37)" (identifier "__n") (= "=") (cast_expression "(char *)(iVar9 + -0x37)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x37)" (( "(") (binary_expression "iVar9 + -0x37" (identifier "iVar9") (+ "+") (number_literal "-0x37")) () ")")))) (; ";")) (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar10 & 0x1ff)" (( "(") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff")) () ")"))))) (; ";")) (expression_statement "pcVar13 = (char *)(iVar9 + -0x57);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x57)" (identifier "pcVar13") (= "=") (cast_expression "(char *)(iVar9 + -0x57)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x57)" (( "(") (binary_expression "iVar9 + -0x57" (identifier "iVar9") (+ "+") (number_literal "-0x57")) () ")")))) (; ";")) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          pcVar13 = __n;\n        }" (if "if") (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" (( "(") (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" (( "(") (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" (( "(") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff")) () ")")) (>> ">>") (number_literal "8")) () ")"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          pcVar13 = __n;\n        }" ({ "{") (expression_statement "pcVar13 = __n;" (assignment_expression "pcVar13 = __n" (identifier "pcVar13") (= "=") (identifier "__n")) (; ";")) (} "}"))) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" (identifier "bVar8") (= "=") (cast_expression "(byte)pcVar13" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "pcVar13"))) (; ";")) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013460;" (if "if") (parenthesized_expression "((uVar1 & 1) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00013460;" (goto "goto") (statement_identifier "LAB_00013460") (; ";"))) (labeled_statement "LAB_00013498:\n        local_34 = (int)pcVar13 << 4;" (statement_identifier "LAB_00013498") (: ":") (expression_statement "local_34 = (int)pcVar13 << 4;" (assignment_expression "local_34 = (int)pcVar13 << 4" (identifier "local_34") (= "=") (binary_expression "(int)pcVar13 << 4" (cast_expression "(int)pcVar13" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar13")) (<< "<<") (number_literal "4"))) (; ";"))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (uVar1 == 0x10) goto LAB_000134a7;" (if "if") (parenthesized_expression "(uVar1 == 0x10)" (( "(") (binary_expression "uVar1 == 0x10" (identifier "uVar1") (== "==") (number_literal "0x10")) () ")")) (goto_statement "goto LAB_000134a7;" (goto "goto") (statement_identifier "LAB_000134a7") (; ";"))) (} "}"))) (expression_statement "pcVar13 = (char *)(iVar9 + -0x30);" (assignment_expression "pcVar13 = (char *)(iVar9 + -0x30)" (identifier "pcVar13") (= "=") (cast_expression "(char *)(iVar9 + -0x30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + -0x30)" (( "(") (binary_expression "iVar9 + -0x30" (identifier "iVar9") (+ "+") (number_literal "-0x30")) () ")")))) (; ";")) (expression_statement "bVar8 = (byte)pcVar13;" (assignment_expression "bVar8 = (byte)pcVar13" (identifier "bVar8") (= "=") (cast_expression "(byte)pcVar13" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "pcVar13"))) (; ";")) (if_statement "if ((uVar1 & 1) == 0) goto LAB_00013498;" (if "if") (parenthesized_expression "((uVar1 & 1) == 0)" (( "(") (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00013498;" (goto "goto") (statement_identifier "LAB_00013498") (; ";"))) (labeled_statement "LAB_00013460:\n      uVar1 = uVar1 + 1;" (statement_identifier "LAB_00013460") (: ":") (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "param_2[iVar12 + 4] = bVar8 | (byte)local_34;" (assignment_expression "param_2[iVar12 + 4] = bVar8 | (byte)local_34" (subscript_expression "param_2[iVar12 + 4]" (identifier "param_2") ([ "[") (binary_expression "iVar12 + 4" (identifier "iVar12") (+ "+") (number_literal "4")) (] "]")) (= "=") (binary_expression "bVar8 | (byte)local_34" (identifier "bVar8") (| "|") (cast_expression "(byte)local_34" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_34")))) (; ";")) (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" (identifier "iVar12") (= "=") (binary_expression "iVar12 + 1" (identifier "iVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" (identifier "__n") (= "=") (identifier "param_2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != 0x10)" (( "(") (binary_expression "uVar1 != 0x10" (identifier "uVar1") (!= "!=") (number_literal "0x10")) () ")")) (; ";")) (} "}")) (else_clause "else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (else "else") (if_statement "if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }\n  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (if "if") (parenthesized_expression "((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053))" (( "(") (binary_expression "(*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)" (parenthesized_expression "(*param_1 == 0x2c697073)" (( "(") (binary_expression "*param_1 == 0x2c697073" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c697073")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 0x2c495053)" (( "(") (binary_expression "*param_1 == 0x2c495053" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c495053")) () ")"))) () ")")) (compound_statement "{\n    param_1 = param_1 + 1;\n    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);\n    if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    *param_2 = '\x01';\n    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;\n    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;\n  }" ({ "{") (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);" (assignment_expression "iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" (identifier "iVar12") (= "=") (call_expression "__isoc99_sscanf(param_1,"%d,%d",&local_28,local_24)" (identifier "__isoc99_sscanf") (argument_list "(param_1,"%d,%d",&local_28,local_24)" (( "(") (identifier "param_1") (, ",") (string_literal ""%d,%d"" (" """) (string_content "%d,%d") (" """)) (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (identifier "local_24") () ")")))) (; ";")) (if_statement "if (iVar12 != 2) {\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "(iVar12 != 2)" (( "(") (binary_expression "iVar12 != 2" (identifier "iVar12") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" ({ "{") (expression_statement "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);" (call_expression "pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1)" (identifier "pr2serr") (argument_list "("badly formed symbolic SPI TransportID: %s\n",param_1)" (( "(") (string_literal ""badly formed symbolic SPI TransportID: %s\n"" (" """) (string_content "badly formed symbolic SPI TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "*param_2 = '\x01';" (assignment_expression "*param_2 = '\x01'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";")) (expression_statement "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" (* "*") (cast_expression "(ushort *)(param_2 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "(ushort)local_28 << 8 | (ushort)local_28 >> 8" (binary_expression "(ushort)local_28 << 8" (cast_expression "(ushort)local_28" (( "(") (type_descriptor "ushort" (type_identifier "ushort")) () ")") (identifier "local_28")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "(ushort)local_28 >> 8" (cast_expression "(ushort)local_28" (( "(") (type_descriptor "ushort" (type_identifier "ushort")) () ")") (identifier "local_28")) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 6)" (* "*") (cast_expression "(ushort *)(param_2 + 6)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 6)" (( "(") (binary_expression "param_2 + 6" (identifier "param_2") (+ "+") (number_literal "6")) () ")")))) (= "=") (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (>> ">>") (number_literal "8")))) (; ";")) (} "}")) (else_clause "else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (else "else") (if_statement "if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (if "if") (parenthesized_expression "((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346))" (( "(") (binary_expression "(*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)" (parenthesized_expression "(*param_1 == 0x2c706366)" (( "(") (binary_expression "*param_1 == 0x2c706366" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c706366")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 0x2c504346)" (( "(") (binary_expression "*param_1 == 0x2c504346" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c504346")) () ")"))) () ")")) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\0';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" ({ "{") (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "sVar2") (= "=") (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "strspn") (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (( "(") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""0123456789aAbBcCdDeEfF"" (" """) (string_content "0123456789aAbBcCdDeEfF") (" """)) () ")")))) (; ";")) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "(sVar2 != 0x10)" (( "(") (binary_expression "sVar2 != 0x10" (identifier "sVar2") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" ({ "{") (expression_statement "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" (identifier "pr2serr") (argument_list "("badly formed symbolic FCP TransportID: %s\n",param_1 + 1)" (( "(") (string_literal ""badly formed symbolic FCP TransportID: %s\n"" (" """) (string_content "badly formed symbolic FCP TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" (identifier "__n") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*param_2 = '\0';" (assignment_expression "*param_2 = '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" (identifier "ppuVar3") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" (do "do") (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" ({ "{") (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" (identifier "iVar12") (= "=") (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" (* "*") (cast_expression "(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar1 + 4)" (( "(") (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar1")) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" (identifier "uVar10") (= "=") (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" (( "(") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3")) () ")")) ([ "[") (identifier "iVar12") (] "]"))) (; ";")) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)uVar10" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (cast_expression "(uint)uVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar10")))) (; ";")) (if_statement "if ((uVar10 & 0x800) == 0) {\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" (if "if") (parenthesized_expression "((uVar10 & 0x800) == 0)" (( "(") (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" (( "(") (binary_expression "uVar10 & 0x800" (identifier "uVar10") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);\n        iVar9 = iVar12 + -0x57;\n        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) != 0) goto LAB_00013688;\nLAB_000136c4:\n        local_34 = iVar9 << 4;\n      }" ({ "{") (expression_statement "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);" (assignment_expression "ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff)" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)(uVar10 & 0x1ff)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (call_expression "(uint)(uVar10 & 0x1ff)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar10 & 0x1ff)" (( "(") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff")) () ")"))))) (; ";")) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x57" (identifier "iVar12") (+ "+") (number_literal "-0x57"))) (; ";")) (if_statement "if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" (if "if") (parenthesized_expression "((char)((uVar10 & 0x1ff) >> 8) != '\0')" (( "(") (binary_expression "(char)((uVar10 & 0x1ff) >> 8) != '\0'" (cast_expression "(char)((uVar10 & 0x1ff) >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uVar10 & 0x1ff) >> 8)" (( "(") (binary_expression "(uVar10 & 0x1ff) >> 8" (parenthesized_expression "(uVar10 & 0x1ff)" (( "(") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff")) () ")")) (>> ">>") (number_literal "8")) () ")"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x37" (identifier "iVar12") (+ "+") (number_literal "-0x37"))) (; ";")) (} "}"))) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" (identifier "bVar8") (= "=") (cast_expression "(byte)iVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar9"))) (; ";")) (if_statement "if ((uVar1 & 1) != 0) goto LAB_00013688;" (if "if") (parenthesized_expression "((uVar1 & 1) != 0)" (( "(") (binary_expression "(uVar1 & 1) != 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00013688;" (goto "goto") (statement_identifier "LAB_00013688") (; ";"))) (labeled_statement "LAB_000136c4:\n        local_34 = iVar9 << 4;" (statement_identifier "LAB_000136c4") (: ":") (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" (identifier "local_34") (= "=") (binary_expression "iVar9 << 4" (identifier "iVar9") (<< "<<") (number_literal "4"))) (; ";"))) (} "}")) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" (else "else") (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n        bVar8 = (byte)iVar9;\n        if ((uVar1 & 1) == 0) goto LAB_000136c4;\nLAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;\n        __n = __n + 1;\n      }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x30" (identifier "iVar12") (+ "+") (number_literal "-0x30"))) (; ";")) (expression_statement "bVar8 = (byte)iVar9;" (assignment_expression "bVar8 = (byte)iVar9" (identifier "bVar8") (= "=") (cast_expression "(byte)iVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar9"))) (; ";")) (if_statement "if ((uVar1 & 1) == 0) goto LAB_000136c4;" (if "if") (parenthesized_expression "((uVar1 & 1) == 0)" (( "(") (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000136c4;" (goto "goto") (statement_identifier "LAB_000136c4") (; ";"))) (labeled_statement "LAB_00013688:\n        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" (statement_identifier "LAB_00013688") (: ":") (expression_statement "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = bVar8 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")) ([ "[") (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (] "]")) (= "=") (binary_expression "bVar8 | (byte)local_34" (identifier "bVar8") (| "|") (cast_expression "(byte)local_34" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_34")))) (; ";"))) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" (identifier "__n") (= "=") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != 0x10)" (( "(") (binary_expression "uVar1 != 0x10" (identifier "uVar1") (!= "!=") (number_literal "0x10")) () ")")) (; ";")) (} "}")) (else_clause "else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (else "else") (if_statement "if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }\n  else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (if "if") (parenthesized_expression "((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253))" (( "(") (binary_expression "(*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)" (parenthesized_expression "(*param_1 == 0x2c706273)" (( "(") (binary_expression "*param_1 == 0x2c706273" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c706273")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 0x2c504253)" (( "(") (binary_expression "*param_1 == 0x2c504253" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c504253")) () ")"))) () ")")) (compound_statement "{\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x03';\n    ppuVar3 = __ctype_b_loc();\n    local_34 = 0;\n    uVar1 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);\n  }" ({ "{") (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "sVar2") (= "=") (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "strspn") (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (( "(") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""0123456789aAbBcCdDeEfF"" (" """) (string_content "0123456789aAbBcCdDeEfF") (" """)) () ")")))) (; ";")) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "(sVar2 != 0x10)" (( "(") (binary_expression "sVar2 != 0x10" (identifier "sVar2") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" ({ "{") (expression_statement "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" (identifier "pr2serr") (argument_list "("badly formed symbolic SBP TransportID: %s\n",param_1 + 1)" (( "(") (string_literal ""badly formed symbolic SBP TransportID: %s\n"" (" """) (string_content "badly formed symbolic SBP TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" (identifier "__n") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*param_2 = '\x03';" (assignment_expression "*param_2 = '\x03'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) (; ";")) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" (identifier "ppuVar3") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x10);" (do "do") (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" ({ "{") (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" (identifier "iVar12") (= "=") (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" (* "*") (cast_expression "(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar1 + 4)" (( "(") (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar1")) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" (identifier "uVar10") (= "=") (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" (( "(") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3")) () ")")) ([ "[") (identifier "iVar12") (] "]"))) (; ";")) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" (if "if") (parenthesized_expression "((uVar10 & 0x800) == 0)" (( "(") (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" (( "(") (binary_expression "uVar10 & 0x800" (identifier "uVar10") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" ({ "{") (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" (identifier "uVar10") (= "=") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff"))) (; ";")) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x57" (identifier "iVar12") (+ "+") (number_literal "-0x57"))) (; ";")) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" (if "if") (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" (( "(") (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar10 >> 8)" (( "(") (binary_expression "uVar10 >> 8" (identifier "uVar10") (>> ">>") (number_literal "8")) () ")"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x37" (identifier "iVar12") (+ "+") (number_literal "-0x37"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" (else "else") (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x30" (identifier "iVar12") (+ "+") (number_literal "-0x30"))) (; ";")) (} "}")))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)uVar10" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (cast_expression "(uint)uVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar10")))) (; ";")) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" (if "if") (parenthesized_expression "((uVar1 & 1) == 0)" (( "(") (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" ({ "{") (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" (identifier "local_34") (= "=") (binary_expression "iVar9 << 4" (identifier "iVar9") (<< "<<") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" (else "else") (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" ({ "{") (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")) ([ "[") (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (] "]")) (= "=") (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar9")) (| "|") (cast_expression "(byte)local_34" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_34")))) (; ";")) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" (identifier "__n") (= "=") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != 0x10)" (( "(") (binary_expression "uVar1 != 0x10" (identifier "uVar1") (!= "!=") (number_literal "0x10")) () ")")) (; ";")) (} "}")) (else_clause "else {\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" (else "else") (compound_statement "{\n    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }\n    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");\n    if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }\n    local_28 = 0;\n    __n = (char *)0x0;\n    *param_2 = '\x04';\n    ppuVar3 = __ctype_b_loc();\n    uVar1 = 0;\n    local_34 = 0;\n    do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);\n  }" ({ "{") (if_statement "if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253))" (( "(") (binary_expression "(*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)" (parenthesized_expression "(*param_1 != 0x2c707273)" (( "(") (binary_expression "*param_1 != 0x2c707273" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0x2c707273")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 != 0x2c505253)" (( "(") (binary_expression "*param_1 != 0x2c505253" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0x2c505253")) () ")"))) () ")")) (compound_statement "{\n      if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }\n      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }\n      goto LAB_000135dd;\n    }" ({ "{") (if_statement "if (*param_1 == 0x2e6e7169) {\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" (if "if") (parenthesized_expression "(*param_1 == 0x2e6e7169)" (( "(") (binary_expression "*param_1 == 0x2e6e7169" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2e6e7169")) () ")")) (compound_statement "{\n        __n = strpbrk((char *)param_1," \t");\n        pcVar5 = strstr((char *)param_1,",i,0x");\n        if (__n == (char *)0x0) goto LAB_00013859;\n        if (pcVar5 <= __n) goto LAB_00013859;\n        pcVar5 = (char *)0x0;\n        goto LAB_00013571;\n      }" ({ "{") (expression_statement "__n = strpbrk((char *)param_1," \t");" (assignment_expression "__n = strpbrk((char *)param_1," \t")" (identifier "__n") (= "=") (call_expression "strpbrk((char *)param_1," \t")" (identifier "strpbrk") (argument_list "((char *)param_1," \t")" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (string_literal "" \t"" (" """) (string_content " ") (escape_sequence "\t") (" """)) () ")")))) (; ";")) (expression_statement "pcVar5 = strstr((char *)param_1,",i,0x");" (assignment_expression "pcVar5 = strstr((char *)param_1,",i,0x")" (identifier "pcVar5") (= "=") (call_expression "strstr((char *)param_1,",i,0x")" (identifier "strstr") (argument_list "((char *)param_1,",i,0x")" (( "(") (cast_expression "(char *)param_1" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "param_1")) (, ",") (string_literal "",i,0x"" (" """) (string_content ",i,0x") (" """)) () ")")))) (; ";")) (if_statement "if (__n == (char *)0x0) goto LAB_00013859;" (if "if") (parenthesized_expression "(__n == (char *)0x0)" (( "(") (binary_expression "__n == (char *)0x0" (identifier "__n") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00013859;" (goto "goto") (statement_identifier "LAB_00013859") (; ";"))) (if_statement "if (pcVar5 <= __n) goto LAB_00013859;" (if "if") (parenthesized_expression "(pcVar5 <= __n)" (( "(") (binary_expression "pcVar5 <= __n" (identifier "pcVar5") (<= "<=") (identifier "__n")) () ")")) (goto_statement "goto LAB_00013859;" (goto "goto") (statement_identifier "LAB_00013859") (; ";"))) (expression_statement "pcVar5 = (char *)0x0;" (assignment_expression "pcVar5 = (char *)0x0" (identifier "pcVar5") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00013571;" (goto "goto") (statement_identifier "LAB_00013571") (; ";")) (} "}"))) (if_statement "if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }\n      else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" (if "if") (parenthesized_expression "((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53))" (( "(") (binary_expression "(*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)" (parenthesized_expression "(*param_1 == 0x2c706f73)" (( "(") (binary_expression "*param_1 == 0x2c706f73" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c706f73")) () ")")) (|| "||") (parenthesized_expression "(*param_1 == 0x2c504f53)" (( "(") (binary_expression "*param_1 == 0x2c504f53" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (number_literal "0x2c504f53")) () ")"))) () ")")) (compound_statement "{\n        param_1 = param_1 + 1;\n        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);\n        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);\n        if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }\n      }" ({ "{") (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);" (assignment_expression "uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7)" (identifier "uVar16") (= "=") (call_expression "__isoc99_sscanf(param_1,"%x",local_24,uVar7)" (identifier "__isoc99_sscanf") (argument_list "(param_1,"%x",local_24,uVar7)" (( "(") (identifier "param_1") (, ",") (string_literal ""%x"" (" """) (string_content "%x") (" """)) (, ",") (identifier "local_24") (, ",") (identifier "uVar7") () ")")))) (; ";")) (expression_statement "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);" (assignment_expression "uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20)" (identifier "uVar4") (= "=") (call_expression "(undefined4)((ulonglong)uVar16 >> 0x20)" (parenthesized_expression "(undefined4)" (( "(") (identifier "undefined4") () ")")) (argument_list "((ulonglong)uVar16 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar16")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (if_statement "if ((int)uVar16 == 2) {\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }\n        else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" (if "if") (parenthesized_expression "((int)uVar16 == 2)" (( "(") (binary_expression "(int)uVar16 == 2" (cast_expression "(int)uVar16" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar16")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n          *param_2 = '\n';\n          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;\n          uVar4 = 1;\n          __n = param_2;\n        }" ({ "{") (expression_statement "*param_2 = '\n';" (assignment_expression "*param_2 = '\n'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\n'" (' "'") (escape_sequence "\n") (' "'"))) (; ";")) (expression_statement "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;" (assignment_expression "*(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8" (pointer_expression "*(ushort *)(param_2 + 2)" (* "*") (cast_expression "(ushort *)(param_2 + 2)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 2)" (( "(") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "local_24[0] << 8 | local_24[0] >> 8" (binary_expression "local_24[0] << 8" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (<< "<<") (number_literal "8")) (| "|") (binary_expression "local_24[0] >> 8" (subscript_expression "local_24[0]" (identifier "local_24") ([ "[") (number_literal "0") (] "]")) (>> ">>") (number_literal "8")))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (expression_statement "__n = param_2;" (assignment_expression "__n = param_2" (identifier "__n") (= "=") (identifier "param_2")) (; ";")) (} "}")) (else_clause "else {\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" (else "else") (compound_statement "{\n          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);\n          uVar4 = 0;\n        }" ({ "{") (expression_statement "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);" (call_expression "pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" (identifier "pr2serr") (argument_list "("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4)" (( "(") (string_literal ""badly formed symbolic SOP TransportID: %s\n"" (" """) (string_content "badly formed symbolic SOP TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "uVar4") (, ",") (identifier "uVar4") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" (else "else") (compound_statement "{\n        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);\n        uVar4 = 0;\n      }" ({ "{") (expression_statement "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);" (call_expression "pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" (identifier "pr2serr") (argument_list "("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1)" (( "(") (string_literal ""unable to parse symbolic TransportID: %s\n"" (" """) (string_content "unable to parse symbolic TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (} "}")))) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");" (assignment_expression "sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "sVar2") (= "=") (call_expression "strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (identifier "strspn") (argument_list "((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF")" (( "(") (cast_expression "(char *)(param_1 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (, ",") (string_literal ""0123456789aAbBcCdDeEfF"" (" """) (string_content "0123456789aAbBcCdDeEfF") (" """)) () ")")))) (; ";")) (if_statement "if (sVar2 != 0x10) {\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" (if "if") (parenthesized_expression "(sVar2 != 0x10)" (( "(") (binary_expression "sVar2 != 0x10" (identifier "sVar2") (!= "!=") (number_literal "0x10")) () ")")) (compound_statement "{\n      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);\n      uVar4 = 0;\n      goto LAB_000135dd;\n    }" ({ "{") (expression_statement "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);" (call_expression "pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" (identifier "pr2serr") (argument_list "("badly formed symbolic SRP TransportID: %s\n",param_1 + 1)" (( "(") (string_literal ""badly formed symbolic SRP TransportID: %s\n"" (" """) (string_content "badly formed symbolic SRP TransportID: %s") (escape_sequence "\n") (" """)) (, ",") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "__n = (char *)0x0;" (assignment_expression "__n = (char *)0x0" (identifier "__n") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "*param_2 = '\x04';" (assignment_expression "*param_2 = '\x04'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) (; ";")) (expression_statement "ppuVar3 = __ctype_b_loc();" (assignment_expression "ppuVar3 = __ctype_b_loc()" (identifier "ppuVar3") (= "=") (call_expression "__ctype_b_loc()" (identifier "__ctype_b_loc") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_34 = 0;" (assignment_expression "local_34 = 0" (identifier "local_34") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    } while (uVar1 != 0x20);" (do "do") (compound_statement "{\n      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);\n      uVar10 = (*ppuVar3)[iVar12];\n      if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }\n      ppuVar11 = (undefined **)(uint)uVar10;\n      if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }\n      uVar1 = uVar1 + 1;\n    }" ({ "{") (expression_statement "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);" (assignment_expression "iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4)" (identifier "iVar12") (= "=") (cast_expression "(int)*(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(char *)((int)param_1 + uVar1 + 4)" (* "*") (cast_expression "(char *)((int)param_1 + uVar1 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar1 + 4)" (( "(") (binary_expression "(int)param_1 + uVar1 + 4" (binary_expression "(int)param_1 + uVar1" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar1")) (+ "+") (number_literal "4")) () ")")))))) (; ";")) (expression_statement "uVar10 = (*ppuVar3)[iVar12];" (assignment_expression "uVar10 = (*ppuVar3)[iVar12]" (identifier "uVar10") (= "=") (subscript_expression "(*ppuVar3)[iVar12]" (parenthesized_expression "(*ppuVar3)" (( "(") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3")) () ")")) ([ "[") (identifier "iVar12") (] "]"))) (; ";")) (if_statement "if ((uVar10 & 0x800) == 0) {\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }\n      else {\n        iVar9 = iVar12 + -0x30;\n      }" (if "if") (parenthesized_expression "((uVar10 & 0x800) == 0)" (( "(") (binary_expression "(uVar10 & 0x800) == 0" (parenthesized_expression "(uVar10 & 0x800)" (( "(") (binary_expression "uVar10 & 0x800" (identifier "uVar10") (& "&") (number_literal "0x800")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar10 = uVar10 & 0x1ff;\n        iVar9 = iVar12 + -0x57;\n        if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }\n      }" ({ "{") (expression_statement "uVar10 = uVar10 & 0x1ff;" (assignment_expression "uVar10 = uVar10 & 0x1ff" (identifier "uVar10") (= "=") (binary_expression "uVar10 & 0x1ff" (identifier "uVar10") (& "&") (number_literal "0x1ff"))) (; ";")) (expression_statement "iVar9 = iVar12 + -0x57;" (assignment_expression "iVar9 = iVar12 + -0x57" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x57" (identifier "iVar12") (+ "+") (number_literal "-0x57"))) (; ";")) (if_statement "if ((char)(uVar10 >> 8) != '\0') {\n          iVar9 = iVar12 + -0x37;\n        }" (if "if") (parenthesized_expression "((char)(uVar10 >> 8) != '\0')" (( "(") (binary_expression "(char)(uVar10 >> 8) != '\0'" (cast_expression "(char)(uVar10 >> 8)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar10 >> 8)" (( "(") (binary_expression "uVar10 >> 8" (identifier "uVar10") (>> ">>") (number_literal "8")) () ")"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar9 = iVar12 + -0x37;\n        }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x37;" (assignment_expression "iVar9 = iVar12 + -0x37" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x37" (identifier "iVar12") (+ "+") (number_literal "-0x37"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar9 = iVar12 + -0x30;\n      }" (else "else") (compound_statement "{\n        iVar9 = iVar12 + -0x30;\n      }" ({ "{") (expression_statement "iVar9 = iVar12 + -0x30;" (assignment_expression "iVar9 = iVar12 + -0x30" (identifier "iVar9") (= "=") (binary_expression "iVar12 + -0x30" (identifier "iVar12") (+ "+") (number_literal "-0x30"))) (; ";")) (} "}")))) (expression_statement "ppuVar11 = (undefined **)(uint)uVar10;" (assignment_expression "ppuVar11 = (undefined **)(uint)uVar10" (identifier "ppuVar11") (= "=") (cast_expression "(undefined **)(uint)uVar10" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (cast_expression "(uint)uVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar10")))) (; ";")) (if_statement "if ((uVar1 & 1) == 0) {\n        local_34 = iVar9 << 4;\n      }\n      else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" (if "if") (parenthesized_expression "((uVar1 & 1) == 0)" (( "(") (binary_expression "(uVar1 & 1) == 0" (parenthesized_expression "(uVar1 & 1)" (( "(") (binary_expression "uVar1 & 1" (identifier "uVar1") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_34 = iVar9 << 4;\n      }" ({ "{") (expression_statement "local_34 = iVar9 << 4;" (assignment_expression "local_34 = iVar9 << 4" (identifier "local_34") (= "=") (binary_expression "iVar9 << 4" (identifier "iVar9") (<< "<<") (number_literal "4"))) (; ";")) (} "}")) (else_clause "else {\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" (else "else") (compound_statement "{\n        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;\n        __n = __n + 1;\n      }" ({ "{") (expression_statement "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;" (assignment_expression "(param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34" (subscript_expression "(param_2 + 8)[(int)__n]" (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")) ([ "[") (cast_expression "(int)__n" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__n")) (] "]")) (= "=") (binary_expression "(byte)iVar9 | (byte)local_34" (cast_expression "(byte)iVar9" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "iVar9")) (| "|") (cast_expression "(byte)local_34" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "local_34")))) (; ";")) (expression_statement "__n = __n + 1;" (assignment_expression "__n = __n + 1" (identifier "__n") (= "=") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (expression_statement "uVar1 = uVar1 + 1;" (assignment_expression "uVar1 = uVar1 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 + 1" (identifier "uVar1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar1 != 0x20)" (( "(") (binary_expression "uVar1 != 0x20" (identifier "uVar1") (!= "!=") (number_literal "0x20")) () ")")) (; ";")) (} "}")))))))))) (labeled_statement "LAB_000134a7:\n  uVar4 = 1;" (statement_identifier "LAB_000134a7") (: ":") (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";"))) (labeled_statement "LAB_000135dd:\n  do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" (statement_identifier "LAB_000135dd") (: ":") (do_statement "do {\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  } while( true );" (do "do") (compound_statement "{\n    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));\n    if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }\n    FUN_00013ac0();\n    pcVar5 = extraout_EDX;\nLAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }\n    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;\n    pcVar6 = __n + 1;\n    if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }\n    param_2[3] = (char)pcVar6;\n    memcpy(pcVar13,param_1,(size_t)__n);\n    uVar4 = 1;\n  }" ({ "{") (expression_statement "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));" (assignment_expression "pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" (identifier "pcVar13") (= "=") (cast_expression "(char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 ^ *(uint *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (^ "^") (pointer_expression "*(uint *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(uint *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")))) (; ";")) (if_statement "if (pcVar13 == (char *)0x0) {\n      return uVar4;\n    }" (if "if") (parenthesized_expression "(pcVar13 == (char *)0x0)" (( "(") (binary_expression "pcVar13 == (char *)0x0" (identifier "pcVar13") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return uVar4;\n    }" ({ "{") (return_statement "return uVar4;" (return "return") (identifier "uVar4") (; ";")) (} "}"))) (expression_statement "FUN_00013ac0();" (call_expression "FUN_00013ac0()" (identifier "FUN_00013ac0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "pcVar5 = extraout_EDX;" (assignment_expression "pcVar5 = extraout_EDX" (identifier "pcVar5") (= "=") (identifier "extraout_EDX")) (; ";")) (labeled_statement "LAB_00013859:\n    if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" (statement_identifier "LAB_00013859") (: ":") (if_statement "if (__n == (char *)0x0) {\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }\n    else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" (if "if") (parenthesized_expression "(__n == (char *)0x0)" (( "(") (binary_expression "__n == (char *)0x0" (identifier "__n") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      uVar1 = 0xffffffff;\n      piVar14 = param_1;\n      do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');\n      __n = (char *)(~uVar1 - 1);\n    }" ({ "{") (expression_statement "uVar1 = 0xffffffff;" (assignment_expression "uVar1 = 0xffffffff" (identifier "uVar1") (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "piVar14 = param_1;" (assignment_expression "piVar14 = param_1" (identifier "piVar14") (= "=") (identifier "param_1")) (; ";")) (do_statement "do {\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      } while ((char)iVar12 != '\0');" (do "do") (compound_statement "{\n        if (uVar1 == 0) break;\n        uVar1 = uVar1 - 1;\n        iVar12 = *piVar14;\n        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);\n      }" ({ "{") (if_statement "if (uVar1 == 0) break;" (if "if") (parenthesized_expression "(uVar1 == 0)" (( "(") (binary_expression "uVar1 == 0" (identifier "uVar1") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar1 = uVar1 - 1;" (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) (; ";")) (expression_statement "iVar12 = *piVar14;" (assignment_expression "iVar12 = *piVar14" (identifier "iVar12") (= "=") (pointer_expression "*piVar14" (* "*") (identifier "piVar14"))) (; ";")) (expression_statement "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);" (assignment_expression "piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" (identifier "piVar14") (= "=") (cast_expression "(int *)((int)piVar14 + (uint)bVar15 * -2 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar14 + (uint)bVar15 * -2 + 1)" (( "(") (binary_expression "(int)piVar14 + (uint)bVar15 * -2 + 1" (binary_expression "(int)piVar14 + (uint)bVar15 * -2" (cast_expression "(int)piVar14" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar14")) (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((char)iVar12 != '\0')" (( "(") (binary_expression "(char)iVar12 != '\0'" (cast_expression "(char)iVar12" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "iVar12")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (expression_statement "__n = (char *)(~uVar1 - 1);" (assignment_expression "__n = (char *)(~uVar1 - 1)" (identifier "__n") (= "=") (cast_expression "(char *)(~uVar1 - 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(~uVar1 - 1)" (( "(") (binary_expression "~uVar1 - 1" (unary_expression "~uVar1" (~ "~") (identifier "uVar1")) (- "-") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" (else "else") (compound_statement "{\nLAB_00013571:\n      __n = __n + -(int)param_1;\n    }" ({ "{") (labeled_statement "LAB_00013571:\n      __n = __n + -(int)param_1;" (statement_identifier "LAB_00013571") (: ":") (expression_statement "__n = __n + -(int)param_1;" (assignment_expression "__n = __n + -(int)param_1" (identifier "__n") (= "=") (binary_expression "__n + -(int)param_1" (identifier "__n") (+ "+") (unary_expression "-(int)param_1" (- "-") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))))) (; ";"))) (} "}"))))) (expression_statement "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;" (assignment_expression "*param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "(-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45" (parenthesized_expression "(-(pcVar5 == (char *)0x0) & 0xc0U)" (( "(") (binary_expression "-(pcVar5 == (char *)0x0) & 0xc0U" (unary_expression "-(pcVar5 == (char *)0x0)" (- "-") (parenthesized_expression "(pcVar5 == (char *)0x0)" (( "(") (binary_expression "pcVar5 == (char *)0x0" (identifier "pcVar5") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) (& "&") (number_literal "0xc0U")) () ")")) (+ "+") (number_literal "0x45"))) (; ";")) (expression_statement "pcVar6 = __n + 1;" (assignment_expression "pcVar6 = __n + 1" (identifier "pcVar6") (= "=") (binary_expression "__n + 1" (identifier "__n") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int)pcVar6 < 0x14) {\n      pcVar6 = (char *)0x14;\n    }\n    else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" (if "if") (parenthesized_expression "((int)pcVar6 < 0x14)" (( "(") (binary_expression "(int)pcVar6 < 0x14" (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6")) (< "<") (number_literal "0x14")) () ")")) (compound_statement "{\n      pcVar6 = (char *)0x14;\n    }" ({ "{") (expression_statement "pcVar6 = (char *)0x14;" (assignment_expression "pcVar6 = (char *)0x14" (identifier "pcVar6") (= "=") (cast_expression "(char *)0x14" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x14"))) (; ";")) (} "}")) (else_clause "else {\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" (else "else") (compound_statement "{\n      if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }\n      if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }\n    }" ({ "{") (if_statement "if (((uint)pcVar6 & 3) != 0) {\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" (if "if") (parenthesized_expression "(((uint)pcVar6 & 3) != 0)" (( "(") (binary_expression "((uint)pcVar6 & 3) != 0" (parenthesized_expression "((uint)pcVar6 & 3)" (( "(") (binary_expression "(uint)pcVar6 & 3" (cast_expression "(uint)pcVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "pcVar6")) (& "&") (number_literal "3")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);\n      }" ({ "{") (expression_statement "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);" (assignment_expression "pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4)" (identifier "pcVar6") (= "=") (cast_expression "(char *)(((int)pcVar6 >> 2) * 4 + 4)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(((int)pcVar6 >> 2) * 4 + 4)" (( "(") (binary_expression "((int)pcVar6 >> 2) * 4 + 4" (binary_expression "((int)pcVar6 >> 2) * 4" (parenthesized_expression "((int)pcVar6 >> 2)" (( "(") (binary_expression "(int)pcVar6 >> 2" (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6")) (>> ">>") (number_literal "2")) () ")")) (* "*") (number_literal "4")) (+ "+") (number_literal "4")) () ")")))) (; ";")) (} "}"))) (if_statement "if (0xf1 < (int)pcVar6) {\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" (if "if") (parenthesized_expression "(0xf1 < (int)pcVar6)" (( "(") (binary_expression "0xf1 < (int)pcVar6" (number_literal "0xf1") (< "<") (cast_expression "(int)pcVar6" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar6"))) () ")")) (compound_statement "{\n        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);\n        uVar4 = 0;\n        goto LAB_000135dd;\n      }" ({ "{") (expression_statement "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);" (call_expression "pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" (identifier "pr2serr") (argument_list "((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5)" (( "(") (binary_expression "(int)ppuVar11 + -0x3ef2" (cast_expression "(int)ppuVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppuVar11")) (+ "+") (number_literal "-0x3ef2")) (, ",") (identifier "pcVar6") (, ",") (identifier "pcVar5") (, ",") (identifier "pcVar5") () ")"))) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000135dd;" (goto "goto") (statement_identifier "LAB_000135dd") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_2[3] = (char)pcVar6;" (assignment_expression "param_2[3] = (char)pcVar6" (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(char)pcVar6" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "pcVar6"))) (; ";")) (expression_statement "memcpy(pcVar13,param_1,(size_t)__n);" (call_expression "memcpy(pcVar13,param_1,(size_t)__n)" (identifier "memcpy") (argument_list "(pcVar13,param_1,(size_t)__n)" (( "(") (identifier "pcVar13") (, ",") (identifier "param_1") (, ",") (cast_expression "(size_t)__n" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "__n")) () ")"))) (; ";")) (expression_statement "uVar4 = 1;" (assignment_expression "uVar4 = 1" (identifier "uVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

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

int __regparm3 function_1(char *var_6,uint8_t *var_1)

{
  char var_23;
  type_1 var_4;
  size_t var_7;
  type_2 **ppuVar4;
  uint8_t *var_18;
  uint8_t *puVar6;
  type_1 var_3;
  type_3 var_13;
  int var_11;
  uint8_t *extraout_EDX;
  type_4 uVar10;
  type_2 var_10;
  type_5 **ppuVar12;
  int var_12;
  uint8_t *var_20;
  uint8_t *var_15;
  char *var_22;
  int var_2;
  type_3 bVar16;
  type_6 uVar17;
  int local_34;
  int b;
  int c;
  type_1 var_19;
  type_4 uStack_14;
  
  bVar16 = 0;
  var_15 = (uint8_t *)0x0;
  var_20 = var_1 + 4;
  uStack_14 = 0x133c2;
  ppuVar12 = &_GLOBAL_OFFSET_TABLE_;
  var_3 = (type_1)var_20 & 0xfffffffc;
  var_19 = *(type_1 *)(var_2 + 0x14);
  var_1[0] = '\0';
  var_1[1] = '\0';
  var_1[2] = '\0';
  var_1[3] = '\0';
  var_1[0x14] = '\0';
  var_1[0x15] = '\0';
  var_1[0x16] = '\0';
  var_1[0x17] = '\0';
  var_4 = 0;
  do {
    *(type_4 *)(var_3 + var_4) = 0;
    var_4 = var_4 + 4;
  } while (var_4 < ((type_1)(var_1 + (0x18 - var_3)) & 0xfffffffc));
  if ((*(int *)var_6 == 0x2c736173) || (*(int *)var_6 == 0x2c534153)) {
    var_7 = var_5(var_6 + 4,"0123456789aAbBcCdDeEfF");
    if (var_7 != 0x10) {
      var_8("badly formed symbolic SAS TransportID: %s\n",var_6 + 4);
      var_12 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    var_12 = 0;
    *var_1 = '\x06';
    ppuVar4 = var_9();
    local_34 = 0;
    var_4 = 0;
    do {
      while( true ) {
        var_11 = (int)var_6[var_4 + 4];
        var_10 = (*ppuVar4)[var_11];
        ppuVar12 = (type_5 **)(type_1)var_10;
        if ((var_10 & 0x800) != 0) break;
        var_15 = (uint8_t *)(var_11 + -0x37);
        ppuVar12 = (type_5 **)(type_1)(var_10 & 0x1ff);
        var_20 = (uint8_t *)(var_11 + -0x57);
        if ((char)((var_10 & 0x1ff) >> 8) != '\0') {
          var_20 = var_15;
        }
        var_13 = (type_3)var_20;
        if ((var_4 & 1) != 0) goto LAB_00013460;
LAB_00013498:
        local_34 = (int)var_20 << 4;
        var_4 = var_4 + 1;
        if (var_4 == 0x10) goto LAB_000134a7;
      }
      var_20 = (uint8_t *)(var_11 + -0x30);
      var_13 = (type_3)var_20;
      if ((var_4 & 1) == 0) goto LAB_00013498;
LAB_00013460:
      var_4 = var_4 + 1;
      var_1[var_12 + 4] = var_13 | (type_3)local_34;
      var_12 = var_12 + 1;
      var_15 = var_1;
    } while (var_4 != 0x10);
  }
  else if ((*(int *)var_6 == 0x2c697073) || (*(int *)var_6 == 0x2c495053)) {
    var_6 = var_6 + 4;
    var_12 = var_14(var_6,"%d,%d",&b,&c);
    if (var_12 != 2) {
      var_8("badly formed symbolic SPI TransportID: %s\n",var_6);
      var_12 = 0;
      goto LAB_000135dd;
    }
    *var_1 = '\x01';
    *(type_2 *)(var_1 + 2) = (type_2)b << 8 | (type_2)b >> 8;
    *(type_2 *)(var_1 + 6) = (type_2)c << 8 | (type_2)c >> 8;
  }
  else if ((*(int *)var_6 == 0x2c706366) || (*(int *)var_6 == 0x2c504346)) {
    var_7 = var_5(var_6 + 4,"0123456789aAbBcCdDeEfF");
    if (var_7 != 0x10) {
      var_8("badly formed symbolic FCP TransportID: %s\n",var_6 + 4);
      var_12 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    var_15 = (uint8_t *)0x0;
    *var_1 = '\0';
    ppuVar4 = var_9();
    local_34 = 0;
    var_4 = 0;
    do {
      var_12 = (int)var_6[var_4 + 4];
      var_10 = (*ppuVar4)[var_12];
      ppuVar12 = (type_5 **)(type_1)var_10;
      if ((var_10 & 0x800) == 0) {
        ppuVar12 = (type_5 **)(type_1)(var_10 & 0x1ff);
        var_11 = var_12 + -0x57;
        if ((char)((var_10 & 0x1ff) >> 8) != '\0') {
          var_11 = var_12 + -0x37;
        }
        var_13 = (type_3)var_11;
        if ((var_4 & 1) != 0) goto LAB_00013688;
LAB_000136c4:
        local_34 = var_11 << 4;
      }
      else {
        var_11 = var_12 + -0x30;
        var_13 = (type_3)var_11;
        if ((var_4 & 1) == 0) goto LAB_000136c4;
LAB_00013688:
        (var_1 + 8)[(int)var_15] = var_13 | (type_3)local_34;
        var_15 = var_15 + 1;
      }
      var_4 = var_4 + 1;
    } while (var_4 != 0x10);
  }
  else if ((*(int *)var_6 == 0x2c706273) || (*(int *)var_6 == 0x2c504253)) {
    var_7 = var_5(var_6 + 4,"0123456789aAbBcCdDeEfF");
    if (var_7 != 0x10) {
      var_8("badly formed symbolic SBP TransportID: %s\n",var_6 + 4);
      var_12 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    var_15 = (uint8_t *)0x0;
    *var_1 = '\x03';
    ppuVar4 = var_9();
    local_34 = 0;
    var_4 = 0;
    do {
      var_12 = (int)var_6[var_4 + 4];
      var_10 = (*ppuVar4)[var_12];
      if ((var_10 & 0x800) == 0) {
        var_10 = var_10 & 0x1ff;
        var_11 = var_12 + -0x57;
        if ((char)(var_10 >> 8) != '\0') {
          var_11 = var_12 + -0x37;
        }
      }
      else {
        var_11 = var_12 + -0x30;
      }
      ppuVar12 = (type_5 **)(type_1)var_10;
      if ((var_4 & 1) == 0) {
        local_34 = var_11 << 4;
      }
      else {
        (var_1 + 8)[(int)var_15] = (type_3)var_11 | (type_3)local_34;
        var_15 = var_15 + 1;
      }
      var_4 = var_4 + 1;
    } while (var_4 != 0x10);
  }
  else {
    if ((*(int *)var_6 != 0x2c707273) && (*(int *)var_6 != 0x2c505253)) {
      if (*(int *)var_6 == 0x2e6e7169) {
        var_15 = (uint8_t *)var_16(var_6," \t");
        var_18 = (uint8_t *)var_17(var_6,",i,0x");
        if (var_15 == (uint8_t *)0x0) goto LAB_00013859;
        if (var_18 <= var_15) goto LAB_00013859;
        var_18 = (uint8_t *)0x0;
        goto LAB_00013571;
      }
      if ((*(int *)var_6 == 0x2c706f73) || (*(int *)var_6 == 0x2c504f53)) {
        var_6 = var_6 + 4;
        uVar17 = var_14(var_6,"%x",&c,var_3);
        uVar10 = (type_4)((type_7)uVar17 >> 0x20);
        if ((int)uVar17 == 2) {
          *var_1 = '\n';
          *(type_2 *)(var_1 + 2) = (type_2)c << 8 | (type_2)c >> 8;
          var_12 = 1;
          var_15 = var_1;
        }
        else {
          var_8("badly formed symbolic SOP TransportID: %s\n",var_6,uVar10,uVar10);
          var_12 = 0;
        }
      }
      else {
        var_8("unable to parse symbolic TransportID: %s\n",var_6,var_4,var_4);
        var_12 = 0;
      }
      goto LAB_000135dd;
    }
    var_7 = var_5(var_6 + 4,"0123456789aAbBcCdDeEfF");
    if (var_7 != 0x10) {
      var_8("badly formed symbolic SRP TransportID: %s\n",var_6 + 4);
      var_12 = 0;
      goto LAB_000135dd;
    }
    b = 0;
    var_15 = (uint8_t *)0x0;
    *var_1 = '\x04';
    ppuVar4 = var_9();
    var_4 = 0;
    local_34 = 0;
    do {
      var_12 = (int)var_6[var_4 + 4];
      var_10 = (*ppuVar4)[var_12];
      if ((var_10 & 0x800) == 0) {
        var_10 = var_10 & 0x1ff;
        var_11 = var_12 + -0x57;
        if ((char)(var_10 >> 8) != '\0') {
          var_11 = var_12 + -0x37;
        }
      }
      else {
        var_11 = var_12 + -0x30;
      }
      ppuVar12 = (type_5 **)(type_1)var_10;
      if ((var_4 & 1) == 0) {
        local_34 = var_11 << 4;
      }
      else {
        (var_1 + 8)[(int)var_15] = (type_3)var_11 | (type_3)local_34;
        var_15 = var_15 + 1;
      }
      var_4 = var_4 + 1;
    } while (var_4 != 0x20);
  }
LAB_000134a7:
  var_12 = 1;
LAB_000135dd:
  do {
    var_20 = (uint8_t *)(var_19 ^ *(type_1 *)(var_2 + 0x14));
    if (var_20 == (uint8_t *)0x0) {
      return var_12;
    }
    var_21();
    var_18 = extraout_EDX;
LAB_00013859:
    if (var_15 == (uint8_t *)0x0) {
      var_4 = 0xffffffff;
      var_22 = var_6;
      do {
        if (var_4 == 0) break;
        var_4 = var_4 - 1;
        var_23 = *var_22;
        var_22 = var_22 + (type_1)bVar16 * -2 + 1;
      } while (var_23 != '\0');
      var_15 = (uint8_t *)(~var_4 - 1);
    }
    else {
LAB_00013571:
      var_15 = var_15 + -(int)var_6;
    }
    *var_1 = (-(var_18 == (uint8_t *)0x0) & 0xc0U) + 0x45;
    puVar6 = var_15 + 1;
    if ((int)puVar6 < 0x14) {
      puVar6 = (uint8_t *)0x14;
    }
    else {
      if (((type_1)puVar6 & 3) != 0) {
        puVar6 = (uint8_t *)(((int)puVar6 >> 2) * 4 + 4);
      }
      if (0xf1 < (int)puVar6) {
        var_8((int)ppuVar12 + -0x3ef2,puVar6,var_18,var_18);
        var_12 = 0;
        goto LAB_000135dd;
      }
    }
    var_1[3] = (uint8_t)puVar6;
    var_24(var_20,var_6,(size_t)var_15);
    var_12 = 1;
  } while( true );
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) 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))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator 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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (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: (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: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier)))))) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (binary_expression left: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (break_statement)) (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: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (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: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (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: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) 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: (subscript_expression argument: (identifier) index: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) 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) (string_literal (string_content)) (pointer_expression argument: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (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: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (binary_expression left: (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: (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: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) 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)))))) alternative: (else_clause (compound_statement (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: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) (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: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (binary_expression left: (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: (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: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (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: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) 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 (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (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: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) (string_literal (string_content) (escape_sequence)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)) (string_literal (string_content)))))) (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) 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) (string_literal (string_content)) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (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: (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content) (escape_sequence)) (binary_expression left: (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: (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: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (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: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) 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 (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: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) index: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (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: (number_literal))))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (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: (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)))))))))) (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 (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal))))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (parenthesized_expression (binary_expression left: (unary_expression argument: (identifier)) right: (number_literal))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (unary_expression argument: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) right: (number_literal))) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) 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))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) condition: (parenthesized_expression (true)))))))

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

undefined4 __regparm3 MASKED(int *param_1,char *param_2)

{
  uint uVar1;
  size_t sVar2;
  ushort **ppuVar3;
  undefined4 uVar4;
  char *pcVar5;
  char *pcVar6;
  uint uVar7;
  byte bVar8;
  int iVar9;
  char *extraout_EDX;
  ushort uVar10;
  undefined **ppuVar11;
  int iVar12;
  char *pcVar13;
  char *__n;
  int *piVar14;
  int in_GS_OFFSET;
  byte bVar15;
  undefined8 uVar16;
  int local_34;
  undefined4 local_28;
  ushort local_24 [2];
  uint local_20;
  undefined4 uStack_14;
  
  bVar15 = 0;
  __n = (char *)0x0;
  pcVar13 = param_2 + 4;
  uStack_14 = 0x133c2;
  ppuVar11 = &__DT_PLTGOT;
  uVar7 = (uint)pcVar13 & 0xfffffffc;
  local_20 = *(uint *)(in_GS_OFFSET + 0x14);
  param_2[0] = '\0';
  param_2[1] = '\0';
  param_2[2] = '\0';
  param_2[3] = '\0';
  param_2[0x14] = '\0';
  param_2[0x15] = '\0';
  param_2[0x16] = '\0';
  param_2[0x17] = '\0';
  uVar1 = 0;
  do {
    *(undefined4 *)(uVar7 + uVar1) = 0;
    uVar1 = uVar1 + 4;
  } while (uVar1 < ((uint)(param_2 + (0x18 - uVar7)) & 0xfffffffc));
  if ((*param_1 == 0x2c736173) || (*param_1 == 0x2c534153)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SAS TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    iVar12 = 0;
    *param_2 = '\x06';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      while( true ) {
        iVar9 = (int)*(char *)((int)param_1 + uVar1 + 4);
        uVar10 = (*ppuVar3)[iVar9];
        ppuVar11 = (undefined **)(uint)uVar10;
        if ((uVar10 & 0x800) != 0) break;
        __n = (char *)(iVar9 + -0x37);
        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);
        pcVar13 = (char *)(iVar9 + -0x57);
        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {
          pcVar13 = __n;
        }
        bVar8 = (byte)pcVar13;
        if ((uVar1 & 1) != 0) goto LAB_00013460;
LAB_00013498:
        local_34 = (int)pcVar13 << 4;
        uVar1 = uVar1 + 1;
        if (uVar1 == 0x10) goto LAB_000134a7;
      }
      pcVar13 = (char *)(iVar9 + -0x30);
      bVar8 = (byte)pcVar13;
      if ((uVar1 & 1) == 0) goto LAB_00013498;
LAB_00013460:
      uVar1 = uVar1 + 1;
      param_2[iVar12 + 4] = bVar8 | (byte)local_34;
      iVar12 = iVar12 + 1;
      __n = param_2;
    } while (uVar1 != 0x10);
  }
  else if ((*param_1 == 0x2c697073) || (*param_1 == 0x2c495053)) {
    param_1 = param_1 + 1;
    iVar12 = __isoc99_sscanf(param_1,"%d,%d",&local_28,local_24);
    if (iVar12 != 2) {
      pr2serr("badly formed symbolic SPI TransportID: %s\n",param_1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    *param_2 = '\x01';
    *(ushort *)(param_2 + 2) = (ushort)local_28 << 8 | (ushort)local_28 >> 8;
    *(ushort *)(param_2 + 6) = local_24[0] << 8 | local_24[0] >> 8;
  }
  else if ((*param_1 == 0x2c706366) || (*param_1 == 0x2c504346)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic FCP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\0';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar10 & 0x800) == 0) {
        ppuVar11 = (undefined **)(uint)(uVar10 & 0x1ff);
        iVar9 = iVar12 + -0x57;
        if ((char)((uVar10 & 0x1ff) >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
        bVar8 = (byte)iVar9;
        if ((uVar1 & 1) != 0) goto LAB_00013688;
LAB_000136c4:
        local_34 = iVar9 << 4;
      }
      else {
        iVar9 = iVar12 + -0x30;
        bVar8 = (byte)iVar9;
        if ((uVar1 & 1) == 0) goto LAB_000136c4;
LAB_00013688:
        (param_2 + 8)[(int)__n] = bVar8 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x10);
  }
  else if ((*param_1 == 0x2c706273) || (*param_1 == 0x2c504253)) {
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SBP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\x03';
    ppuVar3 = __ctype_b_loc();
    local_34 = 0;
    uVar1 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      if ((uVar10 & 0x800) == 0) {
        uVar10 = uVar10 & 0x1ff;
        iVar9 = iVar12 + -0x57;
        if ((char)(uVar10 >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
      }
      else {
        iVar9 = iVar12 + -0x30;
      }
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar1 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x10);
  }
  else {
    if ((*param_1 != 0x2c707273) && (*param_1 != 0x2c505253)) {
      if (*param_1 == 0x2e6e7169) {
        __n = strpbrk((char *)param_1," \t");
        pcVar5 = strstr((char *)param_1,",i,0x");
        if (__n == (char *)0x0) goto LAB_00013859;
        if (pcVar5 <= __n) goto LAB_00013859;
        pcVar5 = (char *)0x0;
        goto LAB_00013571;
      }
      if ((*param_1 == 0x2c706f73) || (*param_1 == 0x2c504f53)) {
        param_1 = param_1 + 1;
        uVar16 = __isoc99_sscanf(param_1,"%x",local_24,uVar7);
        uVar4 = (undefined4)((ulonglong)uVar16 >> 0x20);
        if ((int)uVar16 == 2) {
          *param_2 = '\n';
          *(ushort *)(param_2 + 2) = local_24[0] << 8 | local_24[0] >> 8;
          uVar4 = 1;
          __n = param_2;
        }
        else {
          pr2serr("badly formed symbolic SOP TransportID: %s\n",param_1,uVar4,uVar4);
          uVar4 = 0;
        }
      }
      else {
        pr2serr("unable to parse symbolic TransportID: %s\n",param_1,uVar1,uVar1);
        uVar4 = 0;
      }
      goto LAB_000135dd;
    }
    sVar2 = strspn((char *)(param_1 + 1),"0123456789aAbBcCdDeEfF");
    if (sVar2 != 0x10) {
      pr2serr("badly formed symbolic SRP TransportID: %s\n",param_1 + 1);
      uVar4 = 0;
      goto LAB_000135dd;
    }
    local_28 = 0;
    __n = (char *)0x0;
    *param_2 = '\x04';
    ppuVar3 = __ctype_b_loc();
    uVar1 = 0;
    local_34 = 0;
    do {
      iVar12 = (int)*(char *)((int)param_1 + uVar1 + 4);
      uVar10 = (*ppuVar3)[iVar12];
      if ((uVar10 & 0x800) == 0) {
        uVar10 = uVar10 & 0x1ff;
        iVar9 = iVar12 + -0x57;
        if ((char)(uVar10 >> 8) != '\0') {
          iVar9 = iVar12 + -0x37;
        }
      }
      else {
        iVar9 = iVar12 + -0x30;
      }
      ppuVar11 = (undefined **)(uint)uVar10;
      if ((uVar1 & 1) == 0) {
        local_34 = iVar9 << 4;
      }
      else {
        (param_2 + 8)[(int)__n] = (byte)iVar9 | (byte)local_34;
        __n = __n + 1;
      }
      uVar1 = uVar1 + 1;
    } while (uVar1 != 0x20);
  }
LAB_000134a7:
  uVar4 = 1;
LAB_000135dd:
  do {
    pcVar13 = (char *)(local_20 ^ *(uint *)(in_GS_OFFSET + 0x14));
    if (pcVar13 == (char *)0x0) {
      return uVar4;
    }
    FUN_00013ac0();
    pcVar5 = extraout_EDX;
LAB_00013859:
    if (__n == (char *)0x0) {
      uVar1 = 0xffffffff;
      piVar14 = param_1;
      do {
        if (uVar1 == 0) break;
        uVar1 = uVar1 - 1;
        iVar12 = *piVar14;
        piVar14 = (int *)((int)piVar14 + (uint)bVar15 * -2 + 1);
      } while ((char)iVar12 != '\0');
      __n = (char *)(~uVar1 - 1);
    }
    else {
LAB_00013571:
      __n = __n + -(int)param_1;
    }
    *param_2 = (-(pcVar5 == (char *)0x0) & 0xc0U) + 0x45;
    pcVar6 = __n + 1;
    if ((int)pcVar6 < 0x14) {
      pcVar6 = (char *)0x14;
    }
    else {
      if (((uint)pcVar6 & 3) != 0) {
        pcVar6 = (char *)(((int)pcVar6 >> 2) * 4 + 4);
      }
      if (0xf1 < (int)pcVar6) {
        pr2serr((int)ppuVar11 + -0x3ef2,pcVar6,pcVar5,pcVar5);
        uVar4 = 0;
        goto LAB_000135dd;
      }
    }
    param_2[3] = (char)pcVar6;
    memcpy(pcVar13,param_1,(size_t)__n);
    uVar4 = 1;
  } while( true );
}

